.changelog-shell {
    --changelog-accent: #ff007f;
    --changelog-cyan: #00f0ff;
    max-width: 1040px;
    margin: 0 auto;
    padding: 36px 20px 72px;
    color: #e2e8f0;
}

.changelog-hero {
    position: relative;
    overflow: hidden;
    padding: 34px 34px 30px;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 24px;
    background:
        radial-gradient(circle at 88% 12%, rgba(112, 0, 255, .34), transparent 38%),
        radial-gradient(circle at 8% 100%, rgba(255, 0, 127, .23), transparent 42%),
        linear-gradient(135deg, rgba(20, 23, 38, .97), rgba(8, 10, 18, .98));
    box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
}

.changelog-hero::after {
    content: '';
    position: absolute;
    right: -90px;
    bottom: -140px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(0, 240, 255, .16);
    border-radius: 50%;
    box-shadow: 0 0 100px rgba(0, 240, 255, .08);
    pointer-events: none;
}

.changelog-back {
    position: relative;
    z-index: 1;
    display: inline-flex;
    margin-bottom: 24px;
    color: #9aa8bd;
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
    transition: color .18s ease;
}

.changelog-back:hover {
    color: #ffffff;
}

.changelog-kicker {
    position: relative;
    z-index: 1;
    color: #8be9ff;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .16em;
}

.changelog-hero h1 {
    position: relative;
    z-index: 1;
    margin: 10px 0 12px;
    color: #ffffff;
    font-size: clamp(2.2rem, 6vw, 4.2rem);
    line-height: .98;
    letter-spacing: -.055em;
}

.changelog-hero p {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0;
    color: #b7c2d5;
    font-size: .98rem;
    line-height: 1.65;
}

.changelog-current {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    padding: 7px 11px;
    border: 1px solid rgba(0, 240, 255, .22);
    border-radius: 999px;
    background: rgba(0, 240, 255, .07);
    color: #b8c8db;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .68rem;
}

.changelog-current strong {
    color: #8be9ff;
}

.changelog-current-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #19f7c8;
    box-shadow: 0 0 12px rgba(25, 247, 200, .8);
}

.changelog-list {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.changelog-entry {
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .085);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(22, 24, 36, .82), rgba(12, 14, 22, .88));
    box-shadow: 0 14px 36px rgba(0, 0, 0, .18);
}

.changelog-entry.is-latest {
    border-color: rgba(255, 0, 127, .32);
    box-shadow: 0 14px 42px rgba(255, 0, 127, .08);
}

.changelog-entry-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.changelog-version {
    color: #ff8fc6;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.changelog-entry h2 {
    margin: 4px 0 0;
    color: #ffffff;
    font-size: clamp(1.18rem, 2.5vw, 1.55rem);
    line-height: 1.15;
    letter-spacing: -.025em;
}

.changelog-current-badge {
    flex: 0 0 auto;
    padding: 5px 8px;
    border: 1px solid rgba(0, 240, 255, .35);
    border-radius: 999px;
    background: rgba(0, 240, 255, .1);
    color: #8be9ff;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .09em;
}

.changelog-badges {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.changelog-milestone {
    flex: 0 0 auto;
    padding: 5px 9px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .09em;
}

.changelog-milestone.is-major {
    border-color: rgba(255, 0, 127, .45);
    background: rgba(255, 0, 127, .13);
    color: #ffd6ea;
    box-shadow: 0 0 18px rgba(255, 0, 127, .12);
}

.changelog-milestone.is-minor {
    border-color: rgba(0, 240, 255, .4);
    background: rgba(0, 240, 255, .10);
    color: #c9f7ff;
}

.changelog-entry.is-milestone-major {
    border-color: rgba(255, 0, 127, .45);
    box-shadow: 0 14px 42px rgba(255, 0, 127, .14);
}

.changelog-entry.is-milestone-minor {
    border-color: rgba(0, 240, 255, .3);
    box-shadow: 0 14px 42px rgba(0, 240, 255, .07);
}

.changelog-summary {
    max-width: 760px;
    margin: 14px 0 0;
    color: #b7c2d5;
    font-size: .93rem;
    line-height: 1.65;
}

.changelog-highlights {
    display: grid;
    gap: 8px;
    margin: 15px 0 0;
    padding: 0;
    list-style: none;
}

.changelog-highlights li {
    position: relative;
    padding-left: 18px;
    color: #d9e2ef;
    font-size: .9rem;
    line-height: 1.55;
}

.changelog-highlights li::before {
    content: '';
    position: absolute;
    left: 1px;
    top: .58em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff007f, #00f0ff);
    box-shadow: 0 0 10px rgba(255, 0, 127, .35);
}

.changelog-entry-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .065);
}

.changelog-date {
    color: #7f8ca2;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .68rem;
    letter-spacing: .02em;
}

.changelog-empty {
    margin-top: 20px;
    padding: 48px 24px;
    border: 1px dashed rgba(255, 255, 255, .14);
    border-radius: 18px;
    background: rgba(12, 14, 22, .55);
    text-align: center;
}

.changelog-empty-icon {
    font-size: 2rem;
}

.changelog-empty h2 {
    margin: 10px 0 8px;
    color: #ffffff;
    font-size: 1.3rem;
}

.changelog-empty p {
    margin: 0;
    color: #9aa8bd;
    line-height: 1.6;
}

.changelog-button {
    display: inline-flex;
    margin-top: 20px;
    padding: 10px 14px;
    border-radius: 9px;
    background: linear-gradient(135deg, #ff007f, #7000ff);
    color: #ffffff;
    font-size: .82rem;
    font-weight: 800;
    text-decoration: none;
}

.changelog-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .07);
    color: #68758a;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .64rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.changelog-footer a {
    color: #8be9ff;
    text-decoration: none;
}

.changelog-footer a:hover {
    color: #ffffff;
}

@media (max-width: 640px) {
    .changelog-shell {
        padding: 20px 14px 48px;
    }

    .changelog-hero {
        padding: 26px 22px 24px;
        border-radius: 18px;
    }

    .changelog-entry {
        padding: 20px;
        border-radius: 15px;
    }

    .changelog-entry-head {
        gap: 10px;
    }

    .changelog-entry-foot {
        align-items: flex-start;
        flex-direction: column;
    }
}
