:root { --bg: #f5f5fa; --panel: #fff; --text: #17171f; --muted: #6b6b7b; --line: #e6e6ef; --accent: #6d4aff; }
:root[data-theme="dark"] {
    --bg: #0f0f15; --panel: #18181f; --text: #ececf3; --muted: #9a9aab; --line: #2a2a36; --accent: #9b84ff;
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
    --bg: #0f0f15; --panel: #18181f; --text: #ececf3; --muted: #9a9aab; --line: #2a2a36; --accent: #9b84ff;
    }
  }
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.65 system-ui, -apple-system, "Segoe UI", sans-serif; background: var(--bg); color: var(--text); }
header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: var(--panel); border-bottom: 1px solid var(--line); }
header a { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; }
header img { width: 28px; height: 28px; }
main { max-width: 760px; margin: 0 auto; padding: 32px 20px 48px; }
h1 { font-size: 30px; margin: 0 0 4px; letter-spacing: -.01em; }
h2 { font-size: 19px; margin: 30px 0 8px; }
.updated { color: var(--muted); margin: 0 0 24px; }
li { margin: 4px 0; }
a { color: var(--accent); }
footer { text-align: center; color: var(--muted); font-size: 14px; padding: 24px 16px 40px; }
footer a { color: var(--muted); }
.theme-btn { width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 99px; background: none; color: var(--muted); cursor: pointer; }
.theme-btn:hover { color: var(--text); }
.theme-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:root[data-theme="dark"] .theme-btn .moon, :root:not([data-theme="dark"]) .theme-btn .sun { display: none; }
