.bf-biohub-avatar[data-bf-biohub-mascot="true"] {
  position: relative !important;
  width: 48px !important;
  height: 48px !important;
  flex: 0 0 48px !important;
  overflow: visible !important;
  border-radius: 17px 17px 19px 15px !important;
  background:
    radial-gradient(circle at 28% 16%, rgba(255,255,255,.28), transparent 34%),
    linear-gradient(145deg, rgba(14,49,86,.97), rgba(29,28,77,.96)) !important;
  box-shadow: 0 0 0 4px rgba(41,153,235,.1), 0 8px 22px rgba(94,89,247,.28) !important;
  isolation: isolate;
}

.bf-biohub-avatar[data-bf-biohub-mascot="true"] > div {
  opacity: 0 !important;
}

.bf-biohub-mascot--live {
  position: absolute !important;
  inset: 0;
  display: grid !important;
  width: 48px !important;
  height: 48px !important;
  place-items: center;
  overflow: visible;
  border: 1px solid rgba(191,222,255,.3);
  border-radius: 17px 17px 19px 15px;
  background:
    radial-gradient(circle at 28% 16%, rgba(255,255,255,.28), transparent 34%),
    linear-gradient(145deg, rgba(14,49,86,.97), rgba(29,28,77,.96));
  box-shadow: 0 0 0 4px rgba(41,153,235,.1), 0 8px 22px rgba(94,89,247,.28);
  animation: bf-biohub-mascot-float 3.8s ease-in-out infinite;
  isolation: isolate;
  pointer-events: none;
}

.bf-biohub-mascot--live::before {
  position: absolute;
  z-index: -1;
  inset: -5px;
  border-radius: 19px 19px 22px 17px;
  background: linear-gradient(135deg, rgba(67,225,255,.42), rgba(114,105,255,.18) 52%, rgba(223,87,232,.35));
  opacity: .62;
  filter: blur(9px);
  content: "";
}

.bf-biohub-mascot__face {
  width: 44px;
  height: 44px;
  overflow: visible;
  filter: drop-shadow(0 3px 5px rgba(5,12,37,.3));
}

.bf-biohub-mascot__eye {
  transform-box: fill-box;
  transform-origin: center;
  animation: bf-biohub-mascot-blink 5.8s ease-in-out infinite;
}

.bf-biohub-mascot__thinking-dots {
  position: absolute;
  right: -5px;
  bottom: -3px;
  display: flex;
  gap: 2px;
  padding: 3px 4px;
  border: 1px solid rgba(177,215,255,.38);
  border-radius: 9px;
  background: #102445;
  opacity: 0;
}

.bf-biohub-mascot__thinking-dots i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #9FEFFF;
  animation: bf-biohub-mascot-dot 1s ease-in-out infinite;
}

.bf-biohub-mascot__thinking-dots i:nth-child(2) { animation-delay: .14s; }
.bf-biohub-mascot__thinking-dots i:nth-child(3) { animation-delay: .28s; }

@keyframes bf-biohub-mascot-float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-2px) rotate(1deg); }
}

@keyframes bf-biohub-mascot-blink {
  0%, 43%, 47%, 100% { transform: scaleY(1); }
  45% { transform: scaleY(.16); }
}

@keyframes bf-biohub-mascot-dot {
  0%, 65%, 100% { opacity: .42; transform: translateY(0); }
  32% { opacity: 1; transform: translateY(-2px); }
}

@media (prefers-reduced-motion: reduce) {
  .bf-biohub-mascot--live,
  .bf-biohub-mascot__eye,
  .bf-biohub-mascot__thinking-dots i {
    animation: none !important;
  }
}
