#game-loading{position:fixed;inset:0;z-index:10000;min-height:100vh;min-height:100dvh;overflow:auto;display:grid;place-items:center;background:radial-gradient(ellipse at 50% 28%,#72a9bd 0,#2e657e 48%,#133b54 100%);color:#fff;padding:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));transition:opacity .18s ease-out;isolation:isolate}
#game-loading.is-ready{opacity:0;pointer-events:none}
.loading-composition{width:min(100%,1450px);display:grid;justify-items:center;gap:22px;margin:auto}
.loading-art{width:100%;display:flex;justify-content:center;align-items:center;min-height:0}
.loading-art img{display:block;max-width:100%;width:auto;height:auto;max-height:calc(100dvh - 12rem);object-fit:contain;border-radius:12px;box-shadow:0 18px 65px #061d3540}
.loading-copy{text-align:center;max-width:38rem;display:grid;justify-items:center;gap:12px;padding:0 8px}
.loading-copy h2{font-size:clamp(1.65rem,3vw,2.5rem);line-height:1.1;letter-spacing:-.04em;margin:0;font-weight:760;text-wrap:balance}
#game-loading #loading{margin:0;justify-content:center;gap:12px;font-size:1rem;line-height:1.45;min-height:1.5em;color:#f1f8fd}
#game-loading .spinner{width:18px;height:18px;flex:0 0 18px;border-color:#ffffff55;border-top-color:#fff}
#game-loading #retry-load{width:auto;min-width:160px;min-height:48px;padding:12px 20px;gap:24px;background:#fff;color:#173f56;border:1px solid #fff;border-radius:8px;box-shadow:0 8px 24px #09263b25}
#game-loading #retry-load span{color:#173f56}
#game-loading #retry-load:focus-visible{outline:3px solid #ffcc79;outline-offset:5px}
#game-loading.is-error .loading-copy{padding:18px;border-radius:12px;background:#12364c}
@media(max-width:560px){#game-loading{padding-inline:8px}.loading-composition{gap:25px}.loading-art img{width:100%;max-height:none;border-radius:8px}.loading-copy{padding-inline:16px}.loading-copy h2{font-size:1.7rem}}
@media(min-aspect-ratio:16/9) and (max-height:550px){.loading-composition{grid-template-columns:minmax(0,2fr) minmax(230px,1fr);align-items:center;gap:24px}.loading-art img{max-height:calc(100dvh - 36px)}.loading-copy h2{font-size:1.7rem}}
@media(prefers-reduced-motion:reduce){#game-loading{transition:none}#game-loading .spinner{animation:none}}
