:root { color-scheme: light dark; --bg: #fafafa; --surface: #fff; --text: #17191d; --muted: #626974; --line: #e3e6eb; --link: #175fc0; }
@media (prefers-color-scheme: dark) { :root { --bg: #0b0c0e; --surface: #131518; --text: #f1f3f5; --muted: #a2a9b4; --line: #292d34; --link: #88b8ff; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 system-ui, sans-serif; }
a { color: var(--link); text-underline-offset: .2em; }
header { max-width: 800px; padding: 20px 24px; margin: auto; display: flex; justify-content: space-between; gap: 24px; }
.brand { font-weight: 750; color: var(--text); text-decoration: none; }
main { max-width: 800px; margin: 12px auto 64px; padding: 0 24px; }
article { padding: clamp(20px, 5vw, 40px); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow-wrap: anywhere; }
.byline { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: .875rem; }
h1 { font-size: clamp(1.4rem, 4vw, 2rem); line-height: 1.25; margin: 20px 0; }
.body { white-space: pre-wrap; }
.media { display: block; max-width: 100%; max-height: 700px; height: auto; margin: 24px auto; border-radius: 10px; }
footer { margin-top: 32px; border-top: 1px solid var(--line); padding-top: 24px; }
.discussion { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 600; }
a:focus-visible { outline: 2px solid var(--link); outline-offset: 5px; border-radius: 2px; }
@media (max-width: 480px) { main { padding: 0 12px; } header { padding: 16px; } }
