/* liquidations board */
.lq-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 14px; }
.lq-cov { font-size: 13.5px; color: var(--text-2); }
.lq-stats { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.lq-stats .sv, .lq-ostats .sv { font-size: 21px; }
.lq-stats .ss, .lq-ostats .ss { overflow-wrap: anywhere; }

/* long and short share of the window */
.lq-split { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; margin: 14px 0 16px; font-size: 13px; font-weight: 650; font-variant-numeric: tabular-nums; }
.lq-sb { display: flex; height: 10px; border-radius: 5px; overflow: hidden; background: var(--bg-sunk); }
.lq-sb i { display: block; height: 100%; transition: width .5s var(--ease); }
.lq-sb .l, .lq-cb .l, .lq-eb .l { background: var(--down); }
.lq-sb .s, .lq-cb .s, .lq-eb .s { background: var(--up); }
.lq-sb.none i { background: transparent; }
html[data-motion="off"] .lq-sb i { transition: none; }

/* main grid: feed on the left, coins and exchanges on the right */
.lq-main { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.lq-side { display: grid; gap: 16px; }
.board > .lq-main + .panel { margin-top: 16px; }

.lq-feed .panel-h .sp { gap: 6px; }
.lq-feed .tbar { gap: 8px 10px; }
.lq-exchip img { width: 16px; height: 16px; border-radius: 4px; }
.lq-exchip[aria-pressed="false"] { opacity: .55; }
.lq-exchip[aria-pressed="false"] img { filter: grayscale(1); }
.dot { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; opacity: .55; flex: none; }
.dot[data-st="live"] { background: currentColor; opacity: 1; }
.dot[data-st="stale"], .dot[data-st="retry"] { border-color: var(--amber-deep); background: var(--amber-deep); opacity: 1; }
.lq-f { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-3); font-weight: 600; }
.lq-f .sel { height: 32px; font-size: 13.5px; }
.lq-q { min-width: 0; width: 150px; height: 32px; }
.lq-snd[aria-pressed="false"] .i.on, .lq-snd[aria-pressed="true"] .i.off { display: none; }
.lq-snd .i { width: 15px; height: 15px; }
.lq-feed .chip .i { width: 15px; height: 15px; }

.lq-wrap.tall { max-height: 640px; min-height: 420px; }
.lq-tbl td { padding-top: 8px; padding-bottom: 8px; }
.lq-tbl .lq-t { color: var(--text-3); font-size: 13px; }
.lq-exc { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text-2); }
.lq-exc img { width: 16px; height: 16px; border-radius: 4px; }
.lq-tbl .sym { gap: 8px; }
.lq-tbl .sym img, .lq-tbl .sym .cbadge { width: 20px; height: 20px; }
.lq-tbl .pill { min-width: 64px; justify-content: center; }
.lq-tbl tr.big td { font-weight: 650; }
.lq-tbl tr.big.lq-L { background: var(--down-soft); }
.lq-tbl tr.big.lq-S { background: var(--up-soft); }
.lq-tbl tr.big .lq-v { font-size: 15px; }
.lq-tbl tr.lq-new.lq-L:not(.big) { animation: lq-in-l 1.4s var(--ease); }
.lq-tbl tr.lq-new.lq-S:not(.big) { animation: lq-in-s 1.4s var(--ease); }
@keyframes lq-in-l { 0% { background-color: var(--down-soft); } 100% { background-color: transparent; } }
@keyframes lq-in-s { 0% { background-color: var(--up-soft); } 100% { background-color: transparent; } }
html[data-motion="off"] .lq-tbl tr.lq-new { animation: none; }

/* coin and exchange bars */
.lq-bars { display: grid; gap: 9px; }
.lq-cr { display: grid; grid-template-columns: 84px minmax(0, 1fr) 64px; align-items: center; gap: 10px; font-size: 13.5px; }
.lq-cn { display: inline-flex; align-items: center; gap: 7px; min-width: 0; }
.lq-cn b { font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lq-cn img, .lq-cn .cbadge { width: 18px; height: 18px; border-radius: 50%; }
.lq-cb, .lq-eb { display: flex; height: 12px; border-radius: 4px; overflow: hidden; background: var(--bg-sunk); }
.lq-cb i, .lq-eb i { display: block; height: 100%; flex: none; }
.lq-cv, .lq-ev, .lq-ep { text-align: right; font-weight: 620; font-size: 13px; white-space: nowrap; }
.lq-ex { display: grid; gap: 12px; }
.lq-er { display: grid; grid-template-columns: 96px minmax(0, 1fr) 62px 40px; align-items: center; gap: 10px; font-size: 13.5px; }
.lq-er.off { opacity: .5; }
.lq-en { display: inline-flex; align-items: center; gap: 8px; }
.lq-en img { width: 18px; height: 18px; border-radius: 5px; }
.lq-en b { font-weight: 650; }
.lq-ep { color: var(--text-3); }
.lq-lg { padding-top: 0; }

/* charts */
.chart-box .cv { position: absolute; inset: 8px 10px 12px; }
.cv canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; }
.lq-tip { position: absolute; z-index: 3; display: grid; gap: 2px; min-width: 150px; padding: 8px 10px; border-radius: 9px; background: var(--bg-raised); border: 1px solid var(--line-strong); font-size: 12.5px; line-height: 1.45; pointer-events: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lq-tip[hidden] { display: none; }
.lq-tip b { font-weight: 650; }
.lg-long { background: var(--down); }
.lg-short { background: var(--up); }
.lg-px { background: var(--text-2); height: 2px !important; vertical-align: 3px !important; }
.lg-gap { background: var(--bg-sunk); border: 1px solid var(--line-strong); }
.lg-cum { background: transparent; height: 0 !important; border-top: 2px dashed var(--text-2); vertical-align: 3px !important; }
.lg-now { background: var(--amber-deep); width: 3px !important; }
.lq-map .panel-h .pill { margin-left: 2px; }
.lq-h-ic { display: inline-block; width: 18px; height: 18px; border-radius: 5px; vertical-align: -3px; margin-right: 8px; }
.lq-okx .panel-b { padding-bottom: 4px; }
.lq-map .panel-h, .lq-okx .panel-h { flex-wrap: wrap; row-gap: 10px; }
.lq-map .panel-h h2, .lq-okx .panel-h h2 { white-space: nowrap; }
.lq-ostats { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1100px) {
  .lq-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lq-main { grid-template-columns: minmax(0, 1fr); }
  .lq-side { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}
@media (max-width: 760px) {
  .lq-side { grid-template-columns: minmax(0, 1fr); }
  .lq-ostats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lq-tbl th:nth-child(5), .lq-tbl td:nth-child(5) { display: none; }
  .lq-exc span { display: none; }
  .lq-wrap.tall { max-height: 520px; min-height: 320px; }
}
@media (max-width: 560px) {
  .lq-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lq-stats .sv, .lq-ostats .sv { font-size: 19px; }
  .lq-q { width: 100%; flex: 1 1 100%; }
  .lq-f { flex: 1 1 calc(50% - 6px); }
  .lq-f .sel { flex: 1; min-width: 0; }
  .lq-tbl .pill { min-width: 0; }
  .lq-tbl th, .lq-tbl td { padding-left: 7px; padding-right: 7px; }
  .lq-tbl .lq-t { font-size: 12px; }
  .lq-tbl .sym { gap: 6px; }
  .lq-er { grid-template-columns: 84px minmax(0, 1fr) 58px 36px; gap: 8px; }
  .lq-okx .panel-h .sp { margin-left: 0; }
}
