html[data-game-loading=active],html[data-game-loading=error]{background:#faf8ef;overflow:hidden}
.game-loading-dialog{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:24px;border:0;background:radial-gradient(ellipse at 20% 20%,#e9efdc,transparent 48%),radial-gradient(ellipse at 85% 85%,#f4e8cf,transparent 45%),#faf8ef;color:#345640;font:16px/1.6 'Microsoft YaHei','PingFang SC',system-ui,sans-serif;z-index:2147483000;box-sizing:border-box;overflow:auto}
.game-loading-dialog::backdrop{background:#faf8ef}.game-loading-dialog[open]{display:grid;place-items:center}
.game-loading-dialog *{box-sizing:border-box}.game-loading-card{position:relative;width:min(480px,100%);padding:32px 38px 28px;border:2px solid #dce3c9;border-radius:36px;background:#fffdf4;box-shadow:inset 0 2px #fff,0 6px 0 #bec9a427,0 20px 70px #7585560b;text-align:center;isolation:isolate}
.game-loading-card:before,.game-loading-card:after{content:'';position:absolute;width:32px;height:55px;background:#becf9b;border:1px solid #a6bd84;border-radius:90% 8% 90% 8%;rotate:-40deg;z-index:-1}.game-loading-card:before{top:-23px;left:30px}.game-loading-card:after{right:29px;bottom:-18px;rotate:75deg;background:#d7d4a5}
.game-loading-mascot{position:relative;width:148px;height:142px;margin:0 auto 16px;display:grid;place-items:center}.game-loading-mascot:before{content:'';position:absolute;bottom:3px;width:140px;height:24px;background:#e9efda;border:1px solid #dce6c9;border-radius:50%}.game-loading-mascot:after{content:'✦';position:absolute;right:5px;top:12px;color:#dec17d;font-size:25px;animation:game-loading-glow 2s ease-in-out infinite}.game-loading-mascot img{position:relative;z-index:1;width:94px;height:126px;object-fit:contain;animation:game-loading-bob 2.5s ease-in-out infinite}
.game-loading-eyebrow{margin:0 0 6px;color:#8f9b7e;font-size:12px;letter-spacing:3px}.game-loading-dialog h2{font-size:27px;line-height:1.45;margin:0 0 10px;font-weight:800;color:#355b3f;overflow-wrap:anywhere}.game-loading-title{margin:0 0 23px;font-size:15px;color:#879473;overflow-wrap:anywhere}
.game-loading-track{position:relative;width:100%;height:17px;padding:3px;border:1px solid #cbd8b7;background:#edf1e2;border-radius:20px;box-shadow:inset 0 2px 3px #8fa07012;overflow:hidden}.game-loading-fill{display:block;height:100%;width:12%;border-radius:12px;background:linear-gradient(90deg,#a6bf7e,#739c65);box-shadow:inset 0 1px #c5d8a9;transition:width .35s ease;position:relative;overflow:hidden}.game-loading-fill:after{content:'';position:absolute;inset:0;background:linear-gradient(100deg,transparent,#fff9d857,transparent);translate:-100%;animation:game-loading-shine 2.3s ease-in-out infinite}
.game-loading-stages{display:flex;justify-content:space-between;gap:8px;margin:13px 0 20px;color:#a5ad96;font-size:11px}.game-loading-stages span{display:flex;align-items:center;gap:5px}.game-loading-stages i{width:6px;height:6px;background:#dce3cf;border-radius:50%}.game-loading-stages .is-current{color:#60864f;font-weight:700}.game-loading-stages .is-current i{background:#85a66b}
.game-loading-status{min-height:24px;margin:0;color:#6c825d;font-size:13px;line-height:1.8}.game-loading-actions{display:flex;justify-content:center;gap:12px;align-items:center;margin-top:24px;flex-wrap:wrap}.game-loading-dialog .game-loading-back,.game-loading-dialog .game-loading-retry{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 17px;border:1px solid #d5dfc3;border-radius:18px;background:#f7f8ed;color:#7d8d6b;text-decoration:none;font-weight:600;line-height:1.6;font-family:inherit;font-size:12px;cursor:pointer}.game-loading-dialog .game-loading-retry{background:#759967;border:2px solid #658956;color:#fffdf0;box-shadow:0 3px #49683e1c;font-weight:700}.game-loading-dialog button:focus-visible,.game-loading-dialog a:focus-visible{outline:3px solid #c29e51;outline-offset:4px}
.game-loading-dialog[data-state=error] .game-loading-mascot img{animation:none}.game-loading-dialog[data-state=error] .game-loading-fill{background:#c3ad7c}.game-loading-dialog[data-state=error] .game-loading-fill:after{animation:none}.game-loading-dialog[data-state=error] .game-loading-status{color:#a18654}.game-loading-dialog[data-state=ready]{opacity:0;transition:opacity .18s ease;pointer-events:none}
@keyframes game-loading-bob{50%{transform:translateY(-5px) rotate(-2deg)}}@keyframes game-loading-shine{55%,100%{translate:150%}}@keyframes game-loading-glow{50%{opacity:.45;transform:scale(.8)}}
@media(max-width:600px){.game-loading-dialog{padding:22px}.game-loading-card{padding:27px 24px 23px;border-radius:29px}.game-loading-mascot{height:119px;width:130px;margin-bottom:13px}.game-loading-mascot img{height:106px;width:80px}.game-loading-mascot:before{width:114px;height:20px}.game-loading-dialog h2{font-size:23px}.game-loading-title{font-size:13px;margin-bottom:20px}.game-loading-stages{font-size:10px}.game-loading-status{font-size:12px}}
@media(max-height:480px){.game-loading-dialog{padding:16px}.game-loading-card{padding:18px 30px;width:min(580px,100%);display:grid;grid-template-columns:110px 1fr;gap:0 25px;align-items:center}.game-loading-mascot{grid-row:1/5;width:100%;height:145px;margin:0}.game-loading-mascot img{width:85px;height:120px}.game-loading-eyebrow,.game-loading-dialog h2,.game-loading-title{grid-column:2;margin-bottom:3px}.game-loading-track,.game-loading-stages,.game-loading-status,.game-loading-actions{grid-column:2}.game-loading-actions{margin-top:12px}.game-loading-stages{margin-bottom:7px}.game-loading-title{margin-bottom:12px}}
@media(prefers-reduced-motion:reduce){.game-loading-dialog,.game-loading-fill{transition:none!important}.game-loading-dialog *,.game-loading-dialog :after{animation:none!important}}

.game-loading-dialog .game-loading-back{position:fixed;left:12px;top:12px;min-height:48px;font-size:16px}
