/* Basketball Navojoa V4.2.9: cuatro consultas de liga con el mismo PictureBox.
   No se modifican el calendario SQL, los resultados ni los eventos nativos. */
.bnav427-result-pair.bnav429-match-pair,
.bnav428-cal-pair.bnav429-match-pair {
  display:flex !important;
  flex-flow:row nowrap !important;
  justify-content:center !important;
  align-items:center !important;
  column-gap:5px !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  line-height:1.25 !important;
  vertical-align:middle !important;
  box-sizing:border-box !important;
}
.bnav429-match-pair > .bnav427-logo-box {
  position:relative !important;
  flex:0 0 29px !important;
  width:29px !important;height:29px !important;min-width:29px !important;
  max-width:29px !important;max-height:29px !important;
  border-radius:7px !important;
  pointer-events:none !important;
}
.bnav427-result-pair.bnav429-match-pair > .bnav427-match-text,
.bnav428-cal-pair.bnav429-match-pair > .bnav428-cal-text {
  flex:0 1 auto !important;
  display:block !important;
  width:auto !important;
  min-width:0 !important;
  max-width:calc(100% - 70px) !important;
  overflow-wrap:normal !important;
  word-break:normal !important;
  white-space:normal !important;
  text-align:center !important;
  font-size:clamp(11px,.91vw,14px) !important;
  line-height:1.35 !important;
}
.bnav429-standings-wrap {
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  overflow-x:auto !important;
  overflow-y:visible !important;
  -webkit-overflow-scrolling:touch;
}
.bnav429-standings-wrap > table {max-width:none !important;}
.bnav429-vs-token {margin:0 4px !important;display:inline-block !important;}
/* Mantener el texto nativo y el VS en línea cuando quepa, y partir sólo por
   palabras cuando el espacio es menor (no partir las letras de un equipo). */
.bnav429-pos-cell {min-width:0 !important;}
.bnav429-pos-equipo {
  display:inline-flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:9px !important;
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
}
.bnav429-pos-equipo > .bnav429-pos-logo {
  position:relative !important;
  flex:0 0 27px !important;
  width:27px !important;height:27px !important;
  min-width:27px !important;
  max-width:27px !important;max-height:27px !important;
  border-radius:6px !important;
}
.bnav429-pos-nombre {min-width:0 !important;white-space:normal !important;overflow-wrap:normal !important;line-height:1.25 !important;}
/* Reducir un poco más la distancia marcador-acta-navegación sin volver
   a superponerlos ni crear otros controles. Ambas tarjetas mantienen igualdad. */
:root {--bnav426-height:340px;}
.bnav426-card.bnav426-card,
.bnav426-card.bnav426-result,
.bnav426-card.bnav426-upcoming {
  height:var(--bnav426-height) !important;
  min-height:var(--bnav426-height) !important;
  max-height:var(--bnav426-height) !important;
}
.bnav426-card > .bnav426-footer {
  bottom:21px !important;
  grid-template-rows:64px 44px 18px !important;
  row-gap:6px !important;
}
/* V4.2.8 desplazaba el acta 17px con transform, separándola de la fila
   real. Quitamos ese desplazamiento y usamos la cuadrícula física. */
.bnav426-card.bnav426-result > .bnav426-footer > .bnav426-acta-row {
  transform:none !important;
}
.bnav426-card .bnav426-footer .bnav426-final-text {
  line-height:1.3 !important;
}
@media (max-width:740px) {
  :root {--bnav426-height:355px;}
  .bnav429-match-pair > .bnav427-logo-box {
    flex-basis:25px !important;
    width:25px !important;height:25px !important;min-width:25px !important;
    max-width:25px !important;max-height:25px !important;
  }
  .bnav427-result-pair.bnav429-match-pair > .bnav427-match-text,
  .bnav428-cal-pair.bnav429-match-pair > .bnav428-cal-text {
    font-size:clamp(11px,2.8vw,13px) !important;
    max-width:calc(100% - 60px) !important;
  }
  .bnav429-pos-equipo {gap:5px !important;}
  .bnav429-pos-equipo > .bnav429-pos-logo {
    flex-basis:23px !important;
    width:23px !important;height:23px !important;min-width:23px !important;
    max-width:23px !important;max-height:23px !important;
  }
  .bnav426-card > .bnav426-footer {
    bottom:21px !important;
    grid-template-rows:66px 44px 18px !important;
    row-gap:7px !important;
  }
  .bnav426-card.bnav426-result > .bnav426-footer > .bnav426-acta-row {
    transform:none !important;
  }
}
@media (max-width:359px) {
  :root {--bnav426-height:366px;}
  .bnav429-match-pair {column-gap:3px !important;}
  .bnav429-match-pair > .bnav427-logo-box {
    flex-basis:23px !important;width:23px !important;height:23px !important;
    min-width:23px !important;max-width:23px !important;
  }
}
