:host {
  display: inline-block;
}

.hb-tooltip__trigger {
  display: inline-block;
}

.hb-tooltip__popup {
  position: fixed;
  padding: 6px 12px;
  border-radius: var(--hb-border-radius-sm);
  background-color: var(--hb-p-gray-800);
  color: #fff;
  font-size: var(--hb-font-size-sm);
  line-height: 1.4;
  pointer-events: auto;
  box-shadow: var(--hb-box-shadow);
  animation: hb-tooltip-fade-in 0.15s ease-out;
  max-width: 300px;
  word-wrap: break-word;
}

.hb-tooltip__arrow {
  position: absolute;
  width: 8px;
  height: 8px;
  background-color: var(--hb-p-gray-800);
  transform: rotate(45deg);
}

.hb-tooltip__content {
  position: relative;
  z-index: 1;
}

@keyframes hb-tooltip-fade-in {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}
