/* Admin-controlled category and play-page layouts. Loaded after the legacy bundle. */
body.page-category.category-density-compact{--mobile-game-gap:7px}
body.page-category.category-density-compact .category-popular-games,
body.page-category.category-density-compact .content>#categoryGameMosaic,
body.page-category.category-density-compact .category-related-games{gap:10px!important}
body.page-category.category-layout-minimal .category-popular-games,
body.page-category.category-layout-minimal .content>#categoryGameMosaic{filter:none!important}
body.page-category.category-layout-minimal .card-tile>.card{box-shadow:0 6px 14px rgba(5,59,79,.12)!important}

@media(min-width:1100px){
 body.page-category.category-popular-small .category-popular-games>.card-tile.size-kucuk,
 body.page-category.category-layout-uniform .category-popular-games>.card-tile{
  grid-column:var(--category-popular-column)/span 1!important;
  grid-row:var(--category-popular-row)/span 1!important;
  width:96px!important;height:96px!important;min-width:96px!important;min-height:96px!important
 }
 body.page-category.category-popular-small .category-popular-games>.card-tile.size-kucuk>.card,
 body.page-category.category-popular-small .category-popular-games>.card-tile.size-kucuk img,
 body.page-category.category-layout-uniform .category-popular-games>.card-tile>.card,
 body.page-category.category-layout-uniform .category-popular-games>.card-tile img{width:96px!important;height:96px!important}
}

@media(min-width:1348px){
 body.page-game .stage-side{height:auto!important;min-height:0!important;align-self:start!important}
 body.page-game .stage-side .game-category-rank-tile.layout-featured-desktop{grid-column:span 2!important;grid-row:span 2!important;width:206px!important;height:206px!important;min-width:206px!important;min-height:206px!important}
 body.page-game .stage-side .game-category-rank-tile.layout-featured-desktop>.card,
 body.page-game .stage-side .game-category-rank-tile.layout-featured-desktop>.card>img{width:206px!important;height:206px!important}
 html body.page-game .stage-side .game-category-rank-tile.layout-featured-desktop>.card-title-overlay{left:8px!important;right:8px!important;bottom:6px!important;width:auto!important;max-width:none!important;font-size:12px!important;text-align:center!important;transform:none!important}
 body.page-game.game-stage-below .play-stage{grid-template-columns:minmax(0,1fr)!important}
 body.page-game.game-stage-below .stage-main{grid-column:1!important;width:100%!important;max-width:none!important}
 body.page-game.game-stage-below .stage-side{grid-column:1!important;display:grid!important;grid-template-columns:repeat(12,96px)!important;grid-auto-rows:96px!important;box-sizing:border-box!important;width:100%!important;max-width:100%!important;height:auto!important;margin:14px 0 0!important;padding:8px!important;overflow-x:auto!important;overflow-y:hidden!important}
 body.page-game .play-stage.no-layout-side{grid-template-columns:minmax(0,1fr)!important}
 body.page-game .play-stage.no-layout-side .stage-main{width:100%!important;max-width:none!important}
}

@media(min-width:801px) and (max-width:1347px){
 body.page-game .stage-side .game-category-rank-tile.layout-featured-tablet,
 body.page-game .stage-side .game-category-rank-tile.layout-featured-tablet>.card,
 body.page-game .stage-side .game-category-rank-tile.layout-featured-tablet>.card>img{flex:0 0 178px!important;width:178px!important;height:178px!important;min-width:178px!important;min-height:178px!important}
 body.page-game .game-discovery-flow{width:max-content!important;max-width:100%!important;margin-right:auto!important;margin-left:auto!important}
}

@media(max-width:800px){
 body.page-category .category-popular-games,
 body.page-category .category-related-games,
 body.page-category .category-spotlight-games,
 body.page-category .content>#categoryGameMosaic{grid-template-columns:repeat(var(--mobile-game-columns),minmax(0,1fr))!important}
 body.page-game .stage-side .game-category-rank-tile.layout-featured-mobile{grid-column:span 2!important;grid-row:span 2!important;width:100%!important;height:100%!important}
 body.page-game .stage-side .game-category-rank-tile.layout-featured-mobile>.card,
 body.page-game .stage-side .game-category-rank-tile.layout-featured-mobile>.card>img{width:100%!important;height:100%!important}
 body.page-game .game-discovery-flow{width:100%!important;margin-right:0!important;margin-left:0!important}
}
