/* public/voicewizard.js -- camino de dos pasos para clonar tu voz: barra de pasos, volteo entre tarjetas, destello */
.vw-wizard { position: relative; margin: 6px 0 4px; display: grid; gap: 12px; perspective: 900px; }
.vw-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.vw-steps { display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0; }
.vw-pill { flex: 0 1 auto; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 6px 16px 6px 8px; border-radius: 999px; font-size: 1rem; font-weight: 800;
  background: rgba(255, 255, 255, 0.07); color: var(--text, #fff); border: 1.5px solid rgba(255, 255, 255, 0.18); box-shadow: none; transition: transform 0.12s ease, background 0.2s ease, border-color 0.2s ease; }
.vw-pill b { width: 32px; height: 32px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 1rem; background: rgba(255, 255, 255, 0.14); transition: background 0.2s ease; }
.vw-pill:active { transform: scale(0.96); }
.vw-pill.is-on { background: linear-gradient(135deg, var(--accent), var(--accent-2)); border-color: transparent; color: #07070c; box-shadow: 0 8px 22px rgb(var(--accent-rgb) / 40%); }
.vw-pill.is-on b { background: rgba(7, 7, 12, 0.18); }
.vw-pill.is-done { border-color: #2fbf71; }
.vw-pill.is-done b { background: #2fbf71; color: #07210f; }
.vw-link { flex: 1 1 14px; min-width: 14px; max-width: 48px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.18); }
.vw-fx { width: 44px; height: 44px; min-height: 0; padding: 0; border-radius: 50%; font-size: 1.15rem; background: rgba(255, 255, 255, 0.07); border: 1.5px solid rgba(255, 255, 255, 0.18); color: var(--text, #fff); box-shadow: none; }
.vw-fx[aria-pressed="false"] { opacity: 0.6; }
.vw-stage { position: relative; transform-style: preserve-3d; }
.vw-card.vw-hide { display: none !important; }
.vw-card { transform-origin: 50% 50%; backface-visibility: hidden; }
.vw-enter-r { animation: vwInR 0.55s cubic-bezier(0.2, 0.8, 0.2, 1); }
.vw-enter-l { animation: vwInL 0.55s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes vwInR { from { opacity: 0; transform: rotateY(-78deg) translateX(30px) scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes vwInL { from { opacity: 0; transform: rotateY(78deg) translateX(-30px) scale(0.94); } to { opacity: 1; transform: none; } }
.vw-flash { position: absolute; inset: -6px; border-radius: 22px; pointer-events: none; opacity: 0; z-index: 5; mix-blend-mode: screen; }
@media (prefers-reduced-motion: reduce) { .vw-enter-r, .vw-enter-l { animation: none; } }
/* en modo avanzado (PC) solo se ve la grabadora: el resto son los controles de siempre */
html:not(.is-easy) .vw-steps, html:not(.is-easy) .vw-fx { display: none; }
html:not(.is-easy) .vw-top { display: none; }
html:not(.is-easy) .vw-card.vw-hide.qr-box { display: grid !important; }

.vw-wizard.rec-done #vsNote { display: none !important; }

/* cuadrito de la cancion (sin tu voz / con tu voz) */
.vw-song { width: 100%; box-sizing: border-box; justify-self: stretch; display: grid; grid-template-columns: auto 1fr; gap: 10px 12px; align-items: center; margin: 0 0 12px; padding: 12px; border-radius: 18px; background: rgba(255, 255, 255, 0.06); border: 1.5px solid rgba(255, 255, 255, 0.14); }
.vw-song[hidden] { display: none; }
.vw-song.is-playing { border-color: var(--accent); box-shadow: 0 0 0 3px rgb(var(--accent-rgb) / 18%); }
.vw-song.vw-pop { animation: vwPop 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.3); }
@keyframes vwPop { 0% { transform: scale(0.92); } 60% { transform: scale(1.04); } 100% { transform: scale(1); } }
.vw-play { width: 54px; height: 54px; min-height: 0; padding: 0; border-radius: 50%; font-size: 1.2rem; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #07070c; border: 0; box-shadow: 0 6px 18px rgb(var(--accent-rgb) / 40%); }
.vw-play:active { transform: scale(0.94); }
.vw-song-info { min-width: 0; display: grid; gap: 3px; }
.vw-song-title { font-size: 1.02rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vw-song-sub { font-size: 0.82rem; opacity: 0.75; }
.vw-prog { height: 8px; margin-top: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); overflow: hidden; cursor: pointer; }
.vw-prog i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-3, #f0bd4a)); }
.vw-ab { grid-column: 1 / -1; display: flex; gap: 8px; }
.vw-ab button { flex: 1; min-height: 42px; padding: 6px 8px; border-radius: 999px; font-size: 0.85rem; white-space: nowrap; font-weight: 800; background: rgba(255, 255, 255, 0.07); color: var(--text, #fff); border: 1.5px solid rgba(255, 255, 255, 0.18); box-shadow: none; }
.vw-ab button.is-on { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #07070c; border-color: transparent; }
.vw-ab button:disabled { opacity: 0.4; }
