/* Shared launch screen. Scoped selectors leave the game interface unchanged. */
html.djiga-splash-pending,html.djiga-splash-pending body{background:#050505}
.djiga-splash-pending body>main{visibility:hidden}
.djiga-splash{position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;overflow:hidden;background:#050505;isolation:isolate;pointer-events:auto}
.djiga-splash *{box-sizing:border-box}
.djiga-splash__glow{position:absolute;width:min(92vw,570px);aspect-ratio:1;border-radius:50%;background:radial-gradient(ellipse,#ffcc001c,transparent 65%);opacity:0;animation:djiga-ambient 1.65s ease both}
.djiga-splash::before,.djiga-splash::after{content:'';position:absolute;width:160vw;height:1px;left:-30vw;top:50%;background:linear-gradient(90deg,transparent,#ffcc0033,transparent);transform:rotate(-34deg);opacity:0;z-index:-1;animation:djiga-rays 1.5s ease both}
.djiga-splash::after{transform:rotate(34deg);background:linear-gradient(90deg,transparent,#ffcc001c,transparent)}
.djiga-splash__identity{position:relative;display:flex;flex-direction:column;align-items:center;gap:22px}
.djiga-splash__emblem{display:block;width:clamp(154px,43vw,205px);height:auto;aspect-ratio:410/440;overflow:hidden;opacity:0;filter:drop-shadow(0 0 17px #ffcc0010);animation:djiga-appear .55s cubic-bezier(.2,.8,.2,1) .1s both}
.djiga-splash__wordmark{display:block;width:clamp(180px,50vw,235px);height:auto;aspect-ratio:920/305;overflow:hidden;opacity:0;animation:djiga-wordmark .4s ease .35s both}
.djiga-splash__accent{height:2px;width:58px;background:#ffcc00;opacity:0;transform:scaleX(0);box-shadow:0 0 16px #ffcc0040;animation:djiga-accent .6s ease .45s both}
.djiga-splash__glint{transform:translateX(-440px);opacity:0;animation:djiga-shine .65s ease .55s both}
.djiga-splash{animation:djiga-exit .3s ease 1.4s both}
@keyframes djiga-appear{from{opacity:0;transform:translateY(8px) scale(.88)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes djiga-wordmark{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@keyframes djiga-ambient{0%{opacity:0;transform:scale(.8)}45%,80%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1.08)}}
@keyframes djiga-accent{from{opacity:0;transform:scaleX(0)}to{opacity:1;transform:scaleX(1)}}
@keyframes djiga-shine{0%{opacity:0;transform:translateX(-440px)}15%,85%{opacity:.75}100%{opacity:0;transform:translateX(440px)}}
@keyframes djiga-rays{0%,100%{opacity:0}45%,75%{opacity:1}}
@keyframes djiga-exit{to{opacity:0;visibility:hidden}}
@media(prefers-reduced-motion:reduce){.djiga-splash,.djiga-splash *,.djiga-splash::before,.djiga-splash::after{animation:none!important}.djiga-splash__emblem,.djiga-splash__wordmark,.djiga-splash__accent,.djiga-splash__glow{opacity:1;transform:none}.djiga-splash__glint{display:none}}
