:root {
  --bg: #0d1117;
  --panel: #161b22;
  --border: #30363d;
  --text: #e6edf3;
  --muted: #8b949e;
  --accent: #f85149;
  --accent2: #58a6ff;
  --ok: #3fb950;
  --warn: #d29922;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}
.wrap { max-width: 920px; margin: 0 auto; padding: 0 20px; }
a { color: var(--accent2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 1.9rem; line-height: 1.25; margin: 0.4em 0; }
h2 { font-size: 1.25rem; margin-top: 2em; border-bottom: 1px solid var(--border); padding-bottom: 0.35em; }
h3 { font-size: 1.02rem; margin-bottom: 0.3em; }

.site-header { border-bottom: 1px solid var(--border); background: var(--panel); }
.site-header .wrap { padding-top: 22px; padding-bottom: 14px; }
.brand { font-size: 1.3rem; font-weight: 700; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-mark { color: var(--accent); }
.brand-sub { margin: 2px 0 10px; color: var(--muted); font-size: 0.9rem; }
.site-header nav a { margin-right: 18px; color: var(--muted); font-weight: 600; }
.site-header nav a.active, .site-header nav a:hover { color: var(--text); text-decoration: none; }

.hero { padding: 28px 0 8px; }
.lede { font-size: 1.1rem; color: var(--text); max-width: 46em; }
.stats { color: var(--muted); }
.stats strong { color: var(--text); }

.muted { color: var(--muted); font-size: 0.92rem; }

.inc-table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.inc-table th, .inc-table td { text-align: left; vertical-align: top; padding: 10px 10px 10px 0; border-bottom: 1px solid var(--border); }
.inc-table th { color: var(--muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
.inc-link { font-weight: 600; }
.col-date { white-space: nowrap; color: var(--muted); }
.col-status { white-space: nowrap; }

.badge { display: inline-block; padding: 2px 10px; border-radius: 12px; font-size: 0.8rem; font-weight: 700; }
.badge-confirmed { background: rgba(63,185,80,0.15); color: var(--ok); border: 1px solid rgba(63,185,80,0.4); }
.badge-reported { background: rgba(210,153,34,0.15); color: var(--warn); border: 1px solid rgba(210,153,34,0.4); }

.facts { width: 100%; border-collapse: collapse; margin: 18px 0; background: var(--panel); border: 1px solid var(--border); border-radius: 6px; }
.facts th, .facts td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: none; }
.facts th { color: var(--muted); white-space: nowrap; width: 140px; }

.technique li { margin-bottom: 8px; }
.sources li { margin-bottom: 10px; }
.crumbs { color: var(--muted); font-size: 0.9rem; margin-bottom: 4px; }
.pager { color: var(--muted); }

.faq { margin-bottom: 40px; }
.site-footer { border-top: 1px solid var(--border); margin-top: 48px; padding: 20px 0 32px; color: var(--muted); font-size: 0.9rem; }

@media (max-width: 640px) {
  .inc-table thead { display: none; }
  .inc-table td { display: block; border: none; padding: 4px 0; }
  .inc-table tr { display: block; border-bottom: 1px solid var(--border); padding: 12px 0; }
  .facts th { width: 110px; }
}
