/* The opening screen (boot.js), on its own so it can load before every other stylesheet: the screen is there
   from the first frame, even on a slow connection, and the page never shows half-styled underneath it. It carries
   fallbacks for the tokens it uses, which arrive a moment later in tokens.css. Dark: the server already put data-theme on <html>. */
.z-boot { display: none; }
@keyframes z-boot-ring { to { transform: rotate(1turn); } }
@keyframes z-boot-mark { 0%, 100% { transform: scale(1); } 50% { transform: scale(.92); } }
@keyframes z-boot-away { to { opacity: 0; visibility: hidden; } }
html[data-z-boot] .z-boot {
    position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
    background: var(--z-bg, #F4F6F8);
    /* If the script that removes it never runs, it leaves by itself. */
    animation: z-boot-away 400ms var(--z-ease-out, cubic-bezier(0.22, 1, 0.36, 1)) 5s forwards;
}
html[data-z-boot] .z-boot__mark {
    position: relative; display: grid; place-items: center; width: 88px; height: 88px;
}
html[data-z-boot] .z-boot__mark::before {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    border: 2px solid var(--z-hairline, rgb(17 20 24 / .12)); border-top-color: var(--z-accent-strong, #1F6FEB);
    animation: z-boot-ring 900ms linear infinite;
}
html[data-z-boot] .z-boot__mark img { width: 44px; height: 44px; animation: z-boot-mark 1400ms var(--z-ease-in-out, cubic-bezier(0.65, 0, 0.35, 1)) infinite; }
html[data-z-boot="done"] .z-boot { animation: z-boot-away 420ms var(--z-ease-out, cubic-bezier(0.22, 1, 0.36, 1)) forwards; }
html[data-theme="dark"][data-z-boot] .z-boot { background: var(--z-bg, #0B0D10); }
/* Cancels the laptop interface scale (tokens.css), so the mark is the same size before and after the page loads. */
.z-boot { zoom: calc(1 / var(--z-ui-scale, 1)); }
