/* Tarjetas compactas y horizontales de un partido. */
.cm-match,.cm-match *{box-sizing:border-box}
.cm-match{--cm-accent:#344b60;--cm-score-bg:#f3f6f8;width:100%;min-width:0;margin:0;border:1px solid #e5eaf0;border-radius:6px;background:#fff;overflow:hidden}
.cm-match--win{--cm-accent:#13804f;--cm-score-bg:#edf8f1}
.cm-match--draw{--cm-accent:#c45b0b;--cm-score-bg:#fff0df}
.cm-match--loss{--cm-accent:#c23c51;--cm-score-bg:#fff0f2}
.cm-match--live{--cm-accent:#be4f22;--cm-score-bg:#fff3e9}
.cm-match__link{display:flex;flex-direction:column;align-items:center;height:100%;min-height:100px;padding:5px 5px 6px;color:#26374b!important;text-decoration:none!important;font-family:Arial,Helvetica,sans-serif;text-align:center}
.cm-match__link:hover{background:#fafcfd}
.cm-match__link:focus-visible{outline:2px solid #16885d;outline-offset:-3px}
.cm-match__top{display:grid;grid-template-columns:18px minmax(0,1fr) 14px;align-items:center;gap:3px;width:100%;min-height:14px}
.cm-match__venue{display:flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:5px;background:#f0f3f6;color:#5d6a75}
.cm-match__venue--home{background:#e3f5eb}
.cm-match__venue--away{background:#fff0dc}
.cm-match__venue svg{width:12px;height:12px;fill:currentColor}
.cm-match__round{font-size:9px;line-height:14px;font-weight:600;color:#7a8996;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cm-match__competition-icon{width:14px;height:14px;object-fit:contain;justify-self:end}
.cm-match__crest-wrap{display:flex;align-items:center;justify-content:center;min-height:27px;margin:3px 0 1px}
.cm-match__crest{width:25px;height:25px;object-fit:contain}
.cm-match__rival{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;width:100%;min-height:22px;max-height:22px;overflow:hidden;font-size:10px;line-height:11px;font-weight:600;word-break:normal;overflow-wrap:normal}
.cm-match__score{display:inline-block;min-width:42px;margin-top:3px;padding:2px 4px;border-radius:4px;background:var(--cm-score-bg);color:var(--cm-accent);font-size:14px;line-height:16px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
.cm-match--upcoming .cm-match__score{background:transparent}
.cm-match__status{margin-top:3px;font-size:8px;line-height:10px;font-weight:600;color:var(--cm-accent)}
.cm-match__date{display:inline-flex;align-items:center;gap:3px;max-width:100%;margin-top:5px;white-space:nowrap;font-size:9px;line-height:14px;color:#52677c;font-variant-numeric:tabular-nums;letter-spacing:0}
.cm-match .cm-date-icon{display:block;width:12px;height:12px;min-width:12px;flex:0 0 12px;align-self:center;margin:0;padding:0;vertical-align:middle;color:#7b91a6}
.cm-match__day{font-size:inherit;line-height:inherit;font-weight:500}
.cm-match__kickoff{font-size:inherit;line-height:inherit;color:inherit;font-weight:700}
.cm-match__kickoff::before{content:"·";margin-right:3px;color:#9baab8}
.cm-match--live .cm-match__status::before{content:'';display:inline-block;width:4px;height:4px;border-radius:50%;background:currentColor;margin-right:3px}
.cm-matches-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;width:100%;min-width:0;padding:1px 0 3px}
.cm-matches-list>.cm-matches-empty{grid-column:1/-1}
.cm-matches-columns{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;width:100%;min-width:0;text-align:left}
.cm-matches-columns>section{min-width:0;margin:0}
.cm-matches-columns>section>h3{margin-top:0;margin-bottom:9px}
.cm-matches-empty{padding:14px;border:1px dashed #d9e1e9;border-radius:9px;color:#657185;background:#fafbfc;font-size:12px}
@media(min-width:992px){.cm-matches-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}}
/* Ficha de equipo: bajo Consejos Fantasy, próximos arriba y últimos debajo. */
.cm-matches-columns.cm-matches-columns--stacked{grid-template-columns:minmax(0,1fr);gap:14px}
@media(max-width:767px){.cm-matches-list{grid-template-columns:repeat(5,86px);gap:7px;overflow-x:auto;padding-bottom:5px;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#cbd6df transparent}.cm-matches-list>.cm-match{scroll-snap-align:start}}
.team-schedule-tabs .cm-matches-list{grid-template-columns:repeat(auto-fill,minmax(86px,106px));overflow-x:visible;gap:9px}
/* Cuándo juega: una fila por partido y lectura cronológica de arriba a abajo. */
.team-schedule-tabs .cm-matches-list.cm-matches-list--horizontal,.cm-matches-list.cm-matches-list--horizontal{display:flex;flex-direction:column;gap:5px;max-width:860px;overflow:visible;padding:0}
.cm-match--horizontal{border:1px solid #e8edf2;border-radius:7px;background:#fff}
.cm-schedule__link{display:block;padding:6px 10px;color:#26374b!important;text-decoration:none!important;font-family:Arial,Helvetica,sans-serif}
.cm-schedule__link:hover{background:#fff}
.cm-schedule__link:focus-visible{outline:2px solid #16885d;outline-offset:-3px}
.cm-schedule__meta{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:2px 8px;margin:0 0 4px;padding:0;background:transparent;color:#6d7e8e;font-size:10px;line-height:16px}
.cm-schedule__competition{display:flex;align-items:center;gap:4px;min-width:0}
.cm-schedule__competition img{width:14px;height:14px;object-fit:contain;flex-shrink:0}
.cm-schedule__meta .cm-schedule__datetime{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;font-variant-numeric:tabular-nums;color:#465d73;font-size:10px;line-height:16px}
.cm-schedule__day{font-size:inherit;line-height:inherit;font-weight:500}
.cm-schedule__hour{font-size:inherit;line-height:inherit;color:inherit;font-weight:700}
.cm-schedule__hour::before{content:"·";margin-right:5px;color:#9baab8}
.cm-schedule__body{display:grid;grid-template-columns:minmax(0,1fr) 90px minmax(0,1fr);align-items:center;gap:8px;min-height:28px}
.cm-schedule__team{display:flex;align-items:center;gap:6px;min-width:0;font-size:13px;line-height:1.3}
.cm-schedule__team strong{min-width:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;word-break:normal;overflow-wrap:normal}
.cm-schedule__team img{width:26px;height:26px;object-fit:contain;flex-shrink:0}
.cm-schedule__team--away{justify-content:flex-end;text-align:right}
.cm-schedule__center{display:flex;flex-direction:column;align-items:center;gap:1px;text-align:center}
.cm-schedule__score{display:inline-flex;align-items:center;justify-content:center;min-width:66px;padding:2px 8px;border-radius:5px;background:var(--cm-score-bg);color:var(--cm-accent);font-size:19px;line-height:22px;white-space:nowrap;font-variant-numeric:tabular-nums}
.cm-match--horizontal.cm-match--win .cm-schedule__score{background:#13804f;color:#fff}
.cm-match--horizontal.cm-match--draw .cm-schedule__score{background:#d9650b;color:#fff}
.cm-match--horizontal.cm-match--loss .cm-schedule__score{background:#c23c51;color:#fff}
.cm-schedule__status{color:#778896;font-size:9px;line-height:11px}
@media(max-width:479px){.cm-schedule__link{padding:5px 8px}.cm-schedule__meta{margin:0 0 3px;padding:0}.cm-schedule__body{grid-template-columns:minmax(0,1fr) 80px minmax(0,1fr);gap:6px}.cm-schedule__team{gap:5px;font-size:11px}.cm-schedule__team img{width:24px;height:24px}.cm-schedule__meta{font-size:10px}.cm-schedule__meta .cm-schedule__datetime{font-size:10px;line-height:16px}.cm-schedule__score{min-width:60px;padding:2px 6px;font-size:17px;line-height:20px}}
