.control-hover-hint {
  --hint-fill: #19211d;
  --hint-edge: #bb9b77;
  position: fixed;
  inset: auto;
  z-index: 1000;
  width: max-content;
  max-width: min(16rem, calc(100vw - 16px));
  margin: 0;
  padding: .42rem .65rem;
  overflow: visible;
  border: 1px solid var(--hint-edge);
  border-radius: .36rem;
  background: var(--hint-fill);
  color: #faf8f0;
  box-shadow: 0 4px 12px #080c1447;
  font: 500 .77rem/1.4 Manrope, sans-serif;
  text-align: left;
  opacity: 0;
  transition: opacity 150ms ease-out;
  pointer-events: none;
}
:root[data-van-paint="red"] .control-hover-hint {
  --hint-fill: #182235;
  --hint-edge: #92a9c7;
}
.control-hover-hint[data-visible="true"] { opacity: 1; }
[data-control-hint-anchor]:not(:focus-visible):not(:focus-within) {
  outline: 1px solid var(--interactive-accent, #eeb57c);
  outline-offset: 2px;
}
.control-hover-hint::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  box-sizing: border-box;
  background: var(--hint-fill);
  border: solid var(--hint-edge);
  border-width: 1px 1px 0 0;
}
.control-hover-hint[data-side="above"]::after { left: var(--hint-pin); bottom: -1px; transform: translate(-50%, 50%) rotate(135deg); }
.control-hover-hint[data-side="below"]::after { left: var(--hint-pin); top: -1px; transform: translate(-50%, -50%) rotate(-45deg); }
.control-hover-hint[data-side="left"]::after { right: -1px; top: var(--hint-pin); transform: translate(50%, -50%) rotate(45deg); }
.control-hover-hint[data-side="right"]::after { left: -1px; top: var(--hint-pin); transform: translate(-50%, -50%) rotate(-135deg); }
@media (prefers-reduced-motion: reduce) {
  .control-hover-hint { transition: none; }
}
