﻿/* ==================== 基础重置与变量 ==================== */
:root {
    --primary-color: #8B4513;
    --primary-light: #D4A574;
    --primary-dark: #5D4037;
    --accent-color: #D4A574;
    --text-primary: #2C1810;
    --text-secondary: #6B5B4F;
    --text-muted: #9E8E7E;
    --bg-primary: #FAF7F2;
    --bg-secondary: #FFFDF9;
    --bg-card: #FFFFFF;
    --border-color: #E8E0D5;
    --price-color: #E74C3C;
    --price-bg: #FFF5F5;
    --success-color: #27AE60;
    --shadow-sm: 0 2px 8px rgba(139, 69, 19, 0.06);
    --shadow-md: 0 4px 16px rgba(139, 69, 19, 0.1);
    --shadow-lg: 0 8px 32px rgba(139, 69, 19, 0.14);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==================== 底部导航 ==================== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 253, 249, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-around;
    padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    text-decoration: none;
    color: var(--text-muted);
    transition: all 0.3s ease;
    padding: 4px 20px;
    border-radius: 12px;
    position: relative;
}

    .nav-item.active {
        color: var(--primary-color);
    }

        .nav-item.active::before {
            content: '';
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 20px;
            height: 3px;
            background: var(--primary-color);
            border-radius: 0 0 2px 2px;
        }

    .nav-item:active {
        transform: scale(0.95);
    }

.nav-icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .nav-icon svg {
        width: 100%;
        height: 100%;
        stroke-width: 2;
        fill: none;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.nav-text {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ==================== 首页样式 ==================== */
.brand-header {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    padding: 12px 16px;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.brand-container {
    max-width: 100%;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.logo-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(139, 69, 19, 0.15));
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.brand-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-dark);
    letter-spacing: 1.5px;
    margin: 0;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-slogan {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 2px;
    margin: 0;
}

/* 轮播广告区域 */
.carousel-section {
    padding: 12px 16px;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 160px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--bg-card);
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slide-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}

.slide-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.slide-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.slide-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.slide-image-wrapper {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 140px;
    height: 140px;
    opacity: 0.3;
    z-index: 1;
}

.slide-icon {
    font-size: 100px;
    filter: blur(0.5px);
}

.slide-text {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 60%;
}

.slide-tag {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 1px;
    border: 1px solid rgba(255,255,255,0.3);
    text-transform: uppercase;
}

.slide-text h2 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 6px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
    letter-spacing: 1px;
    line-height: 1.2;
}

.slide-text p {
    font-size: 13px;
    opacity: 0.95;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 3;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
}

    .dot.active {
        width: 18px;
        border-radius: 3px;
        background: white;
        border-color: white;
    }

.carousel-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(255,255,255,0.3);
    width: 100%;
    z-index: 3;
}

/* 快捷入口 */
.quick-actions {
    padding: 16px;
    background: var(--bg-card);
    margin: 0 16px 12px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

    .action-item:active {
        transform: scale(0.95);
    }

.action-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.action-item:hover .action-icon {
    transform: translateY(-2px);
}

.action-text {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* 商品列表区域 */
.products-section {
    padding: 16px;
}

.section-header {
    margin-bottom: 16px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.header-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.section-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
    position: relative;
    padding-left: 10px;
    letter-spacing: 0.5px;
}

    .section-title::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 3px;
        height: 18px;
        background: linear-gradient(to bottom, var(--primary-color), var(--primary-light));
        border-radius: 2px;
    }

.section-subtitle {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    padding-left: 10px;
    letter-spacing: 1px;
}

.view-more {
    font-size: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 2px;
    font-weight: 500;
    transition: color 0.3s ease;
}

    .view-more span {
        font-size: 14px;
        transition: transform 0.3s ease;
    }

    .view-more:active {
        color: var(--primary-color);
    }

        .view-more:active span {
            transform: translateX(2px);
        }

/* 商品网格 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

    .product-card-link:active .product-card {
        transform: scale(0.98);
        box-shadow: var(--shadow-md);
    }

    .product-card-link * {
        text-decoration: none !important;
    }

.product-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    font-size: 10px;
    font-weight: 700;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    letter-spacing: 0.5px;
    z-index: 2;
    text-transform: uppercase;
}

    .product-badge.hot {
        background: linear-gradient(135deg, #FF6B6B 0%, #EE5A24 100%);
        color: white;
    }

    .product-badge.new {
        background: linear-gradient(135deg, #00B894 0%, #00CEC9 100%);
        color: white;
    }

    .product-badge.recommend {
        background: linear-gradient(135deg, #FDCB6E 0%, #E17055 100%);
        color: white;
    }

    .product-badge.limited {
        background: linear-gradient(135deg, #A29BFE 0%, #6C5CE7 100%);
        color: white;
    }

.product-float-icon {
    font-size: 60px;
    opacity: 0.9;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
    z-index: 1;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }
}

.product-info {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.product-desc {
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    min-height: 16px;
}

.product-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px dashed var(--border-color);
}

.price-section {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.market-price {
    font-size: 11px;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 400;
}

.sale-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--price-color);
    letter-spacing: -0.5px;
    line-height: 1;
}

    .sale-price::before {
        content: '¥';
        font-size: 12px;
        margin-right: 1px;
        font-weight: 600;
    }

.sales-count {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 500;
}

/* 品质保证 */
.guarantee-section {
    padding: 16px;
    margin: 0 16px 16px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.guarantee-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.guarantee-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.guarantee-icon {
    font-size: 20px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    border-radius: 50%;
    border: 1px solid var(--border-color);
}

.guarantee-item span {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.3px;
}

.bottom-spacer {
    height: 70px;
}

/* ==================== 商品详情页样式 ==================== */
.product-detail-page {
    background: var(--bg-primary);
    min-height: 100vh;
    padding-bottom: 20px;
}

.detail-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 253, 249, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-bottom: 1px solid var(--border-color);
}

.back-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-primary);
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

    .back-btn:active {
        background: var(--border-color);
        transform: scale(0.95);
    }

    .back-btn svg {
        width: 20px;
        height: 20px;
        stroke: var(--text-primary);
    }

.page-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.header-actions {
    display: flex;
    gap: 8px;
}

.action-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .action-btn:active {
        background: var(--border-color);
        transform: scale(0.95);
    }

    .action-btn svg {
        width: 18px;
        height: 18px;
        stroke: var(--text-primary);
    }

/* 商品画廊 */
.product-gallery {
    position: relative;
    width: 100%;
    height: 375px;
    background: var(--bg-card);
    overflow: hidden;
}

.gallery-main {
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

    .gallery-slide.active {
        opacity: 1;
    }

.gallery-icon {
    font-size: 120px;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.2));
    z-index: 2;
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(2deg);
    }
}

.gallery-float-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-item {
    position: absolute;
    font-size: 20px;
    opacity: 0.6;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.2);
    }
}

.gallery-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 3;
}

.gallery-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.3);
    cursor: pointer;
}

    .gallery-dot.active {
        width: 16px;
        border-radius: 3px;
        background: white;
        border-color: white;
    }

.gallery-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
}

.badge-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #FF6B6B 0%, #EE5A24 100%);
    color: white;
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(238, 90, 36, 0.3);
    letter-spacing: 0.5px;
}

/* 价格区域 */
.price-section-detail {
    background: var(--bg-card);
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
}

.price-main-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 12px;
}

.price-current {
    display: flex;
    align-items: baseline;
    color: var(--price-color);
    font-weight: 800;
    line-height: 1;
}

.price-symbol {
    font-size: 20px;
    margin-right: 2px;
    font-weight: 700;
}

.price-value {
    font-size: 42px;
    letter-spacing: -2px;
    font-weight: 800;
}

.price-decimal {
    font-size: 20px;
    font-weight: 700;
}

.price-original {
    display: flex;
    align-items: center;
    gap: 8px;
}

.del-price {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 500;
}

.discount-tag {
    padding: 2px 8px;
    background: var(--price-bg);
    color: var(--price-color);
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    border: 1px solid rgba(231, 76, 60, 0.2);
}

.price-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sales-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.divider {
    color: var(--border-color);
    font-weight: 300;
}

.rating {
    color: #F39C12;
    font-weight: 600;
}

.countdown-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #FFF5F5 0%, #FFE0E0 100%);
    border-radius: 16px;
    border: 1px solid rgba(231, 76, 60, 0.2);
}

.countdown-label {
    font-size: 11px;
    color: var(--price-color);
    font-weight: 700;
}

.countdown-time {
    font-size: 12px;
    color: var(--price-color);
    font-weight: 800;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

/* 商品标题区 */
.product-title-section {
    background: var(--bg-card);
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
}

.title-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.title-tag {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.brand-tag {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.guarantee-tag {
    background: var(--bg-primary);
    color: var(--primary-color);
    border: 1px solid var(--primary-light);
}

.product-main-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.product-subtitle {
    font-size: 13px;
    color: var(--price-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .product-subtitle::before {
        content: '🎁';
        font-size: 14px;
    }

/* 配送信息 */
.delivery-section {
    background: var(--bg-card);
    margin-top: 12px;
    padding: 16px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.delivery-row {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

    .delivery-row:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .delivery-row:first-child {
        padding-top: 0;
    }

.delivery-label {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    min-width: 36px;
}

.delivery-content {
    flex: 1;
}

.delivery-to {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 4px;
}

.location-icon {
    font-size: 14px;
}

.stock-status {
    margin-left: auto;
    padding: 2px 8px;
    background: #E8F5E9;
    color: var(--success-color);
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
}

.delivery-time {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-tag {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 购买按钮区域 */
.purchase-section {
    background: var(--bg-card);
    margin-top: 12px;
    padding: 20px 16px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-purchase-primary {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #E74C3C 0%, #C0392B 100%);
    color: white;
    border: none;
    border-radius: 28px;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.35);
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

    .btn-purchase-primary::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.5s;
    }

    .btn-purchase-primary:active {
        transform: translateY(2px) scale(0.98);
        box-shadow: 0 3px 12px rgba(231, 76, 60, 0.25);
    }

        .btn-purchase-primary:active::before {
            left: 100%;
        }

.purchase-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.hint-icon {
    font-size: 13px;
}

/* 评价区域 */
.review-section {
    background: var(--bg-card);
    margin-top: 12px;
    padding: 16px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.review-header {
    margin-bottom: 16px;
}

.review-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.review-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.review-count {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.review-rating-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.rating-big {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.rating-stars {
    font-size: 14px;
    letter-spacing: 2px;
}

.rating-text {
    margin-left: auto;
    padding: 4px 10px;
    background: white;
    border-radius: 20px;
    font-size: 12px;
    color: var(--success-color);
    font-weight: 700;
    border: 1px solid #E8F5E9;
}

.review-tags {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

    .review-tags::-webkit-scrollbar {
        display: none;
    }

.review-tag {
    flex-shrink: 0;
    padding: 6px 14px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .review-tag.active {
        background: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
        font-weight: 600;
    }

.review-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-item {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

    .review-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.reviewer-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.reviewer-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.reviewer-rating {
    font-size: 12px;
    letter-spacing: 1px;
}

.review-date {
    color: var(--text-muted);
    margin-left: 8px;
    font-weight: 400;
    letter-spacing: 0;
}

.buy-tag {
    padding: 2px 8px;
    background: var(--bg-primary);
    color: var(--primary-color);
    font-size: 10px;
    font-weight: 700;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.review-content {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 8px;
    letter-spacing: 0.2px;
}

.review-spec {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    padding: 4px 10px;
    background: var(--bg-primary);
    border-radius: 4px;
    display: inline-block;
}

.view-all-reviews {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 16px;
    padding: 12px;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

    .view-all-reviews span {
        font-size: 16px;
        transition: transform 0.3s ease;
    }

    .view-all-reviews:active {
        background: var(--border-color);
    }

        .view-all-reviews:active span {
            transform: translateX(4px);
        }

/* 商品详情图 */
.detail-images-section {
    background: var(--bg-card);
    margin-top: 12px;
    padding: 20px 16px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-color), transparent);
}

.divider-text {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 2px;
    white-space: nowrap;
}

.detail-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-block {
    padding: 16px;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.detail-subtitle {
    font-size: 15px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.detail-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    letter-spacing: 0.3px;
}

.detail-specs {
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    border: 1px solid var(--border-color);
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-color);
    font-size: 13px;
}

    .spec-row:last-child {
        border-bottom: none;
    }

.spec-label-item {
    color: var(--text-muted);
    font-weight: 500;
}

.spec-value {
    color: var(--text-primary);
    font-weight: 600;
    text-align: right;
    max-width: 60%;
}

.bottom-spacer-detail {
    height: 20px;
}

/* ==================== 订单页面样式 ==================== */
.orders-page {
    background: var(--bg-primary);
    min-height: 100vh;
    padding-bottom: 20px;
}

.orders-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 253, 249, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-bottom: 1px solid var(--border-color);
}

    .orders-header .back-btn {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: var(--bg-primary);
        transition: all 0.3s ease;
    }

        .orders-header .back-btn:active {
            background: var(--border-color);
            transform: scale(0.95);
        }

        .orders-header .back-btn svg {
            width: 20px;
            height: 20px;
            stroke: var(--text-primary);
        }

    .orders-header .page-title {
        font-size: 17px;
        font-weight: 700;
        color: var(--text-primary);
        letter-spacing: 0.5px;
    }

.search-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .search-btn:active {
        background: var(--border-color);
        transform: scale(0.95);
    }

    .search-btn svg {
        width: 18px;
        height: 18px;
        stroke: var(--text-primary);
    }

/* 订单状态标签 */
.order-tabs-wrapper {
    position: sticky;
    top: 57px;
    z-index: 99;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
}

.order-tabs {
    display: flex;
    padding: 0 16px;
    position: relative;
}

.tab-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

    .tab-item.active {
        color: var(--primary-color);
    }

        .tab-item.active .tab-text {
            font-weight: 700;
        }

.tab-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.tab-item.active .tab-text {
    color: var(--primary-color);
}

.tab-badge {
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--price-color);
    color: white;
    font-size: 11px;
    font-weight: 700;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.tab-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px 3px 0 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 33.333%;
}

.orders-content {
    padding: 12px 16px;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

    .tab-panel.active {
        display: block;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 订单卡片 */
.order-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
}

    .order-card:active {
        transform: scale(0.98);
        box-shadow: var(--shadow-md);
    }

.order-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    border-bottom: 1px solid var(--border-color);
}

.order-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.order-no {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: 0.3px;
}

.order-time {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}

.order-status {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

    .order-status.pending {
        background: #FFF3E0;
        color: #F57C00;
    }

    .order-status.shipped {
        background: #E3F2FD;
        color: #1976D2;
    }

    .order-status.completed {
        background: #E8F5E9;
        color: #388E3C;
    }

.order-body {
    padding: 16px;
}

.order-goods {
    display: flex;
    gap: 12px;
}

.goods-img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.goods-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.goods-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.goods-spec {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.goods-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.goods-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--price-color);
}

    .goods-price::before {
        content: '¥';
        font-size: 12px;
        font-weight: 600;
    }

.goods-count {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* 物流信息 */
.logistics-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding: 12px;
    background: linear-gradient(135deg, #E3F2FD 0%, #F5F5F5 100%);
    border-radius: var(--radius-md);
    border: 1px solid #BBDEFB;
}

.logistics-icon {
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.logistics-detail {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.logistics-status {
    font-size: 13px;
    font-weight: 700;
    color: #1976D2;
}

.logistics-no {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    font-family: 'Courier New', monospace;
}

.logistics-link {
    padding: 6px 12px;
    background: white;
    color: #1976D2;
    font-size: 12px;
    font-weight: 600;
    border-radius: 16px;
    text-decoration: none;
    border: 1px solid #BBDEFB;
    transition: all 0.3s ease;
    white-space: nowrap;
}

    .logistics-link:active {
        background: #1976D2;
        color: white;
    }

.order-footer {
    padding: 12px 16px;
    border-top: 1px dashed var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order-total {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.total-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
}

    .total-price::before {
        content: '¥';
        font-size: 13px;
        font-weight: 600;
    }

.order-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn-order {
    padding: 8px 16px;
    border-radius: 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    letter-spacing: 0.3px;
}

.btn-cancel {
    background: var(--bg-primary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

    .btn-cancel:active {
        background: var(--border-color);
    }

.btn-default {
    background: white;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

    .btn-default:active {
        background: var(--bg-primary);
    }

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.25);
}

    .btn-primary:active {
        transform: translateY(1px);
        box-shadow: 0 2px 6px rgba(139, 69, 19, 0.2);
    }

/* 空状态 */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

    .empty-state.hidden {
        display: none;
    }

.empty-icon {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.6;
}

.empty-text {
    font-size: 15px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 20px;
}

.empty-btn {
    padding: 12px 32px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    font-size: 14px;
    font-weight: 700;
    border-radius: 24px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(139, 69, 19, 0.3);
    transition: all 0.3s ease;
}

    .empty-btn:active {
        transform: translateY(2px);
        box-shadow: 0 2px 8px rgba(139, 69, 19, 0.2);
    }

.bottom-spacer-orders {
    height: 70px;
}

/* ==================== 我的页面样式 ==================== */
.profile-page {
    background: var(--bg-primary);
    min-height: 100vh;
    position: relative;
    padding-bottom: 20px;
}

.profile-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(135deg, #8B4513 0%, #D4A574 50%, #8B4513 100%);
    border-radius: 0 0 30px 30px;
    overflow: hidden;
}

.bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%), radial-gradient(circle at 40% 40%, rgba(0,0,0,0.05) 0%, transparent 30%);
}

.user-info-section {
    position: relative;
    z-index: 10;
    padding: 20px 16px 0;
}

.user-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.user-main {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 16px rgba(139, 69, 19, 0.3);
    border: 3px solid white;
}

.avatar-text {
    font-size: 28px;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.avatar-badge {
    position: absolute;
    bottom: -4px;
    right: -4px;
    padding: 2px 8px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA000 100%);
    color: #5D4037;
    font-size: 10px;
    font-weight: 800;
    border-radius: 10px;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    letter-spacing: 0.5px;
}

.user-detail {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.name-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 0.5px;
    margin: 0;
}

.user-level {
    padding: 3px 10px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA000 100%);
    color: #5D4037;
    font-size: 11px;
    font-weight: 700;
    border-radius: 12px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(255, 160, 0, 0.3);
}

.invite-code {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    border: 1px dashed var(--border-color);
    width: fit-content;
}

.code-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.code-value {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 700;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

.copy-btn {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 4px 8px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 11px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 4px;
}

    .copy-btn svg {
        width: 12px;
        height: 12px;
    }

    .copy-btn:active {
        background: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
        transform: scale(0.95);
    }

    .copy-btn.copied {
        background: #E8F5E9;
        color: var(--success-color);
        border-color: #A5D6A7;
    }

/* 账户余额网格 */
.balance-grid {
    display: flex;
    align-items: center;
    padding: 16px;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

    .balance-grid::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--primary-light), var(--primary-color), var(--primary-light));
    }

.balance-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 1;
}

.balance-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--border-color), transparent);
}

.balance-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.balance-value {
    display: flex;
    align-items: baseline;
    color: var(--text-primary);
    font-weight: 800;
}

    .balance-value .currency {
        font-size: 12px;
        margin-right: 1px;
        font-weight: 600;
    }

    .balance-value .amount {
        font-size: 20px;
        letter-spacing: -0.5px;
    }

    .balance-value .decimal {
        font-size: 12px;
        font-weight: 600;
    }

    .balance-value.available {
        color: var(--success-color);
    }

    .balance-value.frozen {
        color: var(--text-muted);
    }

/* 快捷功能 */
.quick-functions {
    padding: 16px;
    margin-top: 8px;
}

.func-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    background: var(--bg-card);
    padding: 20px 16px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.func-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

    .func-item:active {
        transform: scale(0.95);
    }

.func-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.func-item:hover .func-icon {
    transform: translateY(-3px);
}

.func-name {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* 个人中心菜单 */
.profile-menu-section {
    padding: 0 16px 16px;
}

.menu-group {
    margin-bottom: 12px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.menu-title {
    padding: 14px 16px 10px;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    border-bottom: 1px solid var(--border-color);
}

.menu-list {
    display: flex;
    flex-direction: column;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

    .menu-item:not(:last-child)::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 60px;
        right: 16px;
        height: 1px;
        background: var(--border-color);
    }

    .menu-item:active {
        background: var(--bg-primary);
    }

.menu-icon-wrap {
    margin-right: 12px;
}

.menu-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.menu-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.menu-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.3px;
}

.menu-desc {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.menu-extra {
    margin-right: 8px;
}

.extra-badge {
    padding: 3px 8px;
    background: linear-gradient(135deg, #FF6B6B 0%, #EE5A24 100%);
    color: white;
    font-size: 11px;
    font-weight: 700;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(238, 90, 36, 0.3);
}

.menu-arrow {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .menu-arrow svg {
        width: 100%;
        height: 100%;
        stroke-width: 2;
    }

.version-info {
    text-align: center;
    padding: 20px;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.bottom-spacer-profile {
    height: 70px;
}

.copy-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    padding: 12px 24px;
    background: rgba(0,0,0,0.8);
    color: white;
    font-size: 14px;
    font-weight: 600;
    border-radius: 24px;
    z-index: 9999;
    transition: all 0.3s ease;
    opacity: 0;
}

    .copy-toast.show {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

/* ==================== 退出登录按钮样式 ==================== */
.logout-section {
    padding: 0 16px 20px;
    margin-top: 8px;
}

.btn-logout {
    width: 100%;
    padding: 16px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--price-color);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    letter-spacing: 0.5px;
}

    .btn-logout svg {
        width: 20px;
        height: 20px;
        stroke-width: 2;
    }

    .btn-logout:active {
        background: #FFF5F5;
        border-color: var(--price-color);
        transform: scale(0.98);
        box-shadow: 0 2px 8px rgba(231, 76, 60, 0.15);
    }

.logout-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

    .logout-modal.show {
        opacity: 1;
        visibility: visible;
    }

.logout-modal-content {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 24px;
    width: 80%;
    max-width: 300px;
    text-align: center;
    transform: scale(0.9);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.logout-modal.show .logout-modal-content {
    transform: scale(1);
}

.logout-modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: #FFF5F5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.logout-modal-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.logout-modal-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.5;
}

.logout-modal-actions {
    display: flex;
    gap: 12px;
}

.logout-modal-btn {
    flex: 1;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

    .logout-modal-btn.cancel {
        background: var(--bg-primary);
        color: var(--text-secondary);
        border: 1px solid var(--border-color);
    }

        .logout-modal-btn.cancel:active {
            background: var(--border-color);
        }

    .logout-modal-btn.confirm {
        background: linear-gradient(135deg, var(--price-color) 0%, #C0392B 100%);
        color: white;
        box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
    }

        .logout-modal-btn.confirm:active {
            transform: translateY(1px);
            box-shadow: 0 2px 6px rgba(231, 76, 60, 0.2);
        }

/* ==================== 充值页面样式 ==================== */
.recharge-page {
    background: var(--bg-primary);
    min-height: 100vh;
    padding-bottom: 20px;
}

.recharge-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 253, 249, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-bottom: 1px solid var(--border-color);
}

    .recharge-header .back-btn {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: var(--bg-primary);
    }

        .recharge-header .back-btn svg {
            width: 20px;
            height: 20px;
            stroke: var(--text-primary);
        }

.header-spacer {
    width: 36px;
}

.current-balance {
    padding: 20px 16px;
}

.balance-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-xl);
    padding: 24px;
    text-align: center;
    color: white;
    box-shadow: 0 8px 24px rgba(139, 69, 19, 0.3);
}

.balance-label {
    font-size: 14px;
    opacity: 0.9;
    letter-spacing: 1px;
}

.balance-amount {
    margin-top: 8px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    font-weight: 800;
}

    .balance-amount .currency {
        font-size: 20px;
        margin-right: 2px;
    }

    .balance-amount .amount {
        font-size: 42px;
        letter-spacing: -1px;
    }

    .balance-amount .decimal {
        font-size: 20px;
    }

.recharge-amount-section {
    padding: 0 16px 20px;
}

.amount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.amount-item {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

    .amount-item.active {
        border-color: var(--primary-color);
        background: linear-gradient(135deg, rgba(212, 165, 116, 0.1) 0%, rgba(139, 69, 19, 0.05) 100%);
    }

    .amount-item:active {
        transform: scale(0.95);
    }

.amount-num {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    display: block;
}

.amount-unit {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.amount-hot, .amount-vip {
    position: absolute;
    top: -8px;
    right: -4px;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 700;
    border-radius: 10px;
    color: white;
}

.amount-hot {
    background: linear-gradient(135deg, #FF6B6B 0%, #EE5A24 100%);
}

.amount-vip {
    background: linear-gradient(135deg, #FFD700 0%, #FFA000 100%);
    color: #5D4037;
}

.custom-amount {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 16px;
    border: 1px solid var(--border-color);
}

.custom-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    display: block;
    margin-bottom: 12px;
}

.custom-input-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.input-currency {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.custom-input {
    flex: 1;
    border: none;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    background: transparent;
    outline: none;
}

    .custom-input::placeholder {
        font-size: 16px;
        font-weight: 500;
        color: var(--text-muted);
    }

.payment-section {
    padding: 0 16px 20px;
}

.payment-list {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.payment-item {
    display: flex;
    align-items: center;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .payment-item:not(:last-child) {
        border-bottom: 1px solid var(--border-color);
    }

    .payment-item:active {
        background: var(--bg-primary);
    }

.payment-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 12px;
    flex-shrink: 0;
}

.payment-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.payment-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

.payment-desc {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.payment-check {
    margin-left: auto;
}

.recharge-tips {
    padding: 0 16px 100px;
}

.tips-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .tips-list li {
        font-size: 13px;
        color: var(--text-secondary);
        line-height: 1.8;
        padding-left: 16px;
        position: relative;
    }

        .tips-list li::before {
            content: '•';
            position: absolute;
            left: 0;
            color: var(--primary-color);
            font-weight: 700;
        }

.recharge-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
}

.recharge-info {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.recharge-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.recharge-total {
    font-size: 24px;
    font-weight: 800;
    color: var(--price-color);
    letter-spacing: -0.5px;
}

.btn-recharge-confirm {
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(139, 69, 19, 0.35);
    letter-spacing: 0.5px;
}

    .btn-recharge-confirm:active {
        transform: translateY(2px);
        box-shadow: 0 2px 8px rgba(139, 69, 19, 0.25);
    }

.bottom-spacer-recharge {
    height: 100px;
}

/* ==================== 提现页面样式 ==================== */
.withdraw-page {
    background: var(--bg-primary);
    min-height: 100vh;
    padding-bottom: 20px;
}

.withdraw-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 253, 249, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-bottom: 1px solid var(--border-color);
}

    .withdraw-header .back-btn {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: var(--bg-primary);
    }

        .withdraw-header .back-btn svg {
            width: 20px;
            height: 20px;
            stroke: var(--text-primary);
        }

.record-link {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

    .record-link:active {
        background: var(--bg-primary);
    }

.withdrawable-balance {
    padding: 20px 16px;
}

.balance-card-withdraw {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    border-radius: var(--radius-xl);
    padding: 24px;
    text-align: center;
    color: white;
    box-shadow: 0 8px 24px rgba(76, 175, 80, 0.3);
}

.balance-amount-large {
    margin-top: 8px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    font-weight: 800;
}

    .balance-amount-large .currency {
        font-size: 24px;
        margin-right: 2px;
    }

    .balance-amount-large .amount {
        font-size: 48px;
        letter-spacing: -2px;
    }

    .balance-amount-large .decimal {
        font-size: 24px;
    }

.balance-hint {
    margin-top: 12px;
    font-size: 13px;
    opacity: 0.9;
    background: rgba(255,255,255,0.15);
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
}

.withdraw-input-section {
    padding: 0 16px 20px;
}

.withdraw-input-wrap {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 20px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

    .withdraw-input-wrap:focus-within {
        border-color: var(--success-color);
    }

.input-currency-large {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
}

.withdraw-input {
    flex: 1;
    border: none;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    background: transparent;
    outline: none;
}

    .withdraw-input::placeholder {
        font-size: 18px;
        font-weight: 500;
        color: var(--text-muted);
    }

.withdraw-hint {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.all-in {
    color: var(--success-color);
    font-weight: 700;
    text-decoration: none;
    padding: 4px 12px;
    background: #E8F5E9;
    border-radius: 12px;
    transition: all 0.3s ease;
}

    .all-in:active {
        background: var(--success-color);
        color: white;
    }

.arrival-info {
    margin-top: 20px;
    padding: 16px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.arrival-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;
}

    .arrival-row:not(:last-child) {
        border-bottom: 1px dashed var(--border-color);
    }

.arrival-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.arrival-value {
    color: var(--text-primary);
    font-weight: 600;
}

    .arrival-value.highlight {
        color: var(--success-color);
        font-size: 18px;
        font-weight: 800;
    }

.withdraw-method-section {
    padding: 0 16px 20px;
}

.method-list {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.method-item {
    display: flex;
    align-items: center;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .method-item:not(:last-child) {
        border-bottom: 1px solid var(--border-color);
    }

    .method-item:active {
        background: var(--bg-primary);
    }

.method-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 12px;
    flex-shrink: 0;
}

.method-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.method-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

.method-account {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.method-check {
    margin-left: auto;
}

.withdraw-tips {
    padding: 0 16px 100px;
}

.withdraw-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    z-index: 1000;
}

.btn-withdraw-confirm {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    color: white;
    border: none;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(76, 175, 80, 0.35);
    letter-spacing: 0.5px;
}

    .btn-withdraw-confirm:disabled {
        background: var(--border-color);
        color: var(--text-muted);
        box-shadow: none;
        cursor: not-allowed;
    }

    .btn-withdraw-confirm:not(:disabled):active {
        transform: translateY(2px);
        box-shadow: 0 2px 8px rgba(76, 175, 80, 0.25);
    }

.bottom-spacer-withdraw {
    height: 80px;
}

/* ==================== 账单页面样式 ==================== */
.bill-page {
    background: var(--bg-primary);
    min-height: 100vh;
    padding-bottom: 20px;
}

.bill-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 253, 249, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-bottom: 1px solid var(--border-color);
}

    .bill-header .back-btn {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: var(--bg-primary);
    }

        .bill-header .back-btn svg {
            width: 20px;
            height: 20px;
            stroke: var(--text-primary);
        }

.filter-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .filter-btn svg {
        width: 18px;
        height: 18px;
        stroke: var(--text-primary);
    }

    .filter-btn:active {
        background: var(--border-color);
    }

.month-summary {
    padding: 16px;
}

.summary-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.summary-month {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.month-picker {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .month-picker svg {
        width: 18px;
        height: 18px;
        stroke: var(--text-secondary);
    }

    .month-picker:active {
        background: var(--border-color);
    }

.summary-body {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 16px 0;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
}

.summary-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.summary-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.summary-value {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.summary-item.income .summary-value {
    color: var(--success-color);
}

.summary-item.expense .summary-value {
    color: var(--price-color);
}

.summary-item.balance .summary-value {
    color: var(--primary-color);
}

.summary-divider {
    width: 1px;
    height: 30px;
    background: var(--border-color);
}

.bill-tabs {
    display: flex;
    gap: 8px;
    padding: 0 16px 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

    .bill-tabs::-webkit-scrollbar {
        display: none;
    }

.bill-tab {
    flex-shrink: 0;
    padding: 8px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .bill-tab.active {
        background: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
        font-weight: 700;
    }

    .bill-tab:active {
        transform: scale(0.95);
    }

.bill-list-section {
    padding: 0 16px;
}

.bill-date-group {
    margin-bottom: 16px;
}

.date-header {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
    padding: 12px 0;
    letter-spacing: 0.5px;
}

.bill-item {
    display: flex;
    align-items: center;
    padding: 16px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    margin-bottom: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

    .bill-item:active {
        transform: scale(0.98);
        box-shadow: var(--shadow-sm);
    }

.bill-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 12px;
    flex-shrink: 0;
}

.bill-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bill-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bill-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.3px;
}

.bill-amount {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.bill-item.income .bill-amount {
    color: var(--success-color);
}

.bill-item.expense .bill-amount,
.bill-item.withdraw .bill-amount {
    color: var(--text-primary);
}

.bill-item.recharge .bill-amount {
    color: var(--price-color);
}

.bill-sub {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bill-time {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.bill-status {
    font-size: 12px;
    color: var(--success-color);
    font-weight: 600;
    padding: 2px 8px;
    background: #E8F5E9;
    border-radius: 10px;
}

.load-more {
    text-align: center;
    padding: 20px;
}

    .load-more span {
        font-size: 14px;
        color: var(--text-muted);
        font-weight: 500;
        padding: 10px 24px;
        background: var(--bg-card);
        border-radius: 20px;
        border: 1px solid var(--border-color);
        cursor: pointer;
        transition: all 0.3s ease;
    }

        .load-more span:active {
            background: var(--border-color);
        }

.bottom-spacer-bill {
    height: 20px;
}

/* ==================== 分享页面样式 ==================== */
.share-page {
    background: var(--bg-primary);
    min-height: 100vh;
    padding-bottom: 20px;
}

.share-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 253, 249, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-bottom: 1px solid var(--border-color);
}

    .share-header .back-btn {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: var(--bg-primary);
    }

        .share-header .back-btn svg {
            width: 20px;
            height: 20px;
            stroke: var(--text-primary);
        }

.header-spacer {
    width: 36px;
}

.poster-section {
    padding: 20px 16px;
}

.poster-card {
    background: linear-gradient(135deg, #8B4513 0%, #D4A574 100%);
    border-radius: var(--radius-xl);
    padding: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(139, 69, 19, 0.3);
}

.poster-decoration {
    position: absolute;
    top: -50%;
    right: -30%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.poster-header {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.poster-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.logo-icon {
    font-size: 32px;
}

.logo-text {
    font-size: 22px;
    font-weight: 800;
    color: white;
    letter-spacing: 2px;
}

.poster-slogan {
    font-size: 13px;
    color: rgba(255,255,255,0.9);
    letter-spacing: 3px;
}

.poster-body {
    background: rgba(255,255,255,0.95);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.poster-qr {
    width: 180px;
    height: 180px;
    margin: 0 auto 16px;
    background: white;
    border-radius: var(--radius-md);
    padding: 12px;
    box-shadow: var(--shadow-sm);
}

.qr-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    border-radius: 8px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-pattern {
    position: absolute;
    top: 10%;
    left: 10%;
    right: 10%;
    bottom: 10%;
    background-image: repeating-linear-gradient(0deg, var(--text-muted) 0px, var(--text-muted) 2px, transparent 2px, transparent 8px), repeating-linear-gradient(90deg, var(--text-muted) 0px, var(--text-muted) 2px, transparent 2px, transparent 8px);
    opacity: 0.3;
    border-radius: 4px;
}

.qr-logo {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: 700;
    z-index: 2;
    border: 3px solid white;
    box-shadow: var(--shadow-sm);
}

.qr-tip {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.poster-footer {
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.user-info-poster {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(255,255,255,0.2);
    padding: 12px 20px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

.poster-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    font-weight: 700;
    border: 2px solid white;
}

.poster-user {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.poster-name {
    font-size: 15px;
    font-weight: 700;
    color: white;
}

.poster-code {
    font-size: 12px;
    color: rgba(255,255,255,0.9);
    font-family: 'Courier New', monospace;
}

.share-stats {
    padding: 0 16px 20px;
}

.stats-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.stats-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.stats-num {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.stats-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.stats-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

.reward-rules {
    padding: 0 16px 100px;
}

    .reward-rules .section-title {
        font-size: 16px;
        font-weight: 800;
        color: var(--text-primary);
        margin-bottom: 16px;
        letter-spacing: 0.5px;
    }

.rules-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rule-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.rule-step {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.25);
}

.rule-content h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.rule-content p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.share-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    display: flex;
    gap: 12px;
    z-index: 1000;
}

.btn-share {
    flex: 1;
    padding: 14px 20px;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-primary);
}

    .btn-share svg {
        width: 20px;
        height: 20px;
    }

    .btn-share.btn-primary {
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
        color: white;
        border: none;
        box-shadow: 0 4px 16px rgba(139, 69, 19, 0.35);
    }

    .btn-share:active {
        transform: translateY(2px);
    }

.bottom-spacer-share {
    height: 90px;
}

/* ==================== 我的团队页面样式 ==================== */
.team-page {
    background: var(--bg-primary);
    min-height: 100vh;
    padding-bottom: 20px;
}

.team-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 253, 249, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-bottom: 1px solid var(--border-color);
}

    .team-header .back-btn {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: var(--bg-primary);
    }

        .team-header .back-btn svg {
            width: 20px;
            height: 20px;
            stroke: var(--text-primary);
        }

.team-stats {
    padding: 20px 16px;
}

.stats-card-team {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-xl);
    padding: 24px;
    color: white;
    box-shadow: 0 8px 24px rgba(139, 69, 19, 0.3);
}

.stats-main {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.stats-icon {
    font-size: 40px;
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.stats-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stats-total {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -2px;
}

.stats-total-label {
    font-size: 14px;
    opacity: 0.9;
    letter-spacing: 1px;
}

.stats-detail {
    display: flex;
    justify-content: space-around;
}

.detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.detail-num {
    font-size: 20px;
    font-weight: 800;
}

.detail-label {
    font-size: 12px;
    opacity: 0.9;
}

.team-income {
    padding: 0 16px 20px;
}

.income-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.income-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px dashed var(--border-color);
}

.income-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

.income-total {
    font-size: 20px;
    font-weight: 800;
    color: var(--success-color);
}

.income-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.income-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.income-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.income-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--success-color);
}

.team-members {
    padding: 0 16px;
}

.members-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

    .members-header .section-title {
        font-size: 16px;
        font-weight: 800;
        color: var(--text-primary);
        margin: 0;
    }

.sort-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .sort-btn svg {
        width: 16px;
        height: 16px;
    }

    .sort-btn:active {
        background: var(--bg-primary);
    }

.members-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.member-item {
    display: flex;
    align-items: center;
    padding: 16px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

    .member-item:active {
        transform: scale(0.98);
        box-shadow: var(--shadow-sm);
    }

.member-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: 700;
    margin-right: 12px;
    flex-shrink: 0;
}

.member-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.member-main {
    display: flex;
    align-items: center;
    gap: 8px;
}

.member-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

.member-level {
    padding: 2px 8px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA000 100%);
    color: #5D4037;
    font-size: 10px;
    font-weight: 700;
    border-radius: 8px;
}

.member-sub {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.member-reward {
    margin-left: auto;
}

.reward-amount {
    font-size: 16px;
    font-weight: 800;
    color: var(--success-color);
}

.bottom-spacer-team {
    height: 20px;
}

/* ==================== 收货地址页面样式 ==================== */
.address-page-container {
    background: var(--bg-primary);
    min-height: 100vh;
    padding-bottom: 20px;
}

.address-page-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 253, 249, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-bottom: 1px solid var(--border-color);
}

    .address-page-header .back-btn {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: var(--bg-primary);
        text-decoration: none;
        transition: all 0.3s ease;
    }

        .address-page-header .back-btn:active {
            background: var(--border-color);
            transform: scale(0.95);
        }

        .address-page-header .back-btn svg {
            width: 20px;
            height: 20px;
            stroke: var(--text-primary);
        }

    .address-page-header .page-title {
        font-size: 17px;
        font-weight: 700;
        color: var(--text-primary);
        letter-spacing: 0.5px;
    }

.address-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-add-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 20px;
    text-decoration: none;
    color: white;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(139, 69, 19, 0.2);
}

    .header-add-link svg {
        width: 16px;
        height: 16px;
        stroke: white;
        fill: none;
        stroke-width: 2;
    }

    .header-add-link:active {
        transform: scale(0.95);
        opacity: 0.9;
    }

.address-list-container {
    padding: 12px 16px;
}

.address-item-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    margin-bottom: 12px;
    overflow: hidden;
}

    .address-item-card:active {
        transform: scale(0.98);
    }

    .address-item-card.default {
        border-color: var(--primary-color);
        background: linear-gradient(135deg, rgba(212, 165, 116, 0.05) 0%, rgba(139, 69, 19, 0.02) 100%);
    }

.address-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 8px;
}

.address-tags {
    display: flex;
    align-items: center;
    gap: 8px;
}

.default-badge {
    padding: 4px 10px;
    background: var(--primary-color);
    color: white;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.address-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.address-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.address-phone {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.address-detail-row {
    padding: 0 16px 12px;
}

.address-full-detail {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.6;
    font-weight: 500;
}

.address-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    margin: 0 16px;
}

.address-actions-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
}

.address-action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

    .address-action-btn svg {
        width: 16px;
        height: 16px;
        stroke: currentColor;
        fill: none;
        stroke-width: 2;
    }

    .address-action-btn:active {
        transform: scale(0.95);
    }

    .address-action-btn.set-default-btn {
        background: transparent;
        border-color: var(--primary-color);
        color: var(--primary-color);
    }

        .address-action-btn.set-default-btn:active {
            background: var(--primary-color);
            color: white;
        }

    .address-action-btn.delete-btn:active {
        background: var(--price-color);
        border-color: var(--price-color);
        color: white;
    }

    .address-action-btn.disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

        .address-action-btn.disabled:active {
            transform: none;
            background: transparent;
            color: var(--primary-color);
        }

.empty-address {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

    .empty-address.hidden {
        display: none;
    }

    .empty-address .empty-icon {
        font-size: 64px;
        margin-bottom: 16px;
        opacity: 0.6;
    }

    .empty-address .empty-text {
        font-size: 16px;
        font-weight: 700;
        color: var(--text-primary);
        margin-bottom: 8px;
    }

    .empty-address .empty-sub {
        font-size: 13px;
        color: var(--text-muted);
    }

.address-bottom-spacer {
    height: 20px;
}

/* ==================== 添加地址页面样式 ==================== */
.add-address-page {
    background: var(--bg-primary);
    min-height: 100vh;
    padding-bottom: 30px;
}

.add-address-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 253, 249, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-bottom: 1px solid var(--border-color);
}

    .add-address-header .back-btn {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: var(--bg-primary);
        text-decoration: none;
        transition: all 0.3s ease;
    }

        .add-address-header .back-btn:active {
            background: var(--border-color);
            transform: scale(0.95);
        }

        .add-address-header .back-btn svg {
            width: 20px;
            height: 20px;
            stroke: var(--text-primary);
        }

    .add-address-header .page-title {
        font-size: 17px;
        font-weight: 700;
        color: var(--text-primary);
        letter-spacing: 0.5px;
    }

    .add-address-header .header-spacer {
        width: 36px;
    }

.add-address-form {
    padding: 20px 16px;
}

.form-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.form-group-address {
    margin-bottom: 20px;
}

    .form-group-address:last-of-type {
        margin-bottom: 0;
    }

.form-label-address {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

    .form-label-address .required {
        color: var(--price-color);
        margin-left: 4px;
    }

.form-input-address {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 15px;
    color: var(--text-primary);
    transition: all 0.3s ease;
    outline: none;
    font-family: inherit;
}

    .form-input-address:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
    }

    .form-input-address::placeholder {
        color: var(--text-muted);
    }

.default-switch-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    margin-bottom: 24px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.default-switch-label {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.default-switch-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

.default-switch-desc {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border-color);
    transition: 0.3s;
    border-radius: 28px;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 24px;
        width: 24px;
        left: 2px;
        bottom: 2px;
        background-color: white;
        transition: 0.3s;
        border-radius: 50%;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

input:checked + .slider {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

    input:checked + .slider:before {
        transform: translateX(24px);
    }

.save-address-btn {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 28px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(139, 69, 19, 0.35);
    letter-spacing: 0.5px;
    margin-top: 24px;
}

    .save-address-btn svg {
        width: 20px;
        height: 20px;
        stroke: white;
        fill: none;
        stroke-width: 2;
    }

    .save-address-btn:active {
        transform: translateY(2px);
        box-shadow: 0 2px 8px rgba(139, 69, 19, 0.25);
    }

/* ==================== 银行卡页面样式 ==================== */
.bankcard-page {
    background: var(--bg-primary);
    min-height: 100vh;
    padding-bottom: 20px;
}

.bankcard-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 253, 249, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-bottom: 1px solid var(--border-color);
}

    .bankcard-header .back-btn {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: var(--bg-primary);
    }

        .bankcard-header .back-btn svg {
            width: 20px;
            height: 20px;
            stroke: var(--text-primary);
        }

.card-list {
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bank-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 180px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #C41E3A 0%, #8B0000 100%);
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    color: white;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.card-bank {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bank-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: white;
}

.bank-name {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
}

.default-tag-card {
    padding: 4px 12px;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,0.3);
}

.card-type {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: auto;
}

.card-number {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 4px;
    margin-bottom: 16px;
    font-family: 'Courier New', monospace;
}

.card-holder {
    font-size: 14px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.card-decoration {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    z-index: 1;
}

.card-tips {
    padding: 0 16px 100px;
}

    .card-tips .tips-title {
        font-size: 14px;
        font-weight: 700;
        color: var(--text-primary);
        margin-bottom: 12px;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .card-tips .tips-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .card-tips .tips-list li {
            font-size: 13px;
            color: var(--text-secondary);
            line-height: 1.8;
            padding-left: 16px;
            position: relative;
        }

            .card-tips .tips-list li::before {
                content: '•';
                position: absolute;
                left: 0;
                color: var(--primary-color);
                font-weight: 700;
            }

.bankcard-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    z-index: 1000;
}

.btn-add-card {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(139, 69, 19, 0.35);
    letter-spacing: 0.5px;
}

    .btn-add-card svg {
        width: 20px;
        height: 20px;
    }

    .btn-add-card:active {
        transform: translateY(2px);
        box-shadow: 0 2px 8px rgba(139, 69, 19, 0.25);
    }

.bottom-spacer-bankcard {
    height: 90px;
}

/* ==================== 实名认证页面样式 ==================== */
.verify-page {
    background: var(--bg-primary);
    min-height: 100vh;
    padding-bottom: 20px;
}

.verify-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 253, 249, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-bottom: 1px solid var(--border-color);
}

    .verify-header .back-btn {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: var(--bg-primary);
    }

        .verify-header .back-btn svg {
            width: 20px;
            height: 20px;
            stroke: var(--text-primary);
        }

.verify-status {
    padding: 20px 16px;
}

.status-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

    .status-card.verified {
        background: linear-gradient(135deg, #E8F5E9 0%, #F1F8E9 100%);
        border-color: #A5D6A7;
    }

.status-icon {
    width: 56px;
    height: 56px;
    background: var(--success-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

.status-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.status-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--success-color);
}

.status-desc {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.verify-form {
    padding: 0 16px 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-input {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 16px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

    .form-input.verified {
        background: linear-gradient(135deg, #E8F5E9 0%, #F1F8E9 100%);
        border-color: #A5D6A7;
    }

.input-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

.verify-tag {
    padding: 4px 12px;
    background: var(--success-color);
    color: white;
    font-size: 11px;
    font-weight: 700;
    border-radius: 12px;
}

.change-btn {
    padding: 6px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .change-btn:active {
        background: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
    }

.verify-benefits {
    padding: 0 16px 20px;
}

    .verify-benefits .section-title {
        font-size: 16px;
        font-weight: 800;
        color: var(--text-primary);
        margin-bottom: 16px;
        letter-spacing: 0.5px;
    }

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 8px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

    .benefit-item:active {
        transform: scale(0.95);
        box-shadow: var(--shadow-sm);
    }

.benefit-icon {
    font-size: 28px;
    width: 48px;
    height: 48px;
    background: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
}

.benefit-desc {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 500;
    text-align: center;
}

.security-tips {
    margin: 0 16px;
    padding: 16px;
    background: linear-gradient(135deg, #E3F2FD 0%, #F5F5F5 100%);
    border-radius: var(--radius-md);
    border: 1px solid #BBDEFB;
}

    .security-tips .tips-title {
        font-size: 14px;
        font-weight: 700;
        color: #1976D2;
        margin-bottom: 8px;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .security-tips .tips-content {
        font-size: 13px;
        color: var(--text-secondary);
        line-height: 1.6;
        font-weight: 500;
    }

.bottom-spacer-verify {
    height: 20px;
}

/* ==================== 支付页面样式 ==================== */
.payment-page {
    background: var(--bg-primary);
    min-height: 100vh;
    padding-bottom: 100px;
}

.payment-header-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 253, 249, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-bottom: 1px solid var(--border-color);
}

    .payment-header-nav .back-btn {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: var(--bg-primary);
        transition: all 0.3s ease;
    }

        .payment-header-nav .back-btn:active {
            background: var(--border-color);
            transform: scale(0.95);
        }

        .payment-header-nav .back-btn svg {
            width: 20px;
            height: 20px;
            stroke: var(--text-primary);
        }

    .payment-header-nav .page-title {
        font-size: 17px;
        font-weight: 700;
        color: var(--text-primary);
        letter-spacing: 0.5px;
    }

    .payment-header-nav .header-spacer {
        width: 36px;
    }

/* 收货地址卡片（支付页） */
.address-section-payment {
    padding: 12px 16px;
    background: var(--bg-card);
    margin-bottom: 12px;
    position: relative;
}

.address-card-payment {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    cursor: pointer;
}

.address-icon-payment {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.2);
}

.address-content-payment {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.address-header-payment {
    display: flex;
    align-items: center;
    gap: 12px;
}

.address-name-payment {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.address-phone-payment {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.address-detail-payment {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    font-weight: 500;
}

.address-arrow-payment {
    width: 24px;
    height: 24px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .address-arrow-payment svg {
        width: 100%;
        height: 100%;
    }

.address-border-payment {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: repeating-linear-gradient(45deg, var(--primary-color), var(--primary-color) 10px, var(--primary-light) 10px, var(--primary-light) 20px);
    opacity: 0.3;
}

/* 商品卡片（支付页） */
.goods-section-payment {
    padding: 0 16px 12px;
}

.goods-card-payment {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 16px;
    display: flex;
    gap: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.goods-image-payment {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.image-placeholder-payment {
    font-size: 48px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.goods-badge-payment {
    position: absolute;
    top: 0;
    left: 0;
    padding: 4px 8px;
    background: linear-gradient(135deg, #FF6B6B 0%, #EE5A24 100%);
    color: white;
    font-size: 10px;
    font-weight: 700;
    border-radius: 0 0 8px 0;
    letter-spacing: 0.5px;
}

.goods-info-payment {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.goods-name-payment {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    letter-spacing: 0.3px;
}

.goods-desc-payment {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.goods-spec-payment {
    font-size: 12px;
    color: var(--text-muted);
    background: var(--bg-primary);
    padding: 4px 10px;
    border-radius: 6px;
    width: fit-content;
    font-weight: 500;
}

.goods-price-row-payment {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px dashed var(--border-color);
}

.goods-price-payment {
    font-size: 18px;
    font-weight: 800;
    color: var(--price-color);
    letter-spacing: -0.5px;
}

.goods-count-payment {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

/* 支付方式选项 */
.payment-methods-section-payment {
    padding: 0 16px 12px;
}

.payment-options-payment {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-item-payment {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .payment-item-payment.active {
        border-color: var(--primary-color);
        background: linear-gradient(135deg, rgba(212, 165, 116, 0.1) 0%, rgba(139, 69, 19, 0.05) 100%);
    }

    .payment-item-payment:active {
        transform: scale(0.98);
    }

.payment-icon-wrap-payment {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

    .payment-icon-wrap-payment.balance {
        background: linear-gradient(135deg, #FFF8E1 0%, #FFECB3 100%);
        border: 1px solid #FFD54F;
    }

    .payment-icon-wrap-payment.wechat {
        background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
        border: 1px solid #81C784;
    }

    .payment-icon-wrap-payment.alipay {
        background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
        border: 1px solid #64B5F6;
    }

.payment-emoji-payment {
    font-size: 22px;
}

.payment-info-payment {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.payment-name-payment {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.payment-balance-payment {
    font-size: 12px;
    color: var(--success-color);
    font-weight: 500;
}

.check-circle-payment {
    width: 22px;
    height: 22px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
    flex-shrink: 0;
}

    .check-circle-payment.active {
        border-color: var(--primary-color);
        background: var(--primary-color);
    }

        .check-circle-payment.active::after {
            content: '✓';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: white;
            font-size: 14px;
            font-weight: 700;
        }

/* 价格明细（支付页） */
.price-section-payment {
    padding: 0 16px 12px;
}

.price-list-payment {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.price-row-payment {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
}

.price-label-payment {
    color: var(--text-secondary);
    font-weight: 500;
}

.price-value-payment {
    color: var(--text-primary);
    font-weight: 600;
}

    .price-value-payment.free {
        color: var(--success-color);
    }

    .price-value-payment.discount {
        color: var(--price-color);
    }

.price-divider-payment {
    height: 1px;
    background: var(--border-color);
    margin: 4px 0;
}

.price-row-payment.total {
    padding-top: 4px;
}

    .price-row-payment.total .price-label-payment {
        font-size: 15px;
        font-weight: 700;
        color: var(--text-primary);
    }

.price-value-payment.total-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--price-color);
    letter-spacing: -1px;
}

.bottom-spacer-payment {
    height: 90px;
}

.payment-footer-bar {
    position: fixed;
    bottom: 70px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 999;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
}

.footer-total {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.total-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.total-amount {
    font-size: 24px;
    font-weight: 800;
    color: var(--price-color);
    letter-spacing: -0.5px;
}

.btn-submit-order {
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(139, 69, 19, 0.35);
    letter-spacing: 0.5px;
}

    .btn-submit-order:active {
        transform: translateY(2px) scale(0.98);
        box-shadow: 0 2px 8px rgba(139, 69, 19, 0.25);
    }

/* ==================== 响应式优化 ==================== */
@media (min-width: 375px) {
    .carousel-container {
        height: 180px;
    }

    .slide-text h2 {
        font-size: 24px;
    }

    .product-name {
        font-size: 16px;
    }

    .product-gallery {
        height: 400px;
    }

    .gallery-icon {
        font-size: 140px;
    }

    .price-value {
        font-size: 48px;
    }

    .goods-image-payment {
        width: 110px;
        height: 110px;
    }

    .image-placeholder-payment {
        font-size: 56px;
    }

    .goods-name-payment {
        font-size: 16px;
    }

    .avatar {
        width: 80px;
        height: 80px;
    }

    .avatar-text {
        font-size: 32px;
    }

    .balance-value .amount {
        font-size: 22px;
    }
}

@media (min-width: 414px) {
    .brand-name {
        font-size: 22px;
    }

    .carousel-container {
        height: 200px;
    }

    .slide-image-wrapper {
        width: 160px;
        height: 160px;
    }

    .slide-icon {
        font-size: 120px;
    }

    .products-grid {
        gap: 16px;
    }

    .product-gallery {
        height: 420px;
    }

    .gallery-icon {
        font-size: 160px;
    }

    .goods-card-payment {
        padding: 20px;
    }

    .goods-image-payment {
        width: 120px;
        height: 120px;
    }

    .image-placeholder-payment {
        font-size: 64px;
    }

    .user-card {
        padding: 24px;
    }

    .func-icon {
        width: 56px;
        height: 56px;
        font-size: 28px;
    }

    .goods-img {
        width: 100px;
        height: 100px;
        font-size: 40px;
    }
}
/* 备注区域样式 */
.remark-section-payment {
    padding: 0 16px 12px;
}

.remark-card-payment {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 16px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.remark-label-payment {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    white-space: nowrap;
}

.remark-input-payment {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 14px;
    color: var(--text-primary);
    outline: none;
}

    .remark-input-payment::placeholder {
        color: var(--text-muted);
    }

/* 区块标题统一样式 */
.section-title-payment {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.title-bar {
    width: 4px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* 支付宝图标背景 */
.payment-icon-wrap-payment.alipay {
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
    border: 1px solid #64B5F6;
}

/* 安全区域适配 */
@supports (padding-top: env(safe-area-inset-top)) {
    .brand-header {
        padding-top: calc(12px + env(safe-area-inset-top));
    }
}
