﻿            min-width: 0;
        }

        .points-record-title {
            font-size: 13px;
            color: var(--text-primary);
            font-weight: 500;
        }

        .points-record-time {
            font-size: 11px;
            color: var(--text-muted);
            margin-top: 3px;
        }

        .points-record-num {
            font-size: 15px;
            font-weight: 700;
            flex-shrink: 0;
        }

        .points-record-num.earn {
            color: #22c55e;
        }

        .points-record-num.spend {
            color: #ef4444;
        }

        .points-record-num.refund {
            color: #22c55e;
        }

        /* 积分获取动画 */
        @keyframes pointsFloat {
            0% { opacity: 0; transform: translateY(0) scale(0.5); }
            20% { opacity: 1; transform: translateY(-15px) scale(1.1); }
            100% { opacity: 0; transform: translateY(-60px) scale(0.9); }
        }

        .points-float {
            position: fixed;
            z-index: 9999;
            pointer-events: none;
            font-size: 20px;
            font-weight: 700;
            background: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: pointsFloat 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
            filter: drop-shadow(0 4px 12px rgba(251, 191, 36, 0.5));
        }
        .points-float.points-float-vip {
            font-size: 16px;
            background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.6));
            animation-delay: 0.1s;
        }
        .points-float.points-float-vip::after {
            content: '👑';
            margin-left: 4px;
            font-size: 14px;
            -webkit-text-fill-color: initial;
        }

        /* ========== 预留组件 - 店铺编辑弹窗 ========== */
        .shop-edit-modal .modal {
            width: 420px;
        }

        .time-picker {
            display: flex;
            gap: 8px;
        }

        .time-select {
            flex: 1;
        }

        /* ========== 新增组件样式 ========== */

        /* Toast 提示 */
        .toast-container {
            position: fixed;
            top: 48px;
            right: 20px;
            z-index: 10000;
            display: flex;
            flex-direction: column;
            gap: 8px;
            pointer-events: none;
            /* 堆叠上限：超出可视区可滚动，避免大量提示遮挡界面 */
            max-height: calc(100vh - 80px);
            overflow-y: auto;
            overflow-x: hidden;
        }

        .toast {
            min-width: 280px;
            max-width: 400px;
            padding: 12px 16px;
            background: var(--bg-secondary);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-xl);
            display: flex;
            align-items: flex-start;
            gap: 10px;
            pointer-events: auto;
            animation: toastIn 0.25s ease;
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
        }

        .toast.hide {
            animation: toastOut 0.2s ease forwards;
        }

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

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

        .toast-icon {
            width: 20px;
            height: 20px;
            flex-shrink: 0;
            margin-top: 1px;
        }

        .toast.success .toast-icon { color: var(--success); }
        .toast.warning .toast-icon { color: var(--warning); }
        .toast.error .toast-icon { color: var(--danger); }
        .toast.info .toast-icon { color: var(--primary); }

        .toast.success { border-left: 3px solid var(--success); box-shadow: var(--shadow-xl), 0 0 20px var(--success-glow); }
        .toast.warning { border-left: 3px solid var(--warning); box-shadow: var(--shadow-xl), 0 0 20px var(--warning-glow); }
        .toast.error { border-left: 3px solid var(--danger); box-shadow: var(--shadow-xl), 0 0 20px var(--danger-glow); }
        .toast.info { border-left: 3px solid var(--primary); box-shadow: var(--shadow-xl), 0 0 20px var(--primary-glow); }

        .toast-content {
            flex: 1;
            min-width: 0;
        }

        .toast-title {
            font-size: 13px;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 2px;
        }

        .toast-message {
            font-size: 12px;
            color: var(--text-secondary);
            line-height: 1.4;
            word-break: break-all;
        }

        .toast-close {
            width: 18px;
            height: 18px;
            border: none;
            background: none;
            color: var(--text-tertiary);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 4px;
            flex-shrink: 0;
            transition: all var(--transition-fast);
        }

        .toast-close:hover {
            background: var(--bg-tertiary);
            color: var(--text-primary);
        }

        /* 确认对话框 */
        .confirm-modal .modal {
            width: 380px;
        }

        .confirm-icon {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 16px;
        }

        .confirm-icon.danger {
            background: var(--danger-bg);
            color: var(--danger);
        }

        .confirm-icon.warning {
            background: var(--warning-bg);
            color: var(--warning);
        }

        .confirm-title {
            text-align: center;
            font-size: 16px;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 8px;
        }

        .confirm-message {
            text-align: center;
            font-size: 13px;
            color: var(--text-secondary);
            line-height: 1.6;
            margin-bottom: 24px;
        }

        .confirm-actions {
            display: flex;
            gap: 10px;
        }

        .confirm-actions .btn {
            flex: 1;
            justify-content: center;
        }

        /* 骨架屏 */
        .skeleton {
            position: relative;
            overflow: hidden;
            background: var(--bg-tertiary);
            border-radius: var(--radius-sm);
        }
        .skeleton::after {
            content: '';
            position: absolute;
            inset: 0;
            transform: translateX(-100%);
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
            animation: skeletonSweep 1.4s ease-in-out infinite;
            will-change: transform;
        }
        [data-theme="dark"] .skeleton::after {
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
        }

        @keyframes skeletonSweep {
            100% { transform: translateX(100%); }
        }

        .waybill-skeleton {
            padding: 14px 16px;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .waybill-skeleton .sk-index { width: 24px; height: 18px; }
        .waybill-skeleton .sk-info { flex: 1; display: flex; flex-direction: column; gap: 6px; }
        .waybill-skeleton .sk-number { width: 140px; height: 14px; }
        .waybill-skeleton .sk-company { width: 80px; height: 12px; }
        .waybill-skeleton .sk-time { width: 100px; height: 12px; }
        .waybill-skeleton .sk-status { width: 60px; height: 20px; border-radius: 10px; }

        /* 店铺加载状态 - 背景渐变光晕流动 */
        .shop-card.loading-shop {
            background: linear-gradient(90deg, #ffffff 0%, rgba(79, 124, 255, 0.12) 30%, rgba(79, 124, 255, 0.28) 50%, rgba(79, 124, 255, 0.12) 70%, #ffffff 100%) !important;
            background-size: 250% 100% !important;
            animation: bgGlowFlow 1.5s ease-in-out infinite !important;
        }
        .shop-card.loading-shop .shop-action-btn.primary svg {
            animation: btnSpin 0.8s linear infinite;
        }

        @keyframes bgGlowFlow {
            0% { background-position: 250% 0; }
            100% { background-position: -250% 0; }
        }
        @keyframes btnSpin {
            to { transform: rotate(360deg); }
        }

        /* 批量操作栏 */
        .batch-bar {
            display: none;
            align-items: center;
            justify-content: space-between;
            padding: 10px 16px;
            background: var(--bg-card);
            border: 1px solid var(--border-color-hover);
            border-radius: var(--radius-md);
            margin-bottom: 14px;
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            animation: slideDown 0.2s ease;
        }

        .batch-bar.show {
            display: flex;
        }

        .batch-info {
            font-size: 13px;
            color: var(--text-secondary);
        }

        .batch-info strong {
            color: var(--primary);
            font-weight: 600;
        }

        .batch-actions {
            display: flex;
            gap: 8px;
        }

        /* 店铺多选框 */
        .shop-checkbox {
            position: absolute;
            left: 8px;
            top: 50%;
            transform: translateY(-50%);
            width: 16px;
            height: 16px;
            border: 2px solid var(--border-color-light);
            border-radius: 4px;
            cursor: pointer;
            display: none;
            align-items: center;
            justify-content: center;
            transition: all var(--transition-fast);
            z-index: 2;
        }

        .shop-checkbox.checked {
            background: var(--primary);
            border-color: var(--primary);
        }

        .batch-select-mode .shop-checkbox {
            display: flex;
        }

        .batch-select-mode .shop-card {
            padding-left: 36px;
        }

        /* 拖拽样式 */
        .shop-card.dragging {
            opacity: 0.4;
            transform: scale(0.98);
        }

        .shop-card.drag-over {
            border-top: 2px solid var(--primary);
        }

        .shop-card:hover .drag-handle {
            opacity: 0.5;
        }

        /* 进度条 */
        .progress-bar {
            width: 100%;
            height: 4px;
            background: var(--bg-tertiary);
            border-radius: 2px;
            overflow: hidden;
            margin-top: 8px;
        }

        .progress-fill {
            height: 100%;
            background: linear-gradient(90deg, var(--primary), var(--primary-light));
            border-radius: 2px;
            transition: width 0.3s ease;
        }

        /* 迷你图表区域 */
        .stats-chart-row {
            display: grid;
            grid-template-columns: 1fr;
            gap: 14px;
            margin-bottom: 20px;
        }

        .chart-card {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-xl);
            padding: 20px;
            box-shadow: var(--shadow-card);
            transition: all var(--transition-normal);
            position: relative;
            overflow: hidden;
        }

        /* 顶部渐变高亮条 */
        .chart-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--primary) 0%, transparent 50%);
            opacity: 0.5;
            pointer-events: none;
        }

        /* 顶部高光 - 极简版 */
        .chart-card::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, rgba(255,255,255,0.8) 0%, transparent 100%);
            opacity: 0.4;
        }

        .chart-card:hover {
            border-color: var(--border-color-hover);
            box-shadow: var(--shadow-md);
            transform: translateY(-2px);
        }

        .chart-card:hover::before {
            opacity: 0.7;
        }

        .chart-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 16px;
            position: relative;
            z-index: 1;
        }

        .chart-title {
            font-size: 14px;
            font-weight: var(--font-semibold);
            color: var(--text-primary);
            letter-spacing: 0.02em;
        }

        .chart-subtitle {
            font-size: 12px;
            color: var(--text-tertiary);
            margin-top: 2px;
        }

        .mini-chart {
            width: 100%;
            height: 80px;
            position: relative;
            z-index: 1;
        }

        /* 按钮 loading */
        .btn.loading {
            pointer-events: none;
            opacity: 0.7;
        }

        .btn.loading .btn-spinner {
            display: inline-block;
        }

        /* 空状态优化 */

        /* 搜索高亮 */

        /* ========== 动效系统 v2.0 ========== */
        
        /* 入场动画 */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

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

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

        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-20px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        /* 脉冲动画 */
        @keyframes pulseSoft {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.6; }
        }

        /* 浮动动画 */
        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-6px); }
        }

        /* 动效工具类 */

        /* 交错入场延迟 */

        /* 骨架屏加载动画 */
        .skeleton {
            position: relative;
            overflow: hidden;
            background: var(--bg-tertiary);
            border-radius: var(--radius-sm, 6px);
        }
        .skeleton::after {
            content: '';
            position: absolute;
            inset: 0;
            transform: translateX(-100%);
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
            animation: skeletonSweep 1.4s ease-in-out infinite;
            will-change: transform;
        }
        [data-theme="dark"] .skeleton::after {
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
        }

        /* ========== 入场动画系统 ========== */
        .app-entrance {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .app-entrance.entered {
            opacity: 1;
            transform: translateY(0);
        }

        .entrance-sidebar {
            opacity: 0;
            transform: translateX(-40px);
            transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .entrance-sidebar.entered {
            opacity: 1;
            transform: translateX(0);
        }

        /* 减少动效模式（尊重系统设置） */
        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }

        /* ========== 响应式 ========== */
        @media (max-width: 1200px) {
            .stats-grid {
                grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
            }
            .stats-chart-row {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 900px) {
            .stats-grid {
                grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
                gap: 10px;
            }
            .stat-card {
                padding: 12px;
            }
            .stat-value {
                font-size: 22px;
            }
            .top-bar {
                padding: 0 16px;
            }
            .content-area {
                padding: 16px;
            }
        }

        @media (max-width: 768px) {
            .sidebar {
                width: 64px;
            }
            .logo-text, .logo-subtitle, .search-box, .shop-info, .shop-group-title span,
            .sidebar-user-info, .add-shop-btn span {
                display: none;
            }
            .add-shop-btn {
                width: 36px;
                height: 36px;
                padding: 0;
                justify-content: center;
            }
            .shop-card {
                justify-content: center;
                padding: 10px 8px;
            }
            .shop-avatar {
                margin: 0;
            }
            .shop-badge {
                position: absolute;
                top: 4px;
                right: 4px;
                font-size: 10px;
                min-width: 16px;
                height: 16px;
            }
            .shop-actions {
                display: none;
            }
            .waybill-header {
                display: none;
            }
            .waybill-item {
                flex-wrap: wrap;
                gap: 8px;
            }
            .waybill-time {
                order: 3;
                width: 100%;
                text-align: left;
                padding-left: 36px;
            }
            .waybill-company-header {
                flex-wrap: wrap;
                gap: 8px;
            }
            .batch-bar {
                flex-wrap: wrap;
                gap: 8px;
            }
            .batch-actions {
                width: 100%;
            }
            .batch-actions .btn {
                flex: 1;
                justify-content: center;
            }
        }

        @media (max-width: 480px) {
            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .titlebar-text {
                display: none;
            }
            .modal {
                width: calc(100% - 32px) !important;
                max-height: 85vh;
            }
            .filter-bar {
                flex-wrap: wrap;
                gap: 8px;
            }
        }

        /* ========== 登录认证系统 ========== */

        /* 登录遮罩 */
        .auth-lock {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--bg-primary);
            z-index: 9999;
            display: none;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.4s ease;
        }

        .auth-lock.show {
            display: flex;
            opacity: 1;
        }

        .auth-lock-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }

        .auth-lock-bg::before {
            content: '';
            position: absolute;
            top: -20%;
            right: -10%;
            width: 50%;
            height: 60%;
            background: radial-gradient(ellipse at 60% 40%, var(--primary-glow) 0%, transparent 60%);
            animation: authGlow 8s ease-in-out infinite alternate;
        }

        .auth-lock-bg::after {
            content: '';
            position: absolute;
            bottom: -15%;
            left: -5%;
            width: 40%;
            height: 50%;
            background: radial-gradient(ellipse at 40% 60%, rgba(59, 130, 246, 0.06) 0%, transparent 55%);
            animation: authGlow 10s ease-in-out infinite alternate-reverse;
        }

        @keyframes authGlow {
            0% { transform: translate(0, 0) scale(1); }
            100% { transform: translate(20px, -20px) scale(1.05); }
        }

        .auth-lock-pattern {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: radial-gradient(rgba(148, 163, 184, 0.1) 1px, transparent 1px);
            background-size: 24px 24px;
            opacity: 0.5;
        }

        /* 登录卡片 */
        .auth-lock-card {
            position: relative;
            z-index: 1;
            width: 100%;
            max-width: 400px;
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 16px;
            padding: 36px 32px;
            box-shadow: var(--shadow-lg);
            animation: authCardIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        }

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

        .auth-lock-logo {
            width: 52px;
            height: 52px;
            margin: 0 auto 16px;
            background: var(--primary-gradient);
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            box-shadow: 0 8px 20px var(--primary-glow);
        }

        .auth-lock-logo svg { width: 26px; height: 26px; }

        .auth-lock-title {
            text-align: center;
            font-size: 22px;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 4px;
        }

        .auth-lock-subtitle {
            text-align: center;
            font-size: 13px;
            color: var(--text-tertiary);
            margin-bottom: 28px;
        }

        /* Tab切换 */
        .auth-tabs {
            display: flex;
            background: var(--bg-tertiary);
            border-radius: 8px;
            padding: 4px;
            margin-bottom: 24px;
        }

        .auth-tab {
            flex: 1;
            padding: 8px 0;
            text-align: center;
            font-size: 13px;
            font-weight: 500;
            color: var(--text-tertiary);
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.2s;
        }

        .auth-tab.active {
            background: var(--bg-card);
            color: var(--primary);
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        }

        .auth-form-group {
            margin-bottom: 16px;
        }

        .auth-form-label {
            display: block;
            font-size: 13px;
            font-weight: 500;
            color: var(--text-secondary);
            margin-bottom: 6px;
        }

        .auth-form-input {
            width: 100%;
            height: 42px;
            padding: 0 14px;
            background: var(--bg-tertiary);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            font-size: 14px;
            color: var(--text-primary);
            transition: all 0.2s;
            outline: none;
        }

        .auth-form-input:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px var(--primary-glow);
            background: var(--bg-card);
        }

        .auth-form-input::placeholder {
            color: var(--text-muted);
        }

        .auth-form-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: -8px;
            margin-bottom: 20px;
            font-size: 12px;
        }

        .auth-form-row label {
            display: flex;
            align-items: center;
            gap: 6px;
            color: var(--text-tertiary);
            cursor: pointer;
        }

        .auth-form-row input[type="checkbox"] {
            accent-color: var(--primary);
            cursor: pointer;
        }

        .auth-link {
            color: var(--primary);
            cursor: pointer;
            font-weight: 500;
        }

        .auth-link:hover { opacity: 0.85; }

        .auth-btn {
            width: 100%;
            height: 42px;
            background: var(--primary-gradient);
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            box-shadow: 0 2px 8px var(--primary-glow);
        }

        .auth-btn:hover {
            filter: brightness(1.08);
            transform: translateY(-1px);
            box-shadow: 0 4px 12px var(--primary-glow-strong);
        }

        .auth-btn:active { transform: translateY(0); }
        .auth-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

                .auth-btn .spinner {
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background: conic-gradient(from 0deg, transparent 0%, rgba(255, 255, 255, 0.55) 40%, #fff 100%);
            -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
                    mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
            animation: spin 0.8s linear infinite;
        }

        .auth-footer-tip {
            text-align: center;
            font-size: 12px;
            color: var(--text-muted);
            margin-top: 20px;
        }

        /* 密码强度 */
        .auth-strength {
            display: flex;
            gap: 4px;
            margin-top: 6px;
        }

        .auth-strength-bar {
            flex: 1;
            height: 3px;
            background: var(--border-color);
            border-radius: 2px;
            transition: background 0.3s;
        }

        .auth-strength-bar.active.weak { background: var(--danger); }
        .auth-strength-bar.active.medium { background: var(--warning); }
        .auth-strength-bar.active.strong { background: var(--success); }

        .auth-strength-text {
            font-size: 11px;
            color: var(--text-muted);
            margin-top: 4px;
        }

        /* 左下角用户入口 */
        .sidebar-auth-entry {
            margin-top: auto;
            padding: 12px 14px;
            border-top: 1px solid var(--border-color);
            cursor: pointer;
            transition: background 0.2s;
        }

        .sidebar-auth-entry:hover {
            background: var(--bg-tertiary);
        }

        .auth-entry-logged-out {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .auth-entry-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: var(--bg-tertiary);
            border: 1px solid var(--border-color);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-tertiary);
            flex-shrink: 0;
        }

        .auth-entry-info {
            flex: 1;
            min-width: 0;
        }

        .auth-entry-name {
            font-size: 13px;
            font-weight: 500;
            color: var(--text-primary);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .auth-entry-status {
            font-size: 11px;
            color: var(--text-muted);
            margin-top: 2px;
        }

        .auth-entry-action {
            font-size: 12px;
            color: var(--primary);
            font-weight: 500;
        }

        /* 已登录状态 */
        .auth-entry-logged-in {
            display: flex;
            align-items: center;
            gap: 10px;
            position: relative;
        }

        .auth-entry-avatar.online {
            background: var(--primary-gradient);
            color: white;
            border: none;
            box-shadow: 0 2px 8px var(--primary-glow);
            font-size: 14px;
            font-weight: 600;
        }

        .auth-entry-menu {
            position: absolute;
            bottom: 70px;
            left: 10px;
            right: 10px;
            background: var(--bg-float);
            border: 1px solid var(--border-color);
            border-radius: 10px;
            box-shadow: var(--shadow-lg);
            padding: 6px;
            z-index: 100;
            display: none;
        }

        .auth-entry-menu.show { display: block; }

        /* 菜单中签到胶囊按钮（叠在个人中心右侧） */
        .menu-checkin-btn {
            position: absolute;
            right: 8px;
            top: 50%;
            transform: translateY(-50%);
            height: 24px;
            padding: 0 12px;
            border-radius: 12px;
            background: linear-gradient(135deg, #f59e0b, #d97706);
            color: white;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 2px 6px rgba(245, 158, 11, 0.4);
            transition: all 0.15s ease;
            z-index: 2;
            font-size: 11px;
            font-weight: 600;
            line-height: 1;
            letter-spacing: 0.5px;
        }

        .menu-checkin-btn:hover {
            transform: translateY(-50%) scale(1.06);
            box-shadow: 0 3px 10px rgba(245, 158, 11, 0.5);
        }

        .menu-checkin-btn:active {
            transform: translateY(-50%) scale(0.96);
        }

        .menu-checkin-btn.checked {
            background: var(--bg-tertiary);
            color: var(--text-tertiary);
            box-shadow: none;
            border: 1px solid var(--border-color);
            cursor: not-allowed;
        }

        .menu-checkin-btn.checked:hover {
            transform: translateY(-50%);
            box-shadow: none;
        }

        .menu-checkin-text {
            position: relative;
            z-index: 1;
        }

        .menu-checkin-dot {
            display: none;
        }

        .menu-checkin-btn:not(.checked) .menu-checkin-dot {
            display: block;
            position: absolute;
            top: -2px;
            right: -2px;
            width: 8px;
            height: 8px;
            background: #ef4444;
            border-radius: 50%;
            border: 1.5px solid var(--bg-float, #fff);
            animation: menu-checkin-pulse 2s ease-in-out infinite;
        }

        @keyframes menu-checkin-pulse {
            0%, 100% { transform: scale(1); opacity: 1; }
            50% { transform: scale(1.3); opacity: 0.7; }
        }

        .auth-menu-item {
            padding: 10px 12px;
            font-size: 13px;
            color: var(--text-secondary);
            border-radius: 6px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: background 0.15s;
            position: relative;
        }

        .auth-menu-item:hover {
            background: var(--bg-tertiary);
            color: var(--text-primary);
        }

        .auth-menu-item.danger { color: var(--danger); }
        .auth-menu-item.danger:hover { background: var(--danger-bg); }

        .auth-menu-badge {
            margin-left: auto;
            background: linear-gradient(135deg, #ffb800, #ff8c00);
            color: #fff;
            font-size: 11px;
            font-weight: 600;
            padding: 2px 8px;
            border-radius: 10px;
            display: none;
        }

        .auth-menu-divider {
            height: 1px;
            background: var(--border-color);
            margin: 4px 0;
        }

        /* 登录表单面板切换 */
        .auth-panel { display: none; }
        .auth-panel.active { display: block; animation: fadeIn 0.3s ease; }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateX(10px); }
            to { opacity: 1; transform: translateX(0); }
        }

/* ========== 个人中心弹窗 - 精致版 ========== */
.profile-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(6px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.profile-modal.show {
    display: flex;
    opacity: 1;
}

.profile-card {
    width: 100%;
    max-width: 380px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 8px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transform: translateY(20px) scale(0.96);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-modal.show .profile-card {
    transform: translateY(0) scale(1);
}

/* 顶部渐变装饰条 */

/* 用户信息区 */

.profile-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 28px;
    height: 28px;
    background: var(--bg-tertiary);
    border: none;
    border-radius: 8px;
    color: var(--text-tertiary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 2;
}

.profile-close:hover {
    background: var(--danger-bg);
    color: var(--danger);
}

.profile-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.profile-avatar {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: 700;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 12px var(--primary-glow);
    transition: transform 0.2s;
}

.profile-avatar:hover {
    transform: scale(1.05);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar-badge {
    position: absolute;
    bottom: -2px;
    left: -2px;
    width: 18px;
    height: 18px;
    background: var(--success);
    border: 2px solid var(--bg-card);
    border-radius: 50%;
}

.profile-avatar-camera-btn {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: 2px solid var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: all 0.2s;
    z-index: 2;
}

.profile-avatar-camera-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px var(--primary-glow);
}

.profile-avatar-camera-btn:active {
    transform: scale(0.95);
}

.profile-user-info {
    flex: 1;
    min-width: 0;
}

.profile-username {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.profile-user-tag {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: white;
    font-size: 10px;
    font-weight: 600;
    border-radius: 4px;
}

.profile-user-email {
    font-size: 12px;
    color: var(--text-tertiary);
    margin-bottom: 6px;
}

.profile-user-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: var(--text-muted);
}

.profile-user-meta span {
    display: flex;
    align-items: center;
    gap: 3px;
}

/* 数据统计区 */
.profile-stats-section {
    padding: 16px 24px;
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-color-light);
    border-bottom: 1px solid var(--border-color-light);
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    text-align: center;
}

.profile-stat-num {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.profile-stat-num.primary {
    color: var(--primary);
}

.profile-stat-label {
    font-size: 11px;
    color: var(--text-tertiary);
}

/* 账户信息区 */
.profile-info-section {
    padding: 16px 24px 4px;
}

.profile-section-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 10px;
}

.profile-info-list {
    background: var(--bg-tertiary);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
}

.profile-info-item {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    gap: 10px;
    border-bottom: 1px solid var(--border-color-light);
}

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

.profile-info-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--primary-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.profile-info-item:nth-child(2) .profile-info-icon {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.profile-info-item:nth-child(3) .profile-info-icon {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.profile-info-content {
    flex: 1;
}

.profile-info-label {
    font-size: 11px;
    color: var(--text-tertiary);
    margin-bottom: 1px;
}

.profile-info-value {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
}

/* 底部操作区 */

.profile-action-btn.danger:hover {
    background: var(--danger-bg);
    border-color: var(--danger);
    color: var(--danger);
}

/* 头像上传隐藏input */
#avatarInput {
    display: none;
}

/* ========== 修改密码弹窗 ========== */
.password-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1001;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.password-modal.show {
    display: flex;
    opacity: 1;
}

.password-card {
    width: 100%;
    max-width: 400px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    padding: 28px 28px 24px;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.password-modal.show .password-card {
    transform: translateY(0) scale(1);
}

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

.password-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.password-close {
    width: 30px;
    height: 30px;
    background: var(--bg-tertiary);
    border: none;
    border-radius: 8px;
    color: var(--text-tertiary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.password-close:hover {
    background: var(--danger-bg);
    color: var(--danger);
}

.password-form-group {
    margin-bottom: 16px;
}

.password-form-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.password-form-input-wrap {
    position: relative;
}

.password-form-input {
    width: 100%;
    height: 42px;
    padding: 0 14px;
    padding-right: 44px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-primary);
    transition: all 0.2s;
    outline: none;
}

.password-form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
    background: var(--bg-card);
}

.password-form-input::placeholder {
    color: var(--text-muted);
}

.password-toggle-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-tertiary);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: color 0.2s;
}

.password-toggle-btn:hover {
    color: var(--text-secondary);
}

.password-strength-wrap {
    margin-bottom: 16px;
}

.password-strength-bars {
    display: flex;
    gap: 4px;
    margin-bottom: 4px;
}

.password-strength-bars .bar {
    flex: 1;
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    transition: background 0.3s;
}

.password-strength-bars .bar.active.weak { background: var(--danger); }
.password-strength-bars .bar.active.medium { background: var(--warning); }
.password-strength-bars .bar.active.strong { background: var(--success); }

.password-strength-label {
    font-size: 11px;
    color: var(--text-muted);
}

.password-tips {
    background: var(--bg-tertiary);
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 20px;
}

.password-tips-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.password-tips-list {
    list-style: none;
    font-size: 11px;
    color: var(--text-tertiary);
}

.password-tips-list li {
    padding: 2px 0;
    padding-left: 16px;
    position: relative;
}

.password-tips-list li::before {
    content: '•';
    position: absolute;
    left: 4px;
    color: var(--text-muted);
}

.password-tips-list li.valid {
    color: var(--success);
}

.password-tips-list li.valid::before {
    content: '✓';
    color: var(--success);
    left: 2px;
}

.password-actions {
    display: flex;
    gap: 10px;
}

.password-btn {
    flex: 1;
    height: 44px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    margin-top: 8px;
    width: 100%;
}

.password-btn.primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 14px var(--primary-glow),
                0 1px 2px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
}

.password-btn.primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.5s ease;
}

.password-btn.primary:hover::before {
    left: 100%;
}

.password-btn.primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow),
                0 2px 6px rgba(0, 0, 0, 0.12);
}

.password-btn.primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px var(--primary-glow),
                0 1px 2px rgba(0, 0, 0, 0.1);
}

.password-btn.primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 8px var(--primary-glow);
}

.password-btn.primary:disabled::before {
    display: none;
}

.password-btn.secondary {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.password-btn.secondary:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.password-btn .spinner {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0%, rgba(255, 255, 255, 0.55) 40%, #fff 100%);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
            mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
    animation: spin 0.8s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
    .auth-btn .spinner,
    .password-btn .spinner { animation: none; }
}
    

/* ========== 店铺额度系统 ========== */
.shop-limit-info-wrap {
    margin-bottom: 16px;
}

.shop-limit-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    padding: 16px 18px;
    color: white;
    position: relative;
    overflow: hidden;
}

.shop-limit-card::before {
    content: "";
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.shop-limit-card::after {
    content: "";
    position: absolute;
    bottom: -20px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.shop-limit-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.shop-limit-title {
    font-size: 13px;
    opacity: 0.9;
    font-weight: 500;
}

.shop-limit-badge {
    background: rgba(255, 255, 255, 0.25);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}

.shop-limit-count {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.shop-limit-used {
    color: white;
}

.shop-limit-sep {
    color: rgba(255, 255, 255, 0.5);
    font-size: 20px;
    margin: 0 4px;
}

.shop-limit-total {
    font-size: 20px;
    opacity: 0.8;
}

.shop-limit-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.shop-limit-progress {
    height: 100%;
    background: white;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.shop-limit-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    position: relative;
    z-index: 1;
}

.shop-limit-tip {
    opacity: 0.8;
}

.shop-limit-expire {
    opacity: 0.85;
}

.shop-limit-upgrade {
    cursor: pointer;
    font-weight: 600;
    opacity: 0.95;
    transition: opacity 0.2s;
}

.shop-limit-upgrade:hover {
    opacity: 1;
    text-decoration: underline;
}

/* ========== 额度已满弹窗 ========== */
.limit-dialog {
    text-align: center;
    padding: 10px 0;
}

.limit-dialog-icon {
    font-size: 56px;
    margin-bottom: 12px;
}

.limit-dialog-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.limit-dialog-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.limit-dialog-tip {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-bottom: 20px;
}

.limit-dialog-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.limit-dialog-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    font-weight: 500;
}

.limit-dialog-btn.secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.limit-dialog-btn.secondary:hover {
    background: var(--bg-tertiary);
}

.limit-dialog-btn.primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.limit-dialog-btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* ========== 积分商城 - Tab ========== */
.mall-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    padding: 0 16px;
}

.mall-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text-tertiary);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: all 0.2s;
    font-weight: 500;
}

.mall-tab:hover {
    color: var(--text-primary);
}

.mall-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.mall-section-title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin: 20px 0 12px;
    padding: 0 4px;
}

.mall-section-title span:first-child {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.mall-section-sub {
    font-size: 12px;
    color: var(--text-tertiary);
}

/* ========== 积分商城 - 商品卡片 ========== */
.reward-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.2s;
}

.reward-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.reward-card.disabled {
    opacity: 0.6;
}

.reward-card-top {
    display: flex;
    gap: 14px;
    margin-bottom: 14px;
}

.reward-icon-shop,
.reward-icon-digital,
.reward-icon-default {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.reward-icon-shop {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: white;
}

.reward-icon-num {
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.reward-icon-label {
    font-size: 11px;
    margin-top: 2px;
    opacity: 0.9;
}

.reward-icon-digital {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: white;
}

.reward-icon-default {
    background: linear-gradient(135deg, #22c55e, #059669);
    color: white;
}

.reward-card-info {
    flex: 1;
    min-width: 0;
}

.reward-card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.reward-card-desc {
    font-size: 12px;
    color: var(--text-tertiary);
    margin-bottom: 8px;
    line-height: 1.5;
}

.reward-card-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.reward-duration {
    font-size: 11px;
    padding: 2px 8px;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border-radius: 4px;
}

.reward-duration.permanent {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.reward-stock {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
}

.reward-stock.sold {
    background: var(--bg-tertiary);
    color: var(--text-tertiary);
}

.reward-stock.low {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.reward-stock.out {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.reward-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.reward-card-cost {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.reward-card-btn {
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.reward-card-btn.primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.reward-card-btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.reward-card-btn.disabled {
    background: var(--bg-tertiary);
    color: var(--text-tertiary);
    cursor: not-allowed;
}

.reward-card-btn:disabled {
    background: var(--bg-tertiary);
    color: var(--text-tertiary);
    cursor: not-allowed;
}

/* ========== 兑换确认弹窗 ========== */
.redeem-confirm {
    text-align: center;
    padding: 10px 0;
}

.redeem-confirm-icon {
    font-size: 48px;
    margin-bottom: 8px;
}

.redeem-confirm-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.redeem-confirm-item {
    background: var(--bg-secondary);
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 16px;
    text-align: left;
}

.redeem-confirm-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.redeem-confirm-desc {
    font-size: 13px;
    color: var(--text-tertiary);
}

.redeem-confirm-cost {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.redeem-confirm-points {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.redeem-confirm-tip {
    font-size: 12px;
    color: var(--text-tertiary);
    margin-bottom: 18px;
}

.redeem-confirm-actions {
    display: flex;
    gap: 10px;
}

.redeem-confirm-btn {
    flex: 1;
    padding: 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.redeem-confirm-btn.secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.redeem-confirm-btn.secondary:hover {
    background: var(--bg-tertiary);
}

.redeem-confirm-btn.primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.redeem-confirm-btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* ========== 兑换成功弹窗 ========== */
.redeem-success {
    text-align: center;
    padding: 10px 0;
}

.redeem-success-icon {
    font-size: 56px;
    margin-bottom: 8px;
}

.redeem-success-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.redeem-success-item-name {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.redeem-success-detail {
    background: var(--bg-secondary);
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 10px;
    text-align: left;
}

.redeem-success-label {
    font-size: 12px;
    color: var(--text-tertiary);
    margin-bottom: 4px;
}

.redeem-success-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.redeem-success-value.highlight {
    color: var(--primary);
    font-size: 16px;
}

.redeem-success-code {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
}

.redeem-success-code span {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}

.redeem-code-copy {
    padding: 6px 12px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.redeem-code-copy:hover {
    background: var(--primary-dark);
}

.redeem-success-btn {
    margin-top: 20px;
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.redeem-success-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* ========== 我的兑换记录 ========== */
.redeem-records-list {
    padding: 4px 0;
}

.redeem-record-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: var(--bg-secondary);
    border-radius: 10px;
    margin-bottom: 10px;
    border: 1px solid var(--border-color);
}

.record-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

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

.record-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.record-time {
    font-size: 12px;
    color: var(--text-tertiary);
    margin-bottom: 2px;
}

.record-expire {
    font-size: 12px;
}

.record-expire.success {
    color: #22c55e;
}

.record-expire.expired {
    color: #ef4444;
}

.record-expire.pending {
    color: #f59e0b;
}

.record-right {
    text-align: right;
    flex-shrink: 0;
}

.record-points {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.record-status {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
}

.record-status.success {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.record-status.pending {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.record-status.expired {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.empty-records {
    text-align: center;
    padding: 50px 20px;
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.empty-text {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.empty-tip {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-bottom: 20px;
}

.empty-btn {
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.empty-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* 适配暗色模式 */
[data-theme="dark"] .reward-card {
    background: rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .redeem-confirm-item,
[data-theme="dark"] .redeem-success-detail {
    background: rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .redeem-record-item {
    background: rgba(255, 255, 255, 0.03);
}

/* ============================================================
   积分商城 - 精致化升级
   ============================================================ */

/* 弹窗整体升级 */
.rewards-modal {
    width: 620px !important;
    max-height: 720px !important;
    border-radius: 20px !important;
    overflow: hidden !important;
}

.rewards-modal .modal-title {
    font-size: 20px !important;
    font-weight: 700 !important;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 积分徽章升级 */
.rewards-points-badge {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
    color: white !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
    display: flex;
    align-items: center;
    gap: 6px;
}

.rewards-points-badge svg {
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

.mall-tab.active::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px 3px 0 0;
}

.mall-section-title span:first-child::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 16px;
    background: linear-gradient(180deg, var(--primary), var(--primary-dark));
    border-radius: 2px;
}

.shop-limit-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -30px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.shop-limit-card::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 20px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.shop-limit-upgrade:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-1px);
    text-decoration: none !important;
}

.reward-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    opacity: 0;
    transition: opacity 0.3s;
}

.reward-card:hover::before {
    opacity: 1;
}

.reward-icon-shop,
.reward-icon-digital,
.reward-icon-default {
    width: 64px !important;
    height: 64px !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.reward-card:hover .reward-icon-shop,
.reward-card:hover .reward-icon-digital,

.reward-card-cost {
    font-size: 20px !important;
    font-weight: 800 !important;
    gap: 6px !important;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================================
   个人中心 - 精致化升级
   ============================================================ */

/* 顶部装饰条升级 */

.profile-user-info {
    width: 100%;
}

.profile-stat-num.primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 14px;
    background: linear-gradient(180deg, var(--primary), var(--primary-dark));
    border-radius: 2px;
}

/* ============================================================
   头像菜单积分徽章 - 精致化
   ============================================================ */

.auth-menu-badge {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
    font-size: 10px !important;
    font-weight: 700 !important;
    padding: 2px 8px !important;
    border-radius: 8px !important;
    color: white !important;
}

/* ============================================================
   深色模式适配
   ============================================================ */

[data-theme="dark"] .reward-card {
    background: var(--bg-secondary) !important;
}

[data-theme="dark"] .profile-info-list {
    background: var(--bg-secondary) !important;
}

[data-theme="dark"] .profile-user-meta span {
    background: var(--bg-secondary) !important;
}

/* ============================================================
   V2 精致化升级 - 克制高级感路线
   重点：排版、间距、细节质感。去除过重的渐变和发光。
   ============================================================ */

/* ========== 通用弹窗优化 ========== */
.modal-overlay {
    backdrop-filter: blur(8px) saturate(180%);
    -webkit-backdrop-filter: blur(8px) saturate(180%);
    background: rgba(15, 23, 42, 0.5) !important;
}

.modal {
    border-radius: 16px !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18),
                0 8px 24px rgba(0, 0, 0, 0.08) !important;
    overflow: hidden;
}

.modal-header {
    padding: 20px 24px !important;
    border-bottom: 1px solid var(--border-color-light) !important;
}

.modal-title {
    font-size: 17px !important;
    font-weight: 600 !important;
    letter-spacing: -0.2px;
}

.modal-body {
    padding: 20px 24px !important;
}

.modal-close {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    transition: all 0.15s ease !important;
}

.modal-close:hover {
    background: var(--bg-tertiary) !important;
    transform: none !important;
}

/* ========== 积分商城 V2 ========== */

.rewards-modal .modal-title {
    font-size: 22px !important;
    font-weight: 700 !important;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    background: none !important;
    -webkit-text-fill-color: currentColor !important;
}

/* 积分徽章 - 克制版 */
.rewards-points-badge {
    background: var(--bg-tertiary) !important;
    color: var(--text-primary) !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    box-shadow: none !important;
    border: 1px solid var(--border-color);
    gap: 6px;
}

.rewards-points-badge svg {
    color: #f59e0b;
    filter: none !important;
}

.mall-tab.active::after {
    display: none !important;
}

.mall-section-title span:first-child::before {
    display: none !important;
}

.shop-limit-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.15) 0%, transparent 60%);
    border-radius: 0;
}

.shop-limit-card::after {
    display: none !important;
}

.shop-limit-upgrade:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: none !important;
    text-decoration: none !important;
}

.reward-card::before {
    display: none !important;
}

.reward-icon-shop,
.reward-icon-digital,
.reward-icon-default {
    width: 52px !important;
    height: 52px !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    transition: transform 0.2s ease;
}

.reward-card:hover .reward-icon-shop,
.reward-card:hover .reward-icon-digital,

/* ========== 个人中心 V2 ========== */

/* 顶部区域 - 克制版 */

.profile-user-info {
    width: 100%;
}

.profile-section-title::before {
    display: none !important;
}

/* ========== 设置页 V2 - 全面升级 ========== */

#settingsModal .modal {
    width: 860px !important;
    max-height: 720px !important;
}

#settingsModal .modal-body {
    padding: 0 !important;
    max-height: 640px !important;
}

/* 设置区块 - 分组容器（新设计：透明容器，卡片由 .settings-card 提供） */
.settings-section {
    margin-bottom: 20px !important;
    background: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    border: none !important;
    transition: none !important;
    display: none;
}

.settings-section.active {
    display: block;
}

.settings-section:hover {
    border-color: transparent !important;
}

.settings-section-title {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: var(--text-tertiary) !important;
    margin-bottom: 0 !important;
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 10px;
    border-bottom: none !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.settings-section-title svg {
    width: 14px !important;
    height: 14px !important;
    color: var(--text-tertiary) !important;
    opacity: 0.8;
}

/* 设置项 - iOS风格列表 */
.settings-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px !important;
    border-bottom: 1px solid var(--border-color-light) !important;
    transition: none !important;
    gap: 16px;
    box-sizing: border-box !important;
    margin: 0 !important;
    width: 100% !important;
}

.settings-item:hover {
    background: none !important;
}

.settings-item:last-child {
    border-bottom: none !important;
    padding-bottom: 16px !important;
}

.settings-item-info {
    flex: 1;
    min-width: 0;
}

.settings-item-name {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: var(--text-primary) !important;
    margin-bottom: 2px !important;
    display: flex;
    align-items: center;
    gap: 6px;
}

.settings-task-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 1px 6px;
    font-size: 11px;
    font-weight: 500;
    color: var(--warning);
    background: var(--warning-bg);
    border-radius: 10px;
    line-height: 1.4;
}

.settings-task-badge svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.settings-item-desc {
    font-size: 12px !important;
    color: var(--text-tertiary) !important;
    line-height: 1.4;
}

/* 开关 - 精致版 */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px !important;
    height: 28px !important;
    flex-shrink: 0;
}

.toggle-slider {
    border-radius: 14px !important;
    background: var(--bg-tertiary) !important;
    transition: all 0.2s ease !important;
}

.toggle-slider::before {
    height: 22px !important;
    width: 22px !important;
    border-radius: 50% !important;
    left: 3px !important;
    bottom: 3px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2) !important;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.toggle-switch input:checked + .toggle-slider {
    background: var(--primary) !important;
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(20px) !important;
}

/* 下拉选择 */
.settings-select {
    padding: 8px 32px 8px 12px !important;
    border-radius: 8px !important;
    border: 1px solid var(--border-color) !important;
    background: var(--bg-card) !important;
    color: var(--text-primary) !important;
    font-size: 13px !important;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
    transition: border-color 0.15s;
}

.settings-select:hover {
    border-color: var(--border-color-hover) !important;
}

.settings-select:focus {
    outline: none;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px var(--primary-glow);
}

/* 主题色选择器 */
.theme-colors {
    display: flex !important;
    flex-wrap: wrap;
    gap: 10px !important;
    padding: 14px 0 18px !important;
}

.theme-color-btn {
    width: 26px !important;
    height: 26px !important;
    border-radius: 50% !important;
    cursor: pointer;
    transition: all 0.15s ease !important;
    border: 2px solid transparent !important;
    position: relative;
    transform: none !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.theme-color-btn:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
}

.theme-color-btn.active {
    border-color: var(--bg-card) !important;
    box-shadow: 0 0 0 2px var(--primary) !important;
    transform: scale(1) !important;
}

/* VIP专属主题 - 双卡网格布局 */
.vip-theme-section {
    padding: 12px 0 4px !important;
    margin-top: 0;
}
.vip-theme-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 12px;
}

.vip-theme-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.vip-theme-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}
.vip-theme-card:hover {
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.vip-theme-card.vip-active {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}
.vip-theme-card.vip-locked {
    opacity: 0.7;
}
.vip-theme-card.vip-locked:hover {
    transform: none;
}

/* 皮肤预览区 - 迷你界面 */
.vip-theme-preview {
    height: 60px;
    border-radius: 8px;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.vip-theme-preview-bar {
    height: 16px;
    display: flex;
    align-items: center;
    padding: 0 8px;
    gap: 4px;
    flex-shrink: 0;
}
.vip-theme-preview-dots {
    display: flex;
    gap: 3px;
}
.vip-theme-preview-dots span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    opacity: 0.7;
}
.vip-theme-preview-body {
    flex: 1;
    padding: 6px 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.vip-theme-preview-line {
    height: 4px;
    border-radius: 2px;
    opacity: 0.5;
}
.vip-theme-preview-line.short {
    width: 60%;
}

/* 晨曦金预览配色 */
.vip-theme-preview.morning-gold {
    background: #FFFBF2;
}
.vip-theme-preview.morning-gold .vip-theme-preview-bar {
    background: linear-gradient(180deg, #FFF5DB 0%, #FFFBF2 100%);
    border-bottom: 1px solid rgba(232, 197, 71, 0.1);
}
.vip-theme-preview.morning-gold .vip-theme-preview-dots span {
    background: #E8C547;
}
.vip-theme-preview.morning-gold .vip-theme-preview-line {
    background: #E8C547;
}

/* 薄雾蓝预览配色 */
.vip-theme-preview.mist-blue {
    background: #F0F7FF;
}
.vip-theme-preview.mist-blue .vip-theme-preview-bar {
    background: linear-gradient(180deg, #DBEAFE 0%, #F0F7FF 100%);
    border-bottom: 1px solid rgba(96, 165, 250, 0.1);
}
.vip-theme-preview.mist-blue .vip-theme-preview-dots span {
    background: #60A5FA;
}
.vip-theme-preview.mist-blue .vip-theme-preview-line {
    background: #60A5FA;
}

/* 暮光·紫预览 */
.vip-theme-preview.twilight-purple {
    background: #FAF5FF;
}
.vip-theme-preview.twilight-purple .vip-theme-preview-bar {
    background: linear-gradient(180deg, #F3E8FF 0%, #FAF5FF 100%);
    border-bottom: 1px solid rgba(168, 85, 247, 0.1);
}
.vip-theme-preview.twilight-purple .vip-theme-preview-dots span {
    background: #A855F7;
}
.vip-theme-preview.twilight-purple .vip-theme-preview-line {
    background: #A855F7;
}

/* 皮肤信息 */
.vip-theme-info {
    margin-bottom: 8px;
}
.vip-theme-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}
.vip-theme-badge {
    font-size: 9px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 4px;
    line-height: 1.2;
    letter-spacing: 0.3px;
}
.vip-theme-badge.gold {
    background: linear-gradient(135deg, #E8C547, #F4D03F);
    color: #6B5A3D;
}
.vip-theme-badge.blue {
    background: linear-gradient(135deg, #60A5FA, #3B82F6);
    color: #fff;
}
.vip-theme-badge.purple {
    background: linear-gradient(135deg, #A855F7, #7C3AED);
    color: #fff;
}
.vip-theme-desc {
    font-size: 11px;
    color: var(--text-tertiary);
    line-height: 1.4;
}

/* 使用状态标签 */
.vip-theme-status {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    display: none;
}
.vip-theme-card.vip-active .vip-theme-status {
    display: block;
}

/* 锁定遮罩 */
.vip-theme-lock-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    border-radius: 12px;
    backdrop-filter: blur(2px);
}
.vip-theme-card:not(.vip-locked) .vip-theme-lock-overlay {
    display: none;
}
.vip-theme-lock-icon {
    font-size: 18px;
}
.vip-theme-lock-text {
    font-size: 10px;
    color: #fff;
    font-weight: 500;
}

/* 皮肤对比预览弹窗 */
.skin-preview-overlay {
    z-index: 2000;
}
.skin-preview-modal {
    width: 520px;
    max-width: 90vw;
    max-height: 85vh;
    overflow: hidden;
}
.skin-preview-body {
    padding: 20px;
}
.skin-compare {
    display: flex;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 20px;
}
.skin-compare-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.skin-compare-label {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    color: var(--text-secondary);
}
.skin-compare-right .skin-compare-label {
    color: #f59e0b;
}
.skin-compare-preview {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 3/4;
    border: 1px solid var(--border-color);
}
.skin-preview-bar {
    height: 24px;
    background: var(--primary, #3b82f6);
    position: relative;
}
.skin-preview-bar::after {
    content: '';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 10px;
    background: rgba(255,255,255,0.3);
    border-radius: 3px;
}
.skin-preview-content {
    padding: 8px;
    background: var(--bg-card, #fff);
    height: calc(100% - 24px);
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.skin-preview-card {
    height: 14px;
    border-radius: 4px;
    width: 70%;
}
.skin-preview-card-left {
    background: var(--bg-tertiary, #e5e7eb);
    align-self: flex-start;
}
.skin-preview-card-right {
    background: var(--primary, #3b82f6);
    opacity: 0.8;
    align-self: flex-end;
    width: 55%;
}
.skin-preview-line {
    height: 4px;
    background: var(--bg-tertiary, #e5e7eb);
    border-radius: 2px;
    margin-top: 4px;
}
.skin-preview-line.short {
    width: 60%;
}

/* 普通皮肤预览配色 */
.skin-preview-blue { --primary: #3b82f6; }
.skin-preview-green { --primary: #22c55e; }
.skin-preview-purple { --primary: #60a5fa; }
.skin-preview-orange { --primary: #f97316; }
.skin-preview-pink { --primary: #ec4899; }
.skin-preview-red { --primary: #ef4444; }
.skin-preview-teal { --primary: #14b8a6; }

/* VIP皮肤预览配色 */
.skin-preview-vip.skin-preview-morning-gold {
    --primary: linear-gradient(135deg, #d4af37, #b8860b);
    border-color: #d4af37;
    box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.3), 0 4px 12px rgba(212, 175, 55, 0.15);
}
.skin-preview-vip.skin-preview-morning-gold .skin-preview-bar {
    background: linear-gradient(135deg, #d4af37, #b8860b);
}
.skin-preview-vip.skin-preview-morning-gold .skin-preview-card-right {
    background: linear-gradient(135deg, #d4af37, #b8860b);
}
.skin-preview-vip.skin-preview-mist-blue {
    --primary: linear-gradient(135deg, #64748b, #475569);
    border-color: #64748b;
    box-shadow: 0 0 0 1px rgba(100, 116, 139, 0.3), 0 4px 12px rgba(100, 116, 139, 0.15);
}
.skin-preview-vip.skin-preview-mist-blue .skin-preview-bar {
    background: linear-gradient(135deg, #64748b, #475569);
}
.skin-preview-vip.skin-preview-mist-blue .skin-preview-card-right {
    background: linear-gradient(135deg, #64748b, #475569);
}
.skin-preview-vip.skin-preview-twilight-purple {
    --primary: linear-gradient(135deg, #7c3aed, #5b21b6);
    border-color: #7c3aed;
    box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.3), 0 4px 12px rgba(124, 58, 237, 0.15);
}
.skin-preview-vip.skin-preview-twilight-purple .skin-preview-bar {
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
}
.skin-preview-vip.skin-preview-twilight-purple .skin-preview-card-right {
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
}

/* VIP光扫动效 */
.skin-preview-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: skinPreviewShine 3s ease-in-out infinite;
}
@keyframes skinPreviewShine {
    0% { left: -100%; }
    50% { left: 150%; }
    100% { left: 150%; }
}

.skin-compare-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    color: var(--text-muted);
    padding: 0 4px;
}
.skin-compare-status {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 0;
    border-radius: 6px;
}
.skin-status-free {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}
.skin-status-vip {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(217, 119, 6, 0.15));
    color: #f59e0b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

/* 特性列表 */
.skin-features {
    background: var(--bg-secondary);
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 16px;
}
.skin-features-title {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}
.skin-features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.skin-feature-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-secondary);
}
.skin-feature-check {
    color: #22c55e;
    font-weight: 700;
    font-size: 11px;
}

/* 底部操作区 */
.skin-preview-actions {
    text-align: center;
}
.skin-preview-btn {
    width: 100%;
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}
.skin-preview-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}
.skin-preview-btn:active {
    transform: translateY(0);
}
.skin-preview-hint {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 8px;
}

/* 设置按钮 */
.btn-sm {
    padding: 6px 14px !important;
    font-size: 12px !important;
    border-radius: 7px !important;
    font-weight: 500 !important;
}

.btn-secondary {
    background: var(--bg-tertiary) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-secondary) !important;
    transition: all 0.15s ease !important;
}

.btn-secondary:hover {
    background: var(--bg-card) !important;
    border-color: var(--border-color-hover) !important;
    color: var(--text-primary) !important;
    transform: none !important;
    box-shadow: none !important;
}

/* ========== 头像菜单积分徽章 V2 ========== */

.auth-menu-badge {
    background: var(--bg-tertiary) !important;
    box-shadow: none !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    padding: 2px 7px !important;
    border-radius: 6px !important;
    color: var(--text-secondary) !important;
    border: 1px solid var(--border-color);
}

/* ========== 深色模式微调 ========== */

[data-theme="dark"] .reward-card {
    background: var(--bg-secondary) !important;
}

[data-theme="dark"] .profile-info-list {
    background: var(--bg-secondary) !important;
}

[data-theme="dark"] .settings-section {
    background: none !important;
}

[data-theme="dark"] .settings-select {
    background: var(--bg-secondary) !important;
}

/* ============================================================
   V3 重构升级 - 专业工具风
   ============================================================ */

/* ========== 积分商城 V3 - 精细化打磨 ========== */

.rewards-modal {
    width: 600px !important;
    max-height: 720px !important;
    border-radius: 16px !important;
}

.rewards-modal .modal-header {
    padding: 22px 28px 18px !important;
    border-bottom: 1px solid var(--border-color-light) !important;
    display: flex;
    align-items: center;
    position: relative;
}

.rewards-modal .modal-title {
    font-size: 18px !important;
    font-weight: 600 !important;
    letter-spacing: -0.2px;
    flex: 1;
}

.rewards-points-badge {
    order: 2;
    margin-left: auto;
    margin-right: 12px;
    background: var(--primary) !important;
    color: white !important;
    padding: 5px 12px !important;
    border-radius: 20px !important;
    font-weight: 500 !important;
    font-size: 12px !important;
    border: none !important;
    gap: 4px;
}

.rewards-points-badge svg {
    color: white !important;
    width: 12px !important;
    height: 12px !important;
}

.rewards-modal .modal-close {
    order: 3;
}

/* Tab - 胶囊式 */
.mall-tabs {
    padding: 12px 28px 0 !important;
    border-bottom: 1px solid var(--border-color-light) !important;
    margin-top: 0;
    gap: 0;
    display: flex;
}

.mall-tab {
    padding: 12px 0 !important;
    margin-right: 24px;
    font-size: 13px !important;
    font-weight: 500 !important;
    border-bottom: 2px solid transparent !important;
    color: var(--text-tertiary);
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    position: relative;
}

.mall-tab svg {
    width: 14px;
    height: 14px;
}

.mall-tab:hover {
    color: var(--text-secondary);
}

.mall-tab.active {
    color: var(--text-primary) !important;
    border-bottom-color: var(--primary) !important;
    font-weight: 600 !important;
}

/* Body */
.rewards-modal .modal-body {
    max-height: 560px !important;
    padding: 4px 28px 28px !important;
}

/* 店铺额度卡片 - 精致商务版 */
.shop-limit-card {
    border-radius: 12px !important;
    padding: 20px !important;
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: none !important;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
}

[data-theme="dark"] .shop-limit-card {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
}

[data-theme="light"] .shop-limit-card {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
}

.shop-limit-card::before {
    display: none !important;
}

.shop-limit-card::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary);
}

.shop-limit-header {
    margin-bottom: 16px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.shop-limit-title {
    font-size: 12px !important;
    font-weight: 500 !important;
    opacity: 1 !important;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-tertiary) !important;
}

.shop-limit-badge {
    background: var(--primary) !important;
    backdrop-filter: none;
    padding: 3px 10px !important;
    border-radius: 6px !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    color: white;
}

.shop-limit-count {
    font-size: 32px !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
    letter-spacing: -0.5px;
    color: var(--text-primary) !important;
    text-shadow: none !important;
    line-height: 1.1;
}

.shop-limit-sep {
    font-size: 20px !important;
    opacity: 0.3 !important;
    margin: 0 6px !important;
    font-weight: 300;
    color: var(--text-tertiary) !important;
}

.shop-limit-total {
    font-size: 18px !important;
    opacity: 1 !important;
    font-weight: 500 !important;
    color: var(--text-secondary) !important;
}

.shop-limit-bar {
    height: 6px !important;
    border-radius: 3px !important;
    background: var(--bg-tertiary) !important;
    margin-bottom: 14px !important;
    overflow: hidden;
}

.shop-limit-progress {
    border-radius: 3px !important;
    background: var(--primary) !important;
    box-shadow: none !important;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.shop-limit-footer {
    font-size: 12px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.shop-limit-upgrade {
    background: var(--bg-tertiary) !important;
    backdrop-filter: none;
    padding: 5px 12px;
    border-radius: 6px;
    font-weight: 500 !important;
    font-size: 12px;
    transition: all 0.15s ease !important;
    color: var(--primary) !important;
    cursor: pointer;
}

.shop-limit-upgrade:hover {
    background: var(--primary) !important;
    color: white !important;
    text-decoration: none !important;
}

/* 区块标题 */
.mall-section-title {
    margin: 24px 0 12px !important;
    padding: 0 2px !important;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.mall-section-title span:first-child {
    font-size: 14px !important;
    font-weight: 600 !important;
    padding-left: 0 !important;
    color: var(--text-primary);
    position: relative;
}

.mall-section-sub {
    font-size: 12px !important;
    color: var(--text-tertiary);
    font-weight: 400;
}

/* 商品卡片 - 精致列表版 */
.rewards-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.reward-card {
    border-radius: 12px !important;
    padding: 16px !important;
    margin-bottom: 0 !important;
    border: 1px solid var(--border-color-light) !important;
    background: var(--bg-card) !important;
    transition: all 0.15s ease !important;
    position: relative;
    overflow: hidden;
}

.reward-card:hover {
    transform: none !important;
    box-shadow: none !important;
    border-color: var(--primary) !important;
    background: var(--bg-secondary) !important;
}

.reward-card-top {
    gap: 14px !important;
    margin-bottom: 12px !important;
    display: flex;
    align-items: flex-start;
}

.reward-icon-shop,
.reward-icon-digital,
.reward-icon-default {
    width: 48px !important;
    height: 48px !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.reward-card:hover .reward-icon-shop,
.reward-card:hover .reward-icon-digital,
.reward-card:hover .reward-icon-default {
    transform: none !important;
}

.reward-icon-shop {
    background: var(--primary) !important;
}

.reward-icon-digital {
    background: #f59e0b !important;
}

.reward-icon-num {
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1;
}

.reward-icon-label {
    font-size: 9px !important;
    margin-top: 2px !important;
    font-weight: 500 !important;
    opacity: 0.9;
    line-height: 1;
}

.reward-card-info {
    flex: 1;
    min-width: 0;
}

.reward-card-title {
    font-size: 14px !important;
    font-weight: 600 !important;
    margin-bottom: 4px !important;
    color: var(--text-primary);
}

.reward-card-desc {
    font-size: 12px !important;
    line-height: 1.5 !important;
    margin-bottom: 6px !important;
    color: var(--text-tertiary);
}

.reward-card-meta {
    gap: 6px !important;
    display: flex;
    flex-wrap: wrap;
}

.reward-duration {
    padding: 2px 8px !important;
    border-radius: 4px !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
}

.reward-card-bottom {
    padding-top: 12px !important;
    border-top: 1px solid var(--border-color-light) !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.reward-card-cost {
    font-size: 16px !important;
    font-weight: 700 !important;
    gap: 4px !important;
    background: none !important;
    -webkit-text-fill-color: var(--primary) !important;
    color: var(--primary);
    display: flex;
    align-items: center;
}

.reward-card-cost svg {
    width: 14px !important;
    height: 14px !important;
    color: #f59e0b;
    -webkit-text-fill-color: currentColor !important;
}

.reward-card-btn {
    padding: 7px 18px !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    transition: all 0.15s ease !important;
    border: none;
    cursor: pointer;
}

.reward-card-btn.primary {
    background: var(--primary) !important;
    color: white;
    box-shadow: none;
}

.reward-card-btn.primary:hover {
    transform: none !important;
    background: var(--primary-dark) !important;
    box-shadow: none !important;
    opacity: 0.9;
}

.reward-card-btn.primary:active {
    transform: none !important;
    opacity: 0.8;
}

.reward-card-btn.primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 兑换记录 */
.redeem-records-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.redeem-record-item {
    border-radius: 8px !important;
    padding: 12px 14px !important;
    margin-bottom: 0 !important;
    transition: background 0.15s ease !important;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.redeem-record-item:hover {
    background: var(--bg-secondary) !important;
    border-color: var(--border-color-light);
}

.rewards-tip {
    text-align: center;
    padding: 24px 0 8px;
    color: var(--text-tertiary);
    font-size: 12px;
}

/* ========== 个人中心 V3 - 专业工具风重构 ========== */

.profile-modal {
    z-index: 1000;
}

.profile-card {
    max-width: 440px !important;
    border-radius: 16px !important;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2),
                0 8px 20px rgba(0, 0, 0, 0.08) !important;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
}

/* 去掉渐变顶部条，改用简洁头部 */

.profile-close {
    top: 14px !important;
    right: 14px !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 6px !important;
    background: var(--bg-tertiary) !important;
    backdrop-filter: none;
    color: var(--text-secondary) !important;
    z-index: 10;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
}

.profile-close:hover {
    background: var(--danger) !important;
    color: white !important;
    transform: none !important;
}

.profile-close svg {
    width: 12px;
    height: 12px;
}

/* 用户信息区 - 横向布局 */

.profile-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.profile-avatar {
    width: 60px !important;
    height: 60px !important;
    border-radius: 14px !important;
    font-size: 22px !important;
    border: 2px solid var(--border-color);
    box-shadow: none !important;
    background: var(--primary) !important;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.profile-avatar:hover {
    transform: none !important;
}

.profile-avatar-badge {
    width: 14px !important;
    height: 14px !important;
    border: 2px solid var(--bg-card) !important;
    bottom: 0 !important;
    left: 0 !important;
    border-radius: 50%;
}

.profile-avatar-camera-btn {
    width: 22px !important;
    height: 22px !important;
    bottom: -2px !important;
    right: -2px !important;
    border: 2px solid var(--bg-card) !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15) !important;
    border-radius: 50% !important;
    background: var(--primary) !important;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.profile-avatar-camera-btn:hover {
    background: var(--primary-dark) !important;
}

.profile-avatar-camera-btn svg {
    width: 10px !important;
    height: 10px !important;
}

.profile-user-info {
    flex: 1;
    min-width: 0;
}

.profile-username {
    font-size: 18px !important;
    font-weight: 600 !important;
    justify-content: flex-start !important;
    margin-bottom: 4px !important;
    letter-spacing: -0.2px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
}

.profile-user-tag {
    padding: 2px 8px !important;
    font-size: 10px !important;
    border-radius: 4px !important;
    font-weight: 500 !important;
    background: var(--primary) !important;
    box-shadow: none;
    color: white;
    line-height: 1.4;
}

.profile-user-email {
    font-size: 12px !important;
    margin-bottom: 8px !important;
    color: var(--text-tertiary);
}

.profile-user-meta {
    justify-content: flex-start !important;
    gap: 14px !important;
    font-size: 11px !important;
    flex-wrap: wrap;
}

.profile-user-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    background: none !important;
    border-radius: 0;
    color: var(--text-tertiary);
}

.points-display {
    cursor: pointer;
    color: #f59e0b !important;
    font-weight: 600;
    transition: opacity 0.15s;
}

.points-display:hover {
    transform: none !important;
    opacity: 0.8;
}

.points-display svg {
    width: 11px;
    height: 11px;
}

/* 数据统计区 - 简洁数字网格 */
.profile-stats-section {
    padding: 16px 28px !important;
    background: var(--bg-card) !important;
    border-top: none !important;
    border-bottom: 1px solid var(--border-color-light) !important;
}

.profile-stats {
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 0 !important;
}

.profile-stat-num {
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-bottom: 2px !important;
    letter-spacing: -0.2px;
    color: var(--text-primary);
    line-height: 1.2;
}

.profile-stat-num.primary {
    background: none !important;
    -webkit-text-fill-color: var(--primary) !important;
    color: var(--primary);
}

.profile-stat-label {
    font-size: 11px !important;
    font-weight: 400 !important;
    color: var(--text-tertiary);
}

/* 账户信息区 */
.profile-info-section {
    padding: 20px 28px 4px !important;
}

.profile-section-title {
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    margin-bottom: 8px !important;
    padding-left: 0 !important;
    text-transform: uppercase;
    color: var(--text-tertiary);
    position: relative;
}

.profile-info-list {
    border-radius: 10px !important;
    margin-bottom: 20px !important;
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-color-light);
    overflow: hidden;
}

.profile-info-item {
    padding: 12px 16px !important;
    gap: 12px !important;
    border-bottom: 1px solid var(--border-color-light) !important;
    transition: background 0.15s;
    display: flex;
    align-items: center;
}

.profile-info-item:hover {
    background: var(--bg-tertiary);
}

.profile-info-item:last-child {
    border-bottom: none !important;
}

.profile-info-icon {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    background: var(--bg-card) !important;
    color: var(--text-secondary) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--border-color-light);
}

.profile-info-icon svg {
    width: 14px;
    height: 14px;
}

.profile-info-content {
    flex: 1;
    min-width: 0;
}

.profile-info-label {
    font-size: 11px !important;
    margin-bottom: 2px !important;
    color: var(--text-tertiary);
}

.profile-info-value {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: var(--text-primary);
}

/* 底部操作区 */

.profile-action-btn.danger:hover {
    box-shadow: none !important;
    background: var(--danger) !important;
    border-color: var(--danger) !important;
    color: white !important;
}

/* ========== 通用按钮优化 ========== */

.btn {
    border-radius: 8px !important;
    font-weight: 500 !important;
    transition: all 0.15s ease !important;
}

.btn-primary {
    background: var(--primary) !important;
    border: none !important;
    box-shadow: none !important;
}

.btn-primary:hover {
    background: var(--primary-dark) !important;
    transform: none !important;
    box-shadow: none !important;
    opacity: 0.9;
}

/* ========== 深色模式适配 ========== */

[data-theme="dark"] .reward-card {
    background: var(--bg-card) !important;
}

[data-theme="dark"] .profile-info-list {
    background: var(--bg-secondary) !important;
}

[data-theme="dark"] .profile-stats-section {
    background: var(--bg-card);
}

/* ========== 个人中心 V4 - 宽屏高端版 ========== */

.profile-card-wide {
    max-width: 880px !important;
    border-radius: 20px !important;
}

/* 顶部渐变横幅 */
.profile-card-wide .profile-header {
    padding: 32px 36px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(59, 130, 246, 0.05) 100%);
    border-bottom: 1px solid var(--border-color-light);
}

.profile-card-wide .profile-avatar {
    width: 72px !important;
    height: 72px !important;
    border-radius: 18px !important;
    font-size: 28px !important;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.25) !important;
}

.profile-card-wide .profile-avatar-badge {
    width: 18px !important;
    height: 18px !important;
    bottom: 2px !important;
    left: 2px !important;
    border-width: 3px !important;
}

.profile-card-wide .profile-username {
    font-size: 22px !important;
    font-weight: 700 !important;
}

.profile-card-wide .profile-user-tag {
    padding: 3px 10px !important;
    font-size: 11px !important;
    border-radius: 6px !important;
    background: linear-gradient(135deg, #f59e0b, #f97316) !important;
}

.profile-card-wide .profile-user-email {
    font-size: 13px !important;
    margin-bottom: 10px !important;
}

.profile-card-wide .profile-user-meta {
    gap: 18px !important;
}

.profile-card-wide .profile-user-meta span {
    font-size: 12px !important;
}

/* 统计卡片区 */
.profile-card-wide .profile-stats-section {
    padding: 20px 36px !important;
    border-bottom: 1px solid var(--border-color-light) !important;
}

.profile-card-wide .profile-stats {
    display: flex !important;
    gap: 12px !important;
    grid-template-columns: none !important;
}

.profile-card-wide .profile-stat-card {
    flex: 1;
    padding: 16px 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color-light);
    border-radius: 12px;
    text-align: center;
    transition: all 0.2s;
}

.profile-card-wide .profile-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.profile-card-wide .profile-stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.profile-card-wide .profile-stat-icon.green { background: rgba(34, 197, 94, 0.1); color: #22c55e; }
.profile-card-wide .profile-stat-icon.purple { background: rgba(96, 165, 250, 0.1); color: #60a5fa; }
.profile-card-wide .profile-stat-icon.orange { background: rgba(249, 115, 22, 0.1); color: #f97316; }
.profile-card-wide .profile-stat-icon.gold { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }

.profile-card-wide .profile-stat-num {
    font-size: 22px !important;
    font-weight: 700 !important;
    margin-bottom: 4px !important;
    color: var(--text-primary);
}

.profile-card-wide .profile-stat-num.points-num {
    color: #f59e0b !important;
}

.profile-card-wide .profile-stat-label {
    font-size: 12px !important;
    color: var(--text-tertiary);
}

/* 隐藏旧的纯数字stat样式分隔线 */
.profile-card-wide .profile-stat::after {
    display: none !important;
}

/* VIP标签 */
.profile-vip-tag {
    display: inline-flex !important;
    align-items: center;
    gap: 3px;
    padding: 3px 10px !important;
    font-size: 11px !important;
    font-weight: 600;
    border-radius: 6px !important;
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    color: #fff !important;
    margin-left: 6px;
}

/* 会员专区 */
.profile-member-section {
    padding: 20px 36px;
    border-bottom: 1px solid var(--border-color-light);
}

.member-vip-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 14px;
    margin-bottom: 14px;
    position: relative;
    overflow: hidden;
}

.member-vip-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.member-vip-left {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    z-index: 1;
}

.member-vip-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.member-vip-info {
    color: #fff;
}

.member-vip-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    background: linear-gradient(90deg, #fcd34d, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.member-vip-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.member-vip-btn {
    padding: 8px 18px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    z-index: 1;
}

.member-vip-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.member-vip-btn:active {
    transform: translateY(0);
}

.member-level-card {
    padding: 16px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color-light);
    border-radius: 12px;
}

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

.member-level-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.member-level-icon {
    font-size: 18px;
}

.member-level-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.member-level-discount {
    font-size: 12px;
    color: #f59e0b;
    font-weight: 600;
    background: rgba(245, 158, 11, 0.1);
    padding: 3px 8px;
    border-radius: 6px;
}

.member-level-progress {
    width: 100%;
}

.member-level-bar {
    width: 100%;
    height: 6px;
    background: var(--border-color-light);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 6px;
}

.member-level-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, #f97316);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.member-level-progress-text {
    font-size: 11px;
    color: var(--text-tertiary);
    text-align: right;
}

/* VIP激活弹窗提示 */
/* ========== VIP卡密激活弹窗 ========== */
.vip-activate-card {
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.25) !important;
}
.vip-activate-header {
    position: relative;
    padding: 28px 24px 20px;
    text-align: center;
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.12) 0%, rgba(212, 175, 55, 0.03) 100%);
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}
.vip-activate-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #D4AF37, #F4D03F, #D4AF37, transparent);
}
.vip-activate-crown {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D4AF37, #F4D03F);
    color: #fff;
    margin-bottom: 10px;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.35);
}
.vip-activate-title {
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, #F4D03F, #D4AF37, #B8960C);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin-bottom: 4px;
}
.vip-activate-subtitle {
    font-size: 12px;
    color: var(--text-tertiary);
}
.vip-activate-close {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    color: var(--text-tertiary) !important;
}
.vip-activate-body {
    padding: 20px 24px 24px;
}
.vip-activate-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
    margin-bottom: 18px;
    padding: 12px 14px;
    background: var(--bg-secondary);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}
.vip-benefit-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-secondary);
}
.vip-benefit-item svg {
    color: #D4AF37;
    flex-shrink: 0;
}
.vip-card-input {
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.vip-activate-btn {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    background: linear-gradient(135deg, #D4AF37 0%, #F4D03F 50%, #D4AF37 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    margin-top: 4px;
}
.vip-activate-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.4);
}
.vip-activate-btn:active {
    transform: translateY(0);
}
.vip-activate-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* 左右两栏内容区 */
.profile-card-wide .profile-content-row {
    display: flex;
    gap: 24px;
    padding: 24px 36px 28px;
}

.profile-card-wide .profile-info-section {
    flex: 1;
    padding: 0 !important;
}

.profile-card-wide .profile-section-title {
    font-size: 13px !important;
    font-weight: 600 !important;
    margin-bottom: 12px !important;
    color: var(--text-secondary);
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.profile-card-wide .profile-info-list {
    border-radius: 12px !important;
    margin-bottom: 0 !important;
}

.profile-card-wide .profile-info-item {
    padding: 14px 16px !important;
}

/* 推广卡片 */
.profile-card-wide .profile-promo-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profile-card-wide .profile-promo-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color-light);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.profile-card-wide .profile-promo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.profile-card-wide .profile-promo-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.profile-card-wide .profile-promo-info {
    flex: 1;
    min-width: 0;
}

.profile-card-wide .profile-promo-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.profile-card-wide .profile-promo-desc {
    font-size: 12px;
    color: var(--text-tertiary);
    line-height: 1.4;
}

.profile-card-wide .profile-promo-arrow {
    color: var(--text-tertiary);
    flex-shrink: 0;
}

/* 深色模式适配 */
[data-theme="dark"] .profile-card-wide .profile-header {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.1) 100%);
}

[data-theme="dark"] .profile-card-wide .profile-stat-card {
    background: var(--bg-secondary);
}

[data-theme="dark"] .profile-card-wide .profile-promo-card {
    background: var(--bg-secondary);
}

/* 响应式：窄屏时单列 */
@media (max-width: 700px) {
    .profile-card-wide .profile-content-row {