#game-loading {
    --load-gold: #e9c784;
    position: fixed; inset: 0; z-index: 1000;
    display: grid; place-items: center; overflow: auto;
    padding: max(24px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
    color: #f5e8ce;
    background: radial-gradient(ellipse at 50% 42%, #59402a 0, #281c15 45%, #130f0c 100%);
}
#game-loading[hidden] { display: none; }
.loading-content { width: min(100%, 380px); text-align: center; }
.loading-seal { display: block; width: 160px; height: 144px; margin: 0 auto 28px; overflow: visible; background: radial-gradient(ellipse at 50% 65%, #ffc76618, transparent 65%); }
.loading-lotus-outline { stroke: #e9b65a; stroke-width: 1.3; opacity: .48; }
.loading-lotus-light { stroke: #fff2bd; stroke-width: 1.8; stroke-dasharray: 28 72; filter: drop-shadow(0 0 3px #ffe39a) drop-shadow(0 0 9px #ffb83e); animation: lotus-light-flow 3.2s linear infinite; }
.loading-eyebrow { color: var(--load-gold); font-size: 11px; letter-spacing: .25em; margin-bottom: 14px; }
.loading-title { font-family: 'Cinzel Decorative', Georgia, serif; font-size: clamp(25px, 6vw, 36px); font-weight: 700; line-height: 1.4; }
.loading-invitation { font-size: 14px; color: #cfbca1; line-height: 1.8; margin: 14px 0 42px; }
.loading-detail { display: flex; align-items: center; gap: 16px; text-align: left; min-height: 48px; font-size: 12px; line-height: 1.6; }
#loading-status { flex: 1; }
#loading-status:focus { outline: none; }
#loading-step { flex: none; color: var(--load-gold); font-variant-numeric: tabular-nums; }
#loading-progress { appearance: none; display: block; width: 100%; height: 4px; border: 0; background: #69533b; color: var(--load-gold); }
#loading-progress::-webkit-progress-bar { background: #69533b; }
#loading-progress::-webkit-progress-value { background: var(--load-gold); transition: width .3s ease; }
#loading-progress::-moz-progress-bar { background: var(--load-gold); }
.loading-footnote { margin-top: 22px; color: #cfbca1; font-size: 11px; line-height: 1.8; }
#loading-retry { min-height: 48px; margin-top: 20px; padding: 10px 28px; border: 1px solid var(--load-gold); border-radius: 6px; background: #513920; color: #fff0d4; font: inherit; cursor: pointer; }
#loading-retry:hover { background: #6a4c2c; }
#loading-retry:focus-visible { outline: 2px solid #fff0d4; outline-offset: 4px; }
@keyframes lotus-light-flow { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .loading-lotus-light { animation: none; stroke-dasharray: none; } #loading-progress::-webkit-progress-value { transition: none; } }
@media (max-height: 520px) { .loading-seal { width: 72px; height: 72px; margin-bottom: 12px; } .loading-invitation { margin: 8px 0 16px; } }
