.global-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(248, 250, 252, 0.84);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 180ms ease,
        visibility 180ms ease;
}

.global-loading-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.global-loading-card {
    min-width: 260px;
    padding: 20px 24px;
    text-align: center;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.global-loading-logo-wrap {
    display: grid;
    place-items: center;
    width: min(220px, 60vw);
    margin: 0 auto 20px;
}

.global-loading-svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
    filter:
        drop-shadow(0 13px 18px rgba(15, 23, 42, 0.16))
        drop-shadow(0 3px 5px rgba(15, 23, 42, 0.10));
}

.global-loading-triangle {
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 0.45;
    stroke-linejoin: round;
    transition: fill 50ms linear;
}

.global-loading-title {
    color: #1e293b;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.global-loading-subtitle {
    margin-top: 6px;
    color: #64748b;
    font-size: 14px;
}

body.global-loading-active {
    cursor: wait;
}

@media (max-width: 520px) {
    .global-loading-logo-wrap {
        width: min(185px, 58vw);
    }

    .global-loading-card {
        min-width: 0;
        width: 100%;
        padding: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .global-loading-triangle {
        transition: none;
    }

    .global-loading-overlay {
        transition: none;
    }
}
