/* NVerse 9.5.8.407 — mobile card alignment, loaded after legacy CSS. */
@media (max-width: 700px) {
  /* Consistent two-column cards with no fixed minimum widths in grid layouts. */
  body.nverse-premium-public .nv406-grid,
  body.nverse-premium-public .nv835-discover .nv958-grid {
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    align-items:stretch!important;
    column-gap:clamp(9px,2.8vw,14px)!important;
    row-gap:clamp(13px,3.5vw,20px)!important;
    overflow:visible!important;
  }
  body.nverse-premium-public .nv406-grid > .game-card,
  body.nverse-premium-public .nv835-discover .nv958-grid > .nv405-card {
    display:flex!important;flex-direction:column!important;
    align-self:stretch!important;min-width:0!important;width:100%!important;
    max-width:100%!important;height:100%!important;margin:0!important;
    box-sizing:border-box!important;transform:none;
  }
  /* Cards with a single anchor must stretch both the cover and the body. */
  body.nverse-premium-public .nv406-grid > .game-card > a {
    display:flex!important;flex-direction:column!important;min-width:0!important;
    width:100%!important;height:100%!important;text-decoration:none;
  }
  body.nverse-premium-public .nv406-grid > .game-card .game-cover,
  body.nverse-premium-public .nv405-card .nv405-cover {
    width:100%!important;height:auto!important;min-height:0!important;
    aspect-ratio:3/4!important;flex:none!important;margin:0!important;
  }
  body.nverse-premium-public .nv406-grid > .game-card .game-info,
  body.nverse-premium-public .nv405-card .nv405-copy {
    display:flex!important;flex-direction:column!important;align-items:stretch!important;
    flex:1 1 auto!important;min-height:0!important;min-width:0!important;
    padding:10px!important;gap:7px!important;box-sizing:border-box!important;
  }
  body.nverse-premium-public .nv406-grid > .game-card .game-info h3,
  body.nverse-premium-public .nv405-card .nv405-copy :is(h3,.nv405-title) {
    display:-webkit-box!important;-webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;line-clamp:2!important;
    overflow:hidden!important;min-height:2.7em!important;max-height:2.7em!important;
    margin:0!important;line-height:1.35!important;
    font-size:clamp(.78rem,3.3vw,.94rem)!important;overflow-wrap:anywhere!important;
  }
  body.nverse-premium-public .nv406-grid > .game-card .nv-card-meta,
  body.nverse-premium-public .nv405-card .nv405-details {min-width:0!important;max-width:100%!important;overflow:hidden}
  body.nverse-premium-public .nv406-grid > .game-card .nv406-price,
  body.nverse-premium-public .nv405-card .nv405-platform {
    margin-top:auto!important;max-width:100%!important;
    box-sizing:border-box!important;white-space:normal!important;
  }
  body.nverse-premium-public .nv406-grid > .game-card .nv406-favorite {width:36px;height:36px;top:7px;left:7px}
  /* Homepage rails stay scrollable, but every card has the same width and height. */
  body.nverse-premium-public .nv-games-strip {align-items:stretch!important;grid-auto-rows:1fr}
  body.nverse-premium-public .nv-games-strip > .nv405-card,
  body.nverse-premium-public .nv-home-for-you .nv-games-strip > .nv405-card {
    min-width:0!important;width:100%!important;height:100%!important;
    align-self:stretch!important;margin:0!important;box-sizing:border-box!important;
  }
  body.nverse-premium-public .nv-home-for-you .nv-games-strip {grid-template-columns:repeat(4,minmax(148px,45vw))!important}
}
@media (max-width: 359px) {
  body.nverse-premium-public .nv406-grid,
  body.nverse-premium-public .nv835-discover .nv958-grid {column-gap:8px!important;row-gap:12px!important}
  body.nverse-premium-public .nv406-grid > .game-card .game-info,
  body.nverse-premium-public .nv405-card .nv405-copy {padding:8px!important}
}
