/* =========================================================================
   Coaches Eye — fast, styled hover tooltips
   Replaces the browser's slow (~500ms), plain native title tooltips with a
   quick (~90ms), nicer-looking bubble. Driven entirely by tooltips.js, which
   reads each element's existing title="" — no markup changes needed.
   ========================================================================= */
#ce-global-tooltip {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2147483200;
  max-width: 260px;
  padding: 7px 11px;
  border-radius: 9px;
  background: linear-gradient(180deg, #2a2f3a 0%, #191d25 100%);
  color: #fff;
  font: 600 12.5px/1.35 Inter, system-ui, -apple-system, sans-serif;
  letter-spacing: .01em;
  text-align: center;
  white-space: normal;
  box-shadow: 0 8px 24px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.09);
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px) scale(.97);
  transition: opacity .12s ease, transform .12s cubic-bezier(.2,.8,.2,1);
  will-change: transform, opacity;
}

#ce-global-tooltip.ce-tooltip-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

#ce-global-tooltip .ce-tooltip-arrow {
  position: absolute;
  width: 9px;
  height: 9px;
  background: #191d25;
  transform: rotate(45deg);
}
#ce-global-tooltip[data-place="top"] .ce-tooltip-arrow    { bottom: -4px; }
#ce-global-tooltip[data-place="bottom"] .ce-tooltip-arrow { top: -4px; background: #2a2f3a; }

@media (prefers-reduced-motion: reduce) {
  #ce-global-tooltip { transition: opacity .05s linear; transform: none; }
  #ce-global-tooltip.ce-tooltip-visible { transform: none; }
}
/* Also honor the in-app "Reduce motion" accessibility toggle */
html.a11y-reduce-motion #ce-global-tooltip { transition: opacity .05s linear; transform: none; }
html.a11y-reduce-motion #ce-global-tooltip.ce-tooltip-visible { transform: none; }
