.updates-page {
    --updates-cyan: #70f6ff;
    --updates-pink: #fa73c8;
    --updates-ice: #defbff;
    --updates-muted: #91aeb9;
    --updates-line: rgba(112, 246, 255, .19);
    background: #050912;
    color: var(--updates-ice);
}

.updates-shell {
    min-height: 100dvh;
    overflow: hidden;
    padding: 20px clamp(14px, 3.4vw, 52px) 28px;
    background:
        radial-gradient(ellipse at 83% 21%, rgba(22, 68, 88, .26), transparent 33%),
        radial-gradient(ellipse at 15% 53%, rgba(84, 18, 77, .13), transparent 40%),
        linear-gradient(145deg, #07111d 0%, #050912 58%, #080b16 100%);
}

.updates-shell::after {
    position: fixed;
    z-index: 0;
    inset: 0;
    content: "";
    pointer-events: none;
    opacity: .14;
    background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(178, 248, 255, .16) 4px, transparent 5px);
    mask-image: linear-gradient(transparent, #000 25%, #000 78%, transparent);
}

.updates-shell > *:not(.background-grid):not(.floating-particles) {
    position: relative;
    z-index: 1;
}

.updates-shell .background-grid {
    opacity: .32;
    background-size: 64px 64px;
    background-image:
        linear-gradient(rgba(90, 208, 228, .075) 1px, transparent 1px),
        linear-gradient(90deg, rgba(90, 208, 228, .075) 1px, transparent 1px);
}

.updates-shell .floating-particles::before,
.updates-shell .floating-particles::after {
    background: var(--updates-pink);
    box-shadow: 0 0 12px rgba(250, 115, 200, .75);
}

.updates-page .nav-bar {
    position: relative;
    z-index: 5;
    max-width: 1320px;
    margin-bottom: clamp(48px, 8vw, 106px);
    background: rgba(7, 20, 32, .72);
    border-color: rgba(112, 246, 255, .2);
    box-shadow: 0 18px 52px rgba(0, 0, 0, .18), inset 0 1px rgba(255, 255, 255, .025);
}

.updates-page .nav-logo {
    background: linear-gradient(100deg, #77faff, #f28dce 72%, #f8d7f3);
    -webkit-background-clip: text;
    background-clip: text;
}

.updates-page .nav-link.active {
    color: var(--updates-ice);
    border-color: rgba(250, 115, 200, .48);
    background: rgba(250, 115, 200, .085);
    text-shadow: 0 0 12px rgba(250, 115, 200, .3);
}

.updates-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    max-width: 1160px;
    min-height: 310px;
    margin: 0 auto clamp(60px, 8vw, 104px);
    padding: 0 1.5% 4px;
}

.updates-hero-copy { position: relative; z-index: 2; }

.updates-eyebrow,
.archive-kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #a1bcc5;
    font-size: 9px;
    letter-spacing: .24em;
    line-height: 1.7;
}

.updates-eyebrow span {
    width: 24px;
    height: 1px;
    background: var(--updates-pink);
    box-shadow: 0 0 10px rgba(250, 115, 200, .55);
}

.updates-hero h1 {
    margin: 24px 0 14px;
    color: #e4fbff;
    font-size: clamp(64px, 10vw, 132px);
    font-weight: 500;
    letter-spacing: -.075em;
    line-height: .78;
    text-shadow: 0 0 42px rgba(112, 246, 255, .1);
}

.updates-hero h1 em {
    color: var(--updates-cyan);
    font-weight: 400;
    font-style: normal;
    letter-spacing: -.09em;
}

.updates-lede {
    max-width: 420px;
    margin-top: 30px;
    color: #a6bbc3;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.8;
}

.archive-mark {
    position: relative;
    display: grid;
    flex: 0 0 236px;
    place-items: center;
    width: 236px;
    aspect-ratio: 1;
    margin: 0 5% 4px 0;
    color: var(--updates-cyan);
}

.archive-mark::before,
.archive-mark::after {
    position: absolute;
    inset: 13%;
    content: "";
    border: 1px solid rgba(112, 246, 255, .17);
    transform: rotate(45deg);
}

.archive-mark::after {
    inset: 23%;
    border-color: rgba(250, 115, 200, .27);
    transform: rotate(0deg);
}

.archive-mark-orbit {
    position: absolute;
    inset: 5%;
    border: 1px solid rgba(112, 246, 255, .32);
    border-radius: 50%;
    transform: rotateX(67deg) rotate(-25deg);
}

.archive-mark-orbit::before,
.archive-mark-orbit::after {
    position: absolute;
    top: 50%;
    left: -4px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    content: "";
    background: var(--updates-pink);
    box-shadow: 0 0 13px rgba(250, 115, 200, .75);
}

.archive-mark-orbit::after {
    right: -4px;
    left: auto;
    background: var(--updates-cyan);
    box-shadow: 0 0 13px rgba(112, 246, 255, .8);
}

.archive-mark-core {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 7px;
    height: 63px;
    padding: 0 19px;
    border: 1px solid rgba(112, 246, 255, .55);
    background: linear-gradient(130deg, rgba(112, 246, 255, .1), rgba(8, 20, 32, .9) 58%, rgba(250, 115, 200, .09));
    box-shadow: 0 0 30px rgba(112, 246, 255, .12), inset 0 0 18px rgba(112, 246, 255, .08);
    transform: skewY(-12deg);
}

.archive-mark-core span {
    width: 5px;
    height: 23px;
    background: linear-gradient(var(--updates-ice), var(--updates-cyan));
    box-shadow: 0 0 10px rgba(112, 246, 255, .5);
}

.archive-mark-core span:nth-child(2) { height: 38px; background: linear-gradient(var(--updates-pink), var(--updates-cyan)); }
.archive-mark-core span:nth-child(3) { height: 16px; }

.archive-mark-caption {
    position: absolute;
    right: -10%;
    bottom: 14%;
    color: rgba(250, 115, 200, .76);
    font-size: 8px;
    letter-spacing: .23em;
    line-height: 1.8;
}

.updates-main {
    max-width: 1100px;
    margin: 0 auto;
}

.updates-intro-row {
    display: grid;
    grid-template-columns: 130px minmax(200px, 1fr) auto;
    align-items: center;
    gap: 32px;
    padding: 25px 0 27px;
    border-top: 1px solid var(--updates-line);
    border-bottom: 1px solid var(--updates-line);
}

.updates-index {
    color: var(--updates-pink);
    font-size: 9px;
    letter-spacing: .18em;
    line-height: 1.8;
}

.updates-index span { color: rgba(222, 251, 255, .55); }

.updates-intro-note {
    max-width: 560px;
    color: #a7bac2;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.8;
}

.updates-source {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #8ca8b2;
    font-size: 8px;
    letter-spacing: .16em;
    white-space: nowrap;
}

.updates-source span {
    width: 6px;
    height: 6px;
    border: 1px solid var(--updates-cyan);
    border-radius: 50%;
    box-shadow: 0 0 9px rgba(112, 246, 255, .55);
}

.updates-archive { padding: clamp(44px, 7vw, 80px) 0 30px; }

.archive-heading-row {
    display: flex;
    align-items: flex-end;
    gap: 42px;
    margin-bottom: 31px;
}

.archive-kicker {
    margin-bottom: 10px;
    color: var(--updates-pink);
    font-size: 8px;
    letter-spacing: .25em;
}

.archive-heading-row h2 {
    color: var(--updates-ice);
    font-size: clamp(25px, 4vw, 38px);
    font-weight: 500;
    letter-spacing: -.045em;
}

.archive-rule {
    position: relative;
    flex: 1;
    height: 1px;
    margin-bottom: 10px;
    background: linear-gradient(90deg, rgba(112, 246, 255, .35), rgba(250, 115, 200, .08), transparent);
}

.archive-rule span {
    position: absolute;
    top: -2px;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--updates-cyan);
    box-shadow: 0 0 10px rgba(112, 246, 255, .8);
}

.updates-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.updates-filter {
    min-height: 39px;
    padding: 0 17px;
    border: 1px solid rgba(112, 246, 255, .2);
    border-radius: 2px;
    background: rgba(112, 246, 255, .025);
    color: #9ab2bc;
    font: 600 9px 'Orbitron', monospace;
    letter-spacing: .12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.updates-filter:hover:not(:disabled) { color: var(--updates-ice); border-color: rgba(112, 246, 255, .55); }
.updates-filter:active:not(:disabled) { transform: translateY(1px); }
.updates-filter.is-active {
    border-color: rgba(250, 115, 200, .56);
    background: linear-gradient(110deg, rgba(250, 115, 200, .13), rgba(112, 246, 255, .06));
    color: #ffd9f2;
}
.updates-filter:disabled { cursor: wait; opacity: .56; }
.updates-filter:focus-visible,
.updates-retry:focus-visible,
.update-entry summary:focus-visible { outline: 2px solid var(--updates-cyan); outline-offset: 4px; }

.updates-filter-status {
    min-height: 20px;
    margin-bottom: 10px;
    color: #819ca7;
    font: 11px 'Courier New', monospace;
}

.update-results { min-height: 140px; }

.updates-state {
    display: grid;
    justify-items: start;
    gap: 14px;
    min-height: 174px;
    padding: 27px 28px;
    border: 1px solid rgba(112, 246, 255, .14);
    border-left: 2px solid var(--updates-cyan);
    background: linear-gradient(100deg, rgba(112, 246, 255, .045), rgba(7, 17, 29, .5) 70%);
    color: #a7c1ca;
    font: 12px 'Courier New', monospace;
}

.loading-track {
    display: block;
    position: relative;
    width: min(340px, 100%);
    height: 2px;
    overflow: hidden;
    background: rgba(112, 246, 255, .12);
}

.loading-track i {
    position: absolute;
    inset: 0 auto 0 0;
    width: 38%;
    background: linear-gradient(90deg, transparent, var(--updates-cyan), var(--updates-pink));
    animation: update-loading 1.4s ease-in-out infinite alternate;
}

.loading-lines { display: grid; gap: 7px; width: min(510px, 100%); }
.loading-lines i { display: block; height: 5px; background: rgba(112, 246, 255, .07); }
.loading-lines i:nth-child(1) { width: 85%; }
.loading-lines i:nth-child(2) { width: 68%; }
.loading-lines i:nth-child(3) { width: 77%; }

@keyframes update-loading {
    from { transform: translateX(-45%); }
    to { transform: translateX(210%); }
}

.updates-state h3 {
    color: var(--updates-ice);
    font: 500 18px 'Orbitron', monospace;
}

.updates-state p { max-width: 540px; line-height: 1.7; }

.updates-retry {
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid rgba(112, 246, 255, .45);
    background: rgba(112, 246, 255, .08);
    color: var(--updates-cyan);
    font: 600 9px 'Orbitron', monospace;
    letter-spacing: .13em;
    text-transform: uppercase;
    cursor: pointer;
}
.updates-retry:hover { background: rgba(112, 246, 255, .15); }

.update-entry {
    position: relative;
    margin-bottom: 12px;
    border: 1px solid rgba(112, 246, 255, .16);
    border-left: 2px solid rgba(112, 246, 255, .65);
    background: linear-gradient(105deg, rgba(12, 34, 48, .64), rgba(7, 15, 27, .56) 58%, rgba(24, 13, 30, .38));
    transition: border-color .22s ease, background-color .22s ease;
}

.update-entry:hover,
.update-entry[open] { border-color: rgba(112, 246, 255, .4); border-left-color: var(--updates-pink); }

.update-entry summary {
    display: grid;
    grid-template-columns: minmax(125px, 170px) minmax(0, 1fr) auto 12px;
    align-items: center;
    gap: 24px;
    min-height: 91px;
    padding: 18px 24px;
    list-style: none;
    cursor: pointer;
}

.update-entry summary::-webkit-details-marker { display: none; }

.update-date {
    display: block;
    color: #9ab5bf;
    font: 11px 'Courier New', monospace;
    letter-spacing: .04em;
}

.update-entry-title {
    display: block;
    color: #e2f7fa;
    font-size: clamp(14px, 1.7vw, 18px);
    font-weight: 500;
    letter-spacing: -.025em;
    line-height: 1.5;
}

.update-category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 94px;
    padding: 7px 9px;
    border: 1px solid rgba(112, 246, 255, .24);
    color: var(--updates-cyan);
    font-size: 8px;
    letter-spacing: .11em;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
}

.update-entry[data-category="bot"] { border-left-color: rgba(250, 115, 200, .72); }
.update-entry[data-category="bot"] .update-category { border-color: rgba(250, 115, 200, .3); color: #f5a9da; }

.update-entry summary::after {
    grid-column: 4;
    grid-row: 1;
    width: 8px;
    height: 8px;
    justify-self: center;
    border-right: 1px solid var(--updates-cyan);
    border-bottom: 1px solid var(--updates-cyan);
    content: "";
    transform: translateY(-2px) rotate(45deg);
    transition: transform .2s ease;
}
.update-entry[open] summary::after { transform: translateY(2px) rotate(225deg); }
.update-entry summary .update-category { grid-column: 3; grid-row: 1; }

.update-entry-content {
    padding: 0 24px 24px calc(24px + min(170px, 15vw) + 24px);
    border-top: 1px solid rgba(112, 246, 255, .12);
}

.update-description {
    max-width: 730px;
    padding-top: 20px;
    color: #adc1c8;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.8;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.update-changes {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.update-changes li {
    position: relative;
    padding-left: 18px;
    color: #c1d5da;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.update-changes li::before {
    position: absolute;
    top: .65em;
    left: 0;
    width: 6px;
    height: 1px;
    content: "";
    background: var(--updates-pink);
    box-shadow: 0 0 7px rgba(250, 115, 200, .45);
}

.updates-noscript {
    margin: 20px 0;
    padding: 18px;
    border: 1px solid rgba(250, 115, 200, .4);
    color: #f4bbdf;
    font: 12px 'Courier New', monospace;
    line-height: 1.7;
}

.updates-footer {
    max-width: 1100px;
    margin: 74px auto 0;
    border-top-color: var(--updates-line);
    color: #819ba5;
}

.updates-footer .footer-brand { color: #a9c8d0; }
.updates-footer .footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin: 15px 0; }
.updates-footer .footer-link { color: #8ba9b3; font-size: 11px; }
.updates-footer p { font: 11px 'Courier New', monospace; line-height: 1.6; }

@media (max-width: 768px) {
    .updates-shell { padding: 12px 14px 22px; }
    .updates-page .nav-bar { margin-bottom: 46px; }
    .updates-hero { min-height: 0; margin-bottom: 48px; padding: 0 2px; }
    .updates-hero h1 { margin-top: 20px; }
    .updates-lede { max-width: 360px; margin-top: 22px; font-size: 12px; }
    .archive-mark { flex-basis: 145px; width: 145px; margin: 0 1% 5px 0; }
    .archive-mark-core { height: 48px; padding: 0 14px; }
    .archive-mark-caption { right: -13%; bottom: 8%; font-size: 7px; }
    .updates-intro-row { grid-template-columns: 65px 1fr; gap: 14px 18px; padding: 20px 0; }
    .updates-source { grid-column: 2; }
    .updates-intro-note { font-size: 12px; }
    .updates-archive { padding-top: 48px; }
    .archive-heading-row { gap: 20px; margin-bottom: 22px; }
    .updates-filter { min-height: 37px; padding: 0 12px; font-size: 8px; }
    .update-entry summary { grid-template-columns: minmax(0, 1fr) auto 12px; gap: 8px 12px; min-height: 82px; padding: 15px; }
    .update-date { grid-column: 1 / -1; }
    .update-entry-title { grid-column: 1; grid-row: 2; }
    .update-entry summary .update-category { grid-column: 2; grid-row: 2; }
    .update-entry summary::after { grid-column: 3; grid-row: 2; }
    .update-entry-content { padding: 0 15px 19px; }
    .updates-state { min-height: 160px; padding: 22px 18px; }
    .updates-footer { margin-top: 52px; }
}

@media (max-width: 430px) {
    .updates-hero { align-items: center; gap: 4px; }
    .updates-hero h1 { font-size: clamp(58px, 17vw, 76px); }
    .updates-eyebrow { font-size: 7px; letter-spacing: .16em; }
    .archive-mark { flex-basis: 98px; width: 98px; margin-right: 0; }
    .archive-mark::before { inset: 7%; }
    .archive-mark::after { inset: 20%; }
    .archive-mark-core { height: 39px; gap: 5px; padding: 0 11px; }
    .archive-mark-core span { width: 4px; height: 17px; }
    .archive-mark-core span:nth-child(2) { height: 27px; }
    .archive-mark-core span:nth-child(3) { height: 12px; }
    .archive-mark-caption { right: -10%; bottom: 0; font-size: 6px; }
    .updates-lede { max-width: 245px; font-size: 11px; }
    .updates-intro-row { grid-template-columns: 51px 1fr; gap: 12px; }
    .updates-source { font-size: 7px; }
    .archive-heading-row h2 { font-size: 25px; }
    .updates-filters { gap: 5px; }
    .updates-filter { flex: 1; padding: 0 6px; letter-spacing: .07em; }
    .update-category { min-width: auto; font-size: 7px; padding: 6px; }
    .update-entry-title { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
    .updates-shell .background-grid,
    .updates-shell .floating-particles::before,
    .updates-shell .floating-particles::after,
    .loading-track i { animation: none; }
    .updates-shell * { scroll-behavior: auto !important; }
}
