/* ═══════════════════════════════════════════════════════════════════════════
   WpLanding — «Video Revelación» (23-nov-2026, pedido del dueño)
   Un video bloqueado: se ve borroso detrás de un botón ▶. Al tocarlo aparece,
   DENTRO del mismo recuadro, el formulario de siempre (wpl-forms.js) pidiendo
   los datos; al enviarlos sale la animación del candado abriéndose y el video
   arranca solo, con sonido. Runtime: public/js/wpl-video-revelacion.js.

   Estados (clases en la raíz .wpl-vr, las pone el JS en la landing pública):
     (ninguna)      → portada: video borroso + botón ▶
     .vr-form       → formulario dentro del video
     .vr-unlocking  → candado temblando/abriéndose (+ .vr-lock-open)
     .vr-open       → video nítido, sin capa
   Tres diseños: .wpl-vr-boveda · .wpl-vr-aurora · .wpl-vr-dorado
   ═══════════════════════════════════════════════════════════════════════════ */

@property --vr-ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

.wpl-vr {
  --vr-a: #22c55e; --vr-b: #06b6d4; --vr-c: #facc15;
  --vr-bg: #06140d; --vr-ink: #ecfdf5; --vr-mut: rgba(236, 253, 245, .7);
  --vr-card: rgba(4, 18, 11, .86); --vr-line: rgba(255, 255, 255, .12);
  --vr-btn: linear-gradient(135deg, #22c55e, #10b981); --vr-btn-ink: #03210f; --vr-glow: rgba(34, 197, 94, .45);
  position: relative; max-width: 880px; margin: 32px auto; font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--vr-ink); line-height: 1.4; text-align: left;
}
.wpl-vr * { box-sizing: border-box; }
.wpl-vr-shell { position: relative; }
.wpl-vr-in { position: relative; overflow: hidden; background: var(--vr-bg); }

/* ── Escenario: el video y la capa ocupan la MISMA celda. Si el formulario no cabe
      en el 16:9 (celular), la celda crece y el video queda arriba. ── */
.wpl-vr-stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); background: #000; overflow: hidden; isolation: isolate; }
/* minmax(0,1fr): la columna nunca se ensancha por un texto largo (en celular empujaba el formulario fuera). */
.wpl-vr-stage > .wpl-vf-screen, .wpl-vr-stage > .wpl-vr-gate { grid-area: 1 / 1; min-width: 0; }
.wpl-vr .wpl-vr-stage > .wpl-vf-screen { align-self: stretch; height: auto !important; min-height: 0; border-radius: 0 !important; margin: 0; transition: filter .8s ease, transform .8s ease; }
/* El video mide como mínimo su formato (16:9, 9:16…, padding-bottom del marco); si el formulario necesita más alto
   (celular), el video borroso se estira para llenar todo el recuadro. Al abrirse, la capa sale del flujo y el
   recuadro vuelve exactamente al formato del video. */
.wpl-vr.vr-open .wpl-vr-gate { position: absolute; inset: 0; }
.wpl-vr:not(.vr-open) .wpl-vr-stage > .wpl-vf-screen { filter: blur(14px) brightness(.72) saturate(1.25); transform: scale(1.07); }

/* ── Capa del candado ── */
.wpl-vr-gate {
  position: relative; z-index: 30; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 18px 16px; text-align: center; cursor: pointer;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, .18) 0%, rgba(0, 0, 0, .58) 75%);
  transition: opacity .6s ease;
}
.wpl-vr.vr-form .wpl-vr-gate, .wpl-vr.vr-unlocking .wpl-vr-gate { cursor: default; background: radial-gradient(ellipse at center, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, .72) 80%); }
.wpl-vr.vr-open .wpl-vr-gate { opacity: 0; pointer-events: none; }

/* Portada: botón ▶ con candado */
.wpl-vr-cover { display: flex; flex-direction: column; align-items: center; gap: 14px; animation: vrIn .5s ease both; }
.wpl-vr.vr-form .wpl-vr-cover, .wpl-vr.vr-unlocking .wpl-vr-cover, .wpl-vr.vr-open .wpl-vr-cover { display: none; }
.wpl-vr-play {
  position: relative; width: 92px; height: 92px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: var(--vr-btn); color: var(--vr-btn-ink); display: grid; place-items: center;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, .1), 0 0 40px var(--vr-glow), 0 18px 40px rgba(0, 0, 0, .5);
  transition: transform .2s ease; animation: vrBeat 2.2s ease-in-out infinite;
}
.wpl-vr-play:hover { transform: scale(1.07); }
.wpl-vr-play::before, .wpl-vr-play::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--vr-a); opacity: 0;
  animation: vrRing 2.2s ease-out infinite; pointer-events: none;
}
.wpl-vr-play::after { animation-delay: 1.1s; }
.wpl-vr-play svg { width: 38px; height: 38px; margin-left: 6px; fill: currentColor; }
.wpl-vr-play-lock {
  position: absolute; right: -4px; bottom: -4px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: #0b0b0f; color: var(--vr-c); border: 2px solid var(--vr-c); box-shadow: 0 6px 16px rgba(0, 0, 0, .5);
}
.wpl-vr-play-lock svg { width: 15px; height: 15px; margin: 0; fill: currentColor; }
.wpl-vr-cover-t { margin: 0; font-weight: 900; font-size: clamp(17px, 2.6vw, 25px); letter-spacing: -.02em; color: #fff; text-shadow: 0 3px 18px rgba(0, 0, 0, .7); }
.wpl-vr-cover-s { margin: -6px 0 0; font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, .82); text-shadow: 0 2px 10px rgba(0, 0, 0, .7); }

/* Formulario dentro del video (el de siempre: .wpl-form + wpl-forms.js) */
.wpl-vr .wpl-vr-form {
  display: none; width: 100%; max-width: 390px; margin: 0 auto; text-align: left;
  background: var(--vr-card); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--vr-line); border-radius: 18px; padding: 16px 16px 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .03) inset;
}
.wpl-vr.vr-form .wpl-vr-form { display: block; animation: vrUp .4s cubic-bezier(.2, .8, .2, 1) both; }
.wpl-vr-fh { display: flex; align-items: center; gap: 11px; margin: 0 0 12px; }
.wpl-vr-fh-ic {
  flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--vr-btn); color: var(--vr-btn-ink); box-shadow: 0 8px 20px var(--vr-glow);
}
.wpl-vr-fh-ic svg { width: 20px; height: 20px; fill: currentColor; }
.wpl-vr-fh-t { margin: 0; font-size: 15px; font-weight: 800; line-height: 1.3; color: var(--vr-ink); }
.wpl-vr .wpl-vr-form input, .wpl-vr .wpl-vr-form select { font-family: inherit; }
.wpl-vr .wpl-vr-form .wpl-form-submit {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin: 4px 0 0; padding: 14px 16px;
  border: 0; border-radius: 12px; cursor: pointer; font-family: inherit; font-size: 15px; font-weight: 900; letter-spacing: .01em;
  background: var(--vr-btn); color: var(--vr-btn-ink); box-shadow: 0 10px 26px var(--vr-glow); transition: transform .15s ease, filter .15s ease;
}
.wpl-vr .wpl-vr-form .wpl-form-submit:hover { transform: translateY(-1px); filter: brightness(1.06); }
.wpl-vr .wpl-vr-form .wpl-form-submit:disabled { opacity: .75; cursor: wait; transform: none; }
.wpl-vr-hint { margin: 9px 0 0; text-align: center; font-size: 11.5px; color: var(--vr-mut); }

/* Animación del candado abriéndose */
.wpl-vr-unlock { display: none; flex-direction: column; align-items: center; gap: 12px; }
.wpl-vr.vr-unlocking .wpl-vr-form { display: none; }
.wpl-vr.vr-unlocking .wpl-vr-unlock { display: flex; animation: vrIn .3s ease both; }
.wpl-vr-padlock { position: relative; width: 108px; height: 108px; display: grid; place-items: center; }
.wpl-vr-padlock::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, var(--vr-glow) 0%, transparent 70%); opacity: .7;
}
.wpl-vr-padlock svg { position: relative; width: 84px; height: 84px; overflow: visible; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .55)); }
.wpl-vr-padlock .vr-shackle { fill: none; stroke: var(--vr-c); stroke-width: 6; stroke-linecap: round; transform-box: view-box; transform-origin: 20px 30px; transition: transform .55s cubic-bezier(.3, 1.6, .5, 1); }
.wpl-vr-padlock .vr-g1 { stop-color: var(--vr-c); }
.wpl-vr-padlock .vr-g2 { stop-color: var(--vr-a); }
.wpl-vr-padlock .vr-hole { fill: rgba(0, 0, 0, .55); }
.wpl-vr.vr-unlocking:not(.vr-lock-open) .wpl-vr-padlock svg { animation: vrShake .45s ease-in-out 2; }
.wpl-vr.vr-lock-open .vr-shackle { transform: translateY(-9px) rotate(-32deg); }
.wpl-vr-burst { position: absolute; inset: -10px; border-radius: 50%; border: 3px solid var(--vr-a); opacity: 0; pointer-events: none; }
.wpl-vr.vr-lock-open .wpl-vr-burst { animation: vrBurst .7s ease-out both; }
.wpl-vr-unlock-t { margin: 0; font-size: 17px; font-weight: 900; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); letter-spacing: -.01em; }
.wpl-vr-bar { width: 190px; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.wpl-vr-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--vr-btn); }
.wpl-vr.vr-unlocking .wpl-vr-bar i { animation: vrFill 1.15s ease-in-out forwards; }

/* Cabecera y pie (comunes) */
.wpl-vr-hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; flex-wrap: wrap; }
.wpl-vr-hd-l { display: flex; align-items: center; gap: 9px; min-width: 0; flex-wrap: wrap; }
.wpl-vr-brand { font-weight: 900; font-size: 16px; letter-spacing: -.02em; }
.wpl-vr-sep { opacity: .45; }
.wpl-vr-title { font-size: 13px; color: var(--vr-mut); font-weight: 600; }
.wpl-vr-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 11px; font-weight: 900;
  letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}
.wpl-vr-ft { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 16px; flex-wrap: wrap; }
.wpl-vr-tags { display: flex; gap: 7px; flex-wrap: wrap; }
.wpl-vr-tag { font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.wpl-vr-note { font-size: 12.5px; font-weight: 700; color: var(--vr-mut); white-space: nowrap; }

/* ═══ Diseño 1 · BÓVEDA NEÓN (verde/cian/amarillo, borde que gira) ═══ */
.wpl-vr-boveda .wpl-vr-shell {
  padding: 2px; border-radius: 24px;
  background: conic-gradient(from var(--vr-ang), #22c55e, #06b6d4, #facc15, #22c55e);
  animation: vrSpin 6s linear infinite;
  box-shadow: 0 0 34px rgba(34, 197, 94, .35), 0 30px 80px rgba(0, 0, 0, .55);
}
.wpl-vr-boveda .wpl-vr-in { border-radius: 22px; }
.wpl-vr-boveda .wpl-vr-hd { background: linear-gradient(90deg, #0b2a19, #06140d); border-bottom: 1px solid rgba(34, 197, 94, .2); }
.wpl-vr-boveda .wpl-vr-brand { color: #22c55e; }
.wpl-vr-boveda .wpl-vr-pill { background: #ef4444; color: #fff; box-shadow: 0 0 18px rgba(239, 68, 68, .55); animation: vrBlink 1.6s ease-in-out infinite; }
.wpl-vr-boveda .wpl-vr-ft { background: #06140d; border-top: 1px solid rgba(34, 197, 94, .18); }
.wpl-vr-boveda .wpl-vr-tag { background: rgba(34, 197, 94, .1); color: #4ade80; border: 1px solid rgba(34, 197, 94, .28); }

/* ═══ Diseño 2 · AURORA CRISTAL (morado/rosa/naranja, cristal redondeado) ═══ */
.wpl-vr-aurora {
  --vr-a: #c084fc; --vr-b: #ec4899; --vr-c: #fde68a; --vr-bg: #120a24; --vr-ink: #faf5ff; --vr-mut: rgba(250, 245, 255, .72);
  --vr-card: rgba(24, 12, 44, .82); --vr-btn: linear-gradient(135deg, #a855f7, #ec4899 55%, #f97316); --vr-btn-ink: #fff; --vr-glow: rgba(236, 72, 153, .45);
  margin-top: 44px;
}
.wpl-vr-aurora .wpl-vr-shell {
  padding: 3px; border-radius: 32px;
  background: linear-gradient(120deg, #a855f7, #ec4899, #f97316, #6366f1, #a855f7); background-size: 300% 300%;
  animation: vrFlow 7s ease infinite;
  box-shadow: 0 0 50px rgba(168, 85, 247, .35), 0 30px 90px rgba(76, 29, 149, .45);
}
.wpl-vr-aurora .wpl-vr-in { border-radius: 29px; }
.wpl-vr-aurora .wpl-vr-float {
  position: absolute; top: -17px; left: 50%; transform: translateX(-50%); z-index: 40; white-space: nowrap;
  padding: 8px 18px; border-radius: 999px; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase;
  background: #fff; color: #7e22ce; box-shadow: 0 10px 30px rgba(168, 85, 247, .45), 0 0 0 3px rgba(236, 72, 153, .35);
}
.wpl-vr-aurora .wpl-vr-ft { background: linear-gradient(90deg, #1b0f35, #2a0f2f); justify-content: center; }
.wpl-vr-aurora .wpl-vr-tag { background: rgba(255, 255, 255, .08); color: #f5d0fe; border: 1px solid rgba(255, 255, 255, .14); }
.wpl-vr-aurora .wpl-vr-spark { position: absolute; z-index: 41; width: 16px; height: 16px; color: #fde68a; pointer-events: none; animation: vrTwinkle 2.4s ease-in-out infinite; }
.wpl-vr-aurora .wpl-vr-spark svg { width: 100%; height: 100%; fill: currentColor; }
.wpl-vr-aurora .wpl-vr-spark.s1 { top: -8px; left: 9%; }
.wpl-vr-aurora .wpl-vr-spark.s2 { top: 18%; right: -8px; animation-delay: .8s; width: 12px; height: 12px; }
.wpl-vr-aurora .wpl-vr-spark.s3 { bottom: -7px; right: 14%; animation-delay: 1.5s; }
.wpl-vr-aurora .wpl-vr-spark.s4 { bottom: 26%; left: -7px; animation-delay: 2s; width: 11px; height: 11px; }

/* ═══ Diseño 3 · ESTRENO DORADO (negro y oro, cine premium) ═══ */
.wpl-vr-dorado {
  --vr-a: #f5c451; --vr-b: #b8860b; --vr-c: #ffe08a; --vr-bg: #0b0906; --vr-ink: #fff8e1; --vr-mut: rgba(255, 241, 200, .7);
  --vr-card: rgba(16, 12, 5, .88); --vr-line: rgba(245, 196, 81, .35);
  --vr-btn: linear-gradient(135deg, #ffe9a3, #f5c451 40%, #c8961c 75%, #a87908); --vr-btn-ink: #1a1204; --vr-glow: rgba(245, 196, 81, .4);
  margin-top: 44px;
}
.wpl-vr-dorado .wpl-vr-shell {
  padding: 12px; border-radius: 20px;
  background: linear-gradient(145deg, #2b2213 0%, #0d0a06 45%, #2b2213 100%);
  border: 1px solid rgba(245, 196, 81, .55);
  box-shadow: inset 0 0 0 1px rgba(245, 196, 81, .2), 0 0 0 1px #000, 0 0 44px rgba(245, 196, 81, .18), 0 30px 80px rgba(0, 0, 0, .6);
}
.wpl-vr-dorado .wpl-vr-in { border-radius: 10px; border: 1px solid rgba(245, 196, 81, .5); }
.wpl-vr-dorado .wpl-vr-perf { height: 14px; background: #050403; position: relative; }
.wpl-vr-dorado .wpl-vr-perf::before {
  content: ""; position: absolute; inset: 4px 8px;
  background: repeating-linear-gradient(90deg, rgba(245, 196, 81, .55) 0 10px, transparent 10px 22px); border-radius: 2px; opacity: .75;
}
.wpl-vr-dorado .wpl-vr-ribbon {
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%); z-index: 40; white-space: nowrap;
  padding: 8px 22px; font-size: 12px; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; color: #1a1204;
  background: linear-gradient(135deg, #ffe9a3, #f5c451 45%, #c8961c); border-radius: 6px;
  box-shadow: 0 8px 24px rgba(245, 196, 81, .35), 0 0 0 2px #0b0906, 0 0 0 3px rgba(245, 196, 81, .6);
}
.wpl-vr-dorado .wpl-vr-corner { position: absolute; z-index: 41; width: 26px; height: 26px; border: 3px solid #f5c451; pointer-events: none; }
.wpl-vr-dorado .wpl-vr-corner.tl { top: 4px; left: 4px; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.wpl-vr-dorado .wpl-vr-corner.tr { top: 4px; right: 4px; border-left: 0; border-bottom: 0; border-radius: 0 10px 0 0; }
.wpl-vr-dorado .wpl-vr-corner.bl { bottom: 4px; left: 4px; border-right: 0; border-top: 0; border-radius: 0 0 0 10px; }
.wpl-vr-dorado .wpl-vr-corner.br { bottom: 4px; right: 4px; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
.wpl-vr-dorado .wpl-vr-ft { justify-content: center; background: #0b0906; border-top: 1px solid rgba(245, 196, 81, .3); }
.wpl-vr-dorado .wpl-vr-note { color: #f5c451; letter-spacing: .12em; text-transform: uppercase; font-size: 11.5px; }
.wpl-vr-dorado .wpl-vr-play-lock { color: #f5c451; border-color: #f5c451; }
.wpl-vr-dorado .wpl-vr-gate { background: radial-gradient(ellipse at center, rgba(20, 14, 4, .2) 0%, rgba(0, 0, 0, .66) 78%); }

/* ── Celular y pantallas pequeñas: nada se corta ni se desborda ── */
@media (max-width: 600px) {
  .wpl-vr { margin: 22px auto; }
  .wpl-vr-aurora, .wpl-vr-dorado { margin-top: 36px; }
  .wpl-vr-gate { padding: 12px 10px; }
  .wpl-vr-cover { gap: 9px; }
  .wpl-vr-play { width: 64px; height: 64px; box-shadow: 0 0 0 6px rgba(255, 255, 255, .1), 0 0 30px var(--vr-glow), 0 12px 28px rgba(0, 0, 0, .5); }
  .wpl-vr-play svg { width: 26px; height: 26px; margin-left: 4px; }
  .wpl-vr-play-lock { width: 24px; height: 24px; right: -3px; bottom: -3px; border-width: 2px; }
  .wpl-vr-play-lock svg { width: 12px; height: 12px; }
  .wpl-vr-cover-t { font-size: 16px; line-height: 1.25; max-width: 92%; }
  .wpl-vr-cover-s { font-size: 12px; margin-top: -4px; }
  .wpl-vr-hd, .wpl-vr-ft { padding: 9px 12px; gap: 7px; }
  .wpl-vr-brand { font-size: 14px; }
  .wpl-vr-title { font-size: 11.5px; }
  .wpl-vr-pill { font-size: 10px; padding: 4px 9px; }
  .wpl-vr-tags { gap: 5px; }
  .wpl-vr-tag { font-size: 11px; padding: 4px 9px; }
  .wpl-vr-note { font-size: 11.5px; white-space: normal; }
  .wpl-vr .wpl-vr-form { padding: 12px 12px 10px; border-radius: 15px; max-width: 100%; }
  .wpl-vr-fh { gap: 9px; margin-bottom: 10px; }
  .wpl-vr-fh-ic { flex-basis: 34px; width: 34px; height: 34px; border-radius: 10px; }
  .wpl-vr-fh-ic svg { width: 17px; height: 17px; }
  .wpl-vr-fh-t { font-size: 13.5px; }
  /* 16 px: con menos, el iPhone hace zoom a toda la página al tocar el campo. */
  .wpl-vr .wpl-vr-form input, .wpl-vr .wpl-vr-form select, .wpl-vr .wpl-vr-form textarea { font-size: 16px !important; }
  .wpl-vr .wpl-vr-form .wpl-form-submit { padding: 13px 12px; font-size: 15px; }
  .wpl-vr-padlock { width: 84px; height: 84px; }
  .wpl-vr-padlock svg { width: 64px; height: 64px; }
  .wpl-vr-unlock-t { font-size: 15px; }
  .wpl-vr-bar { width: 150px; }
  .wpl-vr-boveda .wpl-vr-shell { border-radius: 18px; }
  .wpl-vr-boveda .wpl-vr-in { border-radius: 16px; }
  .wpl-vr-aurora .wpl-vr-shell { border-radius: 24px; }
  .wpl-vr-aurora .wpl-vr-in { border-radius: 21px; }
  .wpl-vr-aurora .wpl-vr-float { font-size: 10.5px; padding: 7px 14px; top: -15px; }
  .wpl-vr-aurora .wpl-vr-ft { justify-content: center; }
  .wpl-vr-dorado .wpl-vr-shell { padding: 7px; border-radius: 14px; }
  .wpl-vr-dorado .wpl-vr-in { border-radius: 8px; }
  .wpl-vr-dorado .wpl-vr-ribbon { font-size: 10px; letter-spacing: .12em; padding: 7px 13px; top: -15px; }
  .wpl-vr-dorado .wpl-vr-corner { width: 18px; height: 18px; border-width: 2px; }
  .wpl-vr-dorado .wpl-vr-perf { height: 10px; }
  .wpl-vr-dorado .wpl-vr-perf::before { inset: 3px 6px; background: repeating-linear-gradient(90deg, rgba(245, 196, 81, .55) 0 7px, transparent 7px 15px); }
}
@media (max-width: 380px) {
  .wpl-vr-play { width: 56px; height: 56px; }
  .wpl-vr-play svg { width: 22px; height: 22px; }
  .wpl-vr-cover-t { font-size: 15px; }
  .wpl-vr-title { display: none; }
  .wpl-vr-sep { display: none; }
  .wpl-vr .wpl-vr-form { padding: 11px 10px 9px; }
  .wpl-vr-hint { font-size: 10.5px; }
}

/* ── Blindaje (23-nov-2026). Las landings guardadas traen reglas automáticas para celular
      («.x:not(..):not(..){flex-direction:column!important}», «…>*{width:100%!important}», «svg{width:..!important}»)
      y algunas una copia vieja de esta hoja. Estas reglas ganan por especificidad (:not(#wpl-z) suma un id). ── */
.wpl-vr .wpl-vr-stage:not(#wpl-z) { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; }
.wpl-vr .wpl-vr-stage:not(#wpl-z) > .wpl-vf-screen { align-self: stretch !important; height: auto !important; min-width: 0 !important; }
.wpl-vr .wpl-vr-stage:not(#wpl-z) > .wpl-vr-gate { min-width: 0 !important; }
.wpl-vr .wpl-vr-hd:not(#wpl-z), .wpl-vr .wpl-vr-ft:not(#wpl-z), .wpl-vr .wpl-vr-hd-l:not(#wpl-z), .wpl-vr .wpl-vr-tags:not(#wpl-z) {
  display: flex !important; flex-direction: row !important; align-items: center !important; flex-wrap: wrap !important;
}
.wpl-vr .wpl-vr-hd:not(#wpl-z), .wpl-vr .wpl-vr-ft:not(#wpl-z) { justify-content: space-between !important; }
.wpl-vr-aurora .wpl-vr-ft:not(#wpl-z), .wpl-vr-dorado .wpl-vr-ft:not(#wpl-z) { justify-content: center !important; }
.wpl-vr .wpl-vr-hd:not(#wpl-z) > *, .wpl-vr .wpl-vr-ft:not(#wpl-z) > *, .wpl-vr .wpl-vr-hd-l:not(#wpl-z) > *, .wpl-vr .wpl-vr-tags:not(#wpl-z) > * {
  width: auto !important; max-width: 100% !important; flex: 0 1 auto !important; align-self: center !important;
}
.wpl-vr .wpl-vr-cover:not(#wpl-z) { flex-direction: column !important; align-items: center !important; flex-wrap: nowrap !important; }
.wpl-vr .wpl-vr-cover:not(#wpl-z) > * { width: auto !important; max-width: 100% !important; align-self: center !important; }
.wpl-vr .wpl-vr-play:not(#wpl-z) { width: 92px !important; height: 92px !important; min-width: 0 !important; max-width: none !important; flex: 0 0 auto !important; padding: 0 !important; border-radius: 50% !important; display: grid !important; place-items: center !important; }
.wpl-vr .wpl-vr-play:not(#wpl-z)::before, .wpl-vr .wpl-vr-play:not(#wpl-z)::after {
  /* Anillos del ▶ con tamaño explícito: en una landing real salían de 0 px de alto (una rayita encima del botón). */
  top: -6px !important; left: -6px !important; right: auto !important; bottom: auto !important;
  width: calc(100% + 12px) !important; height: calc(100% + 12px) !important; max-width: none !important; max-height: none !important;
  border-radius: 50% !important; box-sizing: border-box !important; align-self: auto !important;
}
.wpl-vr .wpl-vr-play:not(#wpl-z) > svg { width: 38px !important; height: 38px !important; align-self: auto !important; flex: none !important; }
.wpl-vr .wpl-vr-play:not(#wpl-z) .wpl-vr-play-lock { width: 32px !important; height: 32px !important; }
.wpl-vr .wpl-vr-play:not(#wpl-z) .wpl-vr-play-lock svg { width: 15px !important; height: 15px !important; align-self: auto !important; }
.wpl-vr .wpl-vr-fh:not(#wpl-z) { display: flex !important; flex-direction: row !important; align-items: center !important; flex-wrap: nowrap !important; }
.wpl-vr .wpl-vr-fh:not(#wpl-z) > .wpl-vr-fh-ic { width: 40px !important; height: 40px !important; flex: 0 0 40px !important; align-self: center !important; }
.wpl-vr .wpl-vr-fh:not(#wpl-z) > .wpl-vr-fh-ic svg { width: 20px !important; height: 20px !important; align-self: auto !important; }
.wpl-vr .wpl-vr-fh:not(#wpl-z) > .wpl-vr-fh-t { width: auto !important; flex: 1 1 auto !important; min-width: 0 !important; }
.wpl-vr .wpl-vr-form:not(#wpl-z) .wpl-form-submit { flex-direction: row !important; align-items: center !important; justify-content: center !important; flex-wrap: nowrap !important; }
.wpl-vr .wpl-vr-form:not(#wpl-z) .wpl-form-submit > * { width: auto !important; }
.wpl-vr .wpl-vr-unlock:not(#wpl-z) { flex-direction: column !important; align-items: center !important; }
.wpl-vr .wpl-vr-unlock:not(#wpl-z) > * { align-self: center !important; }
.wpl-vr .wpl-vr-padlock:not(#wpl-z) svg { width: 84px !important; height: 84px !important; align-self: auto !important; }
@media (max-width: 600px) {
  .wpl-vr .wpl-vr-play:not(#wpl-z) { width: 64px !important; height: 64px !important; }
  .wpl-vr .wpl-vr-play:not(#wpl-z) > svg { width: 26px !important; height: 26px !important; }
  .wpl-vr .wpl-vr-play:not(#wpl-z) .wpl-vr-play-lock { width: 24px !important; height: 24px !important; }
  .wpl-vr .wpl-vr-play:not(#wpl-z) .wpl-vr-play-lock svg { width: 12px !important; height: 12px !important; }
  .wpl-vr .wpl-vr-fh:not(#wpl-z) > .wpl-vr-fh-ic { width: 34px !important; height: 34px !important; flex-basis: 34px !important; }
  .wpl-vr .wpl-vr-fh:not(#wpl-z) > .wpl-vr-fh-ic svg { width: 17px !important; height: 17px !important; }
  .wpl-vr .wpl-vr-padlock:not(#wpl-z) svg { width: 64px !important; height: 64px !important; }
  .wpl-vr .wpl-vr-cover-t:not(#wpl-z) { font-size: 16px !important; }
}
@media (max-width: 380px) {
  .wpl-vr .wpl-vr-play:not(#wpl-z) { width: 56px !important; height: 56px !important; }
  .wpl-vr .wpl-vr-play:not(#wpl-z) > svg { width: 22px !important; height: 22px !important; }
}

/* Al desbloquear, el letrero rojo «Contenido bloqueado» pasa a verde «Desbloqueado» (el JS cambia el texto). */
.wpl-vr.vr-open .wpl-vr-pill:not(#wpl-z) { background: #16a34a !important; color: #fff !important; box-shadow: 0 0 18px rgba(22, 163, 74, .55) !important; animation: none !important; }

@keyframes vrSpin { to { --vr-ang: 360deg; } }
@keyframes vrFlow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes vrBeat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes vrRing { 0% { transform: scale(.95); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes vrBlink { 0%, 100% { opacity: 1; } 50% { opacity: .65; } }
@keyframes vrTwinkle { 0%, 100% { transform: scale(.6) rotate(0); opacity: .35; } 50% { transform: scale(1.15) rotate(25deg); opacity: 1; } }
@keyframes vrIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes vrUp { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes vrShake { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-9deg); } 40% { transform: rotate(8deg); } 60% { transform: rotate(-6deg); } 80% { transform: rotate(4deg); } }
@keyframes vrBurst { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes vrFill { to { width: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .wpl-vr *, .wpl-vr-shell { animation-duration: .01s !important; animation-iteration-count: 1 !important; }
}
