.trade-item {
  background: #f8fafc;
  border-radius: 8px;
  margin-bottom: 4px;
  overflow: hidden;
}

.trade-item.is-presale {
  background: #fff7ed;
}

.trade-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  cursor: pointer;
  font-size: 12.5px;
  line-height: 1.2;
}

.trade-head:hover {
  background: rgba(37, 99, 235, 0.06);
}

.trade-badge {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 600;
  background: #dbeafe;
  color: #1e40af;
}

.trade-badge.th-top {
  background: #dc2626 !important;
  color: #fff !important;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.trade-item .trade-amount {
  font-weight: 800;
}

.trade-item.is-top {
  background: #fef2f2;
  box-shadow: inset 2px 0 0 #dc2626;
}

.trade-item.is-top.is-presale {
  background: #fef2f2;
}

.trade-item.is-top .trade-amount {
  color: #dc2626;
}

.th-ppp {
  color: #475569;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.th-prem {
  font-size: 10.5px;
  font-weight: 800;
  white-space: nowrap;
}

.th-date {
  color: #94a3b8;
  font-size: 10.5px;
  margin-left: auto;
  white-space: nowrap;
}

.th-caret {
  color: #cbd5e1;
  font-size: 10px;
  transition: transform .15s;
}

.trade-item.open .th-caret {
  transform: rotate(180deg);
  color: #64748b;
}

.trade-body {
  display: none;
  padding: 2px 10px 9px;
  font-size: 11.5px;
}

.trade-item.open .trade-body {
  display: block;
}

.tb-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 3px 0;
  border-top: 1px dashed #e2e8f0;
}

.tb-row:first-child {
  border-top: none;
}

.tb-k {
  color: #64748b;
  flex-shrink: 0;
}

.tb-v {
  color: #1e293b;
  font-weight: 600;
  text-align: right;
}

.trade-empty {
  padding: 14px 12px;
  text-align: center;
  color: #94a3b8;
  font-size: 12px;
  background: #f8fafc;
  border-radius: 6px;
}
