:root {
  --bg: #17181c; --surface: #1f2126; --surface-2: #26282e; --border: #34363d;
  --text: #edeae2; --text-dim: #9c9890; --accent: #d4a54a; --accent-dim: #8a7239;
  --serif: 'Source Serif 4', Georgia, serif;
  --mono: 'IBM Plex Mono', 'Courier New', monospace;
  --sans: 'Inter', -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); }
.wrap { max-width: 760px; margin: 0 auto; padding: 48px 24px 96px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--accent); font-family: var(--serif); font-size: 18px; font-weight: 600; margin-bottom: 8px; text-decoration: none; }
.updated { color: var(--text-dim); font-size: 13px; margin-bottom: 36px; }
h1 { font-family: var(--serif); font-size: 30px; margin: 0 0 4px; }
h2 { font-family: var(--serif); font-size: 19px; color: var(--accent); margin: 36px 0 10px; }
h3 { font-size: 14px; color: var(--text); margin: 20px 0 6px; }
p, li { font-size: 14.5px; line-height: 1.7; color: var(--text); }
p.dim, li.dim { color: var(--text-dim); }
ul { padding-left: 20px; }
a { color: var(--accent); }
.placeholder { background: rgba(212,165,74,0.12); border: 1px dashed var(--accent-dim); border-radius: 6px; padding: 2px 6px; color: var(--accent); font-family: var(--mono); font-size: 13px; }
.langswitch { position: sticky; top: 12px; display: flex; justify-content: flex-end; gap: 6px; margin-bottom: 8px; }
.langswitch button { background: var(--surface-2); border: 1px solid var(--border); color: var(--text-dim); border-radius: 6px; padding: 4px 10px; font-size: 12px; cursor: pointer; }
.langswitch button.active { color: var(--accent); border-color: var(--accent-dim); }
.section { display: none; }
.section.active { display: block; }
.footnote { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--text-dim); font-size: 12px; line-height: 1.6; }
