* {
    font-family: 'MiSans', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.5;
}

/* ============================================
   滚动条优化方案 - Scrollbar Optimization
   提供两种方案：A)自定义美化  B)完全隐藏
   ============================================ */

/* 
 * 方案 A: 自定义美化滚动条 (Custom Styled Scrollbar)
 * 适用于：需要保持滚动条可见但希望美观的场景
 * 兼容性：Chrome/Edge/Safari (WebKit), Firefox (有限支持)
 */

/* WebKit 浏览器滚动条基础样式 (Chrome, Edge, Safari) */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

/* 滚动条轨道 - 背景区域 */
::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 3px;
}

/* 滚动条滑块 - 可拖动部分 */
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #d0d0d0 0%, #c0c0c0 100%);
    border-radius: 3px;
    border: 1px solid transparent;
    background-clip: padding-box;
}

/* 滑块悬停状态 */
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #b0b0b0 0%, #a0a0a0 100%);
}

/* 滑块激活/点击状态 */
::-webkit-scrollbar-thumb:active {
    background: linear-gradient(180deg, #909090 0%, #808080 100%);
}

/* 滚动条角落 (水平+垂直滚动条交汇处) */
::-webkit-scrollbar-corner {
    background: transparent;
}

/* 
 * 方案 B: 隐藏滚动条但保持功能 (Hidden but Functional)
 * 适用于：极简设计，需要最大内容展示区域
 * 注意：用户仍可通过鼠标滚轮或触摸滑动滚动
 */

/* 隐藏滚动条类 - 可添加到需要隐藏滚动条的元素 */
.hide-scrollbar {
    /* WebKit: 隐藏滚动条 */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}

.hide-scrollbar::-webkit-scrollbar {
    display: none; /* Chrome, Edge, Safari */
}

/* 
 * 方案 C: 智能显示滚动条 (Smart Scrollbar)
 * 默认隐藏，悬停时显示
 * 适用于：需要干净界面但保留滚动提示的场景
 */
.smart-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
    transition: scrollbar-color 0.3s ease;
}

.smart-scrollbar:hover {
    scrollbar-color: #c0c0c0 transparent;
}

.smart-scrollbar::-webkit-scrollbar {
    width: 4px;
}

.smart-scrollbar::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 2px;
    transition: background 0.3s ease;
}

.smart-scrollbar:hover::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #d0d0d0 0%, #c0c0c0 100%);
}

/* 
 * 特定组件滚动条样式
 * 针对不同场景定制滚动条外观
 */

/* 模态框/弹窗内容区域 - 细滚动条 */
.modal-content::-webkit-scrollbar,
.bottom-sheet::-webkit-scrollbar {
    width: 4px;
}

.modal-content::-webkit-scrollbar-thumb,
.bottom-sheet::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #e0e0e0 0%, #d0d0d0 100%);
    border-radius: 2px;
}

.modal-content::-webkit-scrollbar-thumb:hover,
.bottom-sheet::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #c0c0c0 0%, #b0b0b0 100%);
}

/* 赞助名单网格 - 橙色主题滚动条 */
.sponsors-grid::-webkit-scrollbar {
    width: 4px;
}

.sponsors-grid::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 2px;
}

.sponsors-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ffcc80 0%, #ffb74d 100%);
    border-radius: 2px;
}

.sponsors-grid::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ffb74d 0%, #ff9800 100%);
}

/* 
 * 响应式滚动条适配
 * 针对不同设备的优化
 */

/* 移动端：更细的滚动条或完全隐藏 */
@media (max-width: 768px) {
    ::-webkit-scrollbar {
        width: 3px;
        height: 3px;
    }

    ::-webkit-scrollbar-thumb {
        border-radius: 2px;
    }

    /* 触摸设备上减少滚动条干扰 */
    @media (hover: none) and (pointer: coarse) {
        .touch-hide-scrollbar {
            scrollbar-width: none;
            -ms-overflow-style: none;
        }
        
        .touch-hide-scrollbar::-webkit-scrollbar {
            display: none;
        }
    }
}

/* 平板设备：中等宽度滚动条 */
@media (min-width: 769px) and (max-width: 1024px) {
    ::-webkit-scrollbar {
        width: 5px;
        height: 5px;
    }
}

/* 桌面端：标准宽度滚动条 */
@media (min-width: 1025px) {
    ::-webkit-scrollbar {
        width: 6px;
        height: 6px;
    }
}

/* 
 * Firefox 浏览器支持
 * 使用标准 CSS 属性 (有限定制能力)
 */
* {
    /* 细滚动条，滑块颜色+轨道颜色 */
    scrollbar-width: thin;
    scrollbar-color: #c0c0c0 transparent;
}

/* Firefox 悬停效果 */
*:hover {
    scrollbar-color: #a0a0a0 transparent;
}

/* 
 * 性能优化
 * 使用 will-change 提示浏览器优化滚动性能
 */
.scroll-container {
    will-change: scroll-position;
    -webkit-overflow-scrolling: touch; /* iOS 平滑滚动 */
}

/* 
 * 暗色模式支持 (可选)
 * 根据系统偏好自动调整滚动条颜色
 */
@media (prefers-color-scheme: dark) {
    ::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, #555 0%, #444 100%);
    }

    ::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(180deg, #666 0%, #555 100%);
    }

    * {
        scrollbar-color: #555 transparent;
    }
}

.app-container {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    background-color: #fff;
    position: relative;
}

/* Header */
.header {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.username {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn svg {
    width: 22px;
    height: 22px;
}

.notification-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 6px;
    height: 6px;
    background-color: #ff4d4f;
    border-radius: 50%;
}

.relative {
    position: relative;
}

/* Notification Banner */
.notification-banner {
    margin: 8px 16px;
    background: linear-gradient(135deg, #fff9e6 0%, #fff5d6 100%);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #ffe4b3;
}

.notification-icon {
    width: 18px;
    height: 18px;
    color: #ff9500;
    flex-shrink: 0;
}

.notification-text {
    flex: 1;
    font-size: 14px;
    color: #333;
}

.notification-text strong {
    color: #ff9500;
    font-weight: 500;
}

.close-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn svg {
    width: 16px;
    height: 16px;
}

/* Main Card */
.card-section {
    padding: 0 16px;
    margin-top: 12px;
}

.main-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 8;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.card-bg-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.card-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.card-bg-image.active {
    opacity: 1;
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.card-tags {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 8px;
    z-index: 2;
}

.tag {
    padding: 4px 10px;
    background-color: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    font-size: 11px;
    color: #fff;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.card-content {
    position: absolute;
    bottom: 20px;
    left: 16px;
    right: 16px;
    z-index: 2;
}

.amount-label {
    display: flex;
    align-items: center;
    gap: 4px;
    color: rgba(255,255,255,0.9);
    font-size: 11px;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.amount-label svg {
    width: 12px;
    height: 12px;
    opacity: 0.8;
}

/* 眼睛图标切换按钮样式 */
.eye-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255,255,255,0.9);
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.eye-toggle-btn:hover {
    background-color: rgba(255,255,255,0.15);
    transform: scale(1.1);
}

.eye-toggle-btn:active {
    transform: scale(0.95);
}

.eye-toggle-btn.eye-hidden {
    opacity: 0.7;
}

.eye-toggle-btn.eye-hidden:hover {
    opacity: 1;
}

.eye-icon {
    width: 16px;
    height: 16px;
    transition: all 0.3s ease;
}

/* 金额隐藏时的样式 */
.amount-value.amount-hidden {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: 2px;
    user-select: none;
}

/* 眼睛图标点击动画 */
@keyframes eyeClick {
    0% { transform: scale(1); }
    50% { transform: scale(0.85); }
    100% { transform: scale(1); }
}

.eye-toggle-btn:active .eye-icon {
    animation: eyeClick 0.2s ease;
}

/* 移动端适配 */
@media (max-width: 480px) {
    .eye-toggle-btn {
        padding: 6px;
    }
    
    .eye-icon {
        width: 14px;
        height: 14px;
    }
    
    .amount-value.amount-hidden {
        letter-spacing: 1px;
    }
}

.amount-display {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.amount-value {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -1px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.profit-info {
    text-align: right;
}

.profit-badge {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.profit-badge svg {
    width: 14px;
    height: 14px;
    color: #ffd700;
}

.profit-text {
    color: rgba(255,255,255,0.85);
    font-size: 11px;
    margin-top: 2px;
    letter-spacing: 0.3px;
}

.carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}

.dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: all 0.3s;
}

.dot:hover {
    background-color: rgba(255,255,255,0.6);
}

.dot.active {
    background-color: #fff;
    width: 12px;
    border-radius: 3px;
}

.dot.active {
    background-color: #fff;
}

/* Description */
.description-section {
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.hash-tags {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.hash-tag {
    font-size: 14px;
    color: #999;
}

.description-text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    flex: 1;
}

.expand-link {
    color: #999;
    cursor: pointer;
}

/* Stats */
.stats-section {
    padding: 0 16px 16px;
    display: flex;
    align-items: center;
    gap: 24px;
    border-bottom: 1px solid #f0f0f0;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #999;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.stat-item svg {
    width: 18px;
    height: 18px;
}

.stat-item.liked {
    color: #ff4d4f;
}

.stat-item.liked svg {
    fill: #ff4d4f;
}

/* Action Buttons */
.action-buttons {
    padding: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.action-btn {
    padding: 14px 24px;
    background-color: #f5f5f5;
    border-radius: 12px;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.action-btn:active {
    transform: scale(0.98);
    background-color: #e8e8e8;
}

/* Features */
.features-section {
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.features-grid {
    display: flex;
    justify-content: space-between;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: #666;
}

.feature-name {
    font-size: 12px;
    color: #666;
}

/* Tabs */
.tabs-section {
    padding: 0 16px;
    border-bottom: 1px solid #f0f0f0;
}

.tabs {
    display: flex;
    gap: 24px;
}

.tab {
    padding: 16px 0;
    font-size: 15px;
    font-weight: 500;
    color: #999;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tab.active {
    color: #ff9500;
}

.tab-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #ff9500;
    border-radius: 2px;
}

.tab svg {
    width: 16px;
    height: 16px;
}

/* Records List */
.records-section {
    padding: 0 16px;
}

.record-item {
    padding: 16px 0;
    border-bottom: 1px solid #f5f5f5;
}

.record-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.record-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.record-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.record-user-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.record-username {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    line-height: 1.3;
}

.record-type {
    font-size: 12px;
    color: #999;
    line-height: 1.3;
    margin-top: 2px;
}

.record-amount {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    line-height: 1.3;
}

.record-amount.income {
    color: #ff9500;
}

.record-amount.expense {
    color: #333;
}

.record-content {
    margin-left: 52px;
}

.record-note {
    font-size: 14px;
    color: #444;
    margin-bottom: 12px;
    line-height: 1.6;
}

/* ============================================
   微信朋友圈风格图片网格 - WeChat Moments Style
   ============================================ */

.record-images.wechat-style {
    margin: 12px 0;
    width: 100%;
}

/* 计算基础单元格尺寸：
   3列布局总宽度 = 3个单元格 + 2个间距
   设单元格宽度为 x，则 3x + 2*4px = 总宽度
   总宽度最大280px，所以 x = (280 - 8) / 3 ≈ 90.67px
   
   为了保持所有图片尺寸一致，我们以3列布局的单元格为基准
   2列布局：每格宽度 = (3x + 8) / 2 = 1.5x + 4
   需要让2列的单元格等于3列的单元格，所以统一使用3列的单元格大小
*/

/* 1张图片 - 保持原图比例，限制最大尺寸 */
.wechat-grid-1 {
    display: block;
    max-width: 280px;
}

.wechat-grid-1 .record-image-wrapper {
    width: auto;
    max-width: 280px;
    max-height: 400px;
    background: #f5f5f5;
    border-radius: 4px;
    overflow: hidden;
}

.wechat-grid-1 .record-image-wrapper img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    display: block;
}

/* 2张图片 - 并排，各占50%，但保持与3列相同的单元格大小 */
.wechat-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    max-width: 280px;
}

.wechat-grid-2 .record-image-wrapper {
    aspect-ratio: 1;
}

/* 3张图片 - 一排3张，这是基准尺寸 */
.wechat-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    max-width: 280px;
}

.wechat-grid-3 .record-image-wrapper {
    aspect-ratio: 1;
}

/* 4张图片 - 2×2网格 */
.wechat-grid-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    max-width: 280px;
}

.wechat-grid-4 .record-image-wrapper {
    aspect-ratio: 1;
}

/* 5-6张图片 - 使用3列网格，保持单元格大小一致 */
.wechat-grid-5,
.wechat-grid-6 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    max-width: 280px;
}

.wechat-grid-5 .record-image-wrapper,
.wechat-grid-6 .record-image-wrapper {
    aspect-ratio: 1;
}

/* 7-9张图片 - 3×3网格 */
.wechat-grid-7,
.wechat-grid-8,
.wechat-grid-9 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    max-width: 280px;
}

.wechat-grid-7 .record-image-wrapper,
.wechat-grid-8 .record-image-wrapper,
.wechat-grid-9 .record-image-wrapper {
    aspect-ratio: 1;
}

/* 图片查看遮罩层 */
.record-image-wrapper {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 4px;
}

.record-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.record-image-wrapper:hover img {
    transform: scale(1.05);
}

.record-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.record-image-wrapper:hover .record-image-overlay {
    opacity: 1;
}

.record-image-overlay svg {
    width: 32px;
    height: 32px;
    color: white;
}

.record-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

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

.record-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.record-action-btn {
    display: flex;
    align-items: center;
    gap: 3px;
    color: #bbb;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 12px;
}

.record-action-btn svg {
    width: 14px;
    height: 14px;
}

/* ============================================
   图片加载状态样式 - Image Loading States
   ============================================ */

/* 加载占位 */
.image-loading-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-spinner {
    width: 24px;
    height: 24px;
    border: 2px solid #e0e0e0;
    border-top-color: #ff9500;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 错误占位 */
.image-error-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #bbb;
    font-size: 12px;
    gap: 4px;
}

.image-error-placeholder svg {
    width: 24px;
    height: 24px;
}

/* 查看更多遮罩 */
.record-image-more {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.record-image-more span {
    color: white;
    font-size: 20px;
    font-weight: 600;
}

/* 图片加载完成后的淡入效果 */
.record-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.record-image-wrapper img[src] {
    opacity: 1;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0);
    z-index: 1000;
    display: flex;
    transition: background-color 0.3s ease;
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
    from { background-color: rgba(0, 0, 0, 0); }
    to { background-color: rgba(0, 0, 0, 0.5); }
}

.modal-overlay.closing {
    animation: fadeOut 0.3s ease forwards;
}

@keyframes fadeOut {
    from { background-color: rgba(0, 0, 0, 0.5); }
    to { background-color: rgba(0, 0, 0, 0); }
}

.modal-overlay.bottom {
    align-items: flex-end;
}

.modal-overlay.center {
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background-color: #fff;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.modal-content.bottom-sheet {
    border-radius: 24px 24px 0 0;
    padding: 24px 20px 20px;
    max-height: 85vh;
    overflow-y: auto;
    animation: slideUpBounce 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.1);
}

.modal-overlay.closing .modal-content.bottom-sheet {
    animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.modal-content.center-dialog {
    border-radius: 20px;
    padding: 24px;
    max-width: 320px;
    animation: scaleInBounce 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

@keyframes slideUpBounce {
    from {
        transform: translateY(100%);
        opacity: 0.8;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0.8;
    }
}

@keyframes scaleInBounce {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    70% {
        transform: scale(1.02);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.modal-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close svg {
    width: 24px;
    height: 24px;
}

/* Notification List */
.notification-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notification-item {
    padding: 16px;
    background-color: #fff9e6;
    border-radius: 12px;
}

.notification-item.system {
    background-color: #f8f8f8;
}

.notification-item-title {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
}

.notification-item-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

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

/* Settings List */
.settings-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.settings-item {
    width: 100%;
    text-align: left;
    padding: 14px 16px;
    background-color: #f8f8f8;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 15px;
    color: #333;
}

.settings-item svg {
    width: 20px;
    height: 20px;
    color: #999;
}

.settings-close-btn {
    width: 100%;
    margin-top: 20px;
    padding: 14px 24px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.settings-close-btn:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f0f0 100%);
    border-color: #d0d0d0;
    color: #333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.settings-close-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

/* Donate Modal */
.donate-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.donate-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background-color: #f8f8f8;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

.donate-option:hover {
    background-color: #f0f0f0;
}

.donate-option:active {
    transform: scale(0.98);
}

.donate-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.donate-icon.alipay {
    background: linear-gradient(135deg, #1677ff 0%, #0056d6 100%);
}

.donate-icon.wechat {
    background: linear-gradient(135deg, #07c160 0%, #05a350 100%);
}

.donate-icon.crypto {
    background: linear-gradient(135deg, #f7931a 0%, #e67e00 100%);
}

.donate-icon svg {
    width: 28px;
    height: 28px;
    color: #fff;
}

.donate-info {
    flex: 1;
}

.donate-name {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
}

.donate-desc {
    font-size: 13px;
    color: #999;
}

.donate-arrow {
    width: 20px;
    height: 20px;
    color: #ccc;
}

/* QR Code Modal */
.qr-modal-content {
    text-align: center;
    padding: 20px;
}

.qr-code-container {
    margin-bottom: 20px;
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
}

.qr-code {
    max-width: 100%;
    max-height: 50vh;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.qr-code img {
    max-width: 100%;
    max-height: 50vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.qr-code img:hover {
    transform: scale(1.02);
}

.qr-address-container {
    background-color: #f8f8f8;
    border-radius: 12px;
    padding: 16px;
    margin-top: 16px;
}

.qr-address-label {
    font-size: 13px;
    color: #999;
    margin-bottom: 8px;
}

.qr-address {
    font-size: 14px;
    color: #333;
    font-family: 'Courier New', monospace;
    word-break: break-all;
    line-height: 1.5;
    background-color: #fff;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
}

.qr-btn-group {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    justify-content: center;
}

.qr-copy-btn,
.qr-save-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 0;
    padding: 12px 24px;
    min-width: 120px;
    height: 44px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 22px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    box-sizing: border-box;
}

.qr-copy-btn:hover,
.qr-save-btn:hover {
    background-color: #555;
}

.qr-copy-btn:active,
.qr-save-btn:active {
    transform: scale(0.98);
}

.qr-save-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.qr-hint {
    font-size: 13px;
    color: #999;
    margin-top: 16px;
}

/* Donation Message */
.donation-message {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #fff5f5 0%, #fff0f0 100%);
    border: 1px solid #ffd6d6;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 20px;
}

.donation-icon {
    width: 20px;
    height: 20px;
    color: #ff6b6b;
    flex-shrink: 0;
}

.donation-text {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* QR Bottom Sheet */
.qr-bottom-sheet {
    text-align: center;
    padding: 20px 20px 30px;
}

/* Receive Bottom Sheet */
.receive-bottom-sheet {
    padding: 20px;
    text-align: center;
}

.receive-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.receive-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background-color: #f8f8f8;
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.receive-tab:hover {
    background-color: #f0f0f0;
}

.receive-tab.active {
    background-color: #fff;
    border-color: #ff9500;
}

.receive-tab-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.receive-tab-icon.alipay {
    background: linear-gradient(135deg, #1677ff 0%, #0056d6 100%);
}

.receive-tab-icon.wechat {
    background: linear-gradient(135deg, #07c160 0%, #05a350 100%);
}

.receive-tab-icon svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

.receive-tab span {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.receive-qr-image-wrapper {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.receive-qr-image {
    max-width: 100%;
    max-height: 50vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.receive-qr-image:hover {
    transform: scale(1.02);
}

.receive-hint {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.receive-message {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f0ff 100%);
    border: 1px solid #cce0ff;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 20px;
}

.receive-message-icon {
    width: 20px;
    height: 20px;
    color: #1677ff;
    flex-shrink: 0;
}

.receive-message-text {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

.receive-save-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    background-color: #333;
    color: #fff;
    border-radius: 24px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
}

.receive-save-btn:hover {
    background-color: #555;
}

.receive-save-btn:active {
    transform: scale(0.98);
}

.receive-save-btn svg {
    width: 18px;
    height: 18px;
}

/* Save Money Bottom Sheet */
.save-money-bottom-sheet {
    max-height: 85vh;
    overflow-y: auto;
}

/* Tabs - Elevated */
.save-tabs {
    display: flex;
    background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 100%);
    border-radius: 14px;
    padding: 5px;
    margin-bottom: 20px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

.save-tab {
    flex: 1;
    padding: 14px 12px;
    background: none;
    border: none;
    font-size: 15px;
    color: #888;
    cursor: pointer;
    transition: all 0.25s ease;
    border-radius: 10px;
    font-weight: 500;
}

.save-tab.active {
    background: linear-gradient(135deg, #fff 0%, #fafafa 100%);
    color: #ff6b35;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255,107,53,0.15);
}

/* Goal Section - Enhanced */
.save-goal-section {
    background: linear-gradient(135deg, #fff 0%, #fafafa 100%);
    border-radius: 16px;
    padding: 24px 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    border: 1px solid #f0f0f0;
}

.save-goal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.save-goal-name {
    font-size: 18px;
    font-weight: 600;
    color: #222;
}

.save-goal-badge {
    font-size: 12px;
    color: #1677ff;
    background: linear-gradient(135deg, #e6f0ff 0%, #d4e5ff 100%);
    padding: 6px 14px;
    border-radius: 12px;
    font-weight: 500;
}

.save-goal-progress {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background-color: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b35 0%, #ff8c42 100%);
    border-radius: 4px;
    transition: width 0.5s ease;
    box-shadow: 0 2px 8px rgba(255,107,53,0.3);
}

.progress-text {
    font-size: 14px;
    font-weight: 600;
    color: #ff6b35;
    min-width: 36px;
}

.save-goal-stats {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.goal-stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.goal-stat.center {
    align-items: center;
    padding: 0 12px;
    border-left: 1px solid #f0f0f0;
    border-right: 1px solid #f0f0f0;
}

.stat-label {
    font-size: 12px;
    color: #999;
    font-weight: 400;
}

.stat-value {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.stat-value.highlight {
    color: #ff6b35;
}

/* Plan Card - Elevated */
.save-plan-card {
    background: linear-gradient(135deg, #fff 0%, #fafafa 100%);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    border: 1px solid #f0f0f0;
}

.plan-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.plan-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f0f0f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.plan-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.plan-name {
    font-size: 17px;
    font-weight: 600;
    color: #222;
}

.plan-subtitle {
    font-size: 13px;
    color: #999;
}

.plan-total {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #fff8e7 0%, #ffefd6 100%);
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #ff9500;
    box-shadow: 0 2px 8px rgba(255,149,0,0.1);
}

.coin-icon {
    font-size: 16px;
}

.plan-desc {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
    padding: 16px;
    background: #f8f8f8;
    border-radius: 12px;
    line-height: 1.5;
}

/* Recharge/Meme Section */
.recharge-section {
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.meme-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.meme-image {
    max-width: 100%;
    max-height: 300px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    margin-bottom: 16px;
    object-fit: contain;
}

.meme-text {
    font-size: 16px;
    color: #666;
    text-align: center;
    font-weight: 500;
}

/* Sponsors Section */
.sponsors-section {
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.sponsors-year {
    margin-bottom: 24px;
}

.sponsors-year:last-child {
    margin-bottom: 0;
}

.sponsors-year-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.sponsors-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sponsor-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: background-color 0.2s;
}

.sponsor-item:active {
    background: #f0f0f0;
}

.sponsor-name {
    font-size: 15px;
    color: #333;
    font-weight: 500;
}

.sponsor-amount {
    font-size: 15px;
    color: #ff6b35;
    font-weight: 600;
}

/* Sponsors Stats */
.sponsors-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.sponsors-stat-card {
    background: linear-gradient(135deg, #fff8e7 0%, #ffefd6 100%);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(255,149,0,0.1);
}

.sponsors-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #ff9500;
    margin-bottom: 4px;
}

.sponsors-stat-label {
    font-size: 13px;
    color: #999;
}

/* Sponsors Search */
.sponsors-search {
    position: relative;
    margin-bottom: 20px;
}

.sponsors-search .search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #999;
}

.sponsors-search-input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    font-size: 15px;
    background: #f8f9fa;
    transition: all 0.2s;
}

.sponsors-search-input:focus {
    outline: none;
    border-color: #1677ff;
    background: #fff;
}

.sponsors-search-input::placeholder {
    color: #aaa;
}

/* Sponsors Grid */
.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 4px;
}

.sponsors-grid::-webkit-scrollbar {
    width: 4px;
}

.sponsors-grid::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 2px;
}

.sponsors-grid::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px;
}

.sponsor-card {
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #f0f0f0;
}

.sponsor-card:active {
    transform: scale(0.98);
}

.sponsor-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.sponsor-rank {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #ff9500 0%, #ff6b35 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.sponsor-avatar-small {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: #1677ff;
}

.sponsor-card-body {
    text-align: center;
}

.sponsor-card-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sponsor-card-amount {
    font-size: 18px;
    font-weight: 700;
    color: #ff6b35;
    margin-bottom: 4px;
}

.sponsor-card-date {
    font-size: 12px;
    color: #aaa;
}

/* Sponsors Empty State */
.sponsors-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: #999;
}

.sponsors-empty svg {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    color: #ccc;
}

.sponsors-empty p {
    font-size: 14px;
}

/* Responsive */
@media (max-width: 375px) {
    .sponsors-grid {
        grid-template-columns: 1fr;
    }
}

.plan-details {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.plan-detail {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.detail-label {
    font-size: 12px;
    color: #aaa;
    font-weight: 400;
}

.detail-value {
    font-size: 15px;
    font-weight: 600;
    color: #444;
}

.detail-value.highlight {
    color: #ff6b35;
}

/* Add Button - Enhanced - Orange Theme */
.save-add-btn {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #ff9500 0%, #ff6b35 100%);
    color: #fff;
    border: none;
    border-radius: 28px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(255,107,53,0.3);
    margin-top: 4px;
}

.save-add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,107,53,0.4);
}

.save-add-btn:active {
    transform: translateY(0);
}

.save-add-btn svg {
    width: 20px;
    height: 20px;
}

/* Load More Section */
.load-more-section {
    padding: 24px 16px;
    text-align: center;
    position: relative;
}

.load-more-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    max-width: 300px;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0,0,0,0.06) 20%, 
        rgba(0,0,0,0.1) 50%, 
        rgba(0,0,0,0.06) 80%, 
        transparent 100%
    );
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    background: linear-gradient(135deg, #fff 0%, #f8f8f8 100%);
    border: 1px solid #e0e0e0;
    border-radius: 24px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.25s ease;
}

.load-more-btn:hover {
    background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 100%);
    border-color: #d0d0d0;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.load-more-btn:active {
    transform: translateY(0);
}

.load-more-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.load-more-btn.loading svg {
    animation: rotate 1s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.all-loaded {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px 16px;
    color: #999;
    font-size: 13px;
    position: relative;
}

.all-loaded::before,
.all-loaded::after {
    content: '';
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0,0,0,0.05) 30%, 
        rgba(0,0,0,0.08) 50%, 
        rgba(0,0,0,0.05) 70%, 
        transparent 100%
    );
}

/* Footer - Coordinated with page style */
.site-footer {
    background: linear-gradient(135deg, #fff 0%, #f8f8f8 100%);
    padding: 32px 16px 32px;
    margin-top: auto;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 400px;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0,0,0,0.04) 15%, 
        rgba(0,0,0,0.08) 50%, 
        rgba(0,0,0,0.04) 85%, 
        transparent 100%
    );
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-logo img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: 16px;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.25s ease;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid transparent;
}

.footer-link:hover {
    color: #333;
    background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 100%);
    border-color: #e0e0e0;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.footer-icon {
    width: 16px;
    height: 16px;
    color: #999;
}

.footer-icon.police {
    color: #1677ff;
}

.footer-divider {
    color: #e0e0e0;
    font-size: 13px;
}

.footer-copyright {
    color: #999;
    font-size: 12px;
    line-height: 1.6;
    letter-spacing: 0.5px;
}

/* Mobile Footer */
@media (max-width: 480px) {
    .footer-links {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 8px;
        justify-content: center;
        padding: 0 8px;
    }

    .footer-link {
        font-size: 11px;
        padding: 6px 8px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .footer-link svg {
        width: 14px;
        height: 14px;
        flex-shrink: 0;
    }

    .footer-divider {
        display: flex;
        align-items: center;
    }

    .footer-copyright {
        font-size: 11px;
    }

    .load-more-btn {
        width: 100%;
        justify-content: center;
    }

    .site-footer::before {
        width: 60%;
    }
}

/* About Modal Styles */
.about-bottom-sheet {
    padding: 20px;
}

.about-content {
    padding: 20px 0;
}

.about-app-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0 30px;
    border-bottom: 1px solid #f0f0f0;
}

.about-logo {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    margin-bottom: 16px;
}

.about-app-name {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.about-version {
    font-size: 14px;
    color: #999;
}

.about-info-list {
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.about-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
}

.info-label {
    font-size: 15px;
    color: #666;
}

.info-value {
    font-size: 15px;
    color: #333;
    font-weight: 500;
}

.about-links {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.about-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.2s;
    border-bottom: 1px solid #f8f8f8;
}

.about-link:last-child {
    border-bottom: none;
}

.about-link:hover {
    color: #1677ff;
}

.about-link svg {
    width: 18px;
    height: 18px;
    color: #ccc;
}

.about-copyright {
    padding: 30px 0 10px;
    text-align: center;
}

.about-copyright p {
    font-size: 13px;
    color: #999;
    line-height: 1.8;
    margin: 0;
}

/* About Section Styles */
.about-section {
    padding: 24px 0;
    border-bottom: 1px solid #f0f0f0;
}

.about-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

.about-section-title svg {
    width: 20px;
    height: 20px;
    color: #ff9500;
}

.about-text {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 12px;
}

.about-text:last-child {
    margin-bottom: 0;
}

.about-text strong {
    color: #333;
    font-weight: 600;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #555;
}

.feature-dot {
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #ff9500 0%, #ff6b35 100%);
    border-radius: 50%;
    flex-shrink: 0;
}

.about-logo-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #fff8e7 0%, #ffefd6 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 4px 16px rgba(255,149,0,0.15);
}

.about-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
}

.about-slogan {
    font-size: 14px;
    color: #ff9500;
    font-weight: 500;
    margin-bottom: 8px;
}

/* Confetti Effect - Optimized */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    overflow: hidden;
    will-change: transform;
}

.confetti {
    position: absolute;
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.confetti.square {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    animation: confetti-fall-square 4s ease-out forwards;
}

.confetti.circle {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: confetti-fall-circle 4.5s ease-out forwards;
}

.confetti.triangle {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 10px solid;
    background: transparent !important;
    animation: confetti-fall-triangle 4.2s ease-out forwards;
}

.confetti.star {
    width: 12px;
    height: 12px;
    background: currentColor;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: confetti-fall-star 4.5s ease-out forwards;
}

.confetti.ribbon {
    width: 6px;
    height: 16px;
    border-radius: 3px;
    animation: confetti-fall-ribbon 4s ease-out forwards;
}

@keyframes confetti-fall-square {
    0% {
        transform: translateY(-10vh) translateX(0) rotate(0deg) scale(0.5);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translateY(10vh) translateX(10px) rotate(90deg) scale(1);
    }
    25% {
        transform: translateY(30vh) translateX(-10px) rotate(180deg) scale(0.9);
    }
    50% {
        transform: translateY(60vh) translateX(20px) rotate(360deg) scale(1);
        opacity: 0.9;
    }
    75% {
        transform: translateY(85vh) translateX(-15px) rotate(540deg) scale(0.8);
        opacity: 0.5;
    }
    100% {
        transform: translateY(110vh) translateX(10px) rotate(720deg) scale(0.3);
        opacity: 0;
    }
}

@keyframes confetti-fall-circle {
    0% {
        transform: translateY(-10vh) translateX(0) rotate(0deg) scale(0.3);
        opacity: 0;
    }
    8% {
        opacity: 1;
        transform: translateY(15vh) translateX(-15px) rotate(45deg) scale(1);
    }
    30% {
        transform: translateY(40vh) translateX(25px) rotate(135deg) scale(0.95);
    }
    55% {
        transform: translateY(65vh) translateX(-20px) rotate(270deg) scale(1);
        opacity: 0.85;
    }
    80% {
        transform: translateY(90vh) translateX(15px) rotate(405deg) scale(0.7);
        opacity: 0.4;
    }
    100% {
        transform: translateY(110vh) translateX(-5px) rotate(540deg) scale(0.2);
        opacity: 0;
    }
}

@keyframes confetti-fall-triangle {
    0% {
        transform: translateY(-10vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    12% {
        opacity: 1;
        transform: translateY(12vh) translateX(20px) rotate(60deg);
    }
    35% {
        transform: translateY(35vh) translateX(-15px) rotate(150deg);
    }
    60% {
        transform: translateY(60vh) translateX(25px) rotate(240deg);
        opacity: 0.8;
    }
    85% {
        transform: translateY(88vh) translateX(-10px) rotate(330deg);
        opacity: 0.35;
    }
    100% {
        transform: translateY(110vh) translateX(5px) rotate(420deg);
        opacity: 0;
    }
}

@keyframes confetti-fall-star {
    0% {
        transform: translateY(-10vh) translateX(0) rotate(0deg) scale(0.4);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translateY(8vh) translateX(-20px) rotate(72deg) scale(1);
    }
    28% {
        transform: translateY(32vh) translateX(15px) rotate(144deg) scale(0.9);
    }
    52% {
        transform: translateY(58vh) translateX(-25px) rotate(216deg) scale(1);
        opacity: 0.9;
    }
    78% {
        transform: translateY(85vh) translateX(20px) rotate(288deg) scale(0.75);
        opacity: 0.45;
    }
    100% {
        transform: translateY(110vh) translateX(-8px) rotate(360deg) scale(0.25);
        opacity: 0;
    }
}

@keyframes confetti-fall-ribbon {
    0% {
        transform: translateY(-10vh) translateX(0) rotate(0deg) scale(0.5);
        opacity: 0;
    }
    15% {
        opacity: 1;
        transform: translateY(18vh) translateX(12px) rotate(45deg) scale(1);
    }
    40% {
        transform: translateY(45vh) translateX(-18px) rotate(90deg) scale(0.85);
    }
    65% {
        transform: translateY(70vh) translateX(22px) rotate(135deg) scale(0.95);
        opacity: 0.75;
    }
    90% {
        transform: translateY(95vh) translateX(-12px) rotate(180deg) scale(0.6);
        opacity: 0.3;
    }
    100% {
        transform: translateY(110vh) translateX(8px) rotate(225deg) scale(0.2);
        opacity: 0;
    }
}

/* Background Floating Logos */
.bg-logos-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.bg-logo {
    position: absolute;
    width: 60px;
    height: 60px;
    opacity: 0.08;
    filter: grayscale(100%);
    animation: logo-float 6s ease-in-out infinite;
    will-change: transform;
}

.bg-logo:nth-child(1) {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 5s;
}

.bg-logo:nth-child(2) {
    top: 25%;
    right: 15%;
    animation-delay: 1s;
    animation-duration: 7s;
}

.bg-logo:nth-child(3) {
    top: 50%;
    left: 5%;
    animation-delay: 2s;
    animation-duration: 6s;
}

.bg-logo:nth-child(4) {
    top: 60%;
    right: 10%;
    animation-delay: 0.5s;
    animation-duration: 8s;
}

.bg-logo:nth-child(5) {
    top: 75%;
    left: 20%;
    animation-delay: 1.5s;
    animation-duration: 5.5s;
}

@keyframes logo-float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(3deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(15px) rotate(-3deg);
    }
}

/* Mobile Responsive for Background Logos */
@media (max-width: 768px) {
    .bg-logo {
        width: 40px;
        height: 40px;
        opacity: 0.06;
    }

    .bg-logo:nth-child(1) {
        top: 10%;
        left: 5%;
    }

    .bg-logo:nth-child(2) {
        top: 20%;
        right: 8%;
    }

    .bg-logo:nth-child(3) {
        top: 45%;
        left: 3%;
    }

    .bg-logo:nth-child(4) {
        top: 55%;
        right: 5%;
    }

    .bg-logo:nth-child(5) {
        top: 70%;
        left: 15%;
    }
}

/* Message Popup - Optimized Design */
.message-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border-radius: 24px;
    padding: 40px 48px;
    text-align: center;
    z-index: 10000;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 8px 24px rgba(0, 0, 0, 0.08);
    animation: message-pop 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    min-width: 280px;
    max-width: 90vw;
}

.message-popup.hide {
    animation: message-hide 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.message-popup-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(255, 107, 107, 0.3);
    animation: icon-float 2s ease-in-out infinite;
}

.message-popup-icon svg {
    width: 40px;
    height: 40px;
    color: #fff;
}

.message-popup-text {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    line-height: 1.8;
    margin-bottom: 8px;
}

.message-popup-text:last-child {
    margin-bottom: 0;
    color: #666;
    font-size: 16px;
    font-weight: 400;
}

.message-popup-divider {
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #ff8e8e);
    border-radius: 2px;
    margin: 20px auto;
}

@keyframes message-pop {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

@keyframes message-hide {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0;
    }
}

@keyframes icon-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .message-popup {
        padding: 32px 28px;
        min-width: 260px;
    }

    .message-popup-icon {
        width: 64px;
        height: 64px;
    }

    .message-popup-icon svg {
        width: 32px;
        height: 32px;
    }

    .message-popup-text {
        font-size: 16px;
    }

    .message-popup-text:last-child {
        font-size: 14px;
    }
}

/* Smooth Transition Animations */
.modal-content.bottom-sheet {
    animation: slideUpIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-content.bottom-sheet.closing {
    animation: slideDownOut 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.modal-content.center-dialog {
    animation: scaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpIn {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideDownOut {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Toast */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 250, 250, 0.95) 100%);
    color: #555;
    padding: 14px 28px;
    border-radius: 28px;
    font-size: 14px;
    font-weight: 500;
    z-index: 2000;
    animation: toastSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(200, 200, 200, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-width: 140px;
    text-align: center;
    letter-spacing: 0.3px;
}

.toast::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    border-radius: 28px 28px 0 0;
}

@keyframes toastSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(30px) scale(0.9);
    }
    60% {
        opacity: 1;
        transform: translateX(-50%) translateY(-5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

@keyframes toastSlideOut {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px) scale(0.95);
    }
}

/* Toast exit animation */
.toast-exit {
    animation: toastSlideOut 0.3s ease-in forwards;
}

/* Toast Responsive Styles */
@media (max-width: 480px) {
    .toast {
        bottom: 80px;
        padding: 12px 20px;
        font-size: 13px;
        border-radius: 24px;
        min-width: 120px;
        max-width: 80vw;
        letter-spacing: 0.2px;
    }
}

@media (max-width: 375px) {
    .toast {
        bottom: 70px;
        padding: 10px 18px;
        font-size: 12px;
        border-radius: 20px;
    }
}

@media (min-width: 769px) {
    .toast {
        bottom: 120px;
        padding: 16px 32px;
        font-size: 15px;
    }
}

.hidden {
    display: none !important;
}

[v-cloak] {
    display: none;
}

/* Bill Filter Modal Styles */
.bill-filter-sheet {
    padding: 20px;
}

.bill-filter-content {
    padding: 20px 0;
}

.filter-options {
    margin-bottom: 30px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-option:last-child {
    border-bottom: none;
}

.filter-option:active {
    opacity: 0.7;
}

.option-checkbox {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.filter-option.checked .option-checkbox {
    background-color: #ff9500;
    border-color: #ff9500;
}

.filter-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.filter-option.disabled .option-text {
    color: #999;
}

.option-checkbox svg {
    width: 14px;
    height: 14px;
    color: #fff;
}

.option-text {
    font-size: 16px;
    color: #333;
    flex: 1;
}

.option-input {
    display: none;
}

.filter-actions {
    display: flex;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.filter-btn {
    flex: 1;
    padding: 14px 24px;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
}

.filter-btn.cancel {
    background-color: #f5f5f5;
    color: #666;
}

.filter-btn.cancel:hover {
    background-color: #e8e8e8;
}

.filter-btn.confirm {
    background: linear-gradient(135deg, #ff9500 0%, #ff7700 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 149, 0, 0.3);
}

.filter-btn.confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 149, 0, 0.4);
}

.filter-btn.confirm:active {
    transform: translateY(0);
}

.filter-btn.reset {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #e0e0e0;
}

.filter-btn.reset:hover {
    background: #eeeeee;
    transform: translateY(-2px);
}

.filter-btn.reset:active {
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .bill-filter-sheet {
        padding: 16px;
    }

    .filter-option {
        padding: 16px 0;
    }

    .option-text {
        font-size: 15px;
    }

    .filter-btn {
        padding: 12px 20px;
        font-size: 15px;
    }
}

/* Statistics Section Styles */
.statistics-section {
    padding: 16px;
    background-color: #f8f8f8;
    min-height: calc(100vh - 200px);
}

.stats-month-selector {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 12px 0;
    margin-bottom: 16px;
    cursor: pointer;
    user-select: none;
    transition: opacity 0.2s;
}

.stats-month-selector:active {
    opacity: 0.7;
}

.stats-month-text {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.stats-month-selector svg {
    width: 20px;
    height: 20px;
    color: #999;
}

/* Month List Styles - Enhanced */
.month-list {
    padding: 12px 16px;
    max-height: 420px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #e0e0e0 transparent;
}

.month-list::-webkit-scrollbar {
    width: 4px;
}

.month-list::-webkit-scrollbar-track {
    background: transparent;
}

.month-list::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 2px;
}

.month-list::-webkit-scrollbar-thumb:hover {
    background: #c0c0c0;
}

.month-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    margin-bottom: 8px;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    border: 1px solid transparent;
}

.month-item:last-child {
    margin-bottom: 0;
}

/* 悬停状态 */
.month-item:hover {
    background: #fff8f0;
    border-color: #ffe4cc;
    transform: translateX(4px);
}

/* 点击/激活状态 */
.month-item:active {
    background: #ffecd9;
    transform: translateX(2px) scale(0.99);
}

/* 选中状态 */
.month-item.active {
    background: linear-gradient(135deg, #fff8f0 0%, #ffefd6 100%);
    border-color: #ffcc99;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.1);
}

.month-item.active:hover {
    background: linear-gradient(135deg, #ffecd9 0%, #ffe4cc 100%);
    border-color: #ffb380;
}

.month-text {
    font-size: 15px;
    color: #555;
    font-weight: 400;
    transition: color 0.2s;
}

.month-item:hover .month-text {
    color: #ff6b35;
}

.month-item.active .month-text {
    color: #ff6b35;
    font-weight: 600;
}

.month-check {
    width: 22px;
    height: 22px;
    color: #ff6b35;
    animation: checkPop 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes checkPop {
    0% {
        transform: scale(0) rotate(-45deg);
        opacity: 0;
    }
    70% {
        transform: scale(1.2) rotate(10deg);
    }
    100% {
        transform: scale(1) rotate(0);
        opacity: 1;
    }
}

/* 禁用状态 */
.month-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.month-item.disabled .month-text {
    color: #aaa;
}

/* ============================================
   月份选择器样式 - Month Selector
   ============================================ */

.month-selector-sheet {
    max-height: 70vh;
}

/* 年份选择区域 */
.year-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 16px;
}

.year-nav-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.year-nav-btn:hover {
    background: #e8e8e8;
    transform: scale(1.05);
}

.year-nav-btn:active {
    transform: scale(0.95);
}

.year-nav-btn svg {
    width: 20px;
    height: 20px;
    color: #666;
}

.year-display {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    min-width: 100px;
    text-align: center;
}

/* 月份网格 */
.month-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 0 16px 20px;
}

.month-grid-item {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8f8f8;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.month-grid-item:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.month-grid-item:active {
    transform: translateY(0);
}

.month-grid-item.active {
    background: linear-gradient(135deg, #ff9500 0%, #ff7700 100%);
    box-shadow: 0 4px 12px rgba(255, 149, 0, 0.3);
}

.month-grid-text {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.month-grid-item.active .month-grid-text {
    color: #fff;
}

.month-data-dot {
    width: 6px;
    height: 6px;
    background: #ff9500;
    border-radius: 50%;
    margin-top: 4px;
}

.month-grid-item.active .month-data-dot {
    background: #fff;
}

.month-grid-item.has-data:not(.active) {
    background: #fff5eb;
}

.stats-overview-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.stats-overview-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.stats-overview-card.full-width {
    grid-column: 1 / -1;
}

.stats-overview-label {
    font-size: 13px;
    color: #999;
    margin-bottom: 8px;
}

.stats-overview-value {
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.stats-type-tabs {
    display: flex;
    gap: 24px;
    padding: 0 4px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.stats-type-tab {
    padding: 12px 0;
    font-size: 15px;
    color: #666;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
}

.stats-type-tab.active {
    color: #ff9500;
    font-weight: 500;
}

.stats-type-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #ff9500;
    border-radius: 1px;
}

/* Calendar Styles */
.stats-calendar {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.calendar-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.calendar-day-label {
    text-align: center;
    font-size: 13px;
    color: #999;
    padding: 8px 0;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-cell {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 4px;
    transition: all 0.2s;
}

.calendar-cell.today {
    background-color: #fff5e6;
    border: 1px solid #ff9500;
}

.calendar-cell.has-data {
    background-color: #fafafa;
}

.calendar-date {
    font-size: 14px;
    color: #333;
    margin-bottom: 2px;
}

.calendar-amount {
    font-size: 11px;
    color: #ff9500;
    font-weight: 500;
}

.calendar-amount.empty {
    color: #ccc;
}

/* Chart Styles */
.stats-chart-section {
    background: #fff;
    border-radius: 12px;
    padding: 20px 16px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.stats-chart-title {
    font-size: 15px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 500;
}

.stats-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 180px;
    padding: 0 8px;
}

.chart-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    max-width: 60px;
}

.chart-bar-value {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    min-height: 16px;
}

.chart-bar-container {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
}

.chart-bar {
    width: 8px;
    background: linear-gradient(180deg, #666 0%, #999 100%);
    border-radius: 4px;
    transition: height 0.3s ease;
    min-height: 4px;
}

.chart-bar-label {
    font-size: 12px;
    color: #999;
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.chart-bar-label .week-label {
    font-weight: 500;
    color: #666;
}

.chart-bar-label .date-range {
    font-size: 10px;
    color: #bbb;
}

/* 周图表样式 */
.stats-chart.weekly-chart {
    gap: 8px;
}

.stats-chart.weekly-chart .chart-bar-item {
    max-width: 80px;
    padding: 8px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.stats-chart.weekly-chart .chart-bar-item:hover {
    background-color: #f8f8f8;
}

.stats-chart.weekly-chart .chart-bar-item.has-data .chart-bar {
    background: linear-gradient(180deg, #ff9500 0%, #ff7700 100%);
}

.stats-chart.weekly-chart .chart-bar-container {
    height: 100px;
}

.stats-chart.weekly-chart .chart-bar {
    width: 24px;
    border-radius: 6px;
}

.stats-chart.weekly-chart .chart-bar-value {
    font-weight: 600;
    color: #333;
}

.stats-footer {
    text-align: center;
    font-size: 12px;
    color: #ccc;
    padding: 20px 0;
}

/* Empty State */
.stats-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #999;
}

.stats-empty-state svg {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    color: #ccc;
}

.stats-empty-state p {
    font-size: 14px;
    color: #999;
    margin-bottom: 8px;
}

.stats-empty-state .empty-hint {
    font-size: 12px;
    color: #bbb;
}

/* 年份显示 */
.stats-year-display {
    text-align: center;
    padding: 20px 0 10px;
    margin-bottom: 10px;
}

.stats-year-display .year-label {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    background: linear-gradient(135deg, #ff9500 0%, #ff7700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 空日历样式 */
.stats-calendar.empty {
    opacity: 0.6;
}

.stats-calendar.empty .calendar-cell {
    background: #f9f9f9;
}

.stats-calendar.empty .calendar-cell.empty {
    color: #ccc;
}

/* ============================================
   账单图片响应式适配 - Record Images Responsive
   ============================================ */

@media (max-width: 480px) {
    .record-images-1,
    .record-images-2,
    .record-images-3,
    .record-images-4,
    .record-images-5-6,
    .record-images-7-9 {
        max-width: 100%;
    }
    
    .record-images-1 .record-image-wrapper {
        max-width: 100%;
    }
    
    .record-images-2,
    .record-images-4 {
        gap: 4px;
    }
    
    .record-images-3 {
        gap: 4px;
    }
    
    .record-images-5-6,
    .record-images-7-9 {
        gap: 2px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .record-images.wechat-style [class^="wechat-grid-"] {
        max-width: 260px;
    }
    
    .wechat-grid-1 {
        max-width: 260px;
    }
}

/* 微信朋友圈风格响应式 */
@media (max-width: 480px) {
    .record-images.wechat-style [class^="wechat-grid-"] {
        max-width: 240px;
    }
    
    .wechat-grid-1 {
        max-width: 240px;
    }
    
    .wechat-grid-1 .record-image-wrapper {
        max-width: 240px;
    }
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .statistics-section {
        padding: 12px;
    }

    .stats-overview-value {
        font-size: 20px;
    }

    .calendar-cell {
        aspect-ratio: auto;
        min-height: 50px;
    }

    .calendar-amount {
        font-size: 10px;
    }

    .stats-chart {
        height: 150px;
    }

    .chart-bar-container {
        height: 100px;
    }
}

/* ============================================
   许多热爱呀主题加载动画 - Branded Loading Animation
   ============================================ */

.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 50%, #f5f5f5 100%);
    position: relative;
    overflow: hidden;
}

/* 背景装饰 */
.loading-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 20%, rgba(150, 150, 150, 0.04) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(120, 120, 120, 0.04) 0%, transparent 50%);
    animation: backgroundFloat 8s ease-in-out infinite;
}

@keyframes backgroundFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(2%, 2%) rotate(1deg); }
    66% { transform: translate(-1%, 1%) rotate(-1deg); }
}

/* 品牌区域 */
.loading-brand {
    position: relative;
    z-index: 1;
    margin-bottom: 40px;
}

.loading-logo {
    width: 120px;
    height: 120px;
    position: relative;
}

.logo-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 8px 24px rgba(100, 100, 100, 0.2));
}

.logo-circle {
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    animation: drawCircle 1.5s ease-out forwards;
}

@keyframes drawCircle {
    to { stroke-dashoffset: 0; }
}

.logo-heart {
    transform-origin: center;
    animation: heartbeat 1.5s ease-in-out infinite;
    animation-delay: 1s;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    14% { transform: scale(1.08); }
    28% { transform: scale(1); }
    42% { transform: scale(1.05); }
    70% { transform: scale(1); }
}

/* 粒子动画 */
.loading-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #999999, #666666);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    margin: -4px;
    opacity: 0;
}

.particle-1 { animation: particleOrbit 2s linear infinite; animation-delay: 0s; }
.particle-2 { animation: particleOrbit 2s linear infinite; animation-delay: 0.33s; }
.particle-3 { animation: particleOrbit 2s linear infinite; animation-delay: 0.66s; }
.particle-4 { animation: particleOrbit 2s linear infinite; animation-delay: 1s; }
.particle-5 { animation: particleOrbit 2s linear infinite; animation-delay: 1.33s; }
.particle-6 { animation: particleOrbit 2s linear infinite; animation-delay: 1.66s; }

@keyframes particleOrbit {
    0% {
        transform: rotate(0deg) translateX(70px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: rotate(360deg) translateX(70px) rotate(-360deg);
        opacity: 0;
    }
}

/* 进度条区域 */
.loading-progress {
    width: 200px;
    z-index: 1;
}

.loading-progress .progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(100, 100, 100, 0.15);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 16px;
}

.loading-progress .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #888888, #555555);
    border-radius: 2px;
    width: 0%;
    animation: progressFill 2s ease-in-out infinite;
}

@keyframes progressFill {
    0% { width: 0%; opacity: 1; }
    50% { width: 70%; opacity: 1; }
    100% { width: 100%; opacity: 0; }
}

/* 加载文字 */
.loading-text {
    text-align: center;
    color: #777;
    font-size: 14px;
    margin: 0;
}

.loading-dots {
    display: inline-block;
}

.loading-dots::after {
    content: '';
    animation: loadingDots 1.5s steps(4, end) infinite;
}

@keyframes loadingDots {
    0% { content: ''; }
    25% { content: '.'; }
    50% { content: '..'; }
    75% { content: '...'; }
    100% { content: ''; }
}

/* 品牌标语 */
.loading-slogan {
    position: absolute;
    bottom: 60px;
    color: #aaa;
    font-size: 13px;
    letter-spacing: 2px;
    z-index: 1;
    animation: fadeInUp 1s ease-out 0.5s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 旧的加载样式兼容 */
.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(100, 100, 100, 0.15);
    border-left-color: #777777;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.error-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #fafafa 0%, #e8e8e8 100%);
    padding: 20px;
}

.error-icon {
    width: 64px;
    height: 64px;
    color: #888;
    margin-bottom: 20px;
}

.error-text {
    color: #666;
    font-size: 16px;
    margin-bottom: 20px;
    text-align: center;
}

.retry-btn {
    padding: 12px 32px;
    background: linear-gradient(135deg, #777 0%, #555 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.retry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(100, 100, 100, 0.3);
}

/* ============================================
   分页加载动画样式 - Pagination Load Animation
   ============================================ */

/* 加载按钮旋转动画 */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* 加载错误提示 */
.load-more-error {
    color: #888;
    font-size: 14px;
    text-align: center;
    margin-top: 10px;
    padding: 8px 16px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 8px;
}

/* 账单记录项进入动画 */
.record-item {
    animation: slideInUp 0.4s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 新加载记录的延迟动画 */
.record-item:nth-child(6) { animation-delay: 0.05s; }
.record-item:nth-child(7) { animation-delay: 0.1s; }
.record-item:nth-child(8) { animation-delay: 0.15s; }
.record-item:nth-child(9) { animation-delay: 0.2s; }
.record-item:nth-child(10) { animation-delay: 0.25s; }
.record-item:nth-child(11) { animation-delay: 0.3s; }
.record-item:nth-child(12) { animation-delay: 0.35s; }
.record-item:nth-child(13) { animation-delay: 0.4s; }
.record-item:nth-child(14) { animation-delay: 0.45s; }
.record-item:nth-child(15) { animation-delay: 0.5s; }

/* ============================================
   ViewImage 图片查看器样式
   ============================================ */

.view-image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.view-image-overlay.fade-enter-active,
.view-image-overlay.fade-leave-active {
    transition: opacity 0.3s ease;
}

.view-image-overlay.fade-enter-from,
.view-image-overlay.fade-leave-to {
    opacity: 0;
}

.view-image-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.view-image-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.view-image-close svg {
    width: 24px;
    height: 24px;
    color: white;
}

.view-image-counter {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
}

.view-image-zoom-controls {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 24px;
}

.view-image-zoom-controls button {
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.view-image-zoom-controls button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.view-image-zoom-controls span {
    color: white;
    font-size: 14px;
    min-width: 50px;
    text-align: center;
}

/* 图片容器 */
.view-image-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: grab;
    padding: 80px 60px;
}

.view-image-container:active {
    cursor: grabbing;
}

.view-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
}

/* 左右导航按钮 */
.view-image-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.view-image-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.view-image-nav svg {
    width: 24px;
    height: 24px;
    color: white;
}

.view-image-prev {
    left: 20px;
}

.view-image-next {
    right: 20px;
}

/* 缩略图列表 */
.view-image-thumbnails {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    max-width: 90%;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.view-image-thumbnails::-webkit-scrollbar {
    display: none;
}

.view-image-thumbnails img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.view-image-thumbnails img:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

.view-image-thumbnails img.active {
    opacity: 1;
    border: 2px solid #ff9500;
    transform: scale(1.1);
}

/* 移动端适配 */
@media (max-width: 480px) {
    .view-image-container {
        padding: 60px 40px;
    }
    
    .view-image-nav {
        width: 40px;
        height: 40px;
    }
    
    .view-image-nav svg {
        width: 20px;
        height: 20px;
    }
    
    .view-image-prev {
        left: 10px;
    }
    
    .view-image-next {
        right: 10px;
    }
    
    .view-image-thumbnails img {
        width: 48px;
        height: 48px;
    }
    
    .view-image-zoom-controls {
        bottom: 90px;
        padding: 6px 12px;
    }
    
    .view-image-zoom-controls button {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
}

/* 修复 view-image-zoom-controls button:hover 的悬停效果 */
.view-image-zoom-controls button:hover {
