/* Nombres de equipo COMPLETOS con el celular en vertical (r17, Piero 11/11).
   Causa: en la lista de partidos del club (.club-match-list) el nombre iba con white-space:nowrap + text-overflow:ellipsis + overflow:hidden y una letra
   de .58–.76rem dentro de una celda angosta, así que «ASOCIACIÓN DEPORTIVA LOS HALCONES» salía cortado. En las filas del Marcador (.mc-mini: Calendario,
   Inicio y resultados) el nombre se recortaba a 2 líneas (-webkit-line-clamp:2) con el escudo al lado, y en 360 px los nombres largos se pasaban de la celda.
   Ahora, SOLO en pantallas estrechas, el nombre puede ir en varias líneas (y parte la palabra únicamente si no cabe), con escudo y marcador/hora alineados.
   En horizontal y en computadora no cambia nada. */
/* Lista de partidos del club en CUALQUIER ancho: se forzaban 2 columnas de tarjeta (de ~405 px en computadora) y a cada nombre le quedaban ~30 px entre el escudo y el marcador;
   ahora una tarjeta mide al menos 620 px (si no cabe, una sola columna), y el nombre ya no va en una línea con «…». */
html body .club-match-list.calendar-container, html body .lista-partidos-filtro.club-match-list { grid-template-columns: repeat(auto-fill, minmax(min(100%, 620px), 1fr)) !important; }
html body .club-match-list .fixture-match-card .fixture-team-name,
html body .club-match-list .fixture-match-card .club-match-name { overflow: visible !important; text-overflow: clip !important; white-space: normal !important; overflow-wrap: anywhere !important; }
@media (max-width: 760px) {
  /* Tarjeta de partido de la liga y del club: nombre en varias líneas, sin «…». */
  html body #contenedor-partidos .fixture-match-card .fixture-team-label,
  html body .club-match-list .fixture-match-card .fixture-team-label { overflow: visible !important; align-items: center !important; }
  html body #contenedor-partidos .fixture-match-card .fixture-team-name,
  html body .club-match-list .fixture-match-card .fixture-team-name,
  html body .club-match-list .fixture-match-card .club-match-name {
    display: block !important; height: auto !important; max-height: none !important; overflow: visible !important;
    text-overflow: clip !important; white-space: normal !important; overflow-wrap: anywhere !important; word-break: normal !important;
    -webkit-line-clamp: unset !important; line-clamp: unset !important; line-height: 1.18 !important;
  }
  html body #contenedor-partidos .fixture-match-card .fixture-team-name[data-team-name]::after {
    display: block !important; overflow: visible !important; text-overflow: clip !important; white-space: normal !important; overflow-wrap: anywhere !important;
    -webkit-line-clamp: unset !important; line-clamp: unset !important; line-height: 1.18 !important;
  }
  html body .club-match-list .fixture-match-card .fixture-team-name,
  html body .club-match-list .fixture-match-card .club-match-name { font-size: .8rem !important; }
}
@media (max-width: 520px) {
  /* Filas del Marcador (Calendario, Inicio, resultados): el escudo arriba y el nombre debajo, a todo el ancho de su mitad; marcador u hora al centro. */
  .mc-mini { gap: 6px; }
  .mc-eq, .mc-eq.mc-v { flex-direction: column; justify-content: flex-start; align-items: center; gap: 4px; text-align: center; font-size: 13px; line-height: 1.15; }
  .mc-eq.mc-v { flex-direction: column-reverse; justify-content: flex-end; }
  .mc-eq > span:not(.mc-escudo-p) { display: block; max-width: 100%; overflow: visible; -webkit-line-clamp: unset; line-clamp: unset; overflow-wrap: anywhere; text-align: center; }
  .mc-res.mc-hora b { padding: 0 8px; font-size: 17px; white-space: nowrap; }
  .mc-mini > .mc-mini-liga { white-space: normal; text-overflow: clip; overflow-wrap: anywhere; }
}
