/* ===== 全局重置与基础 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --primary: #6366f1;
    --primary-dark: #5558e3;
    --primary-light: #818cf8;
    --primary-bg: #eef2ff;
    --text: #1a1a2e;
    --text-light: #6b7280;
    --text-lighter: #9ca3af;
    --border: #e5e7eb;
    --bg: #f8f9fc;
    --white: #ffffff;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --container: 1600px;
    --header-h: 64px;
    --transition: 0.2s ease;
}
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; display: block; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; width: 100%; }
.site-main { flex: 1; }

/* ===== 公告栏 ===== */
.announcement-bar { background: linear-gradient(90deg, #6366f1, #8b5cf6); color: #fff; font-size: 14px; padding: 8px 0; }
.announcement-bar .header-content { display: flex; justify-content: center; align-items: center; gap: 12px; }
.announcement-bar button { background: rgba(255,255,255,0.2); border: none; color: #fff; width: 20px; height: 20px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 14px; line-height: 1; }

/* ===== Header ===== */
.site-header { background: var(--white); box-shadow: var(--shadow); position: sticky; top: 0; z-index: 100; height: var(--header-h); }
.header-inner { display: flex; align-items: center; height: var(--header-h); gap: 24px; padding: 0 20px; }
.logo { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 700; color: var(--text); white-space: nowrap; }
.logo:hover { color: var(--primary); }
.main-nav { display: flex; gap: 4px; flex: 1; overflow: visible; }
.main-nav a { padding: 6px 14px; border-radius: var(--radius-sm); color: var(--text); font-size: 14px; font-weight: 500; white-space: nowrap; transition: all var(--transition); }
.main-nav a:hover { background: var(--primary-bg); color: var(--primary); }
.main-nav a.active { background: var(--primary); color: #fff; }
.nav-arrow { transition: transform var(--transition); }
.nav-dropdown { position: relative; }
.nav-dropdown:hover > .nav-arrow { transform: rotate(180deg); }
.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-sm);
    padding: 8px 0;
    min-width: 180px;
    z-index: 200;
    flex-direction: column;
    gap: 0;
}
.nav-dropdown:hover .nav-dropdown-menu { display: flex; }
.nav-dropdown-menu a {
    padding: 8px 16px;
    border-radius: 0;
    font-size: 13px;
    color: var(--text);
    white-space: nowrap;
}
.nav-dropdown-menu a:hover { background: var(--primary-bg); color: var(--primary); }
.nav-dropdown-menu a.active { background: var(--primary); color: #fff; }
.header-right { display: flex; align-items: center; gap: 12px; }
.search-box { display: flex; align-items: center; background: var(--bg); border: 1px solid var(--border); border-radius: 20px; padding: 0 4px 0 16px; transition: border-color var(--transition); }
.search-box:focus-within { border-color: var(--primary); }
.search-box input { border: none; background: transparent; outline: none; padding: 8px 0; width: 160px; font-size: 14px; }
.search-box button { background: none; border: none; color: var(--text-light); cursor: pointer; padding: 8px; display: flex; align-items: center; }
.btn-text { color: var(--text); font-size: 14px; font-weight: 500; }
.btn-text:hover { color: var(--primary); }
.btn-primary { background: var(--primary); color: #fff; padding: 8px 20px; border-radius: var(--radius-sm); font-weight: 600; font-size: 14px; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: background var(--transition); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-sm { padding: 6px 16px; font-size: 13px; }
.btn-user { display: flex; align-items: center; gap: 8px; color: var(--text); font-size: 14px; font-weight: 500; }
.btn-user img { width: 32px; height: 32px; border-radius: 50%; background: var(--primary-bg); }

/* ===== Hero ===== */
.hero { background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%); color: #fff; padding: 60px 0; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -50%; right: -10%; width: 400px; height: 400px; background: rgba(255,255,255,0.05); border-radius: 50%; }
.hero::after { content: ''; position: absolute; bottom: -30%; left: -5%; width: 300px; height: 300px; background: rgba(255,255,255,0.05); border-radius: 50%; }
.hero-content { position: relative; z-index: 1; }
.hero h1 { font-size: 36px; margin-bottom: 12px; font-weight: 800; }
.hero p { font-size: 16px; opacity: 0.9; margin-bottom: 28px; }
.hero-search { max-width: 500px; margin: 0 auto; display: flex; background: #fff; border-radius: 24px; padding: 4px; box-shadow: 0 8px 30px rgba(0,0,0,0.15); }
.hero-search input { flex: 1; border: none; outline: none; padding: 12px 20px; font-size: 15px; border-radius: 24px; }
.hero-search button { background: var(--primary); color: #fff; border: none; padding: 0 28px; border-radius: 20px; font-weight: 600; cursor: pointer; font-size: 14px; }
.hero-search button:hover { background: var(--primary-dark); }
.hero-stats { display: flex; justify-content: center; gap: 40px; margin-top: 32px; }
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 28px; font-weight: 800; }
.hero-stat .label { font-size: 13px; opacity: 0.8; }

/* ===== Section ===== */
.section { padding: 40px 0; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.section-title { font-size: 22px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.section-title::before { content: ''; width: 4px; height: 20px; background: var(--primary); border-radius: 2px; }
.section-more { font-size: 14px; color: var(--text-light); }
.section-more:hover { color: var(--primary); }

/* ===== 分类导航 ===== */
.category-nav { display: flex; gap: 12px; flex-wrap: wrap; padding: 24px 0; }
.category-chip { padding: 8px 20px; background: var(--white); border: 1px solid var(--border); border-radius: 20px; font-size: 14px; color: var(--text); font-weight: 500; transition: all var(--transition); }
.category-chip:hover, .category-chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.category-chip-sub { font-size: 13px; padding: 6px 16px; color: var(--text-light); border-style: dashed; }

/* ===== 插件卡片网格 ===== */
.plugin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.plugin-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: all var(--transition); cursor: pointer; position: relative; }
.plugin-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.plugin-card-cover { width: 100%; aspect-ratio: 3/2; overflow: hidden; position: relative; background: var(--primary-bg); }
.plugin-card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.plugin-card:hover .plugin-card-cover img { transform: scale(1.05); }
.plugin-card-badge { position: absolute; top: 10px; right: 10px; background: var(--warning); color: #fff; font-size: 11px; padding: 3px 8px; border-radius: 4px; font-weight: 600; }
.plugin-card-body { padding: 16px; }
.plugin-card-cat { font-size: 12px; color: var(--primary); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.plugin-card-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--text); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.plugin-card-desc { font-size: 13px; color: var(--text-light); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 12px; line-height: 1.5; }
.plugin-card-meta { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--text-lighter); }
.plugin-card-meta .version { background: var(--primary-bg); color: var(--primary); padding: 2px 8px; border-radius: 4px; font-weight: 600; }
.plugin-card-meta .downloads { display: flex; align-items: center; gap: 4px; }

/* ===== 分页 ===== */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.pagination a, .pagination span { padding: 8px 14px; border-radius: var(--radius-sm); font-size: 14px; border: 1px solid var(--border); background: var(--white); color: var(--text); transition: all var(--transition); }
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .active { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination .disabled { color: var(--text-lighter); cursor: not-allowed; }

/* ===== 详情页 ===== */
.detail-hero { background: var(--white); padding: 32px 0; box-shadow: var(--shadow); }
.detail-hero-inner { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: start; }
.detail-cover { width: 100%; aspect-ratio: 3/2; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.detail-cover img { width: 100%; height: 100%; object-fit: cover; }
.detail-info h1 { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.detail-info .detail-cat { font-size: 14px; color: var(--primary); font-weight: 600; margin-bottom: 12px; }
.detail-info .detail-desc { font-size: 15px; color: var(--text-light); line-height: 1.7; margin-bottom: 20px; }
.detail-meta-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; margin-bottom: 24px; }
.detail-meta-item { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.detail-meta-item .label { color: var(--text-lighter); }
.detail-meta-item .value { font-weight: 600; }
.detail-actions { display: flex; gap: 12px; align-items: center; }
.btn-download { background: var(--success); color: #fff; padding: 14px 40px; border-radius: var(--radius-sm); font-weight: 700; font-size: 16px; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: all var(--transition); }
.btn-download:hover { background: #059669; color: #fff; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(16,185,129,0.3); }
.btn-favorite { background: var(--white); border: 2px solid var(--border); padding: 12px 20px; border-radius: var(--radius-sm); cursor: pointer; font-size: 14px; color: var(--text); display: inline-flex; align-items: center; gap: 6px; transition: all var(--transition); }
.btn-favorite:hover { border-color: var(--primary); color: var(--primary); }
.btn-favorite.active { background: #fef2f2; border-color: var(--danger); color: var(--danger); }
.detail-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.detail-tag { background: var(--primary-bg); color: var(--primary); padding: 4px 12px; border-radius: 4px; font-size: 13px; }

/* ===== 详情 Gallery ===== */
.detail-gallery { padding: 32px 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.gallery-item { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); cursor: pointer; aspect-ratio: 16/10; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.gallery-item:hover img { transform: scale(1.05); }

/* ===== Lightbox ===== */
.lightbox { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); z-index: 9999; justify-content: center; align-items: center; }
.lightbox.active { display: flex; }
.lightbox img { max-width: 90%; max-height: 85vh; border-radius: 8px; }
.lightbox-close { position: absolute; top: 20px; right: 30px; color: #fff; font-size: 36px; cursor: pointer; line-height: 1; }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.1); color: #fff; border: none; width: 48px; height: 48px; border-radius: 50%; font-size: 24px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox-prev { left: 20px; } .lightbox-next { right: 20px; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.2); }

/* ===== 详情内容 ===== */
.detail-content { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); margin-bottom: 24px; }
.detail-content h2 { font-size: 20px; font-weight: 700; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--border); }
.detail-content p { margin-bottom: 14px; color: var(--text-light); line-height: 1.8; }

/* ===== 认证页面 ===== */
.auth-page { min-height: calc(100vh - var(--header-h) - 200px); display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.auth-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 40px; max-width: 420px; width: 100%; }
.auth-card h1 { font-size: 24px; text-align: center; margin-bottom: 8px; }
.auth-card .subtitle { text-align: center; color: var(--text-light); font-size: 14px; margin-bottom: 28px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 14px; outline: none; transition: border-color var(--transition); font-family: inherit; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); }
.form-group .hint { font-size: 12px; color: var(--text-lighter); margin-top: 4px; }
.btn-block { width: 100%; padding: 14px; font-size: 15px; justify-content: center; }
.auth-footer { text-align: center; margin-top: 20px; font-size: 14px; color: var(--text-light); }
.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 14px; }
.alert-error { background: #fef2f2; color: var(--danger); border: 1px solid #fecaca; }
.alert-success { background: #f0fdf4; color: var(--success); border: 1px solid #bbf7d0; }

/* ===== 会员中心 ===== */
.member-page { padding: 32px 0; }
.member-layout { display: grid; grid-template-columns: 240px 1fr; gap: 24px; }
.member-sidebar { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); height: fit-content; }
.member-avatar { text-align: center; margin-bottom: 20px; }
.member-avatar img { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 12px; background: var(--primary-bg); }
.member-avatar .name { font-size: 18px; font-weight: 700; }
.member-avatar .email { font-size: 13px; color: var(--text-light); margin-top: 4px; }
.member-menu { list-style: none; }
.member-menu li a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--radius-sm); color: var(--text); font-size: 14px; font-weight: 500; transition: all var(--transition); }
.member-menu li a:hover, .member-menu li a.active { background: var(--primary-bg); color: var(--primary); }
.member-menu li a svg { width: 18px; height: 18px; }
.member-content { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); min-height: 400px; }
.member-content h2 { font-size: 18px; font-weight: 700; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.member-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.member-stat { text-align: center; padding: 20px; background: var(--bg); border-radius: var(--radius-sm); }
.member-stat .num { font-size: 24px; font-weight: 800; color: var(--primary); }
.member-stat .label { font-size: 13px; color: var(--text-light); margin-top: 4px; }

/* ===== Footer ===== */
.site-footer { background: var(--text); color: var(--text-lighter); padding: 32px 0; margin-top: auto; }
.friend-links { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-bottom: 20px; font-size: 14px; }
.friend-links .fl-label { color: var(--text-lighter); }
.friend-links a { color: var(--text-lighter); }
.friend-links a:hover { color: #fff; }
.footer-bottom { text-align: center; font-size: 13px; }
.footer-bottom a { color: var(--text-lighter); }
.footer-bottom a:hover { color: #fff; }

/* ===== 空状态 ===== */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-light); }
.empty-state svg { width: 64px; height: 64px; margin: 0 auto 16px; opacity: 0.3; }
.empty-state p { font-size: 16px; }

/* ===== 面包屑 ===== */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-light); margin-bottom: 20px; }
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .separator { color: var(--text-lighter); }

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .header-inner { flex-wrap: wrap; height: auto; padding: 12px 20px; gap: 12px; }
    .main-nav { order: 3; width: 100%; }
    .main-nav { overflow-x: auto; flex-wrap: nowrap; }
    .nav-dropdown-menu { position: static; box-shadow: none; display: flex; padding-left: 16px; min-width: 0; }
    .nav-arrow { display: none; }
    .search-box input { width: 100px; }
    .hero h1 { font-size: 24px; }
    .hero-stats { gap: 20px; }
    .detail-hero-inner { grid-template-columns: 1fr; }
    .member-layout { grid-template-columns: 1fr; }
    .plugin-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
    .section { padding: 24px 0; }
    .recharge-amount-grid { grid-template-columns: repeat(2, 1fr); }
    .wallet-overview { grid-template-columns: 1fr; }
}

/* ===== 充值页面 ===== */
.recharge-page { padding: 20px 0; }
.recharge-wallet-card {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: var(--radius);
    padding: 32px;
    margin-bottom: 24px;
    color: #fff;
    box-shadow: 0 8px 30px rgba(99,102,241,0.3);
}
.recharge-wallet-label { font-size: 14px; opacity: 0.9; margin-bottom: 8px; }
.recharge-wallet-balance { font-size: 36px; font-weight: 800; }
.recharge-wallet-stats { display: flex; gap: 24px; margin-top: 16px; font-size: 13px; opacity: 0.85; }
.recharge-card { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.recharge-title { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.recharge-amount-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 24px; }
.recharge-amount-btn {
    background: var(--bg); border: 2px solid var(--border); border-radius: var(--radius-sm);
    padding: 20px; cursor: pointer; transition: all var(--transition); text-align: center;
}
.recharge-amount-btn:hover { border-color: var(--primary-light); }
.recharge-amount-btn.active { border-color: var(--primary); background: var(--primary-bg); }
.recharge-amount-num { font-size: 24px; font-weight: 800; color: var(--text); display: block; }
.recharge-amount-btn.active .recharge-amount-num { color: var(--primary); }
.recharge-amount-unit { font-size: 13px; color: var(--text-light); }
.recharge-custom-amount { margin-bottom: 24px; }
.recharge-custom-amount label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.recharge-custom-input-wrap { display: flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.recharge-currency { padding: 0 16px; font-size: 18px; font-weight: 700; color: var(--text-light); background: var(--bg); height: 48px; display: flex; align-items: center; }
.recharge-custom-input-wrap input { flex: 1; border: none; padding: 12px 16px; font-size: 16px; outline: none; }
.recharge-custom-input-wrap:focus-within { border-color: var(--primary); }
.recharge-methods { display: flex; gap: 16px; flex-wrap: wrap; }
.recharge-method {
    display: block; cursor: pointer; flex: 1; min-width: 180px;
}
.recharge-method input[type="radio"] { display: none; }
.recharge-method-content {
    display: flex; align-items: center; gap: 12px; padding: 16px 20px;
    border: 2px solid var(--border); border-radius: var(--radius-sm);
    transition: all var(--transition); position: relative;
}
.recharge-method:hover .recharge-method-content { border-color: var(--primary-light); }
.recharge-method.selected .recharge-method-content { border-color: var(--primary); background: var(--primary-bg); }
.recharge-method-icon { width: 28px; height: 28px; flex-shrink: 0; }
.alipay-icon { color: #1677ff; }
.wechat-icon { color: #07c160; }
.recharge-method-content span { font-weight: 600; font-size: 15px; flex: 1; }
.recharge-method-check { width: 20px; height: 20px; color: var(--primary); opacity: 0; transition: opacity var(--transition); }
.recharge-method.selected .recharge-method-check { opacity: 1; }
.recharge-summary { background: var(--bg); border-radius: var(--radius-sm); padding: 16px 20px; margin: 24px 0; }
.recharge-summary-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-size: 14px; }
.recharge-summary-row:last-child { border-top: 1px dashed var(--border); padding-top: 12px; margin-top: 6px; }
.recharge-summary-amount { font-size: 20px; font-weight: 800; color: var(--primary); }
.recharge-submit-btn { width: 100%; padding: 16px; font-size: 16px; justify-content: center; }

/* 支付二维码弹窗 */
.recharge-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 9999; display: flex; align-items: center; justify-content: center; }
.recharge-modal-mask { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); }
.recharge-modal-box { position: relative; background: #fff; border-radius: var(--radius); max-width: 460px; width: 90%; box-shadow: var(--shadow-lg); z-index: 1; }
.recharge-modal-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.recharge-modal-header h3 { font-size: 18px; font-weight: 700; }
.recharge-modal-close { background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text-light); line-height: 1; padding: 0; }
.recharge-modal-body { padding: 32px 24px; }
.recharge-qr-section { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.recharge-qr-container { width: 240px; height: 240px; display: flex; align-items: center; justify-content: center; background: var(--bg); border-radius: var(--radius-sm); }
.recharge-qr-loading { color: var(--text-light); font-size: 14px; }
.recharge-qr-info { text-align: center; }
.recharge-qr-amount { font-size: 28px; font-weight: 800; color: var(--primary); }
.recharge-qr-method { font-size: 14px; color: var(--text-light); margin-top: 4px; }
.recharge-qr-tip { font-size: 13px; color: var(--text-lighter); margin-top: 8px; }
.recharge-qr-status { margin-top: 12px; font-size: 14px; color: var(--text-light); display: flex; align-items: center; justify-content: center; gap: 8px; }
.recharge-qr-spinner { width: 16px; height: 16px; border: 2px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.recharge-modal-footer { text-align: center; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--border); }

/* ===== 会员钱包 ===== */
.member-wallet-balance { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-light); }
.member-wallet-balance strong { color: var(--primary); font-size: 16px; }
.member-recharge-link { margin-left: auto; background: var(--primary); color: #fff; padding: 4px 12px; border-radius: var(--radius-sm); font-size: 12px; }
.member-recharge-link:hover { background: var(--primary-dark); color: #fff; }
.wallet-overview { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; margin-bottom: 32px; }
.wallet-overview-card { background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%); border-radius: var(--radius-sm); padding: 28px; text-align: center; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.wallet-overview-label { font-size: 13px; opacity: 0.9; margin-bottom: 8px; }
.wallet-overview-balance { font-size: 32px; font-weight: 800; }
.wallet-overview-stats { display: flex; align-items: center; justify-content: space-around; background: var(--bg); border-radius: var(--radius-sm); }
.wallet-stat-item { text-align: center; }
.wallet-stat-num { font-size: 22px; font-weight: 800; color: var(--text); }
.wallet-stat-label { font-size: 13px; color: var(--text-light); margin-top: 4px; }
.wallet-tabs { display: flex; gap: 0; margin-bottom: 20px; border-bottom: 2px solid var(--border); }
.wallet-tab-btn { padding: 10px 24px; border: none; background: none; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--text-light); border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all var(--transition); }
.wallet-tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.wallet-table { width: 100%; border-collapse: collapse; }
.wallet-table th { padding: 10px 12px; text-align: left; font-size: 13px; color: var(--text-light); font-weight: 600; border-bottom: 1px solid var(--border); }
.wallet-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); font-size: 14px; }
.wallet-table tbody tr:hover { background: var(--bg); }
