body fuse-splash-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background-color: #111827; */
    background-color: #F1F5F9; 
    color: #F9FAFB;
    z-index: 999999;
    pointer-events: none;
    opacity: 1;
    visibility: visible;
    transition: opacity 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

body fuse-splash-screen .splash-logo {
    width: 120px;
    max-width: 120px;
}

/* Las 2 líneas que construyen el logo: el círculo (una vuelta) y la letra G
   (un solo trazo abierto que parte de la punta de la barra central y termina
   arriba en la boca, con el grosor real de la ranura del logo: nunca pasa dos
   veces por el mismo lugar). Los dasharray usan la longitud real de cada trazado. */
body fuse-splash-screen .splash-line-circle,
body fuse-splash-screen .splash-line-g {
    fill: none;
    stroke: #c10230;
    stroke-width: 26.5;
}

body fuse-splash-screen .splash-line-circle {
    stroke-dasharray: 4105;
    stroke-dashoffset: 4105;
    animation: gob-draw-circle 2.8s ease-in-out infinite;
}

body fuse-splash-screen .splash-line-g {
    stroke-dasharray: 3324;
    stroke-dashoffset: 3324;
    animation: gob-draw-g 2.8s ease-in-out infinite;
}

/* Relleno: de 100% transparente al color original, solo cuando la G ya terminó */
body fuse-splash-screen .splash-logo-fill {
    fill: #c10230;
    opacity: 0;
    animation: gob-fill-in 2.8s ease-in-out infinite;
}

/* El ciclo completo se desvanece al final para reconstruirse */
body fuse-splash-screen .splash-cycle {
    animation: gob-cycle-fade 2.8s linear infinite;
}

/* Las líneas se dibujan en el primer segundo y se disuelven cuando el relleno completa */
@keyframes gob-draw-circle {
    0% {
        stroke-dashoffset: 4105;
        opacity: 1;
    }
    30% {
        stroke-dashoffset: 0;
    }
    60% {
        opacity: 1;
    }
    70%, 100% {
        stroke-dashoffset: 0;
        opacity: 0;
    }
}

@keyframes gob-draw-g {
    0%, 8% {
        stroke-dashoffset: 3324;
        opacity: 1;
    }
    34% {
        stroke-dashoffset: 0;
    }
    60% {
        opacity: 1;
    }
    70%, 100% {
        stroke-dashoffset: 0;
        opacity: 0;
    }
}

@keyframes gob-fill-in {
    0%, 45% {
        opacity: 0;
    }
    60%, 100% {
        opacity: 1;
    }
}

@keyframes gob-cycle-fade {
    0%, 86% {
        opacity: 1;
    }
    96%, 100% {
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    body fuse-splash-screen .splash-line-circle,
    body fuse-splash-screen .splash-line-g,
    body fuse-splash-screen .splash-logo-fill,
    body fuse-splash-screen .splash-cycle {
        animation: none;
    }
    body fuse-splash-screen .splash-line-circle,
    body fuse-splash-screen .splash-line-g {
        opacity: 0;
    }
    body fuse-splash-screen .splash-logo-fill {
        opacity: 1;
    }
}

body fuse-splash-screen .spinner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 40px;
    width: 56px;
}

body fuse-splash-screen .spinner > div {
    width: 12px;
    height: 12px;
    background-color: #c10230;
    border-radius: 100%;
    display: inline-block;
    -webkit-animation: fuse-bouncedelay 1s infinite ease-in-out both;
    animation: fuse-bouncedelay 1s infinite ease-in-out both;
}

body fuse-splash-screen .spinner .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

body fuse-splash-screen .spinner .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

@-webkit-keyframes fuse-bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0)
    }
    40% {
        -webkit-transform: scale(1.0)
    }
}

@keyframes fuse-bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    40% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
    }
}

body:not(.fuse-splash-screen-hidden) {
    overflow: hidden;
}

body.fuse-splash-screen-hidden fuse-splash-screen {
    visibility: hidden;
    opacity: 0;
}
