.updates-page {
    --updates-bg: #fff;
    --updates-text: #333;
    --updates-heading: #111;
    --updates-copy: #555;
    --updates-list-text: #444;
    --updates-muted: #8e8e93;
    --updates-border: #eee;
    --updates-accent: #9334dd;
    --updates-badge-bg: #f1e6fd;
    color-scheme: light dark;
    margin: 0;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--updates-text);
    background: var(--updates-bg);
    -webkit-font-smoothing: antialiased;
}

@media (prefers-color-scheme: dark) {
    .updates-page {
        --updates-bg: #1a1a1a;
        --updates-text: #f5f5f5;
        --updates-heading: #f5f5f5;
        --updates-copy: #c7c7cc;
        --updates-list-text: #c7c7cc;
        --updates-muted: #a1a1aa;
        --updates-border: #333;
        --updates-accent: #d4b3f3;
        --updates-badge-bg: #35223f;
    }
}

@media (max-width: 800px) {
    .updates-page .footer {
        padding: 40px 20px;
    }

    .updates-page .header .download-btn,
    .updates-page .header .support-btn {
        display: none;
    }

    .updates-page .header .nav-actions {
        margin-left: auto;
        justify-content: flex-end;
    }

    .updates-page .header .nav-brand .logo {
        width: 150px;
        max-width: 150px;
        height: 45px;
        max-height: 45px;
    }

    .updates-page .language-switcher summary {
        padding: 0 10px;
        gap: 6px;
    }

    .updates-page .language-switcher summary > span,
    .updates-page .language-chevron {
        display: revert;
    }
}

.updates-page .header {
    position: sticky;
}

.updates-main {
    padding-top: 0;
    padding-bottom: 40px;
    min-height: calc(100vh - 55px);
    background: var(--updates-bg);
    overflow-x: clip;
}

.updates-container {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.updates-header {
    padding: 24px 20px 22px;
    border-bottom: 1px solid var(--updates-border);
    text-align: left;
}

.updates-title {
    margin: 0 0 4px;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--updates-heading);
}

.updates-subtitle {
    margin: 0;
    font-size: 15px;
    line-height: 1.45;
    color: var(--updates-muted);
}

.updates-list {
    display: block;
}

.update-block {
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 26px 20px 36px;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: clip;
}

.update-block + .update-block {
    border-top: 1px solid var(--updates-border);
}

.update-block-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.update-block-version {
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 10px;
    border-radius: 13px;
    background: var(--updates-badge-bg);
    color: var(--updates-accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.update-block-platform,
.update-block-meta time {
    font-size: 14px;
    line-height: 1.2;
    color: var(--updates-muted);
    font-weight: 500;
}

.update-block-title {
    margin: 0 0 10px;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--updates-heading);
    letter-spacing: -0.015em;
}

.update-block.older .update-block-title {
    font-size: 22px;
}

.update-block-body {
    color: var(--updates-text);
    min-width: 0;
    max-width: 100%;
}

.update-block-body > .lead,
.update-block-body > p:first-child {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: var(--updates-copy);
}

.update-feature {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 36px;
    padding: 0;
    border: 0;
    min-width: 0;
    max-width: 100%;
}

.update-feature + .update-feature {
    margin-top: 56px;
}

.update-feature-media {
    order: 3;
    margin: 14px 0 0;
    display: flex;
    justify-content: center;
}

.update-block-body img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 18px;
    margin: 0;
}

.update-screenshot {
    width: auto;
    max-width: min(260px, 100%);
}

.update-feature-copy h3,
.update-block-body h3 {
    margin: 0 0 6px;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 700;
    color: var(--updates-heading);
    letter-spacing: -0.01em;
}

.update-feature-copy p,
.update-feature-copy li,
.update-block-body p,
.update-block-body li {
    font-size: 15.5px;
    line-height: 1.5;
    color: var(--updates-copy);
}

.update-block-body ul {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
}

.update-feature-copy ul {
    margin: 0;
}

.update-block-body li {
    position: relative;
    padding-left: 20px;
    margin: 0 0 10px;
    color: var(--updates-list-text);
    line-height: 1.45;
}

.update-block-body li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--updates-accent);
}

.update-block.older .update-block-body ul {
    margin-top: 14px;
}

.updates-empty {
    padding: 2rem 20px;
    text-align: center;
    color: var(--updates-muted);
}

.feat {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 36px;
}

.feat + .feat {
    margin-top: 56px;
}

.feat-copy {
    display: contents;
}

.feat .eyebrow {
    order: 1;
}

.feat h3 {
    order: 2;
}

.feat .ill {
    order: 3;
    margin-top: 14px;
}

.feat p {
    order: 4;
    margin-top: 12px;
}

.eyebrow {
    margin: 0 0 5px;
    font-size: 12px;
    line-height: 16px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--updates-accent);
}

.feat-copy h3 {
    margin: 0 0 6px;
}

.feat-copy p {
    margin: 0;
    color: var(--updates-copy);
}

.feat > p,
.feat-copy p {
    margin-top: 12px;
}

.also {
    margin-top: 56px;
}

.also h3 {
    margin: 0 0 12px;
    font-size: 18px;
}

.ill {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
}

.wn-face {
    display: flex;
    flex: none;
}

.wn-face img {
    display: block;
    width: 52px;
    height: 52px;
    box-sizing: border-box;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
}

.ill-dates {
    overflow: visible;
    background: none;
    border-radius: 0;
    min-height: 0;
}

.wn-today {
    position: relative;
    height: 128px;
    border-radius: 26px;
    background: #f1e6fd;
    overflow: hidden;
    padding: 18px;
    box-sizing: border-box;
}

.wn-today-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wn-today-badge {
    display: inline-flex;
    height: 22px;
    padding: 0 9px;
    border-radius: 11px;
    background: #9334dd;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    align-items: center;
    letter-spacing: 0.4px;
}

.wn-today-title {
    margin-top: 12px;
    font-size: 18px;
    font-weight: 700;
    line-height: 22px;
    color: #000;
    letter-spacing: -0.2px;
}

.wn-years {
    margin-left: auto;
    flex: none;
    text-align: right;
    color: #9334dd;
}

.wn-years b {
    display: block;
    font-family: "Luckiest Guy", Inter, sans-serif;
    font-size: 52px;
    line-height: 0.82;
    font-weight: 400;
}

.wn-years small {
    display: block;
    margin-top: 4px;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.wn-date-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 12px;
}

.wn-date-card {
    aspect-ratio: 1;
    border-radius: 28px;
    padding: 17px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.wn-date-card-purple {
    background: #e8e7fd;
    color: #4744c4;
}

.wn-date-card-orange {
    background: #fdebdd;
    color: #b85a1f;
}

.wn-date-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 6px;
}

.wn-faces {
    display: flex;
}

.wn-date-card .wn-face img {
    width: 40px;
    height: 40px;
}

.wn-date-card .wn-years b {
    font-size: 32px;
}

.wn-date-card .wn-years {
    color: inherit;
}

.wn-emoji-face {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 27px;
    border: 3px solid #fff;
    box-sizing: border-box;
}

.wn-date-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 18px;
    color: #000;
}

.wn-date-when {
    margin-top: 5px;
    font-size: 13px;
    font-weight: 600;
}

.ill-timeline {
    background: #fff;
    border: 1px solid #efe9f7;
    box-sizing: border-box;
    height: 260px;
}

.wn-tl-label {
    position: absolute;
    left: 0;
    width: 36px;
    text-align: right;
    font-size: 10.5px;
    color: #9c9c9c;
    transform: translateY(-50%);
}

.wn-tl-face {
    position: absolute;
    top: 12px;
    width: 28%;
    display: flex;
    justify-content: center;
}

.wn-tl-face.col-0 { left: 11%; }
.wn-tl-face.col-1 { left: 39%; }
.wn-tl-face.col-2 { left: 67%; }

.wn-tl-face img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #e4d2fa;
}

.wn-ev {
    position: absolute;
    left: 40px;
    width: 28%;
    border-radius: 10px;
    padding: 4px 5px;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    gap: 4px;
    font-size: 11.5px;
    line-height: 13px;
    font-weight: 600;
}

.wn-ev.col-0 { left: 11%; }
.wn-ev.col-1 { left: 39%; }
.wn-ev.col-2 { left: 67%; }
.wn-ev.span-3 { width: calc(84% - 4px); left: 11%; }

.wn-ev-sq {
    width: 16px;
    height: 16px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex: none;
}

.wn-ev-orange { background: #fcebdf; color: #8b5a37; }
.wn-ev-orange .wn-ev-sq { background: #ef9b5e; }
.wn-ev-blue { background: #dceefb; color: #1f6fa8; }
.wn-ev-blue .wn-ev-sq { background: #52aae9; }
.wn-ev-green { background: #e0f6e9; color: #3a7a54; }
.wn-ev-green .wn-ev-sq { background: #64d290; }
.wn-ev-violet { background: #e5e4fc; color: #4744c4; }
.wn-ev-violet .wn-ev-sq { background: #7d7af1; }
.wn-ev-red { background: #fedfdf; color: #b03a3a; }
.wn-ev-red .wn-ev-sq { background: #f96161; }

.wn-now {
    position: absolute;
    left: 36px;
    right: 0;
    top: 44%;
    height: 2px;
    background: #9334dd;
}

.wn-now span {
    position: absolute;
    left: -33px;
    top: -8px;
    width: 32px;
    height: 18px;
    border-radius: 9px;
    background: #9334dd;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ill-comments {
    background: linear-gradient(160deg, #eaf2fb 0%, #ddeefb 100%);
}

.wn-sheet {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 22px;
    bottom: -20px;
    background: #fff;
    border-radius: 22px 22px 0 0;
    padding: 16px 16px 0;
    box-shadow: 0 8px 30px rgba(31, 111, 168, 0.1);
}

.wn-sheet-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 17px;
    font-weight: 600;
    color: #000;
}

.wn-sheet-head span:last-child {
    font-size: 15px;
    font-weight: 500;
    color: #9c9c9c;
}

.wn-comment {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.wn-comment img {
    width: 27px;
    height: 27px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #d0d0d0;
    flex: none;
}

.wn-comment-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 22px;
}

.wn-comment-meta b {
    font-size: 15px;
    color: #000;
}

.wn-comment-meta span {
    font-size: 13px;
    color: #9c9c9c;
}

.wn-comment p {
    margin: 1px 0 0;
    font-size: 15px;
    line-height: 20px;
    color: #1c1c1e;
}

.wn-composer {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 16px;
    height: 48px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 0 0 0.5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px 0 18px;
    font-size: 16px;
    color: #9c9c9c;
}

.wn-send {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #9334dd;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ill-pushes {
    background: linear-gradient(160deg, #3b2a6b 0%, #6f4bd8 45%, #c77dba 100%);
    height: 276px;
}

.wn-lock-date {
    position: absolute;
    left: 0;
    right: 0;
    top: 12px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

.wn-lock-time {
    position: absolute;
    left: 0;
    right: 0;
    top: 30px;
    text-align: center;
    font-size: 54px;
    font-weight: 300;
    line-height: 58px;
    color: #fff;
    letter-spacing: -0.02em;
}

.wn-pushes {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 104px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wn-push {
    width: 100%;
    border-radius: 22px;
    background: rgba(245, 245, 247, 0.86);
    padding: 12px 14px;
    box-sizing: border-box;
    display: flex;
    gap: 11px;
    align-items: flex-start;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.wn-push-avatar {
    position: relative;
    width: 40px;
    height: 40px;
    flex: none;
}

.wn-push-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.wn-push-badge {
    position: absolute;
    right: -4px;
    bottom: -4px;
    width: 18px !important;
    height: 18px !important;
    border-radius: 5px !important;
    box-shadow: 0 0 0 1.5px #f5f5f7;
}

.wn-push-meta {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.wn-push-meta b {
    font-size: 15px;
    color: #000;
}

.wn-push-meta span {
    font-size: 13px;
    color: #6c6c6c;
    flex: none;
}

.wn-push p {
    margin: 1px 0 0;
    font-size: 15px;
    line-height: 20px;
    color: #000;
}

@media (min-width: 900px) {
    .updates-main {
        padding-top: 0;
        padding-bottom: 64px;
    }

    .updates-header {
        padding: 40px 0 30px;
    }

    .updates-title {
        margin-bottom: 8px;
        font-size: 44px;
    }

    .updates-subtitle {
        font-size: 17px;
    }

    .update-block {
        padding: 40px 0 48px;
    }

    .update-block.older {
        padding-bottom: 16px;
    }

    .update-block-meta {
        margin-bottom: 18px;
    }

    .update-block-version {
        height: 28px;
        font-size: 14px;
    }

    .update-block-platform,
    .update-block-meta time {
        font-size: 15px;
    }

    .update-block-title {
        margin-bottom: 12px;
        font-size: 34px;
    }

    .update-block.older .update-block-title {
        font-size: 26px;
    }

    .update-block-body > .lead,
    .update-block-body > p:first-child {
        font-size: 18px;
    }

    .update-feature {
        display: grid;
        grid-template-columns: 380px 1fr;
        gap: 40px;
        align-items: center;
        margin-top: 56px;
    }

    .update-feature:nth-child(even) {
        grid-template-columns: 1fr 380px;
    }

    .update-feature-media {
        order: 0;
        margin-top: 0;
    }

    .update-feature:nth-child(even) .update-feature-media {
        order: 2;
    }

    .update-block-body img {
        border-radius: 20px;
    }

    .update-feature-copy h3,
    .update-block-body h3 {
        margin-bottom: 10px;
        font-size: 24px;
    }

    .update-feature-copy p,
    .update-feature-copy li,
    .update-block-body p,
    .update-block-body li {
        font-size: 16.5px;
    }

    .update-block-body ul {
        margin-top: 18px;
    }

    .update-block-body li {
        margin-bottom: 12px;
    }

    .update-block-body li::before {
        top: 9px;
    }

    .update-block.older .update-block-body ul {
        margin-top: 18px;
    }

    .feat {
        display: grid;
        grid-template-columns: 380px 1fr;
        gap: 40px;
        align-items: center;
        margin-top: 56px;
    }

    .feat.flip {
        grid-template-columns: 1fr 380px;
    }

    .feat-copy {
        display: block;
    }

    .feat .eyebrow,
    .feat h3,
    .feat p {
        order: 0;
    }

    .feat .ill {
        order: 0;
        margin-top: 0;
    }

    .feat.flip .ill {
        order: 2;
    }

    .feat > p,
    .feat-copy p {
        margin-top: 0;
    }

    .eyebrow {
        margin: 0 0 6px;
    }

    .feat-copy h3 {
        margin-bottom: 10px;
    }

    .also h3 {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .ill {
        border-radius: 20px;
    }

    .ill-dates {
        min-height: 324px;
    }

    .wn-sheet,
    .wn-composer {
        left: 24px;
        right: 24px;
    }

    .wn-pushes {
        left: 24px;
        right: 24px;
        top: 116px;
    }
}
