/**
 * Desktop lobby: clip carousels before Swiper JS runs so SSR rows
 * do not expand the page and then collapse (visible flicker).
 * Also lock text to system Arial so late Rubik/CM622 cannot FOUC labels.
 */

html body .slot-page-root--cm622,
html body .bgaming-page-root--cm622,
html body .slot-page-root--cm622 .providers-drawer-wrapper {
  font-family: Arial, Helvetica, sans-serif !important;
  --font-family: Arial, Helvetica, sans-serif !important;
}

/* Beat CM622 Rubik !important text rules without touching icon glyphs */
html body .slot-page-root--cm622 *:not([class^="bc-i-"]):not([class*=" bc-i-"]),
html body .bgaming-page-root--cm622 *:not([class^="bc-i-"]):not([class*=" bc-i-"]) {
  font-family: Arial, Helvetica, sans-serif !important;
}

.slot-page-root--cm622 .casino-container--desktop-lobby .carouselWrapper,
.slot-page-root--cm622 .carouselWrapper[data-lobby-carousel-el],
.bgaming-page-root--cm622 .casino-container--desktop-lobby .carouselWrapper,
.bgaming-page-root--cm622 .carouselWrapper[data-lobby-carousel-el] {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.slot-page-root--cm622 .carouselWrapper[data-lobby-carousel-el] .swiper,
.bgaming-page-root--cm622 .carouselWrapper[data-lobby-carousel-el] .swiper {
  width: 100%;
  overflow: hidden;
}

.slot-page-root--cm622 .carouselWrapper[data-lobby-carousel-el] .swiper-wrapper,
.bgaming-page-root--cm622 .carouselWrapper[data-lobby-carousel-el] .swiper-wrapper {
  display: flex;
  box-sizing: border-box;
}

.slot-page-root--cm622 .lobby-games-swiper .swiper-slide,
.bgaming-page-root--cm622 .lobby-games-swiper .swiper-slide {
  width: 168px;
  height: auto;
  flex-shrink: 0;
  box-sizing: border-box;
  margin-right: 16px;
}

.slot-page-root--cm622 .lobby-providers-swiper .swiper-slide,
.bgaming-page-root--cm622 .lobby-providers-swiper .swiper-slide {
  width: 140px;
  height: auto;
  flex-shrink: 0;
  box-sizing: border-box;
  margin-right: 16px;
}

.slot-page-root--cm622 .lobby-games-swiper .casinoGameItemContent,
.bgaming-page-root--cm622 .lobby-games-swiper .casinoGameItemContent {
  width: 100%;
}

.slot-page-root--cm622 .lobby-games-swiper .casinoGameItem,
.slot-page-root--cm622 .lobby-games-swiper .casinoGameItemImage,
.bgaming-page-root--cm622 .lobby-games-swiper .casinoGameItem,
.bgaming-page-root--cm622 .lobby-games-swiper .casinoGameItemImage {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
}

/* Category rail: no transform animation on first paint */
.slot-page-root--cm622 .casinoCategories .horizontal-scroll__inner:not([data-rail-ready="1"]),
.bgaming-page-root--cm622 .casinoCategories .horizontal-scroll__inner:not([data-rail-ready="1"]) {
  transition: none !important;
}

@media (max-width: 1100px) {
  .slot-page-root--cm622 .lobby-games-swiper .swiper-slide,
  .bgaming-page-root--cm622 .lobby-games-swiper .swiper-slide {
    width: 132px;
  }
}
