/* Browser-game mosaic: fill compact columns TOP -> BOTTOM in source order.
   Desktop: one featured 2x2 card, then two columns of 2 compact cards.
   Mobile: one featured 3-row card, then one column of 3 compact cards.
   Items are never reordered in DOM: user/admin ordering is preserved.
   Explicit placement is stable for incomplete last groups (e.g., 6, 7, 8 titles).
   CSS only: no changes to other cards, desktop/mobile responsive behavior, or data. */
@media (min-width: 651px) {
  body [data-homepage-sections] .pl-home-mosaic--desktop {
    grid-auto-flow: row!important;
  }
  body [data-homepage-sections] .pl-home-mosaic--desktop > .pl-home-arcade-card:first-child {
    grid-column: 1 / span 2!important;
    grid-row: 1 / span 2!important;
  }
  body [data-homepage-sections] .pl-home-mosaic--desktop > .pl-home-arcade-card:nth-child(2) {
    grid-column: 3!important;
    grid-row: 1!important;
  }
  body [data-homepage-sections] .pl-home-mosaic--desktop > .pl-home-arcade-card:nth-child(3) {
    grid-column: 3!important;
    grid-row: 2!important;
  }
  body [data-homepage-sections] .pl-home-mosaic--desktop > .pl-home-arcade-card:nth-child(4) {
    grid-column: 4!important;
    grid-row: 1!important;
  }
  body [data-homepage-sections] .pl-home-mosaic--desktop > .pl-home-arcade-card:nth-child(5) {
    grid-column: 4!important;
    grid-row: 2!important;
  }
}
@media (max-width: 650px) {
  body [data-homepage-sections] .pl-home-mosaic--mobile > .pl-home-arcade-card:first-child {
    grid-column: 1!important;
    grid-row: 1 / span 3!important;
  }
  body [data-homepage-sections] .pl-home-mosaic--mobile > .pl-home-arcade-card:only-child {
    grid-column: 1 / -1!important;
  }
  body [data-homepage-sections] .pl-home-mosaic--mobile > .pl-home-arcade-card:nth-child(2) {
    grid-column: 2!important;
    grid-row: 1!important;
  }
  body [data-homepage-sections] .pl-home-mosaic--mobile > .pl-home-arcade-card:nth-child(3) {
    grid-column: 2!important;
    grid-row: 2!important;
  }
  body [data-homepage-sections] .pl-home-mosaic--mobile > .pl-home-arcade-card:nth-child(4) {
    grid-column: 2!important;
    grid-row: 3!important;
  }
}
