.wimmelbild-loader {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: #1a1a2e;
    z-index: 10;
}

.loader-character {
    font-size: 6rem;
    line-height: 1;
    animation: bounce 0.6s cubic-bezier(0.36, 0.07, 0.19, 0.97) infinite
        alternate;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.5));
}

.loader-character.pop {
    animation:
        bounce 0.6s cubic-bezier(0.36, 0.07, 0.19, 0.97) infinite alternate,
        pop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.loader-dots {
    display: flex;
    gap: 10px;
}

.loader-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: dot 1s ease-in-out infinite;

    &:nth-child(1) {
        animation-delay: 0s;
        background: #ff6b6b;
    }

    &:nth-child(2) {
        animation-delay: 0.2s;
        background: #ffd93d;
    }

    &:nth-child(3) {
        animation-delay: 0.4s;
        background: #6bcb77;
    }
}

.loader-msg {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    padding: 0 24px;
    animation: fade 0.4s ease;
}

#wimmelbild-status {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 1.2rem;
    text-align: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: var(--radius);
    max-width: 80%;
    display: none;
}
