.vault-tools {
    margin-bottom: 8px;
}

.vault-shelf-animate {
    animation: vault-swap 0.3s var(--ease-out) both;
}

.vault-none {
    margin: 32px 0;
    color: var(--ink-2);
}

.rel-list,
.vfile-list {
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--hairline);
    list-style: none;
}

.rel {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) minmax(232px, 280px);
    grid-template-areas:
        "icon body action"
        ". discs discs";
    column-gap: 22px;
    row-gap: 8px;
    padding: 26px 0 16px;
    border-bottom: 1px solid var(--hairline);
}

.rel-icon {
    grid-area: icon;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: var(--r-2);
    overflow: hidden;
}

.rel-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.rel-icon-letter {
    border: 1px solid var(--hairline-strong);
    color: var(--ink-2);
    font-size: var(--step-2);
    font-weight: 700;
}

.rel-body {
    grid-area: body;
    display: grid;
    align-content: start;
    gap: 6px;
    min-width: 0;
}

.rel-name {
    font-size: var(--step-1);
    overflow-wrap: anywhere;
}

.rel-ver {
    margin-left: 6px;
    color: var(--ink-2);
    font-family: var(--font-mono);
    font-size: var(--step-0);
    font-weight: 400;
}

.rel-pre {
    margin: 0;
    color: var(--ink-2);
    font-size: var(--step--1);
    font-weight: 600;
}

.rel-blurb {
    max-width: 68ch;
    margin: 0;
    color: var(--ink-2);
    font-size: var(--step-0);
    line-height: 1.55;
}

.rel-meta {
    margin: 0;
    color: var(--ink-2);
    font-size: var(--step--1);
    font-variant-numeric: tabular-nums;
}

.rel-action {
    grid-area: action;
    align-self: start;
    display: grid;
}

.dl-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 10px 18px;
    border: 1px solid var(--hairline-strong);
    border-radius: var(--r-2);
    background: var(--wash);
    color: var(--ink);
    text-decoration: none;
    box-shadow: var(--shadow-1);
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s var(--ease-out), box-shadow 0.2s ease;
}

.dl-btn:hover {
    border-color: rgb(var(--sun-rgb) / 0.85);
    background: var(--wash-strong);
}

.dl-btn:active {
    transform: translateY(1px);
}

.dl-btn svg {
    flex: none;
    width: 20px;
    height: 20px;
}

.dl-text {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.dl-main {
    font-size: var(--step-0);
    font-weight: 700;
    line-height: 1.25;
}

.dl-sub {
    color: var(--ink-2);
    font-size: var(--step--1);
    line-height: 1.3;
}

.rel-pick {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 18px;
}

.rel-pick-label {
    width: 100%;
    color: var(--ink-2);
    font-size: var(--step--1);
    font-weight: 600;
}

.rel-pick-os {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 40px;
    font-size: var(--step-0);
    font-weight: 600;
}

.rel-pick-os .os-icon {
    flex: none;
    color: var(--ink-3);
}

.rel-quiet {
    margin: 0;
    color: var(--ink-2);
    font-size: var(--step-0);
    line-height: 1.5;
}

.rel-quiet a {
    color: var(--ink-2);
}

.rel-discs {
    grid-area: discs;
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    gap: 0 28px;
    min-width: 0;
}

.rel-discs .disc[open] {
    flex: 1 0 100%;
    min-width: 0;
}

.rel-more-note {
    margin: 2px 0 10px;
    color: var(--ink-2);
    font-size: var(--step--1);
}

.rel-log {
    padding: 4px 0 14px 22px;
}

/* the newest build leads the shelf at hero scale; its download is the page's one primary */
.rel-hero {
    grid-template-columns: 96px minmax(0, 1fr) minmax(260px, 320px);
    column-gap: 28px;
    row-gap: 14px;
    padding: clamp(28px, 4vh, 44px) 0 24px;
}

.rel-hero .rel-icon {
    width: 96px;
    height: 96px;
    border-radius: var(--r-3);
}

.rel-hero .rel-icon-letter {
    font-size: var(--step-3);
}

.rel-hero .rel-body {
    gap: 8px;
}

.rel-hero .rel-name {
    font-size: var(--step-2);
    line-height: 1.1;
}

.rel-hero .rel-ver {
    margin-left: 10px;
    font-size: var(--step-1);
}

.rel-hero .rel-blurb {
    font-size: var(--step-1);
}

.rel-hero .rel-action {
    align-self: center;
}

.dl-btn-hero {
    min-height: 68px;
    padding: 12px 22px;
    border-color: transparent;
    background: var(--ink);
    color: var(--ink-deep);
}

.dl-btn-hero:hover {
    border-color: transparent;
    background: #ffffff;
    box-shadow: var(--shadow-2);
}

.dl-btn-hero svg {
    width: 24px;
    height: 24px;
}

.dl-btn-hero .dl-main {
    font-size: var(--step-1);
}

.dl-btn-hero .dl-sub {
    color: rgb(11 24 48 / 0.72);
}

.rel-hero .rel-pick-os {
    font-size: var(--step-1);
}

.rel-hero.is-in > * {
    animation: rise-in 0.7s var(--ease-out) both;
    animation-delay: calc(var(--i) * 80ms);
}

.build-list {
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--hairline);
    list-style: none;
}

.build {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr) 64px 132px auto;
    grid-template-areas:
        "os file size count get"
        ". hash hash hash hash";
    align-items: baseline;
    column-gap: 18px;
    row-gap: 6px;
    padding: 12px 0;
    border-bottom: 1px solid var(--hairline);
    font-size: var(--step--1);
}

.build-os {
    grid-area: os;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink-2);
    font-weight: 600;
}

.build-os .os-icon {
    flex: none;
    align-self: center;
    color: var(--ink-3);
}

.build-file {
    grid-area: file;
    display: grid;
    gap: 2px;
    min-width: 0;
}

.build-name {
    color: var(--ink);
    font-size: var(--step-0);
    overflow-wrap: anywhere;
}

.build-kind {
    color: var(--ink-2);
    line-height: 1.45;
}

.build-kind b {
    color: var(--ink-2);
    font-weight: 600;
}

.build-size,
.build-count {
    color: var(--ink-2);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.build-size {
    grid-area: size;
    text-align: right;
}

.build-count {
    grid-area: count;
}

.build-get {
    grid-area: get;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    font-size: var(--step-0);
    font-weight: 600;
    white-space: nowrap;
}

.build-get svg {
    flex: none;
    align-self: center;
}

.build-hash {
    grid-area: hash;
    display: flex;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
    margin: 0;
    color: var(--ink-2);
    font-size: var(--step--1);
}

.build-hash-label {
    flex: none;
    font-weight: 600;
}

.build-hash code {
    min-width: 0;
    color: var(--ink-2);
    font-family: var(--font-mono);
    font-size: var(--step--1);
    overflow-wrap: anywhere;
    user-select: all;
}

.vfile {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    grid-template-areas:
        "icon body acts"
        ". peek peek";
    align-items: start;
    column-gap: 16px;
    row-gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid var(--hairline);
}

.vfile-icon {
    grid-area: icon;
    padding-top: 3px;
    color: var(--ink-3);
}

.vfile-icon svg {
    display: block;
    width: 20px;
    height: 20px;
}

.vfile-body {
    grid-area: body;
    display: grid;
    gap: 4px;
    min-width: 0;
}

.vfile-name {
    font-size: var(--step-1);
    font-weight: 600;
    overflow-wrap: anywhere;
}

.vfile-meta {
    margin: 0;
    color: var(--ink-2);
    font-size: var(--step--1);
    font-variant-numeric: tabular-nums;
}

.vfile-sum {
    margin-left: 10px;
    color: var(--ink-2);
    font-size: var(--step--1);
}

.vfile-acts {
    grid-area: acts;
    display: flex;
    gap: 8px;
}

.vfile-peek {
    grid-area: peek;
}

@media (max-width: 760px) {
    .rel,
    .rel-hero {
        grid-template-columns: 40px minmax(0, 1fr);
        grid-template-areas:
            "icon body"
            "action action"
            "discs discs";
        column-gap: 14px;
        row-gap: 14px;
    }

    .rel-icon {
        width: 40px;
        height: 40px;
    }

    .rel-hero {
        grid-template-columns: 64px minmax(0, 1fr);
        column-gap: 16px;
        padding-top: 24px;
    }

    .rel-hero .rel-icon {
        width: 64px;
        height: 64px;
        border-radius: var(--r-2);
    }

    .rel-hero .rel-ver {
        font-size: var(--step-0);
    }

    .rel-hero .rel-blurb {
        font-size: var(--step-0);
    }

    .rel-discs {
        row-gap: 0;
    }

    .rel-log {
        padding-left: 0;
    }

    .build {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "os get"
            "file file"
            "size count"
            "hash hash";
    }

    .build-size {
        text-align: left;
    }

    .build-count {
        text-align: right;
    }

    .vfile {
        grid-template-columns: 24px minmax(0, 1fr);
        grid-template-areas:
            "icon body"
            ". acts"
            "peek peek";
        row-gap: 10px;
    }
}
