body {
    margin: 0;
    padding: 0;
    background: url('https://material-1301092013.cos.ap-beijing.myqcloud.com/image/icon/icon.png') no-repeat center center fixed;
    background-size: cover;
    background-attachment: fixed;
    /* 确保背景固定 */
    font-family: 'Microsoft YaHei', sans-serif;
    min-height: 100vh;
    height: 100vh;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 15px;
    background: rgba(255, 255, 255, 0.7);  /* 添加半透明白色背景 */
    border-radius: 12px;  /* 添加圆角 */
    backdrop-filter: blur(5px);  /* 添加毛玻璃效果 */
    -webkit-backdrop-filter: blur(10px);  /* Safari 支持 */
}

.header {
    /* background: rgba(255, 255, 255, 0.9);  */
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 10px;  /* 从15px改为10px */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.header-content {
    display: flex;
    align-items: center;
    position: relative;
}

.back-btn {
    position: absolute;
    left: 0;
    background: none;
    border: none;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    padding: 8px 0;
}

h1 {
    font-size: 16px;
    margin: 0;
    width: 100%;
    text-align: center;
    color: #333;
}

.record-list {
    background: rgba(255, 255, 255, 0.9); 
    border-radius: 12px;
    height: calc(100vh - 135px);  /* 相应调整高度 */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.record-item {
    padding: 15px;
    border-bottom: 1px solid #f5f5f5;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: #fff;
}

.record-item.income {
    background: rgba(7, 193, 96, 0.02);
    border-left: 2px solid rgba(7, 193, 96, 0.15);
    padding-left: 13px;
}

.record-item.expense {
    background: rgba(244, 67, 54, 0.02);
    border-left: 2px solid rgba(244, 67, 54, 0.15);
    padding-left: 13px;
}

.record-item:last-child {
    border-bottom: none;
}

.record-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.record-title {
    font-size: 15px;
    color: #333;
}

.record-detail {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: #666;
}

.pay-amount.income {
    color: #07c160;
}

.pay-amount.expense {
    color: #f44336;
}

.point-amount {
    color: #07c160;
}

.record-balance {
    font-size: 12px;
    color: #999;
}

.record-time {
    font-size: 12px;
    color: #999;
    min-width: 135px;
    text-align: right;
}

.loading {
    text-align: center;
    padding: 20px;
    display: none;
}

.loader {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #07c160;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

.no-more {
    text-align: center;
    padding: 15px;
    color: #999;
    font-size: 14px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}