/* 交易记录（钱包明细） v1 */
.tx-summary {
    background: linear-gradient(135deg, #07c160 0%, #12b886 55%, #2fb344 100%);
    border-radius: 16px;
    padding: 20px 20px 18px;
    color: #fff;
    box-shadow: 0 8px 20px rgba(7, 193, 96, .22);
}
.tx-sum-label { font-size: 12.5px; opacity: .88; letter-spacing: .3px; }
.tx-sum-amount {
    font-size: 32px; font-weight: 700; line-height: 1.2; margin-top: 4px;
    font-variant-numeric: tabular-nums;
}
.tx-sum-amount::before { content: '¥'; font-size: 18px; font-weight: 600; margin-right: 2px; }
.tx-sum-tip { font-size: 11.5px; opacity: .8; margin-top: 8px; }

.tx-group { margin-top: 16px; }
.tx-date {
    font-size: 12px; color: #98a2ab; padding: 0 4px 8px; letter-spacing: .3px;
}
.tx-card {
    background: #fff; border-radius: 14px; overflow: hidden;
    box-shadow: 0 2px 10px rgba(17, 35, 52, .04);
}
.tx-row {
    display: flex; align-items: center; gap: 12px;
    padding: 13px 16px; border-bottom: 1px solid #f4f6f8;
}
.tx-row:last-child { border-bottom: none; }
.tx-ico {
    width: 38px; height: 38px; border-radius: 12px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.tx-main { flex: 1; min-width: 0; }
.tx-line1 { display: flex; align-items: center; gap: 6px; min-width: 0; }
.tx-name { font-size: 14px; color: #1d2429; font-weight: 500; white-space: nowrap; }
.tx-related {
    font-size: 11.5px; color: #7c868f; background: #f4f6f8;
    padding: 1px 6px; border-radius: 6px; overflow: hidden;
    text-overflow: ellipsis; white-space: nowrap; max-width: 130px;
}
.tx-desc {
    font-size: 12px; color: #98a2ab; margin-top: 3px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.tx-time { font-size: 11px; color: #c2c9d0; margin-top: 3px; }
.tx-amount {
    flex-shrink: 0; font-size: 15px; font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.tx-amount.in { color: #07C160; }
.tx-amount.out { color: #333; }
.tx-amount.pending { font-size: 12.5px; color: #a4aeb7; font-weight: 500; }

.tx-empty {
    text-align: center; padding: 60px 20px 40px; color: #b6bfc7;
}
.tx-empty i { font-size: 46px; color: #dde3e8; display: block; margin-bottom: 12px; }
.tx-empty p { font-size: 14px; color: #98a2ab; }
.tx-empty span { display: block; font-size: 11.5px; color: #c2c9d0; margin-top: 6px; line-height: 1.6; }
