/* Reading surface within the existing Youmu website; tokens come from /style.css. */
.links a[aria-current="page"]{color:var(--gold);text-decoration:underline;text-underline-offset:.45em}
.changelog-page{padding-top:50px;padding-bottom:88px}
.changelog-title{margin-bottom:52px}
.changelog-title h1{font-size:3.25rem;letter-spacing:-.025em}
.changelog-title p{font-size:1.05rem;color:var(--muted);margin:20px 0 0;max-width:58ch}
.changelog{display:grid;grid-template-columns:200px minmax(0,1fr);gap:64px;align-items:start}
.changelog-intro{align-self:stretch}
.intro-sticky{position:sticky;top:40px}
.release-index{display:grid;gap:10px}
.release-index a{position:relative;text-decoration:none;line-height:1.6;padding:13px 0 13px 17px;min-height:48px;color:var(--muted)}
.release-index a span{display:block;font-size:.9rem}
.release-index time{display:block;font-size:.82rem;margin-top:5px;font-variant-numeric:tabular-nums}
.back-home{display:inline-flex;align-items:center;gap:12px;margin:30px 0 0 17px;min-height:44px;font-size:.88rem;text-decoration:none}
.back-home svg,.release-toggle svg{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex:none}
.release{position:relative;padding:34px 0;border-bottom:1px solid var(--line);scroll-margin-top:32px}
.release:first-child{background:var(--white);padding:34px 36px 36px;border:0;border-radius:14px;margin-bottom:10px}
.release summary{list-style:none;cursor:pointer;position:relative;padding-right:32px;min-height:44px}
.release summary::-webkit-details-marker{display:none}
.release-heading{display:flex;flex-wrap:wrap;align-items:baseline;gap:12px 18px}
.release h2{font-size:1.65rem;letter-spacing:-.02em;line-height:1.35}
.release:first-child h2{font-size:2.15rem}
.release-latest{font-size:.85rem;color:var(--gold);font-weight:600;white-space:nowrap}
.release time{display:block;font-size:.85rem;color:var(--muted);margin-top:12px;font-variant-numeric:tabular-nums}
.release-summary{font-size:1rem;line-height:1.8;color:var(--muted);margin:14px 0 0;max-width:60ch}
.release-toggle{display:flex;align-items:center;gap:6px;font-size:.83rem;color:var(--gold);margin-top:12px}
.release-toggle svg{position:absolute;right:0;top:9px;transition:transform .18s ease-out}
.when-open{display:none}
.release[open] .when-closed{display:none}
.release[open] .when-open{display:inline}
.release:first-child[open] .release-toggle{margin-top:0;height:0}
.release:first-child[open] .when-open{display:none}
.release[open] .release-toggle svg{transform:rotate(180deg)}
.release-points{list-style:none;margin:27px 0 0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:28px 36px}
.release:first-child .release-points{margin-top:29px}
.release-points li{display:flex;flex-direction:column;gap:7px;font-size:1rem;line-height:1.8;min-width:0}
.release-points strong{font-weight:600;color:var(--ink)}
.release-points span{color:var(--ink)}
.release-teaser{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:42px 0;border-bottom:1px solid var(--line)}
.release-teaser h2{font-size:1.65rem;line-height:1.45}
.release-teaser a{font-size:.96rem;min-height:44px;display:inline-flex;align-items:center;white-space:nowrap;color:var(--gold)}
@media(max-width:1000px){.changelog{grid-template-columns:170px minmax(0,1fr);gap:34px}.changelog-title{margin-bottom:40px}.release:first-child{padding:26px}.release:first-child h2{font-size:1.9rem}.release-points{grid-template-columns:1fr;gap:23px}.release h2{font-size:1.5rem}}
@media(max-width:680px){.changelog-page{padding-top:32px;padding-bottom:52px}.changelog-title{margin-bottom:30px}.changelog-title h1{font-size:2.5rem}.changelog-title p{font-size:1rem;margin-top:18px}.changelog{grid-template-columns:1fr;gap:0}.changelog-intro{display:none}.release{position:relative;padding:28px 0}.release:first-child{padding:23px 20px 27px;margin:0 -4px 5px}.release h2{font-size:1.5rem}.release:first-child h2{font-size:1.65rem}.release-heading{gap:9px}.release-points{gap:23px}.release-points li{line-height:1.85}.release-summary{font-size:.97rem}.release-teaser{align-items:flex-start;flex-direction:column;gap:14px;padding:34px 0}.release-teaser h2{font-size:1.5rem}}
@media(prefers-reduced-motion:reduce){.release-toggle svg{transition:none}}

/* Native fragment targets reveal closed details without JavaScript. */
.release-anchor{position:absolute;top:0;left:0;width:1px;height:1px;scroll-margin-top:32px;outline:none}
.language-default{display:flex}
.changelog-document .languages:not(.language-default){display:none}
.release-detail{margin:0;color:var(--muted)}
body:not(:has(.release-anchor:target)) .release-index a:first-child{color:var(--gold)}
body:has(#statistics:target) .languages{display:none}
body:has(#statistics:target) .language-statistics{display:flex}
body:has(#statistics:target) .index-statistics{color:var(--gold)}
body:has(#statistics:target) .index-statistics::before{content:"";position:absolute;left:0;top:24px;width:5px;height:5px;border-radius:50%;background:currentColor}
body:has(#premium:target) .languages{display:none}
body:has(#premium:target) .language-premium{display:flex}
body:has(#premium:target) .index-premium{color:var(--gold)}
body:has(#premium:target) .index-premium::before{content:"";position:absolute;left:0;top:24px;width:5px;height:5px;border-radius:50%;background:currentColor}
body:has(#initial:target) .languages{display:none}
body:has(#initial:target) .language-initial{display:flex}
body:has(#initial:target) .index-initial{color:var(--gold)}
body:has(#initial:target) .index-initial::before{content:"";position:absolute;left:0;top:24px;width:5px;height:5px;border-radius:50%;background:currentColor}
