/* Liquidations Hub — aligned with Market Status derivatives/liq panels */

.liq-hub-page {
  min-height: 100vh;
  padding-bottom: 2rem;
}

.liq-hub-hero {
  margin: 1.25rem 0 1.5rem;
}

.liq-hub-hero h1 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 0.5rem;
}

.liq-hub-hero p {
  color: #94a3b8;
  max-width: 820px;
  margin: 0;
  line-height: 1.55;
}

.liq-hub-updated {
  margin-top: 0.65rem;
  font-size: 0.82rem;
  color: #64748b;
}

.liq-hub-main {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Bias panel (matches #ta-liq-bias-panel / #ta-deriv-bias-panel) */
.liq-bias-panel {
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: linear-gradient(180deg, rgba(22, 36, 51, 0.98), rgba(15, 27, 40, 0.98));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.liq-bias-panel .liq-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 18px 8px;
}

.liq-bias-panel .liq-panel-head h2 {
  margin: 0;
  color: #f1f5f9;
  font-size: 1.05rem;
  font-weight: 650;
}

.liq-bias-panel .liq-panel-sub {
  margin: 4px 0 0;
  font-size: 0.78rem;
  color: #94a3b8;
}

.liq-bias-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 8px 18px 16px;
}

.liq-bias-card {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.22);
  padding: 14px;
}

.liq-bias-label {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 8px;
}

.liq-bias-value {
  font-size: 1.35rem;
  font-weight: 750;
  color: #e2e8f0;
  line-height: 1.2;
}

.liq-bias-meta {
  margin-top: 6px;
  font-size: 0.8rem;
  color: #94a3b8;
}

.liq-bias-note {
  padding: 0 18px 16px;
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.5;
}

.liq-tone-long { color: #22c55e; }
.liq-tone-short { color: #ef4444; }
.liq-tone-neutral { color: #f59e0b; }

.liq-hub-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1.25rem;
}

.liq-data-panel {
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: linear-gradient(180deg, rgba(18, 28, 42, 0.96), rgba(12, 20, 32, 0.98));
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
  overflow: hidden;
}

.liq-data-panel .liq-panel-head {
  padding: 14px 16px 10px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.liq-data-panel .liq-panel-head h2 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 650;
  color: #e2e8f0;
}

.liq-panel-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.liq-feed-toggle {
  display: inline-flex;
  gap: 6px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.liq-feed-btn {
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
}

.liq-feed-btn.active {
  background: rgba(59, 130, 246, 0.25);
  color: #e2e8f0;
}

.liq-data-panel .liq-panel-sub {
  margin: 4px 0 0;
  font-size: 0.72rem;
  color: #64748b;
  max-width: 420px;
  line-height: 1.45;
}

.liq-data-panel .table-responsive {
  padding: 0 8px 8px;
}

.liq-data-panel table {
  width: 100%;
  font-size: 0.88rem;
  margin: 0;
}

.liq-data-panel thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgba(15, 23, 42, 0.95);
  color: #94a3b8;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 600;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  padding: 0.55rem 0.45rem;
  white-space: nowrap;
}

.liq-data-panel tbody td {
  padding: 0.5rem 0.45rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  color: #cbd5e1;
  vertical-align: middle;
}

.liq-data-panel tbody tr:hover {
  background: rgba(59, 130, 246, 0.06);
}

.liq-data-panel tbody tr:last-child td {
  border-bottom: none;
}

.liq-symbol-link {
  color: #93c5fd;
  text-decoration: none;
  font-weight: 600;
}

.liq-symbol-link:hover {
  color: #bfdbfe;
  text-decoration: underline;
}

.liq-rank {
  color: #64748b;
  font-variant-numeric: tabular-nums;
}

.liq-usd {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.liq-side-long { color: #22c55e; font-weight: 600; text-transform: capitalize; }
.liq-side-short { color: #ef4444; font-weight: 600; text-transform: capitalize; }

.liq-source-pill {
  display: inline-block;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.72rem;
  background: rgba(148, 163, 184, 0.12);
  color: #94a3b8;
  text-transform: lowercase;
}

.liq-empty-row td {
  text-align: center;
  color: #64748b;
  padding: 1.25rem !important;
}

.liq-symbol-focus-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(59, 130, 246, 0.35);
  background: rgba(59, 130, 246, 0.1);
}

.liq-symbol-focus-text {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  color: #e2e8f0;
  font-size: 0.88rem;
}

.liq-symbol-focus-label {
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #93c5fd;
  font-weight: 650;
}

.liq-symbol-focus-hint {
  color: #94a3b8;
  font-size: 0.78rem;
}

.liq-symbol-focus-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.liq-focus-clear {
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.6);
  color: #cbd5e1;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
}

.liq-focus-clear:hover {
  border-color: rgba(148, 163, 184, 0.55);
  color: #f1f5f9;
}

.liq-data-panel tbody tr.liq-row-focus {
  background: rgba(59, 130, 246, 0.12);
  outline: 1px solid rgba(59, 130, 246, 0.25);
  outline-offset: -1px;
}

.liq-data-panel tbody tr.liq-row-focus td {
  color: #f1f5f9;
}

@media (max-width: 992px) {
  .liq-hub-grid { grid-template-columns: 1fr; }
  .liq-bias-grid { grid-template-columns: 1fr; }
}

/* F14 — crawlable SEO shell (outside gated #liqHubMain) */
.liq-seo-shell {
  max-width: 920px;
  margin: 2rem auto 1.5rem;
  padding: 0 1rem 1.5rem;
  color: #94a3b8;
  line-height: 1.6;
  font-size: 0.92rem;
}

.liq-seo-shell h2 {
  color: #e2e8f0;
  font-size: 1.15rem;
  font-weight: 650;
  margin-bottom: 0.75rem;
}

.liq-seo-shell h3 {
  color: #cbd5e1;
  font-size: 0.95rem;
  font-weight: 600;
  margin: 1.1rem 0 0.35rem;
}

.liq-seo-shell p {
  margin: 0 0 0.65rem;
}

.liq-seo-faq {
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}
