/* ============================================================
   Coindaily - chart tooltip system (on-brand, dynamic)
   Shared styles for CDTooltip (see tooltip.js).
   ============================================================ */

.cd-tt {
  position: fixed; z-index: 9999; pointer-events: none;
  background: var(--panel, #111113);
  border: 1px solid var(--hairline, rgba(255,255,255,.09));
  border-radius: 8px; padding: 10px 12px; min-width: 150px;
  box-shadow: 0 12px 34px rgba(0,0,0,.55);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  opacity: 0; transition: opacity .09s ease;
}
.cd-tt.on { opacity: 1; }
.cd-tt-title {
  font-family: "Inter", system-ui, sans-serif; font-size: 11px;
  color: var(--tx-dim, #5A6472); letter-spacing: .04em; margin-bottom: 8px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.cd-tt-title b { color: var(--tx-mid, #8B95A3); font-weight: 600; }
.cd-tt-row {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 2.5px 0; font-size: 12px;
}
.cd-tt-k { display: flex; align-items: center; gap: 8px; color: var(--tx-mid, #8B95A3); }
.cd-tt-k i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; flex-shrink: 0; }
.cd-tt-v { color: var(--tx-hi, #EAEEF3); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.cd-tt-hint {
  font-family: "Inter", system-ui, sans-serif; font-size: 10.5px; line-height: 1.4;
  color: var(--tx-dim, #5A6472); margin-top: 8px; padding-top: 7px;
  border-top: 1px solid var(--hairline-2, rgba(255,255,255,.05)); max-width: 230px;
}

/* in-chart overlays (appended to the chart wrapper, which must be position:relative) */
.cd-cross { position: absolute; width: 1px; background: rgba(255,255,255,.16); pointer-events: none; z-index: 5; display: none; }
.cd-dotlayer { position: absolute; inset: 0; pointer-events: none; z-index: 6; }
.cd-dot { position: absolute; width: 9px; height: 9px; border-radius: 50%; transform: translate(-50%,-50%); box-shadow: 0 0 0 2px var(--panel, #111113); }
.cd-guide-h { position: absolute; left: 0; right: 0; height: 1px; background: rgba(255,255,255,.16); pointer-events: none; z-index: 5; display: none; }
