/* Diseño del quiz interactivo */
:root {
  --bg: #0b0705;
  --ink: #fffaf0;
  --muted: rgba(255, 246, 228, .72);
  --gold: #d9b85a;
  --gold-2: #f3dc8a;
  --gold-3: #b28a2e;
  --green: #12a538;
  --green-2: #0b7f29;
  --glass: rgba(14, 10, 7, .66);
  --line: rgba(217, 184, 90, .42);
  --stage-w: 100vw;
  --stage-h: 133.333vw;
  --panel-top: 87vw;
  --fade: 380ms;
  --emoji: "Apple Color Emoji", "Noto Color Emoji", "Segoe UI Emoji", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--bg); }
body { color: var(--ink); font-family: Poppins, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; overflow: hidden; overscroll-behavior: none; }
button { font: inherit; color: inherit; }

#app { position: fixed; inset: 0; overflow: hidden; overflow: clip; background: radial-gradient(120% 70% at 50% 40%, #1d130b 0%, var(--bg) 70%); }

/* fondo: la imagen de apertura, desenfocada, rellena lo que sobra de pantalla */
.backdrop { position: absolute; inset: -8%; background: center 30% / cover no-repeat; filter: blur(28px) saturate(1.1) brightness(.42); transform: scale(1.08); pointer-events: none; }
.backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 7, 5, 0) 30%, rgba(11, 7, 5, .55) 62%, var(--bg) 100%); }

/* escenario: el video 3:4 arriba, a todo el ancho (en computadora queda como columna) */
.stage { position: absolute; top: 0; left: 50%; width: var(--stage-w); height: var(--stage-h); transform: translateX(-50%); overflow: hidden; z-index: 2; background: #000; transition: width .45s ease, height .45s ease; }
#app.sem-anim .stage, #app.sem-anim .panel { transition: none !important; }
.deck, .capa, .capa video, .capa .ph, .stage-poster, .abertura, .abertura img { position: absolute; inset: 0; width: 100%; height: 100%; }
.capa video, .stage-poster, .abertura img { object-fit: cover; object-position: center top; background: transparent; }
.deck { z-index: 1; }
.capa { opacity: 0; transition: opacity var(--fade) ease; pointer-events: none; }
.capa.on { opacity: 1; }
.stage-poster, .abertura { z-index: 0; transition: opacity .5s ease; pointer-events: none; }
.stage-poster.hide, .abertura.hide { opacity: 0; }

/* placeholders: video sin cargar e imagen de apertura sin cargar */
.ph { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 15% 24px 0; text-align: center; background: repeating-linear-gradient(135deg, #1b130c 0 22px, #150e09 22px 44px); }
.ph-tag { font-size: 11px; letter-spacing: .14em; color: var(--gold); border: 1px dashed var(--gold-3); border-radius: 99px; padding: 4px 12px; }
.ph-nombre { font: 700 30px Cinzel, Georgia, serif; color: var(--gold-2); margin-top: 8px; }
.ph-nota { font-size: 13px; color: var(--muted); }
.ph-reloj { font: 600 22px Poppins, monospace; font-variant-numeric: tabular-nums; margin-top: 6px; }
.abertura .ph-tag { display: none; position: absolute; top: 24%; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.abertura.vacia { background: radial-gradient(120% 70% at 50% 25%, #3a2817 0, var(--bg) 70%); }
.abertura.vacia img { display: none; }
.abertura.vacia .ph-tag { display: block; }

.shade-top, .shade-bottom { position: absolute; left: 0; right: 0; pointer-events: none; z-index: 3; }
.shade-top { top: 0; height: 14%; background: linear-gradient(180deg, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0)); }
.shade-bottom {
  bottom: -2px; height: 30%; transition: height .6s ease;
  /* curva suave, sin escalón visible, hasta el color exacto del fondo */
  background: linear-gradient(180deg, rgba(11, 7, 5, 0) 0%, rgba(11, 7, 5, .03) 12%, rgba(11, 7, 5, .1) 24%, rgba(11, 7, 5, .22) 36%, rgba(11, 7, 5, .38) 48%, rgba(11, 7, 5, .56) 60%, rgba(11, 7, 5, .73) 71%, rgba(11, 7, 5, .87) 81%, rgba(11, 7, 5, .96) 90%, var(--bg) 97%);
}
.is-start .shade-bottom { height: 36%; }
.is-vsl .shade-bottom { height: 18%; }
/* debajo del video la página es del mismo color sólido en que termina el degradé: el borde desaparece */
#app::after { content: ""; position: absolute; left: 0; right: 0; top: calc(var(--stage-h) - 2px); bottom: 0; z-index: 1; background: var(--bg); pointer-events: none; transition: top .45s ease; }
@media (min-width: 561px) {
  .stage::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(90deg, var(--bg) 0, rgba(11, 7, 5, 0) 9%, rgba(11, 7, 5, 0) 91%, var(--bg) 100%); }
}
/* el panel subió sobre la mesa (celular bajo): oscurecido suave detrás del texto */
.stage::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; top: calc(var(--panel-top) - 90px); z-index: 3; pointer-events: none; opacity: 0; background: linear-gradient(180deg, rgba(11, 7, 5, 0) 0, rgba(11, 7, 5, .55) 70px, rgba(11, 7, 5, .82) 150px, rgba(11, 7, 5, .9) 100%); transition: opacity .45s ease, top .45s ease; }
.panel-subido .stage::before { opacity: 1; }

/* progreso de las preguntas (oculto salvo mostrarProgreso en config.js) */
.progress { position: absolute; z-index: 6; top: calc(10px + env(safe-area-inset-top, 0px)); left: 50%; transform: translateX(-50%); display: flex; gap: 6px; width: min(72%, 300px); opacity: 0; transition: opacity .4s ease; }
.progress.show { opacity: 1; }
.progress i { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .22); overflow: hidden; position: relative; }
.progress i::after { content: ""; position: absolute; inset: 0; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--gold-3), var(--gold-2)); transition: transform .6s ease; }
.progress i.done::after, .progress i.now::after { transform: scaleX(1); }
.progress i.now::after { animation: latido 1.6s ease-in-out infinite; }
@keyframes latido { 50% { opacity: .55; } }

/* barra del VSL (avanza más rápido al principio) */
.fakebar { position: absolute; z-index: 6; left: 0; right: 0; bottom: 0; height: 7px; background: rgba(255, 255, 255, .2); opacity: 0; transition: opacity .4s ease; }
.fakebar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-3), var(--gold-2)); box-shadow: 0 0 12px rgba(243, 220, 138, .85); transition: width .4s linear; }
.is-vsl .fakebar { opacity: 1; }

.tap-layer { position: absolute; inset: 0; z-index: 5; border: 0; background: transparent; padding: 0; display: none; cursor: pointer; }
.is-vsl .tap-layer { display: block; }

.spinner { position: absolute; z-index: 7; left: 50%; top: 40%; width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%; border: 3px solid rgba(243, 220, 138, .25); border-top-color: var(--gold-2); animation: girar .9s linear infinite; opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.spinner.show { opacity: 1; }
@keyframes girar { to { transform: rotate(360deg); } }

.sound-pill { position: absolute; z-index: 8; top: calc(22px + env(safe-area-inset-top, 0px)); right: 12px; border: 1px solid rgba(243, 220, 138, .6); background: rgba(10, 7, 5, .7); color: var(--ink); border-radius: 999px; padding: 9px 14px; font-size: 13px; font-weight: 600; display: none; animation: pildora 1.8s ease-in-out infinite; }
.sound-pill.show { display: block; }
@keyframes pildora { 50% { box-shadow: 0 0 0 6px rgba(243, 220, 138, .15); } }

/* panel: entra por encima de la mesa y sigue hasta el final de la pantalla */
.panel { position: absolute; z-index: 10; left: 50%; top: var(--panel-top); bottom: 0; width: var(--panel-w, min(100%, 520px)); transform: translateX(-50%); padding: 0 16px calc(16px + env(safe-area-inset-bottom, 0px)); transition: top .45s ease, width .45s ease; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.panel::-webkit-scrollbar { display: none; }
.panel > * { flex: none; }
.panel.rola { -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 36px), transparent); }
/* caja invisible donde el motor mide cuánto ocupa cada pantalla */
.panel.medida { top: 0; bottom: auto; left: 0; transform: none; visibility: hidden; pointer-events: none; overflow: visible; z-index: -1; transition: none; }

/* entrada y salida de las piezas */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .45s ease, transform .55s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.panel.leaving > * { opacity: 0 !important; transform: translateY(10px) !important; transition: opacity .3s ease, transform .3s ease; }
.soft-out { opacity: 0 !important; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease; pointer-events: none; }

/* pantalla inicial */
.start { text-align: center; padding-top: 2px; }
.start h1 { margin: 0 auto 8px; max-width: 440px; text-wrap: balance; font-size: clamp(19px, 5.4vw, 24px); line-height: 1.22; font-weight: 700; text-shadow: 0 2px 12px rgba(0, 0, 0, .7); }
.start p { margin: 0 auto 16px; max-width: 420px; font-size: clamp(15.5px, 4.3vw, 17.5px); line-height: 1.45; color: var(--muted); }
.start p b { color: var(--ink); }
.start .recomecar { display: block; margin: 10px auto 0; padding: 6px 10px; border: 0; background: none; color: var(--muted); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.cta { display: block; width: 100%; border: 0; border-radius: 14px; padding: 17px 18px; font-size: clamp(16px, 4.5vw, 19px); font-weight: 700; letter-spacing: .2px; line-height: 1.25; text-align: center; text-decoration: none; cursor: pointer; position: relative; overflow: hidden; touch-action: manipulation; }
.cta.gold { color: #1d1406; background: linear-gradient(180deg, #f7e39b 0%, #dcb758 52%, #b78f31 100%); box-shadow: 0 10px 28px rgba(201, 168, 76, .4), inset 0 1px 0 rgba(255, 255, 255, .6); }
.cta.green { color: #fff; background: linear-gradient(180deg, #24c24d 0%, var(--green) 55%, var(--green-2) 100%); box-shadow: 0 10px 28px rgba(18, 165, 56, .45), inset 0 1px 0 rgba(255, 255, 255, .35); }
.cta.ghost { background: transparent; color: var(--ink); border: 1px solid rgba(255, 255, 255, .28); box-shadow: none; }
.cta::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-18deg); animation: brillo 3.2s ease-in-out infinite; }
.cta.ghost::after { display: none; }
@keyframes brillo { 0%, 55% { left: -60%; } 100% { left: 130%; } }
.cta.pulse { animation: pulso 1.6s ease-in-out infinite; }
@keyframes pulso { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }
.cta.reveal.in.pulse { transform: none; }
.cta:active { filter: brightness(.95); }

/* preguntas */
.question { display: flex; flex-direction: column; gap: 9px; padding-top: 4px; }
.question:not(.demo) { flex: 1 0 auto; }
.question .q { margin: 0 -6px 2px; padding: 5px 16px; text-align: center; font-size: 16.5px; font-weight: 600; line-height: 1.35; color: var(--gold-2); text-shadow: 0 2px 10px rgba(0, 0, 0, .8); text-wrap: balance; background: linear-gradient(90deg, rgba(8, 5, 3, 0), rgba(8, 5, 3, .62) 18%, rgba(8, 5, 3, .62) 82%, rgba(8, 5, 3, 0)); }
.opt { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 11px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--ink); text-align: left; font-size: clamp(15.5px, 4.3vw, 17px); font-weight: 500; line-height: 1.32; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); cursor: pointer; touch-action: manipulation; transition: opacity .45s ease, transform .55s cubic-bezier(.2, .8, .2, 1), background .25s ease, border-color .25s ease, box-shadow .25s ease; }
.opt .e { flex: none; width: 32px; text-align: center; font-size: 24px; line-height: 1; font-family: var(--emoji); }
.opt:active { transform: scale(.985); }
.opt.sel { color: #1d1406; border-color: var(--gold-2); background: linear-gradient(135deg, #f7e39b, #d4ad4c 60%, #b88f31); box-shadow: 0 0 0 3px rgba(243, 220, 138, .22), 0 10px 26px rgba(201, 168, 76, .45); }
.opt.sel::after { content: "✓"; margin-left: auto; font-weight: 700; padding-left: 8px; }
.opt.out { opacity: 0 !important; transform: translateY(8px) scale(.98) !important; pointer-events: none; }
.question.locked .opt { pointer-events: none; }
/* tardó en responder: las respuestas brillan suave, de a una */
.question.nudge .opt { animation: aviso 2.6s ease-in-out infinite; }
.question.nudge .opt:nth-of-type(2) { animation-delay: .3s; }
.question.nudge .opt:nth-of-type(3) { animation-delay: .6s; }
.question.nudge .opt:nth-of-type(4) { animation-delay: .9s; }
@keyframes aviso { 0%, 60%, 100% { border-color: var(--line); box-shadow: 0 6px 18px rgba(0, 0, 0, .35); } 30% { border-color: rgba(243, 220, 138, .9); box-shadow: 0 0 0 2px rgba(243, 220, 138, .28), 0 0 24px rgba(243, 220, 138, .32); } }
/* recordatorio del sonido, pegado al pie del panel */
.question .som { margin-top: auto; padding-top: 8px; text-align: center; font-size: 13.5px; color: var(--muted); }
.question .som .e { font-family: var(--emoji); margin-right: 4px; }
.question.locked .som { opacity: 0 !important; transition: opacity .3s ease; }

/* lista de ejemplo de la pregunta 1: solo la forma, sin texto y sin toque */
.question.demo { position: relative; pointer-events: none; }
.question.demo .q { background: none; padding-top: 8px; padding-bottom: 8px; display: flex; justify-content: center; }
.question.demo .barra { display: block; height: 11px; border-radius: 6px; background: linear-gradient(90deg, rgba(243, 220, 138, .5), rgba(243, 220, 138, .22)); }
.question.demo .opt .tx { flex: 1; }
.question.demo .opt .barra { background: rgba(255, 250, 240, .22); }
.question.demo .opt.sel .barra, .question.demo .opt.sel .bolinha { background: rgba(29, 20, 6, .35); }
.question.demo .bolinha { display: block; width: 22px; height: 22px; margin: 0 auto; border-radius: 50%; background: rgba(243, 220, 138, .35); }
.question.demo .opt.sel::after { content: none; }
.question.demo .dedo { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: rgba(255, 255, 255, .9); box-shadow: 0 0 0 6px rgba(255, 255, 255, .25), 0 4px 14px rgba(0, 0, 0, .5); opacity: 0; transform: translate(40px, 40px) scale(.8); transition: opacity .3s ease, transform .45s cubic-bezier(.2, .8, .2, 1); }
.question.demo .dedo.in { opacity: 1; transform: none; }
.question.demo .dedo.toque { animation: dedo .5s ease; }
@keyframes dedo { 40% { transform: scale(.7); box-shadow: 0 0 0 14px rgba(255, 255, 255, .12), 0 4px 14px rgba(0, 0, 0, .5); } }

/* análisis */
.analysis { text-align: center; padding-top: 10px; }
.analysis .t { text-wrap: balance; font-family: Cinzel, Georgia, serif; font-size: clamp(19px, 5.4vw, 23px); font-weight: 700; color: var(--gold-2); letter-spacing: .4px; text-shadow: 0 2px 12px rgba(0, 0, 0, .8); }
.bar { margin: 14px auto 10px; height: 10px; border-radius: 10px; background: rgba(255, 255, 255, .12); overflow: hidden; border: 1px solid rgba(243, 220, 138, .25); max-width: 420px; }
.bar i { display: block; height: 100%; width: 0; border-radius: 10px; background: linear-gradient(90deg, var(--gold-3), var(--gold-2), var(--gold-3)); background-size: 200% 100%; animation: correr 1.4s linear infinite; box-shadow: 0 0 14px rgba(243, 220, 138, .65); }
@keyframes correr { to { background-position: -200% 0; } }
.analysis .sub { display: flex; justify-content: space-between; gap: 10px; max-width: 420px; margin: 0 auto; font-size: 15px; color: var(--muted); }
.analysis .sub b { color: var(--ink); font-variant-numeric: tabular-nums; }
.analysis .sub span { transition: opacity .3s ease; }

/* cartas */
.cards-wrap { position: relative; padding-top: 2px; }
.cards-wrap .t { text-wrap: balance; text-align: center; font-size: 17px; font-weight: 600; color: var(--gold-2); margin: 0 0 4px; text-shadow: 0 2px 10px rgba(0, 0, 0, .8); }
.cards-wrap .c { text-align: center; font-size: 14.5px; color: var(--muted); margin: 0 0 10px; }
.cards-wrap .c b { color: var(--ink); }
.grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 8px; max-width: 380px; margin: 8px auto 0; }
.grid.tres { grid-template-columns: repeat(3, 1fr); max-width: 300px; gap: 14px; margin: 34px auto 8px; }
.grid.tres .card .badge { top: -30px; }
.card { position: relative; display: block; aspect-ratio: 236 / 329; perspective: 900px; cursor: pointer; border: 0; padding: 0; background: transparent; touch-action: manipulation; opacity: 0; transform: translateY(-26px) scale(.7) rotate(var(--r, 0deg)); transition: opacity .5s ease, transform .6s cubic-bezier(.2, .9, .25, 1.1); }
.card.dealt { opacity: 1; transform: none; }
.card .inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.2, .75, .2, 1); }
.card.flip .inner { transform: rotateY(180deg); }
.card .face { position: absolute; inset: 0; border-radius: 7px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 6px 16px rgba(0, 0, 0, .55); }
.card .back { background: linear-gradient(160deg, #e9cd74, #b8902f); }
.card .face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card .front { transform: rotateY(180deg); visibility: hidden; background: #1a120a; }
.card.flip .front { visibility: visible; transition: visibility 0s linear .1s; }
.card.flip .back { visibility: hidden; transition: visibility 0s linear .1s; }
.card .badge { position: absolute; z-index: 3; top: -13px; left: 50%; width: 24px; height: 24px; margin-left: -12px; border-radius: 50%; background: var(--gold-2); color: #1d1406; font: 700 13px/24px Cinzel, Georgia, serif; text-align: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .6); opacity: 0; transform: scale(.4); transition: opacity .3s ease .35s, transform .35s cubic-bezier(.2, .9, .3, 1.4) .35s; }
.card.flip .badge { opacity: 1; transform: none; }
.card.flip .face { box-shadow: 0 0 0 2px rgba(243, 220, 138, .85), 0 0 22px rgba(243, 220, 138, .55); }
.card.gone { opacity: 0 !important; transform: scale(.9) !important; pointer-events: none; transition: opacity .4s ease, transform .4s ease; }
.grid.locked .card { pointer-events: none; }
.card:not(.flip):active .inner { transform: scale(.96); }
/* cartas dibujadas (cuando config.js no trae imágenes) */
.dib-dorso { position: absolute; inset: 3px; border-radius: 5px; border: 1px solid rgba(29, 20, 6, .55); background: repeating-linear-gradient(45deg, #3a2a12 0 5px, #241808 5px 10px); }
.dib-dorso::after { content: "✦"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--gold-2); font-size: 18px; }
.dib { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 7% 4%; text-align: center; background: linear-gradient(#2a1c0d, #120b05); }
.dib small { font: 700 10px Cinzel, Georgia, serif; color: var(--gold-2); }
.dib em { font-style: normal; font-size: 22px; font-family: var(--emoji); }
.dib > span { font: 700 8px/1.1 Cinzel, Georgia, serif; color: var(--gold-2); }
.grid.tres .dib small { font-size: 13px; } .grid.tres .dib em { font-size: 32px; } .grid.tres .dib > span { font-size: 10px; }

.spark { position: fixed; z-index: 50; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: radial-gradient(circle, #fff7d1 0%, #f3dc8a 45%, rgba(243, 220, 138, 0) 70%); pointer-events: none; animation: chispa var(--d, .8s) ease-out forwards; }
@keyframes chispa { 0% { transform: translate(0, 0) scale(1); opacity: 1; } 100% { transform: translate(var(--x), var(--y)) scale(.2); opacity: 0; } }

.result { margin-top: 14px; }
/* después de las 3 cartas: sin título ni contador; cartas y botón con aire entre sí */
.cards-wrap.escolhidas .t, .cards-wrap.escolhidas .c { display: none; }
.cards-wrap.escolhidas .grid.tres { margin-top: 30px; margin-bottom: 0; }
.cards-wrap.escolhidas .result { margin-top: 30px; }

/* VSL */
.vsl-panel { padding-top: 12px; text-align: center; }
.vsl-panel .head { text-wrap: balance; font-size: clamp(16px, 4.6vw, 18.5px); line-height: 1.4; color: var(--muted); margin: 0 6px 12px; }
.vsl-panel .head b { color: var(--gold-2); font-weight: 700; }
.vsl-panel .secure { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.vsl-panel .secure .e { font-family: var(--emoji); }
.vsl-panel.sem-head .head { display: none; }
.minhas { margin: 18px auto 0; max-width: 300px; text-align: center; }
.minhas .lbl { font-family: Cinzel, Georgia, serif; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.minhas .row { display: flex; justify-content: center; gap: 14px; }
.minhas .mini { position: relative; width: 64px; }
.minhas .mini-c { position: relative; display: block; aspect-ratio: 236 / 382; border-radius: 5px; overflow: hidden; box-shadow: 0 0 0 1.5px rgba(243, 220, 138, .7), 0 6px 14px rgba(0, 0, 0, .55); }
.minhas .mini-c img { width: 100%; height: 100%; object-fit: cover; display: block; }
.minhas .mini .n { position: absolute; z-index: 2; top: -8px; left: 50%; margin-left: -10px; width: 20px; height: 20px; border-radius: 50%; background: var(--gold-2); color: #1d1406; font: 700 11px/20px Cinzel, Georgia, serif; text-align: center; box-shadow: 0 2px 6px rgba(0, 0, 0, .6); }
.minhas .mini .nm { display: block; margin-top: 6px; font-size: 10.5px; line-height: 1.2; color: var(--muted); }
@media (max-height: 700px) { .minhas { display: none; } }

/* VSL en pausa: aviso encima del video (el toque pasa al video y continúa) */
.pausa-aviso { position: absolute; inset: 0; z-index: 8; display: flex; align-items: center; justify-content: center; padding: 20px; background: radial-gradient(120% 90% at 50% 50%, rgba(8, 5, 3, .55), rgba(8, 5, 3, .82)); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s linear .25s; pointer-events: none; }
.pausa-aviso.show { opacity: 1; visibility: visible; transition: opacity .25s ease; }
.pa-box { text-align: center; max-width: 330px; }
.pa-play { width: 74px; height: 74px; margin: 0 auto 14px; border-radius: 50%; background: rgba(10, 7, 5, .6); border: 2px solid var(--gold-2); display: flex; align-items: center; justify-content: center; animation: paPulso 1.4s ease-in-out infinite; }
.pa-play span { width: 0; height: 0; margin-left: 6px; border-left: 24px solid var(--gold-2); border-top: 15px solid transparent; border-bottom: 15px solid transparent; }
@keyframes paPulso { 50% { box-shadow: 0 0 0 10px rgba(243, 220, 138, .16); } }
.pa-t { font-family: Cinzel, Georgia, serif; font-weight: 700; font-size: clamp(22px, 6.4vw, 28px); color: var(--gold-2); text-shadow: 0 2px 12px rgba(0, 0, 0, .8); margin-bottom: 8px; }
.pa-s { font-size: clamp(15px, 4.2vw, 17px); line-height: 1.45; color: var(--ink); text-shadow: 0 2px 10px rgba(0, 0, 0, .9); text-wrap: balance; }
.pa-b { margin-top: 14px; display: inline-block; padding: 10px 18px; border-radius: 999px; background: linear-gradient(180deg, #f7e39b, #c9a443); color: #1d1406; font-weight: 700; font-size: 15px; }

/* avisos superpuestos (continuar donde quedó, toca para continuar) */
.overlay { position: absolute; inset: 0; z-index: 40; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(8, 5, 3, .55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.overlay[hidden] { display: none; }
.sheet { width: min(100%, 380px); background: rgba(20, 14, 9, .92); border: 1px solid var(--line); border-radius: 18px; padding: 22px 18px 18px; text-align: center; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.sheet h2 { font-family: Cinzel, Georgia, serif; font-size: 19px; color: var(--gold-2); margin: 0 0 6px; }
.sheet p { margin: 0 0 16px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.sheet .cta + .cta { margin-top: 10px; }

.debug { position: fixed; left: 6px; bottom: 6px; z-index: 99; font: 11px/1.35 monospace; background: rgba(0, 0, 0, .7); color: #9f9; padding: 6px 8px; border-radius: 6px; pointer-events: none; max-width: 70vw; }

/* celular: opciones algo más compactas, para que el panel de preguntas no suba sobre el video */
@media (max-width: 560px) {
  .panel { padding-left: 13px; padding-right: 13px; }
  .opt { min-height: 48px; padding: 8px 12px 8px 10px; gap: 9px; font-size: clamp(14.5px, 3.85vw, 15.5px); line-height: 1.27; }
  .opt .e { width: 24px; font-size: 20px; }
  .question { gap: 7px; }
  .question .q { font-size: 16px; padding: 3px 14px; line-height: 1.3; }
}
/* pantallas bajas: se aprieta el espacio */
@media (max-height: 760px) {
  .start p { margin-bottom: 12px; }
  .opt { min-height: 46px; padding: 7px 12px 7px 10px; gap: 9px; font-size: 15px; line-height: 1.26; }
  .opt .e { width: 24px; font-size: 20px; }
  .question { gap: 7px; }
  .question .q { font-size: 15.5px; padding: 4px 14px; }
}
@media (max-height: 700px) { .grid { max-width: 330px; } }
@media (max-height: 620px) { .grid { max-width: 290px; gap: 16px 7px; } .cards-wrap .c { margin-bottom: 6px; } }
@media (max-height: 600px) {
  .opt { min-height: 46px; padding: 7px 11px; font-size: 14.5px; }
  .question { gap: 6px; padding-top: 2px; }
  .question .q { font-size: 14px; line-height: 1.3; }
  .start p { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cta.pulse, .cta::after, .progress i.now::after, .bar i, .question.nudge .opt { animation: none; }
  .card, .reveal, .opt, .stage, .panel { transition-duration: .01s; }
}
/* navegadores viejos (iOS 13–14, Chrome anterior al 88): sin aspect-ratio y sin gap en flex */
@supports not (aspect-ratio: 1 / 1) {
  .card::before { content: ""; display: block; padding-top: 139.4%; }
  .minhas .mini-c { height: 104px; }
  .question > * + * { margin-top: 9px; }
  .opt .e { margin-right: 12px; }
  .minhas .row .mini + .mini { margin-left: 14px; }
  .progress i + i { margin-left: 6px; }
}
