/* ==========================================================================
   SHARED HOVER TIP
   The one .tip element js/utils/tip.js puts on <body> for any [data-tip].
   Its own stylesheet, not bingo.css, because every page shows it. The edit
   form's .has-tooltip (styles.css) copies the untinted look below; change
   both together.
   ========================================================================== */

/* Fixed on <body> (see js/utils/tip.js) because a scroller's overflow, like
   bingo's .bingo-scroll, would clip it on edge cells; pointer-events: none
   so a tip never steals the hover that keeps it open. */
.tip { max-width: 16rem; padding: .35rem .6rem; font-size: .85rem; font-weight: 400;
    text-align: left; overflow-wrap: anywhere;
    position: fixed; z-index: 30; pointer-events: none; white-space: pre-line;
    background: var(--surface-2); border: 1px solid var(--surface-6); border-radius: 8px;
    animation: tip-drop .15s ease-out; }
/* Tones reuse the site's colour trios: approval (as on the changelog's
   Approve button) for confirmations, warning (as on the warning banner)
   for heads-ups and still-growing tips, error for failed checks. */
.tip.is-success { background: var(--approval-bg); border-color: var(--approval-border); color: var(--approval-text); }
.tip.is-warning { background: var(--warning-bg); border-color: var(--warning-border); color: var(--warning-text); }
.tip.is-error { background: var(--error-bg); border-color: var(--error-border); color: var(--error-text); }
/* Shared with bingo's dropdowns (menu, board messages), which drop in the
   same way; bingo.css loads after this file so it can use it. */
@keyframes tip-drop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
