
.sport-pastille-ligne {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.35rem 1rem 0.1rem;
}
.sport-pastille-ligne[hidden] { display: none; }

.sport-pastille {
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  color: #fff;
  padding: 0.3rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}
.sport-pastille:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }


.sport-panneau-fond {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.45);
  animation: sport-panneau-fondu 0.18s ease both;
}

.sport-panneau {
  position: relative;
  width: 100%;
  max-width: 400px;
  padding: 1.3rem 1.2rem 1.4rem;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  background: var(--carte);
  color: var(--texte);
  animation: sport-panneau-monte 0.22s ease both;
}

.sport-panneau-sur {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--texte-doux);
}

.sport-panneau h2 { margin: 0.15rem 2.5rem 0.5rem 0; font-size: 1.35rem; }
.sport-panneau p { margin: 0; font-size: 1rem; line-height: 1.45; }

.sport-panneau-lien {
  display: inline-block;
  margin-top: 0.9rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--accent);
  text-decoration: none;
}
.sport-panneau-lien:hover { text-decoration: underline; text-underline-offset: 3px; }
.sport-panneau-lien:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.sport-panneau-fermer {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--bordure);
  color: var(--texte);
  font-size: 0.95rem;
  cursor: pointer;
}
.sport-panneau-fermer:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.sport-panneau-ecran { position: fixed; z-index: 70; }

@keyframes sport-panneau-fondu { from { opacity: 0; } }
@keyframes sport-panneau-monte { from { transform: scale(0.94); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .sport-panneau-fond, .sport-panneau { animation: none; }
}
