/* Rooli static-build fixes (движок rnc/default-layout — тот же swiper что jet4bet).
   Движок вырезан билдером -> swiper.js мёртв: swiper-slide берёт height в % и
   резолвит против всей страницы (h=2606 вместо ~340) -> 4 game-slider'а раздуваются,
   уезжают за футер, середина визуально пустая. Фиксы ниже возвращают геометрию:
   height:auto гасит проценты, .swiper -> горизонтальный скролл. */

/* 1) Гасим раздутые проценты высоты у всех захваченных swiper-узлов. */
html body .home__banner-section .swiper,
html body .home__banner-section .swiper-wrapper,
html body .home__banner-section .swiper-slide,
html body .home-game-slider .swiper,
html body .home-game-slider .swiper-wrapper,
html body .home-game-slider .swiper-slide,
html body .collections-slider .swiper,
html body .collections-slider .swiper-wrapper,
html body .collections-slider .swiper-slide,
html body .promotions-widget .swiper,
html body .promotions-widget .swiper-wrapper,
html body .promotions-widget .swiper-slide {
  height: auto !important;
  min-height: 0 !important;
}

/* 2) Ленты игр -> горизонтальный скролл (как на живом офсайте). */
html body .home-game-slider .swiper,
html body .collections-slider .swiper,
html body .promotions-widget .swiper {
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
}

html body .home-game-slider .swiper::-webkit-scrollbar,
html body .collections-slider .swiper::-webkit-scrollbar,
html body .promotions-widget .swiper::-webkit-scrollbar {
  display: none;
}

/* 3) Снимаем JS-transform, раскладываем слайды в ряд по их ширине. */
html body .home-game-slider .swiper-wrapper,
html body .collections-slider .swiper-wrapper,
html body .promotions-widget .swiper-wrapper {
  display: flex !important;
  width: max-content !important;
  transform: none !important;
  transition: none !important;
}

html body .home-game-slider .swiper-slide,
html body .collections-slider .swiper-slide,
html body .promotions-widget .swiper-slide {
  display: block !important;
  flex-shrink: 0 !important;
}

/* 4) Pay N Play баннер — слайд на всю ширину, без горизонтального разъезда. */
html body .home__banner-section .swiper {
  overflow: hidden !important;
  touch-action: pan-y;
}
html body .home__banner-section .swiper-wrapper {
  display: flex !important;
  width: 100% !important;
  transform: none !important;
  transition: none !important;
}
html body .home__banner-section .swiper-slide {
  flex: 0 0 100% !important;
  width: 100% !important;
}

/* 5) Устаревший cookie-notice из снапа на статике не нужен. */
html body .notification-cookies-policy,
html body .rnc__notification-container--top-full,
html body .rnc__notification-container--bottom-full {
  display: none !important;
}

/* 6) Гео-кнопка в футере: глобус-иконку -> флаг 🇦🇺 + название языка/страны. */
html body .footer__language-select .locale-select__btn .locale-select__language-icon {
  display: none !important;
}
html body .footer__language-select .locale-select__btn .sidebar-item-btn__icon-and-text-container {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}
html body .footer__language-select .locale-select__btn .sidebar-item-btn__icon-and-text-container::before {
  content: "🇦🇺 English · Australia";
  display: inline-block;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", inherit, sans-serif;
  font-size: 12.5px !important;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  flex: 0 0 auto;
}

/* 7) Футер-аккордеоны: движок сворачивал .collapse через JS (height:0). JS вырезан ->
   раскрываем принудительно, чтобы весь текст ссылок был виден без клика. */
html body .footer-menu__collapse.collapse,
html body .footer-menu .collapse {
  height: auto !important;
  opacity: 1 !important;
  overflow: visible !important;
  transition: none !important;
}

/* a11y/bp fixes */
:root { --p-emerald-300: #0b7e58 !important; }
html body .footer-menu__link { color: #767678 !important; }
html body .amount-elem__hint, html body .amount-elem__hint span { color: #767678 !important; }
html body .input__placeholder { color: #646b6f !important; }
html body button.amount-elem__item { color: #5d6367 !important; }
html body img.game-tile-image__image { aspect-ratio: 427/575; height: auto !important; }
html body img.pnp-banner__background { object-fit: cover; }
html body img[src*="img-game-tile-190-190"] { display: none !important; }
html body .winners-bar-animated__bg { object-fit: cover; }
html body p a.link { text-decoration: underline !important; }
@media (min-width:769px){html body{background:#fff !important}}

/* CLAUDE 2026-07-21 PageSpeed деск-A11y: жёсткая мобила — деск-вьюпорт не должен показывать
   скрытые мобильной вёрсткой PNP-плашки (белый текст на баннере, контраст 2.7).
   На мобиле эти элементы и так display:none — визуал мобилы не меняется. */
html body .pnp-banner__offer-title{display:none!important}
html body .pnp-banner__offer{display:none!important}
/* копирайт: rgba(15,15,20,.4)≈#9f9fa1 на белом = 2.64:1 → затемняем до ~5:1, тон сохранён */
html body .copyright__text{color:rgba(15,15,20,.62)!important}
