/* Kurzlebige Übergabe zwischen der Zentrale und einem geladenen Hauptmodul. */
.os-transition {
    position: fixed;
    z-index: 900;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    overflow: hidden;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    color: #ff4fd8;
    background:
        radial-gradient(ellipse 42% 28% at 50% 48%, rgba(255, 79, 216, .09), transparent 74%),
        #050508;
    transition: opacity .12s steps(2, end), visibility 0s linear .12s;
}

.os-transition.is-active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition-delay: 0s;
}

.os-transition-panel {
    width: min(100%, 34rem);
    text-align: center;
    text-shadow: 0 0 3px rgba(255, 208, 242, .52), 0 0 10px rgba(255, 79, 216, .36);
}

.os-transition-face {
    display: block;
    margin-bottom: .72rem;
    color: #ffd0f2;
    font-family: "Courier New", Courier, monospace;
    font-size: clamp(2.7rem, 10vw, 4.9rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -.11em;
    text-shadow: 0 0 3px rgba(255, 227, 247, .88), 0 0 9px rgba(255, 143, 224, .66), 0 0 22px rgba(255, 79, 216, .44);
    animation: osTransitionBlink 1.12s steps(1, end) both;
}

.os-transition-line {
    margin: 0;
    color: #f07acb;
    font-family: "Courier New", Courier, monospace;
    font-size: clamp(.77rem, 2.8vw, .96rem);
    line-height: 1.6;
    letter-spacing: .08em;
    overflow-wrap: anywhere;
}

.os-transition-line + .os-transition-line {
    color: #9e718e;
}

@keyframes osTransitionBlink {
    0%, 14%, 34%, 100% { opacity: 1; }
    18%, 28% { opacity: 0; }
    54%, 62% { opacity: .18; }
}

@media (max-width: 600px) {
    .os-transition { padding: 16px; }
    .os-transition-panel { width: min(100%, 24rem); }
}

@media (prefers-reduced-motion: reduce) {
    .os-transition,
    .os-transition-face {
        transition: none;
        animation: none;
    }
}

/* Ohne JavaScript bleibt die Startseite vollständig erreichbar. */
.home-boot-modules-pending [data-home-module] {
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    transition: opacity .22s steps(3, end), visibility 0s linear .22s;
}

.home-boot-modules-pending [data-home-module].is-available {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
    transition-delay: 0s;
}

@media (prefers-reduced-motion: reduce) {
    .home-boot-modules-pending [data-home-module] {
        visibility: visible;
        pointer-events: auto;
        opacity: 1;
        transition: none;
    }
}
