.intelixir-tooltip {
  position: fixed;
  overflow: visible;
  inset: auto;
  margin: 0;
  padding: 7px 10px;
  width: max-content;
  max-width: min(320px, calc(100vw - 16px));
  box-sizing: border-box;
  border: 1px solid #33456b;
  border-radius: 7px;
  background: #14213d;
  color: #fff;
  box-shadow: 0 4px 16px #0003;
  font: 500 12px/1.4 system-ui, sans-serif;
  overflow-wrap: anywhere;
  text-align: start;
  white-space: normal;
}

.intelixir-tooltip::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  inset-inline-start: var(--tooltip-arrow-x, 50%);
  background: #14213d;
  transform: translateX(-50%) rotate(45deg);
  pointer-events: none;
}
.intelixir-tooltip[data-side="bottom"]::after { top: -5px; border-top: 1px solid #33456b; border-inline-start: 1px solid #33456b; }
.intelixir-tooltip[data-side="top"]::after { bottom: -5px; border-inline-end: 1px solid #33456b; border-bottom: 1px solid #33456b; }
.intelixir-tooltip:is([data-side="left"], [data-side="right"])::after { top: var(--tooltip-arrow-y, 50%); transform: translateY(-50%) rotate(45deg); }
.intelixir-tooltip[data-side="right"]::after { left: -5px; right: auto; border-left: 1px solid #33456b; border-bottom: 1px solid #33456b; }
.intelixir-tooltip[data-side="left"]::after { right: -5px; left: auto; border-right: 1px solid #33456b; border-top: 1px solid #33456b; }
