#webInterfaceStartup {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    font-family: monospace;
    font-size: clamp(20px, 3vw, 40px);
    text-align: center;
    padding: 24px;
}

#webInterfaceStartup[hidden] { display: none; }

#webInterfaceStartupText {
    animation: startupBreathing 2s ease-in-out infinite;
}

@keyframes startupBreathing {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

#webInterfaceStartup.startup-error #webInterfaceStartupText {
    animation: none;
}

/* match the rounded dark panel surfaces. */
#webInterfaceStartupBox {
    max-width: 100%;
    padding: 32px;
    border-radius: var(--gallery-radius);
    background-color: rgba(0, 0, 0, 0.5);
    overflow-wrap: anywhere;
}
