/* =============================================================================
   Barra de estadísticas del overlay en vivo (coliseo · pesos · pelea · gallos).
   Diseño SIN tiempo en el centro: la celda central inferior queda vacía.
   Compartida entre la página pública (overlay del reproductor) y el panel
   admin (vista previa del editor).
   ========================================================================== */

/* Contenedor superpuesto sobre el video (reproductor público y vista previa
   del panel admin): centrado horizontal, pegado a la parte inferior. */
.statsbar-mount {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6.5%;
  margin-inline: auto;
  width: min(88%, 720px);
  max-width: 720px;
  z-index: 8;
  pointer-events: none;
  transition: bottom 0.25s ease;
}
.statsbar-mount[hidden] { display: none; }

/* En el reproductor real, la barra de controles propia ocupa el borde
   inferior: la barra de estadísticas queda SIEMPRE por encima de ella
   (vital que se vea) y baja cuando los controles se auto-ocultan. */
.player-wrap .statsbar-mount { bottom: max(6.5%, 64px); }
.player-wrap.pc-hidden .statsbar-mount { bottom: 14px; }

@media (max-width: 640px) {
  .statsbar-mount { width: 94%; }
  .player-wrap .statsbar-mount { bottom: 56px; }
  .player-wrap.pc-hidden .statsbar-mount { bottom: 10px; }
}

.statsbar {
  container-type: inline-size;
  width: 100%;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  user-select: none;
  pointer-events: none;
}

/* Encabezado: coliseo (negro, borde superior dorado, centrado) */
.sb-venue {
  display: table;
  margin: 0 auto;
  background: #0d0d0d;
  color: #fff;
  border-top: 0.55cqw solid #f5c518;
  padding: 1.4cqw 4cqw 1.6cqw;
  font-weight: 600;
  font-size: 4.4cqw;
  line-height: 1.1;
  letter-spacing: 0.03em;
  text-align: center;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Rejilla 3×2: izquierda azul · centro negro · derecha clara */
.sb-grid {
  display: grid;
  grid-template-columns: 1fr 0.82fr 1fr;
  gap: 0.45cqw;
  margin-top: 0.45cqw;
}

.sb-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.15cqw 1.6cqw;
  font-weight: 600;
  font-size: 3.9cqw;
  line-height: 1.12;
  letter-spacing: 0.02em;
  overflow: hidden;
}
.sb-cell span {
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Izquierda: azul con texto blanco */
.sb-left-top, .sb-left-bottom {
  background: #1d24e8;
  color: #fff;
}

/* Centro: negro con texto blanco (la celda inferior queda vacía, sin tiempo) */
.sb-center-top, .sb-center-bottom {
  background: #0d0d0d;
  color: #fff;
}
.sb-center-top span { font-size: 1.05em; }

/* Derecha: clara con texto oscuro */
.sb-right-top, .sb-right-bottom {
  background: #f2f2f0;
  color: #101014;
}
