/* --- Floating assistant --- */
.mb-assistant-fab {
  box-shadow: 0 18px 45px rgba(0, 0, 0, .45), 0 0 0 1px rgba(55, 52, 36, 0.25);
}

.mb-pop {
  transform-origin: bottom right;
}

@keyframes mb-popIn {
  from {
    transform: scale(.92) translateY(8px);
    opacity: 0;
  }

  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.mb-popIn {
  animation: mb-popIn .22s ease-out;
}

@keyframes mb-pulseRing {
  0% {
    transform: scale(1);
    opacity: .45;
  }

  70% {
    transform: scale(1.55);
    opacity: 0;
  }

  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

.mb-ring::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 245, 0, .45);
  animation: mb-pulseRing 1.7s ease-out infinite;
}

.mb-typing span {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, .55);
  margin: 0 2px;
}

@keyframes mb-bounce {
  0%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-6px);
  }
}

.mb-typing span:nth-child(1) {
  animation: mb-bounce 1s infinite;
}

.mb-typing span:nth-child(2) {
  animation: mb-bounce 1s .15s infinite;
}

.mb-typing span:nth-child(3) {
  animation: mb-bounce 1s .3s infinite;
}