/* 2026-11-07: remove top player rounding and poster text across the public portal. */

/* The trailer/player surface starts at a square top edge on desktop and mobile.
   Preserve the lower corners of its surrounding information card. */
body .pl-detail-main .pl-game-hero,
body .pl-game-hero{border-top-left-radius:0!important;border-top-right-radius:0!important}
body .pl-game-hero>.pl-game-embed,
body .pl-game-hero>.pl-game-cover,
body .pl-game-hero>.pl-primary-video-slot,
body .pl-game-hero>.pl-direct-trailer,
body .pl-game-hero>.pl-direct-trailer iframe,
body .pl-game-hero>.pl-direct-trailer video,
body .pl-game-hero>.pl-game-embed iframe,
body .pl-game-hero>.pl-game-embed video,
body .pl-game-hero>.pl-direct-trailer .pl-game-video,
body .pl-game-hero>.pl-game-embed .pl-game-video{
  border-top-left-radius:0!important;border-top-right-radius:0!important
}
body .pl-primary-return-trailer{display:none!important}

/* Discovery cards on home, saved games, and other rails: image above, copy below.
   No absolute title/badge/gradient overlay, including on hover and focus. */
body .pl-discovery-card{
  display:flex!important;flex-direction:column!important;
  align-items:stretch!important;overflow:hidden!important
}
body .pl-discovery-card>.pl-discovery-art{
  display:block!important;position:static!important;inset:auto!important;
  flex:0 0 auto!important;width:100%!important;max-width:100%!important;
  height:auto!important;aspect-ratio:16/9!important;object-fit:cover!important;
  transform:none!important
}
body .pl-discovery-card>.pl-discovery-meta,
body .pl-card-rail .pl-discovery-card>.pl-discovery-meta,
body [data-homepage-sections] .pl-home-mosaic .pl-discovery-meta,
body [data-homepage-sections] .pl-home-magazine-grid>.pl-magazine-card .pl-discovery-meta{
  position:static!important;inset:auto!important;opacity:1!important;
  transform:none!important;order:2!important;z-index:auto!important;
  background:transparent!important;background-image:none!important;
  margin:0!important;padding:9px 11px 11px!important;flex:0 0 auto!important;
  text-align:right!important
}
body .pl-discovery-card .pl-card-chip{
  display:inline-block!important;position:static!important;inset:auto!important;
  margin:0 0 5px!important;padding:2px 6px!important;
  font-size:10px!important;background:#30253b!important;color:#d6c0ff!important;
  box-shadow:none!important
}
body .pl-discovery-card .pl-discovery-meta strong{
  display:block!important;white-space:normal!important;overflow:hidden!important;
  text-overflow:ellipsis!important;line-height:1.55!important;
  font-size:12px!important;max-width:100%!important
}
body .pl-discovery-card .pl-discovery-meta small{
  overflow:hidden!important;max-width:100%!important;line-height:1.65!important
}
body .pl-card-rail .pl-discovery-card{
  aspect-ratio:auto!important;min-height:0!important;height:auto!important
}
body .pl-saved-rail .pl-discovery-card{height:auto!important}

/* Fixed-aspect homepage PC cards retain a generous portrait image area while
   reserving an independent footer for the title/badge. */
body [data-homepage-sections] [data-pl-home-section="download"] .pl-home-ordered-rail>.pl-discovery-card{
  display:flex!important;height:100%!important;min-height:0!important;aspect-ratio:auto!important
}
body [data-homepage-sections] [data-pl-home-section="download"] .pl-home-ordered-rail>.pl-discovery-card>.pl-discovery-art{
  position:relative!important;inset:auto!important;aspect-ratio:auto!important;
  height:calc(100% - 68px)!important;flex:1 1 auto!important;min-height:0!important;
  object-fit:cover!important
}

/* Browser mosaic retains its one-large/four-small tile layout, but titles and
   category labels live in a readable footer, not on top of the screenshots. */
body [data-homepage-sections] .pl-home-mosaic .pl-discovery-card{
  display:flex!important;flex-direction:column!important;height:100%!important;
  aspect-ratio:auto!important;min-height:0!important
}
body [data-homepage-sections] .pl-home-mosaic .pl-discovery-card>.pl-discovery-art{
  position:relative!important;inset:auto!important;width:100%!important;
  height:calc(100% - 46px)!important;flex:1 1 auto!important;min-height:0!important;
  aspect-ratio:auto!important
}
body [data-homepage-sections] .pl-home-mosaic .pl-discovery-card>.pl-discovery-meta{
  flex:0 0 auto!important;min-height:0!important;padding:4px 7px 6px!important
}
body [data-homepage-sections] .pl-home-mosaic .pl-card-chip{font-size:9px!important;padding:0 4px!important;margin-bottom:2px!important}
body [data-homepage-sections] .pl-home-mosaic .pl-discovery-meta strong{
  font-size:clamp(10px,1vw,12px)!important;
  white-space:nowrap!important;text-overflow:ellipsis!important
}
body [data-homepage-sections] .pl-home-mosaic .pl-discovery-meta small{display:none!important}

/* Homepage magazine is image-first but never writes its title on the image. */
body [data-homepage-sections] .pl-home-magazine-grid>.pl-magazine-card{
  display:flex!important;aspect-ratio:auto!important;height:auto!important;min-height:0!important
}
body [data-homepage-sections] .pl-home-magazine-grid>.pl-magazine-card>.pl-discovery-art{
  position:static!important;inset:auto!important;height:auto!important;
  aspect-ratio:2.45/1!important
}
body [data-homepage-sections] .pl-home-magazine-grid>.pl-magazine-card>.pl-discovery-meta{
  height:65px!important;max-height:65px!important;overflow:hidden!important;
  padding:4px 9px!important;flex:0 0 65px!important
}
body [data-homepage-sections] .pl-home-magazine-grid>.pl-magazine-card>.pl-discovery-meta strong{
  display:block!important;white-space:nowrap!important;text-overflow:ellipsis!important;
  font-size:12px!important
}
body [data-homepage-sections] .pl-home-magazine-grid>.pl-magazine-card>.pl-discovery-meta small{display:none!important}

/* "All" magazine page: larger landscape cards on desktop. Single card
   per horizontal swipe on phones, with title/summary/stats below the image. */
body .community-page [data-magazine-list].community-grid{
  display:grid!important;grid-template-columns:repeat(auto-fill,minmax(min(100%,365px),1fr))!important;
  gap:19px!important;align-items:stretch!important
}
body .community-page [data-magazine-list]>.playno-magazine-item{
  min-width:0!important;width:100%!important;max-width:none!important;
  scroll-snap-align:start!important
}
body .community-page [data-magazine-list] .playno-magazine-card{
  display:flex!important;flex-direction:column!important;min-width:0!important;
  height:100%!important;overflow:hidden!important
}
body .community-page [data-magazine-list] .playno-magazine-cover{
  flex:0 0 auto!important;width:100%!important;aspect-ratio:16/9!important;
  overflow:hidden!important
}
body .community-page [data-magazine-list] .pl-magazine-list-title{
  position:static!important;inset:auto!important;order:2!important;
  background:transparent!important;transform:none!important;
  margin:0!important;padding:12px 5px 4px!important
}
@media(max-width:650px){
  body .community-page [data-magazine-list].community-grid{
    display:grid!important;grid-auto-flow:column!important;
    grid-template-columns:none!important;grid-template-rows:minmax(0,1fr)!important;
    grid-auto-columns:100%!important;gap:12px!important;
    overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x mandatory!important;
    overscroll-behavior-x:contain!important;scroll-padding-inline:0!important;
    scrollbar-width:none!important;padding:0 0 8px!important
  }
  body .community-page [data-magazine-list].community-grid::-webkit-scrollbar{display:none!important}
  body .community-page [data-magazine-list]>.playno-magazine-item{
    width:100%!important;min-width:100%!important;scroll-snap-align:start!important;
    scroll-snap-stop:always!important
  }
  body [data-homepage-sections] [data-pl-home-section="magazine"] .pl-home-magazine-grid{
    display:grid!important;grid-auto-flow:column!important;grid-auto-columns:100%!important;
    grid-template-columns:none!important;grid-template-rows:minmax(0,1fr)!important;
    overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x mandatory!important
  }
  body [data-homepage-sections] [data-pl-home-section="magazine"] .pl-home-magazine-grid>.pl-magazine-card{
    width:100%!important;min-width:100%!important;aspect-ratio:auto!important;max-width:100%!important
  }
}

/* Other editorial/media card labels are normal-flow copy, never a
   caption painted over a cover. */
body .playno-magazine-cover:after,body .playno-video-thumb:after,
body .pl-discovery-card:before,body .pl-discovery-card:after{background-image:none!important}
body .playno-magazine-cover>h2,body .playno-video-thumb>strong{
  position:static!important;inset:auto!important;background:none!important;
  text-shadow:none!important;padding:8px 5px!important
}
body .playno-video-thumb:has(>strong){height:auto!important;overflow:visible!important}
body .playno-video-thumb:has(>strong)>img{aspect-ratio:16/9!important;height:auto!important}
body .card-3d .img-area{display:flex!important;flex-direction:column!important;align-items:stretch!important}
body .card-3d .card-date,body .card-3d .card-status{
  position:static!important;inset:auto!important;margin:5px 0!important;
  background:none!important;transform:none!important;order:2!important
}
body .hw-poster-tag{display:none!important}

/* Article recommendations: do not render titles/CTA on the thumbnail. */
body .playno-related-card.playno-related-article{
  display:flex!important;flex-direction:column!important;justify-content:flex-start!important
}
body .playno-related-article .playno-related-art{
  flex:0 0 auto!important;min-height:0!important;height:auto!important;
  width:100%!important;aspect-ratio:16/9!important
}
body .playno-related-article .playno-related-article-overlay{
  position:static!important;inset:auto!important;z-index:auto!important;
  background:transparent!important;background-image:none!important;
  text-shadow:none!important;transform:none!important;
  padding:11px 13px 14px!important;gap:5px!important;flex:0 0 auto!important
}
body .playno-related-article .playno-related-read{
  display:inline-flex!important;opacity:1!important;transform:none!important
}
/* Video duration, a textual value, belongs with the card information. */
body .pl-aside-thumb .pl-aside-duration{display:none!important}
body .pl-aside-duration-inline{
  display:block;font-size:11px;line-height:1.4;color:#bcb3cb;
  font-variant-numeric:tabular-nums;direction:ltr;text-align:right
}
body .community-page [data-magazine-list] .playno-magazine-card{
  justify-content:flex-start!important;align-items:stretch!important;gap:0!important
}
