/* matchCenter view styles — owned by the matchCenter view agent.
   Mobile-first. Tokens en base.css. Reutiliza clases de components.css. */

.mc { padding-top: 12px; padding-bottom: 40px; }

/* ===== Volver ===== */
.mc__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink-2);
  padding: 6px 12px 6px 8px;
  border-radius: var(--r-pill);
  margin-bottom: 14px;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.mc__back:hover { color: var(--ink); background: var(--surface-soft); }
.mc__back span { font-size: 1rem; line-height: 1; }

.mc__tabs-host { margin: 16px 0; }
/* En móvil las 4 pestañas (incl. "Jugadores", donde van radar y minuto a minuto)
   deben CABER todas — antes se hacían scroll horizontal y "Jugadores" quedaba
   fuera de pantalla. Se reparten el ancho y se achican para entrar sin recortar. */
@media (max-width: 560px) {
  .mc__tabs-host .segmented-tabs { overflow-x: visible; }
  .mc__tabs-host .segmented-tabs__tab {
    flex: 1 1 0; min-width: 0; padding: 7px 5px;
    font-size: .73rem; text-align: center;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
}
.mc__panel { display: block; }

.mc-section { margin-bottom: 24px; }
.mc-section .section-title { margin-bottom: 10px; }

/* ===== Encabezado del partido ===== */
.mc-head { padding: 18px 16px; overflow: hidden; position: relative; }
.mc-head.is-live::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad-brand);
}
.mc-head__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
  margin-bottom: 14px;
}
.mc-head__round {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--brand-1);
}
.mc-head__venue { font-size: .72rem; color: var(--ink-3); }
/* Árbitro en el header: chip discreto, toca para abrir su ficha */
.mc-head__ref {
  font-size: .7rem; font-weight: 600; color: var(--ink-2);
  background: var(--surface-soft); border: 1px solid var(--hairline);
  border-radius: var(--r-pill); padding: 3px 9px; cursor: pointer;
  transition: background var(--t-fast) var(--ease);
}
.mc-head__ref:hover { background: var(--surface-sunk); color: var(--ink); }

.mc-head__body {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 8px;
}
.mc-head__team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
  border-radius: var(--r-md);
  padding: 6px 4px;
  transition: background var(--t-fast) var(--ease);
}
.mc-head__team.is-clickable { cursor: pointer; }
@media (hover: hover) {
  .mc-head__team.is-clickable:hover { background: var(--surface-soft); }
}
.mc-head__crest {
  width: 64px; height: 64px;
}
.mc-head__name {
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
  line-height: 1.2;
}
.mc-head__name.is-winner { font-weight: 800; }

.mc-head__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
  min-width: 90px;
}
.mc-head__score { font-size: 2.2rem; }
.mc-head__kickoff {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.mc-head__status { display: flex; }
.mc-head__statuslabel {
  font-size: .72rem;
  font-weight: 600;
  color: var(--ink-3);
  text-align: center;
}

/* ===== Timeline (lados home/away) ===== */
.mc-timeline {
  list-style: none;
  margin: 0;
  padding: 4px 0;
}
/* eventos del visitante se alinean a la derecha visualmente */
.mc-timeline .event-item--away {
  direction: rtl;
}
.mc-timeline .event-item--away .event-item__body,
.mc-timeline .event-item--away .event-item__player,
.mc-timeline .event-item--away .event-item__sub {
  direction: ltr;
  text-align: right;
}
.mc-timeline .event-item--away .event-item__min { text-align: left; }

/* "Ver más / ver menos" del timeline plegado (solo 5 recientes a la vista) */
.mc-timeline__more {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 11px 14px;
  background: var(--surface-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  font: 600 .82rem/1 var(--font-ui);
  color: var(--ink-2);
  cursor: pointer;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.mc-timeline__more:hover { background: var(--surface-sunk); color: var(--ink); }

/* ===== Predicción ===== */
.mc-pred {
  background: var(--surface-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 14px 16px;
}
.mc-pred__advice {
  margin: 0 0 12px;
  font-size: .86rem;
  color: var(--ink-2);
}
.mc-pred__advice strong { color: var(--ink); font-family: var(--font-display); }
.mc-pred__bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mc-prob__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.mc-prob__label { font-size: .8rem; color: var(--ink-2); font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-prob__val { font-size: .8rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; flex: none; }
.mc-prob__track {
  height: 8px;
  border-radius: var(--r-pill);
  background: var(--surface-sunk);
  overflow: hidden;
}
.mc-prob__fill {
  display: block;
  height: 100%;
  border-radius: var(--r-pill);
  background: linear-gradient(120deg, var(--blue), #2C7BE5); /* LOCAL = azul EE.UU. */
  transition: width var(--t-slow) var(--ease);
}
.mc-prob--draw .mc-prob__fill { background: linear-gradient(120deg, #C7CCD6, #94A3B8); }
.mc-prob--away .mc-prob__fill { background: linear-gradient(120deg, var(--green), #18A765); } /* VISITA = verde MX */

/* ===== H2H ===== */
.mc-h2h { display: flex; flex-direction: column; gap: 10px; }

/* ===== Alineaciones ===== */
.mc-coach {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 4px;
  font-size: .82rem;
}
.mc-coach__label {
  font-size: .64rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #fff;
  background: var(--ink-3);
  padding: 2px 7px;
  border-radius: var(--r-pill);
}
.mc-coach__name { font-weight: 600; color: var(--ink); }

.mc-bench__title {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--ink-3);
  margin: 14px 0 8px;
}
.mc-bench { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.mc-bench__item {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 7px 4px;
  border-bottom: 1px solid var(--hairline);
}
.mc-bench__item:last-child { border-bottom: 0; }
.mc-bench__num {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ink-3);
  font-size: .8rem;
  text-align: center;
}
.mc-bench__name { font-size: .85rem; color: var(--ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-bench__pos { font-size: .68rem; color: var(--ink-3); font-weight: 700; }

/* ===== Estadísticas ===== */
.mc-stats { }
.mc-stats__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  padding: 0 2px;
}

/* ===== Jugadores / ratings ===== */
.mc-players { }
.mc-players__team {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
}
.mc-players__crest { width: 24px; height: 24px; }
.mc-players__list { list-style: none; margin: 0; padding: 0; }

.mc-prow {
  display: grid;
  grid-template-columns: 24px 36px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 4px;
  border-bottom: 1px solid var(--hairline);
  cursor: pointer;
  transition: background var(--t-fast) var(--ease);
}
.mc-prow:last-child { border-bottom: 0; }
@media (hover: hover) {
  .mc-prow:hover { background: var(--surface-soft); }
}
.mc-prow__num {
  font-size: .78rem;
  font-weight: 700;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.mc-prow__photo {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-soft);
  box-shadow: var(--shadow-sm);
}
.mc-prow__body { display: flex; flex-direction: column; min-width: 0; }
.mc-prow__name {
  font-size: .86rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mc-prow__cap {
  font-size: .56rem;
  font-weight: 800;
  color: #fff;
  background: var(--brand-1);
  width: 14px; height: 14px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.mc-prow__pos { font-size: .72rem; color: var(--ink-3); }
.mc-prow__name--link { cursor: pointer; }
.mc-prow__name--link:hover { color: var(--brand-1); text-decoration: underline; }

/* Fila expandible: cabecera + timeline del jugador en el partido */
.mc-prow-wrap { list-style: none; border-bottom: 1px solid var(--hairline); }
.mc-prow-wrap:last-child { border-bottom: 0; }
.mc-prow-wrap .mc-prow { border-bottom: 0; cursor: pointer; }
.mc-prow-wrap.is-open { background: var(--surface-soft); }
.mc-prow__tl { padding: 4px 12px 12px; }
.mc-prow__tl-empty { font-size: .8rem; color: var(--ink-3); margin: 6px 0 2px; }
.mc-ptl { list-style: none; margin: 0; padding: 6px 0 0; display: flex; flex-direction: column; gap: 2px; }
.mc-ptl__item { display: grid; grid-template-columns: 34px 18px 1fr; align-items: center; gap: 8px; padding: 5px 6px; border-radius: var(--r-sm); font-size: .82rem; }
.mc-ptl__item:nth-child(odd) { background: var(--surface); }
.mc-ptl__min { font-family: var(--font-display); font-weight: 800; font-variant-numeric: tabular-nums; color: var(--ink-2); text-align: right; }
.mc-ptl__ic svg { width: 14px; height: 14px; }
.mc-ptl__lbl { color: var(--ink); }
.mc-ptl__lbl i { color: var(--ink-3); font-style: normal; }
.mc-ptl__item--goal .mc-ptl__lbl { font-weight: 700; color: var(--goal); }
.mc-ptl__item--save .mc-ptl__ic svg { color: var(--brand-1); }
.mc-ptl__item--offside .mc-ptl__ic svg, .mc-ptl__item--foul .mc-ptl__ic svg { color: var(--warn); }

/* Radar comparativo de jugadores */
.mc-compare__controls { display: flex; gap: 8px; margin-bottom: 10px; }
.mc-compare__select {
  flex: 1; min-width: 0; padding: 9px 10px; border-radius: var(--r-sm);
  border: 1px solid var(--hairline); background: var(--surface); color: var(--ink);
  font-size: .82rem; font-family: var(--font-ui);
}
.mc-compare__radar { display: flex; justify-content: center; }

.mc-rating {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .82rem;
  font-variant-numeric: tabular-nums;
  color: #fff;
  min-width: 38px;
  text-align: center;
  padding: 4px 8px;
  border-radius: var(--r-sm);
  flex: none;
}
.mc-rating--top { background: var(--goal); }
.mc-rating--good { background: #22A565; }
.mc-rating--ok { background: var(--warn); }
.mc-rating--low { background: var(--loss); }
.mc-rating--na { background: var(--surface-sunk); color: var(--ink-3); }

/* ===== Escritorio ===== */
@media (min-width: 768px) {
  .mc-head { padding: 24px 28px; }
  .mc-head__crest { width: 80px; height: 80px; }
  .mc-head__name { font-size: 1rem; }
  .mc-head__score { font-size: 2.8rem; }
  .mc-head__kickoff { font-size: 2rem; }
  /* Alineaciones lado a lado en pantallas anchas */
  .mc-panel--lineups { }
}
@media (min-width: 900px) {
  .mc__panel.is-lineups {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
  }
}

/* ===== Movimiento reducido ===== */
@media (prefers-reduced-motion: reduce) {
  .mc-prob__fill,
  .stat-bar__fill { transition: none !important; }
  .mc-head__team,
  .mc-prow,
  .mc__back { transition: none !important; }
}

/* ===== Evolución del pronóstico (timeline del motor) ===== */
.mc-predtl { margin-top: 4px; }
.mc-predtl__svg {
  width: 100%; height: auto; display: block;
  background: var(--surface-soft); border-radius: var(--r-md);
  border: 1px solid var(--hairline); padding: 4px;
}
.mc-predtl__grid { stroke: var(--hairline); stroke-width: 1; stroke-dasharray: 3 4; }
.mc-predtl__line { fill: none; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.mc-predtl__line--home { stroke: var(--blue, #0B5FCE); }
.mc-predtl__line--draw { stroke: var(--draw, #94A3B8); }
.mc-predtl__line--away { stroke: var(--green, #0A8754); }
.mc-predtl__dot--home { fill: var(--blue, #0B5FCE); }
.mc-predtl__dot--draw { fill: var(--draw, #94A3B8); }
.mc-predtl__dot--away { fill: var(--green, #0A8754); }
.mc-predtl__legend { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.mc-predtl__leg {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .8rem; color: var(--ink-2); font-variant-numeric: tabular-nums;
}
.mc-predtl__leg b { color: var(--ink); }
.mc-predtl__leg i { width: 12px; height: 3px; border-radius: 2px; display: inline-block; }
.mc-predtl__leg--home i { background: var(--blue, #0B5FCE); }
.mc-predtl__leg--draw i { background: var(--draw, #94A3B8); }
.mc-predtl__leg--away i { background: var(--green, #0A8754); }
.mc-predtl__note { font-size: .82rem; color: var(--ink-3); margin: 0 0 10px; line-height: 1.45; }
.mc-predtl__delta {
  margin-top: 10px; font-size: .82rem; color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.mc-predtl__delta span { color: var(--ink-3); }
.mc-predtl__delta b { color: var(--ink); }

/* Lecturas IA versionadas en "Evolución del pronóstico" */
.mc-predtl-ai { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.mc-predtl-ai__entry {
  border: 1px solid var(--hairline); border-radius: var(--r-sm, 10px);
  background: var(--surface-soft); overflow: hidden;
}
.mc-predtl-ai__entry summary {
  cursor: pointer; padding: 10px 12px; font-size: .85rem; color: var(--ink-2);
  list-style: none; display: flex; align-items: center; gap: 6px; min-height: 44px;
}
.mc-predtl-ai__entry summary::-webkit-details-marker { display: none; }
.mc-predtl-ai__entry summary strong { color: var(--ink); }
.mc-predtl-ai__latest {
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  background: var(--live-soft, #FFE9E7); color: var(--live, #FF3B30);
  border-radius: 999px; padding: 2px 8px;
}
.mc-predtl-ai__text { padding: 0 12px 12px; font-size: .88rem; color: var(--ink-2); line-height: 1.5; }
.mc-predtl-ai__text p { margin: 0 0 8px; }
.mc-predtl-ai__text strong { color: var(--ink); }
.mc-predtl-ai__text ul { margin: 6px 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
@media (prefers-reduced-motion: reduce) { .mc-prob__fill { transition: none; } }

/* Bloques de texto IA: lectura del XI confirmado y crónica post-partido. */
.mc-aibox {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  padding: 14px 16px;
  position: relative;
  overflow: hidden;
}
.mc-aibox::before {
  content: '';
  position: absolute; inset: 0 auto 0 0; width: 3px;
  background: var(--grad-brand);
}
.mc-aibox__title {
  font-weight: 700; font-size: .82rem; color: var(--ink);
  text-transform: uppercase; letter-spacing: .04em;
  margin-bottom: 8px;
}
.mc-aibox__text { font-size: .9rem; color: var(--ink-2); line-height: 1.55; }
.mc-aibox__text p { margin: 0 0 8px; }
.mc-aibox__text p:last-child { margin-bottom: 0; }
.mc-aibox__text strong { color: var(--ink); }
.mc-aibox__text ul { margin: 6px 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
.mc-lineupai-host { margin-bottom: 14px; }
.mc-recap-host { margin-top: 4px; }

/* ===== Estadísticas ampliadas: grupos, hero xG, duelo de cifras ===== */
.mc-stats__group {
  margin: 18px 0 6px;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 10px;
}
.mc-stats__group::after { content: ''; flex: 1; height: 1px; background: var(--hairline); }
.mc-stats__group:first-of-type { margin-top: 10px; }

.mc-xg {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 16px 18px 14px;
}
.mc-xg__title {
  font-size: .8rem;
  font-weight: 700;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.mc-xg__tag {
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: #fff;
  background: var(--grad-brand);
  border-radius: var(--r-pill);
  padding: 2px 8px;
}
.mc-xg__vals {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.mc-xg__val {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.9rem;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.mc-xg__val--home { color: var(--blue); }
.mc-xg__val--away { color: var(--green); }
.mc-xg__vs { font-size: .68rem; color: var(--ink-3); text-align: center; }
.mc-xg__track {
  display: flex;
  height: 10px;
  border-radius: var(--r-pill);
  overflow: hidden;
  background: var(--surface-sunk);
}
.mc-xg__fill { transition: width var(--t-slow) var(--ease); }
.mc-xg__fill--home { background: linear-gradient(90deg, #2C7BE5, var(--blue)); }
.mc-xg__fill--away { background: linear-gradient(90deg, var(--green), #18A765); }
.mc-xg__names {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--ink-2);
}

.mc-statduel {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 7px 2px;
}
.mc-statduel__label { font-size: .78rem; color: var(--ink-2); text-align: center; }
.mc-statduel__v {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  font-size: .92rem;
}
.mc-statduel__v--home { color: var(--blue); text-align: left; }
.mc-statduel__v--away { color: var(--green); text-align: right; }

/* ===== Evolución del partido (curva del poller a 15s) ===== */
.mc-curve-host { display: flex; flex-direction: column; gap: 10px; }
.mc-curve__chips { display: flex; gap: 6px; flex-wrap: wrap; }
.mc-curve__chip {
  font: inherit;
  font-size: .76rem;
  font-weight: 700;
  color: var(--ink-2);
  background: var(--surface-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  padding: 5px 13px;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.mc-curve__chip.is-active {
  color: #fff;
  background: var(--grad-brand);
  border-color: transparent;
}
.mc-curve {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  padding: 12px 12px 8px;
}
.mc-curve__svg { width: 100%; height: auto; display: block; }
.mc-curve__grid { stroke: var(--hairline); stroke-width: 1; }
.mc-curve__axis { font-size: 8px; fill: var(--ink-3); text-anchor: middle; }
.mc-curve__line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.mc-curve__line--home { stroke: var(--blue); }
.mc-curve__line--away { stroke: var(--green); }
.mc-curve__area--home { fill: var(--blue); opacity: .08; }
.mc-curve__area--away { fill: var(--green); opacity: .08; }
.mc-curve__goal { stroke-width: 1; stroke-dasharray: 3 3; opacity: .55; }
.mc-curve__goal--home { stroke: var(--blue); }
.mc-curve__goal--away { stroke: var(--green); }
.mc-curve__goaldot--home { fill: var(--blue); }
.mc-curve__goaldot--away { fill: var(--green); }
.mc-curve__legend {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  padding: 8px 2px 2px;
  font-size: .74rem;
  color: var(--ink-2);
}
.mc-curve__leg { display: inline-flex; align-items: center; gap: 5px; }
.mc-curve__leg i { width: 10px; height: 3px; border-radius: 2px; }
.mc-curve__leg--home i { background: var(--blue); }
.mc-curve__leg--away i { background: var(--green); }
.mc-curve__leg--goal { color: var(--ink-3); }
.mc-curve__leg b { font-variant-numeric: tabular-nums; }

/* ===== Chips de estadísticas por jugador ===== */
.mc-prow__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}
.mc-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .64rem;
  line-height: 1;
  background: var(--surface-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  padding: 3px 8px;
  white-space: nowrap;
}
.mc-chip i { font-style: normal; color: var(--ink-3); font-weight: 600; }
.mc-chip b { font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.mc-chip--goal { background: #E9F8EF; border-color: #CBEED9; }
.mc-chip--goal b { color: var(--goal, #16A34A); }
.mc-chip--save { background: #EAF2FD; border-color: #CFE2F9; }
.mc-chip--save b { color: var(--blue); }
.mc-chip--key b { color: var(--brand-1); }
.mc-chip--yellow { background: #FFF8E1; border-color: #F5E6A8; }
.mc-chip--red { background: #FDECEC; border-color: #F6C9C9; }
.mc-chip--red b { color: var(--card-red, #DC2626); }

/* ===== Cabina GOLAZO (globo de comentarios en vivo) ===== */
.mc-booth {
  position: relative;
  background: var(--surface-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 12px 14px 10px;
}
.mc-booth::after {
  content: '';
  position: absolute;
  left: 26px;
  bottom: -7px;
  width: 12px; height: 12px;
  background: var(--surface-soft);
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  transform: rotate(45deg);
}
.mc-booth__head {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .03em;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.mc-booth__live {
  background: var(--live);
  color: #fff;
  border-radius: var(--r-pill);
  font-size: .58rem;
  font-weight: 700;
  padding: 2px 8px;
  letter-spacing: .06em;
}
.mc-booth__txt { margin: 0; font-size: .92rem; line-height: 1.5; color: var(--ink); font-style: italic; }
.mc-booth__min { display: block; margin-top: 4px; font-size: .68rem; color: var(--ink-3); text-align: right; }

/* Comentario de cabina dentro del timeline */
.event-item--booth { background: var(--surface-soft); border-radius: var(--r-sm); border-bottom: 0; margin: 2px 0; }
.event-item--booth .event-item__booth { font-size: .82rem; font-style: italic; color: var(--ink-2); line-height: 1.4; }

/* ===== Árbitro ===== */
.mc-referee { background: var(--surface-soft); border: 1px solid var(--hairline); border-radius: var(--r-md); padding: 10px 14px; }
.mc-referee__label { font-size: .7rem; font-weight: 700; letter-spacing: .05em; color: var(--ink-3); text-transform: uppercase; margin-bottom: 2px; }
.mc-referee__name { font-weight: 700; font-size: .95rem; }
.mc-referee__country { font-weight: 500; color: var(--ink-2); }
.mc-referee__stats { display: block; margin-top: 3px; font-size: .78rem; color: var(--ink-2); }
/* Ficha curada del árbitro (bio investigada) */
.mc-referee__bio { margin-top: 8px; }
.mc-referee__bio summary {
  cursor: pointer; font-size: .78rem; font-weight: 700; color: var(--brand-1);
  list-style: none; display: inline-flex; align-items: center; gap: 4px;
}
.mc-referee__bio summary::after { content: '▾'; font-size: .7rem; transition: transform var(--t-fast) var(--ease); }
.mc-referee__bio[open] summary::after { transform: rotate(180deg); }
.mc-referee__bio p { font-size: .84rem; color: var(--ink-2); line-height: 1.5; margin: 8px 0 0; }
.mc-referee__facts { margin: 8px 0 0; padding: 0 0 0 18px; font-size: .8rem; color: var(--ink-2); }
.mc-referee__facts li { margin-bottom: 3px; }

/* ===== Cuerpo arbitral (central + asistentes + cuarto + VAR/AVAR) ===== */
.mc-crew { list-style: none; margin: 10px 0 0; padding: 8px 0 0; border-top: 1px solid var(--hairline); display: flex; flex-direction: column; gap: 2px; }
.mc-crew__row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 4px 0; font-size: .84rem; }
.mc-crew__row + .mc-crew__row { border-top: 1px dashed var(--hairline); }
.mc-crew__role { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; color: var(--ink-2); font-weight: 600; }
.mc-crew__role svg { width: 14px; height: 14px; flex: none; opacity: .8; }
.mc-crew__hint { width: 100%; padding-left: 20px; font-size: .68rem; font-weight: 500; color: var(--ink-3); }
.mc-crew__who { text-align: right; font-weight: 700; color: var(--ink); }
.mc-crew__country { font-weight: 500; color: var(--ink-2); }
.mc-crew__pending { font-weight: 500; font-style: italic; color: var(--ink-3); }
.mc-crew__row.is-empty .mc-crew__role { color: var(--ink-3); font-weight: 500; }

/* ===== Aviso pre-partido: ya hay alineaciones (en Resumen) ===== */
.mc-prelineup {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  margin: 0 0 14px; padding: 12px 14px; cursor: pointer;
  background: linear-gradient(120deg, color-mix(in srgb, var(--brand-1) 8%, var(--surface)), color-mix(in srgb, var(--brand-2) 8%, var(--surface)));
  border: 1px solid color-mix(in srgb, var(--brand-2) 25%, var(--hairline));
  border-radius: var(--r-md); box-shadow: var(--shadow-sm);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.mc-prelineup:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.mc-prelineup__icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: var(--r-pill); background: var(--grad-brand); color: #fff; }
.mc-prelineup__icon svg { width: 20px; height: 20px; }
.mc-prelineup__body { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.mc-prelineup__title { font-weight: 800; font-size: .92rem; color: var(--ink); }
.mc-prelineup__text { font-size: .8rem; color: var(--ink-2); line-height: 1.4; }
.mc-prelineup__cta { flex: none; align-self: center; font-weight: 700; font-size: .82rem; color: var(--brand-1); white-space: nowrap; }
@media (max-width: 520px) {
  .mc-prelineup { flex-wrap: wrap; }
  .mc-prelineup__cta { width: 100%; text-align: right; }
}
@media (prefers-reduced-motion: reduce) {
  .mc-prelineup, .mc-prelineup:hover { transform: none; }
}

/* ===== Pulso de gol EN VIVO (header) ===== */
.mc-pulse {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: var(--surface-soft);
  border: 1px solid var(--hairline);
}
.mc-pulse__side { display: grid; gap: 4px; min-width: 0; }
.mc-pulse__side--away { justify-items: end; }
.mc-pulse__side--away .mc-pulse__track { direction: rtl; }
.mc-pulse__team {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.mc-pulse__track {
  width: 100%;
  height: 8px;
  border-radius: var(--r-pill);
  background: var(--surface-sunk);
  overflow: hidden;
}
.mc-pulse__track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--blue, var(--brand-1));
  transition: width 600ms var(--ease);
}
.mc-pulse__track--away i { background: var(--green, var(--brand-2)); }
.mc-pulse__p10 { font-size: 11px; font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.mc-pulse__core { display: grid; justify-items: center; gap: 1px; padding: 0 6px; }
.mc-pulse__label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.mc-pulse__label .gz-ico { width: 12px; height: 12px; }
.mc-pulse__big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  line-height: 1.05;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.mc-pulse__big small { font-size: 0.55em; color: var(--ink-3); }
.mc-pulse__sub { font-size: 10.5px; color: var(--ink-3); white-space: nowrap; }
.mc-pulse__core.is-hot .mc-pulse__big,
.mc-pulse__core.is-hot .mc-pulse__label { color: var(--live); }
.mc-pulse__core.is-hot .mc-pulse__big { animation: pulse-chip-beat 1.4s ease-in-out infinite; }
@media (max-width: 520px) {
  .mc-pulse { gap: 8px; padding: 10px; }
  .mc-pulse__sub { white-space: normal; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .mc-pulse__core.is-hot .mc-pulse__big { animation: none; }
  .mc-pulse__track i { transition: none; }
}

/* ===== Mercados de gol del motor (sección Predicción) ===== */
.mc-pred--motor { margin-bottom: 10px; }
.mc-motor__scorelines { margin: 6px 0 0; font-size: 13px; color: var(--ink-2); }
.mc-motor__scorelines b { color: var(--ink); font-variant-numeric: tabular-nums; }
.mc-motor__scorelines em { font-style: normal; color: var(--ink-3); font-size: 12px; }
.mc-motor__conf { font-weight: 700; font-size: 12px; }
.mc-motor__conf--alta { color: var(--goal); }
.mc-motor__conf--media { color: var(--warn); }
.mc-motor__conf--baja { color: var(--ink-3); }
