/* Legend Ball X1000 full-bleed splash, approved generated storm artwork.
   Source grid 941 x 2160 (generated scene plus top/bottom storm extension).
   Image and hit-test coordinates live in the SAME unclipped source grid.
   Browser clips to its own viewport, iOS standalone uses the full display.
*/
#bootSplash.layered-ready {
 --legend-bleed-height:var(--sg-pwa-full-height,100dvh);
 --legend-art-ratio:.435648148148;
 --legend-bleed-width:max(100vw,calc(var(--legend-bleed-height) * .435648148148));
 width:100vw!important;max-width:100vw!important;
 height:var(--legend-bleed-height)!important;
 min-height:var(--legend-bleed-height)!important;
 max-height:var(--legend-bleed-height)!important;
 background-color:#09152a!important;background-image:none!important;
 overflow:hidden!important;isolation:isolate!important;
}
#bootSplash.layered-ready::before,
#bootSplash.layered-ready::after{background:none!important;display:none!important;}
#bootSplash .legend-layered-stage {
 position:absolute;z-index:3;isolation:isolate;overflow:visible;
 left:50%;top:50%;transform:translate(-50%,-50%);
 width:min(100vw,calc(100dvh * .5625));height:auto;aspect-ratio:9/16;
 opacity:0;visibility:hidden;pointer-events:none;transition:none!important;
}
#bootSplash.layered-ready .legend-layered-stage {
 left:50%!important;top:50%!important;
 width:var(--legend-bleed-width)!important;
 height:calc(var(--legend-bleed-width) * 2.2954303932)!important;
 aspect-ratio:941/2160!important;
 opacity:1!important;visibility:visible!important;
 transform:translate(-50%,-50%)!important;
}
#bootSplash .legend-layered-stage img {
 position:absolute!important;inset:0!important;
 left:0!important;top:0!important;width:100%!important;height:100%!important;
 max-width:none!important;display:block!important;
 object-fit:fill!important;pointer-events:none!important;
 user-select:none!important;-webkit-user-drag:none!important;
}
#bootSplash .legend-splash-background{z-index:0;animation:legend-storm-shimmer 11s ease-in-out infinite;}
#bootSplash .legend-splash-dragon{z-index:2;transform-origin:76% 45%;animation:legend-dragon-pulse 6.5s ease-in-out infinite;}
#bootSplash .legend-splash-character{z-index:3;transform-origin:31% 65%;animation:legend-character-pulse 5.6s ease-in-out infinite;}
#bootSplash .legend-splash-thunder{z-index:4;opacity:0;mix-blend-mode:screen;animation:legend-thunder-blink 7.3s linear infinite;}
#bootSplash .legend-splash-logo{z-index:5;animation:none!important;transform:none!important;}
#bootSplash .legend-splash-enter{
 z-index:7;transform-origin:50% 74%;
 transition:transform .115s ease-out,filter .115s ease-out;
}
#bootSplash.layered-ready .splash-footer{
 position:absolute!important;z-index:10!important;
 inset:auto!important;left:50%!important;top:50%!important;
 width:var(--legend-bleed-width)!important;
 height:calc(var(--legend-bleed-width) * 2.2954303932)!important;
 aspect-ratio:941/2160!important;
 max-height:none!important;max-width:none!important;
 padding:0!important;margin:0!important;display:block!important;
 background:none!important;border:0!important;box-shadow:none!important;
 transform:translate(-50%,-50%)!important;pointer-events:none!important;
}
#bootSplash.layered-ready #bootPlay {
 position:absolute!important;display:block!important;
 left:11%!important;top:65.8%!important;width:78%!important;height:17%!important;
 margin:0!important;padding:0!important;max-width:none!important;
 background:transparent!important;border:0!important;
 color:transparent!important;opacity:1!important;
 box-shadow:none!important;filter:none!important;
 z-index:11!important;pointer-events:auto!important;touch-action:manipulation!important;
 -webkit-tap-highlight-color:transparent!important;
 cursor:pointer!important;
}
#bootSplash.layered-ready #bootPlay:disabled {
 opacity:0!important;pointer-events:none!important;cursor:progress!important;
}
#bootSplash.layered-ready #bootPlay:not(:disabled):focus-visible{
 opacity:1!important;outline:2px solid #fff2bc!important;outline-offset:-4px!important;border-radius:18px!important;
}
#bootSplash.layered-ready:has(#bootPlay:active) .legend-splash-enter,
#bootSplash.layered-ready.enter-pressed .legend-splash-enter {
 transform:translate3d(0,2px,0) scale(.972)!important;
 filter:brightness(1.28) saturate(1.12) drop-shadow(0 0 9px #ffc65eb9)!important;
}
#bootSplash.layered-ready:has(#bootPlay:active) .legend-splash-background,
#bootSplash.layered-ready.enter-pressed .legend-splash-background{
 filter:brightness(1.025)!important;
}
@keyframes legend-storm-shimmer {
 0%,100% {filter:brightness(1)}
 50% {filter:brightness(1.015)}
}
@keyframes legend-character-pulse {
 0%,100%{transform:translate3d(0,0,0) scale(1)}
 50%{transform:translate3d(.12%,-.09%,0) scale(1.0016)}
}
@keyframes legend-dragon-pulse {
 0%,100%{transform:translate3d(0,0,0) scale(1)}
 50%{transform:translate3d(-.14%,-.12%,0) scale(1.0017)}
}
@keyframes legend-thunder-blink {
 0%,19%,29%,49%,78%,100%{opacity:0}
 20%,21%,25%,50%,51%,80%,81%{opacity:.73}
 22%,52%,82%{opacity:.13}
}
@media(orientation:landscape){
 #bootSplash.layered-ready{
  background-image:url('/play/assets/legend-splash/sources/landscape-atmosphere.webp')!important;
  background-size:cover!important;background-position:center center!important;
 }
 #bootSplash.layered-ready::after{
  content:""!important;display:block!important;position:absolute;inset:0;z-index:1;
  background:linear-gradient(90deg,#06142baa,transparent 40%,transparent 60%,#06142baa)!important;
 }
 #bootSplash.layered-ready{--legend-bleed-width:calc(var(--legend-bleed-height) * .54);}
}
@media (min-width:960px) {
 #bootSplash.layered-ready{
  background-image:url('/play/assets/legend-splash/sources/landscape-atmosphere.webp')!important;
  background-position:center;background-size:cover!important;
 }
 #bootSplash.layered-ready{--legend-bleed-width:calc(var(--legend-bleed-height) * .52);}
}
@media(prefers-reduced-motion:reduce){
 #bootSplash .legend-splash-background,
 #bootSplash .legend-splash-character,
 #bootSplash .legend-splash-dragon,
 #bootSplash .legend-splash-thunder{animation:none!important;transform:none!important;filter:none!important;}
 #bootSplash .legend-splash-thunder{opacity:0!important;}
 #bootSplash.layered-ready.enter-pressed .legend-splash-enter{transform:translateY(2px) scale(.972)!important;}
}
