.camiseta-marco {
  position: relative;
}

.admin-camiseta {
  max-width: 920px;
  margin: 0 auto 1.4rem;
}

.admin-camiseta figcaption {
  margin: 0 0 0.6rem;
}

.camiseta-huecos {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.camiseta-marco:not(.con-huecos) .camiseta-huecos {
  display: none;
}

.hueco {
  position: absolute;
  left: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 2%;
  pointer-events: auto;
  text-decoration: none;
  overflow: hidden;
}

.hueco-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.hueco-ocupado {
  cursor: pointer;
  background: transparent;
}

.hueco-ocupado img {
  display: none;
}

.hueco-ocupado:focus-visible {
  z-index: 3;
  outline: 2px solid #d6ff00;
  outline-offset: 1px;
}

/* Solo pecho libre: caja + texto centrados con flex (no van en el JPG). */
.hueco-pecho {
  left: 19%;
  top: 14.6%;
  width: 13.2%;
  height: 6%;
}

.hueco-pecho.hueco-libre {
  display: grid;
  place-items: center;
  overflow: visible;
  background: #fff;
  border-radius: 0.45em;
}

.hueco-pecho.hueco-libre .hueco-etiqueta {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #121212;
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-weight: 900;
  font-size: clamp(0.42rem, 1vw, 0.75rem);
  letter-spacing: 0.02em;
  line-height: 0;
  text-align: center;
  white-space: nowrap;
  text-transform: uppercase;
}

.hueco-libre {
  animation: pulso-hueco 1.8s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 0.14s);
}

.hueco-libre::before {
  content: "✦";
  position: absolute;
  top: -0.15em;
  right: -0.05em;
  z-index: 2;
  color: #fff8df;
  font-size: clamp(9px, 1.3vw, 15px);
  line-height: 1;
  text-shadow:
    0 0 6px #d6ff00,
    0 0 2px #fff;
  animation: estrella-hueco 1.8s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 0.14s);
  pointer-events: none;
}

.hueco-pecho.hueco-libre::before {
  top: -0.4em;
  right: -0.3em;
  color: #d6ff00;
  text-shadow:
    0 0 6px #fff,
    0 0 2px #102408;
}

.hueco-libre::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    115deg,
    transparent 32%,
    rgba(255, 255, 255, 0.85) 50%,
    transparent 68%
  );
  background-size: 220% 100%;
  mix-blend-mode: screen;
  animation: brillo-hueco 2.6s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 0.14s);
  pointer-events: none;
}

.hueco-pecho.hueco-libre::after {
  mix-blend-mode: normal;
  background: linear-gradient(
    115deg,
    transparent 32%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 68%
  );
  background-size: 220% 100%;
}

@keyframes pulso-hueco {
  0%,
  100% {
    box-shadow:
      inset 0 0 0 0 rgba(214, 255, 0, 0),
      0 0 0 0 rgba(214, 255, 0, 0);
  }
  50% {
    box-shadow:
      inset 0 0 22px rgba(255, 255, 255, 0.95),
      0 0 18px 4px rgba(214, 255, 0, 0.95);
  }
}

@keyframes estrella-hueco {
  0%,
  100% {
    opacity: 0.2;
    transform: scale(0.65);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

@keyframes brillo-hueco {
  0% {
    background-position: 130% 0;
    opacity: 0.15;
  }
  45% {
    opacity: 0.95;
  }
  100% {
    background-position: -130% 0;
    opacity: 0.15;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hueco-libre,
  .hueco-libre::before,
  .hueco-libre::after {
    animation: none;
  }

  .hueco-libre {
    box-shadow:
      inset 0 0 0 2px #d6ff00,
      0 0 8px rgba(214, 255, 0, 0.7);
  }

  .hueco-libre::before {
    opacity: 1;
  }

  .ficha-patro[open] .ficha-patro-caja {
    animation: none;
  }
}

.patrocinadores button.patrocinador {
  appearance: none;
  cursor: pointer;
  font: inherit;
}

.ficha-patro {
  width: min(36rem, calc(100vw - 1.4rem));
  max-width: calc(100vw - 1.4rem);
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff8df;
}

.ficha-patro::backdrop {
  background: rgba(4, 10, 6, 0.78);
  backdrop-filter: blur(8px);
}

.ficha-patro[open] .ficha-patro-caja {
  animation: ficha-entra 0.22s ease;
}

@keyframes ficha-entra {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.ficha-patro-caja {
  position: relative;
  max-height: calc(100vh - 2rem);
  overflow: auto;
  border-radius: 28px;
  background: #071208;
  border: 1px solid rgba(214, 255, 0, 0.4);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5);
}

.ficha-cerrar {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 50%;
  background: #fff8df;
  color: #102408;
  font:
    700 1.35rem/1 "Outfit",
    sans-serif;
  cursor: pointer;
}

.ficha-cerrar:hover,
.ficha-cerrar:focus-visible {
  background: #d6ff00;
}

.ficha-patro-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 220px;
  padding: 2.4rem 2rem 1.6rem;
  overflow: hidden;
  background: radial-gradient(circle at 50% 42%, rgba(214, 255, 0, 0.2), transparent 58%), #071208;
}

.ficha-patro-logo img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 168px;
  object-fit: contain;
  filter: none;
}

.ficha-sin-logo {
  margin: 0;
  font-family: "Lilita One", sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  text-align: center;
  color: #d6ff00;
}

.ficha-patro-cuerpo {
  padding: 0.3rem 1.5rem 1.6rem;
}

.ficha-ceja {
  margin: 0;
  color: #d6ff00;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ficha-patro h2 {
  margin: 0.25rem 0 0.45rem;
  font-family: "Lilita One", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 400;
  line-height: 1.05;
  color: #fff8df;
}

.ficha-sitio {
  margin: 0 0 0.7rem;
  color: #d6ff00;
  font-weight: 800;
}

.ficha-texto {
  margin: 0;
  max-width: 38rem;
  color: #fff8df;
  line-height: 1.5;
}

.ficha-contacto {
  margin: 1.15rem 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c9d7b4;
}

.ficha-botones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.ficha-enlace {
  display: inline-flex;
  align-items: center;
  min-height: 2.7rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: transparent;
  color: #fff8df;
  box-shadow: inset 0 0 0 2px rgba(255, 248, 223, 0.4);
  font-weight: 800;
  text-decoration: none;
}

.ficha-enlace.principal {
  background: #d6ff00;
  color: #102408;
  box-shadow: none;
}

.ficha-enlace:hover,
.ficha-enlace:focus-visible {
  background: #fff8df;
  color: #102408;
}
