html.assets-loading{overflow:hidden;background:#cceff2}
html.assets-loading body,html.assets-loading .phone,html.assets-loading .phone-scroll{overflow:hidden!important}
#page-loader{position:fixed;inset:0;z-index:2147483000;overflow:hidden;background:linear-gradient(#cceff2,#e8f8ed);color:#4a2117;font-family:'Trebuchet MS',system-ui,sans-serif;opacity:1;transition:opacity .28s ease;isolation:isolate}
#page-loader[hidden]{display:none}
#page-loader.load-finished{opacity:0;pointer-events:none}
.load-sun{position:absolute;top:12%;right:18%;width:80px;height:80px;background:#ffe394;border-radius:50%;box-shadow:0 0 0 16px #ffe39435}
.load-cloud{position:absolute;top:23%;left:17%;width:130px;height:36px;background:#ffffffbd;border-radius:60px}
.load-cloud:before,.load-cloud:after{content:'';position:absolute;bottom:6px;left:20px;width:55px;height:55px;border-radius:50%;background:#fff}
.load-cloud:after{left:57px;width:65px;height:65px}
.load-hill{position:absolute;inset:55% -35% -40%;background:#b7e89c;border-radius:50% 50% 0 0}
.load-scene{position:relative;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;width:min(88%,360px);height:100%;max-height:100%;margin:auto;padding:clamp(16px,5vh,40px) 0 max(16px,env(safe-area-inset-bottom));text-align:center}
.load-walk{display:block;flex:0 1 auto;min-height:0;width:100%;height:auto;max-height:46%;object-fit:contain}
.load-bubble{position:relative;box-sizing:border-box;flex:0 0 auto;width:100%;margin:0;padding:20px 12px;background:#fffdf8;border:2px solid #eadfce;border-radius:24px;box-shadow:0 6px 0 #6b342310;font-size:clamp(15px,4vw,19px);font-weight:700;min-height:94px}
.load-bubble:after{content:'';position:absolute;bottom:-12px;left:28%;width:20px;height:20px;background:#fffdf8;border-right:2px solid #eadfce;border-bottom:2px solid #eadfce;transform:rotate(45deg)}
.load-bubble small{display:block;font-size:10px;letter-spacing:3px;color:#86715c;margin-bottom:12px}
.load-dots{display:inline-flex;width:1.2em;text-align:left;white-space:nowrap}
.load-dots i{font-style:normal;animation:load-dot 1.2s infinite;opacity:0}
.load-dots i:nth-child(2){animation-delay:.2s}.load-dots i:nth-child(3){animation-delay:.4s}
.load-error{display:block;font-size:14px;font-weight:400;margin-top:16px}
.load-bubble button{display:block;margin:12px auto 0;border:0;border-radius:16px;background:#005fc4;color:white;padding:12px 18px;font:inherit;font-size:14px;cursor:pointer;min-height:44px}
.load-bubble .load-continue{background:transparent;color:#005fc4}
.load-bubble [hidden]{display:none!important}
@keyframes load-dot{0%,20%{opacity:0}30%,90%{opacity:1}100%{opacity:0}}
@media(prefers-reduced-motion:reduce){#page-loader{transition:none}.load-dots i{animation:none;opacity:1}}
@media(max-height:480px) and (min-width:480px){.load-scene{flex-direction:row;width:min(90%,600px);gap:20px;padding:16px 0}.load-bubble{flex:1;width:auto;min-width:0}.load-walk{width:38%;max-height:90%;flex:0 1 38%}.load-hill{top:45%}}
@media(max-height:600px){.load-bubble{padding:14px 12px;min-height:80px}.load-bubble small{margin-bottom:8px}.load-sun{width:52px;height:52px;top:8%;right:12%}.load-cloud{top:18%;left:8%;transform:scale(.7)}}

/* Desktop loading occupies the phone screen, never the surrounding park. */
@media(min-width:961px){
 html.preload-enabled .phone{animation:none!important}
 #page-loader{inset:38px auto 38px calc(50% - 222px);width:444px;border-radius:32px}
 #page-loader .load-scene{width:min(88%,360px)}
}

/* Reveal only a fully decoded illustration; its reserved space never collapses. */
#page-loader .load-walk{visibility:hidden}
#page-loader .load-walk.walk-ready{visibility:visible}
