.q-tooltip-trigger {
  display: inline-flex;
  align-items: center;
  height: fit-content;
}
.q-tooltip {
  --q-tip-bg: #0a0a0a;
  --q-tip-fg: #ededed;
  position: fixed;
  z-index: 1000000;
  box-sizing: border-box;
  width: max-content;
  height: fit-content;
  max-width: 250px;
  padding: 6px 8px;
  border-radius: 8px;
  background: var(--q-tip-bg);
  color: var(--q-tip-fg);
  font-family: QuoterGeist, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 400;
  text-align: center;
  text-wrap: balance;
  white-space: pre-line;
  overflow-wrap: break-word;
  pointer-events: none;
  animation: q-tooltip-enter 100ms ease-in both;
}
.q-tooltip[data-theme='dark'] {
  --q-tip-bg: var(--ss-surface-light);
  --q-tip-fg: #171717;
}
.q-tooltip[data-center='false'] {
  text-align: left;
}
.q-tooltip:has(kbd) {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding-right: 6px;
}
.q-tooltip > kbd {
  background: #2e2e2e !important;
  border-radius: 4px;
  min-width: 20px !important;
  height: 20px !important;
  min-height: 0 !important;
  font-size: 12px;
  box-shadow: none !important;
}
.q-tooltip[data-theme='dark'] > kbd {
  background: #e5e5e5 !important;
}
.q-tooltip:after {
  content: '';
  position: absolute;
  width: 14px;
  height: 6px;
  background: var(--q-tip-bg);
  mask: url('../assets/icons/tooltip-arrow.svg') center / 100% 100% no-repeat;
}
.q-tooltip[data-side='top']:after {
  left: var(--q-tip-arrow-x, 50%);
  top: calc(100% - 0.6px);
  transform: translateX(-50%);
}
.q-tooltip[data-side='bottom']:after {
  left: var(--q-tip-arrow-x, 50%);
  bottom: 100%;
  transform: translateX(-50%) rotate(180deg);
}
.q-tooltip[data-side='left']:after {
  top: var(--q-tip-arrow-y, 50%);
  left: calc(100% - 4px);
  transform: translateY(-50%) rotate(-90deg);
}
.q-tooltip[data-side='right']:after {
  top: var(--q-tip-arrow-y, 50%);
  right: calc(100% - 4px);
  transform: translateY(-50%) rotate(90deg);
}
.q-tooltip[data-no-tip='true']:after {
  display: none;
}
@keyframes q-tooltip-enter {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .q-tooltip {
    animation: none;
  }
}
.q-tooltip-touch-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
}
