/* What's-new badge in the header */
.whatsnew-badge {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    margin-left: .5rem;
    padding: .15rem .5rem;
    border: 1px solid transparent;
    border-radius: 999px;
    background: #fff4e5;
    color: #b45309;
    font-size: .75rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: background-color .15s ease, box-shadow .15s ease;
}

.whatsnew-badge:hover {
    background: #ffe8cc;
}

.whatsnew-badge__tag {
    text-transform: uppercase;
    letter-spacing: .03em;
}

.whatsnew-badge__version {
    font-weight: 500;
    opacity: .8;
}

.whatsnew-badge.is-new {
    background: #f97316;
    color: #fff;
    animation: whatsnew-pulse 1.6s ease-in-out infinite;
}

@keyframes whatsnew-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(249, 115, 22, .55);
    }
    50% {
        box-shadow: 0 0 0 .4rem rgba(249, 115, 22, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .whatsnew-badge.is-new {
        animation: none;
    }
}

/* What's-new modal body */
.whatsnew-modal__intro {
    font-weight: 600;
    margin-bottom: .75rem;
}

.whatsnew-modal__list {
    margin: 0;
    padding-left: 1.1rem;
}

.whatsnew-modal__list li {
    margin-bottom: .5rem;
}

/* Changelog archive page */
.changelog {
    max-width: 760px;
    margin: 2rem auto;
}

.changelog__header {
    margin-bottom: 2rem;
}

.changelog__heading {
    margin-bottom: .25rem;
}

.changelog__lead {
    color: #6b7280;
    margin: 0;
}

.changelog-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.changelog-timeline::before {
    content: "";
    position: absolute;
    left: .5rem;
    top: .25rem;
    bottom: .25rem;
    width: 2px;
    background: #e5e7eb;
}

.changelog-timeline__item {
    position: relative;
    padding-left: 2.25rem;
    margin-bottom: 1.75rem;
}

.changelog-timeline__marker {
    position: absolute;
    left: .125rem;
    top: .35rem;
    width: .85rem;
    height: .85rem;
    border-radius: 50%;
    background: #f97316;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #f97316;
}

.changelog-timeline__card {
    background: #fff;
    border: 1px solid #eef0f2;
    border-radius: .5rem;
    padding: 1rem 1.25rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}

.changelog-timeline__meta {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .35rem;
}

.changelog-timeline__version {
    font-weight: 600;
    color: #b45309;
    background: #fff4e5;
    border-radius: 999px;
    padding: .1rem .55rem;
    font-size: .8rem;
}

.changelog-timeline__date {
    color: #9ca3af;
    font-size: .8rem;
}

.changelog-timeline__title {
    font-size: 1.05rem;
    margin: 0 0 .5rem;
}

.changelog-timeline__list {
    margin: 0;
    padding-left: 1.1rem;
}

.changelog-timeline__list li {
    margin-bottom: .4rem;
    color: #374151;
}
