/* === FPF Fixture Layout Fix (v1.0.1) === */
/* Fila: 3 columnas -> local | marcador | visitante */
.ftfix-row, .fpf-fixture-row{
  display:grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  align-items:center !important;
  gap:12px; /* menor gap para acercar todo al centro */
  padding:14px 8px;
  border-bottom:1px solid #eee;
}

/* Columnas de equipo: centramos su contenido hacia el marcador */
.ftfix-row .fpf-team, .fpf-fixture-row .fpf-team{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

/* LOCAL: empujar contenido hacia el centro (derecha de su columna) */
.fpf-team--home{
  justify-content:flex-end;   /* <--- antes flex-start */
  text-align:right;
}

/* VISITANTE: empujar contenido hacia el centro (izquierda de su columna) */
.fpf-team--away{
  justify-content:flex-start; /* <--- antes flex-end */
  text-align:left;
}

.fpf-team__name{
  font-size:16px;
  font-weight:500;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.fpf-team__logo{ width:22px; height:22px; object-fit:contain; }

/* Marcador al centro con pills y estado debajo */
.fpf-score{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-width:84px;
}
.fpf-score__home, .fpf-score__away{
  display:inline-flex;
  min-width:28px;
  padding:2px 6px;
  border-radius:6px;
  font-weight:700;
  line-height:1.2;
  justify-content:center;
  border:1px solid #e6e6e6;
}
.fpf-score__sep{ display:inline-block; margin:0 6px; font-weight:700; }
.fpf-score > .fpf-state{ margin-top:6px; font-size:12px; color:#6b7280; }

.fpf-score__home, .fpf-score__sep, .fpf-score__away{ vertical-align:middle; }
.fpf-score > :first-child, .fpf-score > :nth-child(2), .fpf-score > :nth-child(3){ display:inline-block; }

/* Responsive */
@media (max-width:640px){
  .ftfix-row, .fpf-fixture-row{ gap:8px; }
  .fpf-team__name{ font-size:14px; }
  .fpf-team__logo{ width:20px; height:20px; }
  .fpf-score__home, .fpf-score__away{ min-width:24px; }
}


/* === Ajustes solicitados por Ariel (centrado de equipos y estado debajo del marcador) === */
.ftfix-list .ftfix-row{
  display:grid !important;
  grid-template-columns: 1fr auto 1fr !important; /* local | marcador | visitante */
  align-items:center !important;
  gap:12px;
}
/* Equipos: acercar texto+logo hacia el centro */
.ftfix-row .team{ display:flex; align-items:center; gap:8px; }
.ftfix-row .team.team-home{ justify-content:flex-end; text-align:right; }
.ftfix-row .team.team-away{ justify-content:flex-start; text-align:left; }
.ftfix-row .team img{ width:24px; height:24px; object-fit:contain; }
/* Marcador al centro con estado debajo */
.ftfix-row .score{ display:flex; flex-direction:column; align-items:center; min-width:78px; }
.ftfix-row .score .sep{ margin:4px 0; }
.ftfix-row .score .state-line,
.ftfix-row .estado{ margin-top:6px; font-size:.875rem; line-height:1.2; }

