body.is-starting{overflow:hidden;background:#07121f}
body.is-starting>.topbar,body.is-starting>footer{display:none!important}
body.is-starting #online-root{position:fixed;inset:0;padding:0;max-width:none;margin:0;background:#07121f}
.game-splash{position:relative;isolation:isolate;box-sizing:border-box;width:100%;height:100vh;height:100dvh;min-height:0;overflow:hidden;text-align:center;background:#07121f}
.game-splash:before{content:'';position:absolute;inset:-24px;z-index:-1;background:url('assets/splash/wildkin-launch.png') center/cover;filter:blur(22px) brightness(.6);-webkit-mask-image:linear-gradient(#000 60%,transparent 80%);mask-image:linear-gradient(#000 60%,transparent 80%)}
/* Keep the complete logo and creatures. The supplied poster's printed loading
   controls are clipped in its own coordinate space and replaced by live UI. */
.splash-poster{position:absolute;top:0;left:50%;width:min(100vw,46.05vh);width:min(100vw,46.05dvh);aspect-ratio:851/1848;transform:translateX(-50%);clip-path:inset(0 0 18.5% 0);-webkit-mask-image:linear-gradient(#000 79%,transparent 81.5%);mask-image:linear-gradient(#000 79%,transparent 81.5%)}
.game-splash .splash-art{display:block;width:100%;height:auto;max-width:none;aspect-ratio:851/1848;object-fit:contain}
.game-splash .splash-sr-only{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;border:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important}
.splash-footer{position:absolute;left:50%;bottom:calc(28px + env(safe-area-inset-bottom,0px));width:min(calc(100% - 36px),calc(46.05vh - 36px));width:min(calc(100% - 36px),calc(46.05dvh - 36px));transform:translateX(-50%);display:grid;gap:22px;color:#fff}
.game-splash .splash-tip{margin:0;color:#fff;font:400 clamp(14px,3.6vw,17px)/1.3 var(--shell-display,'Wildkin Display',sans-serif);-webkit-text-stroke:2px #07101b;paint-order:stroke fill;text-shadow:0 2px 2px #000}
.splash-loading{display:grid;gap:10px;color:#e9f8ff;font:800 13px/1.4 var(--shell-font,'DM Sans',system-ui,sans-serif)}
.splash-track{display:block;box-sizing:border-box;height:20px;padding:3px;border:2px solid #8b9cb1;border-radius:30px;background:#071527;overflow:hidden;box-shadow:0 0 0 2px #020a13,inset 0 1px 3px #000,0 3px 8px #0008}
.splash-track i{display:block;width:40%;height:100%;border:1px solid #7af7ff;border-radius:30px;background:linear-gradient(#70faff,#00cfff 45%,#008fe9);box-shadow:0 0 8px #00bfff;animation:splash-progress 1.6s ease-in-out infinite alternate}
.splash-footer noscript p{margin:0 0 8px;color:#dbeeff;font:14px/1.4 system-ui,sans-serif}
.splash-footer noscript a{display:flex;align-items:center;justify-content:center;min-height:44px;color:#fff2bd;font:700 14px/1.4 system-ui,sans-serif}
@keyframes splash-progress{from{transform:translateX(0)}to{transform:translateX(150%)}}
body.is-online-signed-in #online-content{touch-action:pan-y pinch-zoom}
/* Rankings and encounter species contain their own horizontal scroll surfaces. */
body.is-online-signed-in #online-content:has(.table-scroll,.exp-species,.results-training-cards){touch-action:auto}
.tab-enter-left{animation:tab-left .2s ease-out}.tab-enter-right{animation:tab-right .2s ease-out}
@keyframes tab-left{from{opacity:.75;transform:translateX(22px)}to{opacity:1;transform:translateX(0)}}
@keyframes tab-right{from{opacity:.75;transform:translateX(-22px)}to{opacity:1;transform:translateX(0)}}
@media(prefers-reduced-motion:reduce){.splash-track i{animation:none;transform:translateX(70%)}.tab-enter-left,.tab-enter-right{animation:none}}
@media(max-height:600px){.splash-footer{bottom:calc(16px + env(safe-area-inset-bottom,0px));gap:12px}.game-splash .splash-tip{font-size:14px}.splash-loading{gap:7px}.splash-track{height:18px}}
@media(min-aspect-ratio:1/1){.splash-poster{left:28%}.splash-footer{left:72%;bottom:50%;width:min(44vw,360px);transform:translate(-50%,50%)}.game-splash .splash-tip{font-size:16px}}
