/* ====== Onglets (aligné au style public) ====== */
.top-tabs {
  display: flex;
  border-bottom: 1px solid #333;
  margin-bottom: 16px;
  gap: 4px;
}
.tab-button {
  background: #2a2a2a;
  color: #ccc;
  text-decoration: none;
  border: none;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.2s, color 0.2s;
  border-radius: 4px 4px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.tab-button.active {
  background: #1e1e1e;
  color: #66afe9;
  border-bottom: 2px solid #66afe9;
}

.sub-tabs {
  display: flex;
  border-bottom: 1px solid #333;
  margin: 16px 0 12px;
  gap: 4px;
}
.sub-tab-button {
  background: #2a2a2a;
  color: #ccc;
  text-decoration: none;
  border: none;
  padding: 8px 14px;
  cursor: default; /* public: non cliquable */
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
  border-radius: 4px 4px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.sub-tab-button.active {
  background: #1e1e1e;
  color: #66afe9;
  border-bottom: 2px solid #66afe9;
}

/* ====== Bloc classement ====== */
.classement-block {
  background: #1f1f1f;
  border-radius: 6px;
  padding: 12px;
}

.classement-table {
  width: 100%;
  border-collapse: collapse;
  color: #fff;
  table-layout: fixed;
}
.classement-table thead th {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .04em;
  opacity: .85;
  padding: 10px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.classement-table tbody td {
  padding: 10px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  vertical-align: middle;
  text-align: center;
}

/* pas d'effet hover sur public */
.classement-table tbody tr:hover { background: transparent; }

/* colonnes spécifiques */
.classement-table td:nth-child(1) { /* Pos */
  width: 56px;
}
.classement-table td:nth-child(2) { /* Logo */
  width: 56px;
}

.mini-match-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  vertical-align: middle;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,.15);
  background: #000;
}

/* Total en gras */
.total-cell {
  font-weight: 700;
}

/* Deductions (bonus - malus) */
.deduct-plus  { color: #7fe57f; }
.deduct-zero  { color: #ddd; }
.deduct-minus { color: #ff8a8a; }

/* Message vide */
.empty-hint {
  color: #bbb;
  padding: .75rem 0;
}

/* ====== Mise en avant des 16 premières lignes ====== */
.classement-table tbody tr:nth-child(-n+16) {
  background: rgba(102, 187, 106, 0.10); /* #66bb6a, 10% */
  border-left: 3px solid #66bb6a;
}

/* Petites largeurs */
@media (max-width: 720px) {
  .tab-button, .sub-tab-button { padding: 8px 10px; }
  .classement-table thead { font-size: 0.95em; }
  .classement-table td, .classement-table th { padding: 8px; }
}
