.page {
  min-height: 100vh;
  padding-top: 8px;
}

/* ---------- 合约入口 ---------- */
.ct-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 12px 10px;
  padding: 11px 13px;
  border-radius: 11px;
  background: #141a24;
  border: 0.5px solid rgba(255, 255, 255, 0.05);
}
.ct-entry:active { background: #182030; }
.ct-l { flex: 1; min-width: 0; }
.ct-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
}
.ct-badge {
  font-size: 9.5px;
  color: #ffb020;
  background: rgba(255, 176, 32, 0.14);
  border-radius: 3px;
  padding: 1px 5px;
  margin-left: 5px;
}
.ct-sub {
  display: block;
  font-size: 10.5px;
  color: #5c6675;
  margin-top: 4px;
}
.ct-r {
  display: flex;
  align-items: center;
}
.ct-pnl {
  font-size: 13.5px;
  font-weight: 600;
  margin-right: 5px;
}
.ct-arrow {
  font-size: 16px;
  color: #46505f;
}

/* ---------- 资产卡 ---------- */
.asset-card {
  margin: 0 12px 10px;
  padding: 14px;
  border-radius: 13px;
  background: linear-gradient(150deg, #1b2740 0%, #141a26 55%, #12161f 100%);
  border: 0.5px solid rgba(76, 141, 255, 0.16);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.28);
}
.ac-label {
  font-size: 11.5px;
  color: #8b96a8;
  letter-spacing: 0.3px;
}
.ac-time {
  font-size: 10px;
  color: #4a5462;
}
.ac-total {
  font-size: 33px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin: 6px 0 9px;
  line-height: 1.1;
}
.ac-line {
  align-items: stretch;
}
.ac-col {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.ac-split {
  width: 0.5px;
  background: rgba(255, 255, 255, 0.07);
  margin: 0 12px;
}
.ac-k {
  font-size: 10.5px;
  color: #7c8798;
}
.ac-v {
  font-size: 15px;
  font-weight: 600;
  margin-top: 4px;
}
.ac-pct {
  font-size: 11.5px;
  font-weight: 500;
}

/* ---------- 四宫格 ---------- */
.quad {
  display: flex;
  flex-wrap: wrap;
  padding: 10px 0;
}
.q-item {
  width: 50%;
  padding: 6px 13px;
  display: flex;
  flex-direction: column;
}
.q-k {
  font-size: 10.5px;
  color: #5c6675;
}
.q-v {
  font-size: 14px;
  margin-top: 3px;
  color: #e3e9f2;
}

/* ---------- 曲线 ---------- */
.curve-card {
  padding-bottom: 9px;
}
.curve {
  width: 100%;
  height: 115px;
  margin-top: 4px;
}
.card-head {
  margin-bottom: 2px;
}
.card-title {
  font-size: 14px;
  font-weight: 600;
}

/* ---------- 列表 ---------- */
.list-card {
  margin: 0 12px;
  background: #141a24;
  border-radius: 11px;
  border: 0.5px solid rgba(255, 255, 255, 0.04);
  overflow: hidden;
}
.sub3 {
  font-size: 10.5px;
  color: #5c6675;
  margin-top: 3px;
}
.hold-tip {
  text-align: center;
  font-size: 10px;
  color: #3d4653;
  padding: 8px 0 9px;
}
.link {
  display: inline-block;
  margin-top: 9px;
  color: #6ea3ff;
  font-size: 13px;
  padding: 5px 15px;
  border-radius: 15px;
  background: rgba(76, 141, 255, 0.12);
}

/* ---------- 做T ---------- */
.tab-pane {
  padding-top: 1px;
}
.tsum {
  display: flex;
  padding: 12px 5px;
}
.tsum-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.tsum-item + .tsum-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 0.5px;
  background: rgba(255, 255, 255, 0.07);
}
.tsum-k {
  font-size: 10.5px;
  color: #5c6675;
}
.tsum-v {
  font-size: 17px;
  font-weight: 700;
  margin-top: 4px;
}

.tday {
  display: flex;
  align-items: center;
  padding: 9px 0;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.05);
}
.tday:last-child {
  border-bottom: none;
}
.tday-date {
  font-size: 12px;
  color: #cfd8e3;
}
.tday-code {
  font-size: 11.5px;
  font-weight: 600;
  margin-left: 7px;
}
.tday-times {
  font-size: 10px;
  color: #6ea3ff;
  margin-left: 5px;
  padding: 1px 4px;
  border-radius: 3px;
  background: rgba(76, 141, 255, 0.12);
}
.t-tip {
  margin-top: 8px;
  font-size: 11px;
  line-height: 1.7;
  color: #4a5462;
  padding: 0 10px;
}

/* ---------- 流水 ---------- */
.side-tag {
  width: 31px;
  height: 20px;
  border-radius: 4px;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.side-tag.buy {
  background: rgba(255, 77, 79, 0.16);
  color: #ff4d4f;
}
.side-tag.sell {
  background: rgba(15, 191, 127, 0.16);
  color: #0fbf7f;
}
