.updates-page .updates {
    width: min(1320px, calc(100% - 48px));
}

.updates__layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.updates__rail {
    position: sticky;
    top: 96px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, .12) transparent;
}

.updates__lang {
    display: flex;
    gap: 6px;
    margin: 0 0 14px;
}

.updates__lang button {
    display: grid;
    place-items: center;
    width: 38px;
    height: 28px;
    padding: 0;
    border: 1px solid rgba(120, 165, 255, .14);
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    opacity: .55;
    transition: opacity .15s ease, background-color .15s ease, border-color .15s ease;
}

.updates__lang button:hover {
    opacity: .9;
}

.updates__lang button[aria-pressed="true"] {
    border-color: rgba(77, 141, 255, .55);
    background: rgba(77, 141, 255, .14);
    opacity: 1;
}

.updates__lang img {
    display: block;
    width: 22px;
    height: 15px;
    border-radius: 2px;
    object-fit: cover;
}

.updates__rail h1 {
    margin: 0 0 18px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.updates__month {
    margin: 0 0 6px;
    color: var(--text-3);
    font-size: 12px;
    font-weight: 500;
}

.updates__group {
    display: grid;
    gap: 2px;
    margin-bottom: 18px;
    padding-left: 14px;
    border-left: 1px solid rgba(120, 165, 255, .14);
}

.updates__item {
    position: relative;
    display: grid;
    gap: 1px;
    padding: 8px 10px;
    border-radius: 10px;
    color: #dfe5f1;
    text-decoration: none;
    transition: background-color .15s ease;
}

.updates__item:hover {
    background: rgba(120, 165, 255, .07);
}

.updates__item[aria-current="page"] {
    background: rgba(77, 141, 255, .14);
    color: #fff;
}

.updates__item[aria-current="page"]::before {
    content: "";
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: -16px;
    width: 3px;
    border-radius: 3px;
    background: #4d8dff;
    box-shadow: 0 0 10px #4d8dff;
}

.updates__item b {
    font-size: 14px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.updates__item small {
    overflow: hidden;
    color: var(--text-3);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.updates__card {
    min-width: 0;
}

.updates__card.is-busy {
    opacity: .55;
    transition: opacity .2s ease .1s;
}

.updates__hero {
    position: relative;
    overflow: hidden;
    padding: 46px 48px;
    border: 1px solid rgba(120, 165, 255, .2);
    border-radius: var(--r-2xl);
    background:
        radial-gradient(80% 120% at 100% 0, rgba(77, 141, 255, .45), transparent 60%),
        radial-gradient(60% 90% at 0 100%, rgba(42, 85, 224, .25), transparent 60%),
        #0b1222;
}

.updates__big {
    position: absolute;
    right: 36px;
    bottom: -36px;
    color: rgba(255, 255, 255, .06);
    font-size: 180px;
    font-weight: 900;
    letter-spacing: -.06em;
    line-height: 1;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

.updates__meta {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 12px;
    margin: 0;
    color: #a7aebd;
    font-size: 14.5px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.updates__meta b {
    color: #8fb4ff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -.01em;
}

.updates__meta span::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 4px;
    margin-right: 12px;
    border-radius: 50%;
    background: currentColor;
    vertical-align: middle;
    opacity: .6;
}

.updates__hero h2 {
    position: relative;
    max-width: 680px;
    margin: 10px 0 14px;
    color: var(--text);
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.12;
}

.updates__summary {
    position: relative;
    max-width: 680px;
    margin: 0;
    color: #cdd5e5;
    font-size: 15.5px;
    line-height: 1.65;
}

.updates__foot {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
}

.updates__stat {
    padding: 6px 12px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, .07);
    color: #dfe5f1;
    font-size: 12.5px;
    font-variant-numeric: tabular-nums;
}

.updates__sections {
    margin-top: 28px;
    padding: 0 8px;
}

.updates__section {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
    padding: 22px 0;
    border-top: 1px solid rgba(120, 165, 255, .12);
}

.updates__section:first-child {
    border-top: 0;
}

.updates__section h3 {
    margin: 0;
    color: var(--text);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.4;
}

.updates__section h3 small {
    display: block;
    margin-top: 4px;
    color: var(--text-3);
    font-size: 12px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0;
}

.updates__section ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.updates__section li {
    position: relative;
    padding-left: 16px;
    color: #c9d0dd;
    font-size: 14.5px;
    line-height: 1.55;
}

.updates__section li::before {
    content: "";
    position: absolute;
    top: 9px;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #8fb4ff;
}

.updates__note {
    margin: 0;
    color: var(--text-3);
    font-size: 14px;
}

@media (max-width: 860px) {
    .updates-page .updates {
        width: calc(100% - 32px);
    }

    .updates__layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .updates__rail {
        position: static;
        max-height: none;
        overflow: visible;
    }

    .updates__rail h1 {
        margin-bottom: 12px;
        font-size: 26px;
    }

    .updates__list {
        display: flex;
        gap: 6px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
    }

    .updates__list::-webkit-scrollbar {
        display: none;
    }

    .updates__month {
        display: none;
    }

    .updates__group {
        display: contents;
    }

    .updates__item {
        flex: none;
        width: 168px;
        border: 1px solid rgba(120, 165, 255, .14);
    }

    .updates__item[aria-current="page"] {
        border-color: rgba(120, 165, 255, .45);
    }

    .updates__item[aria-current="page"]::before {
        display: none;
    }

    .updates__hero {
        padding: 28px 22px;
    }

    .updates__big {
        right: 16px;
        bottom: -18px;
        font-size: 96px;
    }

        .updates__sections {
        padding: 0;
    }

    .updates__section {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        padding: 18px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .updates__item,
    .updates__card.is-busy {
        transition: none;
    }
}
