:root {
    color-scheme: dark;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html,
body,
#app {
    min-height: 100%;
    margin: 0;
}

body {
    min-height: 100vh;
    background: #0b1726;
    color: #f5f9fc;
}

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem;
}

.loading-progress circle {
    fill: none;
    stroke: #25415d;
    stroke-width: 0.6rem;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
}

.loading-progress circle:last-child {
    stroke: #44c7f4;
    stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%)), 500%;
    transition: stroke-dasharray 0.05s ease-in-out;
}

.loading-progress-text {
    position: absolute;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
    color: #f5f9fc;
    font-weight: 700;
    text-align: center;
}

.loading-progress-text::after {
    content: var(--blazor-load-percentage-text, "Loading");
}

#blazor-error-ui {
    position: fixed;
    inset: auto 0 0;
    z-index: 1000;
    box-sizing: border-box;
    display: none;
    padding: 0.75rem 3rem 0.75rem 1.25rem;
    background: #fff3cd;
    box-shadow: 0 -0.1rem 0.5rem rgb(0 0 0 / 35%);
    color: #332701;
}

#blazor-error-ui .reload {
    color: #0645ad;
}

#blazor-error-ui .dismiss {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    cursor: pointer;
}

.construction {
    box-sizing: border-box;
    display: grid;
    place-content: center;
    min-height: 100vh;
    padding: clamp(1.5rem, 5vw, 4rem);
    text-align: center;
}

.site-name {
    margin: 0 0 1rem;
    color: #44c7f4;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    font-size: clamp(2.5rem, 9vw, 6rem);
    line-height: 1.05;
}

.message {
    margin: 1.5rem 0 0;
    color: #44c7f4;
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
}

:focus-visible {
    outline: 0.2rem solid #44c7f4;
    outline-offset: 0.25rem;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
