/* V67 — restrained, shared correction (does not replace homepage art). */
/* V65/V66 changed the logo's flex sizing and translated the visual into the nav.
   Preserve the original navigation allocation; move the whole logo region with
   header padding instead. Same exact selectors on home and on inner pages. */
html body header.header.v50-header .v50-header-inner{
  box-sizing:border-box!important;
  padding-left:20px!important;
}
html body header.header.v50-header .v50-header-inner > a.brand.v50-brand{
  left:auto!important;
  transform:none!important;
  margin:0!important;
  width:168px!important;
  flex:0 0 168px!important;
  padding:0 9px!important;
  min-width:0!important;
}
html body header.header.v50-header .v50-header-inner > a.brand.v50-brand b{
  font-size:27px!important;
  white-space:nowrap!important;
}
/* Inner-page horizontal geometry must equal the homepage v49 layout exactly. */
@media(min-width:1551px){
 body.v51-inner .shell.v51-shell{
  display:grid!important;
  width:min(1480px,calc(100% - 76px))!important;
  max-width:1480px!important;
  grid-template-columns:184px minmax(0,1fr) 214px!important;
  gap:16px!important;margin:18px auto 35px!important;padding:0!important;
 }
 body.v51-inner .atlas-announcement{
  width:min(1480px,calc(100% - 76px))!important;
  max-width:1480px!important;
 }
}
@media(min-width:1061px) and (max-width:1550px){
 body.v51-inner .shell.v51-shell{
  width:min(1260px,calc(100% - 64px))!important;
  max-width:1260px!important;
  grid-template-columns:188px minmax(0,1fr)!important;
  gap:17px!important;margin:18px auto 35px!important;
 }
 body.v51-inner .atlas-announcement{
  width:min(1260px,calc(100% - 64px))!important;
  max-width:1260px!important;
 }
}
/* Prevent the left-rail title/card overflow seen in V65/66. */
body.v51-inner .sidebar .nav-caption{font-size:13px!important;line-height:1.4!important;letter-spacing:.01em!important}
body.v51-inner .sidebar .studio-group-heading .nav-caption{white-space:nowrap!important;font-size:12px!important}
body.v51-inner .sidebar .nav-link--illustrated{padding-left:6px!important;padding-right:8px!important}
body.v51-inner .sidebar .nav-link--illustrated span:nth-child(2){font-size:11px!important}
/* No visual breadcrumb before /games/ hero; removed from the actual HTML too. */
body.v51-games .v57-breadcrumb{display:none!important}
@media(max-width:1370px){
 html body header.header.v50-header .v50-header-inner{padding-left:12px!important}
 html body header.header.v50-header .v50-header-inner > a.brand.v50-brand{
   width:144px!important;flex-basis:144px!important;padding:0 7px!important
 }
 html body header.header.v50-header .v50-header-inner > a.brand.v50-brand b{font-size:24px!important}
}
@media(max-width:1080px){
 html body header.header.v50-header .v50-header-inner > a.brand.v50-brand{width:148px!important;flex-basis:148px!important}
}
@media(max-width:570px){
 html body header.header.v50-header .v50-header-inner{padding-left:4px!important}
 html body header.header.v50-header .v50-header-inner > a.brand.v50-brand{width:129px!important;flex-basis:129px!important}
 html body header.header.v50-header .v50-header-inner > a.brand.v50-brand b{font-size:21px!important}
}
