/**
 * MX Linux KDE — écran de démarrage Plasma (org.mxlinux.mx.desktop, VM 1206), B12. Fond #313131 dès la première
 * peinture ; js/ksplash-mx.js crée l'écran.
 */
body#mx-kde:not(.capsule-boot-ready)::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 2147482999;
    background: #313131;
    pointer-events: none;
}

#mx-ksplash {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    background: #313131;
    pointer-events: none;
}

#mx-ksplash .mx-ksplash__content {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1000ms cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

#mx-ksplash.is-stage-1 .mx-ksplash__content {
    opacity: 1;
}

#mx-ksplash .mx-ksplash__face {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 393px;
    height: 393px;
    margin: -196.5px 0 0 -196.5px;
}

#mx-ksplash .mx-ksplash__busy {
    position: absolute;
    top: calc(100% - 150px);
    left: 50%;
    width: 32px;
    height: 32px;
    margin-left: -16px;
    animation: mx-ksplash-spin 1500ms linear infinite;
    transition: opacity 1000ms cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

#mx-ksplash.is-stage-5 .mx-ksplash__busy {
    opacity: 0;
}

#mx-ksplash .mx-ksplash__brand {
    position: absolute;
    bottom: 16px;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translateX(-50%);
    opacity: 0.5;
    font: 400 13px/1 "Noto Sans", sans-serif;
    color: #eff0f1;
    white-space: nowrap;
}

#mx-ksplash .mx-ksplash__brand img {
    width: 32px;
    height: 32px;
}

@keyframes mx-ksplash-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    #mx-ksplash .mx-ksplash__busy {
        animation: none;
    }
}
