@import "tailwindcss";

:root {
  --bg: #0a0a0a;
  --bg-card: #141414;
  --bg-alt: #1a1a1a;
  --text: #e8e6e1;
  --text-muted: #9a9890;
  --gold: #c8a97e;
  --gold-dim: #a08060;
  --border: #2a2a2a;
  --red: #e05252;
  --green: #52a869;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
}

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

th {
  text-align: left;
  padding: 0.6rem 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
}

th:hover { color: var(--gold); }
th.sorted { color: var(--gold); }

td {
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--bg-alt); }

.num { text-align: right; font-variant-numeric: tabular-nums; }

.diff-pos { color: var(--red); font-weight: 600; }
.diff-neg { color: var(--green); font-weight: 600; }
.diff-neu { color: var(--text-muted); }

.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-red   { background: rgba(224,82,82,0.15);  color: var(--red); }
.badge-gold  { background: rgba(200,169,126,0.15); color: var(--gold); }
