@keyframes timeline-more-nudge {
    0%   { transform: scale(1); }
    35%  { transform: scale(1.12); }
    60%  { transform: scale(0.98); }
    100% { transform: scale(1); }
}

[data-timeline-more] {
    transition: box-shadow 0.2s ease;
}

[data-timeline-more].timeline-more-nudge {
    animation: timeline-more-nudge 0.45s ease;
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-secondary-rgb), 0.25);
}

@media (prefers-reduced-motion: reduce) {
    [data-timeline-more].timeline-more-nudge {
        animation: none;
    }
}

.timeline-chip {
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--bs-success);
    --bs-btn-active-border-color: var(--bs-success);
}

.btn-check:checked + .timeline-chip .badge {
    background-color: var(--bs-light) !important;
    color: var(--bs-dark) !important;
}

.timeline-search {
    max-width: 28rem;
}
