/* CONTENEDOR DE LAS PASTILLAS */
.nav-news-tabs {
    margin-bottom: 0;
    list-style: none;
    padding: 10px 12px;
    border-radius: 999px;
    font-weight: bold;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;

}

/* ITEM: que se comporten ordenados */
.nav-news-tabs > li {
    display: flex;
}

/* BOTÓN NORMAL */
.nav-news-tabs > li > a {
    border-radius: 999px;
    padding: 5px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    font-size: 12px;
    letter-spacing: .5px;
    text-transform: uppercase;

    background: #ffffff;
    border: 1px solid #0b9343;
    color: #0b9343;
    box-shadow: 0 1px 2px rgba(0,0,0,.05);

    transition: all .15s ease-in-out;
}

/* ESTADO ACTIVO + HOVER */
.nav-news-tabs > li.active > a,
.nav-news-tabs > li > a:hover,
.nav-news-tabs > li > a:focus {
    background: linear-gradient(135deg, #0b9343, #18c96b);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 2px 6px rgba(0,0,0,.22);
}

/* EMOJI */
.nav-news-tabs .emoji {
    font-size: 15px;
    line-height: 1;
}

/* En móviles: 2 columnas para que no parezcan desordenadas */
@media (max-width: 768px) {
    .nav-news-tabs {
        border-radius: 18px;
    }
    .nav-news-tabs > li {
        flex: 1 1 calc(50% - 8px);
    }
    .nav-news-tabs > li > a {
        width: 100%;
    }
}



    /* -------- BARRA DE ESTADOS -------- */

    .player-status-bar {
    width: 100%;
    padding: 2px;
    box-sizing: border-box;
    background: #ffffff;
    display: flex;
    justify-content: center;
    overflow: hidden;
      min-height: 60px;
    }

.player-status-inner {
  display: flex;
  gap: 8px;
  align-items: center;
  overflow-x: auto;
  overflow-y: hidden;   /* por si acaso */
  scrollbar-width: thin;
  padding-bottom: 8px;  /* 👈 NUEVO: baja el scroll por debajo de las fichas */
  padding-left:4px;
}

    .player-status-inner::-webkit-scrollbar {
      height: 4px;
    }
    .player-status-inner::-webkit-scrollbar-thumb {
      border-radius: 999px;
      background: #cccccc;
    }

    .player-status-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      cursor: pointer;
      min-width: 60px;
    }

    /* -------- CÍRCULO DESKTOP (default) -------- */

.player-status-ring {
  width: 70px;
  height: 70px;
  padding: 4px; /* grosor del borde de color */
  border-radius: 50%;
  background: linear-gradient(135deg, #06ff86 0%, #f3ca00 50%, #ff7b00 100%);
  background-size: 200% 200%;
  animation: ringGradient 5s ease infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Anillo intermedio: blanco */
.player-status-inner-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #ffffff;   /* borde blanco */
  padding: 3px;          /* grosor del anillo blanco */
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Centro: solo recorte de la foto, sin fondo extra */
.player-status-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: transparent;
}

.player-status-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 600px) {
  .player-status-ring {
    width: 40px;
    height: 40px;
    padding: 3px; /* borde de color algo más fino en móvil */
  }

  .player-status-inner-ring {
    padding: 2px; /* anillo blanco más fino */
  }
}

    /* Estado visto */
    .player-status-item.seen .player-status-ring {
      background: #e9e9e9;
      animation: none;
    }

    @keyframes ringGradient {
      0% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }

/* Jugador sin zoom extra */
.foto-jugador {
  transform: scale(1);
}

/* Equipo con zoom interno */
.foto-equipo {
  transform: scale(1.2);
  transform-origin: center;
}

    /* -------- MOBILE: círculos más pequeños -------- */
    @media (max-width: 600px) {
      .player-status-item {
        min-width: 55px;
      }

      .player-status-ring {
        width: 60px;
        height: 60px;
        padding: 3px; /* borde en mobile = 4px */
      }
    }

    /* -------- MODAL -------- */

    .status-modal.hidden {
      display: none;
    }

    .status-modal {
      position: fixed;
      inset: 0;
      z-index: 9999;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .status-modal-backdrop {
      position: absolute;
      inset: 0;
      background: rgba(0,0,0,0.55);
    }

    .status-modal-content {
      position: relative;
      z-index: 1;
      max-width: 420px;
      width: 90%;
      background: #ffffff;
      color: #111111;
      border-radius: 12px;
      padding: 18px 16px 16px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    }

  .status-modal-close {
  position: absolute;
  top: -12px;              /* lo sacamos un poco fuera de la caja */
  right: -12px;
  width: 34px;             /* botón más grande */
  height: 34px;
  border-radius: 50%;      /* círculo */
  background: #ffffff;
  border: 1px solid #dddddd;
  color: #555555;
  font-size: 22px;         /* tamaño de la “X” */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  z-index: 2;
}

    .status-modal-content h2 {
      margin: 0 0 6px;
      font-size: 18px;
      color: #111111;
    }

    .status-modal-content p {
      margin: 0 0 10px;
      font-size: 14px;
      line-height: 1.4;
      color: #333333;
    }

    .status-modal-content a {
      display: inline-block;
      font-size: 13px;
      padding: 6px 10px;
      border-radius: 999px;
      text-decoration: none;
      background: linear-gradient(135deg, #06ff86 0%, #00a2ff 100%, #ff7b00 100%);
      color: #000000;
      font-weight: 600;
    }

    main {
      padding: 16px;
      font-size: 14px;
      line-height: 1.5;
    }

    .status-progress {
  position: relative;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: #e5e5e5;
  overflow: hidden;
  margin-bottom: 10px;
}

.status-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #06ff86, #00a2ff, #ff7b00);
  border-radius: inherit;
}


.status-modal-image {
  position: relative;
  width: 100%;
  max-height: 220px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
}

.status-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Botones de navegación */
.status-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.45);
  color: #ffffff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}

.status-nav-prev {
  left: 8px;
}

.status-nav-next {
  right: 8px;
}

/* Animación al cambiar de story */
@keyframes storyImageChange {
  0% {
    opacity: 0;
    transform: translateX(10px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.status-modal-image img.story-animate {
  animation: storyImageChange 0.35s ease;
}
