/* ======================================================================
   Brasileirão 2026 — Ao vivo
   Atualização direta da ESPN a cada 30s, sem tocar no módulo copa2026.
   ====================================================================== */

/* O menu usa a mesma estrutura das demais páginas.
   A centralização do item ativo é feita somente pelo scroll compartilhado
   em js/br-menu.js, sem margens, padding ou elementos vazios artificiais. */

.br-live-heading { margin-bottom: 14px; }
.br-live-heading .panel-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.br-live-heading h1 { margin-top: 2px; }
.live-update-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  border: 1px solid rgba(74,222,128,.28);
  border-radius: 999px;
  background: rgba(74,222,128,.08);
  color: #d9ff76;
  padding: 7px 11px;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}
.live-update-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 12px rgba(74,222,128,.62);
}
.live-update-badge.is-live::before {
  background: #fb7185;
  box-shadow: 0 0 12px rgba(251,113,133,.72);
  animation: br-live-pulse 1.2s ease-in-out infinite;
}
.live-update-badge.is-error {
  border-color: rgba(251,113,133,.32);
  background: rgba(251,113,133,.08);
  color: #fecdd3;
}
.live-update-badge.is-error::before { background: #fb7185; box-shadow: none; }
@keyframes br-live-pulse { 50% { opacity: .28; transform: scale(.82); } }

.live-alert {
  display: none;
  margin: 0 0 12px;
  border: 1px solid rgba(251,191,36,.24);
  border-radius: 14px;
  background: rgba(251,191,36,.08);
  color: #fde68a;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 800;
}
.live-alert.show { display: block; }

.live-switcher {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding: 3px 2px 10px;
  margin-bottom: 4px;
}
.live-game-tab {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  color: #e5edf5;
  padding: 7px 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}
.live-game-tab img { width: 22px; height: 22px; object-fit: contain; }
.live-game-tab.active {
  border-color: rgba(251,191,36,.65);
  background: linear-gradient(135deg, rgba(251,191,36,.24), rgba(163,230,53,.13));
  color: #fff6c7;
  box-shadow: 0 8px 24px rgba(251,191,36,.12);
}
.live-game-tab .dot-live {
  width: 7px; height: 7px; border-radius: 50%; background: #fb7185;
  box-shadow: 0 0 9px rgba(251,113,133,.75);
}

.live-main-card {
  position: relative;
  border: 1px solid rgba(251,191,36,.48);
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 5%, rgba(163,230,53,.13), transparent 31%),
    radial-gradient(circle at 90% 10%, rgba(96,165,250,.13), transparent 29%),
    linear-gradient(160deg, rgba(17,36,48,.96), rgba(5,18,28,.98));
  box-shadow: 0 24px 80px rgba(0,0,0,.34);
}
.live-main-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.035), transparent 36%);
}
.live-card-inner { position: relative; z-index: 1; padding: clamp(18px, 3vw, 28px); }
.live-round-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.live-round-badge,
.live-state-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 11px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.live-round-badge { background: #fbbf24; color: #302103; }
.live-state-badge { border: 1px solid rgba(148,163,184,.2); background: rgba(255,255,255,.04); color: #cbd5e1; }
.live-state-badge.live { border-color: rgba(251,113,133,.58); background: rgba(251,113,133,.12); color: #fecdd3; }
.live-state-badge.live::before { content: ""; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #fb7185; animation: br-live-pulse 1.2s infinite; }
.live-state-badge.post { color: #d9ff76; border-color: rgba(163,230,53,.30); background: rgba(163,230,53,.08); }

.live-prob-kicker {
  margin: -2px 0 13px;
  color: #9fb0bf;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
}
.live-prob-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 42px;
  margin-bottom: 10px;
  padding: 6px 11px;
  border: 1px solid rgba(163,230,53,.28);
  border-radius: 13px;
  color: #eaffb2;
  background: linear-gradient(145deg, rgba(163,230,53,.14), rgba(163,230,53,.035));
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.live-prob-badge.draw {
  border-color: rgba(251,191,36,.28);
  color: #ffe29a;
  background: linear-gradient(145deg, rgba(251,191,36,.14), rgba(251,191,36,.035));
}
.live-prob-badge small {
  margin-bottom: 4px;
  color: currentColor;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .09em;
  opacity: .73;
  text-transform: uppercase;
}
.live-prob-badge strong { font-size: 16px; font-weight: 950; }
.live-prob-mobile { display: none; }

.live-score-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(92px,auto) minmax(0,1fr);
  align-items: center;
  gap: clamp(10px, 3vw, 28px);
}
.live-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  text-align: center;
}
.live-team img {
  width: clamp(76px, 11vw, 118px);
  height: clamp(76px, 11vw, 118px);
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.32));
}
.live-team-name {
  margin-top: 10px;
  color: #fff;
  font-size: clamp(20px, 3.6vw, 36px);
  font-weight: 950;
  letter-spacing: -.04em;
  line-height: 1.05;
  overflow-wrap: anywhere;
}
.live-team-abbr { margin-top: 5px; color: #91a3b5; font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.live-score-center { min-width: 0; text-align: center; }
.live-score {
  color: #fff;
  font-size: clamp(38px, 8vw, 74px);
  line-height: .98;
  font-weight: 1000;
  letter-spacing: -.06em;
  text-shadow: 0 8px 28px rgba(0,0,0,.36);
}
.live-vs { color: #fbbf24; font-size: clamp(28px, 5vw, 48px); font-weight: 950; }
.live-clock { margin-top: 8px; color: #fbbf24; font-size: clamp(15px, 2.8vw, 22px); font-weight: 950; }
.live-kickoff { margin-top: 6px; color: #d7e2ec; font-size: 13px; font-weight: 800; }
.live-countdown {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  min-height: 39px;
  border: 1px solid rgba(251,191,36,.54);
  border-radius: 999px;
  background: rgba(251,191,36,.09);
  color: #fbbf24;
  padding: 7px 16px;
  font-size: 14px;
  font-weight: 950;
}
.live-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 20px;
  color: #c7d2de;
  font-size: 13px;
  text-align: center;
}
.live-meta strong { color: #f8fafc; }
.live-message {
  margin-top: 18px;
  color: #fff6c7;
  font-size: clamp(17px, 2.7vw, 24px);
  font-weight: 950;
  text-align: center;
}

.live-content-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 14px;
  margin-top: 14px;
}
.live-subpanel { border-radius: 18px; }
.live-subpanel .panel-inner { padding: 16px; }
.live-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.live-section-head h2 { font-size: 18px; }
.live-section-note { color: #718397; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.live-events { display: grid; gap: 8px; }
.live-event {
  display: grid;
  grid-template-columns: 42px 28px minmax(0,1fr);
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(148,163,184,.14);
  border-radius: 13px;
  background: rgba(255,255,255,.025);
  padding: 9px 10px;
}
.live-event-minute { color: #fbbf24; font-weight: 950; text-align: right; }
.live-event-icon { font-size: 18px; text-align: center; }
.live-event-text { color: #e8f1f8; font-size: 13px; font-weight: 800; line-height: 1.35; }
.live-event-team { color: #8fa2b5; font-size: 11px; font-weight: 800; }

.live-stats { display: grid; gap: 10px; }
.live-stat-row { display: grid; grid-template-columns: 48px minmax(0,1fr) 48px; align-items: center; gap: 9px; }
.live-stat-value { color: #fff; font-size: 13px; font-weight: 950; text-align: center; }
.live-stat-mid { min-width: 0; }
.live-stat-label { margin-bottom: 5px; color: #aebdca; font-size: 11px; font-weight: 900; text-align: center; }
.live-stat-track { position: relative; display: grid; grid-template-columns: var(--home,50%) 1fr; height: 7px; overflow: hidden; border-radius: 999px; background: rgba(148,163,184,.18); }
.live-stat-track::before { content: ""; background: linear-gradient(90deg,#a3e635,#4ade80); }
.live-stat-track::after { content: ""; background: linear-gradient(90deg,#60a5fa,#38bdf8); opacity: .86; }

.live-empty {
  border: 1px dashed rgba(148,163,184,.22);
  border-radius: 14px;
  color: #91a3b5;
  padding: 18px 14px;
  text-align: center;
  font-size: 13px;
  line-height: 1.55;
}
.live-next-list { display: grid; gap: 9px; margin-top: 14px; }
.live-next-item {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(148,163,184,.15);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
  padding: 10px 12px;
}
.live-next-teams { color: #e7eef5; font-size: 13px; font-weight: 900; }
.live-next-meta { color: #91a3b5; font-size: 11px; font-weight: 800; text-align: right; }
.live-loading { color: #91a3b5; text-align: center; }

@media (max-width: 760px) {
  .br-live-heading .panel-inner { flex-direction: column; }
  .live-content-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .live-prob-kicker { display: none; }
  .live-team > .live-prob-badge,
  .live-score-center > .live-prob-badge { display: none; }
  .live-prob-mobile {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(72px,.72fr) minmax(0,1fr);
    gap: 6px;
    margin: 14px 0 2px;
    padding-top: 12px;
    border-top: 1px solid rgba(148,163,184,.13);
  }
  .live-prob-mobile span {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 5px;
    border: 1px solid rgba(163,230,53,.22);
    border-radius: 11px;
    color: #eaffb2;
    background: rgba(163,230,53,.075);
    font-variant-numeric: tabular-nums;
  }
  .live-prob-mobile span.draw { border-color: rgba(251,191,36,.23); color: #ffe29a; background: rgba(251,191,36,.075); }
  .live-prob-mobile small { width: 100%; overflow: hidden; color: currentColor; font-size: 8px; font-weight: 850; line-height: 1.15; opacity: .76; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
  .live-prob-mobile strong { margin-top: 5px; font-size: 14px; font-weight: 950; }
  .live-score-grid { grid-template-columns: minmax(0,1fr) 78px minmax(0,1fr); gap: 7px; }
  .live-team img { width: 67px; height: 67px; }
  .live-team-name { font-size: 18px; }
  .live-team-abbr { display: none; }
  .live-score { font-size: 38px; }
  .live-clock { font-size: 14px; }
  .live-card-inner { padding: 17px 12px 19px; }
  .live-meta { font-size: 12px; }
  .live-round-row { margin-bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .live-update-badge.is-live::before,
  .live-state-badge.live::before { animation: none; }
}
.live-logo-fallback {
  width: clamp(76px, 11vw, 118px);
  height: clamp(76px, 11vw, 118px);
  display: grid;
  place-items: center;
  border: 1px solid rgba(251,191,36,.32);
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  color: #fbbf24;
  font-size: 20px;
  font-weight: 950;
}
.live-state-badge.postponed {
  color: #fde68a;
  border-color: rgba(251,191,36,.36);
  background: rgba(251,191,36,.09);
}

@media (max-width: 560px) {
  .live-logo-fallback { width: 67px; height: 67px; font-size: 16px; }
}

/* Transmissão oficial no YouTube — CazéTV tem prioridade, GE TV é alternativa. */
.live-stream-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
}
.live-stream-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  max-width: min(100%, 430px);
  border: 1px solid rgba(96,165,250,.58);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(37,99,235,.98), rgba(14,165,233,.92));
  box-shadow: 0 12px 30px rgba(14,165,233,.18);
  color: #fff;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.live-stream-button:hover,
.live-stream-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(14,165,233,.26);
  filter: brightness(1.06);
}
.live-stream-note {
  color: #9fb0bf;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}
.live-stream-alt {
  color: #bfdbfe;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
  text-decoration: underline;
  text-decoration-color: rgba(191,219,254,.42);
  text-underline-offset: 3px;
}
.live-stream-alt:hover,
.live-stream-alt:focus-visible { color: #fff; }


@media (max-width: 560px) {
  .live-stream-area { margin-top: 15px; }
  .live-stream-button {
    width: min(100%, 330px);
    min-height: 44px;
    padding: 9px 14px;
    font-size: 14px;
  }
}

/* Ajustes de transmissão e leitura de estatísticas — 16/07/2026 */
.live-stream-button.is-live {
  position: relative;
  border-color: rgba(56,189,248,.76);
  background: linear-gradient(135deg, #1d4ed8 0%, #0284c7 52%, #0891b2 100%);
  box-shadow: 0 14px 36px rgba(14,165,233,.28), inset 0 1px 0 rgba(255,255,255,.12);
}
.live-stream-button.is-live::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  margin-right: 9px;
  border-radius: 50%;
  background: #bef264;
  box-shadow: 0 0 0 4px rgba(190,242,100,.13), 0 0 14px rgba(190,242,100,.58);
  animation: br-live-pulse 1.2s infinite;
}

.live-stats-teams {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 14px;
  align-items: center;
  margin: 0 0 4px;
  padding: 0 2px 8px;
  border-bottom: 1px solid rgba(148,163,184,.13);
  color: #dce8f2;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .025em;
}
.live-stats-teams span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.live-stats-teams span:first-child { text-align: left; }
.live-stats-teams span:last-child { text-align: right; }

.live-provider-card {
  width: min(100%, 560px);
  max-width: 560px;
  margin: 17px auto 0;
  border: 1px solid rgba(163,230,53,.28);
  border-radius: 17px;
  background:
    radial-gradient(circle at 0 0, rgba(163,230,53,.09), transparent 42%),
    linear-gradient(145deg, rgba(18,37,48,.88), rgba(7,22,32,.93));
  box-shadow: 0 14px 34px rgba(0,0,0,.20);
  padding: 14px 15px;
  text-align: left;
}
.live-provider-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}
.live-provider-icon {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(163,230,53,.24);
  border-radius: 12px;
  background: rgba(163,230,53,.07);
  font-size: 20px;
}
.live-provider-heading > div { min-width: 0; }
.live-provider-kicker {
  display: block;
  margin-bottom: 2px;
  color: #9fb0bf;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.live-provider-heading strong {
  display: block;
  color: #f8fafc;
  font-size: 15px;
  line-height: 1.2;
}
.live-provider-card p {
  margin: 10px 0 0;
  color: #9fb0bf;
  font-size: 11px;
  line-height: 1.45;
}
.live-provider-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.live-provider-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid rgba(96,165,250,.34);
  border-radius: 999px;
  background: rgba(37,99,235,.13);
  color: #dbeafe;
  padding: 7px 13px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
  text-decoration: none;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}
.live-provider-button:hover,
.live-provider-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(96,165,250,.64);
  background: rgba(37,99,235,.24);
  color: #fff;
}
.live-provider-no-link {
  margin-top: 10px;
  color: #aebdca;
  font-size: 11px;
  font-weight: 800;
}

.live-next-channel {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin-top: 5px;
  border: 1px solid rgba(163,230,53,.20);
  border-radius: 999px;
  background: rgba(163,230,53,.06);
  color: #d9ff76;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
}


@media (max-width: 560px) {
  .live-stats-teams {
    gap: 10px;
    font-size: 10px;
  }
  .live-provider-card {
    width: 100%;
    margin-top: 15px;
    padding: 13px;
  }
  .live-provider-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .live-provider-button {
    width: 100%;
    min-height: 42px;
    padding-inline: 9px;
  }
  .live-provider-button:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
  .live-next-item {
    grid-template-columns: minmax(0,1fr) 88px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .live-stream-button.is-live::before { animation: none; }
}

/* ======================================================================
   Raio-X completo e gols compactos — 16/07/2026
   ====================================================================== */
.live-score-center { min-width: 96px; }
.live-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}
.live-team-goals {
  display: grid;
  gap: 3px;
  margin-top: 7px;
  color: #dce8f2;
  font-size: clamp(10px, 1.6vw, 12px);
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}
.live-team-goals span { color: #fbbf24; font-weight: 950; }
.live-stats-panel { margin-top: 14px; border-radius: 18px; }
.live-stats-complete { gap: 0; }
.live-stats-head {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(110px, .8fr) minmax(0,1fr);
  gap: 12px;
  align-items: end;
  margin-bottom: 2px;
  padding: 0 6px 9px;
  border-bottom: 1px solid rgba(148,163,184,.17);
  color: #e8f1f8;
  font-size: 13px;
  font-weight: 950;
}
.live-stats-head > :nth-child(2) { color: #fbbf24; font-size: 11px; text-align: center; text-transform: uppercase; letter-spacing: .06em; }
.live-stats-head > :last-child { text-align: right; }
.live-stats-complete .live-stat-row {
  display: grid;
  grid-template-columns: minmax(72px,1fr) minmax(130px,1.15fr) minmax(72px,1fr);
  gap: 16px;
  align-items: center;
  padding: 10px 6px;
  border-bottom: 1px solid rgba(148,163,184,.10);
}
.live-stats-complete .live-stat-label {
  margin: 0;
  color: #c3cfda;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
}
.live-stats-complete .live-stat-label small { color: #fbbf24; cursor: help; }
.live-stats-complete .live-stat-value {
  min-width: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 950;
  text-align: left;
}
.live-stats-complete .live-stat-value.right { text-align: right; }
.live-stat-mini {
  height: 5px;
  margin-top: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148,163,184,.15);
}
.live-stat-mini span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg,#fbbf24,#fde047);
}
.live-stat-value.right .live-stat-mini span { margin-left: auto; }
.live-stats-note {
  padding: 12px 6px 2px;
  color: #718397;
  font-size: 10px;
  line-height: 1.45;
  text-align: center;
}


@media (max-width: 560px) {
  .live-score-grid { grid-template-columns: minmax(0,1fr) 92px minmax(0,1fr); }
  .live-score-center { min-width: 92px; }
  .live-score { font-size: 36px; letter-spacing: -.07em; }
  .live-team-name { overflow-wrap: normal; word-break: normal; hyphens: none; }
  .live-team-goals { font-size: 10px; }
  .live-stats-head { grid-template-columns: minmax(0,1fr) 86px minmax(0,1fr); gap: 7px; font-size: 11px; }
  .live-stats-head > :nth-child(2) { font-size: 9px; }
  .live-stats-complete .live-stat-row { grid-template-columns: minmax(54px,1fr) 96px minmax(54px,1fr); gap: 8px; padding: 9px 2px; }
  .live-stats-complete .live-stat-value { font-size: 13px; }
  .live-stats-complete .live-stat-label { font-size: 10px; }
}

@media (max-width: 370px) {
  .live-score-grid { grid-template-columns: minmax(0,1fr) 82px minmax(0,1fr); gap: 4px; }
  .live-score-center { min-width: 82px; }
  .live-score { font-size: 32px; }
  .live-team img { width: 60px; height: 60px; }
  .live-team-name { font-size: 16px; }
  .live-stats-head { grid-template-columns: minmax(0,1fr) 78px minmax(0,1fr); }
  .live-stats-complete .live-stat-row { grid-template-columns: minmax(48px,1fr) 88px minmax(48px,1fr); gap: 6px; }
}

/* Ajuste desktop: centraliza o card Onde Assistir sem mexer no mobile. */
@media (min-width: 561px) {
  .live-provider-card { text-align: center; }
  .live-provider-heading { justify-content: center; text-align: left; }
  .live-provider-actions { justify-content: center; }
}

/* Clubes clicáveis no placar ao vivo */
.live-team-link { color: inherit; text-decoration: none; border-radius: 18px; min-width: 0; transition: background .16s ease, box-shadow .16s ease, transform .16s ease; }
.live-team-link:hover, .live-team-link:focus-visible { background: rgba(163,230,53,.07); box-shadow: 0 0 0 1px rgba(163,230,53,.22); outline: none; transform: translateY(-1px); }
.live-team-link .live-team { height: 100%; padding: 8px 5px; }
@media (max-width: 640px) { .live-team-link .live-team { padding: 5px 2px; } }

/* ===== Probabilidade dinâmica ao vivo (Poisson condicional) ===== */
.live-winprob {
  margin: 16px 0 6px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(10, 20, 26, .55);
  border: 1px solid rgba(163, 230, 53, .14);
}
.live-winprob-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-secondary, #93a3b3);
  margin-bottom: 10px;
  text-align: center;
}
.live-winprob-bar {
  display: flex;
  width: 100%;
  height: 14px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, .04);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .3);
}
.live-winprob-seg { height: 100%; transition: width .6s cubic-bezier(.22, .61, .36, 1); }
.live-winprob-seg.home { background: linear-gradient(90deg, #4ade80, #22c55e); }
.live-winprob-seg.draw { background: linear-gradient(90deg, #facc15, #eab308); }
.live-winprob-seg.away { background: linear-gradient(90deg, #38bdf8, #0ea5e9); }
.live-winprob-legend {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-secondary, #b8c4d0);
}
.live-winprob-legend span { display: flex; flex-direction: column; align-items: center; text-align: center; flex: 1; min-width: 0; }
.live-winprob-legend strong { font-size: 16px; color: var(--text, #eaf2f8); font-weight: 900; }
.live-winprob-legend span:first-child strong { color: #4ade80; }
.live-winprob-legend span:nth-child(2) strong { color: #facc15; }
.live-winprob-legend span:last-child strong { color: #38bdf8; }
.live-winprob-note {
  margin-top: 8px;
  font-size: 10px;
  text-align: center;
  color: rgba(147, 163, 179, .7);
  font-style: italic;
}
@media (max-width: 640px) {
  .live-winprob { padding: 12px; margin: 12px 0 4px; }
  .live-winprob-legend { font-size: 11px; }
  .live-winprob-legend strong { font-size: 14px; }
}

/* ======================================================================
   Escalações ESPN — 21/07/2026
   Abaixo das estatísticas, atualizadas junto ao ciclo de 30 segundos.
   ====================================================================== */
.live-lineups-panel {
  margin-top: 14px;
  border-radius: 18px;
}
.live-lineups-status {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 4px 0 14px;
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 12px;
  background: rgba(15, 31, 41, .64);
  color: #b9c7d3;
  padding: 10px 12px;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.4;
}
.live-lineups-status > span {
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #94a3b8;
  box-shadow: 0 0 0 4px rgba(148, 163, 184, .10);
}
.live-lineups-status.confirmed {
  border-color: rgba(74, 222, 128, .23);
  background: rgba(20, 83, 45, .16);
  color: #d3f9df;
}
.live-lineups-status.confirmed > span {
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, .12);
}
.live-lineups-status.partial {
  border-color: rgba(251, 191, 36, .24);
  background: rgba(120, 53, 15, .14);
  color: #fde7a4;
}
.live-lineups-status.partial > span {
  background: #fbbf24;
  box-shadow: 0 0 0 4px rgba(251, 191, 36, .12);
}
.live-lineups-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}
.live-lineup-team-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(15, 31, 41, .92), rgba(10, 22, 30, .90));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
}
.live-lineup-team-head {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 72px;
  border-bottom: 1px solid rgba(148, 163, 184, .12);
  padding: 12px 14px;
}
.live-lineup-team-head img {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  object-fit: contain;
}
.live-lineup-team-head > div { min-width: 0; }
.live-lineup-team-head h3 {
  margin: 0;
  color: #f8fafc;
  font-size: 17px;
  font-weight: 950;
  line-height: 1.1;
}
.live-lineup-team-head span {
  display: block;
  margin-top: 4px;
  color: #91a3b4;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.live-lineup-coach {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin: 12px 14px 0;
  border-radius: 10px;
  background: rgba(148, 163, 184, .07);
  padding: 9px 10px;
}
.live-lineup-coach span {
  color: #90a1b1;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.live-lineup-coach strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #f1f5f9;
  font-size: 12px;
  font-weight: 900;
  text-align: right;
}
.live-lineup-list,
.live-lineup-changes {
  padding: 13px 14px 14px;
}
.live-lineup-list h4,
.live-lineup-changes h4 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 0 0 9px;
  color: #dce7ef;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.live-lineup-list h4 span {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(163, 230, 53, .10);
  color: #c9f56a;
  font-size: 10px;
}
.live-lineup-player {
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-height: 39px;
  border-top: 1px solid rgba(148, 163, 184, .08);
  padding: 6px 0;
}
.live-lineup-player:first-of-type { border-top: 0; }
.live-lineup-number {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid rgba(163, 230, 53, .20);
  border-radius: 9px;
  background: rgba(163, 230, 53, .07);
  color: #d9ff76;
  font-size: 11px;
  font-weight: 950;
}
.live-lineup-player-name {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #eef5fa;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}
.live-lineup-player-name small {
  display: block;
  margin-top: 2px;
  color: #718397;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .025em;
  text-transform: uppercase;
}
.live-lineup-team-empty {
  margin: 13px 14px 14px;
  border: 1px dashed rgba(148, 163, 184, .20);
  border-radius: 11px;
  color: #8496a7;
  padding: 15px 12px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
}
.live-lineup-reserves {
  border-top: 1px solid rgba(148, 163, 184, .10);
}
.live-lineup-reserves summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-height: 45px;
  cursor: pointer;
  list-style: none;
  color: #b9c6d1;
  padding: 10px 14px;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.live-lineup-reserves summary::-webkit-details-marker { display: none; }
.live-lineup-reserves summary::after {
  content: "＋";
  color: #a3e635;
  font-size: 15px;
  line-height: 1;
}
.live-lineup-reserves[open] summary::after { content: "−"; }
.live-lineup-reserves summary span {
  margin-left: auto;
  color: #8192a2;
  font-size: 10px;
}
.live-lineup-reserve-list {
  border-top: 1px solid rgba(148, 163, 184, .08);
  padding: 5px 14px 12px;
}
.live-lineup-changes {
  border-top: 1px solid rgba(148, 163, 184, .10);
}
.live-lineup-change {
  display: grid;
  grid-template-columns: 47px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  border-top: 1px solid rgba(148, 163, 184, .08);
  padding: 8px 0;
}
.live-lineup-change:first-of-type { border-top: 0; }
.live-lineup-change > span {
  color: #fbbf24;
  font-size: 10px;
  font-weight: 950;
}
.live-lineup-change > strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #dce7ef;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.35;
}
.live-lineups-footnote {
  margin: 12px 2px 0;
  color: #718397;
  font-size: 9px;
  line-height: 1.45;
  text-align: center;
}

@media (max-width: 700px) {
  .live-lineups-grid { grid-template-columns: 1fr; }
  .live-lineup-team-head { min-height: 65px; }
  .live-lineup-team-head img { width: 42px; height: 42px; flex-basis: 42px; }
  .live-lineup-team-head h3 { font-size: 16px; }
}

@media (max-width: 420px) {
  .live-lineups-status { font-size: 10px; }
  .live-lineup-coach { grid-template-columns: 1fr; gap: 3px; }
  .live-lineup-coach strong { text-align: left; }
  .live-lineup-player { grid-template-columns: 29px minmax(0, 1fr); }
  .live-lineup-number { width: 29px; height: 29px; }
}
