/* IRL>URL Reel Player — irlurl.mx · neon azul sobre negro / neon blue on black */
.irl-reel {
  --irl-neon: #22b8ff;
  --irl-glow: rgba(34, 184, 255, 0.55);
  position: relative;
  overflow: hidden;
  background: #000;
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(34, 184, 255, 0.25), 0 0 32px rgba(34, 184, 255, 0.18);
}
.irl-reel video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}
.irl-reel__play {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px 12px 14px;
  border: 1.5px solid var(--irl-neon);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font: 600 15px/1 inherit;
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 0 18px var(--irl-glow), inset 0 0 10px rgba(34, 184, 255, 0.25);
  transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.25s ease;
  animation: irl-pulse 2.4s ease-in-out infinite;
}
.irl-reel__play:hover,
.irl-reel__play:focus-visible {
  box-shadow: 0 0 28px var(--irl-glow), inset 0 0 14px rgba(34, 184, 255, 0.4);
  outline: none;
}
.irl-reel__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--irl-neon);
  color: #000;
}
/* Mientras suena, el botón se oculta / hidden while playing with sound */
.irl-reel.is-sound .irl-reel__play {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px);
  animation: none;
}
@keyframes irl-pulse {
  0%, 100% { box-shadow: 0 0 14px var(--irl-glow), inset 0 0 10px rgba(34, 184, 255, 0.2); }
  50%      { box-shadow: 0 0 30px var(--irl-glow), inset 0 0 14px rgba(34, 184, 255, 0.35); }
}
@media (prefers-reduced-motion: reduce) {
  .irl-reel__play { animation: none; }
}

/* v1.9 · Reel a pantalla completa al ver con sonido; regresa a su tamaño al terminar.
   Reel goes fullscreen when played with sound; returns to its size when it ends. */
html.reel-open, html.reel-open body { overflow: hidden; }
.irl-reel.is-full {
  position: fixed !important;
  inset: 0 !important;
  z-index: 10000 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-width: none !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #000;
}
.irl-reel.is-full video { object-fit: contain; }
.irl-reel:fullscreen { width: 100vw; height: 100vh; max-width: none; max-height: none; border-radius: 0; }
.irl-reel__close {
  position: absolute;
  top: max(14px, env(safe-area-inset-top));
  right: 14px;
  z-index: 3;
  display: none;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--irl-neon);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 0 14px var(--irl-glow);
}
.irl-reel.is-full .irl-reel__close { display: inline-flex; align-items: center; justify-content: center; }
