
/* v111 — match summary and read-only finalized state */
.match-summary-intel{display:grid;gap:14px;margin:14px 0 4px}
.match-summary-hero,.match-summary-card{
  border:1px solid var(--border);
  border-radius:18px;
  background:var(--card);
  box-shadow:0 8px 28px rgba(20,35,55,.06);
  overflow:hidden;
}
.match-summary-hero{padding:20px 22px;background:linear-gradient(135deg,var(--card),rgba(37,99,235,.045))}
.match-summary-hero.is-final{border-color:rgba(16,185,129,.28);background:linear-gradient(135deg,var(--card),rgba(16,185,129,.055))}
.match-summary-hero-top,.match-summary-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px}
.match-summary-eyebrow,.match-summary-kicker{font-size:10px;font-weight:800;letter-spacing:.12em;color:var(--muted)}
.match-summary-meta{margin-top:5px;color:var(--muted);font-size:12px}
.match-summary-status{padding:6px 10px;border-radius:999px;font-size:10px;font-weight:800;letter-spacing:.06em;background:rgba(148,163,184,.12);color:var(--muted)}
.match-summary-status.is-final{background:rgba(16,185,129,.12);color:#059669}
.match-summary-status.is-live{background:rgba(37,99,235,.12);color:#2563eb}
.match-summary-scoreboard{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:18px;margin-top:24px}
.match-summary-team{display:grid;grid-template-columns:auto 1fr;column-gap:10px;align-items:center}
.match-summary-team.right{justify-items:end;text-align:right}
.match-summary-team-badge{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:var(--primary-light);color:var(--primary);font-weight:900;font-size:12px}
.match-summary-team strong{font-size:15px;line-height:1.15}
.match-summary-team small{grid-column:2;color:var(--muted);font-size:9px;font-weight:800;letter-spacing:.08em;margin-top:2px}
.match-summary-team.right .match-summary-team-badge{grid-column:2}
.match-summary-team.right strong{grid-column:1;grid-row:1}
.match-summary-team.right small{grid-column:1;grid-row:2}
.match-summary-score{text-align:center;min-width:145px}
.match-summary-score strong{display:block;font-size:34px;letter-spacing:-.05em;line-height:1}
.match-summary-score span{display:block;margin-top:7px;color:var(--muted);font-size:10px;font-weight:700}
.match-summary-lock{margin-top:18px;padding:10px 12px;border-radius:10px;background:rgba(16,185,129,.09);color:#047857;font-size:11px;font-weight:700;text-align:center}
.match-summary-card{padding:18px 20px}
.match-summary-section-head h4{margin:4px 0 0;font-size:15px}
.match-summary-total{font-size:12px;font-weight:800;color:var(--primary)}
.match-summary-quarter-grid{display:grid;grid-template-columns:repeat(5,minmax(70px,1fr));gap:8px;margin-top:16px}
.match-summary-quarter{padding:12px 8px;border:1px solid var(--border);border-radius:12px;text-align:center;background:rgba(148,163,184,.035)}
.match-summary-quarter>span{display:block;font-size:10px;font-weight:800;color:var(--muted)}
.match-summary-quarter strong{display:block;margin-top:5px;font-size:17px}
.match-summary-quarter strong i{font-style:normal;color:var(--muted);font-weight:500}
.match-summary-quarter small{display:block;margin-top:4px;font-size:9px;font-weight:700}
.match-summary-quarter small.win{color:#059669}.match-summary-quarter small.loss{color:#dc2626}.match-summary-quarter small.draw{color:var(--muted)}
.match-summary-players{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:14px}
.match-summary-player{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border:1px solid var(--border);border-radius:11px}
.match-summary-player-main{display:flex;align-items:center;gap:9px;min-width:0}
.match-summary-avatar{width:30px;height:30px;flex:0 0 30px;display:grid;place-items:center;border-radius:9px;background:var(--primary-light);color:var(--primary);font-size:11px;font-weight:900}
.match-summary-player-main strong{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.match-summary-player-main small{display:block;color:var(--muted);font-size:9px;margin-top:2px}
.match-summary-player-min{font-size:16px;font-weight:900;white-space:nowrap}.match-summary-player-min small{font-size:9px;color:var(--muted);margin-left:2px}
.match-summary-actions{display:flex;justify-content:flex-end;gap:8px}
.match-summary-readonly{width:100%;padding:10px 12px;border:1px solid rgba(16,185,129,.22);border-radius:10px;background:rgba(16,185,129,.06);color:#047857;text-align:center;font-size:11px;font-weight:800}
.match-summary-empty{grid-column:1/-1;padding:18px;text-align:center;color:var(--muted);font-size:11px}
.match-is-finalized .subtab-content{position:relative}
.match-is-finalized .subtab-content input,
.match-is-finalized .subtab-content select,
.match-is-finalized .subtab-content textarea,
.match-is-finalized .subtab-content .falta-btn,
.match-is-finalized .subtab-content .stint-del,
.match-is-finalized .subtab-content .btn-stint-add,
.match-is-finalized .subtab-content .pm-pro-btn,
.match-is-finalized .subtab-content .pm-pro-player,
.match-is-finalized .subtab-content button[onclick*="editar"],
.match-is-finalized .subtab-content button[onclick*="eliminar"],
.match-is-finalized .subtab-content button[onclick*="setRPE"],
.match-is-finalized .subtab-content button[onclick*="setMinutos"]{pointer-events:none;opacity:.5}
@media(max-width:760px){
 .match-summary-scoreboard{grid-template-columns:1fr;gap:12px}.match-summary-score{text-align:left;order:-1}
 .match-summary-team.right{justify-items:start;text-align:left}.match-summary-team.right .match-summary-team-badge{grid-column:1;grid-row:1}
 .match-summary-team.right strong{grid-column:2;grid-row:1}.match-summary-team.right small{grid-column:2;grid-row:2}
 .match-summary-quarter-grid{grid-template-columns:repeat(3,1fr)}.match-summary-players{grid-template-columns:1fr}
}
