/* Applies before app.mjs renders a route, including routes without base.css. */
body:has(.boot-status) {
    min-height: 100svh;
    background: #000;
}

body:has(.boot-status) > header,
body:has(.boot-status) > footer {
    display: none;
}

body:has(.boot-status) #main {
    display: grid;
    width: 100%;
    max-width: none;
    min-height: 100svh;
    margin: 0;
    padding: 0;
    place-items: center;
}

.boot-status {
    display: grid;
    place-items: center;
}

.boot-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid #606060;
    border-top-color: #eeeeee;
    border-radius: 50%;
    animation: boot-spinner-turn 0.8s linear infinite;
}

@keyframes boot-spinner-turn {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .boot-spinner { animation-duration: 2s; }
}
