:root {
    --bg: #f7f7f8;
    --card: #ffffff;
    --text: #1f2937;
    --muted: #6b7280;
    --border: #e5e7eb;
    --accent: #2563eb;
    --accent-soft: #dbeafe;
    --danger: #b91c1c;
    --danger-bg: #fee2e2;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

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

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 28px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.back-link:hover {
    text-decoration: underline;
}

header {
    margin-bottom: 32px;
}

h1 {
    margin: 0 0 8px;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.1;
}

.subtitle {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.update-list {
    display: grid;
    gap: 18px;
}

.update-card {
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 22px 24px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.05);
}

.update-card::before {
    content: "";
    position: absolute;
    top: 24px;
    left: -7px;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 0 5px var(--accent-soft);
}

.update-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 0.95rem;
}

.version {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
}

.date {
    color: var(--muted);
}

.update-title {
    margin: 0 0 8px;
    font-size: 1.25rem;
    font-weight: 750;
}

.update-description {
    margin: 0;
    color: #374151;
    white-space: pre-line;
}

.status,
.error {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px 20px;
    color: var(--muted);
}

.error {
    color: var(--danger);
    background: var(--danger-bg);
    border-color: #fecaca;
}

footer {
    margin-top: 40px;
    color: var(--muted);
    font-size: 0.92rem;
}

code {
    background: #eef2ff;
    padding: 2px 6px;
    border-radius: 6px;
}