/* Мишины Игрушки — подсказка при наведении (static/js/tooltips.js). Цвета из токенов: пузырь «наоборот» к странице. */
.site-tip {
    position: fixed; z-index: 2000; max-width: 260px; padding: 7px 12px; border-radius: 12px; pointer-events: none;
    background: var(--text); color: var(--bg); font-size: .78rem; font-weight: 600; line-height: 1.3;
    box-shadow: 0 10px 28px var(--shadow-a50);
    opacity: 0; transform: translateY(4px) scale(.97); transition: opacity .14s ease, transform .14s ease;
}
.site-tip.is-on { opacity: 1; transform: none; }
.site-tip[data-side="above"] { transform-origin: bottom center; }
.site-tip::after {
    content: ""; position: absolute; left: var(--tip-arrow, 50%); width: 10px; height: 10px; margin-left: -5px;
    background: var(--text); transform: rotate(45deg); border-radius: 2px;
}
.site-tip[data-side="below"]::after { top: -4px; }
.site-tip[data-side="above"]::after { bottom: -4px; }
@media (prefers-reduced-motion: reduce) { .site-tip { transition: none; } }
