.site-busy {
    position: fixed;
    left: 50%;
    bottom: max(18px, env(safe-area-inset-bottom, 18px));
    z-index: 2147483000;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: min(92vw, 360px);
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(12, 10, 24, 0.88);
    border: 1px solid rgba(196, 181, 253, 0.35);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.35;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, 12px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.site-busy.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.site-busy[hidden] {
    display: none !important;
}

.site-busy-icon {
    flex: 0 0 auto;
    animation: site-busy-spin 0.9s linear infinite;
}

.site-busy-text {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
}

@keyframes site-busy-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-busy-icon {
        animation: none;
    }
}
