:root {
  --bg: #0a0a0c; --surface: #151518; --border: #26262b;
  --text: #f5f5f7; --muted: #a1a1aa; --accent: #e5202e;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f4f4f6; --surface: #ffffff; --border: #e2e2e6;
    --text: #151518; --muted: #5b5b66; --accent: #c8141f;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
main { max-width: 760px; margin: 0 auto; padding: 32px 16px 64px; }
header { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.brand { font-weight: 800; font-style: italic; letter-spacing: 2px; color: var(--accent); text-decoration: none; }
nav button {
  background: var(--surface); color: var(--muted); border: 1px solid var(--border);
  border-radius: 999px; padding: 6px 14px; font: inherit; cursor: pointer;
}
nav button[aria-pressed="true"] { color: var(--text); border-color: var(--accent); }
h1 { font-size: 2rem; line-height: 1.2; margin: 32px 0 4px; }
h2 { font-size: 1.15rem; margin: 32px 0 8px; color: var(--accent); }
.updated { color: var(--muted); font-size: .9rem; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 4px 16px; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--border); }
th { color: var(--muted); font-weight: 600; }
tr:last-child td { border-bottom: 0; }
a { color: var(--accent); }
footer { margin-top: 48px; color: var(--muted); font-size: .9rem; }
[lang]:not(html) { display: none; }
body.show-en [lang="en"], body.show-hu [lang="hu"] { display: block; }
.table-wrap { overflow-x: auto; }
