:root {
  --principal: #f4a261;       /* naranja claro */
  --principal-suave: #fde8d7; /* fondo suave */
  --oscuro: #1f2933;          /* texto */
  --gris: #f6f6f6;
  --blanco: #ffffff;
  --sombra: 0 4px 12px rgba(0,0,0,0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, sans-serif;
  color: var(--oscuro);

  /* 🔥 FONDO GENERAL */
  background-image: url("../img/fondo-app.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* ===== HEADER + NAV WRAPPER ===== */
.header-wrapper {
  position: relative; /* 🔑 scroll normal */
}

/* =========================
   CABECERA CON IMAGEN PNG
========================= */

.app-header {
  position: relative;
  height: 190px;
  background-image: url("../img/header.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-color: var(--principal);
}

@media (max-width: 768px) {
  .app-header {
    height: 120px;
  }
}

/* =========================
   NAV GLASS iOS STYLE
========================= */

.nav-principal {
  position: relative;

  /* 🔑 SOLO margen negativo, NADA de top */
  margin: -34px auto 16px;

  width: calc(100% - 32px);
  max-width: 900px;

  background: rgba(255, 170, 90, 0.35);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);

  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 28px;

  padding: 14px 10px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  box-shadow:
    0 20px 20px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.35);

  z-index: 10;
}

/* BOTONES TRANSPARENTES */
.nav-principal button {
  background: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  border: none;
  padding: 6px 4px;          /* 🔑 reduce ancho */

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 3px;                  /* 🔑 menos separación */
  min-width: 44px;           /* 🔑 tamaño táctil iOS */

  font-size: 15px;           /* 🔑 icono más pequeño */
  color: #1f2933;            /* 🔑 TEXTO NEGRO */

  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-principal button span {
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
}

/* Interacción tipo iOS */
.nav-principal button:active {
  transform: scale(0.88);
  opacity: 1;
}

/* MÓVIL */
@media (max-width: 480px) {
  .nav-principal {
    margin-top: -30px;
    padding: 10px 8px;
  }

  .nav-principal button {
    font-size: 14px;   /* icono */
    padding: 4px 2px;
  }

  .nav-principal button span {
    font-size: 9px;
  }
}

.nav-principal button {
  opacity: 0.55;
  filter: grayscale(20%);
}

.nav-principal button.activo {
  opacity: 1;
  color: var(--principal);
  filter: none;
}

/* Emoji (primer nodo del botón) */
.nav-principal button.activo {
  text-shadow:
    0 0 6px rgba(244,162,97,0.9),
    0 0 14px rgba(244,162,97,0.6);
  transform: scale(1.05);
}

/* Texto activo */
.nav-principal button.activo span {
  color: #1f2933;
  font-weight: 700;
}

.nav-principal button.activo::after {
  content: "";
  position: absolute;
  bottom: -6px;
  width: 26px;
  height: 4px;
  border-radius: 999px;
  background: rgba(244,162,97,0.7);
  box-shadow: 0 0 12px rgba(244,162,97,0.9);
}

/* CONTENIDO */
main {
  background: transparent;
  padding-top: 0px;
  padding-left: 15px;
  padding-right: 15px;
}

/* BOTONES GENERALES */
button {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  border: none;
  border-radius: 10px;
  background: var(--blanco);
  box-shadow: var(--sombra);
  margin-bottom: 10px;
}

button:active {
  transform: scale(0.98);
}

/* TARJETAS */
.card {
  background: rgba(255,255,255,0.95);
  padding: 15px;
  border-radius: 12px;
  box-shadow: var(--sombra);
  margin-bottom: 12px;
}

.bloque-titulo {
  margin-top: 24px;
  margin-bottom: 12px;
}

.partido-fecha {
  margin-bottom: 6px;
  font-size: 15px;
  text-transform: capitalize;
  opacity: 0.85;
}

.resultado-final {
  margin-top: 6px;
  font-size: 18px;
}

/* PARTIDOS */
.partido-nombre {
  font-weight: bold;
  margin-bottom: 5px;
}

.partido-marcador {
  font-size: 18px;
  text-align: right;
}

/* BOTONES MARCADOR */
.boton-local {
  background: #ffe5e5;
}

.boton-visitante {
  background: #e5f0ff;
}

.volver {
  background: var(--principal);
  color: white;
}

/* CLASIFICACION */
.tabla {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.tabla th, .tabla td {
  border: 1px solid #ccc;
  padding: 6px;
  text-align: center;
}

.tabla th {
  background: var(--principal);
  color: white;
}

/* =========================
   SPLASH SCREEN (CORRECTO)
========================= */

#splash {
  position: fixed;
  inset: 0;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Logo */
#splash img {
  width: 400px;
  max-width: 70%;
  height: auto;
  animation: splashZoom 0.8s ease-out;
}

@keyframes splashZoom {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Ocultar contenido mientras está el splash */
body.splash-activo main {
  display: none;
}

body.splash-activo header,
body.splash-activo #admin-fab,
body.splash-activo .bottom-nav {
  display: none !important;
}

/* =========================
   BOTONES GENERALES (MEJORADOS)
========================= */
button {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  border: none;
  border-radius: 14px;
  background: var(--blanco);
  box-shadow: var(--sombra);
  margin-bottom: 10px;
}

button:active {
  transform: scale(0.97);
}

/* =========================
   PARTIDOS – VISTA PRO
========================= */
.partido-card {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  padding: 16px;
  margin-bottom: 14px;
}

/* Equipos + marcador */

.equipo {
  width: 35%;
  font-weight: 600;
  font-size: 15px;
  text-align: center;
}

/* Botón abrir */
.abrir-btn {
  background: var(--principal);
  color: white;
  font-weight: 600;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 4px 10px rgba(244,162,97,0.5);
}

.abrir-btn:active {
  transform: scale(0.96);
}

/* =========================
   TABS DE CATEGORÍAS
========================= */
.tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin-bottom: 15px;
}

.tab {
  padding: 10px 18px;
  border-radius: 20px;
  border: none;
  background: #eaeaea;
  font-weight: 600;
  white-space: nowrap;
}

.tab.active {
  background: var(--principal);
  color: white;
}

/* SUBFILTROS */
.subfiltros {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.subfiltros select {
  flex: 1;
  padding: 10px;
  border-radius: 12px;
  border: none;
  box-shadow: var(--sombra);
}

/* BOTÓN ADMIN FLOTANTE */
#admin-fab {
  position: fixed;
  bottom: 60px;   /* 🔽 baja el botón */
  right: 18px;

  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: var(--principal);
  color: white;
  font-size: 22px;
  box-shadow: var(--sombra);
  z-index: 1200;
}

#admin-fab.admin-activo {
  background: #2ecc71;
}

/* ===== MARCADOR PRO DEFINITIVO ===== */
.marcador-pro {
  overflow: visible;
  padding-top: 20px;
}

.equipo-marcador {
  overflow: visible;
}

.escudo-marcador {
  max-width: 70px;
  max-height: 70px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .marcador-pro {
    padding-top: 32px;
  }

  .escudo-marcador {
    max-width: 60px;
    max-height: 60px;
  }
}

.marcador-pro {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  margin: 30px 0;
}

/* Bloque equipo */
.equipo-marcador {
  width: 140px;
  padding: 16px 10px;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: white;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

/* Local / Visitante */
.equipo-marcador.local {
  background: linear-gradient(135deg, #ffb26b, #ff8c3a);
}

.equipo-marcador.visitante {
  background: linear-gradient(135deg, #6bbcff, #3a7dff);
}

/* Escudo grande */
.escudo-marcador {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.4));
}

/* Nombre equipo */
.nombre-equipo {
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
  opacity: 0.95;
}

/* GOLES (protagonistas) */
.goles {
  font-size: 48px;
  font-weight: 800;
  color: #9ca3af;        /* gris claro */
  line-height: 1;
}

/* si quieres distinguir un poco local y visitante */
.equipo-marcador.local .goles {
  color: #94a3b8;
}

.equipo-marcador.visitante .goles {
  color: #9ca3af;
}

/* Animación al cambiar */
.goles.animar {
  transform: scale(1.25);
  color: #fffbe6;
}

/* Separador */
.separador {
  font-size: 42px;
  font-weight: 800;
  color: #555;
}

/* =========================
   BOTONES + / -
========================= */

.marcador-botones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

.btn-local {
  background: #fff3e0;
  color: #e65100;
  font-weight: 700;
}

.btn-visitante {
  background: #e3f2fd;
  color: #0d47a1;
  font-weight: 700;
}

.btn-local:active,
.btn-visitante:active {
  transform: scale(0.96);
}

.marcador-pro {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin: 25px 0;
}

.equipo-marcador {
  width: 90px;
  height: 90px;
  background: #111;
  color: white;
  font-size: 42px;
  font-weight: bold;
  border-radius: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.equipo-marcador.local {
  background: linear-gradient(135deg, #ffb26b, #ff8c3a);
}

.equipo-marcador.visitante {
  background: linear-gradient(135deg, #6bbcff, #3a7dff);
}

.separador {
  font-size: 42px;
  font-weight: bold;
  color: #555;
}

/* =========================
   ANIMACIONES DE TRANSICIÓN
========================= */

.fade-enter {
  animation: fadeEnter 0.25s ease-out;
}

.slide-enter {
  animation: slideEnter 0.3s ease-out;
}

@keyframes fadeEnter {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideEnter {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== PATROCINADORES GRID ===== */
.patrocinadores-scroll {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 14px;

  padding: 12px;
  margin-bottom: 24px;

  overflow: hidden;   /* 🔥 CLAVE */
}

.patrocinador-card {
  background: white;
  border-radius: 18px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  padding: 10px;
  text-align: center;
  position: relative;
  overflow: visible;
  width: 100%;

  aspect-ratio: 1 / 1;      /* 🔑 CUADRADO */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.patrocinador-card img {
  max-width: 85%;
  max-height: 65%;
  object-fit: contain;
  border-radius: 12px;
}

.patrocinador-nombre {
  margin-top: 6px;
  font-weight: 600;
  font-size: 13px;
}

.patrocinador-card button {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ff5c5c;
  color: white;
  font-size: 14px;
  padding: 0;
}

.patrocinador-card img {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.patrocinador-card img:active {
  transform: scale(0.95);
}

.btn-borrar-patrocinador {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #ff4d4d;
  color: white;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  font-size: 14px;
}

@media (min-width: 600px) {
  .patrocinadores-scroll {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =========================
   CLASIFICACIÓN PRO
========================= */

.clasificacion-pro {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.clasificacion-pro th {
  background: #f59e0b; /* naranja */
  color: white;
  font-size: 13px;
  padding: 10px 6px;
}

.clasificacion-pro td {
  padding: 8px 6px;
  font-size: 14px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.clasificacion-pro .equipo {
  text-align: left;
  font-weight: 600;
}

.clasificacion-pro .puesto {
  font-weight: bold;
  width: 40px;
}

.clasificacion-pro .puntos {
  font-weight: bold;
  color: #d97706;
}

/* Líder */
.clasificacion-pro tr.lider {
  background: #fff7ed;
}

/* Hover */
.clasificacion-pro tr:hover {
  background: #fef3c7;
}

.club-card {
  display: flex;
  align-items: center;
  gap: 12px;
}

.club-escudo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.club-escudo-grande {
  width: 120px;
  display: block;
  margin: 15px auto;
}

.club-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: #f4f4f4;
  cursor: pointer;
}

.club-card:hover {
  background: #ececec;
}

.club-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.club-escudo {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.club-acciones {
  display: flex;
  gap: 10px;
}

.club-acciones button {
  padding: 6px 10px;
  border-radius: 10px;
  border: none;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
}

.club-acciones button:hover {
  background: #eaeaea;
}

.partido-equipos {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.equipo-partido {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.escudo-partido {
  width: 32px;
  height: 32px;
  margin-bottom: 4px;
}

.tabla-escudo {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  margin-right: 6px;
}

/* ===== EQUIPOS EN CATEGORÍAS ===== */
.equipo-card {
  display: flex;
  align-items: center;
  gap: 12px;
}

.escudo-equipo-mini {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
}

.equipo-info {
  display: flex;
  flex-direction: column;
}

.equipo-grupo {
  font-size: 0.85em;
  opacity: 0.7;
}

/* ===== CLASIFICACIÓN ===== */
.equipo-tabla {
  display: flex;
  align-items: center;
  gap: 8px;
}

.escudo-tabla {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

#contenido {
  display: block;

  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  border-radius: 26px;
  padding: 16px;
  margin: 12px auto;
}

.badge-estado {
  display: inline-block;
  margin: 6px 0 8px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  width: fit-content;
}

/* 🔴 Pendiente */
.badge-estado.pendiente {
  background: #ffe5e5;
  color: #c62828;
}

/* 🟢 En juego */
.badge-estado.en_juego {
  background: #e6f4ea;
  color: #1b7f3a;
}

/* 🏁 Finalizado */
.badge-estado.finalizado {
  background: #f2f2f2;
  color: #555;
}

/* ================== TABLA CLASIFICACIÓN ================== */

/* ================== CONTENEDOR ================== */
.tabla-wrapper {
  width: 100%;
  overflow-x: auto;          /* 🔥 evita que la app se ensanche */
  -webkit-overflow-scrolling: touch;
}

/* ================== TABLA ================== */
.tabla {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;       /* 🔥 clave para que NO rompa el layout */
  font-size: 13px;
}

/* Celdas */
.tabla th,
.tabla td {
  padding: 6px 4px;
  text-align: center;
  border-bottom: 1px solid #ddd;
  white-space: nowrap;
}

/* Cabecera */
.tabla th {
  background: #f6a21a;
  color: #fff;
  font-weight: 600;
}

/* ================== EQUIPO ================== */
.equipo-tabla {
  display: flex;
  align-items: center;
  gap: 6px;
  text-align: left;
}

.escudo-tabla {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* ================== POSICIÓN ================== */
.posicion {
  font-weight: normal; /* ⛔ nada en negrita */
}

/* Medallas */
.medalla-oro,
.medalla-plata,
.medalla-bronce {
  font-weight: 700;
}

/* ================== PUNTOS ================== */
.col-puntos {
  font-weight: 700;    /* ✅ SOLO puntos en negrita */
}

/* ================== MÓVIL ================== */
@media (max-width: 480px) {

  .tabla {
    font-size: 12px;
  }

  .tabla th,
  .tabla td {
    padding: 5px 3px;
  }
}

/* === TABLA CLASIFICACIÓN === */

.tabla-wrapper {
  width: 100%;
  overflow-x: auto;
}

.tabla.clasificacion-pro {
  width: 100%;
  min-width: 720px; /* NO agranda la app */
  border-collapse: collapse;
}

/* celda equipo */
.equipo-tabla {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 200px;
}

.nombre-equipo-tabla {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

/* escudos */
.escudo-tabla {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* ===== TABLA CLASIFICACIÓN (FIX NOMBRES) ===== */

.tabla.clasificacion-pro {
  table-layout: fixed;   /* 🔑 CLAVE */
  width: 100%;
  min-width: 720px;
}

/* columna posición */
.tabla.clasificacion-pro th.col-pos,
.tabla.clasificacion-pro td.posicion {
  width: 42px;
  text-align: center;
}

/* columna equipo */
.tabla.clasificacion-pro th.col-equipo,
.tabla.clasificacion-pro td:nth-child(2) {
  width: 200px;          /* 🔑 ancho fijo */
  max-width: 200px;
}

/* contenido equipo */
.equipo-tabla {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  overflow: hidden;
}

/* nombre del equipo */
.nombre-equipo-tabla {
  display: block;
  max-width: 150px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* escudo */
.escudo-tabla {
  width: 22px;
  height: 22px;
  flex-shrink: 0; /* 🔑 evita que el escudo se aplaste */
}

.partido-categoria {
  display: inline-block;
  font-size: 0.75rem;
  background: #f2f2f2;
  padding: 2px 8px;
  border-radius: 12px;
  margin-bottom: 6px;
}

.info-partido-detalle {
  text-align: center;
  margin: 10px 0 20px;
}

.detalle-fecha-hora {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 4px;
}

.detalle-categoria {
  display: inline-block;
  font-size: 0.8rem;
  background: #f4a261;
  color: white;
  padding: 4px 10px;
  border-radius: 14px;
  margin-bottom: 6px;
}

.detalle-lugar {
  font-size: 0.9rem;
  color: #666;
}

/* Estado inicial del splash */
#splash {
  position: fixed;
  inset: 0;
  background: #f5a25d; /* tu color */
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: 
    opacity 0.6s ease,
    transform 0.6s ease;
}

/* Estado mientras carga */
body.splash-activo #splash {
  opacity: 1;
  transform: scale(1);
}

/* Estado al desaparecer */
#splash.splash-hide {
  opacity: 0;
  transform: scale(1.05);
  pointer-events: none;
}

#splash img {
  transition: transform 0.6s ease;
}

#splash.splash-hide img {
  transform: scale(0.9);
}

/* =========================
   MENÚ – ICONOS + TEXTO PRO
========================= */



/* =========================
   ESTADO ACTIVO (SECCIÓN)
========================= */


/* =========================
   EFECTO SUAVE DE ENTRADA
========================= */


@keyframes menuFadeUp {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   BOTÓN REDES SOCIALES (PNG)
========================= */

.social-fab {
  position: fixed;
  right: 18px;
  bottom: 130px; /* sigue encima del admin */
  z-index: 1800;

  display: flex;
  flex-direction: column-reverse; /* 🔑 ESTO LO ARREGLA */
  align-items: flex-end;
}

/* Botón principal */
.social-main {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: none;
  background: white;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  padding: 10px;
  cursor: pointer;
}

.social-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.social-main:active {
  transform: scale(0.9);
}

/* Menú */
.social-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;

  margin-top: 10px;              /* 🔼 ahora hacia arriba */
  opacity: 0;
  transform: translateY(-10px);  /* 🔼 sube */
  pointer-events: none;
  transition: all 0.25s ease;
}

.social-fab.open .social-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Botones de red */
.social-btn {
  display: flex;
  align-items: center;
  gap: 10px;

  background: white;
  padding: 8px 12px;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);

  text-decoration: none;
  color: #333;
  font-size: 14px;
  font-weight: 600;
}

.social-btn img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.social-btn span {
  white-space: nowrap;
}

.social-btn:active {
  transform: scale(0.95);
}

.historia {
  padding: 16px 0;
  margin-top: 20px;   /* 🔥 separación real */
  clear: both;
}

/* historia */
.historia-card {
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
  font-size: 15px;
  line-height: 1.6;
  color: #444;
}

/* ===== GALERÍA 2026 – BADGE ENLACE ===== */

.galeria2026-scroll {
  padding: 12px 0;
}

.galeria-badge {
  display: flex;
  align-items: center;
  gap: 14px;

  background: linear-gradient(135deg, #f4a261, #f59e0b);
  color: white;
  text-decoration: none;

  padding: 16px 18px;
  border-radius: 18px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.18);

  max-width: 320px;
}

.galeria-badge:active {
  transform: scale(0.96);
}

.badge-icon {
  font-size: 34px;
}

.badge-texto {
  display: flex;
  flex-direction: column;
}

.badge-texto span {
  font-size: 13px;
  opacity: 0.9;
}

.badge-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* Efecto toque icono badge galería */
.galeria-badge:active .badge-icon img {
  transform: scale(0.9);
  transition: transform 0.15s ease;
}

/* ===== PABELLONES ===== */

.pabellones-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.pabellon-card {
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.18);

  background-size: cover;        /* 🔑 */
  background-position: center;  /* 🔑 */
  background-repeat: no-repeat; /* 🔑 */

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  overflow: hidden;             /* 🔑 */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pabellon-overlay {
  width: 100%;
  height: 100%;

  background: linear-gradient(
    rgba(0,0,0,0.25),
    rgba(0,0,0,0.45)
  );

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
  color: white;
}

.pabellon-card:active {
  transform: scale(0.96);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.pabellon-nombre {
  font-size: 18px;
}

.pabellon-contador {
  font-size: 13px;
  opacity: 0.8;
  margin-top: 6px;
}

.volver-pabellones {
  margin-top: 30px;
  background: linear-gradient(135deg, #f4a261, #f59e0b);
  color: white;
  font-weight: 600;
  border-radius: 18px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}

.pabellon-nombre,
.pabellon-contador {
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.app-header,
.nav-principal {
  background-color: transparent;
}

/* =========================
   BADGES PABELLÓN (GLASS)
========================= */

.pabellon-badges {
  display: flex;
  gap: 10px;
  margin: 10px 0 18px;
  flex-wrap: wrap;
}

/* Base badge glass */
.badge-glass {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 6px 14px;
  border-radius: 999px;

  font-size: 13px;
  font-weight: 600;
  text-decoration: none;

  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);

  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);

  color: #fff;
}

/* 🗺️ Ubicación (verde) */
.badge-ubicacion {
  background: rgba(46, 204, 113, 0.55);
}

/* 🔴 Directo (rojo) */
.badge-directo {
  background: rgba(231, 76, 60, 0.75);
  color: white;
  font-weight: 700;
  animation: parpadeo 1.4s infinite;
}

@keyframes parpadeo {
  0%   { opacity: 1; }
  50%  { opacity: 0.6; }
  100% { opacity: 1; }
}

/* efecto toque */
.badge-glass:active {
  transform: scale(0.95);
}

/* ===== FIX DEFINITIVO ALTURA PARTIDO ===== */

.marcador-pro {
  margin-bottom: 32px;   /* separa del botón Volver */
}

.equipo-marcador {
  min-height: 160px;     /* evita que los goles se salgan */
  justify-content: flex-start;
}

.goles {
  margin-top: 10px;
}

/* =========================
   MARCADOR CENTRADO (LISTA PARTIDOS)
========================= */

/* Contenedor central */
.partido-equipos .vs {
  min-width: 64px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  color: #999;
}

/* VS normal (pendiente / en juego) */
.partido-equipos .vs {
  opacity: 0.6;
  letter-spacing: 1px;
}

/* Resultado cuando está finalizado */
.partido-equipos .resultado-centro {
  font-size: 20px;
  font-weight: 800;
  color: #111;
  opacity: 1;
  letter-spacing: 0;
}

/* Un poco de aire visual */
.partido-equipos {
  margin: 10px 0;
}

/* =========================
   PARTIDOS AGRUPADOS POR FECHA
========================= */

.fecha-bloque {
  margin-bottom: 18px;
}

/* Cabecera de fecha (clicable) */
.fecha-header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 14px 16px;
  border-radius: 18px;

  background: linear-gradient(135deg, #f4a261, #f59e0b);
  color: white;

  font-weight: 700;
  font-size: 15px;

  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
  cursor: pointer;
}

.fecha-header:active {
  transform: scale(0.97);
}

/* Flecha */
.fecha-header .flecha {
  transition: transform 0.25s ease;
}

/* Abierta */
.fecha-bloque.abierta .fecha-header .flecha {
  transform: rotate(180deg);
}

/* Contenedor de partidos */
.fecha-partidos {
  margin-top: 10px;
  display: none;
}

/* Mostrar cuando está abierta */
.fecha-bloque.abierta .fecha-partidos {
  display: block;
  animation: fadeEnter 0.25s ease;
}

/* =========================
   SPLASH – BARRA DE CARGA GLASS
========================= */

.splash-content {
  position: absolute;
  bottom: 30px;          /* 🔑 distancia desde abajo (ajústala a gusto) */
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.splash-texto {
  font-size: 18px;
  font-weight: 600;
  color: white;
  opacity: 0.9;
}

/* contenedor barra */
.splash-barra {
  width: 260px;
  height: 18px;
  border-radius: 999px;

  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);

  border: 1px solid rgba(255,255,255,0.35);
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

/* progreso */
#splash-progreso {
  height: 100%;
  width: 0%;

  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.95),
    rgba(255,255,255,0.65)
  );

  border-radius: inherit;
  transition: width 0.4s ease;
}

/* ===== CATEGORÍAS DENTRO DEL DÍA ===== */

.bloque-categoria-dia {
  margin-top: 16px;
}

.titulo-categoria-dia {
  font-size: 14px;
  font-weight: 700;
  color: #e07a1f;
  margin: 10px 0 8px;
  padding-left: 6px;
  border-left: 4px solid #f4a261;
}

.partido-cuadro:hover {
  transform: scale(1.03);
}

.partido-cuadro .resultado {
  font-weight: bold;
  margin: 6px 0;
}

.badge-fase {
  margin: 6px auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f4a261;
  color: #fff;
  font-weight: 600;
  font-size: 12px;
  width: fit-content;
}

.match .team {
  font-size: 12px;
}

.match .score {
  font-size: 16px;
}

.match .vs {
  font-size: 12px;
}

.match:hover {
  transform: scale(1.02);
}

.match-final {
  border: 2px solid #f4a261;
  background: #fff7ec;
}

.match.empty {
  opacity: 0.4;
  cursor: default;
}

.team {
  font-weight: 600;
}

.vs, .score {
  margin: 6px 0;
  font-weight: bold;
}

.bloque-categoria-dia {
  margin-bottom: 12px;
}

.categoria-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  padding: 10px 14px;
  border-left: 4px solid #f59e0b;
  background: #fff7ed;
  border-radius: 10px;
  cursor: pointer;
}

.categoria-header:active {
  transform: scale(0.98);
}

.categoria-partidos {
  margin-top: 8px;
}

.categoria-header .flecha {
  transition: transform 0.25s ease;
}

/* opcional: rotar flecha cuando esté abierto */
.categoria-partidos:not(.oculto) + .flecha {
  transform: rotate(180deg);
}

/* =========================
   CATEGORÍAS – ANIMACIÓN iOS
========================= */

.categoria-partidos {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    max-height 0.45s cubic-bezier(0.4, 0.0, 0.2, 1),
    opacity 0.3s ease,
    transform 0.35s ease;
}

/* Estado abierto */
.categoria-partidos.abierto {
  max-height: 2000px; /* suficiente para muchos partidos */
  opacity: 1;
  transform: translateY(0);
}

/* Header */
.categoria-header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  font-weight: 600;
  padding: 10px 14px;

  border-left: 4px solid #f59e0b;
  background: #fff7ed;
  border-radius: 12px;

  cursor: pointer;
  transition: background 0.25s ease, transform 0.15s ease;
}

.categoria-header:active {
  transform: scale(0.97);
}

/* Flecha */
.categoria-header .flecha {
  transition: transform 0.35s cubic-bezier(0.4, 0.0, 0.2, 1);
}

/* Flecha abierta */
.categoria-header.abierto .flecha {
  transform: rotate(180deg);
}

/* =========================
   FOOTER SCROLL iOS STYLE
========================= */

.app-footer {
  width: 100%;
  padding: 20px 0 24px;

  display: flex;
  flex-direction: column;   /* 🔑 CLAVE */
  align-items: center;
  gap: 6px;

  text-align: center;
  pointer-events: auto;     /* 🔑 permite clicar el mail */
}

.footer-email {
  font-size: 13px;
  font-weight: 500;
}

.footer-email a {
  color: #ff8c1a;
  text-decoration: none;
}

.footer-email a:active {
  opacity: 0.7;
}

.footer-copy {
  font-size: 12px;
  color: rgba(31, 41, 51, 0.45);
  letter-spacing: 0.3px;
}

/* Texto */
.footer-texto {
  font-size: 12px;
  font-weight: 500;
  color: rgba(31, 41, 51, 0.45);
  letter-spacing: 0.3px;

  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

/* Cuando se llega al final */
.app-footer.visible .footer-texto {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   PARTIDO CARD iOS STYLE
========================= */

.partido-card.ios {
  background: rgba(255,255,255,0.96);
  border-radius: 22px;
  padding: 18px 16px;
  margin-bottom: 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

/* Fecha + fase */
.partido-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.partido-fecha {
  font-size: 14px;
  font-weight: 600;
  opacity: 0.75;
}

/* =========================
   EQUIPOS + MARCADOR
========================= */

.partido-equipos {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  margin: 14px 0 10px;
}

.equipo-partido {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.escudo-partido {
  width: 42px;
  height: 42px;
  object-fit: contain;
  margin-bottom: 6px;
}

.nombre-equipo {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

/* MARCADOR CENTRADO */
.resultado-centro {
  font-size: 26px;
  font-weight: 800;
  color: #111;
  padding: 6px 14px;
  border-radius: 14px;
  background: #f3f4f6;
  min-width: 72px;
  text-align: center;
}

/* =========================
   INFO PARTIDO
========================= */

.partido-info {
  text-align: center;
  font-size: 13px;
  color: #666;
  margin-bottom: 12px;
}

/* BOTÓN */
.partido-card .abrir-btn {
  width: 100%;
  border-radius: 16px;
}

@media (max-width: 480px) {
  .resultado-centro {
    font-size: 22px;
    min-width: 64px;
  }

  .escudo-partido {
    width: 38px;
    height: 38px;
  }

  .nombre-equipo {
    font-size: 12px;
  }
}

/* ====== MARCADOR iOS ====== */

.marcador-ios {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  margin: 24px 0;
}

.equipo-ios {
  flex: 1;
  background: rgba(255,255,255,0.9);
  border-radius: 22px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  backdrop-filter: blur(12px);
}

.equipo-ios.local {
  background: linear-gradient(135deg, #ffb26b, #ff9340);
  color: white;
}

.equipo-ios.visitante {
  background: linear-gradient(135deg, #5aa9ff, #3b82f6);
  color: white;
}

.escudo-ios {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin-bottom: 10px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.25));
}

.nombre-ios {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.2;
}

.goles-ios {
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
}

.vs-ios {
  font-size: 40px;
  font-weight: 700;
  opacity: 0.4;
}

.team-ios-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.team-ios-header {
  display: flex;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #ff8a2b;
  margin-bottom: 6px;
}

.team-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.team-group {
  font-size: 14px;
  color: #666;
}

.team-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.team-actions button {
  flex: 1;
  border: none;
  border-radius: 12px;
  padding: 8px 0;
  background: #f2f2f7;
  font-size: 14px;
}

.team-ios-card[data-cat="Infantil"] {
  border-left: 4px solid #5ac8fa;
}

.team-ios-card[data-cat="Cadete"] {
  border-left: 4px solid #ff9f0a;
}

.team-ios-card[data-cat="Juvenil"] {
  border-left: 4px solid #34c759;
}

/* Partido */

.match:active {
  transform: scale(0.96);
}

.match-final {
  border: 2px solid #f4a261;
  background: #fff7ec;
}

/* Equipos */
.match .team {
  font-weight: 600;
  font-size: 14px;
}

/* Resultado */
.match .score {
  font-size: 18px;
  font-weight: 800;
  margin: 6px 0;
}

.match .vs {
  font-size: 14px;
  opacity: 0.6;
  margin: 6px 0;
}

/* Vacío */
.match.empty {
  opacity: 0.4;
  cursor: default;
}

/* Tercer puesto */
.bracket-tercer {
  margin-top: 24px;
  text-align: center;
}

/* =========================
   CUADRO ELIMINATORIO – FIX DEFINITIVO
========================= */

.bracket-scroll {
  width: 100%;
  overflow-x: hidden;   /* ❌ nunca scroll lateral */
  padding: 10px 0;
}

/* títulos */
.round h4 {
  font-size: 13px;
  font-weight: 700;
  color: #f59e0b;
}

/* partidos */
.match,
.match-final {
  width: 100%;
  max-width: 140px;
  padding: 8px 6px;
  text-align: center;

  background: rgba(255,255,255,0.95);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

/* final destacada */
.match-final {
  border: 2px solid #f4a261;
  background: #fff7ec;
}

/* texto */
.match .team {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}

.match .score,
.match .vs {
  font-size: 13px;
  font-weight: 700;
  margin: 4px 0;
}

/* =========================
   MÓVIL REAL
========================= */

@media (max-width: 480px) {

  .bracket {
    gap: 6px;
  }

  .match,
  .match-final {
    max-width: 110px;   /* 🔑 aquí se arregla */
    padding: 6px 4px;
  }

  .match .team {
    font-size: 10px;
  }

  .match .score,
  .match .vs {
    font-size: 12px;
  }
}

/* =========================
   CUADRO ELIMINATORIO PRO (VERTICAL)
========================= */

.bracket-vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

.semifinales {
  display: flex;
  gap: 18px;
  justify-content: center;
}

.match {
  width: 130px;
  padding: 10px 8px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  text-align: center;
  position: relative;
}

.match-final {
  border: 2px solid var(--principal);
  background: #fff7ed;
}

/* LÍNEAS */
.lineas-final {
  position: relative;
  width: 100%;
  height: 36px;
}

.lineas-final::before,
.lineas-final::after {
  content: "";
  position: absolute;
  top: 0;
  width: 2px;
  height: 36px;
  background: var(--principal);
}

.lineas-final::before {
  left: 38%;
}

.lineas-final::after {
  right: 38%;
}

.lineas-final span {
  position: absolute;
  bottom: 0;
  left: 38%;
  right: 38%;
  height: 2px;
  background: var(--principal);
}

.final {
  display: flex;
  justify-content: center;
}

/* =========================
   EQUIPO DERROTADO
========================= */

.team.perdedor {
  color: #c62828;
  opacity: 0.55;
  text-decoration: line-through;
  filter: grayscale(30%);
}

/* si es tarjeta completa */
.match.perdido {
  background: #ffecec;
  border-color: #e57373;
  opacity: 0.75;
}

.team.perdedor {
  animation: fadeLoser 0.4s ease-out;
}

@keyframes fadeLoser {
  from {
    opacity: 1;
  }
  to {
    opacity: 0.6;
  }
}

/* =========================
   ACTUALIZACIONES HOME
========================= */

.actualizaciones-home {
  margin: 24px 0;
}

.actualizaciones-home h3 {
  margin-bottom: 12px;
  color: #e07a1f;
}

.actualizacion-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 12px 14px;
  margin-bottom: 10px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.actualizacion-card:active {
  transform: scale(0.97);
}

/* ===== ACTUALIZACIONES HOME – PRO ===== */

.actualizacion-categoria {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #f59e0b;
  margin-bottom: 8px;
}

.actualizacion-contenido {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}

.equipo-actualizacion {
  display: flex;
  align-items: center;
  gap: 8px;
}

.equipo-actualizacion img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.equipo-actualizacion span {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.equipo-actualizacion.local {
  justify-content: flex-start;
}

.equipo-actualizacion.visitante {
  justify-content: flex-end;
  text-align: right;
}

.marcador-actualizacion {
  font-size: 16px;
  font-weight: 800;
  background: #f3f4f6;
  padding: 6px 14px;
  border-radius: 14px;
  min-width: 64px;
  text-align: center;
}

.actualizacion-estado {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #16a34a;
}

/* =========================
   ICONO CAMPEÓN
========================= */

.campeon {
  position: relative;
}

.campeon::after {
  content: "👑";
  position: absolute;
  top: -14px;
  right: -10px;
  font-size: 22px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
  animation: coronaPop 0.4s ease-out;
}

@keyframes coronaPop {
  from {
    transform: scale(0.6);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.team.perdedor,
.equipo-actualizacion.perdedor {
  opacity: 0.5;
  filter: grayscale(60%);
}

.actualizacion-fase {
  margin-top: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #ff8c1a;
  text-align: center;
}

.actualizacion-fase:has(:contains("FINAL")) {
  color: #d4af37;
}

.btn-ver-mas-partidos {
  background: transparent;
  border: none;
  margin: 10px auto 0;
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #f59e0b;
  cursor: pointer;
}

.btn-ver-mas-partidos:active {
  transform: scale(0.96);
}

/* =========================
   FIX VISUAL PATROCINADORES + HISTORIA
========================= */

/* Contenedor patrocinadores */
.patrocinadores-scroll {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 14px;

  padding: 14px;          /* 🔑 margen lateral real */
  margin-top: 10px;
  margin-bottom: 26px;    /* 🔑 separación con historia */

  width: 100%;
}

/* Tarjetas */
.patrocinador-card {
  width: 100%;
  aspect-ratio: 1 / 1;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Historia */
.historia {
  margin-top: 10px;
  margin-bottom: 10px;

  padding: 0 14px;        /* 🔑 alineación con patrocinadores */
}

/* Tarjeta historia */
.historia-card {
  margin-top: 6px;
}

/* =========================
   BOTONES ADMIN PATROCINADORES
========================= */

.acciones-admin {
  position: absolute;
  top: -8px;
  right: -8px;

  display: flex;
  flex-direction: column;
  gap: 4px;

  z-index: 10;
}

.acciones-admin button {
  width: 28px;
  height: 28px;

  border-radius: 50%;
  border: none;

  color: white;
  font-size: 13px;
  font-weight: bold;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  padding: 0;
}

.acciones-admin button:nth-child(1) {
  background: #3b82f6; /* subir */
}

.acciones-admin button:nth-child(2) {
  background: #10b981; /* bajar */
}

.acciones-admin button:nth-child(3) {
  background: #ef4444; /* borrar */
}

.acciones-admin button:active {
  transform: scale(0.9);
}

/* ===== BADGES POR CATEGORÍA ===== */

.badge-categoria {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
}

/* Infantil */
.badge-infantil {
  background: #f5a25d;
  color: #FFFFFF;
}

/* Cadete */
.badge-cadete {
  background: #f5a25d;
  color: #FFFFFF;
}

/* Juvenil */
.badge-juvenil {
  background: #f5a25d;
  color: #FFFFFF;
}

.badge-genero {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
}

/* Masculino */
.badge-masculino {
  background: #64B5F6;
  color: #FFFFFF;
}

/* Femenino */
.badge-femenino {
  background: #F48FB1;
  color: #FFFFFF;
}

.reproductor-cancion {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.controles-cancion {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}

.btn-control {
  background: transparent;
  border: none;
  border-radius: 10px;
  font-size: 18px;
  padding: 8px 12px;
  cursor: pointer;
}

#barra-cancion {

  width: 100%;
  max-width: 320px;

  margin-top: 10px;

}