/* En la Party: pantalla para proyectar y páginas del invitado */
:root {
  --negro: #000; --teal: #06c1ca; --magenta: #e60371; --crema: #ffedca;
  --tenue: rgba(255, 255, 255, .62); --linea: rgba(255, 255, 255, .12);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }

/* ================================================================ PANTALLA */
body.pantalla { margin: 0; background: #000; color: #fff; font-family: 'Segoe UI', Arial, sans-serif; overflow: hidden; }
.pt {
  height: 100vh; display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 2.2vh; padding: 2.4vh 2.4vw;
  background:
    radial-gradient(60vw 50vh at 0% 0%, rgba(230, 3, 113, .22), transparent 70%),
    radial-gradient(55vw 55vh at 100% 100%, rgba(6, 193, 202, .18), transparent 70%), #000;
}
.pt:fullscreen, .pt:-webkit-full-screen { width: 100vw; height: 100vh; }

/* Encabezado: marca, título de la fiesta y cómo entrar */
.pt-cab { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 2.4vw; }
.pt-marca { display: flex; align-items: center; gap: .7vw; font-weight: 800; font-size: 2.3vh; letter-spacing: .02em; }
.pt-marca img { height: 6vh; width: 6vh; border-radius: 1vh; }
.pt-marca span { color: var(--teal); margin-left: .35em; }
.pt-titulo { min-width: 0; }
.pt-titulo small { display: flex; align-items: center; gap: .6vw; color: var(--teal); text-transform: uppercase; letter-spacing: .28em; font-size: 1.6vh; font-weight: 700; }
.pt-vivo { width: 1.1vh; height: 1.1vh; border-radius: 50%; background: var(--magenta); box-shadow: 0 0 0 0 rgba(230, 3, 113, .7); animation: pt-latido 1.6s infinite; }
.pt.cerrada .pt-vivo { background: #777; animation: none; }
.pt-titulo h1 { margin: .4vh 0 0; font-size: clamp(26px, 5.6vh, 80px); line-height: 1.04; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-msg { margin: .6vh 0 0; color: var(--crema); font-size: 2.1vh; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-msg:empty { display: none; }
.pt-entrar { display: flex; align-items: center; gap: 1.2vw; background: rgba(255, 255, 255, .06); border: 1px solid var(--linea); border-radius: 1.8vh; padding: 1.2vh 1.4vw 1.2vh 1.2vh; }
.pt-qr { width: 12vh; height: 12vh; background: #fff; border-radius: 1vh; padding: .8vh; flex-shrink: 0; }
.pt-qr svg { width: 100%; height: 100%; display: block; }
.pt-entrar-txt { display: flex; flex-direction: column; line-height: 1.15; }
.pt-entrar-txt small { color: var(--tenue); font-size: 1.45vh; }
.pt-entrar-txt strong { font-size: 2.3vh; margin-bottom: .5vh; }
.pt-codigo { font-size: 5.4vh; font-weight: 800; letter-spacing: .08em; color: var(--crema); text-shadow: 0 0 2.4vh rgba(230, 3, 113, .65); white-space: nowrap; }
.pt.cerrada .pt-entrar { opacity: .45; }

/* Cuerpo: video + lista */
.pt-cuerpo { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(300px, 1fr); gap: 2vw; min-height: 0; }
.pt-video { display: flex; flex-direction: column; gap: 1.6vh; min-height: 0; }
.pt-marco { position: relative; flex: 1; min-height: 0; border-radius: 2vh; overflow: hidden; background: #070707;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 2.4vh 7vh rgba(230, 3, 113, .2); }
.pt-marco iframe, #yt { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pt.sin-video #yt { visibility: hidden; }
/* ---------- Canción de Spotify (sin video): portada grande ---------- */
.pt-sp { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 4vw; padding: 4vh 5vw; overflow: hidden; background: #050505; }
.sp-fondo { position: absolute; inset: -8%; background-size: cover; background-position: center; filter: blur(5vh) saturate(1.3) brightness(.45); transform: scale(1.1); }
.sp-portada { position: relative; width: min(46vh, 38%); aspect-ratio: 1; object-fit: cover; border-radius: 1.6vh; box-shadow: 0 3vh 8vh rgba(0, 0, 0, .65), 0 0 0 .5vh rgba(255, 255, 255, .06); }
.sp-portada:not([src]), .sp-portada[src=""] { visibility: hidden; }
.sp-info { position: relative; min-width: 0; max-width: 46%; }
.sp-info small { display: flex; align-items: center; gap: 1vh; color: #1ed760; text-transform: uppercase; letter-spacing: .22em; font-size: 1.7vh; font-weight: 700; }
.sp-marca { width: 2.4vh; height: 2.4vh; border-radius: 50%; background: #1ed760; box-shadow: inset 0 -.5vh 0 rgba(0, 0, 0, .25); }
.sp-info strong { display: block; margin: 1.4vh 0 1vh; font-size: 5vh; line-height: 1.08; font-weight: 800; }
.sp-info span { color: var(--crema); font-size: 2.6vh; }
.sp-info span b { color: #fff; }

/* ---------- Letra (modo Karaoke): con la marca de Tequila Sounds ---------- */
@property --alto { syntax: '<percentage>'; inherits: false; initial-value: 30%; }
.pt-letra { position: absolute; inset: 0; overflow: hidden; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; font-family: 'Segoe UI', Arial, sans-serif;
  background: radial-gradient(70% 60% at 0% 0%, rgba(230, 3, 113, .34), transparent 70%), radial-gradient(60% 60% at 100% 100%, rgba(6, 193, 202, .26), transparent 70%), #000; }
.lt-fondo { position: absolute; inset: -10%; background-size: cover; background-position: center; filter: blur(6vh) saturate(1.2) brightness(.32); opacity: .55; transform: scale(1.1); }
/* Barritas del logo: columnas de bloques magenta, turquesa y crema que se mueven como ecualizador */
.lt-eq { position: absolute; left: 0; right: 0; bottom: 0; height: 34%; display: flex; align-items: stretch; gap: .9vw; padding: 0 1.4vw; opacity: .13; pointer-events: none; }
.lt-eq i { flex: 1; --alto: 30%;
  background: linear-gradient(to top, var(--magenta) 0 44%, var(--teal) 44% 75%, var(--crema) 75% 100%);
  -webkit-mask: linear-gradient(to top, #000 var(--alto), transparent var(--alto)), repeating-linear-gradient(to top, #000 0 2.1vh, transparent 2.1vh 2.7vh);
  -webkit-mask-composite: source-in; mask-composite: intersect;
  animation: lt-eq var(--d, 1.2s) ease-in-out var(--r, 0s) infinite alternate; }
@keyframes lt-eq { 0% { --alto: 12%; } 45% { --alto: var(--max, 60%); } 100% { --alto: 24%; } }
.pt-letra:not(.sonando) .lt-eq i { animation-play-state: paused; }
.lt-cab { position: relative; display: flex; align-items: center; gap: 1.6vw; padding: 3vh 3vw 0; }
.lt-logo { width: 7.4vh; }
.lt-cancion { min-width: 0; }
.lt-cancion small { display: block; font-size: 2vh; color: var(--teal); text-transform: uppercase; letter-spacing: .24em; font-weight: 700; }
.lt-cancion small b { color: #fff; background: var(--magenta); border-radius: 99px; padding: .2vh 1.4vh; margin-left: .4vh; letter-spacing: .06em; }
.lt-cancion strong { display: block; margin-top: .6vh; font-size: 2.8vh; font-weight: 700; color: var(--crema); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lt-ventana { position: relative; overflow: hidden; -webkit-mask: linear-gradient(to bottom, transparent, #000 16%, #000 80%, transparent); mask: linear-gradient(to bottom, transparent, #000 16%, #000 80%, transparent); }
.lt-lineas { position: absolute; left: 0; right: 0; top: 0; padding: 0 6vw; text-align: center; transition: transform .55s cubic-bezier(.25, .8, .25, 1); will-change: transform; }
.lt-lineas p { margin: 0; padding: 1.1vh 0; font-size: 6.2vh; line-height: 1.16; font-weight: 800; letter-spacing: -.01em; color: rgba(255, 255, 255, .5);
  transform: scale(.78); opacity: .55; transition: transform .45s ease, opacity .45s ease, color .45s; transform-origin: center; text-wrap: balance; }
.lt-lineas p.proxima { opacity: .8; transform: scale(.84); color: rgba(255, 255, 255, .78); }
.lt-lineas p.pasada { color: rgba(255, 237, 202, .6); opacity: .42; }
.lt-lineas p.actual { transform: scale(1); opacity: 1; filter: drop-shadow(0 0 1.4vh rgba(230, 3, 113, .5)); }
.lt-lineas p.actual span { --p: 0%; color: transparent; -webkit-background-clip: text; background-clip: text;
  background-image: linear-gradient(90deg, var(--magenta), var(--crema) var(--p), #fff var(--p)); }
.lt-plana .lt-lineas p { transform: none; opacity: .9; color: #fff; font-size: 4.6vh; padding: .7vh 0; }
.lt-plana .lt-lineas p:empty { height: 2.6vh; }
.lt-mini-eq { display: inline-flex; align-items: flex-end; gap: .7vh; height: 5vh; vertical-align: middle; }
.lt-mini-eq i { width: 1.6vh; border-radius: .3vh; background: var(--magenta); animation: pt-eq .9s ease-in-out infinite alternate; }
.lt-mini-eq i:nth-child(2n) { background: var(--teal); animation-duration: .7s; } .lt-mini-eq i:nth-child(3n) { background: var(--crema); animation-duration: 1.2s; }
.lt-intro { position: absolute; inset: 22% 6vw 18%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 2vh; }
.lt-intro { background: radial-gradient(closest-side, rgba(0, 0, 0, .75), transparent); }
.lt-intro small { font-size: 2.4vh; color: var(--teal); text-transform: uppercase; letter-spacing: .3em; font-weight: 700; }
.lt-intro strong { font-size: 9vh; line-height: 1.05; font-weight: 800; max-width: 90%;
  background: linear-gradient(90deg, var(--magenta), var(--crema) 50%, var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lt-intro span { font-size: 2.8vh; color: #fff; font-weight: 600; max-width: 90%; }
.lt-intro em { font-style: normal; font-size: 2.2vh; color: var(--tenue); }
.lt-cuenta { display: flex; gap: 1.2vh; }
.lt-cuenta i { width: 6vh; height: 3.4vh; border-radius: .4vh; background: rgba(255, 255, 255, .1); transition: background .2s, box-shadow .2s; }
.lt-cuenta i.on:nth-child(1) { background: var(--magenta); box-shadow: 0 0 2vh rgba(230, 3, 113, .7); }
.lt-cuenta i.on:nth-child(2) { background: var(--teal); box-shadow: 0 0 2vh rgba(6, 193, 202, .7); }
.lt-cuenta i.on:nth-child(3) { background: var(--crema); box-shadow: 0 0 2vh rgba(255, 237, 202, .7); }
.pt-letra.en-intro .lt-ventana { opacity: 0; }
.lt-ventana { transition: opacity .4s; }
/* Avance de la canción en bloques, como el logo */
.lt-avance { position: relative; height: 1.4vh; margin: 0 3vw 3vh; border-radius: .3vh; overflow: hidden;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .1) 0 2.2vh, transparent 2.2vh 2.7vh); }
.lt-avance i { position: absolute; inset: 0 auto 0 0; width: 0;
  background: linear-gradient(90deg, var(--magenta) 0 60%, var(--teal) 60% 88%, var(--crema) 88%);
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 2.2vh, transparent 2.2vh 2.7vh); mask: repeating-linear-gradient(90deg, #000 0 2.2vh, transparent 2.2vh 2.7vh);
  background-size: 94vw 100%; transition: width .25s linear; }
.lt-nota { position: absolute; right: 3vw; top: 3.4vh; margin: 0; font-size: 1.6vh; color: var(--tenue); background: rgba(0, 0, 0, .4); border: 1px solid var(--linea); border-radius: 99px; padding: .5vh 1.4vh; }
.pt.ampliado .lt-ventana { margin-bottom: 14vh; }
.pt.ampliado .lt-avance { display: none; }
.pt-chip { position: absolute; left: 50%; top: 2.4vh; transform: translateX(-50%); z-index: 3; background: rgba(0, 0, 0, .72); border: 1px solid var(--linea); border-radius: 99px;
  padding: .8vh 2vh; font-size: 1.9vh; color: var(--crema); white-space: nowrap; }
/* Logo animado del sitio (copia de las reglas de style.css) */
.logo-eq { display: block; height: auto; flex-shrink: 0; overflow: visible; }
.logo-eq .eq-c { transform-box: fill-box; transform-origin: 50% 100%; }
.logo-eq .eq-ts { transform-box: fill-box; transform-origin: 50% 50%; }
.logo-eq-vivo .eq-c { animation: eq-vivo 1.4s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -0.23s); }
.logo-eq-vivo .eq-c:nth-child(2n) { animation-duration: 1.1s; }
.logo-eq-vivo .eq-c:nth-child(3n) { animation-duration: 1.7s; }
@keyframes eq-vivo { 0% { transform: scaleY(1); } 35% { transform: scaleY(.62); } 70% { transform: scaleY(.88); } 100% { transform: scaleY(.7); } }

/* Capa sobre el video: YouTube no recibe el mouse, así no muestra su título, logo ni sugerencias */
.pt-escudo { position: absolute; inset: 0; z-index: 1; background: transparent; cursor: pointer; }
.pt.sin-video .pt-escudo { display: none; }
.pt:not(.ver-controles) .pt-escudo { cursor: none; }
/* Pausa propia: tapa la barra de "más videos" que YouTube pone al pausar */
.pt-pausa { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1vh; cursor: pointer;
  background: radial-gradient(ellipse at center, rgba(230, 3, 113, .22), rgba(0, 0, 0, .9) 70%), rgba(0, 0, 0, .78); }
.pt-pausa[hidden], .pt-seguir[hidden] { display: none; }
.pt-pausa-ico { width: 13vh; height: 13vh; border-radius: 50%; display: grid; place-items: center; font-size: 4.6vh; letter-spacing: -.4vh;
  background: var(--magenta); box-shadow: 0 0 0 1vh rgba(230, 3, 113, .25); }
.pt-pausa strong { font-size: 5vh; margin-top: 1.4vh; }
.pt-pausa small { font-size: 2.2vh; color: var(--tenue); }
.pt-seguir { position: absolute; z-index: 4; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 1.2vh;
  background: var(--magenta); color: #fff; border: 0; border-radius: 99px; padding: 2vh 4.4vh; font: 800 3vh 'Segoe UI', Arial, sans-serif; cursor: pointer;
  box-shadow: 0 0 0 .8vh rgba(230, 3, 113, .25), 0 1.6vh 4vh rgba(0, 0, 0, .6); }

.pt-vacio { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 4vh;
  background: radial-gradient(ellipse at center, rgba(230, 3, 113, .16), transparent 65%), #070707; }
.pt-vacio h2 { margin: 2.4vh 0 1vh; font-size: 5.4vh; font-weight: 800; }
.pt-vacio p { margin: 0; font-size: 2.6vh; color: var(--tenue); line-height: 1.4; }
.pt-vacio p strong { color: #fff; }
.pt-codigo-grande { display: block; margin-top: 1.4vh; font-size: 13vh; font-weight: 800; letter-spacing: .06em; line-height: 1;
  background: linear-gradient(90deg, var(--magenta), var(--crema) 50%, var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pt-eq-grande { display: flex; align-items: flex-end; gap: 1vh; height: 10vh; }
.pt-eq-grande i { width: 2.2vh; border-radius: .4vh; background: var(--magenta); animation: pt-eq 1.1s ease-in-out infinite alternate; }
.pt-eq-grande i:nth-child(2n) { background: var(--teal); animation-duration: .8s; }
.pt-eq-grande i:nth-child(3n) { background: var(--crema); animation-duration: 1.4s; }
.pt-eq-grande i:nth-child(1) { animation-delay: -.2s; } .pt-eq-grande i:nth-child(4) { animation-delay: -.6s; } .pt-eq-grande i:nth-child(6) { animation-delay: -.4s; }

.pt-empezar { margin-top: 3.4vh; display: flex; align-items: center; gap: 1.2vh;
  background: var(--magenta); color: #fff; border: 0; border-radius: 99px; padding: 2vh 4.4vh; font: 800 3vh 'Segoe UI', Arial, sans-serif; cursor: pointer;
  box-shadow: 0 0 0 .8vh rgba(230, 3, 113, .25), 0 1.6vh 4vh rgba(230, 3, 113, .45); animation: pt-pulso 1.8s ease-in-out infinite; }
.pt-empezar span { font-size: 2.6vh; }

.pt-turno { position: absolute; top: 4vh; left: 50%; transform: translateX(-50%); background: var(--magenta); border-radius: 2vh; padding: 1.6vh 4vh; text-align: center;
  box-shadow: 0 2vh 6vh rgba(0, 0, 0, .55); animation: pt-pop .5s cubic-bezier(.2, 1.4, .4, 1); z-index: 3; }
.pt-turno small { display: block; font-size: 2.2vh; text-transform: uppercase; letter-spacing: .2em; font-weight: 700; }
.pt-turno strong { display: block; font-size: 7vh; line-height: 1.05; }

.pt-banda { display: none; position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 6vh 3vw 3vh; grid-template-columns: auto minmax(0, 1fr) auto; gap: 3vw; align-items: end;
  background: linear-gradient(to top, rgba(0, 0, 0, .88), rgba(0, 0, 0, .55) 60%, transparent); pointer-events: none; }
.pt-banda small { display: block; color: var(--teal); text-transform: uppercase; letter-spacing: .2em; font-size: 1.6vh; font-weight: 700; }
.pt-banda-ahora strong { font-size: 4.6vh; }
.pt-banda-sig { min-width: 0; color: var(--tenue); font-size: 2vh; }
.pt-banda-sig strong { display: block; color: #fff; font-size: 2.4vh; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-banda-codigo { text-align: right; }
.pt-banda-codigo small { color: var(--tenue); letter-spacing: 0; text-transform: none; }
.pt-banda-codigo b { font-size: 5vh; color: var(--crema); letter-spacing: .06em; text-shadow: 0 0 2vh rgba(230, 3, 113, .6); }

.pt-ahora { display: flex; align-items: center; gap: 1.4vw; background: rgba(255, 255, 255, .05); border: 1px solid var(--linea); border-radius: 1.6vh; padding: 1.5vh 1.6vw; }
.pt-ahora > div { min-width: 0; }
.pt-ahora small { display: block; color: var(--teal); text-transform: uppercase; letter-spacing: .22em; font-size: 1.5vh; font-weight: 700; }
.pt-ahora strong { display: block; font-size: 3vh; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-ahora span { color: var(--crema); font-size: 2.3vh; }
.pt-ahora span b { color: #fff; }
.pt-eq { display: flex; align-items: flex-end; gap: .45vh; height: 4.2vh; flex-shrink: 0; }
.pt-eq i { width: .9vh; background: var(--magenta); border-radius: .2vh; animation: pt-eq .9s ease-in-out infinite alternate; }
.pt-eq i:nth-child(2) { background: var(--teal); animation-duration: .7s; } .pt-eq i:nth-child(3) { background: var(--crema); animation-duration: 1.2s; } .pt-eq i:nth-child(4) { animation-duration: .6s; }

/* Lista de siguientes */
.pt-lista { display: flex; flex-direction: column; min-height: 0; background: rgba(255, 255, 255, .04); border: 1px solid var(--linea); border-radius: 2vh; padding: 2.2vh 1.4vw; overflow: hidden; }
.pt-lista h2 { margin: 0 0 1.6vh; font-size: 2.5vh; text-transform: uppercase; letter-spacing: .16em; display: flex; align-items: center; gap: .8vw; }
.pt-num { background: var(--magenta); border-radius: 99px; padding: .2vh 1.2vh; font-size: 1.9vh; letter-spacing: 0; }
.pt-num:empty { display: none; }
.pt-lista ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.1vh; flex: 1 1 auto; min-height: 0; overflow: hidden; }
.pt-lista li { display: grid; grid-template-columns: 3.6vh 12vh minmax(0, 1fr); gap: 1vw; align-items: center; padding: .9vh; border-radius: 1.2vh; background: rgba(255, 255, 255, .035);
  animation: pt-entra .45s ease both; }
.pt-lista li.pt-prox { background: linear-gradient(90deg, rgba(230, 3, 113, .3), rgba(230, 3, 113, .05)); box-shadow: inset .5vh 0 0 var(--magenta); }
.pt-pos { font-size: 2.6vh; font-weight: 800; color: var(--teal); text-align: center; }
.pt-lista img { width: 12vh; aspect-ratio: 16 / 9; object-fit: cover; border-radius: .8vh; display: block; background: #111; }
.pt-lista li strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 2vh; line-height: 1.22; }
.pt-lista li span { display: block; margin-top: .3vh; font-size: 1.75vh; color: var(--crema); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-lista li span b { color: #fff; }
.pt-lista-vacia { margin: auto 0; text-align: center; color: var(--tenue); font-size: 2.2vh; line-height: 1.5; }
.pt-lista-vacia span { color: var(--teal); font-weight: 700; }
.pt-mas { margin: 1.4vh 0 0; text-align: center; color: var(--teal); font-size: 1.9vh; font-weight: 700; }

/* Solo lista (sin video): el audio sigue, la lista ocupa todo */
.pt.modo-lista .pt-cuerpo { display: flex; flex-direction: column; gap: 2vh; }
.pt.modo-lista .pt-video { display: contents; }
.pt.modo-lista .pt-lista { flex: 1; }
.pt.modo-lista .pt-marco { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; overflow: hidden; }
.pt.modo-lista .pt-lista ol { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: min-content; align-content: start; column-gap: 1.6vw; row-gap: 1.1vh; }
.pt.modo-lista .pt-lista li { grid-template-columns: 4.4vh 15vh minmax(0, 1fr); }
.pt.modo-lista .pt-lista img { width: 15vh; }
.pt.modo-lista .pt-lista li strong { font-size: 2.4vh; }
.pt.modo-lista .pt-lista li span { font-size: 2vh; }

/* Video ampliado: solo el video, con quién lo pidió, lo que sigue y el código */
.pt.ampliado { padding: 0; gap: 0; grid-template-rows: minmax(0, 1fr); }
.pt.ampliado .pt-cab, .pt.ampliado .pt-lista, .pt.ampliado .pt-ahora { display: none; }
.pt.ampliado .pt-cuerpo { grid-template-columns: 1fr; }
.pt.ampliado .pt-marco { border-radius: 0; box-shadow: none; }
.pt.ampliado:not(.sin-video) .pt-banda { display: grid; }

/* Controles: aparecen al mover el mouse y se esconden solos */
.pt-controles { position: fixed; left: 50%; bottom: 2.4vh; transform: translate(-50%, 1vh); display: flex; gap: 4px; padding: 6px; z-index: 10;
  background: rgba(15, 15, 15, .86); border: 1px solid var(--linea); border-radius: 99px; backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.pt.ver-controles .pt-controles { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.pt-controles button, .pt-controles a { display: flex; align-items: center; gap: 8px; background: none; border: 0; color: #fff; text-decoration: none;
  font: 600 14px 'Segoe UI', Arial, sans-serif; padding: 10px 16px; border-radius: 99px; cursor: pointer; white-space: nowrap; }
.pt-controles button:hover, .pt-controles a:hover { background: rgba(255, 255, 255, .12); }
.pt-controles em { font-style: normal; }
.pt-controles button[data-accion=play] { background: var(--magenta); }
.pt-volumen { display: flex; align-items: center; gap: 0; background: rgba(255, 255, 255, .06); border-radius: 99px; }
.pt-volumen button { padding: 10px 12px; gap: 4px; }
.pt-volumen em { font-weight: 800; font-size: 16px; }
.pt-letra-ctrl { display: flex; align-items: center; background: rgba(230, 3, 113, .16); border-radius: 99px; }
.pt-letra-ctrl button { padding: 10px 12px; }
.pt-letra-ctrl b { min-width: 44px; text-align: center; font: 700 13px 'Segoe UI', Arial, sans-serif; color: var(--crema); }
@media (max-width: 1600px) { .pt-controles > button:not([data-accion=play]) em, .pt-controles > a em { display: none; } }
@media (max-width: 1100px) { .pt-letra-ctrl button[data-accion=otra-letra] em { display: none; } }
.pt-volumen b { min-width: 46px; text-align: center; font: 700 13px 'Segoe UI', Arial, sans-serif; color: var(--crema); }
.pt:not(.ver-controles) { cursor: none; }
.pt-aviso { position: fixed; top: 2vh; left: 50%; transform: translateX(-50%); z-index: 11; background: #fff; color: #000; border-left: 6px solid var(--magenta);
  padding: 12px 18px; border-radius: 10px; font: 600 15px 'Segoe UI', Arial, sans-serif; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); max-width: 80vw; }

@keyframes pt-eq { from { height: 18%; } to { height: 100%; } }
@keyframes pt-latido { 0% { box-shadow: 0 0 0 0 rgba(230, 3, 113, .7); } 70% { box-shadow: 0 0 0 1.2vh rgba(230, 3, 113, 0); } 100% { box-shadow: 0 0 0 0 rgba(230, 3, 113, 0); } }
@keyframes pt-pulso { 50% { box-shadow: 0 0 0 1.6vh rgba(230, 3, 113, .12), 0 1.6vh 4vh rgba(230, 3, 113, .45); } }
@keyframes pt-pop { from { transform: translateX(-50%) scale(.6); opacity: 0; } to { transform: translateX(-50%) scale(1); opacity: 1; } }
@keyframes pt-entra { from { opacity: 0; transform: translateX(1.4vw); } to { opacity: 1; transform: none; } }

@media (max-aspect-ratio: 4/3) {
  /* Pantallas verticales o casi cuadradas: la lista va debajo del video */
  .pt-cuerpo { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1.2fr) minmax(0, 1fr); }
  .pt-cab { grid-template-columns: minmax(0, 1fr) auto; }
  .pt-marca { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pt-eq i, .pt-eq-grande i, .pt-vivo, .pt-empezar, .pt-lista li, .lt-eq i, .lt-mini-eq i, .logo-eq .eq-c { animation: none; }
}

/* ================================================================ INVITADOS */
body.party { margin: 0; min-height: 100vh; background: #000; color: #fff; font-family: 'Segoe UI', Arial, sans-serif;
  background-image: radial-gradient(90vw 60vh at 0% 0%, rgba(230, 3, 113, .28), transparent 70%), radial-gradient(90vw 60vh at 100% 100%, rgba(6, 193, 202, .22), transparent 70%);
  background-attachment: fixed; }
.party a { color: inherit; }
.py-cab { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; }
.py-marca { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 16px; text-decoration: none; }
.py-marca img { width: 32px; height: 32px; border-radius: 7px; }
.py-marca span { color: var(--teal); }
.py-cab .py-chip { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--crema); border: 1px solid rgba(255, 237, 202, .35); border-radius: 99px; padding: 5px 11px; }
.py-main { max-width: 520px; margin: 0 auto; padding: 8px 20px 48px; }
.py-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--teal); text-transform: uppercase; letter-spacing: .24em; font-size: 12px; font-weight: 700; }
.py-kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--magenta); animation: pt-latido 1.6s infinite; }
.py-main h1 { font-size: 34px; line-height: 1.08; margin: 10px 0 8px; font-weight: 800; }
.py-main h1 em { font-style: normal; background: linear-gradient(90deg, var(--magenta), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.py-lead { color: rgba(255, 255, 255, .78); font-size: 15.5px; line-height: 1.55; margin: 0 0 22px; }
.py-tarjeta { background: rgba(255, 255, 255, .06); border: 1px solid var(--linea); border-radius: 18px; padding: 20px; margin-bottom: 18px; backdrop-filter: blur(6px); }
.py-tarjeta h2 { margin: 0 0 12px; font-size: 15px; text-transform: uppercase; letter-spacing: .16em; color: var(--crema); }
.py-campo { display: block; font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .8); margin-bottom: 14px; }
.py-campo input { display: block; width: 100%; margin-top: 6px; padding: 14px 15px; border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, .18); background: rgba(0, 0, 0, .45);
  color: #fff; font: 500 16px 'Segoe UI', Arial, sans-serif; }
.py-campo input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(6, 193, 202, .25); }
.py-campo small { display: block; margin-top: 6px; font-weight: 400; color: rgba(255, 255, 255, .6); font-size: 12.5px; line-height: 1.45; }
.py-codigo { text-align: center; font-size: 36px !important; font-weight: 800 !important; letter-spacing: .38em; padding: 16px 10px 16px calc(10px + .38em) !important; }
.py-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; border: 0; border-radius: 14px; padding: 16px; cursor: pointer;
  background: linear-gradient(90deg, var(--magenta), #ff2d8a); color: #fff; font: 800 17px 'Segoe UI', Arial, sans-serif; box-shadow: 0 10px 28px rgba(230, 3, 113, .4); }
.py-btn:disabled { opacity: .6; cursor: wait; }
.py-btn-2 { background: transparent; border: 1.5px solid var(--teal); color: var(--teal); box-shadow: none; text-decoration: none; margin-top: 10px; }
.py-error, .py-ok { border-radius: 12px; padding: 12px 14px; font-size: 14.5px; line-height: 1.45; margin-bottom: 16px; }
.py-error { background: rgba(230, 3, 113, .18); border: 1px solid rgba(230, 3, 113, .6); }
.py-ok { background: rgba(6, 193, 202, .16); border: 1px solid rgba(6, 193, 202, .6); }
.py-aviso { border-radius: 12px; padding: 12px 14px 12px 46px; font-size: 14.5px; line-height: 1.45; margin-bottom: 16px; position: relative;
  background: rgba(255, 237, 202, .12); border: 1px solid rgba(255, 237, 202, .55); }
.py-aviso::before { content: '😉'; position: absolute; left: 14px; top: 11px; font-size: 20px; }
.py-pasos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 6px 0 22px; }
.py-pasos div { background: rgba(255, 255, 255, .05); border: 1px solid var(--linea); border-radius: 14px; padding: 12px 10px; font-size: 12.5px; color: rgba(255, 255, 255, .78); line-height: 1.4; }
.py-pasos b { display: block; font-size: 20px; color: var(--crema); margin-bottom: 4px; }
.py-eq { display: flex; align-items: flex-end; gap: 5px; height: 46px; margin: 4px 0 14px; }
.py-eq i { width: 9px; border-radius: 2px; background: var(--magenta); animation: pt-eq 1s ease-in-out infinite alternate; }
.py-eq i:nth-child(2n) { background: var(--teal); animation-duration: .75s; } .py-eq i:nth-child(3n) { background: var(--crema); animation-duration: 1.3s; }

.py-ahora { display: flex; gap: 12px; align-items: center; }
.py-ahora img { width: 96px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 9px; }
.py-ahora strong { display: block; font-size: 15px; line-height: 1.3; }
.py-ahora span { font-size: 13px; color: var(--crema); }
.py-lista { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.py-lista li { display: grid; grid-template-columns: 26px 72px minmax(0, 1fr); gap: 10px; align-items: center; padding: 7px; border-radius: 11px; background: rgba(255, 255, 255, .04); }
.py-lista li.mia { background: rgba(6, 193, 202, .14); box-shadow: inset 3px 0 0 var(--teal); }
.py-lista .pos { font-weight: 800; color: var(--teal); text-align: center; }
.py-lista img { width: 72px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 7px; }
.py-lista strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13.5px; line-height: 1.3; }
.py-lista span { font-size: 12.5px; color: var(--crema); }
.py-lista em { font-style: normal; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; background: var(--teal); color: #000; border-radius: 6px; padding: 1px 6px; margin-left: 6px; }
.py-vacio { color: rgba(255, 255, 255, .6); font-size: 14px; margin: 0; }
.py-pie { text-align: center; color: rgba(255, 255, 255, .45); font-size: 12px; padding: 0 20px 28px; }
.py-pie a { color: var(--teal); }
@media (max-width: 380px) { .py-main h1 { font-size: 28px; } .py-codigo { font-size: 30px !important; letter-spacing: .28em; } }
