/* 个人中心 · 余额变动记录 */
.hg-profile-balance .hg-balance-summary{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin:16px 0 8px;
}
.hg-balance-summary__card{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 16px;
  border-radius:14px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
}
.hg-balance-summary__card.is-expense{background:linear-gradient(135deg,rgba(255,90,90,.12),rgba(255,255,255,.04))}
.hg-balance-summary__card.is-income{background:linear-gradient(135deg,rgba(80,200,120,.12),rgba(255,255,255,.04))}
.hg-balance-summary__icon{width:40px;height:40px;object-fit:contain;flex-shrink:0}
.hg-balance-summary__label{margin:0;font-size:12px;color:rgba(255,255,255,.55)}
.hg-balance-summary__value{margin:4px 0 0;font-size:20px;font-weight:700;color:#fff;line-height:1.2}

.hg-profile-balance .hg-channel-tabs{margin-top:8px;margin-bottom:12px}

.hg-balance-state{
  padding:28px 12px;
  text-align:center;
  color:rgba(255,255,255,.55);
  font-size:14px;
}
.hg-balance-state[hidden],
.hg-balance-list[hidden],
.hg-balance-more[hidden],
.hg-profile-list__empty[hidden]{display:none!important}

.hg-balance-list{display:flex;flex-direction:column;gap:10px;margin:4px 0 16px}
.hg-balance-item{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 14px;
  border-radius:14px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.06);
}
.hg-balance-item__icon{width:40px;height:40px;object-fit:contain;flex-shrink:0;border-radius:10px}
.hg-balance-item__body{flex:1;min-width:0}
.hg-balance-item__title{
  margin:0;
  font-size:15px;
  font-weight:600;
  color:#fff;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.hg-balance-item__time{margin:4px 0 0;font-size:12px;color:rgba(255,255,255,.45)}
.hg-balance-item__amount{
  display:inline-flex;
  align-items:center;
  gap:4px;
  flex-shrink:0;
  font-size:13px;
  font-weight:600;
  color:rgba(255,255,255,.75);
}
.hg-balance-item__amount.is-income{color:#5ddea0}
.hg-balance-item__star{width:14px;height:14px;object-fit:contain}

.hg-balance-more{display:flex;justify-content:center;padding:8px 0 24px}

@media (max-width:640px){
  .hg-profile-balance .hg-balance-summary{gap:8px}
  .hg-balance-summary__card{padding:12px}
  .hg-balance-summary__value{font-size:18px}
  .hg-balance-item{padding:12px}
}
