/* 金币收支记录页面 */
.coin-record-container {
    max-width: 480px;
    margin: 0 auto;
    background: #f5f5f5;
    min-height: 100vh;
    padding-bottom: 20px;
}

/* 顶部导航 */
.coin-record-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: calc(10px + var(--safe-top)) 12px 10px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.coin-record-back {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.coin-record-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    flex: 1;
    text-align: center;
}

.coin-record-right {
    width: 36px;
}

/* Tab 切换 */
.record-tabs {
    display: flex;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 10px;
}

.record-tab {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-size: 15px;
    color: #666;
    position: relative;
}

.record-tab.active {
    color: #1890ff;
    font-weight: 600;
}

.record-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: #1890ff;
    border-radius: 2px;
}

/* 记录列表 */
.record-list {
    background: #fff;
    padding: 0 16px;
}

.record-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid #f5f5f5;
}

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

.record-main {
    flex: 1;
    min-width: 0;
}

.record-title {
    font-size: 15px;
    color: #333;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

.record-amount {
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    margin-left: 12px;
}

.amount-income {
    color: #52c41a;
}

.amount-expense {
    color: #333;
}

/* 加载更多 */
.load-more {
    text-align: center;
    padding: 16px;
    color: #999;
    font-size: 13px;
    display: none;
}

/* 空状态 */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    background: #fff;
    min-height: 50vh;
}

.empty-text {
    font-size: 15px;
    color: #999;
    margin-top: 16px;
}

/* 悬浮按钮 */
.floating-home {
    position: fixed;
    right: 16px;
    bottom: 80px;
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, #ff3366 0%, #ff6b9d 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 51, 102, 0.35);
    z-index: 9999;
    cursor: pointer;
    user-select: none;
    touch-action: none;
    color: #fff;
}

.floating-home svg {
    width: 18px;
    height: 18px;
    stroke: #fff;
    margin-bottom: 1px;
}

.floating-home-text {
    font-size: 9px;
    color: #fff;
}
