
.container {
    background-color: #F8F9FA;
    min-height: 100vh;
}
.nav-bar {
    background-color: #fff;
    padding-top: var(--status-bar-height);
    padding-left: 0.9375rem;
    padding-right: 0.9375rem;
    height: 2.75rem;
    box-sizing: content-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-left {
    height: 100%;
    display: flex;
    align-items: center;
    width: 1.875rem;
}
.back-icon {
    width: 1.25rem;
    height: 1.25rem;
    transform: rotate(180deg);
}
.nav-title {
    font-size: 0.875rem;
    font-weight: bold;
    color: #333;
}
.nav-right {
    width: 1.875rem;
}

/* 积分卡片 */
.points-card {
    margin: 0.625rem 0.9375rem;
    height: 9.375rem;
    background: linear-gradient(135deg, #FFB74D 0%, #FF9800 100%);
    border-radius: 0.625rem;
    position: relative;
    padding: 0.9375rem;
    box-sizing: border-box;
    overflow: hidden;
    color: #fff;
    box-shadow: 0 0.125rem 0.5rem rgba(255, 152, 0, 0.2);
}
.bg-decor {
    position: absolute;
    right: -0.625rem;
    bottom: -0.625rem;
    width: 5.625rem;
    height: 5.625rem;
    opacity: 0.3;
}
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.equity-btn {
    display: flex;
    align-items: center;
    font-size: 0.8125rem;
}
.equity-icon {
    width: 1rem; /* placeholder icon */
    height: 1rem;
    margin-right: 0.25rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.3); /* circle bg for icon */
}
.detail-link {
    font-size: 0.75rem;
    opacity: 0.9;
}
.card-body {
    margin-top: 1.875rem;
}
.label {
    font-size: 0.8125rem;
    opacity: 0.9;
    display: block;
    margin-bottom: 0.3125rem;
}
.value {
    font-size: 2rem;
    font-weight: bold;
}

/* 记录区域 */
.record-container {
    background-color: #fff;
    border-radius: 0.625rem 0.625rem 0 0;
    padding: 0.9375rem;
    min-height: 15.625rem;
}
.record-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.625rem;
}
.header-title {
    font-size: 0.9375rem;
    font-weight: bold;
    color: #333;
}
.header-more {
    display: flex;
    align-items: center;
}
.header-more uni-text {
    font-size: 0.75rem;
    color: #999;
}
.more-icon {
    width: 0.75rem;
    height: 0.75rem;
    margin-left: 0.125rem;
}

/* Tabs */
.tabs-row {
    display: flex;
    border-bottom: 0.03125rem solid #f5f5f5;
    margin-bottom: 0.625rem;
}
.tab-item {
    margin-right: 1.25rem;
    padding-bottom: 0.375rem;
    font-size: 0.875rem;
    color: #666;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.tab-item.active {
    font-weight: bold;
    color: #333;
}
.tab-line {
    width: 0.875rem;
    height: 0.125rem;
    background-color: #FF9800; /* Match card color */
    border-radius: 0.125rem;
    position: absolute;
    bottom: 0;
}

/* 列表 */
.list-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 0.03125rem solid #f9f9f9;
}
.item-left {
    display: flex;
    flex-direction: column;
}
.item-title {
    font-size: 0.875rem;
    color: #333;
    margin-bottom: 0.25rem;
    font-weight: 500;
}
.item-desc {
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 0.1875rem;
}
.item-time {
    font-size: 0.6875rem;
    color: #ccc;
}
.item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.item-amount {
    font-size: 0.9375rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}
.item-amount.income {
    color: #FF9800; /* Orange for points income */
}
.item-amount.expense {
    color: #333;
}
.item-tag {
    display: inline-flex;
    justify-content: flex-end;
}
.item-tag uni-text {
    background-color: #F5F5F5;
    padding: 0.125rem 0.375rem;
    border-radius: 0.1875rem;
    font-size: 0.6875rem;
    color: #999;
}
