/* Separate public switches; preserve prior account data. */
html.pl-wallet-disabled body .profile-wallet-card,
html.pl-game-coins-disabled body #profile-wallet-activity,
html.pl-wallet-disabled body [data-profile-wallet-history]{display:none!important}
html.pl-wallet-disabled body .profile-overview{grid-template-columns:minmax(0,1fr)!important}
html.pl-wallet-disabled.pl-game-coins-disabled body .profile-overview{grid-template-columns:minmax(0,1fr)!important}
/* Desktop retains one big plus four small tiles; mobile has exactly four
   cards per horizontal snap page: one double tile plus three compact ones. */
body [data-homepage-sections] .pl-home-mosaic-track--mobile{display:none!important}
/* Keep each five-card desktop mosaic group on ONE horizontal row; grid here
   stacked the groups vertically whenever the recent-games shelf was absent. */
body [data-homepage-sections] .pl-home-mosaic-track--desktop{
 display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important
}
@media(max-width:650px){
 body [data-homepage-sections] .pl-home-mosaic-track--desktop{display:none!important}
 body [data-homepage-sections] .pl-home-mosaic-track--mobile{
  display:grid!important;
  grid-auto-flow:column!important;
  grid-auto-columns:minmax(90%,90%)!important;
  grid-template-rows:1fr!important;
  overflow-x:auto!important;
  scroll-snap-type:x mandatory!important;
  scroll-padding-inline:8px!important;
  gap:12px!important;
 }
 body [data-homepage-sections] .pl-home-mosaic--mobile{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  grid-template-rows:repeat(3,minmax(0,1fr))!important;
  gap:7px!important;
  aspect-ratio:1.65/1!important;
  scroll-snap-align:start!important;
 }
 body [data-homepage-sections] .pl-home-mosaic--mobile>.pl-home-arcade-card:first-child{
  grid-column:span 2!important;grid-row:span 3!important;
 }
 body [data-homepage-sections] .pl-home-mosaic--mobile>.pl-home-arcade-card:nth-child(n+2){
  grid-column:span 1!important;grid-row:span 1!important;
 }
}
