
:root { color-scheme: light dark; }
body { font-family: -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; margin: 0; line-height: 1.55; }
.layout { display: flex; min-height: 100vh; max-width: 1100px; margin: 0 auto; }
.sidebar { width: 240px; flex: none; padding: 1.5rem 1rem; border-right: 1px solid #ddd; }
.sidebar h2 { font-size: 1rem; margin: 0 0 0.25rem; }
.sidebar h2 a { text-decoration: none; color: inherit; }
.sidebar .tagline { font-size: 0.8rem; color: #888; margin: 0 0 1.5rem; }
.sidebar h3 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; color: #888; margin: 1.5rem 0 0.5rem; }
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar li { margin: 0.15rem 0; }
.sidebar a { text-decoration: none; color: #0645ad; }
.sidebar .count { color: #999; font-size: 0.85em; }
main { flex: 1; padding: 1.5rem 2rem; min-width: 0; }
.post-list article { margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid #eee; }
.post-list h2 { margin-bottom: 0.2rem; }
.post-list h2 a { text-decoration: none; color: inherit; }
.meta { font-size: 0.85rem; color: #888; margin: 0 0 0.6rem; }
.meta a { color: #888; }
.content img { max-width: 100%; height: auto; }
.content pre, .content code { background: #f4f4f4; padding: 0.15rem 0.35rem; border-radius: 3px; }
.post-nav { display: flex; justify-content: space-between; margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid #ddd; font-size: 0.9rem; }
.archive-note { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid #ddd; font-size: 0.8rem; color: #888; }
@media (max-width: 700px) {
  .layout { flex-direction: column; }
  .sidebar { width: auto; border-right: none; border-bottom: 1px solid #ddd; }
}
