
:root { --bg:#f7f4ee; --fg:#1d1b19; --muted:#6d665e; --line:#ddd6cb; --accent:#b4442b; --panel:#fff;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif; --sans: system-ui, -apple-system, "Segoe UI", sans-serif; }
@media (prefers-color-scheme: dark) { :root { --bg:#151311; --fg:#ece6dd; --muted:#a39a8e; --line:#38322c; --accent:#e3795d; --panel:#1f1c19; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.65 var(--sans); }
a { color: var(--accent); }
header.site, footer.site { padding: 14px max(16px, 4vw); display: flex; gap: 18px; align-items: baseline; flex-wrap: wrap; }
header.site { border-bottom: 1px solid var(--line); }
header.site a.brand { font: 700 20px var(--serif); color: var(--fg); text-decoration: none; }
footer.site { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; margin-top: 60px; }
main { max-width: 980px; margin: 0 auto; padding: 24px max(16px, 4vw); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; text-wrap: balance; }
.works { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; list-style: none; padding: 0; }
.works li { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.works img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
.works .meta { padding: 12px 14px; }
.hero { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 28px; align-items: start; }
.hero img { width: 100%; border-radius: 10px; border: 1px solid var(--line); }
@media (max-width: 700px) { .hero { grid-template-columns: 1fr; } }
.muted { color: var(--muted); }
.buttons { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0; }
.buttons a { background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 8px; text-decoration: none; }
.buttons a.alt { background: none; color: var(--accent); border: 1px solid var(--accent); }
article.prose { max-width: 40rem; margin: 0 auto; font: 19px/1.75 var(--serif); }
article.prose p { margin: 0; text-indent: 1.5em; }
article.prose p:first-of-type { text-indent: 0; }
.scene-break { text-align: center; margin: 1.2em 0; color: var(--muted); }
.comic { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.comic img { width: min(100%, 820px); height: auto; display: block; box-shadow: 0 2px 12px rgb(0 0 0 / .2); }
nav.chapters { display: flex; justify-content: space-between; margin: 32px auto; max-width: 40rem; }
.note { border-left: 3px solid var(--accent); padding: 8px 14px; background: var(--panel); border-radius: 4px; }
