/* Keep the desktop storefront aligned on ultrawide displays. */
@media(min-width:761px){
 .store-body:has(.store-main[data-section=home]) .store-shell{max-width:1840px;padding-inline:clamp(24px,3vw,64px)}
 .store-body .store-main[data-section=home] .category-tiles{grid-template-columns:repeat(7,minmax(0,1fr));gap:8px 14px}
 .store-body .store-main[data-section=home] .category-tiles>button,.store-body .store-main[data-section=home] .category-tiles>button:nth-child(11){grid-column:auto;grid-row:auto;min-height:104px;padding:8px 4px}
 .store-body .store-main[data-section=home] .category-tiles>button>span{width:50px;height:50px}
 .store-body .store-main[data-section=home] .catalog-categories{margin-bottom:24px}
 .store-body .store-main[data-section=home] .popular-games-section{max-width:none;width:100%;padding-inline:0}
}
@media(min-width:1280px){
 .store-body .store-main[data-section=home] .category-tiles{grid-template-columns:repeat(14,minmax(0,1fr));gap:8px}
}
@media(min-width:1600px){
 .store-body:has(.store-main[data-section=home]) .store-header{gap:20px}
 .store-body .store-main[data-section=home] .home-campaigns .store-hero.catalog-hero.flat-campaign{height:360px}
}
/* Neutral studio surfaces preserve the actual product colours in both themes. */
.store-body{--product-studio:radial-gradient(ellipse at 50% 28%,#45526775,transparent 72%),linear-gradient(150deg,#242c39,#171d28);--product-shadow:0 16px 13px #03071066}
.store-body.store-light{--product-studio:radial-gradient(ellipse at 50% 25%,#fff9,transparent 70%),linear-gradient(145deg,#e0e5ed,#cbd3df);--product-shadow:0 16px 13px #26324b25}
.store-body .product-card:is(.item-card,.console-product-card,.home-contain-card) .product-photo,
.store-body :is(.skin-photo,.skin-3d,.skin-gallery .gallery-main,.skin-preview .preview-visual,.console-preview .preview-visual,.product-gallery .gallery-main){background:var(--product-studio)}
.store-body .product-card:is(.item-card,.console-product-card,.home-contain-card) .product-image{background:transparent!important;object-fit:contain!important;box-sizing:border-box;filter:drop-shadow(var(--product-shadow))}
.store-body .product-card.console-product-card:not(.game-library-card) .product-photo{height:auto;aspect-ratio:1.35}
.store-body .product-card.console-product-card:not(.game-library-card) .product-image{width:100%;height:100%;padding:24px 24px 20px!important;transform:none}
.store-body .home-rail .product-card.console-product-card:not(.game-library-card) .product-photo{height:210px;aspect-ratio:auto}
.store-body .home-rail .item-card .product-image{padding:20px 16px!important}
.store-body .listing-detail .product-gallery .gallery-main .gallery-main-image{padding:clamp(24px,4%,64px)!important;filter:drop-shadow(var(--product-shadow))}
.store-body .product-gallery .gallery-thumbs button,.store-body .skin-gallery .gallery-thumbs button{background:var(--product-studio)}
.store-body .product-gallery .gallery-thumbs img{object-fit:contain;padding:6px;box-sizing:border-box}
.store-body .skin-gallery .gallery-main-image{padding:7%!important}
.store-body .skin-loading,.store-body .skin-preview .preview-game{color:var(--s-text)}
.store-body .skin-preview .preview-image-steps i{background:#c5d1e166}.store-body .skin-preview .preview-image-steps i.is-current{background:#ecf2fa}
.store-body .skin-preview .preview-visual:after,.store-body .console-preview .preview-visual:after{background:linear-gradient(180deg,#ffffff05,transparent 80%)}
.store-body .game-case-stage{background:var(--product-studio)}
.store-body .case-gloss{opacity:.16;background:linear-gradient(112deg,#ffffff1a,transparent 25%,transparent 80%,#ffffff15);box-shadow:inset -1px 0 2px #ffffff50}
.store-body .case-full-front .case-gloss{opacity:.18}
.case-back.case-back-empty{background:linear-gradient(100deg,#ffffff0d,transparent 10% 90%,#00000030),var(--case-color);box-shadow:inset 0 0 0 1px #ffffff30,inset 0 -8px 15px #0002}
.case-back-empty:before{content:'';position:absolute;inset:10px 12px;border:1px solid #ffffff18;border-radius:6px}
.case-back-empty:after{content:'';position:absolute;inset:28% 8px;height:40%;border-inline:2px solid #ffffff1a;border-radius:4px}
.case-back>img{object-fit:fill}
.case-back-note{font-size:11px;line-height:1.6;color:var(--s-muted);text-align:center;margin:0;padding:0 20px 16px}
@media(max-width:760px){.store-body .home-rail .product-card.console-product-card:not(.game-library-card) .product-photo{height:160px}.store-body .product-card.console-product-card:not(.game-library-card) .product-image{padding:20px 18px 14px!important}}
.store-body .digital-product-card .product-photo{background:transparent;overflow:hidden;height:230px;min-height:230px}
.digital-pack{position:relative;isolation:isolate;display:grid;grid-template-rows:26px minmax(60px,1fr) auto;gap:7px;width:100%;height:100%;box-sizing:border-box;padding:14px 18px;overflow:hidden;background:radial-gradient(ellipse at 80% 0,hsl(var(--digital-hue) 45% 65%/.12),transparent 70%),#171d28;color:#fff}
.digital-pack-top{display:flex;align-items:center;gap:9px;min-width:0;font-size:12px;font-weight:650}
.digital-pack-top>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.digital-pack-brand{width:26px;height:26px;object-fit:contain;flex:none;border-radius:8px}
.store-body .digital-product-card .digital-pack-image{position:static!important;display:block;width:100%!important;height:100%!important;min-height:0;max-width:190px!important;max-height:120px!important;justify-self:center;object-fit:contain!important;object-position:center!important;padding:0!important;background:transparent!important;border-radius:4px;opacity:1;filter:none!important;transform:none!important}
.digital-pack-copy{position:static;display:flex;flex-direction:column;gap:3px;min-width:0;align-items:flex-start;pointer-events:none}
.digital-pack-copy>small{font-size:9px;letter-spacing:.06em;text-transform:uppercase;color:#b9c2d0}
.digital-pack-copy>strong{font-size:22px;line-height:1.12;letter-spacing:-.025em;font-weight:700;max-width:100%;overflow-wrap:anywhere}
.digital-pack-copy>span{font-size:10px;color:#c2cad6}
.digital-pack-long .digital-pack-copy>strong{font-size:18px}.digital-pack-very-long .digital-pack-copy>strong{font-size:15px}
.store-body .product-card.digital-product-card .product-info>.card-stat-inline{position:static!important;order:-1;inset:auto!important;width:100%;margin:0 0 8px}.store-body .digital-product-card .card-stat-inline .listing-stats{max-width:100%;justify-content:flex-start}
@media(max-width:760px){.store-body .digital-product-card .product-photo{height:195px;min-height:195px}.digital-pack{padding:11px;gap:5px;grid-template-rows:23px minmax(48px,1fr) auto}.digital-pack-top{font-size:10px;gap:6px}.digital-pack-brand{width:23px;height:23px}.digital-pack-copy>strong{font-size:18px}.digital-pack-long .digital-pack-copy>strong{font-size:15px}.digital-pack-very-long .digital-pack-copy>strong{font-size:13px}.store-body .digital-product-card .digital-pack-image{max-height:90px!important}}
