.changelog-main{
    width:min(1100px,94vw);
    margin:0 auto;
    padding:24px 0 60px;
}

.archive-intro{
    margin-bottom:24px;
}

.archive-plate{
    position:relative;
    display:flex;
    flex-direction:column;
    gap:5px;
    padding:18px 22px;
    border:2px solid #1b1d1f;
    border-radius:5px;
    background:
        linear-gradient(180deg,#8d949a,#4d5358);
    color:#17191b;
    box-shadow:
        inset 0 2px 0 rgba(255,255,255,.25),
        inset 0 -8px 14px rgba(0,0,0,.42),
        0 6px 10px rgba(0,0,0,.4);
}

.archive-plate::before,
.archive-plate::after{
    content:"";
    position:absolute;
    top:50%;
    width:11px;
    height:11px;
    transform:translateY(-50%);
    border-radius:50%;
    background:
        radial-gradient(circle at 35% 30%,
            #f4f6f7 0 12%,
            #b8bec4 30%,
            #666d73 65%,
            #292e32 100%);
    border:1px solid #25292d;
    box-shadow:
        inset 0 1px 1px rgba(255,255,255,.6),
        0 2px 3px rgba(0,0,0,.5);
}

.archive-plate::before{left:8px}
.archive-plate::after{right:8px}

.plate-kicker{
    font:700 9px var(--mono);
    letter-spacing:.16em;
}

.archive-plate strong{
    font:800 34px/1 var(--cond);
    letter-spacing:.08em;
}

.archive-plate small{
    font:600 10px var(--mono);
    opacity:.78;
}

.archive{
    display:flex;
    flex-direction:column;
    gap:24px;
}

.archive-shelf{
    position:relative;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:14px;
    padding:22px 18px 18px;
    border:2px solid #17191b;
    border-radius:7px;
    background:
        linear-gradient(#444a50,#24282c);
    box-shadow:
        inset 0 2px 0 rgba(255,255,255,.1),
        inset 0 -10px 18px rgba(0,0,0,.55),
        0 8px 14px rgba(0,0,0,.42);
}

.archive-shelf::before,
.archive-shelf::after{
    content:"";
    position:absolute;
    top:8px;
    width:12px;
    height:12px;
    border-radius:50%;
    background:
        radial-gradient(circle at 35% 30%,
            #f3f5f7 0 12%,
            #b7bdc3 28%,
            #686f76 62%,
            #30353a 100%);
    border:1px solid #24282c;
    box-shadow:
        inset 0 1px 1px rgba(255,255,255,.65),
        inset 0 -2px 2px rgba(0,0,0,.55),
        0 2px 3px rgba(0,0,0,.55);
    z-index:4;
}

.archive-shelf::before{left:8px}
.archive-shelf::after{right:8px}

.archive-shelf .drawer:first-child::before,
.archive-shelf .drawer:last-child::after{
    content:"";
    position:absolute;
    top:-12px;
    width:12px;
    height:12px;
    border-radius:50%;
    background:
        radial-gradient(circle at 35% 30%,
            #f3f5f7 0 12%,
            #b7bdc3 28%,
            #686f76 62%,
            #30353a 100%);
    border:1px solid #24282c;
    box-shadow:
        inset 0 1px 1px rgba(255,255,255,.65),
        inset 0 -2px 2px rgba(0,0,0,.55),
        0 2px 3px rgba(0,0,0,.55);
    z-index:5;
}

.archive-shelf .drawer:first-child::before{left:-12px}
.archive-shelf .drawer:last-child::after{right:-12px}

.drawer{
    position:relative;
}

.drawer-face{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:space-between;
    width:100%;
    min-height:96px;
    padding:18px 16px;
    border:2px solid #454846;
    border-radius:4px;
    background:
        linear-gradient(#b9bbb7,#777a76);
    box-shadow:
        inset 0 2px 0 rgba(255,255,255,.4),
        inset 0 -10px 12px rgba(0,0,0,.35),
        0 4px 5px rgba(0,0,0,.45);
    color:#171817;
}

.drawer.active .drawer-face{
    cursor:pointer;
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.drawer.active .drawer-face:hover,
.drawer.active .drawer-face:focus-visible{
    transform:translateY(-4px);
    box-shadow:
        inset 0 2px 0 rgba(255,255,255,.45),
        inset 0 -10px 12px rgba(0,0,0,.3),
        0 8px 10px rgba(0,0,0,.5);
}

.drawer.active .drawer-face:focus-visible{
    outline:2px solid var(--orange);
    outline-offset:4px;
}

.drawer-label{
    font:800 23px/1 var(--cond);
    letter-spacing:.06em;
}

.drawer-handle{
    position:absolute;
    left:50%;
    bottom:13px;
    width:42px;
    height:8px;
    transform:translateX(-50%);
    border-radius:5px;
    background:#303332;
    box-shadow:
        inset 0 2px 2px rgba(255,255,255,.12),
        0 2px 3px rgba(0,0,0,.45);
}

.drawer-meta{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    gap:5px;
}

.drawer-meta small,
.drawer-meta b{
    font:700 9px var(--mono);
    letter-spacing:.12em;
}

.drawer-meta small{
    padding:3px 6px;
    border:1px solid #4d514e;
    background:rgba(255,255,255,.16);
}

.drawer-content{
    margin-top:10px;
    padding:24px;
    border:2px solid #242729;
    border-radius:5px;
    background:
        linear-gradient(135deg,#d8d1bd,#aaa28f);
    color:#211f1a;
    box-shadow:
        inset 0 2px 0 rgba(255,255,255,.35),
        inset 0 -10px 18px rgba(0,0,0,.18),
        0 6px 10px rgba(0,0,0,.35);
}

.release-header{
    display:flex;
    justify-content:space-between;
    gap:20px;
    align-items:flex-start;
    padding-bottom:16px;
    border-bottom:2px solid rgba(0,0,0,.25);
}

.release-kicker,
.section-label,
.release-stamp span,
.release-codename span{
    display:block;
    font:700 9px var(--mono);
    letter-spacing:.14em;
}

.release-header strong{
    display:block;
    margin-top:4px;
    font:800 42px/1 var(--cond);
}

.release-stamp{
    text-align:right;
}

.release-stamp b{
    display:block;
    margin-top:4px;
    font:700 11px var(--mono);
}

.release-codename{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;
    margin-top:16px;
    padding:10px 12px;
    border:1px solid rgba(0,0,0,.2);
    background:rgba(255,255,255,.18);
}

.release-codename strong{
    font:700 12px var(--mono);
    letter-spacing:.1em;
}

.release-section{
    margin-top:24px;
}

.release-section h2{
    margin:7px 0 10px;
    font:800 30px/1 var(--cond);
}

.release-section p{
    max-width:760px;
    margin:0;
    font:600 12px/1.7 var(--mono);
}

.release-section ul{
    margin:16px 0 0;
    padding-left:20px;
}

.release-section li{
    margin:6px 0;
    font:600 11px/1.6 var(--mono);
}

.release-note{
    padding:16px;
    border-left:4px solid #5a5d59;
    background:rgba(0,0,0,.06);
}

.release-note strong{
    display:block;
    margin-top:12px;
    font:700 11px/1.5 var(--mono);
}

.release-footer{
    display:flex;
    justify-content:space-between;
    gap:12px;
    margin-top:24px;
    padding-top:10px;
    border-top:1px solid rgba(0,0,0,.22);
    font:700 9px var(--mono);
    letter-spacing:.1em;
}

.drawer.open .drawer-face{
    background:
        linear-gradient(#d0d1cc,#8c8f8a);
}

.drawer.damaged .drawer-face{
    cursor:default;
    color:#090909;
    border-color:#1c1d1c;
    background:
        radial-gradient(circle at 18% 28%,rgba(0,0,0,.86) 0 12%,transparent 29%),
        radial-gradient(circle at 78% 67%,rgba(0,0,0,.78) 0 17%,transparent 35%),
        linear-gradient(145deg,#646562,#292b29);
    filter:contrast(.82);
}

.drawer.damaged:nth-child(2) .drawer-face{
    transform:rotate(-1.2deg);
}

.drawer.damaged:nth-child(3) .drawer-face{
    transform:rotate(1.5deg);
}

.drawer.damaged:nth-child(4) .drawer-face{
    transform:rotate(-2deg);
}

.drawer.damaged .drawer-handle{
    background:#1b1d1c;
}

@media(max-width:720px){
    .archive-shelf{
        grid-template-columns:repeat(2,1fr);
        padding:18px 12px 12px;
        gap:10px;
    }

    .archive-plate strong{
        font-size:28px;
    }

    .drawer-face{
        min-height:82px;
        padding:14px 10px;
    }

    .drawer-label{
        font-size:18px;
    }

    .drawer-meta small,
    .drawer-meta b{
        font-size:8px;
    }

    .drawer-content{
        padding:16px;
    }

    .release-header{
        flex-direction:column;
    }

    .release-stamp{
        text-align:left;
    }

    .release-header strong{
        font-size:36px;
    }

    .release-codename{
        align-items:flex-start;
        flex-direction:column;
    }
}


/* workshop exits */

.changelog-exits{
    display:flex;
    align-items:flex-end;
    justify-content:center;
    gap:clamp(28px,6vw,72px);
    width:min(760px,94vw);
    margin:54px auto 0;
    padding:28px 20px 0;
}

.changelog-exit-crt{
    width:min(250px,42vw);
    color:inherit;
    text-decoration:none;
    transition:transform .25s cubic-bezier(.2,.8,.2,1);
}

.changelog-exit-crt:hover,
.changelog-exit-crt:focus-visible{
    transform:translateY(-6px);
}

.changelog-exit-crt:focus-visible,
.changelog-exit-drawer:focus-visible{
    outline:2px solid var(--orange);
    outline-offset:6px;
    border-radius:8px;
}

.changelog-exit-crt .bezel{
    padding:15px 15px 11px;
    border-radius:19px;
    background:linear-gradient(#4d545c,#2a2e33);
    box-shadow:
        inset 0 2px 0 rgba(255,255,255,.2),
        inset 0 -3px 6px rgba(0,0,0,.5),
        0 16px 22px rgba(0,0,0,.45);
}

.changelog-exit-crt .screen{
    aspect-ratio:4/3;
    padding:14px;
    gap:5px;
}

.changelog-exit-crt .screen strong{
    font-size:clamp(30px,7vw,44px);
}

.changelog-exit-crt .screen em{
    font-size:10px;
}

.changelog-exit-crt .ctl{
    margin-top:8px;
}

.changelog-exit-crt .tag{
    margin-top:10px;
}

.changelog-exit-drawer{
    position:relative;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    width:min(250px,42vw);
    min-height:150px;
    padding:18px;
    color:#171817;
    text-decoration:none;
    border:2px solid #454846;
    border-radius:4px;
    background:
        linear-gradient(#b9bbb7,#777a76);
    box-shadow:
        inset 0 2px 0 rgba(255,255,255,.4),
        inset 0 -10px 12px rgba(0,0,0,.35),
        0 8px 12px rgba(0,0,0,.45);
    transition:
        transform .25s cubic-bezier(.2,.8,.2,1),
        box-shadow .25s ease;
}

.changelog-exit-drawer:hover{
    transform:translateY(-6px);
    box-shadow:
        inset 0 2px 0 rgba(255,255,255,.45),
        inset 0 -10px 12px rgba(0,0,0,.3),
        0 12px 16px rgba(0,0,0,.5);
}

.changelog-exit-drawer::before{
    content:"";
    position:absolute;
    top:10px;
    left:10px;
    width:10px;
    height:10px;
    border-radius:50%;
    background:
        radial-gradient(circle at 35% 30%,
            #f3f5f7 0 12%,
            #b7bdc3 30%,
            #686f76 65%,
            #30353a 100%);
    border:1px solid #24282c;
    box-shadow:
        inset 0 1px 1px rgba(255,255,255,.65),
        0 2px 3px rgba(0,0,0,.55);
}

.changelog-exit-drawer .drawer-label{
    font:800 25px/1 var(--cond);
    letter-spacing:.08em;
}

.changelog-exit-drawer .drawer-handle{
    bottom:36px;
    width:48px;
}

.changelog-exit-drawer small{
    margin-top:28px;
    font:700 9px var(--mono);
    letter-spacing:.13em;
}

@media(max-width:640px){
    .changelog-exits{
        flex-direction:column;
        align-items:center;
        gap:28px;
    }

    .changelog-exit-crt,
    .changelog-exit-drawer{
        width:min(280px,82vw);
    }
}

.changelog-exit-crt:hover .bezel,
.changelog-exit-crt:focus-visible .bezel{
    box-shadow:
        inset 0 2px 0 rgba(255,255,255,.22),
        inset 0 -3px 6px rgba(0,0,0,.5),
        0 18px 26px rgba(0,0,0,.48),
        0 0 16px rgba(141,255,176,.08);
}

.changelog-exit-crt:hover .screen,
.changelog-exit-crt:focus-visible .screen{
    box-shadow:
        inset 0 0 30px #000,
        inset 0 0 0 3px #0a0c0e,
        0 0 12px rgba(141,255,176,.12);
}

.archive-plate,
.archive-shelf{
    transition:
        box-shadow .25s ease,
        filter .25s ease;
}

.archive-shelf:hover{
    filter:brightness(1.025);
    box-shadow:
        inset 0 2px 0 rgba(255,255,255,.12),
        inset 0 -10px 18px rgba(0,0,0,.55),
        0 11px 18px rgba(0,0,0,.48);
}

.drawer.active .drawer-face:hover,
.drawer.active .drawer-face:focus-visible{
    filter:brightness(1.035);
}

.changelog-exit-drawer:focus-visible{
    box-shadow:
        inset 0 2px 0 rgba(255,255,255,.45),
        inset 0 -10px 12px rgba(0,0,0,.3),
        0 12px 16px rgba(0,0,0,.5);
}

@media(prefers-reduced-motion:reduce){
    .archive-plate,
    .archive-shelf{
        transition:none;
    }
}
