/* Approved category reference: compact contextual columns, right category rail. */
body #app .retail-mega-v2 .retail-mega-columns{display:grid!important;grid-template-columns:repeat(var(--menu-column-count,1),minmax(0,1fr));gap:0!important;align-items:start}
body #app .retail-mega-v2 .retail-menu-facet{display:block;margin:0;padding:0 16px;border:0;border-inline-start:1px solid #dce6f2;min-width:0;columns:auto!important;background:transparent!important}
body #app .retail-mega-v2 .retail-menu-facet:first-child{padding-inline-start:0;border-inline-start:0}
body #app .retail-mega-v2 .retail-menu-facet:last-child{padding-inline-end:0}
body #app .retail-mega-v2 .retail-menu-facet>summary{display:flex;align-items:center;justify-content:space-between;list-style:none;font-size:15px!important;line-height:1.4;font-weight:600;padding:0 0 10px!important;border:0!important;background:none!important;min-height:0!important;color:inherit!important;cursor:pointer}
body #app .retail-mega-v2 .retail-menu-facet>summary::-webkit-details-marker{display:none}
body #app .retail-mega-v2 .retail-menu-facet>summary .icon{width:13px;height:13px;flex-shrink:0}
body #app .retail-mega-v2 .retail-menu-facet[open]>summary .icon{transform:rotate(180deg)}
body #app .retail-mega-v2 .retail-menu-facet-links a{font-size:14px!important;padding:6px 0!important;font-weight:400!important;line-height:1.4;white-space:normal}
body #app .retail-mega-v2 .retail-mega-promo img{aspect-ratio:1.66;object-fit:cover;object-position:center;height:auto!important;max-height:none!important}
body #app .retail-mega-v2 .retail-mega-promo h3{font-size:21px!important;line-height:1.3;margin:0 0 8px!important}
body #app .retail-mega-v2 .retail-mega-promo p{font-size:15px!important;line-height:1.4;margin:0 auto 12px;max-width:370px}
body #app .retail-mega-v2 .retail-category-all{margin-top:20px!important;font-size:15px!important;padding-top:16px!important}
body.gaming-theme #app .retail-mega-v2 .retail-menu-facet{border-color:#2b405c}
/* A visual scrim only: native outside-click and Escape handlers keep ownership. */
body #app:has(.retail-mega-v2:not([hidden]))::before{content:"";position:fixed;inset:0;background:rgba(9,25,45,.46);z-index:18;pointer-events:none}
body #app .ra-category-strip:has(.retail-mega-v2:not([hidden])){z-index:21}
body.gaming-theme #app .retail-mega-v2 .retail-category-all,
body.gaming-theme #app .ra-category-strip .retail-mega .retail-category-all{color:#8acaff!important}
/* The gaming menu is launched inside the category-photo strip. Its links are not tiles. */
body #app .ra-category-strip .retail-mega a{display:block!important;flex:initial!important;flex-direction:row!important;align-items:initial!important;justify-content:initial!important;gap:0!important;min-width:0!important;width:auto!important;min-height:0!important;max-height:none!important;height:auto!important;margin:0!important;padding:6px 0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:inherit!important;font-size:14px!important;font-weight:400!important;line-height:1.4!important;scroll-snap-align:none!important;text-align:right!important}
body #app .ra-category-strip .retail-mega a>.icon{display:inline-block!important;width:18px!important;height:18px!important}
body #app .ra-category-strip .retail-mega .retail-category-button{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;min-height:44px!important;width:100%!important;height:auto!important;padding:10px 18px!important;font-size:15px!important;line-height:1.5!important;box-shadow:none!important;border-radius:0!important}
body #app .ra-category-strip .retail-mega .retail-category-button>span{font:inherit!important;line-height:inherit!important}
body #app .ra-category-strip .retail-mega .retail-category-all{display:flex!important;align-items:center!important;gap:8px!important;min-height:44px!important;border-top:1px solid var(--retail-line)!important;padding-top:16px!important;margin-top:20px!important;color:var(--retail-blue)!important;font-weight:500!important}
body #app .ra-category-strip .retail-mega .retail-mega-promo img{height:auto!important;width:100%!important;aspect-ratio:1.66!important;object-fit:cover!important;mix-blend-mode:normal!important}
body #app .ra-category-strip .retail-mega .retail-mega-promo a.btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:10px 24px!important;min-height:40px!important;background:var(--retail-blue)!important;border-radius:3px!important;color:white!important;font-weight:500!important;text-align:center!important}
@media(min-width:901px){
 body #app .site-header .mainbar.wrap{max-width:1248px!important}
 body #app .retail-store-bar-inner{position:static!important}
 /* Clear the legacy <=1050px mobile rules while the desktop header is active. */
 body #app .site-header .mainnav{display:flex!important;position:static!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:space-between!important;overflow:visible!important;overflow-x:visible!important;overflow-y:visible!important;max-height:none!important;height:49px!important;min-height:49px!important;min-width:0;width:100%!important;gap:0!important;padding:0!important;box-sizing:border-box}
 body #app .site-header .mainnav>.nav-store-item{position:static!important;width:auto!important;max-width:none!important;flex:0 1 auto!important;min-width:0}
 body #app .site-header .mainnav>.nav-store-item::before{display:none!important}
 body #app .site-header .mainnav>.nav-store-item>.nav-store-entry{position:relative}
 body #app .site-header .mainnav>.nav-store-item>.nav-store-entry::before{content:"";position:absolute;right:-7px;top:50%;width:1px;height:18px;background:#9daecc;transform:translateY(-50%);pointer-events:none}
 body #app .site-header .mainnav>.nav-store-item>.nav-store-entry{display:flex!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:nowrap!important;gap:0!important;width:auto!important;min-width:0}
 body #app .site-header .mainnav>.nav-store-item>.nav-store-entry>a{flex:0 1 auto!important;width:auto!important;min-width:0;white-space:nowrap;padding-block:10px!important;min-height:44px!important}
 body #app .site-header .mainnav>.nav-store-item>.nav-store-entry>.nav-category-toggle{flex:0 0 28px!important;width:28px!important;min-width:28px!important;height:44px!important;min-height:44px!important;padding:5px!important}
 body #app .site-header .mainnav>a{flex:0 1 auto!important;width:auto!important;white-space:nowrap;min-height:44px!important;padding-block:10px!important}
 body #app .site-header .mainnav>.nav-remote-support{flex:0 0 auto!important;min-height:37px!important;padding-block:9px!important}
 body #app .approved-mega-panel.retail-mega-v2{inset:100% max(24px,calc((100vw - 1248px)/2)) auto auto!important;left:auto!important;transform:none!important;width:min(1140px,calc(100vw - 48px))!important;max-height:min(620px,calc(100dvh - 160px))!important}
 /* This launch point has a centered content-width containing block, unlike the header. */
 body #app .ra-category-strip .approved-mega-panel.retail-mega-v2{right:max(0px,calc((100% - 1248px)/2))!important}
 body #app .retail-mega-v2 .retail-mega-top{height:0;min-height:0;padding:0;border:0;position:relative;z-index:3}
 body #app .retail-mega-v2 .retail-mega-top>strong{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
 body #app .retail-mega-v2 .retail-mega-top .approved-mega-close{position:absolute!important;top:4px;left:4px;width:32px;height:32px;padding:7px!important;background:white!important;border:1px solid #dce6f2!important;border-radius:3px!important;z-index:4}
 body #app .retail-mega-v2 .retail-mega-layout{grid-template-columns:265px minmax(0,1fr);grid-template-rows:repeat(var(--category-count),minmax(44px,auto));min-height:396px}
 body #app .retail-mega-v2 .retail-category-button{font-size:16px!important;min-height:44px!important;padding:10px 18px!important}
 body #app .retail-mega-v2 .retail-category-content{grid-template-columns:minmax(0,1.2fr) minmax(270px,1fr);gap:24px;padding:18px 24px}
 body #app .retail-mega-v2 .retail-mega-links>h3{font-size:25px!important;line-height:1.25;margin:8px 0 28px!important}
 body #app .retail-mega-v2 .retail-menu-facet-links{max-height:270px;overflow-y:auto;scrollbar-width:thin}
 body.gaming-theme #app .retail-mega-v2 .retail-mega-top .approved-mega-close{background:#102033!important;color:white!important;border-color:#2b405c!important}
}
@media(min-width:901px) and (max-width:1150px){
 body #app .site-header .mainnav>a,body #app .site-header .mainnav>.nav-store-item>.nav-store-entry>a{font-size:12px!important;padding-inline:6px!important}
 body #app .site-header .mainnav>.nav-remote-support{font-size:12px!important;padding-inline:10px!important;gap:6px!important}
 body #app .retail-mega-v2 .retail-mega-layout{grid-template-columns:220px minmax(0,1fr)}
 body #app .retail-mega-v2 .retail-category-content{grid-template-columns:minmax(0,1.3fr) minmax(200px,1fr);gap:16px;padding:18px}
 body #app .retail-mega-v2 .retail-menu-facet{padding-inline:10px}
 body #app .retail-mega-v2 .retail-mega-promo h3{font-size:18px!important}
 body #app .retail-mega-v2 .retail-menu-facet-links a,body #app .retail-mega-v2 .retail-menu-facet>summary{font-size:13px!important}
}
@media(max-width:900px){
 body #app .ra-category-strip .retail-mega .retail-menu-facet-links a{display:flex!important;align-items:center!important;min-height:44px!important;padding:10px 0!important;font-size:14px!important;line-height:1.5!important}
 body #app .ra-category-strip .retail-mega .retail-category-button{min-height:48px!important;padding:12px 16px!important}
 body #app .ra-category-strip .retail-mega .retail-category-all{padding-top:10px!important;margin-top:10px!important}
 body #app .approved-mega-panel.retail-mega-v2{inset:max(12px,env(safe-area-inset-top)) 12px auto!important;width:calc(100% - 24px)!important;max-height:calc(100dvh - 24px - env(safe-area-inset-bottom));transform:none!important;z-index:1002}
 body #app .retail-mega-v2 .retail-mega-top{position:sticky;top:0;min-height:48px;z-index:4;background:#fff!important;padding:4px 12px;border-bottom:1px solid #dce6f2}
 body #app .retail-mega-v2 .retail-mega-top .approved-mega-close{width:44px;height:44px}
 body #app .retail-mega-v2 .retail-category-content{padding:4px 18px 16px!important}
 body #app .retail-mega-v2 .retail-mega-columns{display:block!important}
 body #app .retail-mega-v2 .retail-menu-facet{padding:0!important;border:0;border-bottom:1px solid #e6edf5;min-height:44px}
 body #app .retail-mega-v2 .retail-menu-facet>summary{min-height:44px!important;padding:10px 0!important;font-size:14px!important}
 body #app .retail-mega-v2 .retail-menu-facet-links{padding-bottom:6px}
 body #app .retail-mega-v2 .retail-menu-facet-links a{min-height:44px!important;display:flex!important;align-items:center;font-size:14px!important;padding:10px 0!important;line-height:1.5}
 body #app .retail-mega-v2 .retail-category-all{min-height:44px!important;margin-top:10px!important;padding-top:10px!important}
 body.gaming-theme #app .retail-mega-v2 .retail-mega-top{background:#102033!important;border-color:#2b405c!important}
}
