/* ==============================================================================
   CREDIOLIMPIADAS / CREDIJUEGOS - ESTILOS ARCADE TANDA DE PENALES 3D
   Archivo: Frontend/public/styles/penales-3d.css
   Estadio nocturno, HUD de transmisión deportiva, barra de poder y efectos neón
   ============================================================================== */

.penales-game-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto 1.5rem;
  box-sizing: border-box;
}

.penales-3d-container {
  position: relative;
  width: 100%;
  max-width: 1080px;
  height: min(64vh, 520px);
  min-height: 380px;
  margin: 0 auto;
  background: radial-gradient(circle at 50% 30%, #0A1433 0%, #030814 100%);
  border: 3.5px solid var(--cc-blue, #002855);
  border-radius: 24px;
  box-shadow: 0 0 35px rgba(3, 155, 229, 0.35), inset 0 0 40px rgba(10, 20, 51, 0.8);
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.penales-3d-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
}

.penales-hud-stadium-overlay,
.penales-hud-overlay,
.penales-hud-root {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

.penales-hud-stadium-overlay *,
.penales-hud-overlay *,
.penales-hud-root * {
  pointer-events: auto;
}

#endmatch-slot {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 50;
}

#endmatch-slot > * {
  pointer-events: auto;
}

/* ==============================================================================
/* Botón de Sonido Flotante en el Estadio (Idéntico a Béisbol) */
.penales-sound-toggle-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 35;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.75rem;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.85);
  border: 1.5px solid rgba(56, 189, 248, 0.55);
  color: #F8FAFC;
  font-family: var(--cc-font-sans, 'Inter', system-ui, sans-serif);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
  transition: all 0.18s ease;
  user-select: none;
}

.penales-sound-toggle-btn:hover {
  transform: translateY(-1px);
  background: rgba(15, 23, 42, 0.95);
  border-color: #38BDF8;
}

.penales-sound-toggle-btn:active {
  transform: translateY(0) scale(0.96);
}

.penales-sound-toggle-btn.is-off {
  background: rgba(127, 29, 29, 0.86);
  border-color: rgba(248, 113, 113, 0.7);
  color: #FECACA;
}

.penales-sound-icon {
  font-size: 0.92rem;
}

.penales-sound-text {
  font-family: var(--cc-font-sans, 'Montserrat', 'Inter', sans-serif);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
}

/* ==============================================================================
   MARCADOR ESTILO TRANSMISIÓN DEPORTIVA (TV BROADCAST)
   ============================================================================== */
.penales-scoreboard {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(10, 20, 51, 0.96);
  border: 2.5px solid var(--cc-sky, #039BE5);
  border-radius: 44px;
  padding: 8px 26px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.7), 0 0 22px rgba(3, 155, 229, 0.45);
  width: min(92%, 640px);
  box-sizing: border-box;
}

.penales-team-box {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.penales-team-box--reverse {
  flex-direction: row-reverse;
  justify-content: flex-start;
}

.penales-team-shield-mini {
  width: 46px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.penales-team-shield-mini .team-svg-shield {
  filter: drop-shadow(0 3px 8px rgba(0,0,0,0.7));
}

.penales-team-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.penales-team-name {
  font-family: var(--cc-font-sans, 'Montserrat', 'Inter', sans-serif);
  font-size: 0.85rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.5px;
  max-width: 190px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
  display: block;
}

.penales-dots-row {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}

.penales-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #334155;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.25s ease;
}

.penales-dot--goal {
  background: #43A047;
  border-color: #6AE87A;
  box-shadow: 0 0 10px #43A047;
}

.penales-dot--miss {
  background: #E53935;
  border-color: #FF8A80;
  box-shadow: 0 0 10px #E53935;
}

.penales-dot--current {
  background: #F28C28;
  border-color: #FFA858;
  box-shadow: 0 0 12px #FFA858;
  animation: penalesDotPulse 0.9s infinite alternate;
}

@keyframes penalesDotPulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.4); opacity: 1; }
}

.penales-score-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 12px;
  flex-shrink: 0;
}

.penales-score-numbers {
  font-family: var(--cc-font-sans, 'Montserrat', 'Inter', sans-serif);
  font-size: 1.6rem;
  font-weight: 900;
  color: #FFFFFF;
  text-shadow: 0 0 14px rgba(3, 155, 229, 0.9);
  display: flex;
  gap: 8px;
  line-height: 1;
}

.penales-score-round {
  font-size: 0.68rem;
  color: var(--cc-sky-light, #82CEFA);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 3px;
}

/* Badge integrado de rol (sin solapamiento sobre la cancha) */
.penales-role-badge {
  margin-top: 5px;
  font-family: var(--cc-font-sans, 'Montserrat', 'Inter', sans-serif);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.penales-role-badge--kicker {
  background: rgba(34, 197, 94, 0.22);
  color: #6AE87A;
  border: 1px solid #22C55E;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
}

.penales-role-badge--keeper {
  background: rgba(3, 155, 229, 0.22);
  color: #82CEFA;
  border: 1px solid #039BE5;
  box-shadow: 0 0 8px rgba(3, 155, 229, 0.4);
}

/* ==============================================================================
   SELECTOR INTERACTIVO DE 4 ZONAS EN EL ARCO (TL, TR, BL, BR)
   ============================================================================== */
.penales-zones-overlay {
  position: absolute;
  top: 24%;
  left: 50%;
  transform: translateX(-50%);
  width: min(78%, 680px);
  height: min(39%, 235px);
  z-index: 12;
  display: block;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.penales-zones-overlay--hidden {
  opacity: 0;
  pointer-events: none;
}

.penales-zone-btn {
  background: rgba(10, 20, 51, 0.45);
  border: 2px dashed rgba(255, 255, 255, 0.55);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #FFFFFF;
  transition: all 0.18s ease;
  padding: 4px 8px;
  position: absolute;
  outline: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(10, 20, 51, 0.5);
  pointer-events: auto;
  width: clamp(96px, 13vw, 132px);
  height: clamp(48px, 7.5vh, 64px);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.penales-zone-btn[data-zone="TL"] {
  top: 0;
  left: 0;
}

.penales-zone-btn[data-zone="TR"] {
  top: 0;
  right: 0;
}

.penales-zone-btn[data-zone="BL"] {
  bottom: 0;
  left: 0;
}

.penales-zone-btn[data-zone="BR"] {
  bottom: 0;
  right: 0;
}

.penales-zone-btn:hover {
  background: rgba(3, 155, 229, 0.38);
  border: 2px solid #00E5FF;
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.65);
  transform: scale(1.04);
}

.penales-zone-btn--selected {
  background: rgba(16, 185, 129, 0.42);
  border: 2.5px solid #6AE87A;
  box-shadow: 0 0 22px rgba(106, 232, 122, 0.75), inset 0 0 12px rgba(106, 232, 122, 0.35);
  transform: scale(1.05);
}

.penales-zone-crosshair {
  width: 32px;
  height: 32px;
  border: 2px solid currentColor;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  opacity: 0.85;
}

.penales-zone-label {
  font-family: var(--cc-font-sans, 'Montserrat', 'Inter', sans-serif);
  font-size: 0.72rem;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

/* ==============================================================================
   BARRA DE PODER Y CONTROL DE SWING/TIRO (FUERA DEL RECUADRO DE LA CANCHA, como en Béisbol)
   ============================================================================== */
.penales-control-deck,
.penales-powerbar-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  background: rgba(10, 20, 51, 0.96);
  border: 2.5px solid var(--cc-blue, #002855);
  border-radius: 20px;
  padding: 0.85rem 1.4rem;
  box-sizing: border-box;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(3, 155, 229, 0.25);
  width: 100%;
  position: static;
  transform: none;
  z-index: 10;
}

.penales-deck-left {
  flex: 1;
  min-width: 135px;
}

.penales-selected-pill {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.penales-pill-lbl {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--cc-sky-light, #82CEFA);
  letter-spacing: 0.06em;
  font-family: var(--cc-font-sans, sans-serif);
}

.penales-pill-val {
  font-family: var(--cc-font-sans, 'Montserrat', 'Inter', sans-serif);
  font-size: 0.88rem;
  font-weight: 900;
  color: #FFFFFF;
  text-shadow: 0 0 10px rgba(3, 155, 229, 0.8);
}

.penales-deck-center {
  flex: 2.5;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 240px;
}

.penales-powerbar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--cc-font-sans, 'Montserrat', 'Inter', sans-serif);
  font-size: 0.75rem;
}

.penales-powerbar-track {
  position: relative;
  width: 100%;
  height: 24px;
  background: #1E293B;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #334155;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.6);
  display: flex;
}

.penales-powerbar-zone-red-left {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: linear-gradient(90deg, #E53935 0%, #D32F2F 100%);
}

.penales-powerbar-zone-yellow-left {
  position: absolute;
  top: 0;
  bottom: 0;
  background: linear-gradient(90deg, #FBC02D 0%, #F57F17 100%);
}

.penales-powerbar-zone-green {
  position: absolute;
  top: 0;
  bottom: 0;
  background: linear-gradient(90deg, #43A047 0%, #6AE87A 50%, #43A047 100%);
  box-shadow: 0 0 12px #6AE87A;
  z-index: 2;
}

.penales-powerbar-zone-yellow-right {
  position: absolute;
  top: 0;
  bottom: 0;
  background: linear-gradient(90deg, #F57F17 0%, #FBC02D 100%);
}

.penales-powerbar-zone-red-right {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  background: linear-gradient(90deg, #D32F2F 0%, #E53935 100%);
}

.penales-powerbar-needle {
  position: absolute;
  top: -4px;
  bottom: -4px;
  width: 6px;
  background: #FFFFFF;
  border-radius: 3px;
  box-shadow: 0 0 10px #FFFFFF, 0 0 18px #039BE5;
  transform: translateX(-50%);
  z-index: 5;
  pointer-events: none;
  transition: none;
}

.penales-deck-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  min-width: 160px;
}

/* ==============================================================================
   FOOTER CON ESTADÍSTICAS Y BOTÓN DE ABANDONAR (Idéntico a Béisbol)
   ============================================================================== */
.penales-match-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0.45rem 0.2rem;
  box-sizing: border-box;
  width: 100%;
}

.penales-stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.35);
  font-size: 0.72rem;
  color: #E2E8F0;
}

.penales-stat-label {
  font-weight: 800;
  color: #94A3B8;
  letter-spacing: 0.04em;
}

.penales-stat-val {
  font-family: var(--cc-font-sans, 'Montserrat', 'Inter', sans-serif);
  font-weight: 900;
  color: #38BDF8;
}

.penales-forfeit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.42rem 0.95rem;
  border-radius: 9999px;
  border: 1.5px solid #EF4444;
  background: linear-gradient(135deg, #FEF2F2 0%, #FEE2E2 100%);
  color: #B91C1C;
  font-family: var(--cc-font-sans, 'Inter', sans-serif);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.18s ease;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.15);
  margin-left: auto;
}

.penales-forfeit-btn:hover {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
}

.penales-forfeit-btn:active {
  transform: translateY(0);
}

/* ==============================================================================
   CARTEL ARCADE 3D NEÓN DE RESULTADO ("¡GOOOL!", "¡ATAJADA!", ETC.)
   ============================================================================== */
.penales-neon-banner {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  z-index: 20;
  font-family: var(--cc-font-sans, 'Montserrat', 'Inter', sans-serif);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  text-align: center;
  padding: 14px 34px;
  border-radius: 30px;
  pointer-events: none;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.penales-neon-banner--active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.penales-neon-banner--goal {
  color: #6AE87A;
  background: rgba(10, 35, 20, 0.9);
  border: 4px solid #43A047;
  text-shadow: 0 0 20px #43A047, 0 0 40px #6AE87A;
  box-shadow: 0 0 50px rgba(67, 160, 71, 0.8);
  animation: bannerThump 0.5s ease-out;
}

.penales-neon-banner--save {
  color: #82CEFA;
  background: rgba(10, 25, 55, 0.9);
  border: 4px solid #039BE5;
  text-shadow: 0 0 20px #039BE5, 0 0 40px #82CEFA;
  box-shadow: 0 0 50px rgba(3, 155, 229, 0.8);
  animation: bannerThump 0.5s ease-out;
}

.penales-neon-banner--post {
  color: #FFA858;
  background: rgba(45, 25, 10, 0.9);
  border: 4px solid #F28C28;
  text-shadow: 0 0 20px #F28C28, 0 0 40px #FFA858;
  box-shadow: 0 0 50px rgba(242, 140, 40, 0.8);
  animation: bannerShake 0.45s ease-in-out;
}

.penales-neon-banner--out {
  color: #FF8A80;
  background: rgba(45, 15, 15, 0.9);
  border: 4px solid #E53935;
  text-shadow: 0 0 20px #E53935, 0 0 40px #FF8A80;
  box-shadow: 0 0 50px rgba(229, 57, 53, 0.8);
  animation: bannerFadeDrop 0.5s ease-out;
}

@keyframes bannerThump {
  0% { transform: translate(-50%, -50%) scale(0.3); opacity: 0; }
  60% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

@keyframes bannerShake {
  0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
  20% { transform: translate(-54%, -50%) rotate(-4deg); }
  40% { transform: translate(-46%, -50%) rotate(4deg); }
  60% { transform: translate(-52%, -50%) rotate(-2deg); }
  80% { transform: translate(-48%, -50%) rotate(2deg); }
}

@keyframes bannerFadeDrop {
  0% { transform: translate(-50%, -70%) scale(0.8); opacity: 0; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

/* ==============================================================================
   CONTROL SUPERIOR DERECHO (CALIDAD GRÁFICA AUTO/ALTA/MEDIA/BAJA)
   ============================================================================== */
.penales-quality-badge {
  position: absolute;
  bottom: 12px;
  right: 14px;
  z-index: 12;
  font-size: 0.65rem;
  font-family: var(--cc-font-sans, 'Montserrat', 'Inter', sans-serif);
  background: rgba(10, 20, 51, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #94A3B8;
  padding: 3px 8px;
  border-radius: 8px;
  cursor: pointer;
}

.penales-quality-badge:hover {
  color: #FFFFFF;
  border-color: var(--cc-sky, #039BE5);
}

/* ==============================================================================
   PANTALLA DE CARGA SIMPLE Y ELEGANTE DEL JUEGO
   ============================================================================== */
.penales-loading-screen {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, #0A1433 0%, #030814 100%);
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  transition: opacity 0.4s ease-out, visibility 0.4s ease-out;
}

.penales-loading-screen--fadeout {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.penales-loading-card {
  text-align: center;
  max-width: 440px;
  width: 100%;
  background: rgba(10, 20, 51, 0.9);
  border: 2px solid var(--cc-sky, #039BE5);
  border-radius: 24px;
  padding: 2rem 1.75rem;
  box-shadow: 0 0 35px rgba(3, 155, 229, 0.45);
}

.penales-loading-ball-spin {
  font-size: 3.5rem;
  display: inline-block;
  animation: loadingBallBounce 0.8s infinite alternate ease-in-out;
  margin-bottom: 0.75rem;
  filter: drop-shadow(0 0 12px rgba(106, 232, 122, 0.6));
}

@keyframes loadingBallBounce {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-16px) rotate(180deg); }
}

.penales-loading-title {
  font-family: var(--cc-font-sans, 'Montserrat', 'Inter', sans-serif);
  font-size: 1.25rem;
  color: #6AE87A;
  letter-spacing: 1px;
  margin-bottom: 0.4rem;
  text-shadow: 0 0 10px rgba(106, 232, 122, 0.6);
}

.penales-loading-subtitle {
  font-size: 0.88rem;
  color: #94A3B8;
  margin-bottom: 1.25rem;
}

.penales-loading-bar-track {
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 0.75rem;
}

.penales-loading-bar-fill {
  width: 25%;
  height: 100%;
  background: linear-gradient(90deg, #F28C28 0%, #6AE87A 100%);
  border-radius: 9999px;
  transition: width 0.3s ease-out;
  box-shadow: 0 0 12px rgba(106, 232, 122, 0.8);
}

.penales-loading-status {
  font-size: 0.82rem;
  color: #CBD5E1;
  font-weight: 600;
}

/* ==============================================================================
   MODAL DE FIN DE PARTIDO Y DESGLOSE DE PUNTOS (FIXED FULLSCREEN)
   ============================================================================== */
/* ==============================================================================
   MODAL DE FIN DE PARTIDO Y DESGLOSE DE PUNTOS (FIXED FULLSCREEN)
   ============================================================================== */
.penales-endmatch-modal {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: radial-gradient(circle at center, rgba(14, 28, 68, 0.94) 0%, rgba(4, 8, 22, 0.98) 100%) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  z-index: 99999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1rem !important;
  pointer-events: auto !important;
  overflow-y: auto !important;
  animation: modalFadeIn 0.28s ease-out;
}

@keyframes modalFadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes modalPopIn {
  0% { transform: scale(0.82); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.penales-endmatch-card {
  width: 100%;
  max-width: 510px;
  max-height: 94vh;
  overflow-y: auto;
  background: linear-gradient(180deg, #132454 0%, #0A1433 60%, #060B1C 100%);
  border: 3.5px solid var(--cc-sky, #039BE5);
  border-radius: 28px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 45px rgba(3, 155, 229, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  animation: modalPopIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.penales-endmatch-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 90px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 100%);
  border-radius: 24px 24px 0 0;
  pointer-events: none;
}

.penales-points-table {
  width: 100%;
  background: rgba(8, 16, 38, 0.85);
  border-radius: 18px;
  padding: 14px 16px;
  margin: 1.15rem 0 1.35rem;
  border: 1.5px solid rgba(79, 179, 232, 0.25);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5);
}

.penales-points-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  font-size: 0.88rem;
  color: #CBD5E1;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.penales-points-row:last-child {
  border-bottom: none;
  font-weight: 800;
  font-size: 1.05rem;
  color: #6AE87A;
  padding-top: 10px;
}

/* Responsividad móvil (360px - 768px) */
@media (max-width: 768px) {
  .penales-3d-container {
    height: min(72vh, 520px);
    min-height: 380px;
    border-radius: 18px;
    margin-bottom: 0.75rem;
  }

  .penales-scoreboard {
    top: 8px;
    width: 96%;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 20px;
  }

  .penales-team-box {
    gap: 6px;
  }

  .penales-team-shield-mini {
    width: 28px;
    height: 32px;
  }

  .penales-team-name {
    font-size: 0.58rem;
    max-width: 72px;
  }

  .penales-dots-row {
    gap: 3px;
    margin-top: 2px;
  }

  .penales-dot {
    width: 7px;
    height: 7px;
  }

  .penales-score-center {
    padding: 0 4px;
  }

  .penales-score-numbers {
    font-size: 1.15rem;
    gap: 4px;
  }

  .penales-score-round {
    font-size: 0.52rem;
  }

  .penales-role-badge {
    font-size: 0.52rem;
    padding: 2px 6px;
    margin-top: 3px;
  }

  .penales-zones-overlay {
    top: 22%;
    width: 88%;
    height: 38%;
  }

  .penales-zone-btn {
    width: 84px;
    height: 42px;
    padding: 2px 4px;
  }

  .penales-zone-crosshair {
    width: 18px;
    height: 18px;
    margin-bottom: 2px;
  }

  .penales-zone-label {
    font-size: 0.52rem;
  }

  .penales-control-deck,
  .penales-powerbar-panel {
    position: static;
    flex-direction: column;
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 16px;
    gap: 0.75rem;
    align-items: stretch;
  }

  .penales-deck-left,
  .penales-deck-center,
  .penales-deck-right {
    min-width: 100%;
    width: 100%;
  }

  .penales-deck-right button {
    width: 100%;
  }

  .penales-forfeit-btn {
    width: 100%;
    margin-left: 0;
  }

  .penales-photo-kicker-back-container {
    left: 18%;
    bottom: 10px;
    height: min(28vh, 175px);
    width: 135px;
  }

  .penales-photo-keeper-container {
    bottom: 37%;
    height: min(24vh, 150px);
    width: min(40vw, 190px);
  }

  .penales-photo-ball-container {
    bottom: 22%;
    width: 44px;
    height: 44px;
    margin-left: -22px;
  }

  .penales-powerbar-header {
    font-size: 0.56rem;
  }

  .penales-powerbar-track {
    height: 18px;
  }

  .penales-action-row {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .penales-action-hint {
    font-size: 0.64rem;
    justify-content: center;
  }

  .penales-quality-badge {
    display: none;
  }
}

/* Reducción de movimiento */
@media (prefers-reduced-motion: reduce) {
  .penales-dot--current,
  .penales-neon-banner--goal,
  .penales-neon-banner--save,
  .penales-neon-banner--post,
  .penales-neon-banner--out {
    animation: none !important;
  }
}

/* ==============================================================================
   ESCENARIO VISUAL FOTOGRÁFICO DE FÚTBOL CON PERSPECTIVAS Y SPRITES REALES
   ============================================================================== */
.penales-photo-stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
  background-color: #0A1433;
}

.penales-photo-field {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transition: opacity 0.3s ease, transform 0.4s ease;
  z-index: 1;
}

.penales-field-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.penales-photo-stage:not(.is-keeper-view) .penales-field-img--kicker {
  display: block !important;
}

.penales-photo-stage:not(.is-keeper-view) .penales-field-img--keeper,
.penales-photo-stage:not(.is-keeper-view) .penales-photo-rival-container,
.penales-photo-stage:not(.is-keeper-view) .penales-photo-keeper-back-container {
  display: none !important;
}

.penales-photo-stage.is-keeper-view .penales-field-img--keeper {
  display: block !important;
}

.penales-photo-stage.is-keeper-view .penales-field-img--kicker,
.penales-photo-stage.is-keeper-view .penales-photo-kicker-back-container,
.penales-photo-stage.is-keeper-view .penales-photo-keeper-container {
  display: none !important;
}

.penales-field-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(3, 155, 229, 0.05) 0%, rgba(10, 20, 51, 0.35) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Capa de personajes y balón */
.penales-photo-actors {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
}

/* Portero en el arco (Vista Pateador) ampliado y proporcionado */
.penales-photo-keeper-container {
  position: absolute;
  bottom: 35%;
  left: 50%;
  transform: translateX(-50%);
  height: min(29vh, 185px);
  width: min(36vw, 240px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 3;
  overflow: visible !important;
  transition: transform 0.35s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.penales-photo-keeper-container.dive-tr {
  transform: translate(75px, -36px) scale(1.04);
}

.penales-photo-keeper-container.dive-br {
  transform: translate(95px, 6px) scale(1.04);
}

.penales-photo-keeper-container.dive-tl {
  transform: translate(-125px, -36px) scale(1.04);
}

.penales-photo-keeper-container.dive-bl {
  transform: translate(-145px, 6px) scale(1.04);
}

.penales-photo-sprite {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  overflow: visible !important;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.75));
}

.penales-photo-sprite.is-mirrored {
  transform: scaleX(-1);
}

/* Pateador rival de frente (Vista Portero: visible en la cancha frente al balón) */
.penales-photo-rival-container {
  position: absolute;
  bottom: 34%;
  left: 45%;
  transform: translateX(-50%);
  height: min(28vh, 190px);
  width: 150px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 5;
  transition: transform 0.25s ease;
}

/* Pateador de espaldas (Vista Pateador, primer plano lateral proporcionado) */
.penales-photo-kicker-back-container {
  position: absolute;
  bottom: 2%;
  left: 24%;
  transform: translateX(-50%);
  height: min(38vh, 255px);
  width: 195px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 6;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.penales-photo-kicker-back-container.is-kicking {
  transform: translate(-30%, -10px) scale(1.02);
}

/* Portero de espaldas (Vista Portero, ampliado, nítido y sin recortes) */
.penales-photo-keeper-back-container {
  position: absolute;
  bottom: 0%;
  left: 50%;
  transform: translateX(-50%);
  height: min(45vh, 320px);
  width: min(48vw, 340px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 6;
  overflow: visible !important;
  transition: transform 0.36s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.penales-photo-keeper-back-container .penales-photo-sprite {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  overflow: visible !important;
}

.penales-photo-keeper-back-container.dive-tl {
  transform: translate(-80%, -60px) scale(1.04);
}

.penales-photo-keeper-back-container.dive-bl {
  transform: translate(-70%, 10px) scale(1.04);
}

.penales-photo-keeper-back-container.dive-tr {
  transform: translate(45%, -60px) scale(1.04);
}

.penales-photo-keeper-back-container.dive-br {
  transform: translate(35%, 10px) scale(1.04);
}

/* Sombra elíptica y suave del balón en el césped */
.penales-ball-shadow {
  position: absolute;
  bottom: 21%;
  left: 50%;
  width: 46px;
  height: 14px;
  margin-left: -23px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.35) 55%, transparent 75%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 4;
  transition: opacity 0.35s ease, transform 0.4s ease;
}

.penales-ball-shadow.is-airborne {
  opacity: 0 !important;
  transform: scale(0.2) !important;
}

/* Ocultar completamente el marco artificial para evitar el doble marco (el fondo vista_cancha_portero ya incluye postes y red) */
.penales-keeper-goal-frame {
  display: none !important;
}

.goal-crossbar {
  position: absolute;
  top: 0;
  left: 2%;
  right: 2%;
  height: 16px;
  background: linear-gradient(180deg, #FFFFFF 0%, #E2E8F0 50%, #94A3B8 100%);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.7), inset 0 2px 2px rgba(255, 255, 255, 0.9);
}

.goal-post {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 16px;
  background: linear-gradient(90deg, #FFFFFF 0%, #E2E8F0 50%, #94A3B8 100%);
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.65), inset 2px 0 2px rgba(255, 255, 255, 0.9);
}

.goal-post--left {
  left: 2%;
}

.goal-post--right {
  right: 2%;
}

.goal-net-mesh {
  position: absolute;
  top: 14px;
  left: calc(2% + 14px);
  right: calc(2% + 14px);
  bottom: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.16) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  opacity: 0.65;
  mask-image: radial-gradient(ellipse at 50% 60%, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.25) 90%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 60%, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.25) 90%);
}

/* Balón en perspectiva de alto contraste y tamaño nítido */
.penales-photo-ball-container {
  position: absolute;
  bottom: 23%;
  left: 50%;
  width: 58px;
  height: 58px;
  margin-left: -29px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.46s cubic-bezier(0.2, 0.7, 0.35, 1);
}

.penales-photo-ball-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.85));
}

/* Destinos del balón según zona (hacia el arco en Vista Pateador) */
.penales-photo-ball-container.fly-tl {
  bottom: 58% !important;
  left: 25% !important;
  transform: scale(0.58) rotate(-460deg) !important;
}

.penales-photo-ball-container.fly-tr {
  bottom: 58% !important;
  left: 75% !important;
  transform: scale(0.58) rotate(460deg) !important;
}

.penales-photo-ball-container.fly-bl {
  bottom: 39% !important;
  left: 25% !important;
  transform: scale(0.65) rotate(-320deg) !important;
}

.penales-photo-ball-container.fly-br {
  bottom: 39% !important;
  left: 75% !important;
  transform: scale(0.65) rotate(320deg) !important;
}

.penales-photo-ball-container.fly-out {
  bottom: 78% !important;
  left: 50% !important;
  transform: scale(0.38) rotate(520deg) !important;
}

/* Destinos del balón en Vista Portero (vuela y crece hacia la pantalla) */
.penales-photo-ball-container.fly-towards-tl {
  bottom: 66% !important;
  left: 18% !important;
  transform: scale(2.45) rotate(-420deg) !important;
}

.penales-photo-ball-container.fly-towards-tr {
  bottom: 66% !important;
  left: 82% !important;
  transform: scale(2.45) rotate(420deg) !important;
}

.penales-photo-ball-container.fly-towards-bl {
  bottom: 16% !important;
  left: 20% !important;
  transform: scale(2.55) rotate(-300deg) !important;
}

.penales-photo-ball-container.fly-towards-br {
  bottom: 16% !important;
  left: 80% !important;
  transform: scale(2.55) rotate(300deg) !important;
}

/* Overlay modal y splash de resultados (GOL, ATAJADA, POSTE) */
.penales-photo-splash {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 20, 51, 0.82);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.penales-photo-splash.is-active {
  opacity: 1;
  pointer-events: auto;
}

.penales-photo-splash-card {
  position: relative;
  max-width: min(88%, 560px);
  background: #0A1433;
  border: 3.5px solid var(--cc-sky, #039BE5);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 0 45px rgba(3, 155, 229, 0.6), 0 16px 36px rgba(0, 0, 0, 0.85);
  transform: scale(0.85);
  transition: transform 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.penales-photo-splash.is-active .penales-photo-splash-card {
  transform: scale(1);
}

.penales-photo-splash-card.splash-goal,
.penales-photo-splash-card.splash-post,
.penales-photo-splash-card.splash-out,
.penales-photo-splash-card.splash-save,
.penales-photo-splash-card.splash-turn-change {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.penales-photo-splash-badge {
  display: none !important;
}

.splash-goal .penales-photo-splash-img,
.splash-post .penales-photo-splash-img,
.splash-out .penales-photo-splash-img,
.splash-save .penales-photo-splash-img,
.splash-turn-change .penales-photo-splash-img {
  width: auto !important;
  max-width: min(92vw, 480px) !important;
  height: auto !important;
  max-height: min(72vh, 440px) !important;
  object-fit: contain !important;
  border-radius: 20px;
  filter: drop-shadow(0 14px 40px rgba(0, 0, 0, 0.75));
  margin: 0 auto;
}

.splash-post .penales-photo-splash-badge {
  color: #F28C28;
  text-shadow: 0 0 16px rgba(242, 140, 40, 0.8);
}

/* Modal de Fin de Partido tipo Béisbol en Fútbol */
.baseball-endmatch-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(16, 34, 85, 0.78) 0%, rgba(4, 12, 34, 0.92) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1rem;
  overflow-y: auto;
  z-index: 99999;
}

.baseball-endmatch-card {
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  overflow-y: auto;
  background: #FFFFFF;
  border-radius: 28px;
  border: 3px solid #10B981;
  box-shadow: 0 25px 60px rgba(0, 40, 85, 0.35), 0 0 40px rgba(16, 185, 129, 0.25);
  padding: 1.6rem 1.8rem 1.8rem;
  text-align: center;
  box-sizing: border-box;
}

.baseball-endmatch-card--win {
  border-color: #F59E0B;
  box-shadow: 0 25px 60px rgba(0, 40, 85, 0.4), 0 0 45px rgba(245, 158, 11, 0.35);
}

.baseball-endmatch-card--loss {
  border-color: #3B82F6;
  box-shadow: 0 25px 60px rgba(0, 40, 85, 0.35), 0 0 40px rgba(59, 130, 246, 0.25);
}

.baseball-youwin-hero-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -0.5rem;
  margin-bottom: 0.65rem;
}

.baseball-youwin-hero-img {
  max-width: 290px;
  max-height: 210px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.25));
}

.baseball-endmatch-marquee {
  display: inline-block;
  padding: 0.65rem 1.6rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
  border: 2px solid #10B981;
  color: #047857;
  font-family: var(--cc-font-sans, system-ui, -apple-system, sans-serif);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.2);
}

.baseball-endmatch-marquee--loss {
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  border-color: #3B82F6;
  color: #1D4ED8;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.2);
}

.baseball-endmatch-rolebar {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.15rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 0.75rem;
}

.baseball-role-col {
  text-align: center;
  flex: 1;
}

.baseball-role-label {
  font-size: 0.7rem;
  font-weight: 800;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.baseball-role-name {
  font-size: 1.15rem;
  font-weight: 900;
  margin-top: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.baseball-role-divider {
  width: 1.5px;
  height: 38px;
  background: #CBD5E1;
}

.baseball-endmatch-scoreboard {
  background: radial-gradient(circle at center, #0F204C 0%, #060D20 100%);
  border: 2px solid #CBD5E1;
  border-radius: 20px;
  padding: 1.1rem 1.4rem;
  margin-bottom: 1.15rem;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4);
}

.baseball-board-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.baseball-board-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.baseball-board-name {
  font-size: 0.82rem;
  font-weight: 800;
  color: #CBD5E1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  max-width: 130px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.baseball-board-vs {
  font-size: 1.15rem;
  font-weight: 900;
  color: #64748B;
  letter-spacing: 0.1em;
}

.baseball-board-runs {
  font-size: 2.6rem;
  line-height: 1;
  font-weight: 900;
  color: #002855;
  margin-top: 0.15rem;
}

.baseball-endmatch-ticket {
  background: #F8FAFC;
  border: 1.5px dashed #CBD5E1;
  border-radius: 16px;
  padding: 0.85rem 1.1rem;
  margin-bottom: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}

.baseball-ticket-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #475569;
  font-weight: 600;
}

.baseball-ticket-row--highlight {
  border-top: 1.5px solid #E2E8F0;
  padding-top: 0.5rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: #002855;
}

.baseball-ticket-pts {
  color: #047857;
  font-weight: 900;
}

.baseball-ticket-pts--blue {
  color: #1D4ED8;
}

.baseball-remaining-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: #F1F5F9;
  border: 1.5px solid #CBD5E1;
  border-radius: 9999px;
  padding: 0.55rem 1.1rem;
  font-size: 0.84rem;
  color: #334155;
  font-weight: 700;
  margin-bottom: 1.35rem;
}



/* ==============================================================================
   RESPONSIVIDAD TOTAL (MOBILE & TABLET: 768px y 480px)
   ============================================================================== */
@media (max-width: 768px) {
  .penales-game-card {
    gap: 0.5rem;
    padding: 0 0.25rem;
  }

  .penales-3d-container {
    height: 48vh;
    min-height: 280px;
    border-radius: 16px;
    border-width: 2.5px;
  }

  /* Marcador TV Broadcast en Móvil */
  .penales-scoreboard {
    width: 96%;
    padding: 6px 12px;
    gap: 8px;
    border-radius: 24px;
    top: 6px;
  }

  .penales-team-box {
    gap: 6px;
  }

  .penales-team-shield-mini {
    width: 32px;
    height: 36px;
  }

  .penales-team-name {
    font-size: 0.68rem;
    max-width: 90px;
  }

  .penales-score-pill {
    padding: 4px 10px;
    font-size: 1.1rem;
    min-width: 48px;
  }

  .penales-dots-row {
    gap: 3px;
  }

  .penales-dot {
    width: 8px;
    height: 8px;
  }

  /* Control Deck apilado ordenadamente en pantallas móviles */
  .penales-control-deck,
  .penales-powerbar-panel {
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.75rem 0.9rem;
    border-radius: 16px;
  }

  .penales-deck-left,
  .penales-deck-center,
  .penales-deck-right {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

  .penales-deck-left {
    text-align: center;
  }

  .penales-action-btn {
    width: 100%;
  }

  .penales-match-footer {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem 0.5rem;
    padding: 0.45rem 0.65rem;
  }

  .penales-forfeit-btn {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
    margin-top: 0.15rem;
  }

  /* Modal fin de partido en móvil */
  .baseball-endmatch-card {
    max-width: 94vw !important;
    padding: 1.2rem 1rem !important;
    max-height: 92vh !important;
    overflow-y: auto !important;
  }

  .baseball-endmatch-hero {
    max-height: 140px !important;
  }

  .baseball-endmatch-marquee {
    font-size: 1.05rem !important;
    padding: 0.5rem 1rem !important;
  }

  .baseball-board-name {
    max-width: 85px !important;
    font-size: 0.7rem !important;
  }

  .baseball-board-runs {
    font-size: 1.9rem !important;
  }
}

@media (max-width: 480px) {
  .penales-scoreboard {
    padding: 5px 8px;
    gap: 4px;
  }

  .penales-team-name {
    font-size: 0.56rem;
    max-width: 64px;
  }

  .penales-3d-container {
    height: clamp(240px, 42vh, 320px);
    min-height: 240px;
  }

  .penales-zones-overlay {
    top: 23%;
    width: 92%;
    height: 36%;
  }

  .penales-zone-btn {
    width: 76px;
    height: 38px;
  }

  .penales-match-footer {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .penales-stat-chip {
    justify-content: space-between;
  }

  .penales-sound-toggle-btn {
    top: 6px;
    right: 6px;
    padding: 0.25rem 0.55rem;
    font-size: 0.62rem;
  }
}

