/* Общий overlay «Загрузка…» для плиток dashboard/market/shop. */
.tile-loader-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--card, #0f172a) 72%, transparent);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 5;
    border-radius: inherit;
    animation: tileLoaderFade 150ms ease-out;
    pointer-events: auto;
}

@keyframes tileLoaderFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.tile-loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--muted, #94a3b8);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.tile-loader-spinner {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2.5px solid color-mix(in srgb, var(--muted, #94a3b8) 30%, transparent);
    border-top-color: rgba(99, 102, 241, 0.9);
    animation: tileLoaderSpin 0.85s linear infinite;
}

@keyframes tileLoaderSpin {
    to { transform: rotate(360deg); }
}

.tile-loader-label {
    user-select: none;
}
