/* Tooltip (js/components/tooltip.js): title ve data-tip için stillenmiş ipucu balonu */
.tip {
  position: fixed; z-index: 3000; max-width: 260px; padding: 6px 10px; border-radius: 8px;
  background: var(--ink); color: #fff; font-size: .78rem; font-weight: 500; line-height: 1.35; text-align: left;
  box-shadow: 0 8px 24px rgba(11, 37, 69, .28); pointer-events: none; overflow-wrap: anywhere;
  opacity: 0; transition: opacity .12s ease;
}
.tip[hidden] { display: none; }
.tip.is-visible { opacity: 1; }
.tip::after { content: ''; position: absolute; width: 8px; height: 8px; background: inherit; transform: rotate(45deg); border-radius: 2px; }
.tip[data-pos="top"]::after { bottom: -3px; left: calc(var(--arrow, 50%) - 4px); }
.tip[data-pos="bottom"]::after { top: -3px; left: calc(var(--arrow, 50%) - 4px); }
.tip[data-pos="left"]::after { right: -3px; top: calc(var(--arrow, 50%) - 4px); }
.tip[data-pos="right"]::after { left: -3px; top: calc(var(--arrow, 50%) - 4px); }
@media (prefers-reduced-motion: reduce) { .tip { transition: none; } }
