.hubTooltip {
  position: fixed;
  z-index: 2147483647;
  max-width: min(330px, calc(100vw - 24px));
  padding: 10px 12px;
  border: 1px solid rgba(216, 181, 91, .58);
  border-radius: 7px;
  background: #171b18;
  color: #eef0ec;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .42);
  font: 500 13px/1.45 Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: .01em;
  text-align: left;
  pointer-events: none;
  opacity: 0;
  transform: translateY(3px);
  transition: opacity .12s ease, transform .12s ease;
}

.hubTooltip::after {
  content: "";
  position: absolute;
  left: var(--hub-tooltip-arrow, 50%);
  bottom: -6px;
  width: 10px;
  height: 10px;
  border-right: 1px solid rgba(216, 181, 91, .58);
  border-bottom: 1px solid rgba(216, 181, 91, .58);
  background: #171b18;
  transform: translateX(-50%) rotate(45deg);
}

.hubTooltip.isBelow::after {
  top: -6px;
  bottom: auto;
  border: 0;
  border-top: 1px solid rgba(216, 181, 91, .58);
  border-left: 1px solid rgba(216, 181, 91, .58);
}

.hubTooltip.isVisible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .hubTooltip { transition: none; }
}
