/* =========================
   SCOREBOARD – GLOBAL
   ========================= */

.scoreboard{
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;

  gap: 18px;
  padding: 12px 18px;
  border-radius: 14px;

  background: linear-gradient(180deg, #1b1f24 0%, #0f1318 100%);
  box-shadow: 0 8px 18px rgba(0,0,0,.25);
  max-width: 760px;
}

/* Neutralise les  /  injectés par WPBakery (si vous avez utilisé un bloc texte par erreur) */
.scoreboard p{ margin: 0 !important; }
.scoreboard br{ display: none !important; }

/* =========================
   NOMS DES ÉQUIPES
   ========================= */

.team{
  flex: 1 1 0 !important;
  color: #ffffff;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: .5px;
  text-transform: uppercase;
  text-shadow: 0 2px 0 rgba(0,0,0,.35);

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.team--left{ text-align: left; }
.team--right{ text-align: right; }

/* =========================
   SCORE (PILULE ROUGE)
   ========================= */

.score{
  flex: 0 0 auto !important;   /* empêche la barre pleine largeur */
  width: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px;

  min-width: 88px;
  padding: 12px 20px;
  border-radius: 12px;

  background: #e02323;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.18);
}

.score,
.score *{
  line-height: 1 !important;
}

.score__num{
  display: flex;
  align-items: center;
  justify-content: center;

  width: 1.2em;
  text-align: center;

  font-weight: 900;
  font-size: 28px;
  color: #ffffff;

  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 520px){
  .scoreboard{ gap: 12px; }
  .team{ font-size: 16px; }
  .score{
    min-width: 72px;
    padding: 10px 14px;
  }
  .score__num{ font-size: 22px; }
}