/* The loading screen (Work-ID 20261029-loading-screen-*; zenux, mockup 32_yXXVAC5, 2026-10-24: "the night landscape, the logo, PREPARANDO SUA AVENTURA, a progress bar with the real %, a Dica line, CARREGANDO RECURSOS DO MUNDO").
   The art is the mockup's landscape with its centre block painted out (ui/boot/loading-bg.webp), covering the window; the content sits on the mockup's 1672 x 941 stage scaled to the window (one mockup pixel = min(.05981vw, .10627dvh)).
   The bar's width and the percentage are the boot's real progress (ui/boot/boot-progress.js, driven by app.js boot()). No control here: nothing to hover. */
#boot#boot{--p:min(.05981vw,.10627dvh);position:fixed;inset:0;z-index:80;display:block;width:100%;height:100dvh;margin:0;padding:0;gap:0;overflow:hidden;
 border:0!important;border-image:none!important;border-radius:0!important;box-shadow:none!important;
 background:#050a16 url("loading-bg.webp?v=1") center/cover no-repeat!important;color:#dce8ff;font-family:Arial,"Helvetica Neue",Helvetica,sans-serif}
#boot#boot.hidden{display:none!important}
#boot#boot::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse 46% 52% at 50% 52%,#050a1699 0,#050a1655 55%,transparent 100%)}
#boot#boot .boot-stage{position:absolute;left:calc((100vw - var(--p)*1672)/2);top:calc((100dvh - var(--p)*941)/2);width:calc(var(--p)*1672);height:calc(var(--p)*941)}
#boot#boot .boot-stage>*{position:absolute;margin:0}
#boot#boot .visually-hidden{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important}
#boot#boot .boot-logo{left:calc(var(--p)*482);top:calc(var(--p)*284);width:calc(var(--p)*740);height:calc(var(--p)*146);max-width:none;display:block;object-fit:contain}
/* PREPARANDO SUA AVENTURA, with a line each side */
#boot#boot .boot-title{left:calc(var(--p)*500);top:calc(var(--p)*444);width:calc(var(--p)*680);height:calc(var(--p)*32);display:flex;align-items:center;justify-content:center;
 color:#d6e6ff;font:700 max(11px,calc(var(--p)*22))/1 Arial,sans-serif;letter-spacing:.3em;text-transform:uppercase;text-align:center;white-space:nowrap}
#boot#boot .boot-title::before,#boot#boot .boot-title::after{content:"";flex:0 0 calc(var(--p)*52);height:2px;margin:0 calc(var(--p)*20)}
#boot#boot .boot-title::before{background:linear-gradient(90deg,transparent,#38d4f0)}
#boot#boot .boot-title::after{background:linear-gradient(90deg,#e0344f,transparent)}
/* the bar */
#boot#boot .boot-bar{left:calc(var(--p)*505);top:calc(var(--p)*495);width:calc(var(--p)*606);height:calc(var(--p)*45);padding:calc(var(--p)*6) calc(var(--p)*14) calc(var(--p)*6) calc(var(--p)*14);
 background:linear-gradient(180deg,#07142b,#050d1e);box-shadow:inset 0 0 0 2px #1b6fb0,inset 0 0 0 4px #04101f,0 0 calc(var(--p)*18) #1b6fc055;
 clip-path:polygon(calc(var(--p)*14) 0,100% 0,100% calc(100% - var(--p)*10),calc(100% - var(--p)*10) 100%,calc(var(--p)*14) 100%,0 50%)}
#boot#boot .boot-fill{display:block;width:0;height:100%;max-width:100%;border-radius:calc(var(--p)*3);
 background:repeating-linear-gradient(115deg,#59e0ff 0 calc(var(--p)*14),#17b3e8 calc(var(--p)*14) calc(var(--p)*28));background-size:calc(var(--p)*40) 100%;
 box-shadow:0 0 calc(var(--p)*14) #38d4f0aa,inset 0 -calc(var(--p)*6) calc(var(--p)*8) #0a6fa044;transition:width .22s ease-out;animation:boot-stripes 1.1s linear infinite}
@keyframes boot-stripes{to{background-position:calc(var(--p)*40) 0}}
#boot#boot .boot-diamond{position:absolute;right:calc(var(--p)*5);top:50%;width:calc(var(--p)*16);height:calc(var(--p)*16);margin-top:calc(var(--p)*-8);transform:rotate(45deg);background:#e0344f;box-shadow:0 0 calc(var(--p)*8) #e0344f;border:2px solid #0a1226}
#boot#boot .boot-percent{left:calc(var(--p)*1126);top:calc(var(--p)*495);height:calc(var(--p)*45);display:flex;align-items:center;font:700 max(12px,calc(var(--p)*22))/1 Arial,sans-serif;color:#fff;font-variant-numeric:tabular-nums;white-space:nowrap}
/* the tip */
#boot#boot .boot-tip{left:calc(var(--p)*525);top:calc(var(--p)*566);width:calc(var(--p)*640);min-height:calc(var(--p)*44);display:block;padding-left:calc(var(--p)*46);color:#dce8ff;font:400 max(11px,calc(var(--p)*18))/calc(var(--p)*26) Arial,sans-serif;transition:opacity .26s ease}
#boot#boot .boot-tip.swap{opacity:0}
#boot#boot .boot-tip svg{position:absolute;left:calc(var(--p)*4);top:calc(var(--p)*4);width:calc(var(--p)*26);height:calc(var(--p)*34);color:#f2b84b}
#boot#boot .boot-tip b{color:#f2b84b;font-weight:700}
/* the footer */
#boot#boot .boot-foot{left:calc(var(--p)*610);top:calc(var(--p)*724);width:calc(var(--p)*452);height:calc(var(--p)*70);display:block;text-align:center;color:#9fb4d6;font:400 max(9px,calc(var(--p)*14))/1 Arial,sans-serif;letter-spacing:.3em;text-transform:uppercase}
#boot#boot .boot-foot::before,#boot#boot .boot-foot::after{content:"";position:absolute;top:calc(var(--p)*17);width:calc(var(--p)*172);height:2px}
#boot#boot .boot-foot::before{left:0;background:linear-gradient(90deg,transparent,#38d4f0 70%,#38d4f0)}
#boot#boot .boot-foot::after{right:0;background:linear-gradient(90deg,#38d4f0,#38d4f0 30%,transparent)}
#boot#boot .boot-foot .boot-ball{position:absolute;left:50%;top:0;width:calc(var(--p)*34);height:calc(var(--p)*34);margin-left:calc(var(--p)*-17);border-radius:50%;border:2px solid #0a1226;
 background:radial-gradient(circle at 50% 50%,#f4f6fb 0 15%,#0a1226 16% 28%,transparent 29%),linear-gradient(180deg,#e0344f 0 47%,#0a1226 47% 53%,#f4f6fb 53%);box-shadow:0 0 0 2px #7ea6e866}
#boot#boot .boot-foot span{position:absolute;left:0;right:0;top:calc(var(--p)*49)}
/* the words wait for the script that knows the player's language (no flash of another language); an error (data-error) shows at once */
#boot#boot:not(.boot-ready) :is(.boot-title:not([data-error]),.boot-tip,.boot-foot span){visibility:hidden}
@media (prefers-reduced-motion:reduce){#boot#boot .boot-fill{animation:none}#boot#boot .boot-tip{transition:none}}
/* narrow / tall windows: the same column, larger against the screen's width so the logo, the bar and the tip stay readable (the stage is wider than the window; its centre is the window's) */
@media (max-width:760px),(max-aspect-ratio:5/4){
 #boot#boot{--p:min(.119vw,.1062dvh)}
}
