/* Outer ring of images/logo.png, used as the shared loading mark.
   The PNG's outer cyan band is a circle with six cuts. This file only
   draws that ring. Pages set the colour with --accent (logo cyan is #00ffcc). */

.nickd-spinner {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent, #00ffcc);
    vertical-align: middle;
}

.nickd-spinner[hidden] {
    display: none !important;
}

#cat-loading.nickd-spinner {
    justify-content: center;
    width: 100%;
}

.nickd-spinner-block {
    display: flex;
    grid-column: 1 / -1;
    padding: 8px 0;
}

.nickd-spinner-lg {
    flex-direction: column;
    gap: 14px;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
}

.nickd-spinner-ring {
    width: 1.35em;
    height: 1.35em;
    min-width: 18px;
    min-height: 18px;
    display: inline-block;
    flex: 0 0 auto;
    line-height: 0;
}

.nickd-spinner-lg .nickd-spinner-ring {
    width: 64px;
    height: 64px;
}

.nickd-spinner-ring svg {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
    filter: drop-shadow(0 0 4px currentColor);
    transform-origin: center;
    animation: nickd-spin 1.15s linear infinite;
}

.nickd-spinner-label {
    line-height: 1.3;
}

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

@media (prefers-reduced-motion: reduce) {
    .nickd-spinner-ring svg {
        animation: none;
    }
}

.map-loading {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    background: rgba(5, 11, 20, 0.28);
}

.map-loading[hidden] {
    display: none !important;
}
