:root {
  --bg: #f8f9fb;
  --surface: #fff;
  --text: #1a1d26;
  --muted: #5c6370;
  --border: #dde1e8;
  --accent: #2563eb;
  --badge-active: #15803d;
  --badge-ended: #6b7280;
  --badge-pending: #b45309;
  --badge-none: #64748b;
  --badge-warn: #c2410c;
  --featured-bg: #eff6ff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem 3rem;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.site-header .wrap {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.logo {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

nav a[aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}

h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
}

.h1-sub {
  font-weight: 500;
  color: var(--muted, #6b7280);
}

.meta-line {
  font-size: 0.9rem;
  color: var(--muted, #6b7280);
  margin-top: -0.25rem;
  margin-bottom: 1rem;
}

.footer-trust {
  font-size: 0.9rem;
}

.drop-calendar-list {
  margin-bottom: 1.25rem;
}

.h1-sub {
  font-weight: 500;
  color: var(--muted);
}

.meta-line {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: -0.25rem;
  margin-bottom: 1rem;
}

.footer-trust {
  font-size: 0.9rem;
}

.drop-calendar-list {
  margin-bottom: 1.25rem;
}

.h1-sub {
  font-weight: 500;
  color: var(--muted);
}

.meta-line {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: -0.25rem;
  margin-bottom: 1rem;
}

.footer-trust {
  font-size: 0.9rem;
}

.drop-calendar-list {
  margin-bottom: 1.25rem;
}

.h1-sub {
  font-weight: 500;
  color: var(--muted);
}

.meta-line {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: -0.25rem;
  margin-bottom: 1rem;
}

.footer-trust {
  font-size: 0.9rem;
}

.drop-calendar-list {
  margin-bottom: 1.25rem;
}

.lead {
  color: var(--muted);
  max-width: 65ch;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.1rem;
  margin: 1rem 0;
}

.card-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: end;
  margin: 1.25rem 0;
  font-size: 0.9rem;
}

.filters label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  color: var(--muted);
}

.filters select {
  min-width: 10rem;
  padding: 0.35rem 0.5rem;
  font-size: 0.95rem;
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

table.data th,
table.data td {
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

table.data th {
  background: #f1f3f7;
  font-weight: 600;
  white-space: nowrap;
}

table.data tbody tr:last-child td {
  border-bottom: none;
}

table.data tr.featured-row {
  background: var(--featured-bg);
}

table.data th.sortable {
  cursor: pointer;
  user-select: none;
}

table.data th.sortable:hover {
  background: #e8ecf2;
}

.tabular {
  font-variant-numeric: tabular-nums;
}

.badge {
  display: inline-block;
  padding: 0.12rem 0.45rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: capitalize;
  color: #fff;
  background: var(--badge-none);
}

.badge-active,
.badge-active {
  background: var(--badge-active);
}

.badge-ended {
  background: var(--badge-ended);
}

.badge-pending,
.badge-unclear,
.badge-unverified,
.badge-unverified {
  background: var(--badge-pending);
}

.badge-none-known,
.badge-none {
  background: var(--badge-none);
}

.badge-pre-tge {
  background: #7c3aed;
}

.badge-live {
  background: #0d9488;
}

.stale-mark {
  color: var(--badge-warn);
  font-size: 0.8rem;
  font-weight: 600;
}

.featured-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.disclosure {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.5rem 0 0;
}

.prose p,
.prose ul {
  max-width: 70ch;
}

blockquote.evidence {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  border-left: 3px solid var(--accent);
  background: #f4f6fa;
  color: var(--text);
}

.site-footer {
  margin-top: 3rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
}

.site-footer a {
  color: var(--muted);
}

.faq dt {
  font-weight: 600;
  margin-top: 1rem;
}

.faq dd {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

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