/* camheard.us blog — HeardOS Hearth palette (dark default, light when the reader's system asks for it) */
:root {
  --bg: #1f2023; --card: #26272b; --text: #ececec; --muted: #a9aab0; --line: #3a3b40;
  --accent: #f2a35e; --accent-hover: #f5b984;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root { --bg: #f7f6f3; --card: #ffffff; --text: #1f2023; --muted: #5d5e64; --line: #e2e0da;
          --accent: #c86a16; --accent-hover: #ed8325; color-scheme: light; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text);
       font: 17px/1.7 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
header.site, main, footer.site { max-width: 720px; margin: 0 auto; padding: 0 16px; }
header.site { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap;
              padding-top: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.brand { color: var(--text); font-weight: 700; font-size: 1.25rem; text-decoration: none; letter-spacing: -.01em; }
header nav a { margin-left: 18px; font-size: .95rem; text-decoration: none; }
main { padding-top: 28px; padding-bottom: 40px; }
time { display: block; color: var(--muted); font-size: .85rem; letter-spacing: .02em; }
.card { padding: 18px 0 20px; border-bottom: 1px solid var(--line); }
.card h2 { margin: 2px 0 6px; font-size: 1.35rem; line-height: 1.3; }
.card h2 a { color: var(--text); text-decoration: none; }
.card h2 a:hover { color: var(--accent); }
.card p { margin: 0; color: var(--muted); }
.empty { color: var(--muted); }
.post h1 { margin: 4px 0 20px; font-size: 2rem; line-height: 1.2; letter-spacing: -.01em; }
.body { overflow-wrap: anywhere; }
.body img, .body video, .body iframe { max-width: 100%; height: auto; border-radius: 6px; }
.body table { max-width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.body td, .body th { border: 1px solid var(--line); padding: 6px 10px; }
.body pre { background: var(--card); padding: 12px 14px; border-radius: 6px; overflow-x: auto; }
.body code { font-size: .92em; }
.body blockquote { margin: 1em 0; padding: 2px 16px; border-left: 3px solid var(--accent); color: var(--muted); }
.body .button { display: inline-block; background: var(--accent); color: #1f2023 !important; padding: 8px 22px;
                border-radius: 4px; text-decoration: none; font-weight: 600; }
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 20px;
         border-top: 1px solid var(--line); font-size: .95rem; }
.pager a { text-decoration: none; }
footer.site { padding-top: 20px; padding-bottom: 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
