.updates-page,
.updates-post {
    position: relative;
    z-index: 11;
    max-width: 720px;
    min-height: 40vh;
    color: var(--text-primary, #e2e8f5);
}
.updates-hero { margin-bottom: 2rem; }
.updates-hero__eyebrow {
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent, #5ba3f5);
    margin: 0 0 0.55rem;
}
.updates-hero__title {
    font-family: Inter, system-ui, sans-serif;
    font-size: clamp(1.85rem, 4vw, 2.6rem);
    font-weight: 700;
    margin: 0 0 0.75rem;
    line-height: 1.15;
    color: var(--accent, #5ba3f5);
    -webkit-text-fill-color: currentColor;
}
.updates-hero__lead {
    margin: 0;
    opacity: 0.72;
    font-size: 0.98rem;
    line-height: 1.55;
    max-width: 38rem;
}
.updates-timeline {
    position: relative;
    margin: 0;
    padding: 0 0 0 1.35rem;
    list-style: none;
    border-left: 2px solid rgba(91, 163, 245, 0.22);
}
.updates-timeline__item {
    position: relative;
    padding: 0 0 1.65rem 1.1rem;
}
.updates-timeline__item:last-child { padding-bottom: 0; }
.updates-timeline__dot {
    position: absolute;
    left: -1.48rem;
    top: 0.35rem;
    width: 0.72rem;
    height: 0.72rem;
    border-radius: 999px;
    background: var(--accent, #5ba3f5);
    box-shadow: 0 0 0 4px rgba(91, 163, 245, 0.15);
}
.updates-card {
    display: block;
    color: inherit;
    text-decoration: none;
    border: 1px solid rgba(91, 163, 245, 0.18);
    border-radius: 1rem;
    padding: 1rem 1.15rem 1.1rem;
    background:
        linear-gradient(135deg, rgba(91, 163, 245, 0.06), transparent 42%),
        rgba(0, 0, 0, 0.18);
    transition: border-color 0.18s, transform 0.18s, background 0.18s;
}
a.updates-card:hover {
    border-color: rgba(91, 163, 245, 0.4);
    transform: translateY(-1px);
    color: inherit;
}
.updates-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.65rem;
    margin-bottom: 0.55rem;
}
.updates-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 0.18rem 0.55rem;
}
.updates-badge--feature { background: rgba(22, 163, 74, 0.18); color: #4ade80; }
.updates-badge--fix { background: rgba(185, 28, 28, 0.18); color: #f87171; }
.updates-badge--opt { background: rgba(29, 78, 216, 0.18); color: #93c5fd; }
.updates-badge--release { background: rgba(212, 163, 90, 0.2); color: #e8c36a; }
.updates-card__version {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.78rem;
    color: var(--accent, #5ba3f5);
}
.updates-card__date {
    font-size: 0.78rem;
    opacity: 0.55;
    margin-left: auto;
}
.updates-card__title {
    margin: 0 0 0.4rem;
    font-family: Inter, system-ui, sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--accent, #5ba3f5);
    line-height: 1.35;
}
.updates-card__summary {
    margin: 0;
    font-size: 0.88rem;
    opacity: 0.72;
    line-height: 1.5;
}
.updates-post {
    max-width: 720px;
}
.updates-post__back {
    display: inline-flex;
    margin-bottom: 1.25rem;
    font-size: 0.85rem;
    color: var(--accent, #5ba3f5);
    text-decoration: none;
}
.updates-post__back:hover { text-decoration: underline; }
.updates-post__body {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.65;
    opacity: 0.88;
}
.updates-post__body h2 {
    font-family: Inter, system-ui, sans-serif;
    font-size: 1.15rem;
    color: var(--accent, #5ba3f5);
    margin: 1.5rem 0 0.65rem;
}
.updates-post__body p { margin: 0 0 0.9rem; }
.updates-post__body ul {
    margin: 0 0 1rem;
    padding-left: 1.2rem;
}
.updates-post__body li { margin: 0.35rem 0; }
.updates-post__body a { color: var(--accent, #5ba3f5); }
.updates-empty {
    border: 1px dashed rgba(91, 163, 245, 0.28);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    opacity: 0.7;
}
[data-theme="light"] .updates-card {
    background:
        linear-gradient(135deg, rgba(61, 114, 201, 0.08), transparent 42%),
        rgba(255, 255, 255, 0.55);
}
[data-theme="light"] .updates-timeline {
    border-left-color: rgba(61, 114, 201, 0.28);
}
