/* =================================================================
 * Stade Gabesien — Theme CSS (refonte v1.1)
 * Light mode only. Tokens via :root.
 * Inspiré du design Claude Design (cf. design-source/).
 * ================================================================= */

/* ====== Design tokens — Stade Gabesien ====== */
:root {
  /* Brand */
  --sg-green: #16A34A;
  --sg-green-deep: #0E5A2A;
  --sg-green-glow: #34D77B;

  /* Light theme */
  --bg: #F4F5F1;
  --bg-2: #ECEFE7;
  --surface: #FFFFFF;
  --surface-2: #FAFBF7;
  --text: #0B0F0C;
  --text-2: #404641;
  --text-muted: #757B72;
  --border: #E5E7E2;
  --border-strong: #C9CDC4;

  /* Status */
  --yellow: #F2B600;
  --yellow-bg: #FFF6D6;
  --red: #DC2626;
  --red-bg: #FEE2E2;
  --blue: #2563EB;
  --blue-bg: #DBEAFE;
  --orange: #EA580C;
  --orange-bg: #FFEDD5;
  --purple: #8B5CF6;
  --purple-bg: #EDE9FE;

  /* Card style */
  --card-shadow: 0 1px 2px rgba(11,15,12,.04), 0 1px 1px rgba(11,15,12,.03);
  --card-border: 1px solid var(--border);
  --card-radius: 14px;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --row-py: 14px;
  --row-px: 16px;
  --pad-card: 20px;

  --header-h: 64px;
  --sidebar-w: 248px;

  /* Fonts */
  --font-display: "Bebas Neue", "Oswald", system-ui;
  --font-sport: "Oswald", system-ui;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  font-size: 14px;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font-family: inherit; }

/* ========== Layout app ========== */
.app {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  min-height: 100vh;
}

/* ========== Sidebar ========== */
.sidebar {
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 20px 14px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sb-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 6px 22px;
  text-decoration: none;
}
.sb-brand img { width: 32px; height: 32px; object-fit: contain; }
.sb-brand .name {
  font-family: var(--font-sport);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .04em;
  line-height: 1.1;
  color: var(--text);
}
.sb-brand .sub {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.sb-section {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-muted);
  padding: 16px 10px 6px;
}
.sb-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 10px;
  border-radius: 10px;
  font-size: 13.5px;
  color: var(--text-2);
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  border: 1px solid transparent;
  text-decoration: none;
}
.sb-item:hover { background: var(--bg-2); color: var(--text); }
.sb-item.active {
  background: color-mix(in srgb, var(--sg-green) 10%, transparent);
  color: var(--sg-green-deep);
  font-weight: 600;
}
.sb-item .ico {
  width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  color: currentColor;
}
.sb-item .badge-count {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  background: var(--red);
  color: #fff;
  padding: 1px 7px;
  border-radius: 999px;
  font-family: var(--font-mono);
}
.sb-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.sb-footer .meta { font-size: 12.5px; line-height: 1.3; }
.sb-footer .meta b { font-weight: 600; display: block; }
.sb-footer .meta span { color: var(--text-muted); font-size: 11px; }

/* ========== Topbar ========== */
.topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 10;
}
.topbar .title-wrap { display: flex; flex-direction: column; gap: 2px; }
.topbar .title {
  font-family: var(--font-sport);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: .02em;
}
.topbar .crumb {
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 500;
}
.topbar .actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }

.search {
  position: relative;
  width: 280px;
}
.search input {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 12px 8px 34px;
  font-size: 13px;
  color: var(--text);
  outline: none;
}
.search input::placeholder { color: var(--text-muted); }
.search input:focus { border-color: var(--sg-green); background: var(--surface); }
.search-icon { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; }

.icon-btn {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--text-2);
  position: relative;
}
.icon-btn:hover { color: var(--text); background: var(--surface-2); }
.icon-btn .dot {
  position: absolute; top: 8px; right: 9px;
  width: 7px; height: 7px;
  border-radius: 999px;
  background: var(--red);
  border: 2px solid var(--surface);
}

/* ========== Content area ========== */
.content {
  padding: 24px 28px 60px;
  min-width: 0;
}

/* ========== Page header ========== */
.page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
}
.page-header .sub {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.page-header h1 {
  font-family: var(--font-display);
  margin: 4px 0 0;
  font-size: 36px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .02em;
}
.page-header .actions { display: flex; gap: 8px; align-items: center; }

/* ========== Cards ========== */
.card {
  background: var(--surface);
  border-radius: var(--card-radius);
  border: var(--card-border);
  box-shadow: var(--card-shadow);
  padding: var(--pad-card);
}
.card-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.card-title {
  font-family: var(--font-sport);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.card-sub {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .05s;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--sg-green); color: #fff; }
.btn-primary:hover { background: var(--sg-green-deep); }
.btn-ghost { background: var(--bg-2); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-danger { background: var(--red); color: #fff; }
.btn-warning { background: var(--yellow); color: #1B1404; }
.btn-success { background: var(--sg-green); color: #fff; }
.btn-sm { padding: 5px 10px; font-size: 12px; border-radius: 8px; }

/* ========== Badges ========== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}
.badge-green { background: color-mix(in srgb, var(--sg-green) 14%, transparent); color: var(--sg-green-deep); }
.badge-yellow { background: var(--yellow-bg); color: #946C00; }
.badge-red { background: var(--red-bg); color: var(--red); }
.badge-blue { background: var(--blue-bg); color: var(--blue); }
.badge-orange { background: var(--orange-bg); color: var(--orange); }
.badge-purple { background: var(--purple-bg); color: var(--purple); }
.badge-gray { background: var(--bg-2); color: var(--text-2); border: 1px solid var(--border); }

/* ========== Cartons (jaune / rouge) ========== */
.carton {
  display: inline-block;
  width: 11px; height: 14px;
  border-radius: 1.5px;
  vertical-align: middle;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.2);
}
.carton.j { background: var(--yellow); }
.carton.r { background: var(--red); }

/* ========== Tables ========== */
table.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
table.tbl th {
  text-align: left;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 10px var(--row-px);
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
  white-space: nowrap;
}
table.tbl th.sortable { cursor: pointer; user-select: none; }
table.tbl th.sortable:hover { color: var(--text); }
table.tbl td {
  padding: var(--row-py) var(--row-px);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
table.tbl tr:hover td { background: var(--bg-2); }
table.tbl tr:last-child td { border-bottom: 0; }

/* ========== Avatar disc ========== */
.av {
  width: 32px; height: 32px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .04em;
  color: #fff;
  font-family: var(--font-mono);
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--sg-green-deep), var(--sg-green));
}
.av-lg { width: 56px; height: 56px; font-size: 18px; }
.av-xl { width: 96px; height: 96px; font-size: 28px; }

/* ========== Stat blocks ========== */
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .02em;
  color: var(--text);
}
.stat-lbl {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.stat-delta {
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-mono);
}
.stat-delta.up { color: var(--sg-green); }
.stat-delta.down { color: var(--red); }
.stat-icon-box {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--sg-green) 14%, transparent);
  color: var(--sg-green-deep);
  display: inline-flex; align-items: center; justify-content: center;
}
.kpi-deco {
  position: absolute;
  inset: auto -10px -10px auto;
  font-family: var(--font-display);
  font-size: 120px;
  line-height: 1;
  color: color-mix(in srgb, var(--sg-green) 10%, transparent);
  pointer-events: none;
  font-weight: 400;
}

/* ========== Form ========== */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.field input, .field select, .field textarea {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 13.5px;
  color: var(--text);
  outline: none;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--sg-green);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--sg-green) 18%, transparent);
}
.field .err { font-size: 11px; color: var(--red); font-weight: 600; margin-top: 2px; }

/* ========== Sport accents ========== */
.divider-stripes {
  height: 6px;
  background: repeating-linear-gradient(
    -45deg,
    var(--sg-green) 0 12px,
    var(--sg-green-deep) 12px 24px
  );
  border-radius: 3px;
}

/* ========== Login screen ========== */
.login-stage {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg);
}
.login-hero {
  position: relative;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.08), transparent 50%),
    linear-gradient(135deg, var(--sg-green-deep), var(--sg-green) 70%, var(--sg-green-glow));
  color: #fff;
  padding: 56px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.login-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(255,255,255,.04) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(255,255,255,.04) 39px 40px);
  pointer-events: none;
}
.login-form {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px;
}
.login-form .form-wrap { width: 100%; max-width: 380px; }
@media (max-width: 900px) {
  .login-stage { grid-template-columns: 1fr; }
  .login-hero { display: none; }
}

/* ========== Scrollbar ========== */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ========== Utility ========== */
.row { display: flex; align-items: center; gap: 10px; }
.row-wrap { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.spacer { flex: 1; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
.grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: var(--space-5); }
.grid-3-2 { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-5); }
.mono { font-family: var(--font-mono); }
.sport { font-family: var(--font-sport); letter-spacing: .02em; }
.display { font-family: var(--font-display); letter-spacing: .02em; }
.muted { color: var(--text-muted); }
.right { text-align: right; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.hover-row:hover { background: var(--bg-2); cursor: pointer; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.gap-1 { gap: 4px; } .gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; }
.mb-1 { margin-bottom: 4px; } .mb-2 { margin-bottom: 8px; } .mb-3 { margin-bottom: 12px; } .mb-4 { margin-bottom: 16px; } .mb-5 { margin-bottom: 20px; } .mb-6 { margin-bottom: 24px; }
.mt-1 { margin-top: 4px; } .mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; }

/* ========== Pills (filtres) ========== */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 600;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-2);
  cursor: pointer;
  user-select: none;
  text-decoration: none;
}
.pill.active { background: var(--sg-green); color: #fff; border-color: var(--sg-green); }

/* ========== Bar de progression ========== */
.bar {
  height: 6px;
  background: var(--bg-2);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--sg-green-deep), var(--sg-green));
  border-radius: 999px;
}

/* ========== Modal ========== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,.5);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.modal {
  background: var(--surface);
  border-radius: 16px;
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(0,0,0,.3);
}
.modal-h {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-body { padding: 22px; overflow-y: auto; }
.modal-f {
  padding: 14px 22px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  background: var(--surface-2);
}

/* ========== Sanctions matrix cells ========== */
.scell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 26px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 5px;
  font-family: var(--font-mono);
  border: 1px solid var(--border);
}
.scell-P {
  background: color-mix(in srgb, var(--sg-green) 16%, transparent);
  color: var(--sg-green-deep);
  border-color: color-mix(in srgb, var(--sg-green) 28%, transparent);
}
.scell-PE { background: var(--blue-bg); color: var(--blue); border-color: color-mix(in srgb, var(--blue) 30%, transparent); }
.scell-J { background: var(--yellow); color: #1B1404; border-color: #C99700; }
.scell-R { background: var(--red); color: #fff; border-color: var(--red); }
.scell-RC { background: var(--red); color: #fff; border-color: var(--red); }
.scell-OK { background: var(--surface-2); color: var(--text-muted); }
.scell-OKR { background: var(--surface-2); color: var(--text-muted); }
.scell--empty { color: var(--text-muted); background: transparent; }

/* Matrix table tweaks */
.matrix-wrap { overflow-x: auto; }
.matrix th.sticky-l, .matrix td.sticky-l {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--surface);
}
.matrix th.sticky-l { background: var(--surface-2); z-index: 2; }
.matrix th.totals, .matrix td.totals { background: var(--surface-2); }

/* ========== Stripes background detail ========== */
.stripes {
  background:
    repeating-linear-gradient(90deg, transparent 0 16px, color-mix(in srgb, var(--sg-green) 8%, transparent) 16px 17px);
}

/* ========== Postes joueurs (codes colorés) ========== */
.poste {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 10.5px;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: .04em;
}
.poste-GB { background: #FEF3C7; color: #92400E; }
.poste-DC, .poste-DG, .poste-DD { background: #DBEAFE; color: #1E40AF; }
.poste-MC, .poste-MD, .poste-MO { background: #E0E7FF; color: #3730A3; }
.poste-AG, .poste-AD, .poste-BU { background: #FEE2E2; color: #991B1B; }

/* ========== Toasts (flash messages) ========== */
.toast-stack {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 380px;
}
.toast {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--sg-green);
  border-radius: 10px;
  padding: 12px 16px;
  box-shadow: 0 6px 20px rgba(11,15,12,.12);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
}
.toast-success { border-left-color: var(--sg-green); }
.toast-error   { border-left-color: var(--red); }
.toast-warning { border-left-color: var(--yellow); }
.toast-info    { border-left-color: var(--blue); }
.toast .toast-icon { flex-shrink: 0; }
.toast .toast-body { flex: 1; }
.toast .toast-body strong { display: block; margin-bottom: 2px; }
.toast .toast-body ul { margin: 4px 0 0; padding-left: 18px; font-size: 12px; color: var(--text-2); }

/* ========== Pagination Laravel ========== */
.pagination {
  display: flex;
  gap: 4px;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  flex-wrap: wrap;
}
.pagination .page-item .page-link,
.pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.pagination .page-item.active .page-link,
.pagination .page-link[aria-current="page"] {
  background: var(--sg-green);
  border-color: var(--sg-green);
  color: #fff;
}
.pagination .page-item.disabled .page-link,
.pagination .page-link[aria-disabled="true"] {
  opacity: .4;
  cursor: not-allowed;
}

/* ========== Podium top buteurs ========== */
.podium {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.podium-card {
  padding: 16px;
  border-radius: 12px;
  background: var(--bg-2);
  color: var(--text);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.podium-card.gold {
  background: linear-gradient(180deg, var(--sg-green) 0%, var(--sg-green-deep) 100%);
  color: #fff;
}
.podium-card .rank {
  position: absolute;
  top: -8px;
  right: 8px;
  font-family: var(--font-display);
  font-size: 64px;
  opacity: .14;
  line-height: 1;
}
.podium-card.gold .rank { opacity: .25; }
.podium-card .av { margin: 0 auto; }
.podium-card .num {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
  margin-top: 8px;
}
.podium-card .lbl {
  font-family: var(--font-sport);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .8;
  margin-bottom: 6px;
}
.podium-card .name { font-size: 13px; font-weight: 700; }
.podium-card .surname { font-size: 12px; opacity: .85; }

/* ========== Next match card (dégradé) ========== */
.next-match {
  padding: 14px;
  border-radius: 12px;
  background: var(--bg-2);
  color: var(--text);
  position: relative;
  overflow: hidden;
}
.next-match.featured {
  background: linear-gradient(135deg, var(--sg-green-deep), var(--sg-green));
  color: #fff;
}
.next-match .meta {
  font-family: var(--font-sport);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .8;
}
.next-match .vs {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.05;
  margin-top: 4px;
  letter-spacing: .02em;
}
.next-match .date {
  font-family: var(--font-mono);
  font-size: 12px;
  opacity: .85;
  margin-top: 4px;
}

/* ========== Alert bands ========== */
.alert-band {
  padding: 10px 12px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}
.alert-band.red    { background: var(--red-bg); }
.alert-band.yellow { background: var(--yellow-bg); }
.alert-band.blue   { background: var(--blue-bg); }
.alert-band.orange { background: var(--orange-bg); }
.alert-band .lead {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  min-width: 38px;
}
.alert-band .lead.red    { color: var(--red); }
.alert-band .lead.yellow { color: #946C00; }
.alert-band .body { flex: 1; font-size: 13px; }
.alert-band .amount {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
}
