html.site-boot-active,
html.site-boot-active body {
    min-height: 100%;
    background: #04070b;
}

#siteBootScreen {
    position: fixed;
    z-index: 99999;
    inset: 0;
    display: none;
    place-items: center;
    box-sizing: border-box;
    min-height: 100dvh;
    padding: 24px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 18%, #202b38 0, #0a0f16 42%, #04070b 100%);
    color: #f6f7f9;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    opacity: 1;
    visibility: visible;
    transition: opacity .28s ease, visibility .28s ease;
}

.site-boot-active #siteBootScreen { display: grid; }

#siteBootScreen.site-boot-ready {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.site-boot-card {
    width: min(430px, 100%);
    text-align: center;
}

.site-boot-logo {
    display: block;
    width: min(230px, 72vw);
    height: auto;
    margin: 0 auto 20px;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .55));
}

.site-boot-card strong,
.site-boot-card small {
    display: block;
}

.site-boot-card strong {
    font-size: clamp(1.05rem, 5vw, 1.35rem);
    letter-spacing: .08em;
}

.site-boot-card small {
    margin-top: 9px;
    color: #93a6b8;
    font-size: .86rem;
}

.site-boot-progress {
    height: 4px;
    overflow: hidden;
    margin: 24px auto 0;
    border-radius: 999px;
    background: #1b2835;
}

.site-boot-progress__bar {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #b77a20, #ffe08a);
    box-shadow: 0 0 16px rgba(255, 208, 99, .5);
    transition: width .28s ease;
}

.site-boot-progress__bar--0 { width: 12%; }
.site-boot-progress__bar--1 { width: 37%; }
.site-boot-progress__bar--2 { width: 56%; }
.site-boot-progress__bar--3 { width: 75%; }
.site-boot-progress__bar--4 { width: 94%; }
.site-boot-progress__bar--ready { width: 100%; }

.site-boot-status {
    margin-top: 11px;
    color: #d5a943;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .12em;
}

@media (prefers-reduced-motion: reduce) {
    #siteBootScreen,
    .site-boot-progress__bar {
        transition: none;
    }
}
