/* ══════════════════════════════════════════════════════════════
   10 · BURBUJA DEL ASISTENTE IA
   Mínima: un ícono chiquito y una frase corta, en dos líneas como
   mucho. Sin encabezado ni botón. Se va sola a los pocos segundos y
   queda solo el puntito en el botón. No tapa nada importante.
   Se pisa con #aiTeaser para ganarle a las capas viejas.
   ══════════════════════════════════════════════════════════════ */
#aiTeaser.ai-teaser{
  display:flex; align-items:center; gap:8px;
  right:calc(100% + 10px); bottom:9px; left:auto;
  width:max-content; max-width:min(212px, calc(100vw - 100px));
  padding:7px 11px 7px 7px;
  border-radius:12px 12px 4px 12px;
  background:linear-gradient(160deg, #1B1531 0%, #110D20 100%);
  border:1px solid rgba(167,139,250,.28);
  box-shadow:0 10px 26px -14px rgba(12,8,30,.75);
  color:#ECE9F8; cursor:pointer;
  transform:translateX(6px) scale(.96); transform-origin:100% 100%;
  transition:opacity .35s var(--ease), transform .4s cubic-bezier(.2,1.2,.4,1);
}
#aiTeaser.ai-teaser.show{transform:none}
#aiTeaser.ai-teaser::after{
  content:''; position:absolute; inset:0 12px auto 12px; height:1px; border-radius:0;
  background:linear-gradient(90deg, transparent, rgba(196,181,253,.5), transparent);
}
/* colita hacia el botón */
#aiTeaser.ai-teaser::before{
  right:-6px; bottom:9px;
  border-top:5px solid transparent; border-bottom:5px solid transparent;
  border-left:6px solid #130F24;
  filter:drop-shadow(1px 0 0 rgba(167,139,250,.28));
}
#aiTeaser .who, #aiTeaser .cta{display:none}

#aiTeaser .av{
  flex:0 0 auto; width:22px; height:22px; border-radius:7px;
  display:grid; place-items:center;
  background:linear-gradient(145deg, #8B5CF6, #6D28D9);
}
#aiTeaser .av svg{width:11px; height:11px; fill:#fff}

#aiTeaser p{
  margin:0; font-size:.76rem; line-height:1.32; font-weight:500; color:#E7E3F5;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
#aiTeaser p b{color:#D3C5FF; font-weight:700}
#aiTeaser p::after{content:none}

/* la cruz aparece al pasar el mouse (en celu queda chiquita) */
#aiTeaser .x{
  top:-7px; left:-7px; right:auto; width:17px; height:17px;
  font-size:.55rem; background:#1A1430; border:1px solid rgba(196,181,253,.3); color:#C9C2E6;
  opacity:0; transition:opacity .2s;
}
#aiTeaser:hover .x, #aiTeaser .x:focus-visible{opacity:1}

@media (hover:none){
  #aiTeaser .x{opacity:.9}
}
@media (max-width:640px){
  #aiTeaser.ai-teaser{
    right:calc(100% + 8px); bottom:8px;
    max-width:min(184px, calc(100vw - 96px));
    padding:6px 10px 6px 6px; gap:7px; border-radius:11px 11px 4px 11px;
  }
  #aiTeaser .av{width:20px; height:20px; border-radius:6px}
  #aiTeaser .av svg{width:10px; height:10px}
  #aiTeaser p{font-size:.72rem; line-height:1.3}
}
