/* ---------- estilos de vivos-extra.js (rodada visual 2) ----------
   f19 robôs + karaokê + arquibancada · f20 cacho de balões · f22 sono ·
   f21 sabre, cabine, presentes · relógio do trabalho (tocável).
   Só transform/opacity são animados; fora da tela (palco sem .vv-on) tudo para
   (regra de vivos.css). Movimento reduzido: sem animação, pose estática. */

/* ================= comum: o que se toca ================= */
.vx-toque { pointer-events: auto; cursor: pointer; -webkit-tap-highlight-color: transparent; }
/* área de toque ampliada (mínimo confortável com o dedo) */
.vx-toque::before { content: ''; position: absolute; inset: -8px; }
.vx-premido { opacity: 0.82; }
/* anel pulsante: dica de "toque aqui" até o primeiro toque */
.vx-dica::after {
  content: ''; position: absolute; inset: -4px; border-radius: inherit; pointer-events: none;
  border: 1.5px solid rgba(255, 226, 180, 0.75);
  animation: vx-dica 2.3s cubic-bezier(0.2, 0.6, 0.3, 1) infinite;
}
@keyframes vx-dica {
  0% { transform: scale(0.94); opacity: 0.9; }
  70%, 100% { transform: scale(1.22); opacity: 0; }
}

/* efeitos que sobem e somem (zzz, corações, notas, "bip") */
.vx-fx { position: absolute; left: 0; top: 0; width: max-content; height: max-content; pointer-events: none; will-change: transform, opacity; }
.vx-fx > svg { display: block; width: 22px; height: 22px; }
.vx-fx.vx-mini > svg { width: 14px; height: 14px; }
.vx-fx.vx-z-fx > svg { width: 20px; height: 20px; }
.vx-fx.vx-nota > svg { width: 20px; height: 20px; }
.vx-fx b { display: block; font-weight: 700; white-space: nowrap; }
.vx-fala { font-family: var(--mao); font-size: 19px; color: #fff4ea; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5); }
.vx-pop { font-family: var(--mao); font-size: 23px; color: #fff4ea; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45); }
.vx-faixa { font-family: var(--mao); font-size: 44px; line-height: 1; color: #ffe3c4; text-shadow: 0 0 18px rgba(236, 157, 176, 0.8), 0 2px 10px rgba(0, 0, 0, 0.4); }
.vx-anel { display: block; width: 30px; height: 30px; border-radius: 50%; border: 2px solid rgba(255, 244, 234, 0.9); }
.vx-brasa { display: block; width: 5px; height: 5px; border-radius: 50%; background: #ffd9a0; box-shadow: 0 0 6px 2px rgba(255, 170, 110, 0.6); }
.vx-conf { position: absolute; left: 0; top: 0; width: 7px; height: 10px; border-radius: 2px; pointer-events: none; }
.vx-conf.f1 { width: 8px; height: 8px; border-radius: 50%; }
.vx-conf.f2 { width: 11px; height: 5px; }

/* ================= f19: lanternas, pista, karaokê, arquibancada ================= */
.vx-p-lanternas .c2-lt.vx-toque { transform-origin: 50% 0; }
.vx-rb-pula { display: block; width: 100%; height: 100%; transform-origin: 50% 100%; }
.vx-led { fill: #fff; opacity: 1 !important; animation-duration: 0.18s !important; }
.vx-p-pista .vv-rb-pista.vx-toque::before { inset: -10px -6px; }
.vx-voltas { right: 2px; top: 0; display: flex; align-items: center; gap: 4px; font-family: var(--serif); font-weight: 600; font-size: 14px; color: #f5ede6; z-index: 30; pointer-events: none; }
.vx-voltas svg { width: 14px; height: 14px; }
.vx-voltas b { min-width: 1ch; font-variant-numeric: tabular-nums lining-nums; }

.vv-palco.vx-p-kar { height: 218px; margin: -2px 0 -4px; }
.vx-kar {
  left: 0; right: 0; top: 0; height: 96px; border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)), rgba(26, 15, 26, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 14px 26px -16px rgba(0, 0, 0, 0.8);
  --de: translate3d(0, 24px, 0) scale(0.94);
}
.vx-mic {
  left: 12px; top: 16px; width: 64px; height: 64px; border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, #54404f, #1d141d);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.vx-mic svg { position: absolute; left: 8px; top: 8px; width: 48px; height: 48px; }
.vx-mic-luz {
  position: absolute; inset: -16px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 204, 150, 0.6), rgba(255, 160, 120, 0.2) 55%, transparent);
  opacity: 0; transition: opacity 0.4s var(--curva);
}
.cantando .vx-mic-luz { opacity: 1; animation: vx-pulsa 0.6s ease-in-out infinite alternate; }
@keyframes vx-pulsa { from { transform: scale(0.92); } to { transform: scale(1.12); } }
.vx-tela {
  left: 88px; right: 66px; top: 8px; bottom: 8px; padding: 6px 10px 0; border-radius: 12px;
  background: #130c15; border: 1px solid rgba(255, 220, 180, 0.16);
  opacity: 0.72; transition: opacity 0.4s var(--curva);
}
.cantando .vx-tela { opacity: 1; }
.vx-placa { margin: 0; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--dourado); white-space: nowrap; overflow: hidden; }
.vx-musica { margin: 2px 0 0; font-family: var(--mao); font-weight: 600; font-size: 21px; line-height: 1; color: #fff1e2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vx-nota-c { color: var(--rosa); }
.vx-sils { position: relative; display: flex; gap: 4px; margin-top: 9px; height: 6px; }
.vx-sil { position: relative; display: block; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.15); overflow: hidden; }
.vx-sil u { position: absolute; inset: 0; background: linear-gradient(90deg, #f1cf9c, #ec9db0); transform-origin: 0 50%; transform: scaleX(0); text-decoration: none; }
.vx-sil.on u { transform: scaleX(1); }
.vx-bola {
  position: absolute; left: 0; top: -2px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 8px 2px rgba(255, 226, 170, 0.85); opacity: 0;
}
.vx-eq { right: 16px; top: 24px; width: 36px; height: 50px; display: flex; align-items: flex-end; gap: 3px; }
.vx-eq i { flex: 1; height: 100%; border-radius: 2px; background: linear-gradient(#ec9db0, #f1cf9c); transform-origin: 50% 100%; transform: scaleY(0.16); opacity: 0.6; }
.cantando .vx-eq i { opacity: 1; animation: vx-eq 0.52s ease-in-out infinite alternate; }
.cantando .vx-eq i:nth-child(2) { animation-duration: 0.4s; animation-delay: -0.2s; }
.cantando .vx-eq i:nth-child(3) { animation-duration: 0.6s; animation-delay: -0.1s; }
.cantando .vx-eq i:nth-child(4) { animation-duration: 0.45s; animation-delay: -0.3s; }
.cantando .vx-eq i:nth-child(5) { animation-duration: 0.55s; animation-delay: -0.15s; }
@keyframes vx-eq { from { transform: scaleY(0.2); } to { transform: scaleY(1); } }
.vx-nota > svg { filter: none; }

.vx-plateia { left: 0; right: 0; top: 108px; height: 108px; --de: translate3d(0, 20px, 0) scale(0.96); --atraso: 0.2s; }
.vx-plateia > svg { position: absolute; inset: 0; }
.vx-fila { animation: vx-bob 2.8s ease-in-out infinite alternate; }
.vx-fila1 { animation-delay: -0.9s; animation-duration: 3.1s; }
.vx-fila2 { animation-delay: -1.7s; animation-duration: 2.5s; }
.vx-vibra .vx-fila { animation-duration: 0.34s; }
@keyframes vx-bob { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, -2px, 0); } }
.vx-casal-hit { left: 50%; top: 52px; width: 70px; height: 56px; margin-left: -35px; border-radius: 18px; }
.vx-casal-hit.vx-dica::after { inset: -2px; }

/* ================= f20: cacho de balões ================= */
.vv-palco.vx-p-baloes { height: 112px; margin: -4px 0 -2px; }
.vx-bl { width: 34px; height: 79px; }
.vx-bl-g, .vx-bl-in { display: block; width: 100%; height: 100%; }
.vx-bl-in { transform-origin: 50% 54%; animation: vx-bl-bob 3.2s ease-in-out infinite alternate; }
@keyframes vx-bl-bob {
  from { transform: rotate(-5deg) translate3d(-2px, 2px, 0); }
  to { transform: rotate(5deg) translate3d(2px, -4px, 0); }
}
.vx-bl.vx-toque::before { inset: -4px -6px; }
.vx-bl svg { overflow: visible; }

/* ================= f22: sono ================= */
.vx-lua.vx-dica::after { inset: 4px; border-radius: 50%; }
.vx-postal.vx-dica::after { inset: -3px; border-radius: 9px; }
.vx-sabre.vx-dica::after { inset: -2px; border-radius: 14px; }
.vx-p-pista .vv-rb-pista.vx-dica::after { inset: 0; border-radius: 50%; }
.vx-st { width: 3px; height: 3px; border-radius: 50%; background: #e8ecff; opacity: 0.2; transform: scale(var(--s)); animation: vx-st 4s ease-in-out infinite alternate; }
@keyframes vx-st { from { opacity: 0.12; } to { opacity: 0.85; } }
.vx-zz { top: 100%; width: calc(22px * var(--s)); height: calc(22px * var(--s)); opacity: 0; animation: vx-zz-sobe 12s ease-in-out infinite; }
@keyframes vx-zz-sobe {
  0% { transform: translate3d(0, 0, 0) rotate(-8deg); opacity: 0; }
  14% { opacity: 0.5; }
  70% { opacity: 0.3; }
  100% { transform: translate3d(var(--dx), -84svh, 0) rotate(14deg); opacity: 0; }
}
.vx-lua { right: -4px; top: -128px; width: 86px; height: 86px; --de: translate3d(0, -24px, 0) scale(0.6); --atraso: 0.15s; }
.vx-lua-halo { inset: -34px; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgba(255, 240, 200, 0.38), rgba(255, 230, 180, 0.1) 55%, transparent); }
.vx-lua-sway { inset: 0; transform-origin: 50% 0; animation: vx-lua-sway 7s ease-in-out infinite alternate; }
@keyframes vx-lua-sway { from { transform: rotate(-4deg); } to { transform: rotate(4deg) translate3d(0, 3px, 0); } }
.vx-lua-in { position: absolute; inset: 0; }
.vx-lua-estr { width: 12px; height: 12px; animation: vx-twinkle 3s ease-in-out infinite; }
.vx-lua-estr.e1 { left: -26px; top: 10px; }
.vx-lua-estr.e2 { left: -6px; top: -18px; width: 9px; height: 9px; animation-delay: -1s; }
.vx-lua-estr.e3 { left: -38px; top: 44px; width: 8px; height: 8px; animation-delay: -2s; }
@keyframes vx-twinkle { 0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; } 50% { transform: scale(0.55) rotate(25deg); opacity: 0.45; } }
.vx-lua-z { left: 4px; top: 34px; width: 16px; height: 16px; opacity: 0; animation: vx-lua-z 6.6s ease-in-out infinite; }
.vx-lua-z.z2 { animation-delay: -2.2s; }
.vx-lua-z.z3 { animation-delay: -4.4s; }
@keyframes vx-lua-z {
  0% { transform: translate3d(0, 0, 0) scale(0.5); opacity: 0; }
  20% { opacity: 0.85; }
  100% { transform: translate3d(-52px, -64px, 0) scale(1.25); opacity: 0; }
}
.vv-palco.vx-p-cama { height: 214px; margin: -14px 0 -6px; }
.vx-cama { left: 0; right: 0; bottom: 0; height: 126px; --de: translate3d(0, 24px, 0) scale(0.96); }
.vx-resp { transform-box: fill-box; transform-origin: 50% 100%; animation: vx-respira 5.6s ease-in-out infinite; }
.vx-resp.r2 { animation-delay: -1.9s; }
@keyframes vx-respira { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(1.06) translate3d(0, -0.5px, 0); } }
.vx-postal { right: 0; top: 0; width: 138px; height: 96px; --rot: 5deg; --de: translate3d(46px, 30px, 0) rotate(20deg) scale(0.6); --atraso: 0.35s; z-index: 3; }
.vx-postal-in { inset: 0; transform-style: preserve-3d; }
.vx-face {
  position: absolute; inset: 0; border-radius: 7px; overflow: hidden;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow: 0 12px 20px -10px rgba(0, 0, 0, 0.7);
}
.vx-frente { background: #f6f0e6; }
.vx-frente svg { position: absolute; left: 4px; top: 4px; width: calc(100% - 8px); height: calc(100% - 8px); border-radius: 3px; }
.vx-pt { position: absolute; left: 13px; top: 10px; margin: 0; font-family: var(--mao); font-weight: 700; font-size: 25px; line-height: 0.9; color: #fff7ea; text-shadow: 0 1px 8px rgba(40, 20, 50, 0.7); }
.vx-pt small { display: block; margin-top: 2px; font-family: var(--serif); font-size: 12px; font-weight: 600; letter-spacing: 0.22em; }
.vx-verso { transform: rotateY(180deg); background: #f4e8d6; color: #5a3a2a; }
.vx-pv { position: absolute; left: 10px; top: 9px; width: 60%; margin: 0; font-family: var(--mao); font-weight: 500; font-size: 14.5px; line-height: 1.1; }
.vx-selo { position: absolute; right: 8px; top: 8px; width: 22px; height: 26px; padding: 3px; border: 1.5px dashed #b99a70; border-radius: 3px; }
.vx-selo svg { display: block; width: 100%; height: 100%; }
.vx-carimbo { position: absolute; right: 14px; top: 44px; width: 36px; height: 36px; display: grid; place-items: center; font-style: normal; font-family: var(--serif); font-weight: 600; font-size: 10px; letter-spacing: 0.06em; color: rgba(150, 60, 60, 0.8); border: 1.5px solid rgba(150, 60, 60, 0.55); border-radius: 50%; transform: rotate(-14deg); }
.vx-linha { position: absolute; left: 10px; height: 1px; background: rgba(90, 58, 42, 0.18); width: 60%; }
.vx-linha.l1 { bottom: 20px; }
.vx-linha.l2 { bottom: 11px; width: 40%; }

/* ================= f21: fundo, sabre, cabine, presentes ================= */
.vx-neb { border-radius: 50%; pointer-events: none; animation: vx-deriva 42s ease-in-out infinite alternate; }
.vx-neb.n1 { left: -35%; top: -8%; width: 100%; height: 56%; background: radial-gradient(closest-side, rgba(80, 100, 220, 0.2), transparent); }
.vx-neb.n2 { left: 38%; top: 52%; width: 90%; height: 52%; background: radial-gradient(closest-side, rgba(210, 100, 160, 0.14), transparent); animation-delay: -18s; }
@keyframes vx-deriva { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(8%, 5%, 0) scale(1.12); } }
.vx-cometa { width: 90px; height: 2px; opacity: 0; animation: vx-cometa 9s linear infinite; }
.vx-cometa b { display: block; width: 100%; height: 100%; border-radius: 2px; background: linear-gradient(90deg, transparent, rgba(214, 228, 255, 0.95)); }
@keyframes vx-cometa {
  0% { transform: translate3d(-80px, -40px, 0) rotate(28deg); opacity: 0; }
  4% { opacity: 1; }
  22% { transform: translate3d(280px, 140px, 0) rotate(28deg); opacity: 0; }
  100% { transform: translate3d(280px, 140px, 0) rotate(28deg); opacity: 0; }
}
.vx-nave { left: -80px; width: 56px; height: 23px; opacity: 0.8; animation: vx-nave 28s linear infinite; }
@keyframes vx-nave { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(560px, -34px, 0); } }

.vx-sabre { left: -16px; top: -74px; width: 152px; height: 26px; --rot: -24deg; --de: translate3d(-24px, 14px, 0) scale(0.7); --atraso: 0.2s; transform-origin: 0 50%; }
.vx-sabre-sway { inset: 0; transform-origin: 0 50%; }
.vx-cabo { left: 0; top: 4px; width: 46px !important; height: 18px !important; }
.vx-lamina-box { left: 42px; top: 0; width: 108px; height: 26px; transform-origin: 0 50%; transform: scaleX(1); transition: transform 0.55s cubic-bezier(0.2, 0.9, 0.2, 1); }
.vx-sabre.vx-apagado .vx-lamina-box { transform: scaleX(0.02); transition-duration: 0.38s; }
.vv-palco:not(.vv-chegou) .vx-lamina-box { transform: scaleX(0.02); }
.vx-lamina-box > i { position: absolute; left: 0; width: 100%; border-radius: 99px; }
.vx-lamina-halo { top: -10px; height: 46px; background: var(--cor); opacity: 0.12; }
.vx-lamina-glow { top: -3px; height: 32px; background: var(--cor); opacity: 0.3; }
.vx-lamina { top: 8px; height: 10px; background: linear-gradient(180deg, var(--cor), #fff 32%, #fff 68%, var(--cor)); animation: vx-zum 0.16s steps(2) infinite alternate; }
@keyframes vx-zum { from { opacity: 0.88; } to { opacity: 1; } }
.vx-sabre { transition-delay: 0.2s; }

.vx-cabine.vx-dica::after { inset: 3px; border-radius: 19px; animation-name: vx-dica-in; }
@keyframes vx-dica-in { 0%, 100% { opacity: 0; } 50% { opacity: 0.9; } }
.vx-cabine.vx-flash .vv-cabine-vidro { background: radial-gradient(60% 75% at 50% 50%, rgba(255, 255, 255, 0.9), rgba(190, 210, 255, 0.35) 60%, rgba(150, 180, 255, 0) 85%); transition-duration: 0.12s; }
.vx-hud { inset: 0; pointer-events: none; }
.vx-hud svg { position: absolute; left: 14px; bottom: 9px; width: 84px; height: 19px; opacity: 0.72; }
.vx-mira { position: absolute; left: 50%; top: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; border: 1px solid rgba(190, 215, 255, 0.4); }
.vx-mira::before, .vx-mira::after { content: ''; position: absolute; background: rgba(190, 215, 255, 0.35); }
.vx-mira::before { left: 50%; top: -7px; bottom: -7px; width: 1px; }
.vx-mira::after { top: 50%; left: -7px; right: -7px; height: 1px; }
.vx-vel { position: absolute; right: 14px; bottom: 11px; width: 52px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.14); overflow: hidden; }
.vx-vel u { display: block; height: 100%; background: linear-gradient(90deg, #9fc4ff, #fff); transform-origin: 0 50%; transform: scaleX(0.1); text-decoration: none; }

/* presentes */
.vv-palco.vx-p-presentes { width: min(90vw, 380px) !important; height: auto; margin: 6px 0 0; }
.vx-p-presentes > .vx-pr-grade { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 8px; width: 100%; }
.vx-pr {
  position: relative; width: calc((100% - 24px) / 4); min-width: 70px;
  display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 4px 6px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03)), rgba(22, 13, 24, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 10px 18px -12px rgba(0, 0, 0, 0.8);
}
.vx-pr.vx-toque::before { inset: -3px; }
.vx-pr.vx-dica::after { inset: 0; border-radius: 18px; border-color: rgba(255, 226, 180, 0.5); }
.vx-pr-cena { width: 100%; aspect-ratio: 1; }
.vx-pr-cena svg { display: block; width: 100%; height: 100%; overflow: visible; }
.vx-pr-nome { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 10.5px; line-height: 1.05; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dourado); text-align: center; }
.vx-jj { position: absolute; left: 0; top: 0; width: 9px; height: 13px; border-radius: 5px; pointer-events: none; }
.m-vapor path { fill: none; stroke: rgba(255, 255, 255, 0.72); stroke-width: 2.2; stroke-linecap: round; transform-box: fill-box; transform-origin: 50% 100%; opacity: 0; animation: vx-vapor 2.8s ease-in-out infinite; }
.m-vapor .v2 { animation-delay: -0.95s; }
.m-vapor .v3 { animation-delay: -1.9s; }
.vx-quente .m-vapor path { animation-duration: 1.5s; stroke-width: 3; }
@keyframes vx-vapor {
  0% { transform: translate3d(0, 5px, 0) scaleY(0.7); opacity: 0; }
  30% { opacity: 0.85; }
  100% { transform: translate3d(0, -10px, 0) scaleY(1.3); opacity: 0; }
}
.s-brilho { transform-box: fill-box; }

/* ================= trabalho: relógio tocável ================= */
.vx-rr-toque { pointer-events: auto; cursor: pointer; border-radius: 50%; }
.vx-rr-toque.vx-dica::after { inset: -6px; border-radius: 50%; }
.vv-p-trabalho .vv-rr-aro { transition: stroke 0.5s var(--curva); }
.vx-turbo .vv-rr-aro { stroke: #ff9a8a !important; }
.vx-parado .vv-rr-aro { stroke: #9fc4ff !important; }
.vx-parado .vv-rr-eixo { background: #9fc4ff; }

/* ================= movimento reduzido: pose estática ================= */
.vv-palco.vv-reduzido .vx-bl-in, .vv-palco.vv-reduzido .vx-resp { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  .vx-st, .vx-zz, .vx-cometa, .vx-nave, .vx-neb, .vx-lamina, .vx-dica::after, .vx-lua-sway, .vx-lua-z, .vx-lua-estr, .m-vapor path { animation: none !important; }
  .vx-lamina-box { transition: none; }
}
.vv-palco.vv-reduzido .vx-lamina-box { transition: none; }
.vv-palco.vv-reduzido .m-vapor path { opacity: 0.5; }
