.archive-now-playing {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 34px;
    height: 16px;
    margin-left: .45rem;
    color: var(--mm-accent-2);
    vertical-align: middle;
}

.archive-now-playing[hidden] {
    display: none !important;
}

.archive-now-playing__bar {
    display: block;
    width: 2px;
    height: 12px;
    border-radius: 999px;
    background: currentColor;
    transform-origin: center;
    animation: archive-now-playing-wave .72s ease-in-out infinite alternate;
}

.archive-now-playing__bar:nth-child(2) { animation-delay: -.48s; }
.archive-now-playing__bar:nth-child(3) { animation-delay: -.22s; }
.archive-now-playing__bar:nth-child(4) { animation-delay: -.58s; }
.archive-now-playing__bar:nth-child(5) { animation-delay: -.31s; }
.archive-now-playing__bar:nth-child(6) { animation-delay: -.65s; }
.archive-now-playing__bar:nth-child(7) { animation-delay: -.14s; }

.archive-item--playing .archive-file-title {
    color: var(--mm-text);
}

.archive-row.archive-item--playing > td {
    background: rgba(88, 166, 255, .035);
}

.archive-group.archive-item--playing > .archive-group__header,
.archive-card.archive-item--playing {
    box-shadow: inset 2px 0 0 rgba(88, 166, 255, .85);
}

@keyframes archive-now-playing-wave {
    0% {
        opacity: .45;
        transform: scaleY(.22);
    }

    45% {
        opacity: .9;
        transform: scaleY(.72);
    }

    100% {
        opacity: 1;
        transform: scaleY(1.18);
    }
}

@media (prefers-reduced-motion: reduce) {
    .archive-now-playing__bar {
        animation: none;
        transform: scaleY(.7);
    }
}
