/* public/voicepick.css -- "Elige tu cancion" dentro de "Canta con tu propia voz" (ver voicepick.js) */
.vp-pick { width: 100%; box-sizing: border-box; margin: 0 0 12px; border-radius: 18px; background: rgb(var(--accent-rgb) / 10%); border: 1.5px solid rgb(var(--accent-rgb) / 40%); overflow: hidden; text-align: left; }
.vp-pick.vp-pop { animation: vwPop 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.3); }
.vp-pick.vp-shake { animation: vpShake 0.45s ease; border-color: var(--danger, #ff6b6b); }
@keyframes vpShake { 0%, 100% { transform: none; } 20% { transform: translateX(-8px); } 40% { transform: translateX(8px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(5px); } }
.vp-head { width: 100%; min-height: 58px; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 12px; background: transparent; color: var(--text, #fff); border: 0; box-shadow: none; text-align: left; }
.vp-ico { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 1.2rem; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.vp-head-txt { flex: 1; min-width: 0; display: grid; gap: 1px; }
.vp-head-txt small { font-size: 0.78rem; opacity: 0.75; }
.vp-head-txt b { font-size: 1.02rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vp-change { flex: none; font-size: 0.85rem; font-weight: 800; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); }
.vp-change:empty { display: none; }
.vp-body { display: grid; gap: 8px; padding: 0 10px 10px; }
.vp-pick.is-closed .vp-body { display: none; }
.vp-search { width: 100%; box-sizing: border-box; min-height: 42px; padding: 8px 14px; border-radius: 999px; font-size: 0.95rem; }
.vp-search[hidden] { display: none; }
.vp-list { display: grid; gap: 8px; max-height: 260px; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 2px; }
.vp-song { width: 100%; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 14px; text-align: left; font-weight: 700;
  background: rgba(255, 255, 255, 0.07); color: var(--text, #fff); border: 1.5px solid rgba(255, 255, 255, 0.16); box-shadow: none; transition: transform 0.12s ease, background 0.2s ease, border-color 0.2s ease; }
.vp-song:active { transform: scale(0.98); }
.vp-song-txt { min-width: 0; display: grid; gap: 1px; }
.vp-song-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 0.98rem; }
.vp-song small { font-size: 0.75rem; opacity: 0.65; font-weight: 600; }
.vp-add { flex: none; min-width: 84px; text-align: center; padding: 9px 12px; border-radius: 999px; font-size: 0.88rem; font-weight: 800; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #07070c; }
.vp-song.is-on { border-color: #2fbf71; background: rgba(47, 191, 113, 0.14); }
.vp-song.is-on .vp-add { background: #2fbf71; color: #07210f; }
.vp-song.is-busy { opacity: 0.7; }
.vp-song.is-busy .vp-add { background: rgba(255, 255, 255, 0.18); color: var(--text, #fff); }
.vp-empty { margin: 0; font-size: 0.9rem; opacity: 0.8; padding: 4px 6px 2px; }
.vp-empty[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .vp-pick.vp-pop, .vp-pick.vp-shake { animation: none; } }

/* con varias voces entrenadas la fila de voces no debe ensanchar la tarjeta (se desliza de lado dentro de ella) */
.vw-wizard, .vw-stage, .vw-card, .cv-box { min-width: 0; max-width: 100%; box-sizing: border-box; }
.cv-box > *, .vw-stage > * { min-width: 0; max-width: 100%; }

/* que todo quepa en la pantalla: tarjetas del cuadro pegadas al ancho de la tarjeta y nombres de canción más chicos (hasta 2 líneas) */
.vw-stage > .vw-card, .vw-stage > .cv-box { width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }
.vp-song { min-height: 48px; padding: 6px 6px 6px 12px; }
.vp-song-name { font-size: 0.84rem; line-height: 1.2; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vp-song small { font-size: 0.7rem; }
.vp-add { min-width: 74px; padding: 7px 10px; font-size: 0.8rem; }
.vp-head { min-height: 52px; }
.vp-head-txt b { font-size: 0.92rem; }
.vw-song-title { font-size: 0.92rem; }

/* causa del corrimiento a la derecha: la columna del asistente se ensanchaba con su contenido; ahora es de ancho fijo (1fr) */
.vw-wizard { grid-template-columns: minmax(0, 1fr); }
.vw-stage { width: 100%; }

/* boton ✕ Quitar (suelta la canción elegida) */
.vp-headrow { display: flex; align-items: center; gap: 6px; padding-right: 10px; }
.vp-headrow .vp-head { flex: 1; min-width: 0; width: auto; }
.vp-clear { flex: none; min-height: 40px; padding: 6px 12px; border-radius: 999px; font-size: 0.82rem; font-weight: 800; background: rgba(224, 69, 122, 0.18); color: #ffb3c8; border: 1.5px solid rgba(224, 69, 122, 0.55); box-shadow: none; }
.vp-clear[hidden] { display: none; }
.vp-clear:active { transform: scale(0.95); }

.vp-clear { width: 40px; height: 40px; min-height: 0; padding: 0; display: grid; place-items: center; font-size: 1rem; }
.vp-head { padding-right: 8px; gap: 8px; }
.vp-head-txt { overflow: hidden; }
.vp-change { padding: 5px 10px; font-size: 0.78rem; }
.vp-head-txt b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.15; font-size: 0.88rem; }

.vp-pick[hidden] { display: none; }

/* ▶ para escuchar la canción y saber cuál es (la fila ahora es un div; el botón ▶ no la elige) */
.vp-song { cursor: pointer; }
.vp-song-txt { flex: 1; }
.vp-play { flex: none; width: 40px; height: 40px; min-height: 0; padding: 0; border-radius: 50%; display: grid; place-items: center; font-size: 0.95rem; line-height: 1; background: rgba(255, 255, 255, 0.14); color: var(--text, #fff); border: 1.5px solid rgba(255, 255, 255, 0.3); box-shadow: none; }
.vp-play.is-playing { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #07070c; border-color: transparent; }
.vp-play:active { transform: scale(0.92); }

.vp-song, .sv-choose-i { gap: 8px; }
.vp-song .vp-play, .sv-choose-i .vp-play { margin-left: auto; }
