
/* Samantha (llamada con ElevenLabs), copia de DANINI Hair */
#cr-launch { position: fixed; z-index: 2147483000; left: calc(16px + env(safe-area-inset-left, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 18px 6px 6px; border-radius: 999px; cursor: pointer;
  background: #0c0a07; color: #efe7d6; border: 1px solid #d6a84e; box-shadow: 0 10px 30px rgba(0,0,0,.55);
  font: 700 14px/1 Montserrat, system-ui, sans-serif; transition: opacity .3s ease, transform .3s ease; }
#cr-launch img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 12%; border: 1px solid #d6a84e; }
#cr-launch b { width: 9px; height: 9px; border-radius: 50%; background: #3fd17a; box-shadow: 0 0 8px #3fd17a; margin-left: -4px; }
#cr-launch:hover { background: #17130d; }
#cr-launch:focus-visible { outline: 2px solid #f4d894; outline-offset: 3px; }
#cr-launch.busy { opacity: 0; transform: translateY(10px); pointer-events: none; }
#vcall { position: fixed; z-index: 2147483001; left: calc(16px + env(safe-area-inset-left, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  width: 270px; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: #000;
  border: 1px solid #d6a84e; box-shadow: 0 24px 60px rgba(0,0,0,.6), 0 0 0 4px rgba(214,168,78,.12);
  opacity: 0; transform: translateY(14px) scale(.97); transition: opacity .35s ease, transform .35s ease; pointer-events: none; }
#vcall.on { opacity: 1; transform: none; pointer-events: auto; }
#vcall > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Mientras Samantha habla, un brillo dorado suave en el marco */
#vcall::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 2px #f4d894, inset 0 0 36px rgba(244,216,148,.35); opacity: 0; transition: opacity .25s ease; }
#vcall:not(.listening):not(.done).on::after { opacity: 1; }
#vcall .vc-bar { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 12px 12px; background: linear-gradient(transparent, rgba(0,0,0,.85));
  font: 500 12px/1.3 Montserrat, system-ui, sans-serif; color: #efe7d6; display: grid; grid-template-columns: 1fr auto auto; align-items: end; gap: 8px; }
#vcall .vc-who { display: grid; gap: 2px; min-width: 0; }
#vcall .vc-who b { font: 500 17px/1.1 "Cormorant Garamond", Georgia, serif; color: #f4d894; }
#vcall .vc-who small { font: 500 9.5px/1 Montserrat, system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #a3967d; }
#vcall .vc-mute { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.5); color: #fff; cursor: pointer;
  display: grid; place-items: center; }
#vcall .vc-mute svg { width: 18px; height: 18px; }
#vcall .vc-mute .off { display: none; }
#vcall.muted .vc-mute { background: #efe7d6; color: #0c0a07; }
#vcall.muted .vc-mute .on { display: none; }
#vcall.muted .vc-mute .off { display: block; }
#vcall .vc-hang { height: 40px; padding: 0 14px; border-radius: 999px; border: 0; background: #c8372d; color: #fff; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; font: 700 13px/1 Montserrat, system-ui, sans-serif; }
#vcall .vc-hang:hover { background: #a92c23; }
#vcall .vc-hang svg { width: 18px; height: 18px; }
#vcall button:focus-visible { outline: 2px solid #f4d894; outline-offset: 2px; }
#vcall .vc-live { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 999px;
  background: rgba(0,0,0,.55); font: 500 10px/1 Montserrat, system-ui, sans-serif; letter-spacing: .14em; color: #efe7d6; }
#vcall .vc-live i { width: 7px; height: 7px; border-radius: 50%; background: #3fd17a; box-shadow: 0 0 8px #3fd17a; }
#vcall.listening .vc-live i { background: #d6a84e; box-shadow: 0 0 8px #d6a84e; }
#vcall.done .vc-live i { background: #c8372d; box-shadow: none; }
#vcall .vc-clock { position: absolute; top: 10px; right: 10px; padding: 5px 9px; border-radius: 999px; background: rgba(0,0,0,.6); color: #efe7d6;
  font: 500 11px/1 Montserrat, system-ui, sans-serif; letter-spacing: .06em; }
#vcall.ending .vc-clock { background: #c8372d; color: #fff; }
@media (min-width: 761px) { #vcall { width: 300px; } }
@media (max-width: 760px) { /* En celular el botón es solo la foto, para no tapar los botones de la página */
  #cr-launch { padding: 4px; gap: 0; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); } #cr-launch img { width: 50px; height: 50px; }
  #cr-launch span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  #cr-launch b { position: absolute; right: 3px; bottom: 3px; margin: 0; border: 2px solid #0c0a07; width: 12px; height: 12px; }
  #vcall { left: calc(12px + env(safe-area-inset-left, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); width: 52vw; max-width: 230px; border-radius: 16px; }
  #vcall .vc-bar { padding: 26px 8px 8px; grid-template-columns: 1fr auto; } #vcall .vc-who { grid-column: 1 / -1; }
  #vcall .vc-hang { justify-content: center; } }
@media (prefers-reduced-motion: reduce) { #vcall, #vcall::after, #cr-launch { transition: none; } }
