body {
    visibility: hidden;
}

/* `visibility: visible` sobrescreve o hidden herdado do body, deixando só
   o splash pintado enquanto o resto da página continua escondido. */
#app-splash {
    visibility: visible;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    opacity: 1;
    transition: opacity .2s ease-out;
}

#app-splash.is-leaving {
    opacity: 0;
}

#app-splash .splash-spinner {
    width: 42px;
    height: 42px;
    border: 3px solid rgba(10, 45, 66, .15);
    border-top-color: #0a2d42;
    border-radius: 50%;
    animation: app-splash-spin .8s linear infinite;
}

#app-splash .splash-label {
    margin-top: 18px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 13px;
    letter-spacing: .04em;
    color: #0a2d42;
}

@keyframes app-splash-spin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    #app-splash { transition: none; }
    #app-splash .splash-spinner { animation-duration: 2.4s; }
}
