/* reactive_chart.css — the fast candle chart (shared_assets/reactive_chart). Look: the nodes' shared tokens. */
.rc-host { position: relative; min-height: 220px; }
.rc-root {
  position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); border-radius: 10px; overflow: hidden;
  user-select: none; -webkit-user-select: none;
  font: 12px/1.5 system-ui, "Segoe UI", Roboto, sans-serif; color: #e8e8e8;
}
.rc-root canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.rc-main { cursor: crosshair; touch-action: none; }
.rc-click .rc-main { cursor: pointer; }
.rc-drag .rc-main { cursor: grabbing; }
.rc-over { pointer-events: none; }
.rc-empty canvas, .rc-empty .rc-legend { visibility: hidden; }

.rc-legend { position: absolute; left: 12px; top: 8px; right: 78px; pointer-events: none; }
.rc-head { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; }
.rc-name { font-size: 14px; font-weight: 600; }
.rc-name:empty, .rc-sym:empty { display: none; }
.rc-sym { color: #9fb3c8; }
.rc-res {
  color: #cfefff; background: rgba(255, 255, 255, 0.08); border-radius: 5px;
  padding: 0 6px; font-size: 11px; font-weight: 600;
}
.rc-ohlc { display: flex; flex-wrap: wrap; column-gap: 10px; color: #9fb3c8; font-variant-numeric: tabular-nums; }
.rc-ohlc b { color: #e8e8e8; font-weight: 500; }
.rc-ohlc i { font-style: normal; font-size: 10px; }
.rc-date { color: #e8e8e8; }
.rc-keys { display: flex; flex-wrap: wrap; column-gap: 12px; margin-top: 2px; color: #9fb3c8; font-size: 11px; }
.rc-key { white-space: nowrap; font-variant-numeric: tabular-nums; }
.rc-key b { color: #e8e8e8; font-weight: 500; }
.rc-sw { display: inline-block; vertical-align: middle; margin-right: 5px; width: 14px; height: 2px; border-radius: 1px; }

.rc-tip {
  position: absolute; display: none; pointer-events: none; z-index: 3; max-width: 340px;
  background: rgba(8, 12, 18, 0.95); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 8px;
  padding: 5px 9px; font-size: 12px; line-height: 1.45; color: #e8e8e8;
}
.rc-tip i { color: #9fb3c8; }
.rc-msg {
  position: absolute; inset: 0; display: none; align-items: center; justify-content: center;
  padding: 0 24px; text-align: center; color: #9fb3c8; font-size: 13px;
}
.rc-bridge { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
