/* whale trades board (chart, tooltip, dots and legend come from liquidations.css) */
.wh-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 14px; }
.wh-venues { display: flex; flex-wrap: wrap; gap: 8px; }
.wh-vchip img { width: 16px; height: 16px; border-radius: 4px; }
.wh-vchip[aria-pressed="false"] { opacity: .55; }
.wh-vchip[aria-pressed="false"] img { filter: grayscale(1); }
.wh-cov { font-size: 13.5px; color: var(--text-2); }
.wh-stats { grid-template-columns: repeat(6, minmax(0, 1fr)); margin-bottom: 16px; }
.wh-stats .sv { font-size: 21px; }
.wh-stats .ss { overflow-wrap: anywhere; }

.wh-main { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.board > .wh-main + .panel { margin-top: 16px; }
.wh-feed .panel-h .sp { gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.wh-feed .chip .i { width: 15px; height: 15px; }
.wh-f { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-3); font-weight: 600; }
.wh-f .sel { height: 32px; font-size: 13.5px; }

.wh-wrap.tall { max-height: 660px; min-height: 420px; }
.wh-uwrap { max-height: 460px; overflow: auto; }
.wh-tbl td, .wh-utbl td { padding-top: 8px; padding-bottom: 8px; }
.wh-tbl .sym, .wh-utbl .sym { gap: 8px; }
.wh-tbl .sym img, .wh-tbl .sym .cbadge, .wh-utbl .sym img, .wh-utbl .sym .cbadge { width: 20px; height: 20px; }
.wh-tbl .pill, .wh-utbl .pill { min-width: 48px; justify-content: center; }
.wh-vt { font-size: 11.5px; font-weight: 600; color: var(--text-3); padding: 1px 6px; border-radius: 5px; background: var(--bg-sunk); }
.wh-tbl tr.big td, .wh-utbl tr.big td { font-weight: 650; }
.wh-tbl tr.big.wh-B, .wh-utbl tr.big.wh-B { background: var(--up-soft); }
.wh-tbl tr.big.wh-S, .wh-utbl tr.big.wh-S { background: var(--down-soft); }
.wh-tbl tr.lq-new.wh-B:not(.big), .wh-utbl tr.lq-new.wh-B:not(.big) { animation: lq-in-s 1.4s var(--ease); }
.wh-tbl tr.lq-new.wh-S:not(.big), .wh-utbl tr.lq-new.wh-S:not(.big) { animation: lq-in-l 1.4s var(--ease); }
html[data-motion="off"] .wh-tbl tr.lq-new, html[data-motion="off"] .wh-utbl tr.lq-new { animation: none; }

/* net buying by coin: bars grow out from the centre line */
.wh-nets { display: grid; gap: 9px; }
.wh-nr { display: grid; grid-template-columns: 78px minmax(0, 1fr) 70px; align-items: center; gap: 10px; font-size: 13.5px; }
.wh-nr.none { opacity: .5; }
.wh-nb { position: relative; height: 12px; border-radius: 4px; background: var(--bg-sunk); overflow: hidden; }
.wh-nb i { position: absolute; top: 0; bottom: 0; }
.wh-nb .neg { right: 50%; background: var(--down); }
.wh-nb .pos { left: 50%; background: var(--up); }
.wh-nb .ax { left: calc(50% - .5px); width: 1px; background: var(--text-3); opacity: .6; }
.wh-nv { text-align: right; font-weight: 620; font-size: 13px; }
.wh-up .panel-h .sp { gap: 10px; }
.wh-up .panel-h { flex-wrap: wrap; row-gap: 10px; }
.wh-up .panel-h h2 { white-space: nowrap; }

@media (max-width: 1100px) {
  .wh-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wh-main { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .wh-tbl th:nth-child(5), .wh-tbl td:nth-child(5), .wh-tbl th:nth-child(6), .wh-tbl td:nth-child(6) { display: none; }
  .wh-utbl th:nth-child(5), .wh-utbl td:nth-child(5) { display: none; }
  .wh-tbl .wh-vx { display: none; }
  .wh-wrap.tall { max-height: 520px; min-height: 320px; }
  .wh-up .panel-h .sp { margin-left: 0; }
}
@media (max-width: 560px) {
  .wh-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wh-stats .sv { font-size: 19px; }
  .wh-feed .panel-h { flex-wrap: wrap; row-gap: 10px; }
  .wh-feed .panel-h .sp { margin-left: 0; justify-content: flex-start; }
  .wh-tbl .pill, .wh-utbl .pill { min-width: 0; }
  .wh-tbl th, .wh-tbl td, .wh-utbl th, .wh-utbl td { padding-left: 7px; padding-right: 7px; }
  .wh-tbl .lq-t, .wh-utbl .lq-t { font-size: 12px; }
  .wh-tbl .sym, .wh-utbl .sym { gap: 6px; }
}
