/* Explicit lanes prevent the optional materials banner from displacing products. */
.battle049 #releasePanel .shop044{display:flex;flex-direction:column;gap:10px;padding:12px;overflow:auto}
.battle049 #releasePanel .shop-nav{display:flex;flex-direction:row;flex:none;height:auto;max-height:none;min-height:44px;width:100%;align-self:stretch;gap:6px;overflow-x:auto;overflow-y:hidden;touch-action:pan-x}
.battle049 #releasePanel .shop-nav button{flex:1 0 100px;min-height:44px!important;height:44px;padding:5px 10px!important;justify-content:center;white-space:nowrap}
.battle049 #releasePanel .recent-materials086{flex:none;flex-wrap:nowrap;gap:8px;padding:8px;overflow-x:auto;min-height:54px;max-width:100%;box-sizing:border-box;touch-action:pan-x}
.battle049 #releasePanel .recent-materials086 h3{width:auto;flex:none;font-size:12px;max-width:85px;white-space:normal}
.battle049 #releasePanel .recent-materials086>small{display:none}
.battle049 #releasePanel .recent-item086{flex:none;min-height:40px;font-size:12px}
.battle049 #releasePanel .shop-products{flex:1 0 230px;width:100%;height:auto;min-height:230px;max-height:none;align-self:stretch;grid-auto-columns:minmax(190px,1fr);overflow-x:auto;overflow-y:hidden;padding:0 0 5px}
.battle049 #releasePanel .shop-products .product044{gap:7px;padding:10px;min-width:0}
.battle049 #releasePanel .product044 h3{margin:0;font-size:15px;flex:none}
.battle049 #releasePanel .product044 small{white-space:normal;flex:none;font-size:12px}
.battle049 #releasePanel .product044>button{flex:none;min-height:40px}
.battle049 #releasePanel .product-art052{min-height:45px}
#releaseLobby .top047 .rank047{margin-left:0}
#releaseLobby .top047 .gold047{margin-left:auto}
#releaseLobby .top047 #myPage091{flex:0 1 auto;min-width:30px;max-width:140px}
#releaseLobby .top047 .account-level085{flex-shrink:0}
@media(max-height:450px){
 .battle049 #releasePanel .shop044{gap:6px;padding:7px}
 .battle049 #releasePanel .shop-products{flex-basis:220px;min-height:220px}
 .battle049 #releasePanel .recent-materials086{padding:4px 7px;min-height:46px}
 .battle049 #releasePanel .shop-products .product044{padding:7px;gap:4px}
}
@media(max-width:700px){
 #releaseLobby .top047{gap:4px}
 #releaseLobby .top047 #myPage091{max-width:88px;font-size:11px}
 #releaseLobby .top047 .rank047{max-width:106px;padding:3px 5px;font-size:9px}
 .battle049 #releasePanel .shop-nav button{flex-basis:88px;font-size:12px}
}
/* Vertical reward grids must override the old horizontal carousel's touch lock. */
.battle049 #releasePanel .chest-opening090{min-height:0;overflow:hidden}
.battle049 #releasePanel .chest-opening090 .loot-cards{min-height:0;touch-action:pan-y;overscroll-behavior-y:contain;scroll-padding:8px;padding-bottom:16px;scrollbar-gutter:stable}
.battle049 #releasePanel .chest-opening090 .loot-card{box-sizing:border-box;min-width:0;overflow-wrap:anywhere}
.battle049 #releasePanel .chest-opening090 .opening-controls{min-height:0}
.battle049 #releasePanel .chest-opening090 .opening-controls button{min-width:0}
.battle049 #releasePanel .release-content:not(.shop044):not(.chest-opening090){overscroll-behavior:contain}
.loot-scroll122{align-self:center;white-space:nowrap;font-size:11px;color:#c9d9e8;flex:none}
.chest-opening090 .opening-controls .primary{flex:1}
/* Show complete rows at rest; more rewards remain reachable by vertical swipe. */
@media(orientation:landscape){
 .battle049 #releasePanel .chest-opening090 .loot-cards{grid-auto-rows:max(104px,calc((100% - 8px)/2));padding:4px;gap:8px;scroll-snap-type:y proximity}
 .battle049 #releasePanel .chest-opening090 .loot-card{scroll-snap-align:start;min-height:0;justify-content:center}
}
