:root { --ink: #2b2620; --soft: #6f665a; --line: #e2dccf; --bg: #fbf8f1; --accent: #8a3b2a; }
* { box-sizing: border-box; }
html { background: var(--bg); color: var(--ink); }
body { margin: 0 auto; max-width: 42rem; padding: 1.2rem 1.2rem 3rem; font: 17px/1.9 "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif; }
html[lang="en"] body { font-family: Georgia, "Noto Serif", serif; line-height: 1.75; }
a { color: var(--accent); }
header { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--line); padding-bottom: .4rem; margin-bottom: 1.6rem; font-size: .9rem; }
header .site { color: var(--ink); text-decoration: none; font-weight: bold; }
h1 { font-size: 1.5rem; line-height: 1.5; margin: 0 0 .8rem; }
h1 .pli { display: block; font-size: .95rem; font-weight: normal; color: var(--soft); font-style: italic; }
h2 { font-size: 1.15rem; margin: 2.2rem 0 .8rem; border-bottom: 1px solid var(--line); }
h2 a { color: var(--soft); text-decoration: none; font-variant-numeric: tabular-nums; }
h3 { font-size: .95rem; color: var(--soft); margin: 1.4rem 0 .3rem; }
.sub, .about, .partial, .src { color: var(--soft); font-size: .92rem; }
p.tr { margin: 1rem 0 .1rem; }
p.pli { margin: 0 0 .6rem; color: var(--soft); font-style: italic; font-size: .9rem; line-height: 1.6; font-family: Georgia, "Noto Serif", serif; }
section:target h2 { color: var(--accent); }
section:target { background: linear-gradient(90deg, #f3ead6, transparent); margin: 0 -1rem; padding: 0 1rem .4rem; }
.notes { font-size: .9rem; padding-left: 1.2rem; }
.toc { padding-left: 1.2rem; } .toc .pli { color: var(--soft); font-style: italic; font-size: .9rem; } .toc ul { padding-left: 1rem; font-size: .95rem; }
footer { margin-top: 3rem; border-top: 1px solid var(--line); color: var(--soft); font-size: .8rem; line-height: 1.7; }
