/*
 * FORMA WIN — вёрстка по макетам: мобильная база, промежуточная сетка и ноутбучная композиция.
 *
 * Файл построен по трём уровням, как сам эталон дизайнера:
 *   1. База (без media) — мобильные макеты v36: шапка, слайдер, офферы, каталог, промо, футер, окна.
 *   2. От 700px — промежуточная сетка: контейнер 1240px, крупные арты, шесть карточек в ряду.
 *   3. От 1200px — ноутбучная композиция: контейнер 1360px с полями 32px, верхняя навигация,
 *      баннеры 2.15fr/1fr, welcome-карточки с тегом депозита, футер из трёх верхних колонок.
 *
 * Последовательные слои эталона (notebook-v40/41, welcome-v42/43/44) собраны в один итог:
 * здесь нет истории правок, только конечная геометрия каждого компонента.
 *
 * Класс .game-card в движке уже занят (casino.css), поэтому карточка названа .fw-card.
 * Остальные имена классов совпадают с макетом, но ограничены контейнерами .fw36-*.
 */

@font-face {
  font-family: ManropeFW;
  src: url(../v36/fonts/Manrope-Regular.ttf) format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: ManropeFW;
  src: url(../v36/fonts/Manrope-Bold.ttf) format("truetype");
  font-weight: 700;
  font-display: swap;
}

/* ───────────── Токены ───────────── */
html.fw36 {
  --fw-bg: #141414;
  --fw-surface: #242424;
  --fw-raised: #242424;
  --fw-header: #141414;
  --fw-paper: #f3f4f7;
  --fw-mute: #999999;
  --fw-indigo: #6b4eff;
  --fw-indigo-hover: #8170ff;
}

/*
 * ───────────── База ─────────────
 *
 * Фон страницы: прежний скин движка объявляет свой через :has() с !important,
 * поэтому макетный фон задан через id корневого элемента — иначе не перебить.
 */
html#htmlTheme.fw36,
html#htmlTheme.fw36 body.fw36 {
  background: var(--fw-bg) !important;
  background-image: none !important;
}

html body.fw36 {
  color: var(--fw-paper);
  font-family: ManropeFW, Manrope, sans-serif;
  padding-top: 64px;
}

/*
 * Хром движка заменён целиком.
 * Селектор скролла в скине (html body.forma-ui .casino-header.casino-header--scrolled)
 * специфичнее короткого скрытия и после 12px прокрутки на ширине от 1024px
 * снова включает старую шапку: логотип, «Слоты / Live / Краши / Бакара» и поиск.
 */
html body.fw36 .casino-header,
html body.fw36.forma-ui .casino-header,
html body.fw36.forma-ui .casino-header.casino-header--scrolled,
html body.fw36.forma-ui.sidebar-collapsed .casino-header,
html body.fw36 .mobile-tab-bar,
html body.fw36 .casino-sidebar,
html body.fw36 #guestView,
html body.fw36 #lobbyView,
html body.fw36 #pageHome > *:not(#fw36Main),
html body.fw36 #pageReferrals,
html body.fw36 #pageReferralsLeaderboard,
html body.fw36 .sidebar-nav-item--referral,
html body.fw36 #profileReferralBlock {
  display: none !important;
}

/* Отступы под фиксированную шапку и сайдбар движка больше не нужны */
html body.fw36 #casinoApp,
html body.fw36 .casino-layout,
html body.fw36 #casinoMain {
  padding: 0 !important;
  margin: 0 !important;
  gap: 0 !important;
}

html body.fw36.game-active,
html body.fw36.play-page-active {
  padding-top: 64px;
}

html body.fw36.game-active .fw36-nav,
html body.fw36.play-page-active .fw36-nav {
  display: none !important;
}

/* ───────────── Шапка ───────────── */
html body.fw36 .fw36-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  gap: 16px;
  width: 100%;
  max-width: none;
  height: 64px;
  padding: 16px;
  margin: 0;
  background: var(--fw-header);
  box-shadow: none;
  border: 0;
}

html body.fw36 .fw36-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

html body.fw36 .fw36-brand .brand-mark {
  display: block;
  width: 40px;
  height: 40px;
  margin: -4px;
  object-fit: contain;
}

html body.fw36 .fw36-brand .brand {
  display: none;
}

/* Кнопки движка (#headerGuest / #headerAuth) перенесены сюда и переодеты в макет */
html body.fw36 .fw36-header .header-buttons {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
}

html body.fw36 .fw36-header .header-buttons.hidden {
  display: none !important;
}

html body.fw36 .fw36-header .fw-auth-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  height: 32px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  box-shadow: none;
}

/* Увеличенная зона нажатия без сдвига вёрстки */
html body.fw36 .fw36-header .fw-auth-btn::after {
  content: "";
  position: absolute;
  inset: -6px 0;
}

html body.fw36 .fw36-header .fw-auth-login {
  width: 50px;
  background: var(--fw-raised);
  color: var(--fw-paper);
}

html body.fw36 .fw36-header .fw-auth-register {
  width: 104px;
  background: var(--fw-indigo);
  color: #fff;
}

html body.fw36 .fw36-header .fw-auth-register:hover {
  background: var(--fw-indigo-hover);
}

/* Шапка игрока: баланс · Пополнить · аватар с уровнем */
html body.fw36 .fw36-header.is-member {
  height: 72px;
}

html body.fw36 .fw36-header #headerAuth {
  gap: 8px;
  min-width: 0;
}

html body.fw36 .fw36-header #headerBoostIndicator,
html body.fw36 .fw36-header #headerBtnPlayerChat,
html body.fw36 .fw36-header .header-balance-trigger-icon,
html body.fw36 .fw36-header .balance-bonus {
  display: none !important;
}

html body.fw36 .fw36-header #headerBtnNotify,
html body.fw36 .fw36-header #headerNotifyBadge {
  display: none !important;
}

html body.fw36 .fw36-header .header-balance-slot {
  position: static;
  flex: none;
  margin: 0;
}

html body.fw36 .fw36-header .header-balance-trigger {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  min-height: 42px;
  padding: 2px 4px;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  text-align: left;
}

html body.fw36 .fw36-header .fw-wallet-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #aaa6b2;
  font-size: 10px;
  line-height: 1.2;
}

html body.fw36 .fw36-header .header-balance-chevron {
  display: block;
  color: #aaa6b2;
}

html body.fw36 .fw36-header .header-balance-trigger-text,
html body.fw36 .fw36-header #userBalance {
  color: var(--fw-paper) !important;
}

html body.fw36 .fw36-header .header-balance-trigger-text {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

html body.fw36 .fw36-header .fw-deposit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  min-height: 38px;
  padding: 0 11px;
  border: 0;
  border-radius: 10px;
  background: var(--fw-indigo);
  color: #fff;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  box-shadow: none;
}

html body.fw36 .fw36-header .fw-deposit-btn:hover {
  background: var(--fw-indigo-hover);
}

html body.fw36 .fw36-header .fw-deposit-btn svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex: none;
}

/* В движке .header-btn-profile--desktop скрыта на мобиле, в макете это основной вход в профиль */
html body.fw36 .fw36-header .fw-profile-btn {
  display: grid !important;
  place-items: center;
  flex: none;
  width: 40px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
}

html body.fw36 .fw36-header .player-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  background: #2e293d;
  color: #d1c6fa;
}

html body.fw36 .fw36-header .player-avatar svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: currentColor;
}

html body.fw36 .fw36-header .player-level {
  position: absolute;
  right: -1px;
  bottom: -2px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 16px;
  border-radius: 6px;
  background: var(--fw-indigo);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: -0.1px;
  box-shadow: 0 0 0 3px var(--fw-header);
}

/* ───────────── Основная колонка ───────────── */
html body.fw36 .fw36-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 12px 0;
}

/* Движок задаёт Syne/Inter на элементных селекторах — макет весь на Manrope */
html body.fw36 .fw36-header,
html body.fw36 .fw36-header *,
html body.fw36 .fw36-main,
html body.fw36 .fw36-main *,
html body.fw36 .fw36-nav,
html body.fw36 .fw36-nav * {
  font-family: ManropeFW, Manrope, sans-serif;
}

html body.fw36 .fw36-main button,
html body.fw36 .fw36-main input {
  font: inherit;
}

html body.fw36 .fw36-main button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.18s, color 0.18s, transform 0.18s;
}

html body.fw36 .fw-arrow-ne {
  display: inline-block;
  width: 14px;
  height: 14px;
  flex: none;
  fill: currentColor;
  vertical-align: -0.12em;
}

html body.fw36 .fw36-main a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

html body.fw36 .fw36-main button:focus-visible,
html body.fw36 .fw36-main a:focus-visible,
html body.fw36 .fw36-nav button:focus-visible {
  outline: 3px solid #a392ff;
  outline-offset: 4px;
}

/* Только заголовки рядов: у .campaign-heading своя типографика */
html body.fw36 .fw36-main .section-head h2 {
  margin: 0;
  font-family: ManropeFW, Manrope, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

html body.fw36 .fw36-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

/* ───────────── Слайдер кампаний ───────────── */
html body.fw36 .hero {
  position: relative;
  overflow: hidden;
  height: clamp(240px, 61vw, 278px);
  border-radius: 14px;
  background: #08090b;
}

html body.fw36 .hero-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.22, 0.68, 0, 1);
  will-change: transform;
}

html body.fw36 .fw-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  min-width: 0;
  margin: 0;
}

html body.fw36 .fw-slide .campaign-art {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  mask-image: linear-gradient(to bottom, transparent, #000 20px);
}

html body.fw36 .campaign-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  color: var(--fw-paper);
  text-align: left;
  user-select: text;
}

html body.fw36 .hero .campaign-copy {
  width: 47%;
  padding: 44px 0 18px 16px;
}

html body.fw36 .campaign-eyebrow {
  display: block;
  margin: 0 0 5px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

html body.fw36 .campaign-heading {
  display: block;
  margin: 0;
  font-family: ManropeFW, Manrope, sans-serif;
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.055em;
}

html body.fw36 .campaign-heading > span {
  display: block;
}

html body.fw36 .hero .campaign-heading {
  font-size: clamp(34px, 10vw, 44px);
}

html body.fw36 .hero .campaign-welcome .campaign-heading > span + span {
  margin-top: 3px;
  font-size: 0.7em;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

html body.fw36 .campaign-description {
  display: block;
  margin: 9px 0 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
}

html body.fw36 .hero .campaign-welcome .campaign-description {
  max-width: 115px;
}

html body.fw36 .hero .campaign-quests .campaign-heading,
html body.fw36 .hero .campaign-vip .campaign-heading {
  font-size: clamp(26px, 7.7vw, 36px);
  line-height: 1.1;
}

html body.fw36 .hero .campaign-vip .campaign-heading > span + span {
  margin-top: 5px;
  font-size: 0.72em;
  letter-spacing: -0.04em;
}

html body.fw36 .hero .campaign-vip .campaign-description {
  max-width: 130px;
}

html body.fw36 .hero .hero-action {
  position: static;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 9px;
  background: var(--fw-indigo);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}

html body.fw36 .hero .hero-action:hover {
  background: var(--fw-indigo-hover);
}

/* Индикатор слайдов — внутри слайда, слева сверху */
html body.fw36 .hero .slider-control {
  position: absolute;
  top: 12px;
  left: 14px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  height: 22px;
  padding: 0 5px;
  border-radius: 9px;
  background: rgba(43, 43, 43, 0.78);
  backdrop-filter: blur(8px);
}

html body.fw36 .hero .slider-control .dot {
  display: grid;
  place-items: center;
  width: 16px;
  height: 22px;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

html body.fw36 .hero .slider-control .dot::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #858585;
  transition: background-color 0.2s, transform 0.2s;
}

html body.fw36 .hero .slider-control .dot[aria-current="true"]::before {
  background: #f3f4f7;
  transform: scale(1.12);
}

html body.fw36 .slider-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

/* ───────────── Постоянные офферы ───────────── */
html body.fw36 .lower-promos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

html body.fw36 .lower-promos > button {
  position: relative;
  isolation: isolate;
  display: block;
  min-height: 174px;
  padding: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #08090b;
}

html body.fw36 .lower-promos .campaign-art {
  position: absolute;
  right: 0;
  bottom: 0;
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: bottom;
  pointer-events: none;
  user-select: none;
  mask-image: linear-gradient(to bottom, transparent, #000 20%);
  transition: transform 0.35s ease;
}

html body.fw36 .lower-promos > button:hover .campaign-art {
  transform: scale(1.025);
}

html body.fw36 .lower-promos .campaign-copy {
  display: block;
  width: 100%;
  height: 100%;
  padding: 14px 12px 18px;
}

html body.fw36 .lower-promos .campaign-eyebrow {
  max-width: 133px;
  min-height: 25px;
  margin-bottom: 2px;
  font-size: 10px;
  line-height: 1.25;
}

html body.fw36 .lower-promos .campaign-heading {
  font-size: 38px;
  line-height: 1.04;
}

html body.fw36 .lower-promos .campaign-crypto .campaign-heading > span + span {
  margin-top: 2px;
  font-size: 0.62em;
  letter-spacing: -0.04em;
}

html body.fw36 .lower-promos .campaign-description {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
}

html body.fw36 .lower-promos .campaign-cashback .campaign-heading {
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

html body.fw36 .lower-promos .campaign-cashback .campaign-heading > span + span {
  margin-top: 2px;
  font-size: 27px;
}

/* ───────────── Тулбар каталога ───────────── */
html body.fw36 .catalog-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  margin: 22px 4px 0;
}

html body.fw36 .catalog-toolbar .search-row {
  position: relative;
  flex: 0 0 46px;
  width: 46px;
  height: 50px;
  margin: 0;
  padding: 0;
  border-radius: 15px;
  background: var(--fw-surface);
}

html body.fw36 .catalog-toolbar .search-row::after {
  content: "";
  position: absolute;
  top: 14px;
  right: -9px;
  width: 1px;
  height: 22px;
  background: #303030;
}

html body.fw36 .catalog-toolbar .search {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 50px;
  border-radius: 15px;
  color: #d3d4d9;
}

html body.fw36 .catalog-toolbar .search:hover {
  background: #2d2d2d;
  color: #fff;
}

html body.fw36 .catalog-toolbar .search svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

html body.fw36 .catalog-toolbar .search span {
  display: none;
}

html body.fw36 .mode-tabs {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 16px;
  background: var(--fw-surface);
  scrollbar-width: none;
}

html body.fw36 .mode-tabs::-webkit-scrollbar {
  display: none;
}

html body.fw36 .mobile-mode-tabs {
  flex: 1;
  min-width: 0;
  margin: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
}

html body.fw36 .mode-tabs button {
  --tab-icon-cutout: #242424;
  position: relative;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  background: transparent;
  color: #999da6;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  scroll-margin-inline: 4px;
}

html body.fw36 .mode-tabs .mode-icon {
  display: block;
  width: 18px;
  height: 18px;
  flex: none;
  fill: currentColor;
}

html body.fw36 .mode-tabs button[aria-selected="true"] {
  --tab-icon-cutout: var(--fw-indigo);
  background: var(--fw-indigo);
  color: #fff;
}

html body.fw36 .mode-tabs button:hover {
  background: #303030;
  color: #f3f4f7;
}

html body.fw36 .mode-tabs button[aria-selected="true"]:hover {
  --tab-icon-cutout: #7760ff;
  background: #7760ff;
}

html body.fw36 .catalog-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  margin: 8px 4px 0;
}

html body.fw36 .quick-filters {
  display: flex;
  gap: 2px;
  min-width: 0;
  margin: 0;
}

html body.fw36 .quick-filters button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 32px;
  padding: 0 6px;
  border-radius: 8px;
  background: transparent;
  color: #909090;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

html body.fw36 .quick-filters button::after {
  content: "";
  position: absolute;
  inset: -6px 0;
}

html body.fw36 .quick-filters svg {
  width: 13px;
  height: 13px;
  flex: none;
  fill: currentColor;
}

html body.fw36 .quick-filters button[aria-pressed="true"] {
  background: #292332;
  color: #c6b9ff;
}

html body.fw36 .quick-filters button:hover {
  background: #202020;
  color: #e1e1e1;
}

html body.fw36 .quick-filters button[aria-pressed="true"]:hover {
  background: #30273e;
  color: #dbd1ff;
}

html body.fw36 .provider-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: none;
  height: 32px;
  padding: 0 5px;
  border-radius: 8px;
  color: #909090;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

html body.fw36 .provider-toggle svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

html body.fw36 .provider-toggle:hover {
  background: #202020;
  color: #e1e1e1;
}

/* ───────────── Ряды каталога ───────────── */
html body.fw36 .fw36-catalog {
  scroll-margin-top: 16px;
}

/* Без бокового отступа: ряд упирается в те же границы, что и сетка каталога. */
html body.fw36 .catalog-section {
  margin-top: 25px;
  padding: 0;
}

html body.fw36 .section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 16px;
}

html body.fw36 .section-head .all {
  padding: 0;
  color: var(--fw-mute);
  font-size: 11px;
  font-weight: 700;
}

html body.fw36 .section-head .all:hover {
  color: var(--fw-paper);
}

/*
 * Ряды главной держат ту же метрику карточки, что и сетка каталога
 * (#fwCasino .cs-grid в forma-casino.css): одинаковые ширина, пропорция,
 * радиус и кегль подписей. Иначе одна и та же обложка рисуется в двух
 * размерах и браузер декодирует её дважды.
 */
html body.fw36 .game-row {
  display: flex;
  gap: 12px;
  padding-bottom: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

html body.fw36 .game-row::-webkit-scrollbar {
  display: none;
}

html body.fw36 .fw-card {
  position: relative;
  display: block;
  flex: 0 0 calc((100% - 12px) / 2);
  min-width: 0;
  padding: 0;
  text-align: left;
  scroll-snap-align: start;
}

html body.fw36 .fw-card .game-cover {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  background: #27232d;
}

/*
 * Пропорцию держит обложка, картинка просто заполняет её. Если задать
 * aspect-ratio самой картинке, он игнорируется: у <img> есть атрибут
 * height, и браузер считает высоту заданной — обложка растягивалась.
 */
html body.fw36 .fw-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s, filter 0.35s;
}

html body.fw36 .fw-card .game-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #0005;
  opacity: 0;
  transition: opacity 0.2s;
}

html body.fw36 .fw-card .game-play {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding-left: 2px;
  border-radius: 50%;
  background: var(--fw-indigo);
  color: #fff;
  font-size: 14px;
}

html body.fw36 .fw-card:hover .game-overlay,
html body.fw36 .fw-card:focus-visible .game-overlay {
  opacity: 1;
}

html body.fw36 .fw-card:hover img {
  transform: scale(1.04);
  filter: brightness(0.8);
}

html body.fw36 .fw-card .game-name {
  display: block;
  margin-top: 7px;
  overflow: hidden;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  text-overflow: ellipsis;
}

html body.fw36 .fw-card .provider {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: var(--fw-mute);
  font-size: 11px;
  line-height: 1.45;
  white-space: nowrap;
  text-overflow: ellipsis;
}

html body.fw36 .row-status {
  padding: 25px;
  color: var(--fw-mute);
  font-size: 12px;
  text-align: center;
}

html body.fw36 .catalog-empty {
  margin: 20px 4px 0;
  padding: 36px 18px;
  border-radius: 14px;
  background: #1b1b1b;
  color: #8e8e8e;
  text-align: center;
}

html body.fw36 .catalog-empty strong {
  display: block;
  margin-bottom: 8px;
  color: var(--fw-paper);
  font-size: 16px;
}

html body.fw36 .catalog-empty p {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}

/* Скелет ряда до прихода каталога: высота держится, прыжков нет */
html body.fw36 .fw-card.is-skeleton {
  pointer-events: none;
}

html body.fw36 .fw-card .game-cover.is-blank {
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, #272727 0%, #1c1c1c 100%);
}

html body.fw36 .fw-card.is-skeleton .game-cover {
  background: #1d1d1d;
  aspect-ratio: 4 / 5;
}

html body.fw36 .fw-card.is-skeleton .game-name,
html body.fw36 .fw-card.is-skeleton .provider {
  border-radius: 4px;
  background: #1d1d1d;
  color: transparent;
}

/* ───────────── Нижняя навигация ───────────── */
html body.fw36 .fw36-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  height: 76px;
  min-height: calc(76px + env(safe-area-inset-bottom));
  padding-top: 13px;
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--fw-bg);
}

html body.fw36 .fw36-nav .nav-item {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--fw-mute);
  font-family: inherit;
  font-size: 9px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  transition: color 0.2s;
}

html body.fw36 .fw36-nav .nav-item svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  fill: currentColor;
}

html body.fw36 .fw36-nav .nav-item.active {
  color: var(--fw-paper);
}

html body.fw36 .fw36-nav .nav-item.active svg {
  color: var(--fw-indigo);
}

html body.fw36 .fw36-nav .nav-item:hover {
  color: #fff;
}

/* ───────────── Welcome-коллекция и квесты (feature-screens.css) ───────────── */

html body.fw36 .welcome-experience[hidden],
html body.fw36 .quest-experience[hidden],
html body.fw36 .faq-entry[hidden],
html body.fw36 .home-seo[hidden],
html body.fw36 .home-providers[hidden] {
  display: none !important;
}

html body.fw36 .welcome-experience {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 700px;
  margin: 48px -12px;
  padding: 22px 20px 26px;
  background: #1b1b1e;
}

html body.fw36 .quest-experience {
  position: relative;
  overflow: hidden;
  min-height: 700px;
  margin: 48px -12px;
  padding: 30px 20px;
  background: #1d1c23;
}

html body.fw36 .experience-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 14px;
}

html body.fw36 .experience-kicker {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #c2b5ff;
}

html body.fw36 .fw36-main .experience-expand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  font-size: 13px;
  line-height: 1.5;
  color: #bdb9cc;
}

html body.fw36 .experience-expand:hover {
  color: #d7ceff;
}

html body.fw36 .welcome-experience h2,
html body.fw36 .quest-experience h2 {
  margin: 0 0 14px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -1.1px;
  color: var(--fw-paper);
}

html body.fw36 .experience-intro {
  max-width: 540px;
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.65;
  color: #c0bec9;
}

html body.fw36 .welcome-total {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #c7baff;
}

html body.fw36 .welcome-total small {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  color: #b1aeba;
}

html body.fw36 .welcome-focus {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  min-height: 190px;
  margin: 12px 0 18px;
  padding: 12px 0;
}

html body.fw36 .welcome-focus-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

html body.fw36 .focus-stage {
  display: block;
  margin-bottom: 12px;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #b4afc0;
}

html body.fw36 .focus-percent {
  display: block;
  font-size: 43px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -2px;
  color: #fff;
}

html body.fw36 .focus-fs {
  display: block;
  margin-top: 5px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.9px;
  color: #bdaeff;
}

html body.fw36 .focus-game {
  display: block;
  margin-top: 18px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: #f0edf7;
}

html body.fw36 .focus-provider {
  display: block;
  margin-top: 5px;
  font-size: 14px;
  line-height: 1.5;
  color: #b2acbe;
}

/* Key art живёт без подложки: прозрачный PNG на фоне секции */
html body.fw36 .focus-art {
  display: block;
  width: calc(100% + 20px);
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 14px 18px #0003);
  transition: transform 0.25s;
}

html body.fw36 .focus-art:hover {
  transform: translateY(-3px);
}

html body.fw36 .deposit-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
}

html body.fw36 .fw36-main .deposit-choice {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  min-height: 76px;
  padding: 10px;
  border-radius: 12px;
  background: #252528;
  text-align: left;
  color: #9999a5;
  transition: background 0.18s, transform 0.18s;
}

html body.fw36 .deposit-choice[aria-selected="true"] {
  background: #332b47;
  color: #fff;
}

html body.fw36 .fw36-main .deposit-choice:hover {
  background: #302d39;
  transform: translateY(-2px);
}

html body.fw36 .deposit-choice img {
  width: 45px;
  height: 56px;
  flex: none;
  object-fit: contain;
}

html body.fw36 .deposit-choice > span {
  min-width: 0;
}

html body.fw36 .choice-stage {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
  line-height: 1.4;
  color: #b9b4c6;
}

html body.fw36 .deposit-choice strong {
  display: block;
  font-size: 23px;
  line-height: 1.15;
  letter-spacing: -0.6px;
  color: #f1eef8;
}

html body.fw36 .choice-fs {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.4;
  white-space: nowrap;
  color: #c7b8f3;
}

html body.fw36 .experience-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

html body.fw36 .fw36-main .fw-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin: 0;
  padding: 12px 18px;
  border-radius: 11px;
  background: var(--fw-indigo);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

html body.fw36 .fw36-main .fw-primary:hover {
  background: var(--fw-indigo-hover);
}

html body.fw36 .fw36-main .experience-text-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 12px 0;
  font-size: 14px;
  line-height: 1.5;
  color: #c1b9d1;
}

html body.fw36 .experience-note {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: #aaa5b6;
}

html body.fw36 .quest-description {
  max-width: 540px;
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.65;
  color: #c0bacd;
}

html body.fw36 .quest-scene {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 212px;
  margin: 4px 0 10px;
}

html body.fw36 .quest-scene img {
  display: block;
  width: min(100%, 290px);
  max-height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 15px 26px #0004);
}

html body.fw36 .quest-steps {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

html body.fw36 .quest-steps li {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 76px;
  padding: 14px;
  border-radius: 12px;
  background: #26242e;
}

html body.fw36 .quest-steps li > span:last-child {
  min-width: 0;
}

html body.fw36 .step-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 11px;
  background: #352e49;
  color: #bdadff;
}

html body.fw36 .step-icon .step-glyph {
  display: block;
  width: 21px;
  height: 21px;
  fill: currentColor;
}

html body.fw36 .quest-steps strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: #eeebf6;
}

html body.fw36 .quest-steps small {
  display: block;
  margin-top: 5px;
  font-size: 14px;
  line-height: 1.5;
  color: #b7afc6;
}

/* ───────────── Переход в FAQ ───────────── */

html body.fw36 .faq-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 52px 4px 0;
  padding: 26px 0;
}

html body.fw36 .faq-entry h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: #d9d9e2;
}

html body.fw36 .faq-entry p {
  margin: 0;
  font-size: 12px;
  color: #8c8c98;
}

html body.fw36 .fw36-main .faq-entry a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  padding: 12px 14px;
  border-radius: 10px;
  background: #252528;
  font-size: 12px;
  font-weight: 700;
  color: #c5b8f7;
}

/* ───────────── SEO-блок (home-seo.css) ───────────── */

html body.fw36 .home-seo {
  max-width: 960px;
  margin: 52px 4px 0;
  color: #b6b2c1;
}

html body.fw36 .home-seo h2 {
  margin: 0 0 14px;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.55px;
  color: #d8d8df;
}

html body.fw36 .home-seo p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
}

html body.fw36 .home-seo .seo-intro {
  max-width: 850px;
}

html body.fw36 .home-seo details {
  margin-top: 16px;
}

html body.fw36 .home-seo summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  border-radius: 7px;
  list-style: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: #c1b0ff;
}

html body.fw36 .home-seo summary::-webkit-details-marker {
  display: none;
}

html body.fw36 .home-seo summary::after {
  content: "";
  width: 0;
  height: 0;
  border-inline: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.18s;
}

html body.fw36 .home-seo details[open] > summary::after {
  transform: rotate(180deg);
}

html body.fw36 .home-seo summary:hover {
  color: #d1c7ff;
}

html body.fw36 .home-seo .seo-read-less,
html body.fw36 .home-seo details[open] .seo-read-more {
  display: none;
}

html body.fw36 .home-seo details[open] .seo-read-less {
  display: inline;
}

html body.fw36 .seo-expanded {
  display: grid;
  gap: 24px;
  margin-top: 20px;
}

html body.fw36 .home-seo h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.2px;
  color: #bfbfc7;
}

html body.fw36 .home-seo a {
  display: inline;
  padding: 0;
  background: none;
  font: inherit;
  color: #b8adc9;
  text-decoration: underline;
  text-decoration-color: #5c5469;
  text-underline-offset: 3px;
}

html body.fw36 .home-seo a:hover {
  color: #cbbcff;
  text-decoration-color: currentColor;
}

html body.fw36 .home-seo .seo-note {
  font-size: 13px;
  line-height: 1.7;
  color: #9d95ac;
}

/* ───────────── Список провайдеров ───────────── */

html body.fw36 .home-providers {
  margin: 28px 4px 0;
}

html body.fw36 .home-providers summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  list-style: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: #d4d4dd;
}

html body.fw36 .home-providers summary::-webkit-details-marker {
  display: none;
}

html body.fw36 .home-providers .provider-count {
  padding: 4px 7px;
  border-radius: 6px;
  background: #27272b;
  font-size: 10px;
  font-weight: 400;
  color: #9696a2;
}

html body.fw36 .home-providers summary::after {
  content: "▾";
  display: inline-block;
  margin-left: auto;
  font-size: 14px;
  color: #8f85ac;
}

html body.fw36 .home-providers[open] summary::after {
  transform: rotate(180deg);
}

html body.fw36 .home-studio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 24px;
}

html body.fw36 .fw36-main .home-studio {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 90px;
  padding: 13px 8px;
  border-radius: 10px;
  background: #e8e8ed;
  font-size: 10px;
  font-weight: 700;
  color: #2e2c36;
}

html body.fw36 .fw36-main .home-studio:hover {
  background: #fff;
  transform: translateY(-2px);
}

html body.fw36 .home-studio img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 35px;
  object-fit: contain;
}

html body.fw36 .home-studio > span,
html body.fw36 .home-studio > strong {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Место под фиксированную навигацию даёт футер */
html body.fw36 #pageHome .fw36-main {
  padding-bottom: 24px;
}

/* ───────────── Футер (site-footer.css + support-card-v32 + refinements-v31) ───────────── */

/* Старый подвал Dune на мобиле не нужен: его место занял футер макета */
html body.fw36 #casinoFooter {
  display: none !important;
}

/*
 * Старый скин красит любой footer в #07070B через !important.
 * В макете подвал без своей плашки: тот же фон страницы, #141414.
 */
html body.fw36.forma-ui footer.fw36-footer {
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 20px calc(118px + env(safe-area-inset-bottom));
  background: var(--fw-bg) !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #b8b4c2;
  font: 14px/1.45 ManropeFW, Manrope, sans-serif;
}

html body.fw36 .fw36-footer * {
  font-family: ManropeFW, Manrope, sans-serif;
}

html body.fw36 .fw36-footer button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

html body.fw36 .fw36-footer a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

html body.fw36 .fw36-footer a:focus-visible,
html body.fw36 .fw36-footer button:focus-visible,
html body.fw36 .fw36-footer summary:focus-visible {
  outline: 3px solid #a392ff;
  outline-offset: 4px;
}

html body.fw36 .footer-top {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-bottom: 32px;
}

html body.fw36 .footer-brand img {
  display: block;
  width: 208px;
  max-width: 100%;
  height: 38px;
  object-fit: contain;
  object-position: left;
}

html body.fw36 .footer-brand p {
  max-width: 310px;
  margin: 13px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: #aaa5b6;
}

html body.fw36 .footer-contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: 620px;
  padding: 27px 24px 25px;
  border-radius: 22px;
  background: #202023;
}

html body.fw36 .footer-contact-art {
  position: absolute;
  z-index: -1;
  top: 2px;
  right: -30px;
  width: 420px;
  max-width: none;
  height: 280px;
  object-fit: contain;
  opacity: 0.82;
  pointer-events: none;
  user-select: none;
}

html body.fw36 .footer-contact-heading {
  display: block;
  margin: 0 0 24px;
}

html body.fw36 .footer-contact h2 {
  max-width: 225px;
  margin: 0;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.85px;
  color: var(--fw-paper);
}

html body.fw36 .footer-contact-heading p {
  max-width: 180px;
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: #b9b4c4;
}

html body.fw36 .footer-contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

html body.fw36 .fw36-footer .contact-chat {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 46px;
  padding: 12px 16px;
  border-radius: 11px;
  background: var(--fw-indigo);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

html body.fw36 .fw36-footer .contact-chat:hover {
  background: var(--fw-indigo-hover);
}

html body.fw36 .contact-glyph {
  display: block;
  width: 17px;
  height: 17px;
  flex: none;
  fill: currentColor;
}

html body.fw36 .contact-email {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 43px;
  margin-top: 26px;
}

html body.fw36 .contact-email-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

html body.fw36 .contact-email small {
  display: block;
  font-size: 11px;
  line-height: 1.5;
  color: #9e98aa;
}

html body.fw36 .contact-email strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: -0.15px;
  white-space: nowrap;
  color: #e3deed;
}

html body.fw36 .contact-email-arrow {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  background: #302b3d;
  color: #c6b2ff;
  transition: background 0.18s, transform 0.18s;
}

html body.fw36 .contact-email-arrow .contact-glyph {
  width: 15px;
  height: 15px;
}

html body.fw36 .contact-email:hover .contact-email-arrow {
  background: #403451;
  transform: translate(1px, -1px);
}

html body.fw36 .contact-email:hover strong {
  color: #d1bfff;
}

html body.fw36 .footer-contact-faq {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0 0;
  padding: 3px 0;
  font-size: 12px;
  line-height: 1.5;
  color: #b3a6cc;
}

html body.fw36 .footer-contact-faq:hover {
  color: #d3c3f9;
}

html body.fw36 .footer-contact-faq .contact-glyph {
  width: 13px;
  height: 13px;
}

/* Партнёрский блок: в движке класс footer-partners уже занят, поэтому fw-partners */
html body.fw36 .fw-partners {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 410px;
  margin: 0 0 38px;
  border-radius: 19px;
  background: #202023;
}

html body.fw36 .fw-partners-copy {
  position: relative;
  z-index: 2;
  width: 57%;
  padding: 28px 22px;
}

html body.fw36 .fw-partners-kicker {
  display: block;
  margin-bottom: 17px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #ac96e6;
}

html body.fw36 .fw-partners h2 {
  margin: 0;
  font-size: 29px;
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: -1.1px;
  overflow-wrap: normal;
  color: var(--fw-paper);
}

html body.fw36 .fw-partners p {
  max-width: 230px;
  margin: 16px 0 22px;
  font-size: 13px;
  line-height: 1.65;
  color: #b4adbf;
}

html body.fw36 .fw-partners-copy a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 11px 13px;
  border-radius: 10px;
  background: #f1eef8;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  color: #27222e;
}

html body.fw36 .fw-partners-copy a:hover {
  background: #d4c4ff;
}

html body.fw36 .fw-partners > img {
  position: absolute;
  z-index: 1;
  right: -27px;
  bottom: -2px;
  width: 64%;
  height: 325px;
  object-fit: contain;
  object-position: bottom right;
  pointer-events: none;
}

html body.fw36 .fw-columns {
  display: grid;
  gap: 0;
  margin-bottom: 30px;
}

html body.fw36 .footer-group {
  padding: 0;
}

html body.fw36 .footer-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
  padding: 17px 0;
  list-style: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: #e4dfed;
}

html body.fw36 .footer-group summary::-webkit-details-marker {
  display: none;
}

html body.fw36 .footer-group summary::after {
  content: "+";
  font-size: 23px;
  font-weight: 400;
  color: #a79abf;
}

html body.fw36 .footer-group[open] summary::after {
  content: "−";
}

html body.fw36 .footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 0 0 18px;
}

html body.fw36 .footer-links a,
html body.fw36 .footer-links button {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 0;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
  color: #b9b3c7;
}

html body.fw36 .footer-links a:hover,
html body.fw36 .footer-links button:hover {
  color: #d0bfff;
}

html body.fw36 .footer-links button {
  width: 100%;
  padding: 8px 0;
}

html body.fw36 .footer-socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

html body.fw36 .footer-socials a,
html body.fw36 .footer-socials button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 11px 14px;
  border-radius: 11px;
  background: #242427;
  font-size: 13px;
  font-weight: 700;
  color: #cbc4da;
}

html body.fw36 .footer-socials a:hover,
html body.fw36 .footer-socials button:hover {
  background: #302b3d;
  color: #d8caff;
}

html body.fw36 .social-glyph {
  display: block;
  width: 19px;
  height: 19px;
  flex: none;
  fill: currentColor;
}

html body.fw36 .footer-responsibility {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  max-width: 890px;
  padding: 22px 0 26px;
}

html body.fw36 .footer-age {
  display: block;
  width: 52px;
  height: 52px;
  flex: none;
}

html body.fw36 .footer-age img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

html body.fw36 .footer-responsibility p {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: #aaa4b8;
}

html body.fw36 .footer-responsibility a {
  color: #c6b3f4;
  text-decoration: underline;
  text-underline-offset: 3px;
}

html body.fw36 .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: #9991a8;
}

html body.fw36 .footer-bottom button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #242427;
  font-size: 13px;
  color: #c0b8cf;
}

html body.fw36 .footer-bottom button:hover {
  background: #302b3d;
}

html body.fw36 .language-flag {
  display: block;
  width: 24px;
  height: 16px;
  flex: none;
  border-radius: 2px;
  object-fit: cover;
}

/* ───────────── Вход и регистрация (auth-form.css + refinements-v31) ───────────── */

html body.fw36 #authModal {
  align-items: center !important;
  padding: 16px !important;
  z-index: 1400;
}

html body.fw36 #authModal .modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.67) !important;
  backdrop-filter: blur(3px);
}

/* Макет guest-auth-390: шапка и нижнее меню уходят под шторку, а не остаются в проёме.
   Шапка и nav — соседи #casinoApp на body, поэтому поднимаем само приложение. */
html body.fw36:has(#authModal:not(.hidden)) #casinoApp {
  position: relative;
  z-index: 1400;
}
html body.fw36:has(#authModal:not(.hidden)) .fw36-header,
html body.fw36.play-page-active:has(#authModal:not(.hidden)) .fw36-header,
html body.fw36.game-active:has(#authModal:not(.hidden)) .fw36-header,
html body.fw36:has(#authModal:not(.hidden)) .fw36-nav,
html body.fw36:has(#authModal:not(.hidden)) .fw36-menu-overlay {
  z-index: 1 !important;
}

html body.fw36 #authModal .auth-modal-box {
  display: block;
  width: 100%;
  max-width: 440px;
  max-height: calc(100dvh - 24px);
  border: 0 !important;
  border-radius: 24px !important;
  background: #fff !important;
  color: #25212e !important;
  overflow: hidden;
}

/* В макете окно — один лист. Боковая колонка бонуса движка сжимала форму. */
html body.fw36 #authModal .auth-modal-promo {
  display: none !important;
}

html body.fw36 #authModal .auth-modal-form,
html body.fw36 #authModal .auth-modal-box--register .auth-modal-form {
  display: block;
  width: 100% !important;
  max-width: none !important;
  flex: none !important;
  max-height: calc(100dvh - 24px);
  padding: 25px 22px 22px !important;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

html body.fw36 #authModal .auth-modal-form::-webkit-scrollbar {
  display: none;
}

html body.fw36 #authModal #modalClose {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #777;
  font-size: 26px;
  line-height: 1;
}

html body.fw36 #authModal #modalClose:hover {
  background: #f0f0f3;
}

/* В макете заголовком окна служит активная вкладка переключателя */
html body.fw36 #authModal .auth-modal-title {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip-path: inset(50%);
}

html body.fw36 #authModal .auth-tabs {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 20px;
  margin: 0 0 17px !important;
  padding: 0 24px 0 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.fw36 #authModal .auth-tabs .tab {
  flex: none;
  min-height: 32px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
  color: #8e8799 !important;
}

html body.fw36 #authModal .auth-tabs .tab::after,
html body.fw36 #authModal .auth-tabs .tab::before {
  display: none !important;
}

html body.fw36 #authModal .auth-tabs .tab.active {
  order: -1;
  font-size: 23px !important;
  font-weight: 700 !important;
  letter-spacing: -0.6px;
  color: #25212e !important;
}

/* Иконки, «очистить», полоса надёжности и список требований движка макету не нужны */
html body.fw36 #authModal .input-icon,
html body.fw36 #authModal .auth-clear-field,
html body.fw36 #authModal .password-requirements,
html body.fw36 #authModal .password-strength-wrap,
html body.fw36 #authModal #regFormClose,
html body.fw36 #authModal #loginForm .auth-switch,
html body.fw36 #authModal #registerForm .auth-switch,
html body.fw36 #authModal .auth-keyboard-hints {
  display: none !important;
}

html body.fw36 #authModal .input-wrap {
  position: relative;
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.fw36 #authModal #loginForm .input-wrap + .input-wrap,
html body.fw36 #authModal #forgotPasswordForm .input-wrap,
html body.fw36 #authModal #resetPasswordForm .input-wrap + .input-wrap,
html body.fw36 #authModal .reg-field-wrap[data-field="password"] {
  display: block;
  margin-top: 10px;
}

html body.fw36 #authModal .fw-field-label {
  position: absolute;
  top: 7px;
  left: 13px;
  z-index: 1;
  display: block;
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: #7c748a;
  pointer-events: none;
}

html body.fw36 #authModal .auth-input {
  display: block;
  width: 100%;
  height: 54px !important;
  min-height: 54px !important;
  margin: 0;
  padding: 23px 13px 7px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: #f1f0f5 !important;
  box-shadow: none !important;
  font-size: 16px;
  line-height: 1.4;
  color: #262031 !important;
}

html body.fw36 #authModal .auth-input::placeholder {
  color: #a29baa;
  opacity: 1;
}

html body.fw36 #authModal .auth-input:focus {
  background: #ecebf2 !important;
}

html body.fw36 #authModal .auth-input[aria-invalid="true"] {
  background: #fff4f5 !important;
  box-shadow: inset 0 0 0 1.5px #bd4759 !important;
}

html body.fw36 #authModal .input-wrap:has(.auth-password-toggle) .auth-input {
  padding-right: 41px !important;
}

html body.fw36 #authModal .auth-password-toggle {
  position: absolute;
  top: 16px;
  right: 6px;
  bottom: auto;
  left: auto;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 8px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  /* Движок центрирует кнопку через translateY(-50%). Вместе с top это поднимает глазок на верх поля. */
  transform: none;
  color: #8b8199;
}

html body.fw36 #authModal .auth-password-toggle svg {
  display: block;
  width: 19px;
  height: 19px;
}

html body.fw36 #authModal .auth-password-toggle:hover,
html body.fw36 #authModal .auth-password-toggle[aria-pressed="true"] {
  background: transparent;
  color: var(--fw-indigo);
}

/* Надёжность пароля: кольцо макета вместо полосы движка */
html body.fw36 #authModal .fw-password-guide {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  margin: 9px 0 10px;
}

html body.fw36 #authModal .fw-password-dial {
  --fw-dial: 0deg;
  --fw-dial-color: #8d7db1;
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: conic-gradient(var(--fw-dial-color) var(--fw-dial), #e9e4ef 0);
  color: #9c91ac;
}

html body.fw36 #authModal .fw-password-dial::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #fff;
}

html body.fw36 #authModal .fw-password-dial svg {
  position: relative;
  width: 14px;
  height: 15px;
  fill: currentColor;
}

html body.fw36 #authModal .fw-password-guide[data-score="1"] .fw-password-dial {
  --fw-dial-color: #be5267;
  color: #be5267;
}

html body.fw36 #authModal .fw-password-guide[data-score="2"] .fw-password-dial {
  --fw-dial-color: #a67e37;
  color: #a67e37;
}

html body.fw36 #authModal .fw-password-guide[data-score="3"] .fw-password-dial {
  --fw-dial-color: var(--fw-indigo);
  color: var(--fw-indigo);
}

html body.fw36 #authModal .fw-password-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

html body.fw36 #authModal .fw-password-copy strong {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  color: #665b78;
}

html body.fw36 #authModal .fw-password-copy span {
  font-size: 12px;
  line-height: 1.4;
  color: #908599;
}

html body.fw36 #authModal .fw-password-guide[data-score="3"] .fw-password-copy strong {
  color: #6643cf;
}

/* Валюта счёта */
html body.fw36 #authModal .reg-field-wrap[data-field="currency"] {
  margin-top: 10px;
}

html body.fw36 #authModal .auth-currency-select {
  position: relative;
  margin: 0;
}

html body.fw36 #authModal .auth-currency-trigger {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  height: 56px;
  min-height: 56px;
  padding: 24px 36px 8px 13px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: #f1f0f5 !important;
  box-shadow: none !important;
  text-align: left;
  color: #262031 !important;
}

html body.fw36 #authModal .auth-currency-symbol {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 50%;
  background: #e4ddef;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  color: #7d62b2;
}

html body.fw36 #authModal #regCurrencyLabel {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
}

html body.fw36 #authModal .fw-currency-code {
  flex: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

html body.fw36 #authModal .fw-currency-name {
  overflow: hidden;
  font-size: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #8b8197;
}

html body.fw36 #authModal .auth-currency-chevron {
  position: absolute;
  top: 50%;
  right: 13px;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  font-size: 0;
  background: center / 14px 14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23897b9c' d='m5.6 8 6.4 6.4L18.4 8l2.1 2.1L12 18.6l-8.5-8.5z'/%3E%3C/svg%3E");
}

html body.fw36 #authModal .auth-currency-trigger[aria-expanded="true"] .auth-currency-chevron {
  transform: translateY(-50%) rotate(180deg);
}

html body.fw36 #authModal .auth-currency-dropdown {
  border: 1px solid #e6e3ee !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 18px 40px rgba(31, 22, 54, 0.18) !important;
}

html body.fw36 #authModal .auth-currency-option {
  gap: 9px;
  color: #3a3346 !important;
}

html body.fw36 #authModal .auth-currency-option.selected,
html body.fw36 #authModal .auth-currency-option:hover {
  background: #f1eefb !important;
}

html body.fw36 #authModal .auth-currency-option-symbol {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 50%;
  background: #e4e0ef;
  font-size: 13px;
  font-weight: 700;
  color: #5a4b7a;
}

html body.fw36 #authModal .auth-currency-option-text {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

/* Промокод. Движок прячет поле настройкой, в макете оно всегда есть. */
html body.fw36 #authModal #regFullForm:not(.hidden) .reg-promo-block {
  display: block !important;
  margin-top: 6px;
}

html body.fw36 #authModal .auth-promo {
  margin: 0;
}

html body.fw36 #authModal #togglePromo {
  display: flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  min-height: 36px;
  padding: 5px 0;
  border: 0;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  color: #6c4bc2;
  text-decoration: none;
}

html body.fw36 #authModal .fw-promo-chevron {
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}

html body.fw36 #authModal .reg-promo-block:has(#promoWrap:not(.hidden)) .fw-promo-chevron {
  transform: rotate(45deg);
}

html body.fw36 #authModal #promoWrap {
  margin: 4px 0 0;
}

html body.fw36 #authModal .reg-promo-status {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: #6d6579;
}

/* Согласие и возраст */
html body.fw36 #authModal .auth-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 8px 0 0;
  cursor: pointer;
}

html body.fw36 #authModal .auth-checkbox input {
  appearance: auto;
  accent-color: var(--fw-indigo);
  flex: none;
  width: 17px;
  height: 17px;
  min-height: 17px;
  margin: 2px 0 0;
  padding: 0;
  border-radius: 4px;
  box-shadow: none;
}

html body.fw36 #authModal .auth-checkbox-text {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
  color: #797083 !important;
}

html body.fw36 #authModal .auth-link {
  display: inline;
  padding: 0;
  color: #7155ba;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* «Забыли пароль?» — справа под полем, не рядом с кнопкой «Войти» */
html body.fw36 #authModal .auth-forgot-row {
  display: flex;
  justify-content: flex-end;
  margin: 7px 0 0;
  font-size: 13px;
  color: #797083;
}

html body.fw36 #authModal #linkForgotPassword {
  min-height: 28px;
  padding: 3px 0;
  font-size: 13px;
  font-weight: 600;
  color: #7351bd;
}

html body.fw36 #authModal #linkForgotPassword:hover {
  color: #5b38aa;
  text-decoration: underline;
  text-underline-offset: 3px;
}

html body.fw36 #authModal #forgotPasswordForm .auth-switch,
html body.fw36 #authModal #resetPasswordForm .auth-switch {
  margin: 10px 0 0;
  font-size: 13px;
  color: #797083;
}

html body.fw36 #authModal .auth-switch-link {
  padding: 5px 0;
  border: 0;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  color: #6c4bc2;
}

html body.fw36 #authModal .error-msg {
  margin: 6px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 13px;
  line-height: 1.4;
  color: #b02b46;
}

html body.fw36 #authModal .auth-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px !important;
  margin-top: 14px;
  border: 0 !important;
  border-radius: 12px !important;
  background: var(--fw-indigo) !important;
  box-shadow: none !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0;
  text-transform: none;
  color: #fff !important;
}

html body.fw36 #authModal .auth-submit:hover {
  background: var(--fw-indigo-hover) !important;
}

/* «или» только если под ним реально есть вход через соцсеть */
html body.fw36 #authModal .auth-divider,
html body.fw36 #authModal .auth-telegram-wrap:not(:has(iframe)) {
  display: none !important;
}

html body.fw36 #authModal #registerForm:has(.auth-social-btn:not(.hidden)) .auth-divider:not(.hidden),
html body.fw36 #authModal #loginForm:has(.auth-social-btn:not(.hidden)) .auth-divider:not(.hidden),
html body.fw36 #authModal #registerForm:has(.auth-telegram-widget iframe) #registerDivider,
html body.fw36 #authModal #loginForm:has(.auth-telegram-widget iframe) #loginDivider {
  display: block !important;
  margin: 16px 0 0;
  font-size: 13px;
  color: #908599;
  text-align: center;
}

html body.fw36 #authModal .auth-social-btn {
  border-radius: 12px !important;
  background: #f1f0f5 !important;
  color: #3a3346 !important;
}

/*
 * Телефон: шторка на весь экран — шапка и нижнее меню под формой,
 * как в макете guest-auth-390. Карточка скроллится внутри окна.
 */
@media (max-width: 699px) {
  html body.fw36 #authModal {
    align-items: center !important;
    box-sizing: border-box;
    padding:
      max(16px, env(safe-area-inset-top))
      12px
      max(16px, env(safe-area-inset-bottom))
      12px !important;
  }

  html body.fw36 #authModal .auth-modal-box,
  html body.fw36 #authModal .auth-modal-form,
  html body.fw36 #authModal .auth-modal-box--register .auth-modal-form {
    max-height: calc(100dvh - 32px);
  }

  html body.fw36 #authModal .auth-modal-box {
    border-radius: 22px !important;
  }

  html body.fw36 #authModal .auth-social-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  html body.fw36 #authModal .auth-social-btn {
    min-width: 0;
    min-height: 44px;
  }
}

/* Временно скрыты Google / Steam / Telegram и разделитель «или» на формах входа и регистрации. */
html body.fw36 #authModal .auth-social-row,
html body.fw36 #authModal .auth-divider,
html body.fw36 #authModal .auth-telegram-wrap,
html body.fw36 #authModal .auth-google-wrap {
  display: none !important;
}

@media (max-width: 359px) {
  html body.fw36 .fw36-header {
    padding-inline: 12px;
    gap: 7px;
  }

  /* Узкие экраны: тот же зазор между карточками, что и в сетке каталога. */
  html body.fw36 .game-row {
    gap: 10px;
  }

  html body.fw36 .game-row .fw-card {
    flex-basis: calc((100% - 10px) / 2);
  }

  html body.fw36 .fw36-header #headerAuth {
    gap: 5px;
  }

  html body.fw36 .fw36-header .header-balance-trigger-text {
    font-size: 12px;
  }

  html body.fw36 .fw36-header .fw-deposit-btn {
    padding-inline: 9px;
    font-size: 10px;
  }

  html body.fw36 .fw36-header .fw-deposit-btn svg {
    display: none;
  }

  html body.fw36 .fw36-header .fw-profile-btn {
    width: 36px;
  }

  html body.fw36 .fw36-header .player-avatar {
    width: 36px;
    height: 36px;
  }

  html body.fw36 .hero .campaign-copy {
    width: 49%;
    padding-left: 12px;
  }

  html body.fw36 .hero .campaign-eyebrow {
    font-size: 10px;
  }

  html body.fw36 .hero .campaign-description {
    max-width: 125px;
  }

  html body.fw36 .lower-promos > button {
    min-height: 165px;
  }

  html body.fw36 .lower-promos .campaign-copy {
    padding: 12px 10px;
  }

  html body.fw36 .lower-promos .campaign-heading {
    font-size: 34px;
  }

  html body.fw36 .lower-promos .campaign-eyebrow {
    max-width: 120px;
    font-size: 10px;
  }

  html body.fw36 .lower-promos .campaign-cashback .campaign-heading {
    font-size: 21px;
  }

  html body.fw36 .lower-promos .campaign-cashback .campaign-heading > span + span {
    font-size: 24px;
  }

  html body.fw36 .provider-toggle span {
    display: none;
  }

  html body.fw36 .provider-toggle {
    width: 32px;
    justify-content: center;
  }

  html body.fw36 .catalog-toolbar {
    gap: 14px;
  }

  html body.fw36 .catalog-toolbar .search-row::after {
    right: -8px;
  }

  html body.fw36 .welcome-experience,
  html body.fw36 .quest-experience {
    padding-inline: 16px;
  }

  html body.fw36 .welcome-experience h2,
  html body.fw36 .quest-experience h2 {
    font-size: 29px;
  }

  html body.fw36 .welcome-focus {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    min-height: 220px;
  }

  html body.fw36 .focus-art {
    width: calc(100% + 12px);
  }

  html body.fw36 .focus-percent {
    font-size: 38px;
  }

  html body.fw36 .focus-fs {
    font-size: 23px;
  }

  html body.fw36 .fw36-main .deposit-choice {
    gap: 7px;
    padding: 9px;
  }

  html body.fw36 .deposit-choice img {
    width: 34px;
    height: 48px;
  }

  html body.fw36 .deposit-choice strong {
    font-size: 22px;
  }

  html body.fw36 .home-studio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html body.fw36 .faq-entry {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  html body.fw36 .fw36-footer {
    padding-inline: 16px;
  }

  html body.fw36 .footer-contact {
    padding: 24px 20px;
    border-radius: 19px;
  }

  html body.fw36 .footer-contact h2 {
    max-width: 200px;
    font-size: 23px;
  }

  html body.fw36 .footer-contact-heading p {
    max-width: 162px;
    font-size: 12px;
  }

  html body.fw36 .footer-contact-art {
    top: 10px;
    right: -45px;
    width: 390px;
    height: 260px;
  }

  html body.fw36 .contact-chat {
    min-height: 44px;
    padding: 11px 14px;
    font-size: 13px;
  }

  html body.fw36 .contact-email strong {
    font-size: 13px;
  }

  html body.fw36 .fw-partners-copy {
    width: 61%;
    padding: 24px 18px;
  }

  html body.fw36 .fw-partners h2 {
    font-size: 25px;
  }

  html body.fw36 .fw-partners-kicker {
    font-size: 9px;
  }

  html body.fw36 .fw-partners p {
    font-size: 12px;
  }

  html body.fw36 .fw-partners > img {
    right: -40px;
    width: 66%;
    height: 300px;
  }

  html body.fw36 .footer-socials {
    gap: 7px;
  }

  html body.fw36 .footer-socials a,
  html body.fw36 .footer-socials button {
    gap: 6px;
    padding: 10px;
    font-size: 12px;
  }

  html body.fw36 .footer-responsibility {
    gap: 12px;
  }

  html body.fw36 #authModal .auth-modal-form {
    padding: 21px 16px 18px !important;
  }

  html body.fw36 #authModal .auth-tabs {
    gap: 14px;
    margin-bottom: 18px !important;
  }

  html body.fw36 #authModal .auth-tabs .tab.active {
    font-size: 22px !important;
  }

  html body.fw36 #authModal .fw-field-label {
    left: 11px;
    font-size: 11px;
  }

  html body.fw36 #authModal .auth-input {
    padding-inline: 11px !important;
  }

  html body.fw36 #authModal .input-wrap:has(.auth-password-toggle) .auth-input {
    padding-right: 35px !important;
  }

  html body.fw36 #authModal .auth-password-toggle {
    right: 1px;
    width: 32px;
  }

  html body.fw36 #authModal .fw-password-copy span {
    font-size: 12px;
  }
}

@media (min-width: 500px) and (max-width: 699px) {
  html body.fw36 .hero .campaign-copy {
    padding-left: 24px;
  }

  html body.fw36 .hero .campaign-heading {
    font-size: 54px;
  }

  html body.fw36 .hero .campaign-quests .campaign-heading,
  html body.fw36 .hero .campaign-vip .campaign-heading {
    font-size: 40px;
  }

  html body.fw36 .lower-promos > button {
    min-height: 200px;
  }

  html body.fw36 .lower-promos .campaign-copy {
    padding: 20px;
  }

  html body.fw36 .lower-promos .campaign-heading {
    font-size: 46px;
  }

  html body.fw36 .lower-promos .campaign-cashback .campaign-heading {
    font-size: 30px;
  }

  html body.fw36 .lower-promos .campaign-cashback .campaign-heading > span + span {
    font-size: 34px;
  }

  html body.fw36 .mobile-mode-tabs {
    flex: 0 1 auto;
  }

  html body.fw36 .catalog-toolbar {
    justify-content: center;
  }

  html body.fw36 .mode-tabs button {
    padding-inline: 18px;
    font-size: 15px;
  }

  html body.fw36 .quick-filters button,
  html body.fw36 .provider-toggle {
    padding-inline: 10px;
    font-size: 12px;
  }
}

/*
 * ───────────── Элементы широких композиций ─────────────
 *
 * Обёртки и подписи, которые включаются начиная с промежуточной и ноутбучной
 * сетки: на мобиле они не выводятся, но живут в разметке, чтобы состав блока
 * не пересобирался при смене ширины.
 */
html body.fw36 .fw36-topnav,
html body.fw36 .notebook-promo-summary,
html body.fw36 .notebook-promo-cta,
html body.fw36 .notebook-deposit-stage,
html body.fw36 .notebook-deposit-caption {
  display: none;
}

html body.fw36 .fw36-promos,
html body.fw36 .fw36-controls,
html body.fw36 .notebook-reward-line {
  display: contents;
}

html body.fw36 .campaign-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

/* Кнопка меню движка переехала в шапку макета: на мобиле её роль играет нижняя навигация */
html body.fw36 .fw36-header .fw-menu-toggle {
  display: none;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: var(--fw-surface);
  color: #b8b8bf;
  cursor: pointer;
}

html body.fw36 .fw36-header .fw-menu-toggle:hover {
  background: #303030;
  color: #fff;
}

/*
 * У кнопки движка размер иконки задан инлайново (1.2em), поэтому центрировалась
 * обёртка 16px, а полоски 20px вылезали из неё вправо и вниз. Фиксируем обе
 * коробки на 20px, иначе иконка стоит не по центру кнопки.
 */
html body.fw36 .fw36-header .fw-menu-toggle svg,
html body.fw36 .fw36-header .fw-menu-toggle .svg-icon {
  display: block;
  width: 20px !important;
  height: 20px !important;
  fill: currentColor;
}

/* Карточки главной переключаются на три в ряду там же, где сетка каталога. */
@media (min-width: 600px) {
  html body.fw36 .game-row {
    gap: 16px;
  }

  html body.fw36 .game-row .fw-card {
    flex-basis: calc((100% - 32px) / 3);
  }

  html body.fw36 .fw-card .game-name {
    font-size: 14px;
  }

  html body.fw36 .fw-card .provider {
    font-size: 12px;
  }
}

/* Четыре карточки в ряду — как четыре колонки каталога. */
@media (min-width: 900px) {
  html body.fw36 .game-row .fw-card {
    flex-basis: calc((100% - 48px) / 4);
  }
}

/*
 * ───────────── Промежуточная компоновка: от 700px ─────────────
 *
 * Продуктовые размеры ниже 1200px остаются на мобильной базе, но получают
 * ширину контейнера, пропорции баннеров и шесть карточек в ряду.
 */
@media (min-width: 700px) {
  /* Нижняя навигация только для мобильных: её место занимают шапка и футер */
  html body.fw36 .fw36-nav {
    display: none !important;
  }

  html body.fw36 {
    padding-top: 76px;
  }

  html body.fw36 .fw36-header {
    width: 100%;
    max-width: none;
    height: 76px;
    padding: 0 max(24px, calc((100% - 1240px) / 2));
    margin: 0;
    gap: 12px;
  }

  html body.fw36 .fw36-brand .brand-mark {
    display: none;
  }

  html body.fw36 .fw36-brand .brand {
    display: block;
    width: 176px;
    height: 35px;
  }

  html body.fw36 .fw36-header .fw-menu-toggle {
    display: grid;
  }

  html body.fw36 .fw36-header .fw-auth-btn {
    height: 36px;
    font-size: 12px;
    border-radius: 10px;
  }

  html body.fw36 .fw36-header .fw-auth-login {
    width: 58px;
  }

  html body.fw36 .fw36-header .fw-auth-register {
    width: 116px;
  }

  html body.fw36 .fw36-header .header-balance-trigger {
    min-width: 122px;
    min-height: 42px;
  }

  html body.fw36 .fw36-header #userBalance,
  html body.fw36 .fw36-header .header-balance-trigger-text {
    font-size: 16px;
  }

  html body.fw36 .fw36-header .fw-deposit-btn {
    height: 42px;
    padding-inline: 17px;
    font-size: 13px;
  }

  html body.fw36 .fw36-main {
    width: calc(100% - 48px);
    max-width: 1240px;
    padding: 4px 0 0;
  }

  /* Баннеры: арт встаёт по правому краю во всю высоту, текст занимает левую половину */
  html body.fw36 .hero {
    height: clamp(330px, 39vw, 480px);
    border-radius: 22px;
  }

  html body.fw36 .fw-slide .campaign-art {
    width: auto;
    height: 100%;
    object-position: right bottom;
    mask-image: linear-gradient(to right, transparent, #000 20%);
  }

  html body.fw36 .hero .campaign-copy {
    width: 46%;
    padding: 70px 0 32px 40px;
  }

  html body.fw36 .campaign-eyebrow {
    margin-bottom: 12px;
    font-size: 15px;
  }

  html body.fw36 .hero .campaign-heading {
    font-size: clamp(66px, 7.4vw, 92px);
  }

  html body.fw36 .hero .campaign-quests .campaign-heading,
  html body.fw36 .hero .campaign-vip .campaign-heading {
    font-size: clamp(44px, 5.1vw, 64px);
  }

  html body.fw36 .campaign-description,
  html body.fw36 .hero .campaign-welcome .campaign-description,
  html body.fw36 .hero .campaign-vip .campaign-description {
    max-width: none;
    margin-top: 16px;
    font-size: 16px;
  }

  html body.fw36 .hero .hero-action {
    min-height: 42px;
    margin-top: 22px;
    padding: 12px 20px;
    border-radius: 11px;
    font-size: 14px;
  }

  html body.fw36 .hero .slider-control {
    height: 36px;
  }

  html body.fw36 .hero .slider-control .dot {
    height: 36px;
  }

  html body.fw36 .lower-promos {
    gap: 16px;
    margin-top: 16px;
  }

  html body.fw36 .lower-promos > button {
    min-height: 235px;
    height: clamp(235px, 23vw, 285px);
    border-radius: 20px;
  }

  html body.fw36 .lower-promos .campaign-art {
    width: auto;
    height: 100%;
    object-position: right bottom;
    mask-image: linear-gradient(to right, transparent, #000 24%);
  }

  html body.fw36 .lower-promos .campaign-copy {
    width: 70%;
    padding: 28px;
  }

  html body.fw36 .lower-promos .campaign-eyebrow {
    max-width: 220px;
    min-height: 0;
    margin-bottom: 9px;
    font-size: 12px;
  }

  html body.fw36 .lower-promos .campaign-heading {
    font-size: 60px;
  }

  html body.fw36 .lower-promos .campaign-description {
    margin-top: 10px;
    font-size: 13px;
  }

  html body.fw36 .lower-promos .campaign-cashback .campaign-heading {
    font-size: 36px;
  }

  html body.fw36 .lower-promos .campaign-cashback .campaign-heading > span + span {
    font-size: 43px;
  }

  /* Каталог */
  html body.fw36 .catalog-toolbar {
    margin-inline: 0;
  }

  html body.fw36 .catalog-section {
    margin-top: 36px;
  }

  html body.fw36 .fw36-main .section-head h2 {
    font-size: 25px;
  }

  /* Welcome и квесты */
  html body.fw36 .welcome-experience,
  html body.fw36 .quest-experience {
    margin: 48px 0;
    padding: 34px 36px;
    border-radius: 24px;
    min-height: 0;
  }

  html body.fw36 .welcome-experience h2,
  html body.fw36 .quest-experience h2 {
    font-size: 40px;
    letter-spacing: -1.5px;
  }

  html body.fw36 .welcome-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: center;
  }

  html body.fw36 .welcome-focus {
    grid-template-columns: minmax(140px, 0.85fr) minmax(0, 1.25fr);
    min-height: 290px;
    margin: 0;
    padding: 20px 0;
  }

  html body.fw36 .focus-percent {
    font-size: 58px;
  }

  html body.fw36 .focus-fs {
    font-size: 32px;
  }

  html body.fw36 .deposit-choices {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 28px;
  }

  html body.fw36 .fw36-main .deposit-choice {
    min-height: 94px;
    padding: 12px;
    gap: 10px;
  }

  html body.fw36 .deposit-choice img {
    width: 45px;
    height: 61px;
  }

  html body.fw36 .quest-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
  }

  html body.fw36 .quest-scene {
    grid-column: 2;
    grid-row: 1 / 3;
    min-height: 320px;
    margin: 0;
  }

  html body.fw36 .quest-scene img {
    width: 100%;
    max-height: 320px;
  }

  html body.fw36 .quest-steps,
  html body.fw36 .quest-experience .experience-actions {
    grid-column: 1;
  }

  html body.fw36 .quest-description {
    font-size: 16px;
  }

  /* FAQ, SEO, провайдеры */
  html body.fw36 .faq-entry {
    margin-top: 48px;
  }

  html body.fw36 .faq-entry h2 {
    font-size: 27px;
  }

  html body.fw36 .home-seo {
    margin-top: 56px;
  }

  html body.fw36 .home-seo h2 {
    font-size: 27px;
    margin-bottom: 16px;
  }

  html body.fw36 .home-seo p {
    font-size: 16px;
    line-height: 1.85;
  }

  html body.fw36 .seo-expanded {
    grid-template-columns: 1fr 1fr;
    gap: 28px 40px;
    margin-top: 24px;
  }

  html body.fw36 .home-studio-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
  }

  html body.fw36 .fw36-main .home-studio {
    min-height: 104px;
  }

  /* Футер: без места под нижнюю навигацию */
  html body.fw36 .fw36-footer {
    padding: 56px 24px 32px;
  }

  html body.fw36 .footer-contact {
    min-height: 280px;
    padding: 30px;
  }

  html body.fw36 .footer-contact-art {
    width: 530px;
    height: 353px;
    top: -34px;
    right: -47px;
  }

  html body.fw36 .footer-contact h2 {
    max-width: 320px;
    font-size: 29px;
  }

  html body.fw36 .footer-contact-heading {
    margin-bottom: 23px;
  }

  html body.fw36 .footer-contact-heading p {
    max-width: 240px;
    font-size: 14px;
  }

  html body.fw36 .contact-email {
    max-width: 350px;
  }

  html body.fw36 .footer-contact-faq {
    font-size: 13px;
  }

  html body.fw36 .fw-partners {
    min-height: 320px;
  }

  html body.fw36 .fw-partners-copy {
    width: 56%;
    padding: 38px;
  }

  html body.fw36 .fw-partners-kicker {
    font-size: 12px;
  }

  html body.fw36 .fw-partners h2 {
    font-size: 42px;
  }

  html body.fw36 .fw-partners p {
    max-width: 360px;
    font-size: 15px;
  }

  html body.fw36 .fw-partners-copy a {
    font-size: 14px;
  }

  html body.fw36 .fw-partners > img {
    right: 20px;
    width: 44%;
    height: 370px;
  }
}

/*
 * ───────────── Поиск во всю строку: от 1000px ─────────────
 * Категории, поиск и провайдеры выстраиваются в общую строку.
 */
@media (min-width: 1000px) {
  html body.fw36 .catalog-toolbar .search-row {
    flex: 1;
    width: auto;
    height: 48px;
    padding: 0;
    overflow: hidden;
    border-radius: 13px;
  }

  html body.fw36 .catalog-toolbar .search-row::after {
    content: none;
  }

  html body.fw36 .catalog-toolbar .search {
    justify-content: flex-start;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding-inline: 16px;
    border-radius: inherit;
    gap: 12px;
    font-size: 13px;
  }

  html body.fw36 .catalog-toolbar .search span {
    display: block;
  }

  html body.fw36 .mode-tabs {
    flex: none;
    width: auto;
    border-radius: 15px;
    gap: 2px;
  }

  html body.fw36 .mode-tabs button {
    height: 38px;
    min-height: 38px;
    gap: 7px;
    padding-inline: 12px;
    border-radius: 11px;
    font-size: 13px;
  }

  html body.fw36 .mode-tabs .mode-icon {
    width: 17px;
    height: 17px;
  }

  html body.fw36 .catalog-tools {
    margin-top: 6px;
  }

  html body.fw36 .quick-filters button,
  html body.fw36 .provider-toggle {
    padding-inline: 10px;
    font-size: 12px;
  }

  html body.fw36 .fw-partners {
    min-height: 330px;
  }

  html body.fw36 .fw-partners-copy {
    padding: 40px;
  }

  html body.fw36 .fw-partners > img {
    right: 60px;
    height: 390px;
  }
}

/* Футер встаёт в строку: бренд, помощь, партнёрка */
@media (min-width: 900px) {
  html body.fw36 .footer-top {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 38px;
  }

  html body.fw36 .footer-contact {
    width: min(620px, 62%);
  }

  html body.fw36 .footer-contact-art {
    width: 620px;
    height: 413px;
    top: -70px;
    right: -58px;
  }

  html body.fw36 .fw-columns {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
    margin-bottom: 26px;
  }

  html body.fw36 .footer-group summary {
    min-height: 0;
    padding: 0 0 17px;
    cursor: default;
  }

  html body.fw36 .footer-group summary::after {
    display: none;
  }

  html body.fw36 .footer-links {
    padding: 0;
  }

  html body.fw36 .footer-links a {
    min-height: 37px;
  }

  html body.fw36 .footer-socials {
    margin-bottom: 18px;
  }
}

/*
 * ───────────── Ноутбучная композиция: от 1200px ─────────────
 *
 * Итог слоёв notebook-v40 (сетки), notebook-promos-v41 (компактные промо)
 * и notebook-welcome-v44 (карточки депозитов) собран в один уровень:
 * контейнер 1360px с полями 32px, баннеры 2.15fr/1fr, шесть карточек в ряду,
 * футер из трёх верхних и четырёх ссылочных колонок.
 */
@media (min-width: 1200px) {
  html.fw36 {
    --fw-notebook: 1360px;
    --fw-gutter: 32px;
    --fw-promo-height: clamp(320px, 24vw, 380px);
  }

  /* Шапка: вордмарк, разделы сайта, аккаунт и меню */
  html body.fw36 .fw36-header {
    width: 100%;
    max-width: none;
    height: 76px;
    padding-inline: max(var(--fw-gutter), calc((100% - var(--fw-notebook)) / 2));
    gap: 18px;
  }

  html body.fw36 .fw36-brand {
    flex: none;
  }

  html body.fw36 .fw36-brand .brand {
    width: 190px;
    height: 38px;
  }

  html body.fw36 .fw36-topnav {
    display: flex;
    align-items: center;
    flex: none;
    gap: 3px;
    margin: 0 auto 0 18px;
  }

  html body.fw36 .fw36-topnav a,
  html body.fw36 .fw36-topnav button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    padding: 10px 12px;
    border: 0;
    border-radius: 11px;
    background: transparent;
    color: #aaa7b3;
    font-family: ManropeFW, Manrope, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.18s;
  }

  html body.fw36 .fw36-topnav svg {
    display: block;
    flex: none;
    width: 18px;
    height: 18px;
    fill: currentColor;
    color: #8e899b;
    transition: color 0.18s;
  }

  /* Активный раздел — светлый текст и лавандовая иконка, без плашки и подчёркивания */
  html body.fw36 .fw36-topnav .active,
  html body.fw36 .fw36-topnav a:hover,
  html body.fw36 .fw36-topnav button:hover {
    background: transparent;
    color: var(--fw-paper);
  }

  html body.fw36 .fw36-topnav .active svg {
    color: #b89eff;
  }

  html body.fw36 .fw36-topnav a:hover svg,
  html body.fw36 .fw36-topnav button:hover svg {
    color: currentColor;
  }

  html body.fw36 .fw36-topnav .active:hover svg {
    color: #b89eff;
  }

  html body.fw36 .fw36-header .header-buttons {
    margin-left: auto;
    gap: 12px;
  }

  html body.fw36 .fw36-header .fw-auth-btn {
    height: 38px;
    font-size: 13px;
  }

  html body.fw36 .fw36-header .fw-auth-login {
    width: 64px;
  }

  html body.fw36 .fw36-header .fw-auth-register {
    width: 132px;
  }

  html body.fw36 .fw36-header .header-balance-trigger {
    min-width: 118px;
    min-height: 42px;
  }

  html body.fw36 .fw36-header .fw-wallet-label {
    font-size: 11px;
  }

  html body.fw36 .fw36-header #userBalance,
  html body.fw36 .fw36-header .header-balance-trigger-text {
    font-size: 15px;
  }

  html body.fw36 .fw36-header .fw-deposit-btn {
    height: 40px;
    min-height: 40px;
    padding-inline: 15px;
    font-size: 13px;
  }

  html body.fw36 .fw36-header .fw-menu-toggle {
    width: 38px;
    height: 38px;
  }

  html body.fw36 .fw36-main {
    width: calc(100% - (var(--fw-gutter) * 2));
    max-width: var(--fw-notebook);
    padding: 8px 0 0;
  }

  /* Баннеры: слева основной слайдер, справа ровно два постоянных оффера */
  html body.fw36 .fw36-promos {
    display: grid;
    grid-template-columns: minmax(0, 2.15fr) minmax(300px, 1fr);
    gap: 16px;
    align-items: stretch;
  }

  html body.fw36 .fw36-promos > section:first-child {
    min-width: 0;
  }

  html body.fw36 .hero {
    height: var(--fw-promo-height);
    border-radius: 17px;
  }

  html body.fw36 .fw-slide picture,
  html body.fw36 .lower-promos picture {
    position: absolute;
    inset: 0;
    display: block;
    margin: 0;
    pointer-events: none;
  }

  html body.fw36 .fw-slide .campaign-art,
  html body.fw36 .lower-promos .campaign-art {
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: right center;
    mask-image: linear-gradient(to right, transparent, #000 16%);
  }

  html body.fw36 .hero .campaign-copy {
    width: 46%;
    padding: 48px 0 24px 28px;
  }

  html body.fw36 .campaign-eyebrow {
    margin-bottom: 10px;
    font-size: 12px;
    line-height: 1.3;
    letter-spacing: 0.04em;
  }

  html body.fw36 .hero .campaign-heading {
    font-size: 72px;
    line-height: 1.02;
    letter-spacing: -0.055em;
  }

  html body.fw36 .hero .campaign-welcome .campaign-heading > span + span {
    margin-top: 2px;
    font-size: 44px;
  }

  html body.fw36 .hero .campaign-quests .campaign-heading,
  html body.fw36 .hero .campaign-vip .campaign-heading {
    font-size: 46px;
    line-height: 1.06;
    letter-spacing: -0.045em;
  }

  html body.fw36 .hero .campaign-vip .campaign-heading > span + span {
    margin-top: 4px;
    font-size: 37px;
  }

  /* Подзаголовок и кнопка идут одной колонкой: CTA строго под подписью */
  html body.fw36 .campaign-footer {
    gap: 16px;
    width: 100%;
    margin-top: 12px;
  }

  html body.fw36 .hero .campaign-footer .campaign-description {
    flex: none;
    max-width: 300px;
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #e4e0ec;
  }

  html body.fw36 .hero .campaign-footer .hero-action {
    flex: none;
    min-height: 44px;
    margin: 0;
    padding: 12px 18px;
    font-size: 14px;
    line-height: 1.4;
    white-space: normal;
  }

  html body.fw36 .hero .slider-control {
    top: 12px;
    left: 21px;
    height: 19px;
  }

  html body.fw36 .hero .slider-control .dot {
    height: 19px;
  }

  html body.fw36 .lower-promos {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    height: var(--fw-promo-height);
    min-width: 0;
    margin: 0;
  }

  html body.fw36 .lower-promos > button {
    height: auto;
    min-height: 0;
    border-radius: 15px;
  }

  html body.fw36 .lower-promos .campaign-copy {
    width: 63%;
    padding: 16px 18px;
  }

  html body.fw36 .lower-promos .campaign-eyebrow {
    max-width: none;
    min-height: 0;
    margin-bottom: 6px;
    font-size: 11px;
    line-height: 1.4;
  }

  html body.fw36 .lower-promos .campaign-heading {
    font-size: 36px;
    line-height: 1;
  }

  html body.fw36 .lower-promos .campaign-crypto .campaign-heading > span + span {
    margin-top: 3px;
    font-size: 24px;
  }

  html body.fw36 .lower-promos .campaign-description {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.45;
  }

  html body.fw36 .lower-promos .campaign-cashback .campaign-heading {
    font-size: 26px;
    line-height: 1.08;
    letter-spacing: -0.045em;
  }

  html body.fw36 .lower-promos .campaign-cashback .campaign-heading > span + span {
    margin-top: 3px;
    font-size: 32px;
  }

  /* Категории, поиск и провайдеры — одна строка, быстрые фильтры под ней */
  html body.fw36 .fw36-controls {
    display: grid;
    grid-template-columns: auto minmax(200px, 1fr) auto;
    grid-template-rows: 48px 28px;
    gap: 7px 20px;
    align-items: center;
    margin-top: 22px;
  }

  html body.fw36 .catalog-toolbar,
  html body.fw36 .catalog-tools {
    display: contents;
  }

  html body.fw36 .mode-tabs {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    gap: 2px;
    margin: 0;
    padding: 4px;
    border-radius: 13px;
  }

  html body.fw36 .mode-tabs button {
    height: 40px;
    min-height: 40px;
    gap: 8px;
    padding-inline: 17px;
    border-radius: 10px;
    font-size: 14px;
  }

  html body.fw36 .mode-tabs .mode-icon {
    width: 19px;
    height: 19px;
  }

  html body.fw36 .catalog-toolbar .search-row {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    height: 48px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 12px;
  }

  html body.fw36 .catalog-toolbar .search {
    height: 100%;
    padding-inline: 15px;
    border-radius: inherit;
    font-size: 13px;
  }

  /* Подсветка на всю капсулу, включая скруглённые края */
  html body.fw36 .catalog-toolbar .search-row:hover {
    background: #2d2d2d;
  }

  html body.fw36 .catalog-toolbar .search-row:hover .search {
    background: transparent;
    color: #fff;
  }

  html body.fw36 .quick-filters {
    grid-column: 1 / -1;
    grid-row: 2;
    gap: 12px;
    margin: 0;
    align-self: start;
  }

  html body.fw36 .quick-filters button {
    height: 28px;
    gap: 7px;
    padding: 0 7px;
    border-radius: 7px;
    font-size: 12px;
  }

  html body.fw36 .provider-toggle {
    grid-column: 3;
    grid-row: 1;
    height: 48px;
    gap: 8px;
    padding: 0 15px;
    border-radius: 12px;
    font-size: 13px;
    background: var(--fw-surface);
    color: #c0bacb;
  }

  html body.fw36 .provider-toggle svg {
    width: 18px;
    height: 18px;
  }

  html body.fw36 .provider-toggle:hover {
    background: #302b39;
    color: #e3d8fa;
  }

  /* Ряды игр: шесть карточек в ряду */
  html body.fw36 .catalog-section {
    padding: 0;
    margin-top: 22px;
  }

  html body.fw36 .section-head {
    gap: 20px;
    margin-bottom: 14px;
  }

  html body.fw36 .fw36-main .section-head h2 {
    font-size: 23px;
    line-height: 1.3;
    letter-spacing: -0.6px;
  }

  html body.fw36 .section-head .all {
    min-height: 32px;
    padding: 7px 9px;
    border-radius: 8px;
    font-size: 12px;
    color: #b3a5cc;
  }

  html body.fw36 .section-head .all:hover {
    background: #242127;
    color: #d0baff;
  }

  html body.fw36 .game-row {
    gap: 18px;
    padding-bottom: 4px;
  }

  /* Шесть карточек в ряду — как шесть колонок каталога на этой ширине. */
  html body.fw36 .game-row .fw-card {
    flex-basis: calc((100% - 90px) / 6);
  }

  /*
   * Welcome на главной — короткая точка входа: слева заголовок, описание,
   * сумма и кнопка выбора, справа четыре компактные карточки депозитов.
   * Полный экран с условиями этапов придёт отдельным маршрутом.
   */
  html body.fw36 .welcome-experience,
  html body.fw36 .quest-experience {
    width: 100%;
    max-width: 1120px;
    margin: 40px auto;
    padding: 26px 28px;
    border-radius: 20px;
    min-height: 0;
    scroll-margin-top: 24px;
  }

  html body.fw36 .welcome-experience {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
    grid-template-areas:
      "top stages"
      "intro stages"
      "actions stages";
    gap: 10px 32px;
    align-items: center;
  }

  html body.fw36 .welcome-experience > .experience-topline {
    grid-area: top;
    margin: 0;
    align-self: end;
  }

  html body.fw36 .welcome-layout {
    display: contents;
  }

  html body.fw36 .welcome-layout > div:first-child {
    grid-area: intro;
    align-self: center;
    min-width: 0;
  }

  html body.fw36 .welcome-experience h2,
  html body.fw36 .quest-experience h2 {
    margin: 0 0 12px;
    font-size: 36px;
    line-height: 1.14;
    letter-spacing: -1.2px;
  }

  html body.fw36 .experience-kicker {
    font-size: 13px;
    line-height: 1.5;
    letter-spacing: 0.04em;
  }

  /*
   * На главной полное описание этапа заменяет короткая подводка, а кнопку
   * выбранного этапа — общий вход «Выбрать бонус».
   */
  html body.fw36 .experience-intro,
  html body.fw36 .fw36-main .experience-expand,
  html body.fw36 .experience-note,
  html body.fw36 .fw36-main .experience-text-button,
  html body.fw36 .fw36-main #fw36DepositAction,
  html body.fw36 .quest-description,
  html body.fw36 .quest-steps {
    display: none;
  }

  html body.fw36 .notebook-promo-summary {
    display: block;
    max-width: 440px;
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 1.6;
    color: #c5bfce;
    text-wrap: balance;
  }

  /* Панель выбранного этапа остаётся для скринридера, визуально её заменяют карточки */
  html body.fw36 .welcome-focus {
    position: absolute;
    width: 1px;
    height: 1px;
    min-height: 0;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  html body.fw36 .welcome-total {
    gap: 6px 10px;
    font-size: 30px;
    line-height: 1.3;
    letter-spacing: -0.8px;
  }

  html body.fw36 .welcome-total small {
    font-size: 15px;
    letter-spacing: 0;
  }

  html body.fw36 .welcome-experience > .experience-actions {
    grid-area: actions;
    gap: 0;
    margin-top: 6px;
    align-self: start;
  }

  html body.fw36 .fw36-main .notebook-promo-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 19px;
    border-radius: 11px;
    background: var(--fw-indigo);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    white-space: normal;
  }

  html body.fw36 .fw36-main .notebook-promo-cta:hover {
    background: var(--fw-indigo-hover);
  }

  html body.fw36 .fw36-main .fw-primary {
    min-height: 46px;
    padding: 12px 19px;
    border-radius: 11px;
    font-size: 16px;
    line-height: 1.4;
  }

  html body.fw36 .deposit-choices {
    grid-area: stages;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    align-self: center;
  }

  /* Карточка этапа: тег депозита сверху, %/FS и арт, внизу игра и провайдер */
  html body.fw36 .fw36-main .deposit-choice {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 60px;
    grid-template-rows: auto 64px auto;
    grid-template-areas:
      "tag tag"
      "reward art"
      "caption caption";
    gap: 10px 6px;
    align-items: center;
    min-height: 0;
    padding: 12px 10px;
    border-radius: 14px;
    background: #242326;
    text-align: left;
  }

  html body.fw36 .deposit-choice[aria-selected="true"] {
    background: #30283f;
  }

  html body.fw36 .fw36-main .deposit-choice:hover {
    background: #302c38;
  }

  /* Внутренняя обёртка раскрывается, чтобы тег, награда и подпись легли в сетку карточки */
  html body.fw36 .deposit-choice > span {
    display: contents;
  }

  html body.fw36 .choice-stage {
    display: none;
  }

  html body.fw36 .notebook-deposit-stage {
    grid-area: tag;
    display: inline-flex;
    align-items: center;
    justify-self: start;
    min-height: 24px;
    max-width: 100%;
    margin: 0;
    padding: 3px 8px;
    border-radius: 7px;
    background: #34313b;
    color: #d3ccdf;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
  }

  html body.fw36 .deposit-choice[aria-selected="true"] .notebook-deposit-stage {
    background: #483956;
    color: #eee5ff;
  }

  html body.fw36 .deposit-choice img {
    grid-area: art;
    justify-self: end;
    align-self: center;
    width: 60px;
    height: 60px;
    max-width: 100%;
    object-fit: contain;
  }

  html body.fw36 .notebook-reward-line {
    grid-area: reward;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    white-space: nowrap;
  }

  html body.fw36 .deposit-choice strong {
    font-size: 26px;
    line-height: 1.08;
    letter-spacing: -0.8px;
  }

  html body.fw36 .choice-fs {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
  }

  html body.fw36 .notebook-deposit-caption {
    grid-area: caption;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    gap: 4px;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
  }

  html body.fw36 .notebook-deposit-game {
    min-height: 38px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
  }

  html body.fw36 .notebook-deposit-provider {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    color: #bcb4c9;
  }

  /* Квесты на главной — короткий анонс; состав заданий ждёт отдельного этапа */
  html body.fw36 .quest-experience {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
    grid-template-areas:
      "top art"
      "intro art"
      "actions art";
    gap: 10px 32px;
    align-items: center;
  }

  html body.fw36 .quest-experience > .experience-topline {
    grid-area: top;
    margin: 0;
    align-self: end;
  }

  html body.fw36 .quest-layout {
    display: contents;
  }

  html body.fw36 .quest-layout > div:first-child {
    grid-area: intro;
    align-self: center;
  }

  html body.fw36 .quest-layout > .experience-actions {
    grid-area: actions;
    gap: 0;
    margin: 0;
    align-self: start;
  }

  html body.fw36 .quest-experience .notebook-promo-summary {
    max-width: 600px;
    margin-bottom: 0;
  }

  html body.fw36 .quest-scene {
    grid-area: art;
    justify-self: center;
    width: 280px;
    max-width: 100%;
    height: 230px;
    min-height: 0;
    margin: 0;
  }

  html body.fw36 .quest-scene img {
    width: 100%;
    max-width: 280px;
    max-height: 230px;
  }

  /* FAQ, SEO и каталог студий */
  html body.fw36 .faq-entry {
    margin: 34px 0 0;
    padding: 20px 0;
  }

  html body.fw36 .faq-entry h2 {
    font-size: 24px;
  }

  html body.fw36 .faq-entry p {
    font-size: 13px;
  }

  html body.fw36 .fw36-main .faq-entry a {
    padding: 12px 16px;
    font-size: 13px;
  }

  html body.fw36 .home-seo {
    max-width: none;
    margin: 28px 0 0;
  }

  html body.fw36 .home-seo h2 {
    font-size: 24px;
  }

  html body.fw36 .home-seo p {
    font-size: 14px;
    line-height: 1.85;
  }

  html body.fw36 .home-seo .seo-intro {
    max-width: 1000px;
  }

  html body.fw36 .home-seo h3 {
    font-size: 16px;
  }

  html body.fw36 .home-providers {
    margin: 20px 0 0;
  }

  html body.fw36 .home-providers summary {
    font-size: 14px;
  }

  html body.fw36 .home-studio-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
  }

  html body.fw36 .fw36-main .home-studio {
    min-height: 98px;
    font-size: 11px;
  }

  /*
   * Футер: верхняя строка из бренда, помощи и партнёрки, под ней четыре
   * ссылочные колонки, ответственная игра и выбор языка.
   */
  html body.fw36 .fw36-footer {
    display: block;
    width: calc(100% - (var(--fw-gutter) * 2));
    max-width: var(--fw-notebook);
    padding: 38px 0 24px;
  }

  /*
   * Верх — три колонки: бренд со слоганом и соцсетями, помощь, партнёрка.
   * Соцсети вложены в бренд, поэтому стоят сразу под слоганом, а не внизу колонки.
   */
  html body.fw36 .footer-top {
    display: grid;
    grid-template-columns: minmax(200px, 0.7fr) minmax(0, 1.05fr) minmax(0, 1.15fr);
    gap: 20px;
    align-items: stretch;
    margin: 0 0 32px;
  }

  html body.fw36 .footer-brand {
    min-width: 0;
    padding-top: 18px;
  }

  html body.fw36 .footer-brand img {
    width: 200px;
    height: 38px;
  }

  html body.fw36 .footer-brand p {
    max-width: 220px;
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.6;
  }

  html body.fw36 .footer-brand .footer-socials {
    gap: 7px;
    max-width: 196px;
    margin: 23px 0 0;
  }

  html body.fw36 .footer-socials button,
  html body.fw36 .footer-socials a {
    min-height: 36px;
    gap: 6px;
    padding: 8px 9px;
    border-radius: 8px;
    font-size: 11px;
  }

  html body.fw36 .social-glyph {
    width: 16px;
    height: 16px;
  }

  html body.fw36 .footer-contact {
    width: 100%;
    max-width: none;
    min-height: 250px;
    padding: 23px;
    border-radius: 16px;
  }

  html body.fw36 .footer-contact-art {
    width: 350px;
    height: 234px;
    top: 8px;
    right: -76px;
    opacity: 0.65;
  }

  html body.fw36 .footer-contact-heading {
    margin: 0 0 16px;
  }

  html body.fw36 .footer-contact h2 {
    max-width: 270px;
    font-size: 23px;
    line-height: 1.15;
    letter-spacing: -0.6px;
  }

  html body.fw36 .footer-contact-heading p {
    max-width: 240px;
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.5;
  }

  html body.fw36 .fw36-footer .contact-chat {
    min-height: 38px;
    gap: 20px;
    padding: 9px 12px;
    border-radius: 9px;
    font-size: 12px;
  }

  html body.fw36 .contact-chat .contact-glyph {
    width: 15px;
    height: 15px;
  }

  html body.fw36 .contact-email {
    max-width: 240px;
    min-height: 33px;
    gap: 8px;
    margin-top: 16px;
  }

  html body.fw36 .contact-email small {
    font-size: 10px;
  }

  html body.fw36 .contact-email strong {
    font-size: 12px;
    line-height: 1.4;
  }

  html body.fw36 .contact-email-arrow {
    width: 26px;
    height: 26px;
  }

  html body.fw36 .contact-email-arrow .contact-glyph {
    width: 13px;
    height: 13px;
  }

  html body.fw36 .footer-contact-faq {
    margin-top: 12px;
    padding: 0;
    font-size: 11px;
  }

  html body.fw36 .fw-partners {
    min-height: 250px;
    margin: 0;
    border-radius: 16px;
  }

  html body.fw36 .fw-partners-copy {
    width: 66%;
    padding: 23px;
  }

  html body.fw36 .fw-partners-kicker {
    margin-bottom: 11px;
    font-size: 9px;
    line-height: 1.5;
    letter-spacing: 0.07em;
  }

  html body.fw36 .fw-partners h2 {
    max-width: 220px;
    font-size: 26px;
    line-height: 1.13;
    letter-spacing: -0.8px;
  }

  html body.fw36 .fw-partners p {
    max-width: 195px;
    margin: 12px 0 16px;
    font-size: 12px;
    line-height: 1.65;
  }

  html body.fw36 .fw-partners-copy a {
    min-height: 36px;
    padding: 9px 11px;
    border-radius: 8px;
    font-size: 11px;
  }

  html body.fw36 .fw-partners > img {
    right: -3px;
    bottom: 0;
    width: 43%;
    height: 235px;
    max-height: 100%;
    object-fit: contain;
    object-position: bottom right;
  }

  html body.fw36 .fw-columns {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 36px;
    margin: 0 0 15px;
  }

  html body.fw36 .footer-group summary {
    padding-bottom: 12px;
    font-size: 14px;
  }

  html body.fw36 .footer-links a,
  html body.fw36 .footer-links button {
    min-height: 31px;
    padding: 6px 0;
    font-size: 13px;
    line-height: 1.45;
  }

  html body.fw36 .footer-responsibility {
    gap: 13px;
    max-width: 920px;
    padding: 18px 0 20px;
  }

  html body.fw36 .footer-age {
    width: 43px;
    height: 43px;
  }

  html body.fw36 .footer-responsibility p {
    font-size: 12px;
    line-height: 1.7;
  }

  html body.fw36 .footer-bottom {
    gap: 20px;
    font-size: 12px;
  }

  html body.fw36 .footer-bottom button {
    min-height: 36px;
    padding: 7px 10px;
    font-size: 12px;
  }

  /* Окно авторизации на ноутбуке остаётся компактным листом по центру */
  html body.fw36 #authModal .auth-modal-box {
    max-width: 440px;
    max-height: calc(100dvh - 96px);
  }

  html body.fw36 #authModal .auth-modal-form {
    max-height: calc(100dvh - 96px);
  }
}

/* Узкие ноутбуки 1280–1399: та же композиция с уменьшенным кеглем */
@media (min-width: 1200px) and (max-width: 1399px) {
  html body.fw36 .fw36-header {
    gap: 12px;
  }

  html body.fw36 .fw36-brand .brand {
    width: 174px;
  }

  html body.fw36 .fw36-topnav {
    gap: 2px;
    margin-left: 5px;
  }

  html body.fw36 .fw36-topnav a,
  html body.fw36 .fw36-topnav button {
    gap: 6px;
    padding-inline: 10px;
    font-size: 13px;
  }

  html body.fw36 .fw36-topnav svg {
    width: 17px;
    height: 17px;
  }

  html body.fw36 .fw36-header .header-buttons {
    gap: 10px;
  }

  html body.fw36 .fw36-controls {
    gap: 7px 16px;
  }

  html body.fw36 .mode-tabs button {
    padding-inline: 15px;
    font-size: 13px;
  }

  html body.fw36 .welcome-experience,
  html body.fw36 .quest-experience {
    padding: 24px;
  }

  html body.fw36 .welcome-experience h2,
  html body.fw36 .quest-experience h2 {
    font-size: 29px;
  }

  html body.fw36 .fw36-main .deposit-choice {
    gap: 9px 6px;
    padding: 10px 9px;
  }

  html body.fw36 .deposit-choice strong {
    font-size: 23px;
  }

  html body.fw36 .footer-top {
    grid-template-columns: 240px minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 18px;
  }

  html body.fw36 .footer-contact,
  html body.fw36 .fw-partners-copy {
    padding: 21px;
  }

  html body.fw36 .footer-contact h2 {
    max-width: 260px;
    font-size: 22px;
  }

  html body.fw36 .footer-contact-art {
    right: -100px;
    opacity: 0.55;
  }

  html body.fw36 .fw-partners h2 {
    font-size: 25px;
  }

  html body.fw36 .fw-partners p {
    max-width: 180px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body.fw36 .hero-track,
  html body.fw36 .fw-card img,
  html body.fw36 .fw-card .game-overlay,
  html body.fw36 .lower-promos .campaign-art,
  html body.fw36 .hero .slider-control .dot::before,
  html body.fw36 .fw36-main button,
  html body.fw36 .deposit-choice,
  html body.fw36 .focus-art,
  html body.fw36 .home-seo summary::after,
  html body.fw36 .contact-email-arrow,
  html body.fw36 .fw36-dialog,
  html body.fw36 .provider-card {
    transition: none !important;
    animation: none !important;
  }
}

/* Поиск, провайдеры и выбор режима. Игровое окно тёмное, как в макете; поиск и студии — светлые. */

html body.fw36 .saved-star {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  color: #f3d27a;
  font-size: 14px;
  line-height: 1;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

html body.fw36 .provider-toggle.is-active {
  color: #9e86ff;
}

html body.fw36 .catalog-empty button {
  margin-top: 14px;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 10px;
  background: #6b4eff;
  color: #fff;
  font-weight: 700;
}

html body.fw36 .fw36-shade {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  background: rgba(8, 8, 10, 0.72);
}

html body.fw36 .fw36-shade[hidden] {
  display: none;
}

html body.fw36 .fw36-dialog {
  position: relative;
  width: min(460px, 100%);
  max-height: calc(100dvh - 48px);
  overflow: auto;
  padding: 26px 22px 20px;
  border-radius: 22px;
  background: #fff;
  color: #241f2c;
}

html body.fw36 .fw36-dialog h2 {
  margin: 0 36px 16px 0;
  font-size: 25px;
  line-height: 1.15;
  letter-spacing: -0.6px;
}

html body.fw36 .fw36-dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 10px;
  background: #eeedf2;
  color: #5c5668;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

html body.fw36 .fw36-dialog-close:hover {
  background: #e4e1ea;
  color: #241f2c;
}

html body.fw36 .fw36-dialog--search {
  width: min(430px, 100%);
  max-width: 430px;
  max-height: 88dvh;
  padding: 30px 22px 22px;
  border-radius: 24px;
  letter-spacing: 0;
  font-family: ManropeFW, Manrope, sans-serif;
}

html body.fw36 .fw36-dialog--search h2 {
  margin: 0 36px 16px 0;
  font-size: 24px;
  letter-spacing: -0.6px;
}

html body.fw36 .fw36-dialog--search .fw36-dialog-close {
  top: 12px;
  right: 12px;
}

html body.fw36 .fw36-search-field {
  display: block;
  height: auto;
  margin: 0 0 18px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #8c8794;
}

html body.fw36 .fw36-search-field .icon {
  display: none;
}

html body.fw36 .fw36-search-field input,
html body.fw36 #fw36GameSearch {
  display: block;
  flex: none;
  width: 100%;
  min-width: 0;
  height: auto;
  margin: 0;
  padding: 13px 14px !important;
  border: 0 !important;
  border-radius: 11px !important;
  background: #f0f0f4 !important;
  box-shadow: none !important;
  color: #17151f !important;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0 !important;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

html body.fw36 .fw36-search-field input::placeholder,
html body.fw36 #fw36GameSearch::placeholder {
  color: #8b8694;
  opacity: 1;
  letter-spacing: 0;
}

html body.fw36 .fw36-search-field input::-webkit-search-decoration,
html body.fw36 .fw36-search-field input::-webkit-search-cancel-button,
html body.fw36 .provider-search-field input::-webkit-search-decoration,
html body.fw36 .provider-search-field input::-webkit-search-cancel-button {
  display: none;
}

html body.fw36 .fw36-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 0;
  max-height: none;
  overflow: visible;
}

html body.fw36 .fw36-results .fw-card {
  flex: none;
  width: auto;
  min-width: 0;
  padding: 0;
  background: transparent;
  text-align: left;
}

html body.fw36 .fw36-results .game-cover {
  aspect-ratio: 1;
  border-radius: 10px;
}

html body.fw36 .fw36-results .game-name {
  margin-top: 10px;
  color: #17151f;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
}

html body.fw36 .fw36-results .provider {
  margin-top: 5px;
  color: #72717b;
  font-size: 10px;
  line-height: 1.35;
  letter-spacing: 0;
}

html body.fw36 .fw36-empty,
html body.fw36 .provider-empty {
  grid-column: 1 / -1;
  padding: 28px 8px;
  color: #77717f;
  text-align: center;
}

html body.fw36 .fw36-dialog--providers {
  display: flex;
  flex-direction: column;
  width: min(560px, 100%);
  max-height: calc(100dvh - 48px);
  overflow: hidden;
}

html body.fw36 .fw36-dialog--providers #fw36DialogBody {
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: min(640px, calc(100dvh - 96px));
}

html body.fw36 .provider-search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 13px;
  border-radius: 12px;
  background: #f0f0f4;
  color: #8c8794;
}

html body.fw36 .provider-search-field .icon {
  width: 17px;
  height: 17px;
  fill: currentColor;
  flex: none;
}

html body.fw36 .provider-search-field input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #17151f !important;
  font: inherit;
  font-size: 13px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

html body.fw36 .provider-search-clear {
  width: 23px;
  height: 23px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #dfdce7;
  color: #756d84;
  cursor: pointer;
}

html body.fw36 .provider-search-clear[hidden] {
  display: none;
}

html body.fw36 .provider-results-meta {
  padding: 14px 0 10px;
  color: #96919e;
  font-size: 11px;
}

html body.fw36 .providers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-height: 0;
  overflow: auto;
  padding: 2px;
}

html body.fw36 .provider-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 104px;
  padding: 14px 8px 12px;
  border: 0;
  border-radius: 13px;
  background: #f5f5f7;
  color: #26212f;
  cursor: pointer;
}

html body.fw36 .provider-card:hover {
  background: #eeedf3;
}

html body.fw36 .provider-card[aria-pressed="true"] {
  background: #eee8ff;
  color: #593fc4;
}

html body.fw36 .provider-logo-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 46px;
}

html body.fw36 .provider-logo-slot img {
  max-width: 78%;
  max-height: 40px;
  object-fit: contain;
}

html body.fw36 .provider-name {
  max-width: 100%;
  overflow: hidden;
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html body.fw36 .provider-selected {
  display: none;
  position: absolute;
  top: 7px;
  right: 7px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #6b4eff;
  color: #fff;
  font-size: 11px;
  line-height: 17px;
}

html body.fw36 .provider-card[aria-pressed="true"] .provider-selected {
  display: block;
}

html body.fw36 .fw36-dialog--game {
  background: #1b1b1e;
  color: #f3f4f7;
  padding: 30px 22px 24px;
}

html body.fw36 .fw36-dialog--game .fw36-dialog-close {
  background: #2b2b30;
  color: #b5b5c0;
}

html body.fw36 .game-dialog-hero {
  padding: 4px 0 22px;
  text-align: center;
}

html body.fw36 .game-dialog-kicker {
  display: block;
  margin: 0 30px 18px;
  color: #9994ab;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

html body.fw36 .game-dialog-cover {
  display: block;
  width: 145px;
  height: 182px;
  margin: 0 auto 18px;
  object-fit: cover;
  border-radius: 15px;
}

html body.fw36 .fw36-dialog--game h2 {
  margin: 0;
  color: #f3f4f7;
  font-size: 26px;
  letter-spacing: -0.7px;
}

html body.fw36 .game-dialog-provider {
  margin: 8px 0 0;
  color: #a19baf;
  font-size: 12px;
}

html body.fw36 .game-mode-panel {
  padding: 18px;
  border-radius: 16px;
  background: #252528;
}

html body.fw36 .game-mode-caption {
  margin: 0 0 14px;
  color: #d3d0dd;
  font-size: 13px;
  font-weight: 700;
}

html body.fw36 .fw36-real {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 11px;
  background: #6b4eff;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

html body.fw36 .fw36-real:hover {
  background: #8170ff;
}

html body.fw36 .fw36-real svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

html body.fw36 .game-auth-hint {
  margin: 9px 0 16px;
  color: #928b9e;
  font-size: 11px;
  text-align: center;
}

html body.fw36 .game-secondary-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

html body.fw36 .game-secondary-actions button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  background: #333238;
  color: #d5d2df;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

html body.fw36 .game-secondary-actions button:hover {
  background: #403c4c;
}

html body.fw36 .game-secondary-actions button:disabled {
  opacity: 0.45;
  cursor: default;
}

html body.fw36 .game-save svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

html body.fw36 .game-save[aria-pressed="true"] {
  background: #39304e;
  color: #d1c3ff;
}

@media (min-width: 1200px) {
  html body.fw36 .providers-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
}

/* Стрелки ряда: листают только свою категорию */
html body.fw36 .catalog-row-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

html body.fw36 .catalog-row-navigation {
  display: flex;
  align-items: center;
  gap: 6px;
}

html body.fw36 .catalog-row-arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: #252427;
  color: #d7c9ef;
  cursor: pointer;
}

html body.fw36 .catalog-row-arrow svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html body.fw36 .catalog-row-arrow:hover:not(:disabled) {
  background: #383042;
  color: #f0e5ff;
}

html body.fw36 .catalog-row-arrow:disabled {
  color: #77737e;
  background: #202023;
  cursor: default;
}

html body.fw36 .catalog-row-arrow:focus-visible,
html body.fw36 .game-row:focus-visible {
  outline: 2px solid #b39aff;
  outline-offset: 3px;
}

@media (max-width: 699px) {
  html body.fw36 .catalog-row-actions { gap: 10px; }
  html body.fw36 .catalog-row-arrow { width: 29px; height: 29px; }
  html body.fw36 .catalog-row-arrow svg { width: 14px; height: 14px; }
}

/* Компактный гид виден только на десктопе. Ноутбук оставляет прежний блок квестов. */
html body.fw36 .df-quests,
html body.fw36 .df-welcome { display: none; }

/* ───────────── Десктоп от 1440px: контейнер 1488, поля 48 ───────────── */
@media (min-width: 1440px) {
  html.fw36 {
    --fw-notebook: 1488px;
    --fw-gutter: 48px;
  }

  html body.fw36 {
    padding-top: 88px;
  }

  html body.fw36 .fw36-header {
    height: 88px;
    gap: 20px;
    background: #141414;
  }

  html body.fw36 .fw36-brand .brand { width: 194px; height: 40px; }
  html body.fw36 .fw36-topnav { gap: 4px; margin-left: 20px; }
  html body.fw36 .fw36-topnav a,
  html body.fw36 .fw36-topnav button { gap: 8px; min-height: 46px; padding: 12px 13px; }
  html body.fw36 .fw36-topnav svg { width: 19px; height: 19px; }
  html body.fw36 .fw36-header .fw-auth-btn { height: 44px; font-size: 14px; }
  html body.fw36 .fw36-main { padding-top: 12px; }

  html body.fw36 .fw36-promos {
    grid-template-columns: minmax(0, 2.18fr) minmax(340px, 1fr);
    gap: 20px;
  }

  html body.fw36 .hero {
    height: auto;
    aspect-ratio: 2.5;
    max-height: 404px;
    min-height: 320px;
    border-radius: 20px;
  }

  html body.fw36 .hero .campaign-copy { width: 47%; padding: 40px 0 28px 32px; }
  html body.fw36 .hero .campaign-heading { font-size: clamp(68px, 5.1vw, 80px); }
  html body.fw36 .fw36-controls { grid-template-rows: 52px 32px; gap: 10px 20px; margin-top: 28px; }
  html body.fw36 .mode-tabs button { height: 44px; min-height: 44px; }
  html body.fw36 .catalog-toolbar .search-row,
  html body.fw36 .catalog-toolbar .search { height: 52px; font-size: 15px; }
  html body.fw36 .provider-toggle { height: 52px; font-size: 14px; }
  html body.fw36 .catalog-section { margin-top: 30px; }
  html body.fw36 .fw36-main .section-head h2 { font-size: 26px; letter-spacing: -0.7px; }
  html body.fw36 .game-row { gap: 18px; }
  html body.fw36 .game-row .fw-card { flex-basis: calc((100% - 90px) / 6); }

  html body.fw36 .welcome-experience {
    display: block;
    max-width: none;
    margin: 48px 0;
    padding: 32px 36px 30px;
    border-radius: 24px;
    background: #1c1b20;
  }

  html body.fw36 .welcome-experience > :not(.df-welcome) { display: none !important; }
  html body.fw36 .df-welcome { display: block; color: #f2eff7; }

  html body.fw36 .df-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 22px;
    min-height: 28px;
  }
  html body.fw36 .df-kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.055em; color: #bea9ff; }
  html body.fw36 .df-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    color: #c3b6dc;
    font-size: 14px;
    font-weight: 500;
  }
  html body.fw36 .df-text svg { width: 14px; height: 14px; }
  html body.fw36 .df-text:hover { color: #e1d4ff; }
  html body.fw36 .df-welcome-main {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.8fr);
    gap: 34px;
    align-items: center;
  }
  html body.fw36 .df-intro h2 {
    margin: 0 0 17px;
    font-size: 46px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1.6px;
    color: #f5f2f8;
  }
  html body.fw36 .df-intro > p { max-width: 420px; margin: 0 0 22px; font-size: 16px; line-height: 1.65; color: #c5bdcf; }
  html body.fw36 .df-total { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; margin: 0 0 24px; }
  html body.fw36 .df-total strong { font-size: 35px; line-height: 1.15; letter-spacing: -1px; color: #c8b5ff; white-space: nowrap; }
  html body.fw36 .df-total span { font-size: 15px; color: #b6adbf; }
  html body.fw36 .df-journey {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: 390px;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  html body.fw36 .df-journey li { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
  html body.fw36 .df-journey li > span {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: #302837;
    color: #baa2e8;
  }
  html body.fw36 .df-journey svg { width: 21px; height: 21px; fill: currentColor; }
  html body.fw36 .df-journey strong { font-size: 13px; font-weight: 500; color: #bdb1cc; }
  html body.fw36 .df-welcome-focus {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 318px;
    padding: 24px;
    border-radius: 20px;
    background: #25222d;
  }
  html body.fw36 .df-game-scene {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 280px;
    isolation: isolate;
  }
  html body.fw36 .df-game-scene::before {
    content: "";
    position: absolute;
    width: 92%;
    height: 90%;
    border-radius: 50%;
    background: radial-gradient(ellipse, #6b4eff20, transparent 68%);
    z-index: -1;
  }
  html body.fw36 .df-game-scene img {
    position: relative;
    width: 100%;
    max-width: 300px;
    height: 280px;
    object-fit: contain;
    filter: drop-shadow(0 18px 18px #0003);
  }
  html body.fw36 .df-scene-platform {
    position: absolute;
    bottom: 9px;
    left: 8%;
    width: 84%;
    height: 44px;
    border-radius: 50%;
    background: #15131bb3;
  }
  html body.fw36 .df-stage {
    display: inline-flex;
    padding: 4px 9px;
    border-radius: 7px;
    background: #39313f;
    color: #d4c4ed;
    font-size: 12px;
    font-weight: 600;
  }
  html body.fw36 .df-selected-reward { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 14px 0 18px; }
  html body.fw36 .df-selected-reward strong { font-size: 64px; line-height: 1; letter-spacing: -2px; color: #fff; }
  html body.fw36 .df-selected-reward span { font-size: 29px; font-weight: 700; letter-spacing: -0.8px; color: #c8b5ff; }
  html body.fw36 .df-selected-offer h3 { margin: 0 0 5px; font-size: 23px; font-weight: 700; letter-spacing: -0.5px; color: #f1edf7; }
  html body.fw36 .df-provider { margin: 0 0 19px; font-size: 15px; color: #bdb1ca; }
  html body.fw36 .df-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
  html body.fw36 .df-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 46px;
    padding: 12px 20px;
    border: 0;
    border-radius: 11px;
    background: #6b4eff;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
  }
  html body.fw36 .df-primary:hover { background: #795cff; }
  html body.fw36 .df-primary svg { width: 16px; height: 16px; }
  html body.fw36 .df-deposits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
  html body.fw36 .df-deposit {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    grid-template-areas: "art stage" "art reward" "caption caption";
    gap: 5px 12px;
    padding: 15px 16px;
    border: 0;
    border-radius: 14px;
    background: #26232b;
    color: #eee8f8;
    text-align: left;
    box-shadow: inset 0 0 0 1px transparent;
    cursor: pointer;
  }
  html body.fw36 .df-deposit:hover { background: #302939; }
  html body.fw36 .df-deposit[aria-selected="true"] { background: #342841; box-shadow: inset 0 0 0 1px #9575c7; }
  html body.fw36 .df-deposit img { grid-area: art; width: 62px; height: 62px; object-fit: contain; align-self: center; }
  html body.fw36 .df-deposit > .df-stage { grid-area: stage; padding: 0; background: transparent; color: #b9abc9; font-weight: 500; }
  html body.fw36 .df-deposit-reward { grid-area: reward; display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 8px; }
  html body.fw36 .df-deposit-reward strong { font-size: 26px; letter-spacing: -0.6px; }
  html body.fw36 .df-deposit-reward span { font-size: 14px; color: #c3aceb; white-space: nowrap; }
  html body.fw36 .df-deposit-caption {
    grid-area: caption;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 5px;
    padding-top: 11px;
    border-top: 1px solid #ffffff0b;
  }
  html body.fw36 .df-deposit-caption strong { font-size: 14px; font-weight: 600; color: #e4dced; }
  html body.fw36 .df-deposit-caption small { font-size: 13px; color: #b3a7c0; }

  html body.fw36 .quest-experience { display: block; max-width: none; margin: 48px 0; }
  html body.fw36 .quest-experience .experience-topline,
  html body.fw36 .quest-experience .quest-layout { display: none; }

  html body.fw36 .df-quests {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
    gap: 44px;
    align-items: center;
    padding: 30px 34px;
    background: #1c1b20;
    border-radius: 22px;
  }

  html body.fw36 .qg-copy { max-width: 485px; }
  html body.fw36 .df-kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; color: #b7a4e4; }
  html body.fw36 .df-quests h2 { margin: 12px 0; font-size: 34px; line-height: 1.12; letter-spacing: -1px; color: #f4f1fa; }
  html body.fw36 .qg-copy p { margin: 0 0 19px; max-width: 465px; font-size: 15px; line-height: 1.55; color: #c4bdcd; }
  html body.fw36 .qg-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
  html body.fw36 .qg-steps li {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 182px;
    padding: 18px;
    border-radius: 13px;
    background: #25222d;
  }
  html body.fw36 .qg-step-background { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
  html body.fw36 .qg-steps li::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, #201d29f5 0%, #201d29c4 30%, #201d2930 68%, #201d2914 100%);
  }
  html body.fw36 .qg-step-no { margin-bottom: 13px; font-size: 28px; font-weight: 800; line-height: 1; color: #d6c2ff; }
  html body.fw36 .qg-step-title { max-width: 155px; font-size: 14px; font-weight: 600; line-height: 1.4; color: #f2ebfb; }
  html body.fw36 .qg-step-reward { margin-top: auto; font-size: 30px; font-weight: 700; letter-spacing: -0.7px; color: #f4edff; white-space: nowrap; }
  html body.fw36 .qg-copy .fw-primary { display: inline-flex; align-items: center; gap: 12px; }
  html body.fw36 .qg-copy .fw-primary svg { width: 16px; height: 16px; }
  html body.fw36 .qg-step-note { margin-top: 5px; font-size: 12px; color: #c9bfd6; }

  html body.fw36 .footer-top { grid-template-columns: 260px minmax(0, 1fr) minmax(0, 1.12fr); gap: 24px; margin-bottom: 40px; }
  html body.fw36 .footer-brand img { width: 224px; height: 42px; }
  html body.fw36 .fw36-footer { padding-top: 48px; }
}

/* ───────────── Боковое меню ───────────── */

/*
 * Сайдбар движка в оформлении FORMA скрыт (см. начало файла), поэтому его
 * подложка только затемняла страницу, пока ничего не появлялось.
 */
html body.fw36 .sidebar-backdrop {
  display: none !important;
}

/*
 * Прокрутка страницы принадлежит <html>. У body из casino.css остаются
 * overflow: hidden auto и overscroll-behavior-y: contain — то есть он сам
 * становится контейнером прокрутки без запаса и не отдаёт колесо наверх:
 * страница не двигается ни вниз, ни вверх. overflow-x: clip обрезает по
 * горизонтали так же, как hidden, но контейнером прокрутки не делает;
 * overscroll-behavior: auto оставляем запасом для браузеров без clip.
 */
html body.fw36 {
  overflow-x: clip;
  overflow-y: visible;
  overscroll-behavior-y: auto;
}

/* Место под полосу прокрутки держим всегда: блокировка фона не сдвигает вёрстку. */
html.fw36 {
  scrollbar-gutter: stable;
}

/* Фон под меню и модалками движка замирает на <html>: body прокруткой не управляет. */
html.fw36-menu-open,
html.fw36-locked {
  overflow: hidden !important;
}

html body.fw36 .fw36-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  justify-content: flex-end;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

html body.fw36 .fw36-menu-overlay[hidden] {
  display: none;
}

html body.fw36 .fw36-menu-panel {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: min(390px, 100%);
  height: 100dvh;
  overflow: hidden;
  background: #181818;
  color: #f4f4f7;
  box-shadow: -20px 0 80px rgba(0, 0, 0, 0.27);
  animation: fw36-menu-enter 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes fw36-menu-enter {
  from {
    transform: translateX(30px);
    opacity: 0.5;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

html body.fw36 .fw36-menu-panel .menu-head {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px 14px;
}

html body.fw36 .fw36-menu-panel .menu-brand {
  display: block;
  width: 166px;
  height: 32px;
  object-fit: contain;
  object-position: left;
}

html body.fw36 .fw36-menu-panel .menu-close {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: #292929;
  color: #b7b7bd;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

html body.fw36 .fw36-menu-panel .menu-close:hover {
  background: #343434;
  color: #fff;
}

html body.fw36 .fw36-menu-panel .menu-content {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 4px 20px calc(20px + env(safe-area-inset-bottom));
}

html body.fw36 .fw36-menu-panel .menu-auth {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 8px;
  margin-bottom: 14px;
}

html body.fw36 .fw36-menu-panel .menu-auth button {
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: #292929;
  color: #ededf2;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

html body.fw36 .fw36-menu-panel .menu-auth .primary {
  background: #6b4eff;
  color: #fff;
}

html body.fw36 .fw36-menu-panel .menu-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-bottom: 14px;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: #242424;
  color: #ededf2;
  text-align: left;
  cursor: pointer;
}

html body.fw36 .fw36-menu-panel .menu-avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #30283f;
}

html body.fw36 .fw36-menu-panel .menu-avatar-icon {
  width: 19px;
  height: 19px;
  fill: #b6a6ff;
}

html body.fw36 .fw36-menu-panel .menu-profile strong {
  display: block;
  font-size: 14px;
}

html body.fw36 .fw36-menu-panel .menu-profile small {
  color: #999;
  font-size: 11px;
}

html body.fw36 .fw36-menu-panel .menu-row {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 39px;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #e3e3e8;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

html body.fw36 .fw36-menu-panel .menu-row:hover {
  background: #242424;
}

html body.fw36 .fw36-menu-panel .menu-row[aria-current="page"] {
  background: #24202e;
  color: #b5a5ff;
}

html body.fw36 .fw36-menu-panel .menu-icon {
  display: block;
  flex: none;
  width: 18px;
  height: 18px;
  fill: currentColor;
  color: #96969f;
}

html body.fw36 .fw36-menu-panel .menu-row[aria-current="page"] .menu-icon {
  color: #a08cff;
}

html body.fw36 .fw36-menu-panel .menu-chevron {
  display: flex;
  margin-left: auto;
  color: #717178;
}

html body.fw36 .fw36-menu-panel .menu-chevron-icon {
  display: block;
  width: 15px;
  height: 15px;
  fill: currentColor;
}

html body.fw36 .fw36-menu-panel .menu-games {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 6px 0 16px;
}

html body.fw36 .fw36-menu-panel .menu-games button {
  --tab-icon-cutout: #252525;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  height: 57px;
  border: 0;
  border-radius: 11px;
  background: #252525;
  color: #b4b4bc;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

html body.fw36 .fw36-menu-panel .menu-games .menu-icon {
  width: 19px;
  height: 19px;
  color: inherit;
}

html body.fw36 .fw36-menu-panel .menu-games button:hover {
  background: #303030;
  color: #fff;
}

html body.fw36 .fw36-menu-panel .menu-promos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin: 0 0 20px;
}

html body.fw36 .fw36-menu-panel .menu-promos button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  height: 65px;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: #26222e;
  color: #d6ccff;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

html body.fw36 .fw36-menu-panel .menu-promos .menu-icon {
  width: 18px;
  height: 18px;
  color: #a18bff;
}

html body.fw36 .fw36-menu-panel .menu-promos button:hover {
  background: #30283d;
}

html body.fw36 .fw36-menu-panel .menu-label {
  display: block;
  margin: 0 0 8px 10px;
  color: #797980;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html body.fw36 .fw36-menu-panel .menu-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px 4px;
  margin-bottom: 16px;
}

html body.fw36 .fw36-menu-panel .menu-services .menu-row {
  gap: 9px;
  min-height: 38px;
  font-size: 12px;
}

html body.fw36 .fw36-menu-panel .menu-support {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 0;
  border-radius: 13px;
  background: #262626;
  color: #ededf2;
  text-align: left;
  cursor: pointer;
}

html body.fw36 .fw36-menu-panel .menu-support .menu-icon {
  width: 23px;
  height: 23px;
  color: #b6a6ff;
}

html body.fw36 .fw36-menu-panel .menu-support strong {
  display: block;
  font-size: 13px;
}

html body.fw36 .fw36-menu-panel .menu-support small {
  display: block;
  margin-top: 3px;
  color: #96969d;
  font-size: 10px;
}

html body.fw36 .fw36-menu-panel .menu-hours {
  margin-left: auto;
  padding: 4px 6px;
  border-radius: 6px;
  background: #333;
  color: #bdbdc5;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

html body.fw36 .fw36-menu-panel .menu-support:hover {
  background: #303030;
}

html body.fw36 .fw36-menu-panel .menu-language {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  margin-bottom: 8px;
  padding: 9px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #a0a0a8;
  font-size: 12px;
  cursor: pointer;
}

html body.fw36 .fw36-menu-panel .menu-language > span:last-child {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #e2e2e7;
  font-weight: 700;
}

html body.fw36 .fw36-menu-panel .menu-language:hover {
  background: #242424;
}

/* ───────────── Экран выбора языка в меню ───────────── */

html body.fw36 .fw36-menu-panel .menu-language-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 24px;
}

html body.fw36 .fw36-menu-panel .menu-language-heading h2 {
  margin: 0;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.4px;
}

html body.fw36 .fw36-menu-panel .menu-back {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: #292929;
  color: #b7b7bd;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

html body.fw36 .fw36-menu-panel .menu-back:hover {
  background: #343434;
  color: #fff;
}

html body.fw36 .fw36-menu-panel .menu-language-choice {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-bottom: 8px;
  padding: 15px 14px;
  border: 0;
  border-radius: 12px;
  background: #252525;
  color: #d6d6dc;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

html body.fw36 .fw36-menu-panel .menu-language-choice strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
}

html body.fw36 .fw36-menu-panel .menu-language-choice .language-flag {
  width: 30px;
  height: 20px;
  border-radius: 4px;
}

html body.fw36 .fw36-menu-panel .menu-language-choice:hover {
  background: #323036;
}

html body.fw36 .fw36-menu-panel .menu-language-choice[aria-checked="true"] {
  background: #30283f;
  color: #e0d6ff;
}

html body.fw36 .fw36-menu-panel .menu-language-check {
  margin-left: auto;
  color: #b5a2ff;
  font-size: 17px;
}

/*
 * Переводы длиннее русского оригинала: разрешаем перенос внутри плиток и строк,
 * иначе подписи обрезаются или ломают сетку меню.
 */
html body.fw36 .fw36-menu-panel .menu-games button {
  height: auto;
  min-height: 57px;
  overflow-wrap: break-word;
}

html body.fw36 .fw36-menu-panel .menu-promos button {
  height: auto;
  min-height: 65px;
  overflow-wrap: break-word;
}

html body.fw36 .fw36-menu-panel .menu-services .menu-row > span:not(.menu-chevron) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

html body.fw36 .fw36-menu-panel .menu-socials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin: 0 0 13px;
}

html body.fw36 .fw36-menu-panel .menu-socials button,
html body.fw36 .fw36-menu-panel .menu-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  border: 0;
  border-radius: 10px;
  background: #262626;
  color: #b9b9c1;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

html body.fw36 .fw36-menu-panel .menu-social-icon {
  display: block;
  flex: none;
  width: 16px;
  height: 16px;
  fill: currentColor;
}

html body.fw36 .fw36-menu-panel .menu-socials button:hover,
html body.fw36 .fw36-menu-panel .menu-socials a:hover {
  background: #333;
  color: #fff;
}

html body.fw36 .fw36-menu-panel .menu-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 4px;
  color: #73737a;
  font-size: 10px;
}

html body.fw36 .fw36-menu-panel .menu-foot a {
  color: #94949c;
  text-decoration: none;
}

html body.fw36 .fw36-menu-panel .menu-foot a:hover {
  color: #ddd;
}

html body.fw36 .fw36-menu-panel .menu-logout {
  width: 100%;
  margin-top: 14px;
  padding: 11px 10px;
  border: 0;
  border-radius: 10px;
  background: #242424;
  color: #e3918f;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

html body.fw36 .fw36-menu-panel .menu-logout:hover {
  background: #2e2626;
  color: #f0a9a7;
}

@media (max-width: 359px) {
  html body.fw36 .fw36-menu-panel .menu-head,
  html body.fw36 .fw36-menu-panel .menu-content {
    padding-left: 16px;
    padding-right: 16px;
  }

  html body.fw36 .fw36-menu-panel .menu-services .menu-row {
    gap: 7px;
    padding-left: 8px;
    padding-right: 8px;
    font-size: 11px;
  }

  html body.fw36 .fw36-menu-panel .menu-promos button {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body.fw36 .fw36-menu-panel {
    animation: none;
  }
}

/* Скролл страницы: шампанский Dune (#FED7A5) заменён на фиолетовый Forma. */
html.fw36,
html.fw36 body.fw36,
html body.fw36 * {
  scrollbar-color: rgba(107, 78, 255, 0.72) transparent;
}
html.fw36::-webkit-scrollbar-thumb,
html.fw36 body.fw36::-webkit-scrollbar-thumb,
html body.fw36 *::-webkit-scrollbar-thumb {
  background: rgba(107, 78, 255, 0.72);
}
html.fw36::-webkit-scrollbar-thumb:hover,
html.fw36 body.fw36::-webkit-scrollbar-thumb:hover,
html body.fw36 *::-webkit-scrollbar-thumb:hover {
  background: #8170ff;
}

/* Dune leftover: шапочный баннер подтверждения почты на FORMA не нужен. */
html.fw36 #emailVerifyBanner,
html.fw36 .email-verify-banner,
html.fw36.email-verify-banner-visible #emailVerifyBanner {
  display: none !important;
}
html.fw36.email-verify-banner-visible {
  --email-banner-offset: 0px;
}

/* FORMA: белая карточка «Мои счета» из макета, не dune-sheet */
html body.fw36 #headerBalanceSheetBackdrop,
html body.fw36 .header-balance-sheet-backdrop {
  display: none !important;
}
html body.fw36 #headerBalanceDropdown .header-balance-sheet-top,
html body.fw36 #headerBalanceDropdown .header-balance-dropdown-title {
  display: none !important;
}
html body.fw36 #headerBalanceDropdown.hidden,
html body.fw36 #headerBalanceDropdown.header-balance-dropdown.hidden,
html body.fw36 #headerBalanceDropdown.fw-wallet-dropdown.hidden {
  display: none !important;
}
html body.fw36 #headerBalanceDropdown,
html body.fw36 #headerBalanceDropdown.fw-wallet-dropdown,
html body.fw36 #headerBalanceDropdown.header-balance-dropdown {
  box-sizing: border-box;
  width: min(350px, calc(100vw - 24px)) !important;
  max-width: calc(100vw - 24px);
  padding: 20px !important;
  background: #fff !important;
  color: #292333 !important;
  border: 0 !important;
  border-radius: 18px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25) !important;
  overflow: hidden;
  z-index: 1260;
}
html body.fw36 #headerBalanceDropdown .header-balance-dropdown-scroll {
  padding: 0 !important;
  background: transparent !important;
  max-height: none !important;
  overflow: visible !important;
}
html body.fw36 #headerBalanceDropdown .header-balance-dropdown-list,
html body.fw36 #headerBalanceDropdown .header-balance-dropdown-loading,
html body.fw36 #headerBalanceDropdown .header-balance-dropdown-error,
html body.fw36 #headerBalanceDropdown .header-balance-dropdown-empty {
  background: transparent !important;
  color: #82778e;
  font-size: 13px;
  line-height: 1.5;
}
html body.fw36 .fw-wallet-dropdown-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
html body.fw36 .fw-wallet-dropdown-heading strong {
  font-size: 17px;
  font-weight: 700;
  color: #292333;
  letter-spacing: -0.3px;
}
html body.fw36 .fw-wallet-dropdown-cur {
  font-size: 11px;
  font-weight: 650;
  color: #7759bd;
  background: #f0eafb;
  padding: 5px 8px;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}
html body.fw36 .fw-wallet-dropdown-cur:hover {
  background: #e9e1f8;
}
html body.fw36 .fw-wallet-balances {
  display: grid;
  gap: 13px;
}
html body.fw36 .fw-wallet-balances > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}
html body.fw36 .fw-wallet-balances > div > span {
  color: #82778e;
  font-size: 12px;
}
html body.fw36 .fw-wallet-balances strong {
  font-size: 16px;
  line-height: 1.5;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  color: #292333;
}
html body.fw36 .fw-wallet-balances > div:nth-child(2) strong,
html body.fw36 .fw-wallet-balances strong small {
  color: #7251d8;
}
html body.fw36 .fw-wallet-balances strong small {
  font-size: 11px;
  font-weight: 650;
}
html body.fw36 .fw-wallet-dropdown-note {
  margin: 16px 0;
  font-size: 12px;
  line-height: 1.6;
  color: #82778e;
}
html body.fw36 .fw-wallet-dropdown-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 42px;
  padding: 11px 13px;
  border: 0;
  border-radius: 10px;
  background: #f1edf9;
  color: #6b4bd0;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
html body.fw36 .fw-wallet-dropdown-all:hover {
  background: #e9e1f8;
  color: #5837bd;
}
html body.fw36 .fw-wallet-dropdown-all span {
  font-size: 18px;
  line-height: 1;
  font-weight: 500;
}
@media (max-width: 1023px) {
  html body.fw36 #headerBalanceDropdown.header-balance-dropdown:not(.hidden) {
    left: auto !important;
    right: 12px !important;
    bottom: auto !important;
    width: min(350px, calc(100vw - 24px)) !important;
    max-width: calc(100vw - 24px) !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 20px !important;
    display: block !important;
    flex-direction: unset !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25) !important;
    border: 0 !important;
  }
}
