:root{--paper:#efede8;--ink:#2b2c30;--muted:#6b6c70;--rule:#d8d5cd;--card:#f7f6f2;--sheet:#f9f8f5;--shadow:rgba(60,50,30,.14);color-scheme:light dark}
@media (prefers-color-scheme:dark){:root{--paper:#2b2c30;--ink:#eeeeec;--muted:#a9aaad;--rule:#45464b;--card:#333438;--sheet:#33363c;--shadow:rgba(0,0,0,.4)}}
*{box-sizing:border-box}
html{background:var(--paper);color:var(--ink);font:17px/1.6 Jost,system-ui,sans-serif;-webkit-text-size-adjust:100%}
body{margin:0}
a{color:inherit;text-underline-offset:.18em;text-decoration-thickness:1px}
a:hover{text-decoration-thickness:2px}
a:focus-visible{outline:2px solid var(--ink);outline-offset:3px;border-radius:3px}
.top{position:sticky;top:0;z-index:5;background:var(--paper);transition:box-shadow .2s}
.stuck .top{box-shadow:0 1px 0 var(--rule),0 10px 20px -16px var(--shadow)}
.top .in{max-width:46rem;margin:0 auto;padding:max(18px,env(safe-area-inset-top)) 1.25rem .75rem}
.top nav{display:flex;align-items:center;gap:.3rem 1.3rem;flex-wrap:wrap;min-height:44px}
.top nav a{text-decoration:none;color:var(--muted)}
.top nav a[aria-current],.top nav a:hover{color:var(--ink)}
main{max-width:46rem;margin:0 auto;padding:0 1.25rem 2rem}
main>:first-child{margin-top:.7rem}
h1{font-size:1.95rem;line-height:1.15;font-weight:600;margin:.55rem 0 0;display:flex;align-items:center;gap:.7rem}
h1 .bar{width:2.2rem;height:.55rem;border-radius:.3rem;background:var(--c)}
h2{font-size:1.3rem;font-weight:600;margin:2.2rem 0 .5rem}
h3{font-size:1.1rem;font-weight:600;margin:0 0 .1rem}
p,li{max-width:40rem}
.lede{font-size:1.12rem}
.crumb{margin:.45rem 0 -.2rem;color:var(--muted);font-size:.92rem}
.updated{margin:0 0 1.4rem;color:var(--muted);font-size:.92rem}
ol,ul{padding-left:1.3rem}
li{margin:.35rem 0}
.src{font-size:.82rem;color:var(--muted);white-space:nowrap}
.st{padding:1rem 0;border-top:1px solid var(--rule)}
.st ul{margin:.3rem 0 0}
.meta{margin:0 0 .2rem;color:var(--muted);font-size:.86rem;display:flex;flex-wrap:wrap;gap:.35rem;align-items:center}
.chip{display:inline-flex;align-items:center;gap:.3rem;white-space:nowrap}
.chip::before{content:"";width:.9rem;height:.32rem;border-radius:.2rem;background:var(--c)}
.lines{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(13rem,1fr));gap:.6rem}
.lines li{margin:0}
.lines a{display:flex;flex-direction:column;gap:.1rem;padding:.8rem .9rem;border-radius:.7rem;background:var(--card);text-decoration:none;border:1px solid var(--rule)}
.lines a .bar{width:2rem;height:.4rem;border-radius:.25rem;background:var(--c);margin-bottom:.35rem}
.lines small{color:var(--muted)}
footer{max-width:46rem;margin:0 auto;padding:1.5rem 1.25rem 2.5rem;border-top:1px solid var(--rule);color:var(--muted);font-size:.86rem}
.home{position:fixed;z-index:10;top:max(18px,env(safe-area-inset-top));right:max(22px,env(safe-area-inset-right));display:grid;place-items:center;width:44px;height:44px;border-radius:15px;background:var(--sheet);box-shadow:0 2px 10px var(--shadow)}
.home svg{width:22px;height:22px;fill:none;stroke:var(--ink);stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.home:active{transform:scale(.94)}
@media (max-width:60rem){.top nav{padding-right:calc(44px + max(22px,env(safe-area-inset-right)) + 1.2rem)}}
@media (max-width:30rem){html{font-size:16px}h1{font-size:1.6rem}}
