/* 2026-11-14: PC details tab consolidation; mobile PC shelf; article controls; PC publisher footer. */
/* Only the PC card title is left-aligned; its other fields remain right-aligned. */
body .pl-download-page .pl-download-card .pl-download-title,
body .pl-download-page .pl-download-card .pl-download-title a {
  text-align:left!important;
}
/* The game publisher and save are independent of the statistics strip. */
body .pl-download-page .pl-download-card>.pl-social [data-pl-action="save"]{
  display:none!important;
}
body .pl-download-page .pl-download-card>.pl-download-owner-row{
  direction:rtl!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  min-width:0!important;
  width:100%!important;
  padding:5px 3px 2px!important;
  margin-top:auto!important;
  background:transparent!important;
  border:0!important;
}
body .pl-download-page .pl-download-card .pl-download-owner{
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  min-width:0!important;
  flex:1 1 auto!important;
  color:#e8e1f5!important;
  text-decoration:none!important;
  font-size:11px!important;
  font-weight:650!important;
}
body .pl-download-page .pl-download-card .pl-download-owner img{
  width:27px!important;height:27px!important;min-width:27px!important;
  object-fit:cover!important;border-radius:50%!important;
}
body .pl-download-page .pl-download-card .pl-download-owner-name{
  display:block!important;min-width:0!important;white-space:nowrap!important;
  overflow:hidden!important;text-overflow:ellipsis!important;
}
body .pl-download-page .pl-download-card .pl-download-save{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 34px!important;width:34px!important;height:34px!important;
  padding:0!important;border:0!important;border-radius:0!important;
  background:transparent!important;background-color:transparent!important;
  box-shadow:none!important;color:#d9cef2!important;cursor:pointer!important;
}
body .pl-download-page .pl-download-card .pl-download-save i{font-size:20px!important}
body .pl-download-page .pl-download-card .pl-download-save.is-active{color:#b69aff!important}
body .pl-download-page .pl-download-card .pl-download-save:focus-visible{outline:2px solid #a68bff!important;outline-offset:2px!important}
/* On the homepage only: 1 full PC card and half of the next one. */
@media(max-width:649px){
  body [data-homepage-sections] [data-pl-home-section="download"] .pl-home-download-grid{
    grid-auto-columns:calc((100% - 10px)/1.5)!important;
    gap:10px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scroll-snap-type:x proximity!important;
  }
  body .community-article .pl-article-meta-actions .pl-social.pl-social{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    column-gap:14px!important;
    row-gap:8px!important;
    min-width:min(56vw,230px)!important;
    background:transparent!important;
  }
  body .community-article .pl-article-meta-actions .pl-social.pl-social>*{
    flex:0 0 auto!important;
  }
}

/* Keep the article date on the right and give its four controls their own
   wider lane on the left. This supersedes the narrow auto-sized group. */
@media(max-width:649px){
  html body .community-article .pl-article-meta > .pl-article-meta-actions {
    flex:0 0 min(57vw,224px)!important;
    width:min(57vw,224px)!important;
    min-width:0!important;
  }
  html body .community-article .pl-article-meta-actions .pl-social.pl-social {
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    gap:12px!important;
    justify-content:space-between!important;
    flex-wrap:nowrap!important;
  }
}
