/*
 * tip26.gg: casino game lists (category, provider and favourites pages) laid out like bet24.gg (ticket #1031, 2026-11-07).
 * Rules taken from bet24's own stylesheet (same bundle family): three square tiles per row on phones, no game name or
 * provider caption under the tiles, the list on a grey panel. The home page rows (.casinoGamesRowContainer) are not
 * touched. Loaded by welcome.blade.php after the bundle's CSS.
 */
.casinoGamesContainer .gameTitle,
.casinoGamesContainer .providerName,
.providerContainer .gameTitle,
.providerContainer .providerName { display: none; }

.casinoGamesContainer .casinoGamesHeader .casinoCountBadge,
.providerContainer .casinoCountBadge { display: none !important; }

.casinoCategoryContainer { padding-top: 0 !important; padding-bottom: 0 !important; }
.casinoGamesContainer {
  background-color: var(--lobbyZebraOddDark);
  max-width: 80rem;
  margin: 1rem auto;
  border-radius: .5rem !important;
  padding: 1rem !important;
}
.casinoGamesContainer.providerContainer { margin-top: -1.5rem; margin-bottom: -1.5rem; }
.casinoCategoryContainer .casinoGamesContainer .casinoGamesHeader,
.providerContainer .casinoGamesHeader { padding-bottom: .25rem !important; }
.casinoCategoryContainer .casinoGamesContainer .casinoGamesHeader + div,
.casinoGamesContainer.providerContainer .casinoGamesHeader + div,
.providerContainer > div .casinoGamesHeader + div { margin-bottom: .5rem; }
.casinoGamesContainer .casinoGamesHeader h1,
.providerContainer h1 { font-size: 22px !important; font-weight: 600 !important; }
.casinoGamesContainer .desktopGrid,
.providerContainer .desktopGrid { margin-bottom: 0; }

@media (max-width: 639px) {
  .casinoGamesContainer .casinoGamesHeader h1,
  .providerContainer h1 { font-size: 18px !important; }
  .casinoGamesContainer { border-radius: 0 !important; }
  .providerContainer { border-radius: 0 !important; margin-top: 0 !important; padding: .5rem !important; }
  .providerContainer .mobileGrid { flex-basis: 33%; margin-bottom: 0 !important; }
  .casinoGamesContainer.providerContainer { margin: -1.25rem -1.5rem !important; padding: .25rem 1rem !important; }
  .casinoCategoryContainer { border-radius: 0 !important; padding: 0 !important; }
  .casinoCategoryContainer .casinoGamesContainer { margin-top: 0; margin-bottom: 0; padding: .5rem .5rem .75rem !important; }
  .casinoCategoryContainer .casinoGamesContainer .casinoGamesHeader,
  .casinoGamesContainer.providerContainer .casinoGamesHeader { padding-bottom: .5rem !important; }
  .casinoCategoryContainer .casinoGamesContainer .casinoGamesHeader > div:first-child,
  .providerContainer .casinoGamesHeader > div:first-child { align-self: flex-start; }
  .casinoCategoryContainer .casinoGamesContainer .casinoGamesHeader > .filtersContainer,
  .providerContainer .casinoGamesHeader > .filtersContainer { flex-direction: row; justify-content: space-between; margin-top: 0 !important; }
  .casinoCategoryContainer .casinoGamesContainer .casinoGamesHeader > .filtersContainer > div:not(.searchModal) { width: calc(50% - .25rem); margin-top: .5rem; }
  .casinoCategoryContainer .casinoGamesContainer .casinoGamesHeader > .filtersContainer > div:not(.searchModal) button { min-width: 0 !important; }
  .casinoCategoryContainer .casinoGamesContainer .mobileGrid { flex-basis: 33%; margin-bottom: 0 !important; }
}

/*
 * Game page (ticket #1048, 2026-11-14): the bundle setting game_page_layout was switched from layout_1 to layout_2
 * (in the 16 chunks that carry the skin layout settings) so a game opens full width on phones like x2bet. On phones the
 * game artwork is not shown behind the game; desktop keeps it.
 */
@media (max-width: 767px) {
  #gameContainer { background-image: none !important; }
}
