* {
    box-sizing: border-box;
}

:root {
    --text: #161513;
    --background: #f6f4f3;

    --button-color: #211f1d;

    --line: #dbd9d7;
    --link: #00688c;
    --danger: #b42318;

    --size-text: #64605f;
    --size-background: #ebeaea;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    background: var(--background);
    font-family: system-ui;
}

.page-shell {
    width: min(1024px, calc(100% - 48px));
    margin: 0 auto;
    padding: 56px 0;
}

.hero {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    gap: 14px;
}

.page-title {
    font-size: 28px;
    line-height: 35px;
    letter-spacing: -0.02em;
    font-weight: 700;

    color: var(--text);
}

.status {
    font-size: 14px;
    line-height: 17.5px;
    font-weight: 400;
    font-style: italic;
}

.status[data-state="error"] {
    color: var(--danger);
}

.release-table {
    width: 100%;
    margin-top: 24px;
    border-collapse: collapse;
    text-wrap: nowrap;
}

.release-table th {
    font-size: 14px;
    line-height: normal;
    letter-spacing: normal;
    font-weight: 600;

    height: 50px;

    text-align: left;
    color: var(--text);
}

.release-table td {
    font-size: 14px;
    line-height: 17.5px;
    letter-spacing: normal;
    font-weight: 400;

    height: 50px;

    border-top: 1px solid var(--line);
    color: var(--text);
}

.release-download-header,
.release-download-cell {
    width: 1%;
    text-align: right;
}

.item-size {
    font-family: monospace;
    color: var(--size-text);
    background: var(--size-background);
    font-size: 12px;
    line-height: 18px;
    font-weight: 400;
    padding: 2px 4px;
    border-radius: 4px;
}

.release-download {
    font-size: 14px;
    line-height: normal;
    letter-spacing: normal;
    font-weight: 600;
    text-decoration: none;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 14px;

    color: var(--background);
    background: var(--button-color);
    border-radius: 6px;
    transition: opacity 160ms ease;
}

.release-download:hover,
.release-download:focus-visible {
    opacity: 0.8;
}

.release-download:focus-visible {
    outline: 2px solid var(--link);
    outline-offset: 2px;
}

.release-download img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

@media (max-width: 800px) {
    .release-download-label {
        display: none;
    }
}

@media (max-width: 700px) {
    .release-table th:nth-child(4),
    .release-table td:nth-child(4) {
        display: none;
    }
}

@media (max-width: 550px) {
    .release-table th:nth-child(2),
    .release-table td:nth-child(2) {
        display: none;
    }
}
