.wrap {
  position: relative;
  display: inline-flex;
}

.tip {
  position: fixed;
  z-index: 10000;
  transform: translate(-50%, calc(-100% + 4px));
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-primary);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  background: var(--elevated-surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  box-shadow: var(--glass-shadow);
}

.tipVisible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -100%);
}

.tip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--elevated-surface);
}
