/* The loading screen drawn by scripts/loading-screen.js. It uses the app's theme tokens from
   app.css; the script sets data-theme on <html> before the first paint. */

.cb-loader {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    padding: 1rem 1rem 22vh;
    text-align: center;
    font-family: var(--cb-font-family);
    color: var(--cb-text-body);
    background-color: var(--cb-bg-body);
}

.cb-loader-greeting {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--cb-text-strong);
}

.cb-loader-staff {
    width: min(100%, 22rem);
    height: auto;
    overflow: visible;
}

.cb-loader-lines {
    fill: var(--cb-border-strong);
}

.cb-loader-music {
    fill: var(--cb-text-strong);
}

.cb-loader-note {
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.25s ease-out, transform 0.25s ease-out, fill 0.4s;
}

.cb-loader-note.cb-on {
    opacity: 1;
    transform: none;
}

.cb-loader-note.cb-current {
    fill: var(--cb-primary);
}

.cb-loader-status {
    min-height: 1.2em;
    font-size: 0.875rem;
    color: var(--cb-text-muted);
    font-variant-numeric: tabular-nums;
}

.cb-loader-slow {
    max-width: 22rem;
    font-size: 0.875rem;
    color: var(--cb-text-muted);
}

.cb-loader-slow a {
    color: var(--cb-link-color);
}

.cb-loader-slow[hidden] {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    .cb-loader-note {
        transition: none;
        transform: none;
    }
}
