.halo-preview .typing-bubbles {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}
.typing-bubble {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 43px;
  height: 25px;
  margin-top: -7px;
  transform: translate(-50%, -100%);
  border: 1px solid rgb(195 226 217 / 48%);
  border-radius: 11px;
  background: rgb(22 41 40 / 38%);
  box-shadow: 0 2px 12px rgb(5 15 15 / 15%), inset 0 1px rgb(232 244 226 / 10%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  pointer-events: none;
}
.typing-bubble[hidden] { display: none; }
.typing-bubble::after {
  content: '';
  position: absolute;
  left: calc(50% - 3px);
  bottom: -4px;
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  border-right: 1px solid rgb(195 226 217 / 48%);
  border-bottom: 1px solid rgb(195 226 217 / 48%);
  background: rgb(22 41 40 / 65%);
}
.typing-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #d4eadc;
  box-shadow: 0 0 5px rgb(175 227 205 / 24%);
  animation: typing-dot 1.2s ease-in-out infinite;
}
.typing-dot:nth-child(2) { animation-delay: .16s; }
.typing-dot:nth-child(3) { animation-delay: .32s; }
@keyframes typing-dot {
  0%, 60%, 100% { opacity: .35; transform: translateY(1px); }
  30% { opacity: 1; transform: translateY(-2px); }
}
.halo-preview:is(.entry-open,.auth-open,.combat-open) .typing-bubbles { visibility: hidden; }
@media (prefers-reduced-motion: reduce) {
  .typing-dot { animation: none; opacity: .8; }
}
