:root{color-scheme:light;--ink:#1f2933;--muted:#65727e;--line:#e5e9ed;--accent:#326b63;--paper:#fff;--bg:#f5f7f6;--card:#fff}
*{box-sizing:border-box}body{margin:0;background:#f5f7f6;color:var(--ink);font:16px/1.75 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.theme-sakura{--ink:#392d36;--muted:#806b79;--line:#f0dce6;--accent:#b64e78;--bg:#fff7fa;--card:#fff}
.theme-ink{--ink:#20242c;--muted:#666d78;--line:#dce1e8;--accent:#3159a6;--bg:#f4f6fb;--card:#fff}
.theme-moss{--ink:#29362d;--muted:#68766a;--line:#dce5d8;--accent:#557b4f;--bg:#f5f8f1;--card:#fff}
.theme-sand{--ink:#41372c;--muted:#82725e;--line:#eadfce;--accent:#a66d36;--bg:#fbf7ef;--card:#fffdf8}
.theme-ocean{--ink:#203642;--muted:#607782;--line:#d5e5ea;--accent:#197b91;--bg:#f1f8fa;--card:#fff}
.theme-plum{--ink:#352c40;--muted:#73677e;--line:#e5ddec;--accent:#75539a;--bg:#f8f5fb;--card:#fff}
.theme-slate{--ink:#26323b;--muted:#66747e;--line:#dbe2e7;--accent:#476a7d;--bg:#f3f6f7;--card:#fff}
.theme-copper{--ink:#3d3028;--muted:#826f62;--line:#eadbd0;--accent:#a9512e;--bg:#fbf5f0;--card:#fff}
body{background:var(--bg);color:var(--ink)}
.site-header,main,footer{width:min(760px,calc(100% - 40px));margin:auto}.site-header{display:flex;justify-content:space-between;align-items:center;padding:25px 0;border-bottom:1px solid var(--line);font-size:14px;color:var(--muted)}.site-header a{font-weight:700;color:var(--ink);text-decoration:none}.intro{padding:68px 0 42px}.eyebrow,.meta{font-size:12px;letter-spacing:.08em;color:var(--muted)}h1,h2{line-height:1.3}.intro h1{font-size:clamp(32px,6vw,46px);margin:8px 0}.intro>p:last-child{color:var(--muted)}.entry{padding:22px 0;border-top:1px solid var(--line)}.entry h2{margin:4px 0;font-size:23px}.entry a{color:var(--ink);text-decoration:none}.entry a:hover{color:var(--accent)}.entry p:last-child,.summary{color:var(--muted)}.post{padding:50px 0}.post h1{font-size:clamp(30px,5vw,40px)}.prose h2{margin-top:2em}.prose pre{overflow:auto;padding:16px;background:#17212b;color:#e5edf3;border-radius:8px}.prose code{font-family:ui-monospace,SFMono-Regular,monospace}.prose :not(pre)>code{padding:2px 5px;background:color-mix(in srgb,var(--accent) 12%, white);border-radius:4px}footer{padding:25px 0 45px;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}

/* Give each node theme a distinct visual identity beyond its accent color. */
body.theme-sakura{background:linear-gradient(180deg,#fff0f6 0,#fff8fb 340px,#fff7fa 100%);font-family:Georgia,"Noto Serif",serif}
body.theme-sakura .site-header{border-bottom:2px solid #e8aac4}
body.theme-sakura .entry{margin:14px 0;padding:20px 22px;background:var(--card);border:1px solid var(--line);border-radius:18px;box-shadow:0 8px 22px #b64e7812}
body.theme-ink{--ink:#e7edf5;--muted:#a2adbd;--line:#344153;--accent:#8eb4ff;--bg:#0e131b;--card:#171f2b;color-scheme:dark}
body.theme-ink .site-header,body.theme-ink footer{border-color:var(--line)}
body.theme-ink .entry{margin:14px 0;padding:20px 22px;background:var(--card);border:1px solid var(--line);border-radius:6px}
body.theme-ink .prose pre{background:#080b10;border:1px solid #344153}
body.theme-moss{background:#edf3e8}
body.theme-moss .site-header a{color:#315b34}
body.theme-moss .entry{border-top:2px solid #bacdb2}
body.theme-moss .entry h2{font-family:Georgia,"Noto Serif",serif}
body.theme-sand{background-color:#f2e8d7;background-image:radial-gradient(#b69a7430 .7px,transparent .7px);background-size:12px 12px;font-family:Georgia,"Noto Serif",serif}
body.theme-sand .entry{margin:14px 0;padding:20px 22px;background:#fffdf8;border:1px solid #e1d0b8;border-radius:2px}
body.theme-ocean{background:linear-gradient(145deg,#e4f4f7 0,#f1f8fa 48%,#e6f1f6 100%)}
body.theme-ocean .site-header{border-bottom:3px solid #9ccbd5}
body.theme-ocean .entry{margin:14px 0;padding:20px 22px;background:var(--card);border:1px solid #c4e0e6;border-radius:12px;box-shadow:0 5px 16px #197b9114}
body.theme-plum{background:linear-gradient(160deg,#f0eaf8 0,#f8f5fb 42%,#f5eff9 100%)}
body.theme-plum .site-header a{font-family:Georgia,"Noto Serif",serif;letter-spacing:.04em}
body.theme-plum .entry{margin:14px 0;padding:20px 22px;background:var(--card);border:1px solid #ded1e9;border-left:4px solid var(--accent);border-radius:10px}
body.theme-slate{background:#e9eef1}
body.theme-slate .site-header{border-bottom:1px solid #9aaab4}
body.theme-slate .eyebrow,body.theme-slate .meta{text-transform:uppercase;letter-spacing:.14em}
body.theme-slate .entry{margin:14px 0;padding:20px 22px;background:#f9fbfc;border:1px solid #cbd5dc;border-radius:4px;box-shadow:3px 3px 0 #cbd5dc}
body.theme-copper{background:linear-gradient(180deg,#f4e7dc 0,#fbf5f0 360px,#fbf5f0 100%)}
body.theme-copper .site-header{border-bottom:2px solid #d7a68d}
body.theme-copper .site-header a,body.theme-copper .entry h2{font-family:Georgia,"Noto Serif",serif}
body.theme-copper .entry{margin:14px 0;padding:20px 22px;background:#fffaf6;border:1px solid #e5c9b7;border-radius:0 14px 0 14px}
