/* Общие переменные и основа для дашборда и страницы входа (тёмная тема, как в приложении) */
:root {
  color-scheme: dark;
  --bg: #0b1524;
  --surface: #142442;
  --surface-2: #1c2f55;
  --line: #24365e;
  --text: #f2f6ff;
  --text-dim: #9db0d4;
  --accent: #ffd23a;
  --accent-ink: #0b1524;
  --series-us: #d28e05;     /* СКА — проверено валидатором на фоне --surface */
  --series-them: #338ced;   /* соперник */
  --good: #23c26f;
  --bad: #ff5a5f;
  --warn: #ffb020;
  --radius: 16px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px; line-height: 1.35;
  padding: var(--safe-top) 0 var(--safe-bottom);
  font-variant-numeric: tabular-nums;
}
a { color: var(--accent); }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none; }
.btn.ghost { background: var(--surface-2); color: var(--text); }
