/* Home uses the same Gameboost cover shelves as the library. */
.home-games-row{--library-card-width:clamp(136px,11.2vw,198px)}
.home-games-row .world-viewport .world-card{width:var(--library-card-width)}
.home-games-row .world-track,.home-games-row .world-copy{gap:14px}
.home-games-row .world-cover{aspect-ratio:3/4!important;border-radius:11px}
.store-body #store-search[hidden]{display:none!important}
.world-preview{animation-duration:.8s}

/* The same two-layer cover scene is used by both banners. */
.atlas-worlds-hero{transition:background-color 2.4s ease}
.arena-cover-showcase{isolation:isolate}
.arena-cover-showcase .arena-slide{position:absolute;inset:0;opacity:0;transition:opacity 2s cubic-bezier(.3,0,.2,1);pointer-events:none}
.arena-cover-showcase[data-active="0"] .arena-slide:first-child,.arena-cover-showcase[data-active="1"] .arena-slide:nth-child(2){opacity:1}
.arena-cover-showcase .arena-world-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.8;mask-image:linear-gradient(90deg,transparent,#000 28%);filter:none}
.arena-cover-showcase .arena-game-tags{transition:opacity .65s ease,transform .9s cubic-bezier(.2,.7,.2,1);inset:auto 24px 45px 15%;display:block;z-index:2;white-space:normal;text-align:start;direction:ltr;text-shadow:0 2px 24px #000b}
.arena-cover-showcase .arena-game-tags small{display:block;margin-bottom:9px;font-size:9px;letter-spacing:.15em;color:#fffc}
.arena-cover-showcase .arena-game-tags strong{display:block;color:#fff;font-size:clamp(24px,2.6vw,46px);font-weight:550;letter-spacing:-.045em;line-height:1.08;overflow-wrap:anywhere}
.arena-cover-showcase .arena-motion{z-index:3}
.store-body .home-worlds-hero{display:flex;background-image:linear-gradient(90deg,#101519ed,transparent 85%)!important;min-height:0;height:clamp(300px,23vw,420px);margin-block:20px 28px}
.store-body .home-worlds-hero:before{background:linear-gradient(90deg,#10151980,transparent 70%);z-index:1}
.store-body .home-worlds-hero:after{display:none}
.store-body .home-worlds-hero>.home-intro-copy{width:52%;padding:0;max-width:650px;z-index:2}
.store-body .home-worlds-hero>.library-arena{height:100%;width:65%;inset:0 0 0 auto;max-width:none;padding:0}
.store-body .home-worlds-hero h1{font-size:clamp(36px,3.5vw,64px);max-width:12ch}
.store-body .home-worlds-hero p{color:#d5d7dc}
.store-body .home-worlds-hero .store-btn{background:#eee4d0;color:#24201a}

/* A higher, white lower third with the same typography as game covers. */
.listing-inspection[open]{animation:inspection-soft-enter .6s cubic-bezier(.2,.7,.2,1) both}
.listing-inspection:has(.inspection-offer) .inspection-stage{height:calc(100% - 78px);padding-bottom:230px}
.inspection-offer{pointer-events:auto;--offer-slide:120px;min-height:245px;gap:clamp(24px,3vw,70px);padding:65px clamp(26px,5vw,120px) clamp(50px,7vh,100px);align-items:end;background:linear-gradient(0deg,#08090af5,#08090ac7 42%,transparent);overflow:visible}
.inspection-offer:before{display:none}
.inspection-offer-copy{animation:offer-soft-arrive 2s .24s cubic-bezier(.16,.7,.22,1) both}
.inspection-offer-copy>small{font-size:11px;font-weight:500;letter-spacing:.13em;color:#fff9;margin-bottom:12px}
.inspection-offer-copy>strong{font-family:inherit;font-size:clamp(30px,3.8vw,68px);font-weight:550;line-height:1.08;letter-spacing:-.045em;color:#fff;max-width:24ch;text-shadow:0 3px 24px #0008}
.inspection-offer-price{animation:offer-soft-arrive 2.3s .48s cubic-bezier(.16,.7,.22,1) both}
.inspection-offer-price>strong{font-family:inherit;font-size:clamp(38px,4.3vw,80px);font-weight:550;letter-spacing:-.045em;line-height:1.05;color:#fff;text-shadow:0 3px 24px #0008}
.inspection-offer>a{position:relative;isolation:isolate;overflow:hidden;min-height:54px;border-radius:999px;padding:17px 25px;font-size:14px;font-weight:550;gap:24px;background:#eee3d0;color:#26212c;box-shadow:0 0 35px #d8c9ee0d;animation:offer-soft-arrive 2s .9s cubic-bezier(.16,.7,.22,1) both;transition:box-shadow .7s,transform .7s}
.inspection-offer>a:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(125deg,#c9dce0,#d3c5e8 55%,#e6c6b4);opacity:.15;animation:offer-button-tint 6s 2s ease-in-out infinite alternate}
.inspection-offer>a:hover{box-shadow:0 0 40px #cfc1ee26;transform:translateY(-2px)}
[dir=rtl] .inspection-offer{pointer-events:auto;--offer-slide:-120px}
@keyframes offer-soft-arrive{from{opacity:0;transform:translateX(var(--offer-slide)) translateY(10px)}to{opacity:1;transform:none}}
@keyframes offer-button-tint{to{opacity:.95}}
@keyframes inspection-soft-enter{from{opacity:0;transform:scale(.99)}to{opacity:1;transform:none}}

/* A dark light installation and quiet, continuous publisher/payment strips. */
.seller-gallery-story .seller-light-room{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;min-height:100svh;background:#08090c;border:0;padding:0}
.seller-light-field{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:-1;background:radial-gradient(ellipse at 50% 0%,#ded4b40a,transparent 55%)}
.seller-light-beam{position:absolute;top:-20%;height:115%;width:36%;left:22%;transform:rotate(-22deg);transform-origin:50% 0;background:linear-gradient(180deg,#eee3cc28,transparent 78%);mask-image:linear-gradient(90deg,transparent,#000 45%,transparent);opacity:.6}
.seller-light-beam.beam-two{left:52%;width:29%;transform:rotate(25deg);background:linear-gradient(180deg,#c7cbf926,transparent 75%);opacity:.45}
.seller-light-floor{position:absolute;inset:40% 4% 20%;background:radial-gradient(ellipse at 50% 65%,#d5d5e812,transparent 65%);transform:scaleY(.35)}
.seller-pointer-light{position:absolute;top:0;left:0;width:min(600px,80vw);aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,#e5ddcc12,transparent 67%);transform:translate3d(50vw,40vh,0) translate(-50%,-50%);opacity:0;transition:opacity 1.2s;will-change:transform}
.light-following .seller-pointer-light{opacity:1}
.seller-light-invitation{position:relative;z-index:1;flex:1;min-height:62svh;display:grid;place-items:center;padding:100px 30px 70px}
.seller-gallery-story .seller-light-invitation h2{font-size:clamp(42px,6.2vw,108px);font-weight:500;line-height:1.1;letter-spacing:-.055em;color:#f3f1ee;text-align:center;max-width:15ch;margin:0}
.seller-light-invitation h2 a{color:inherit;text-decoration:none;transition:color .8s,text-shadow .8s}
.seller-light-invitation h2 a:hover{color:#fff;text-shadow:0 0 45px #eee2c42b}
.seller-light-room .seller-brand-room{position:relative;z-index:1;flex:none;width:100%;padding:0 0 45px;background:transparent;text-align:center}
.seller-light-room .seller-brand-room>span{font-size:8px;letter-spacing:.12em;color:#bbc0ca40;margin:15px 0 16px}
.seller-light-room .seller-logo-window{mask-image:linear-gradient(90deg,transparent,#000 18% 82%,transparent);padding-block:8px}
.seller-light-room .seller-logo-track{width:max-content;animation:seller-light-logos 70s linear infinite;animation-play-state:paused;direction:ltr;gap:0}
.seller-light-room.seller-footer-live .seller-logo-track{animation-play-state:running}
.seller-light-room .seller-logo-track>div{display:flex;gap:38px;padding:0 38px 0 0;min-width:0;width:max-content;align-items:center;flex:none}
.seller-light-room .seller-logo-track img{opacity:.17;filter:brightness(0) invert(1);height:27px;max-width:100px;width:auto;min-width:0;background:transparent;border:0;border-radius:0;box-shadow:none;padding:0}
.seller-light-room .seller-logo-track img.seller-payment-mark{opacity:.16;height:32px;max-width:96px}
.seller-light-room .seller-payments-track{animation-duration:86s}
.seller-light-room .seller-logo-window:hover .seller-logo-track{animation-play-state:inherit}
@keyframes seller-light-logos{to{transform:translateX(-50%)}}
@media(max-width:1100px){.store-body .home-worlds-hero{height:340px}.store-body .home-worlds-hero h1{font-size:46px}.inspection-offer{grid-template-columns:minmax(0,1fr) auto;gap:22px}.inspection-offer-copy{grid-column:1/-1}.inspection-offer-price>strong{font-size:50px}.inspection-offer-copy>strong{font-size:40px}.listing-inspection:has(.inspection-offer) .inspection-stage{padding-bottom:280px}}
@media(max-width:760px){
 .home-games-row{--library-card-width:136px}.home-games-row .world-track,.home-games-row .world-copy{gap:11px}.home-games-row .world-cover{aspect-ratio:3/4!important}
 .arena-cover-showcase .arena-world-art{mask-image:linear-gradient(180deg,transparent,#000 24%);opacity:.8}
 .arena-cover-showcase .arena-game-tags{transition:opacity .65s ease,transform .9s cubic-bezier(.2,.7,.2,1);inset:auto 55px 23px 22px}.arena-cover-showcase .arena-game-tags strong{font-size:27px}.arena-cover-showcase .arena-game-tags small{font-size:8px}
 .store-body .home-worlds-hero{height:400px;min-height:0;display:block;padding:23px 22px;margin-block:10px 20px}
 .store-body .home-worlds-hero>.home-intro-copy{width:100%;padding:0;max-width:100%}
 .store-body .home-worlds-hero h1{font-size:clamp(31px,6vw,43px);max-width:15ch;margin:12px 0}
 .store-body .home-worlds-hero p{font-size:11px;max-width:32ch;margin-bottom:16px}
 .store-body .home-worlds-hero>.library-arena{inset:auto 0 0;height:205px;width:100%}
 .store-body .home-worlds-hero:before{background:linear-gradient(180deg,#10151980,transparent 65%)}
 .listing-inspection:has(.inspection-offer) .inspection-stage{height:calc(100% - 68px);padding:12px 14px 245px}
 .inspection-offer{min-height:245px;padding:50px 23px max(35px,env(safe-area-inset-bottom));gap:20px;align-items:center}
 .inspection-offer-copy>strong{font-size:clamp(27px,5vw,37px);max-width:25ch}.inspection-offer-copy>small{font-size:9px;margin-bottom:9px}
 .inspection-offer-price>strong{font-size:clamp(29px,6vw,45px)}.inspection-offer>a{min-height:46px;padding:14px 19px;font-size:11px;gap:13px}
 .seller-light-invitation{min-height:65svh;padding:80px 24px 65px}.seller-gallery-story .seller-light-invitation h2{font-size:clamp(42px,9vw,68px)}
 .seller-light-room .seller-logo-track>div{gap:30px;padding-inline-end:30px}.seller-light-room .seller-logo-track img{height:23px;max-width:85px}.seller-light-room .seller-logo-track img.seller-payment-mark{height:28px;max-width:80px}.seller-light-room .seller-brand-room{padding-bottom:35px}
}
@media(max-width:360px){.inspection-offer{grid-template-columns:1fr;gap:14px;padding-bottom:30px}.inspection-offer-copy{grid-column:auto}.inspection-offer>a{justify-self:start}.listing-inspection:has(.inspection-offer) .inspection-stage{padding-bottom:290px}.store-body .home-worlds-hero{height:410px}.store-body .home-worlds-hero h1{font-size:31px}}
[dir=rtl] .store-body .home-worlds-hero>.library-arena{inset-inline:auto 0}
@media(prefers-reduced-motion:reduce){
 .arena-cover-showcase .arena-slide,.atlas-worlds-hero,.seller-pointer-light,.seller-light-invitation h2 a{transition:none!important}
 .listing-inspection[open],.inspection-offer-copy,.inspection-offer-price,.inspection-offer>a,.inspection-offer>a:before,.seller-light-room .seller-logo-track{animation:none!important}
 .inspection-offer>a:before{opacity:.4}.seller-light-room .seller-logo-track>div[aria-hidden=true]{display:none}.seller-light-room .seller-logo-track>div{width:auto;max-width:100%;padding:10px 25px;flex-wrap:wrap;justify-content:center}.seller-light-room .seller-logo-track{width:100%}.seller-pointer-light{display:none}
}

.arena-cover-showcase.arena-title-changing .arena-game-tags{opacity:0;transform:translateY(7px)}
@media(min-width:761px){[dir=rtl] .arena-cover-showcase .arena-world-art{mask-image:linear-gradient(270deg,transparent,#000 28%)}[dir=rtl] .atlas-worlds-hero{background-image:linear-gradient(270deg,#101519ed,transparent 85%)!important}}
@media(prefers-reduced-motion:reduce){.arena-cover-showcase .arena-game-tags{transition:none!important}}

.seller-light-room:not(.seller-footer-live) .seller-logo-track{animation-play-state:paused!important}

/* Preserve the approved full-bleed scene; cap its ratio on ultra-wide displays. */
.store-body .atlas-worlds-hero{max-width:1760px;margin-inline:auto;width:100%;box-sizing:border-box}
.arena-cover-showcase .arena-game-tags strong{color:#fff}
@media(min-width:1900px){
 .store-body .home-worlds-hero{height:420px}
}

/* Phone controls occupy deliberate rows; every category is visible. */
@media(max-width:760px){
 .store-body .store-header:has(.header-register) .header-seller-story{display:none}
 .store-body .store-header .atlas-member-actions .header-register{grid-area:1/2;min-width:0;max-width:min(38vw,140px);min-height:40px;padding:8px 10px;border-radius:12px;font-size:clamp(10px,2.7vw,11px);line-height:1.2;text-align:center;white-space:normal;overflow-wrap:anywhere}
 .store-body .store-main[data-section=home] .category-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;overflow:visible;padding:3px 0 9px}
 .store-body .store-main[data-section=home] .category-tiles>button,.store-body .store-main[data-section=home] .category-tiles>.category-more{display:flex;flex-direction:column;justify-content:center;align-items:center;min-width:0;width:100%;min-height:92px;padding:11px 6px;gap:9px;box-sizing:border-box;border:1px solid var(--s-line);border-radius:13px;background:var(--s-surface)}
 .store-body .store-main[data-section=home] .category-tiles>button>strong{max-width:100%;overflow-wrap:anywhere;font-size:10px;line-height:1.35;text-align:center}
 .store-body .store-main[data-section=home] .category-tiles>.category-more{font-size:11px;line-height:1.4}
 .store-body .community-refresh .community-score{align-self:center;justify-content:center;margin-inline:auto;max-width:100%;box-sizing:border-box}
 .store-body .store-footer>.market-preferences{grid-column:1/-1;align-self:center;justify-self:center;align-items:center;justify-content:center;width:100%;max-width:330px;margin-inline:auto;text-align:center}
 .store-body .store-footer .market-preferences>.btn{margin-inline:auto;align-self:center}
 .store-body .store-footer>span{grid-column:1/-1;justify-self:center;align-self:center;width:100%;text-align:center}
}

/* Keep the seller wall on compositor layers and bound mobile texture memory. */
.seller-gallery-card{contain:paint}.seller-mosaic-column{will-change:transform,translate}.seller-film-progress>i{will-change:transform}
@media(max-width:700px){.seller-mosaic-column>.seller-gallery-card:nth-child(n+7){display:none}.seller-gallery-card{box-shadow:none}.seller-gallery-story .seller-mosaic{backface-visibility:hidden}.seller-light-beam,.seller-light-floor{filter:none}}

.product-photo{position:relative}.product-photo>img[data-page-image=loading]{opacity:0}.product-photo:has(>img[data-page-image=loading]):before{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 15%,#b8acc718 48%,transparent 80%);background-size:200% 100%;animation:photo-arriving 1.8s linear infinite;pointer-events:none}.gallery-main-image[data-page-image=loading]{opacity:0}@keyframes photo-arriving{to{background-position:-200% 0}}@media(prefers-reduced-motion:reduce){.product-photo:has(>img[data-page-image=loading]):before{animation:none}}
