/* ImageGen component kit. Nine-slice corners keep their size on narrow screens;
   text, prices and hit areas remain live DOM, independent of the artwork. */
:root{--plate052:url('assets/label-navy052.png');--green052:url('assets/label-green052.png');--blue052:url('assets/button-blue052.png');--gold052:url('assets/button-gold052.png');--panel052:url('assets/panel-navy052.png');--premium052:url('assets/panel-purple052.png')}
#releaseLobby .title047,#releaseLobby .landmark047 .icon-caption045,
#releaseLobby .legion047,#releaseLobby .rank047,#releaseLobby .resume047,
#releaseLobby .release-season,#releaseLobby .top047 .wallet052,
#releasePanel button,#releasePanel input,#releasePanel select{
 border:2px solid transparent;border-radius:0;border-image:var(--plate052) 28 fill / 9px / 0 stretch;
 background:#082337;background-clip:padding-box;box-shadow:none;image-rendering:pixelated;color:#fff2d0;text-shadow:1px 1px #071522;
}
#releaseLobby .title047{padding:5px 20px;border-image-width:13px;letter-spacing:1px}
#releaseLobby .landmark047 .icon-caption045{padding:8px 15px;min-width:78px;line-height:1.1}
#releaseLobby .legion047,#releaseLobby .rank047{padding-inline:15px}
#releaseLobby .legion047{border-image-width:10px}
#releaseLobby[data-race=elf] .legion047{border-image-source:var(--green052)}
#releaseLobby[data-race=demon] .legion047{border-image-source:var(--premium052)}
#releaseLobby .release-season{border-image-source:var(--green052);border-image-width:7px;padding-inline:10px}
#releaseLobby .top047{background:#071a2ce8;border-bottom:2px solid #bd9b57;box-shadow:0 2px #06131e}
#releaseLobby .profile047{border-color:#c9a159;box-shadow:inset 0 0 0 2px #102336}
#releaseLobby .top047 .wallet052{padding:3px 10px;min-height:28px;border-image-width:7px;line-height:20px;white-space:nowrap}
#releaseLobby .top047 .gold047{display:flex;align-items:center;color:#ffe09b}
#releaseLobby .top047 .diamond052{color:#b8f0ff}
#releaseLobby .battle-actions047 .battle-secondary047{
 border:2px solid transparent;border-image:var(--blue052) 32 fill / 13px / 0 stretch;
 background:#0757b1;background-clip:padding-box;box-shadow:none;color:#fff9e4;text-shadow:1px 2px #082143;image-rendering:pixelated;
}
#releaseLobby .battle-actions047 .battle-secondary047:active{filter:brightness(.86)}
#releaseLobby button:focus-visible,#releasePanel button:focus-visible{outline:2px solid #fff2ac;outline-offset:-4px}
#releaseLobby .landmark047:focus-visible{outline:none}
#releaseLobby .landmark047:focus-visible .icon-caption045{outline:2px solid #fff2ac;outline-offset:2px}

/* The shared shell also keeps friends, upgrades, pass and settings in this family. */
#releasePanel{background:#061323d9}
#releasePanel .release-shell{border:3px solid transparent;border-image:var(--panel052) 32 fill / 12px / 0 stretch;background:#071e30;background-clip:padding-box;box-shadow:none;image-rendering:pixelated}
#releasePanel .release-panel-head{margin:3px 4px 0;padding:3px 9px;background:#0d293c;border-bottom:2px solid #aa884b}
#releasePanel .release-panel-head h2{color:#ffe5ab;text-shadow:1px 2px #051728}
#releasePanel .release-panel-head>span{color:#f2dca0}
#releasePanel button{border-image-width:8px}
#releasePanel button:hover:not(:disabled){filter:brightness(1.13)}
#releasePanel button:active:not(:disabled){filter:brightness(.86)}
#releasePanel button.active,#releasePanel button.primary,#releasePanel .product-price052{
 border-image-source:var(--gold052);border-image-slice:32;border-image-width:9px;background:#d18a10;background-clip:padding-box;color:#fffbea;text-shadow:1px 1px #714013;font-weight:700;
}
#releasePanel button:disabled{filter:saturate(.35);opacity:.58;text-shadow:1px 1px #071522}
#releasePanel .product044,#releasePanel .pass-day{
 border:2px solid transparent;border-image:var(--panel052) 32 fill / 12px / 0 stretch;
 background:#082438;background-clip:padding-box;box-shadow:none;padding:12px;image-rendering:pixelated;
}
#releasePanel .product044.premium052,#releasePanel .product044:has(.royal),#releasePanel .product044:has(.promotion){border-image-source:var(--premium052);background-color:#231337}
#releasePanel .product044>h3,#releasePanel .pass-day>h3{
 border:0 solid transparent;border-image:var(--plate052) 28 fill / 7px / 0 stretch;
 padding:7px 10px;margin:0;color:#fff0c9;width:100%;box-sizing:border-box;font-weight:700;line-height:1.2;white-space:nowrap;
}
#releasePanel .pass-day>h3{border-image-source:var(--green052)}
#releasePanel .pass-day button.premium{border-image-source:var(--premium052);background:#2c1b3c;background-clip:padding-box;color:#eed9ff}
#releasePanel .product044>small{color:#c6d9df}
#releasePanel .product044>button{min-height:38px;padding:6px 12px}
#releasePanel .work-list button{padding-inline:10px}
#releasePanel :is(input,select){padding-inline:10px}
#releasePanel .probabilities summary{background:#10344b;border:2px solid transparent;border-image:var(--plate052) 28 fill / 8px / 0 stretch;padding:7px 10px}

/* A horizontal collection with a fixed price row; large screens do not stretch
   tiny items into almost empty full-height columns. */
.battle049 #releasePanel .shop044{grid-template-columns:116px minmax(0,1fr);gap:12px;padding:14px}
.battle049 #releasePanel .shop-nav{height:100%;max-height:400px;align-self:center;gap:7px}
.battle049 #releasePanel .shop-nav button{padding:4px 10px!important;justify-content:flex-start;gap:5px;border-image-width:10px;font-size:13px}
#releasePanel .shop-nav .atlas-icon045{width:28px;height:28px;flex-basis:28px}
#releasePanel .shop-nav .active{color:#fffbe5;text-shadow:1px 1px #6c3f18}
.battle049 #releasePanel .shop-products{height:100%;max-height:400px;align-self:center;grid-auto-columns:minmax(184px,1fr);gap:12px;padding:0 2px 3px}
.battle049 #releasePanel .shop-products .product044{display:flex;justify-content:flex-start;gap:9px;padding:12px;overflow:hidden}
.product-art052{display:flex;position:relative;isolation:isolate;align-items:center;justify-content:center;flex:1;min-height:0;width:100%;overflow:hidden}
.product-art052:after{content:'';position:absolute;z-index:-1;width:70%;height:7px;left:15%;bottom:14%;background:#154b60;border:1px solid #47768b;box-shadow:0 3px #051827}
.premium052 .product-art052:after{background:#463368;border-color:#9874b9}
#releasePanel .product-art052>img{width:100%;height:100%;max-height:150px;object-fit:contain;image-rendering:pixelated}
#releasePanel .product-art052 .pixel-chest,#releasePanel .product-art052 .atlas-icon045{width:100px;height:100px;flex-basis:100px;max-height:100%;margin:0!important}
.shop-note052{align-self:center;text-align:center;font-size:12px;color:#c8d9dd;line-height:1.7;padding:14px;min-width:0}
#releasePanel .shop-products>.shop-note052 button{display:block;margin:12px auto 0;max-width:100%;font-size:12px}
.battle049 #releasePanel .shop-products .product-price052{margin-top:0;flex-shrink:0}

@media(orientation:landscape) and (max-height:450px){
 #releaseLobby .title047{padding:4px 15px;border-image-width:10px;font-size:20px}
 #releaseLobby .landmark047 .icon-caption045{padding:5px 11px;min-width:62px;font-size:12px;border-image-width:7px}
 #releaseLobby .legion047,#releaseLobby .rank047{border-image-width:8px}
 #releaseLobby .battle-actions047 .battle-secondary047{border-image-width:10px}
 #releaseLobby .top047{gap:6px}
 #releaseLobby .top047 .wallet052{padding:1px 8px;min-height:25px;line-height:19px;border-image-width:6px}
 #releaseLobby .release-season{border-image-width:5px;padding-inline:8px}
 #releasePanel .release-shell{border-width:0;border-image-width:5px}
 #releasePanel .release-panel-head{margin:0 3px;padding:2px 6px}
 #releasePanel .release-content{padding:8px;gap:8px}
 #releasePanel .product044,#releasePanel .pass-day{padding:8px;border-image-width:9px}
 #releasePanel .product044>h3,#releasePanel .pass-day>h3{padding:5px 7px;font-size:12px;border-image-width:6px}
 #releasePanel .product044>button{min-height:35px;padding:5px 10px}
 .battle049 #releasePanel .shop044{grid-template-columns:104px minmax(0,1fr);gap:8px;padding:8px}
 .battle049 #releasePanel .shop-nav{gap:5px}
 .battle049 #releasePanel .shop-nav button{padding:3px 9px!important;gap:4px;border-image-width:8px;font-size:11px}
 #releasePanel .shop-nav .atlas-icon045{width:24px;height:24px;flex-basis:24px}
 .battle049 #releasePanel .shop-products{gap:8px;grid-auto-columns:minmax(182px,1fr)}
 .battle049 #releasePanel .shop-products .product044{padding:9px;gap:6px}
 #releasePanel .product-art052 .pixel-chest,#releasePanel .product-art052 .atlas-icon045{width:84px;height:84px;flex-basis:84px}
 #releasePanel .product-art052>img{max-height:120px}
 .shop-note052{font-size:11px;padding:10px}
}

/* Locale455: readable shop labels; narrow layouts use an ordinary horizontal scroller. */
.battle049 #releasePanel .shop-nav button{white-space:normal;overflow-wrap:anywhere;line-height:1.25}
@media(max-width:760px){
 .battle049 #releasePanel .shop044 .shop-nav{display:flex!important;flex-direction:row;flex-wrap:nowrap;gap:6px;overflow-x:auto;overflow-y:hidden;height:auto!important;min-height:48px;max-height:none;align-self:stretch;grid-template-rows:none;grid-template-columns:none}
 .battle049 #releasePanel .shop044 .shop-nav button{display:flex;flex:0 0 128px;width:128px;min-width:128px;min-height:44px!important;height:44px!important;flex-wrap:nowrap;white-space:nowrap;justify-content:center;overflow:visible}
 .battle049 #releasePanel .shop044 .shop-nav .icon-caption045{white-space:nowrap;overflow:visible;min-width:0}
}
