:root{--fg:#1a1a1a;--bg:#fff;--muted:#666;--accent:#0b5fff;--code-bg:#f4f4f4;--maxw:42rem}
@media(prefers-color-scheme:dark){:root{--fg:#e6e6e6;--bg:#15171a;--muted:#9aa0a6;--accent:#7aa2ff;--code-bg:#1f2227}}
*{box-sizing:border-box}
html{font-size:18px}
body{margin:0;background:var(--bg);color:var(--fg);font-family:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;line-height:1.65}
.site-header,main,.site-footer{max-width:var(--maxw);margin:0 auto;padding:1rem 1.25rem}
.site-header{display:flex;justify-content:space-between;align-items:baseline;border-bottom:1px solid var(--code-bg)}
.site-title{font-weight:700;text-decoration:none;color:var(--fg)}
nav a{color:var(--accent);text-decoration:none;margin-left:1rem}
a{color:var(--accent)}
h1,h2,h3{line-height:1.25}
time{color:var(--muted);font-size:.85rem}
.post-list ul{list-style:none;padding:0}
.post-list li{display:flex;justify-content:space-between;gap:1rem;padding:.4rem 0;border-bottom:1px solid var(--code-bg)}
article pre{background:var(--code-bg);padding:1rem;overflow:auto;border-radius:6px;font-size:.9rem}
article code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
:not(pre)>code{background:var(--code-bg);padding:.1rem .3rem;border-radius:3px;font-size:.9em}
img{max-width:100%;height:auto}
.site-footer{color:var(--muted);font-size:.85rem;border-top:1px solid var(--code-bg);margin-top:2rem}
