/* Solo sección PARTIDOS. No modifica Suizo ni Clasificación. */
#partidos .em-match-controls{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0}#partidos .em-match-controls label{font-size:11px;font-weight:900;letter-spacing:.09em;color:#174c36;display:flex;align-items:center;gap:9px}#partidos .em-match-controls select{padding:11px 14px;border:1px solid #b9d7c5;background:#fff;color:#083a26;font-weight:800}#partidos .em-match-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}#partidos .em-match-card{background:#fff;border:1px solid #c9e0d3;box-shadow:0 10px 25px #002b1910;overflow:hidden}#partidos .em-match-top{display:flex;justify-content:space-between;gap:8px;background:#063524;color:#fff;padding:13px 16px;font-size:10px;font-weight:900;letter-spacing:.07em}#partidos .em-match-status{color:#c9f6dc}#partidos .em-match-status.live{color:#ff7a7a;animation:emMatchBlink 1.3s infinite}@keyframes emMatchBlink{50%{opacity:.45}}#partidos .em-match-teams{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:10px;align-items:center;padding:28px 15px;text-align:center}#partidos .em-match-name{font-size:16px;font-weight:950;color:#063524;overflow-wrap:anywhere}#partidos .em-match-score{font-size:24px;font-weight:1000;color:#009a59;white-space:nowrap}#partidos .em-match-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:13px 16px;border-top:1px solid #e0eee5;color:#476c59;font-size:11px}#partidos .em-match-foot a{background:#009f5b;color:#fff;text-decoration:none;padding:11px 13px;font-weight:900;font-size:10px;white-space:nowrap}#partidos .em-match-empty{grid-column:1/-1;padding:34px;border:1px dashed #9ccbb2;background:#f7fcf8;color:#416b55;text-align:center}@media(max-width:1000px){#partidos .em-match-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){#partidos .em-match-grid{grid-template-columns:1fr}#partidos .em-match-teams{padding:22px 10px}#partidos .em-match-name{font-size:14px}}

/* V6.4 - Escudos oficiales en tarjetas de Partidos */
#partidos .em-match-teams{grid-template-columns:minmax(0,1fr) minmax(52px,auto) minmax(0,1fr);gap:12px;padding:19px 15px 22px;min-height:170px}
#partidos .em-match-team{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px}
#partidos .em-match-logo-wrap{width:82px;height:82px;display:flex;align-items:center;justify-content:center}
#partidos .em-match-logo{display:block;width:100%;height:100%;object-fit:contain}
#partidos .em-match-logo[hidden],#partidos .em-match-logo-fallback[hidden]{display:none}
#partidos .em-match-logo-fallback{font-size:40px;color:#b7d9c8;line-height:1}
#partidos .em-match-name{font-size:13px;line-height:1.25;font-weight:950;max-width:100%;text-align:center}
#partidos .em-match-center{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px}
#partidos .em-match-format{font-size:10px;letter-spacing:.09em;font-weight:850;color:#7b9989}
@media(max-width:650px){#partidos .em-match-teams{padding:18px 10px;min-height:152px;gap:7px}#partidos .em-match-logo-wrap{width:65px;height:65px}#partidos .em-match-name{font-size:12px}#partidos .em-match-score{font-size:22px}}

/* V6.6 — Igualar la alineación del calendario con el tablero de Fase Suiza. */
@media(min-width:1201px){
  #partidos > .title,
  #partidos > .em-match-controls,
  #partidos > .em-match-grid,
  #partidos > #emOfficialMatches,
  #partidos > .em-match-empty {max-width:1150px;margin-left:auto;margin-right:auto;}
}
/* Las tarjetas aprovechan el ancho disponible, sin dejar una tercera columna vacía. */
#partidos .em-match-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
@media(max-width:700px){#partidos .em-match-grid{grid-template-columns:1fr;}}
