/* ==========================================
   个人中心样式
   ========================================== */

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    background-attachment: fixed;
    padding-top: 0 !important;
    padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px) + 10px) !important;
    min-height: 100vh;
    opacity: 0;
    animation: pageFadeIn 0.6s ease-out forwards;
    position: static !important; /* 改为 static，避免影响 fixed 定位 */
    overflow-x: hidden;
    /* 确保不会创建新的包含块，影响 fixed 定位 */
    transform: none !important;
    perspective: none !important;
    will-change: auto !important;
}

@keyframes pageFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}


/* 个人信息头部 */
.profile-header {
    position: relative;
    height: 200px;
    margin-bottom: 0;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 30px;
    z-index: 100;
}

.header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    overflow: hidden;
}

.header-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes shimmer {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

.user-info {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 18px;
    background: #ffffff;
    padding: 18px 35px;
    border-radius: 60px;
    box-shadow: 
        0 8px 32px rgba(102, 126, 234, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    border: 1px solid rgba(255, 255, 255, 0.3);
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
    animation: userInfoSlideIn 0.8s ease-out 0.3s forwards;
    will-change: transform, opacity;
}

@keyframes userInfoSlideIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.9);
    box-shadow: 
        0 8px 24px rgba(102, 126, 234, 0.4),
        0 0 0 3px rgba(102, 126, 234, 0.1);
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
    will-change: transform;
}

.avatar:hover {
    transform: scale(1.05);
    box-shadow: 
        0 12px 32px rgba(102, 126, 234, 0.5),
        0 0 0 4px rgba(102, 126, 234, 0.2);
}

.avatar::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: avatarShine 3s infinite;
}

@keyframes avatarShine {
    0% {
        transform: rotate(45deg) translateX(-100%);
    }
    50% {
        transform: rotate(45deg) translateX(100%);
    }
    100% {
        transform: rotate(45deg) translateX(-100%);
    }
}

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

.user-detail {
    text-align: center;
}

.username {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(102, 126, 234, 0.2);
}

.user-level,
.user-info .user-level,
.user-detail .user-level,
#userLevel {
    display: inline-block !important;
    padding: 4px 10px !important;
    text-align: center !important;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FFD700 100%) !important;
    background-size: 200% 200% !important;
    animation: goldShimmer 3s ease infinite !important;
    color: #8B4513 !important;
    border-radius: 20px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    box-shadow: 
        0 0 10px rgba(255, 215, 0, 0.6),
        0 2px 8px rgba(255, 215, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
    border: 1px solid rgba(255, 215, 0, 0.7) !important;
    letter-spacing: 0.3px !important;
    position: relative !important;
    overflow: visible !important;
    backdrop-filter: none !important;
    text-shadow: 
        0 0 4px rgba(255, 215, 0, 0.7),
        0 1px 2px rgba(0, 0, 0, 0.2) !important;
    z-index: 100 !important;
    -webkit-font-smoothing: antialiased !important;
    filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.5)) !important;
}

/* 金色闪烁动画 */
@keyframes goldShimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.user-level::before,
.user-info .user-level::before,
.user-detail .user-level::before,
#userLevel::before {
    content: '' !important;
    position: absolute !important;
    top: -3px !important;
    left: -3px !important;
    right: -3px !important;
    bottom: -3px !important;
    background: linear-gradient(135deg, #FFD700, #FFA500, #FFD700, #FFA500) !important;
    background-size: 400% 400% !important;
    border-radius: 23px !important;
    z-index: -1 !important;
    animation: goldShimmer 3s ease infinite !important;
    opacity: 0.9 !important;
    filter: blur(6px) !important;
}

.user-level:hover {
    transform: scale(1.05);
    box-shadow: 
        0 0 30px rgba(255, 215, 0, 1),
        0 0 60px rgba(255, 215, 0, 0.6),
        0 6px 16px rgba(255, 215, 0, 0.7),
        0 2px 4px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    filter: drop-shadow(0 0 12px rgba(255, 215, 0, 1)) drop-shadow(0 0 24px rgba(255, 215, 0, 0.6));
    z-index: 101 !important;
}

/* 语言切换（左上角） */
.language-selector {
    position: absolute;
    top: 20px;
    left: 20px;
    min-width: 44px;
    height: 44px;
    padding: 0 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.language-selector:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.language-selector:active {
    transform: scale(0.95);
}

.language-selector .lang-icon-img {
    width: 28px;
    height: 28px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.language-selector .lang-icon-svg {
    width: 22px;
    height: 22px;
    color: #fff;
    flex-shrink: 0;
}

.language-selector #currentLangText {
    font-size: 11px;
    color: #fff;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 60px;
}

/* 语言选择弹窗样式 */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999999 !important; /* 高于导航栏 (999999) */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 语言弹窗遮罩层 - 商业华丽风格 */
.popup-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.85) 0%, rgba(118, 75, 162, 0.85) 100%);
    z-index: 9999998 !important; /* 略低于弹窗容器 */
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.popup-content {
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.98) 100%);
    border-radius: 24px;
    width: 90%;
    max-width: 420px;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 
        0 25px 80px rgba(102, 126, 234, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.6) inset,
        0 0 60px rgba(118, 75, 162, 0.2);
    animation: popupSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 9999999 !important; /* 确保内容在遮罩之上 */
}

.popup-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 24px 24px 0 0;
    pointer-events: none;
    z-index: 0;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9) rotateY(5deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1) rotateY(0deg);
    }
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    position: relative;
    z-index: 10 !important; /* 确保头部在背景之上 */
}

.popup-header h3 {
    margin: 0;
    font-size: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(102, 126, 234, 0.2);
}

.close-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.1) 0%, rgba(244, 67, 54, 0.15) 100%);
    border-radius: 50%;
    font-size: 22px;
    color: #f44336;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.15);
    position: relative;
    z-index: 1;
}

.close-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(244, 67, 54, 0.2);
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.close-btn:hover::before {
    width: 100%;
    height: 100%;
}

.close-btn:hover {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.2) 0%, rgba(244, 67, 54, 0.25) 100%);
    color: #d32f2f;
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 6px 20px rgba(244, 67, 54, 0.3);
}

.close-btn:active {
    transform: scale(0.95) rotate(90deg);
}

.lang-list {
    padding: 16px 20px 24px;
    max-height: 400px;
    overflow-y: auto;
    position: relative;
    z-index: 10 !important; /* 确保列表在背景之上 */
}

/* 自定义滚动条 */
.lang-list::-webkit-scrollbar {
    width: 6px;
}

.lang-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 3px;
}

.lang-list::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 3px;
}

.lang-list::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5568d3 0%, #6a4091 100%);
}

.lang-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 20px;
    margin: 8px 0;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    z-index: 1; /* 确保项目在列表之上 */
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.08);
    pointer-events: auto;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    overflow: hidden;
}

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

.lang-item:hover::before {
    left: 100%;
}

.lang-item:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.2);
}

.lang-item:active {
    transform: translateX(4px) scale(0.98);
}

.lang-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.lang-item:hover img {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.4);
}

.lang-item span {
    font-size: 17px;
    color: #333;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    position: relative;
}

.lang-item:hover span {
    color: #667eea;
    transform: translateX(4px);
}

/* 当前选中的语言项样式 */
.lang-item.active {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.25);
}

.lang-item.active span {
    color: #667eea;
    font-weight: 700;
}

.lang-item.active::after {
    content: '✓';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    animation: checkMarkAppear 0.3s ease-out;
}

@keyframes checkMarkAppear {
    from {
        opacity: 0;
        transform: translateY(-50%) scale(0);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}

/* 消息提示（右上角） */
.message-notification {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex !important; /* 强制显示 */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s;
    z-index: 1000;
    opacity: 1;
    visibility: visible;
}

.message-notification:active {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 1);
}

.message-notification svg {
    color: #667eea;
    width: 24px;
    height: 24px;
}

.message-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background: #ff4757;
    color: #fff;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

/* SVG图标内的消息数量 */
#messageIcon #messageCountText {
    display: block;
    font-family: Arial, sans-serif;
}

#messageIcon #messageCountText[tspan] {
    dominant-baseline: hanging;
    text-anchor: end;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.message-badge.hidden {
    display: none !important;
}

/* 资产卡片样式优化 */
.asset-card {
    display: flex;
    background: rgba(255, 255, 255, 0.95);
    margin: 0;
    padding: 12px 16px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
    pointer-events: auto;
    overflow: hidden;
    flex: 1;
    min-width: 0; /* 允许收缩 */
    backdrop-filter: blur(10px);
    transition: all 0.2s ease;
}

/* 在头部内的资产卡片样式 - 融入深色背景 */
.amz-profile-header .asset-card {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset,
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: block;
}

.amz-profile-header .asset-card:hover {
    background: rgba(255, 255, 255, 0.16) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.12) inset,
        inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-1px);
}

/* 资产卡片内的用户信息区域 */
.amz-profile-header .asset-layout { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; align-items: center; }
.amz-profile-header .asset-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.amz-profile-header .asset-name { display: flex; flex-direction: column; gap: 4px; min-width: 0; }

.amz-profile-header .asset-left .avatar {
    width: 40px !important;
    height: 40px !important;
    border: 2px solid rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2) !important;
}

.amz-profile-header .asset-name .username {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 140px !important;
    transition: opacity 0.2s ease-in-out;
}

.amz-profile-header .asset-name .username.loading {
    min-height: 0;
    height: 0;
    opacity: 0;
    overflow: hidden;
}

.amz-profile-header .asset-name .username.loading .loading-placeholder {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 0.3;
    }
}

.amz-profile-header .asset-name .user-level {
    font-size: 10px !important;
    padding: 2px 8px !important;
    /* 进一步降低发光，提升可读性 */
    box-shadow: 0 0 4px rgba(255, 215, 0, 0.28), 0 0 0 1px rgba(255, 215, 0, 0.35) inset !important;
    text-shadow: none !important;
    transition: opacity 0.2s ease-in-out;
}

.asset-card::before {
    display: none; /* 移除顶部装饰条 */
}

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

.asset-item {
    flex: 1;
    text-align: center;
    cursor: pointer;
    padding: 8px 6px;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
    overflow: visible;
}

.asset-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #f7f7f7;
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.asset-item:hover::before {
    opacity: 1;
}

.asset-item:hover {
    transform: none;
}

.asset-item:active {
    transform: scale(0.98);
    background: #f0f0f0;
}

/* 头部内资产项优化 - 适配深色背景 */
.amz-profile-header .asset-right { display: grid; row-gap: 8px; }
.amz-profile-header .asset-mini { display: block; text-decoration: none; border-radius: 10px; padding: 8px 10px; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.2); box-shadow: 0 1px 4px rgba(0,0,0,0.2) inset; transition: background .2s, transform .2s, box-shadow .2s; }
.amz-profile-header .asset-mini.secondary { background: rgba(255,255,255,0.1); }
.amz-profile-header .asset-mini .mini-label { font-size: 10px; color: rgba(255,255,255,0.75); line-height: 1; }
.amz-profile-header .asset-mini .mini-value { font-size: 14px; font-weight: 800; color: #fff; margin-top: 2px; line-height: 1.2; text-align: right; }
.amz-profile-header .asset-mini:hover { background: rgba(255,255,255,0.18); transform: translateY(-1px); box-shadow: 0 2px 6px rgba(0,0,0,.25) inset; }

/* 迷你数值加载骨架 */
.mini-value.loading { position: relative; color: transparent !important; min-height: 16px; }
.mini-value.loading::before {
    content: '';
    display: block;
    width: 90px;
    height: 16px;
    border-radius: 6px;
    background: linear-gradient(90deg, rgba(255,255,255,0.25), rgba(255,255,255,0.5), rgba(255,255,255,0.25));
    background-size: 200% 100%;
    animation: miniSkeleton 1.1s ease-in-out infinite;
}

@keyframes miniSkeleton {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.amz-profile-header .asset-item:hover::before {
    background: rgba(255, 255, 255, 0.12);
}

.asset-label {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 6px;
    font-weight: 400;
    letter-spacing: 0;
    transition: color 0.2s ease;
    position: relative;
    display: block;
}

.asset-item:hover .asset-label {
    color: #232F3E;
}

/* 头部内标签悬停效果 */
.amz-profile-header .asset-item:hover .asset-label {
    color: rgba(255, 255, 255, 0.9) !important;
}

.asset-label::before,
.asset-label::after {
    display: none; /* 移除装饰点 */
}

.asset-value {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    letter-spacing: -0.5px;
    transition: color 0.2s ease;
    position: relative;
    display: block;
    line-height: 1.3;
    font-variant-numeric: tabular-nums;
    -moz-font-feature-settings: "tnum" 1, "lnum" 1;
    -ms-font-feature-settings: "tnum" 1, "lnum" 1;
    -o-font-feature-settings: "tnum" 1, "lnum" 1;
    font-feature-settings: "tnum" 1, "lnum" 1;
}

/* 在头部内的资产数值样式 - 适配深色背景 */
.amz-profile-header .asset-value {
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
}

.amz-profile-header .asset-label {
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 11px !important;
    margin-bottom: 4px !important;
    font-weight: 400 !important;
}

.asset-value::before {
    display: none; /* 移除模糊背景效果 */
}

.asset-item:hover .asset-value {
    transform: none;
    filter: none;
    color: #232F3E;
}

.asset-value.animate {
    animation: none; /* 移除数字脉冲动画，保持简洁 */
}

.asset-divider {
    width: 1px;
    background: #d5d9d9;
    margin: 0 12px;
    position: relative;
    border-radius: 0;
    box-shadow: none;
    transition: none;
}

/* 在头部内的分隔线样式 - 适配深色背景 */
.amz-profile-header .asset-divider {
    background: rgba(255, 255, 255, 0.2) !important;
    margin: 0 10px;
}

.asset-divider::before,
.asset-divider::after {
    display: none; /* 移除装饰动画 */
}

/* 冻结金额数值特殊样式 */
.asset-value.frozen-balance-value,
#frozenBalance {
    color: #0066c0 !important; /* 主题蓝色 */
}

.asset-item:hover #frozenBalance {
    color: #005aa3 !important;
    filter: none !important;
}

/* 头部内冻结金额数值 - 适配深色背景 */
.amz-profile-header #frozenBalance {
    color: #FFD814 !important; /* 主题黄色，在深色背景下更醒目 */
    font-size: 18px !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4), 0 0 8px rgba(255, 216, 20, 0.3) !important;
}

/* 移除货币符号装饰 */
.asset-value::after {
    display: none;
}

/* 财务详情卡片 */
.financial-card {
    margin: 12px;
    background: #ffffff;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        0 4px 20px rgba(102, 126, 234, 0.25),
        0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: cardSlideIn 0.6s ease-out 0.4s forwards;
    will-change: transform, opacity;
    box-sizing: border-box;
    overflow: hidden;
    width: calc(100% - 24px);
    max-width: 100%;
}

.financial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    opacity: 0.9;
}

/* 佣金统计卡片 */
.commission-card {
    margin: 0;
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.commission-card > div[style*="grid"] {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    box-sizing: border-box !important;
}

.commission-card > div[style*="grid"] > div {
    box-sizing: border-box !important;
    min-width: 0 !important;
    overflow: hidden !important;
}

.commission-card > div[style*="grid"] > div > div:last-child {
    word-break: break-all !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
}

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

.financial-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
}

.view-details-link {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-details-link:hover {
    color: #764ba2;
    transform: translateX(2px);
}

.view-details-link svg {
    transition: transform 0.3s ease;
}

.view-details-link:hover svg {
    transform: translateX(2px);
}

.financial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 15px;
}

.financial-item {
    padding: 16px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 16px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.financial-item:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.financial-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.financial-value {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    will-change: transform;
}

.financial-value.animate,
.rate-value.animate {
    animation: numberPulse 0.5s ease-out;
}

.financial-value.success {
    background: linear-gradient(135deg, #2ecc71 0%, #00b894 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.financial-value.warning {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.financial-footer {
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}

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

.financial-footer:hover::before {
    left: 100%;
}

.footer-text {
    font-size: 13px;
    font-weight: 500;
}

.rate-value {
    font-weight: 700;
    font-size: 16px;
    margin-left: 4px;
}

.invest-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.invest-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.invest-link svg {
    transition: transform 0.3s ease;
}

.invest-link:hover svg {
    transform: translateX(2px);
}

/* 信息卡片通用样式 */
.info-card, .vip-progress-card, .verification-card {
    margin: 12px;
    background: #ffffff;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        0 4px 20px rgba(102, 126, 234, 0.25),
        0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: cardSlideIn 0.6s ease-out forwards;
    will-change: transform, opacity;
}

.info-card::before,
.vip-progress-card::before,
.verification-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    opacity: 0.9;
}

.info-card {
    animation-delay: 0.5s;
}

.vip-progress-card {
    animation-delay: 0.6s;
}

.verification-card {
    animation-delay: 0.7s;
}

.card-title {
    margin: 0 0 18px 0;
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 0;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 14px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.info-row:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.info-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.info-value {
    font-size: 14px;
    color: #333;
    font-weight: 600;
}

.info-value.code {
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
}

.info-value-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.copy-btn {
    padding: 6px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

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

/* VIP进度卡片 */
.vip-progress-card {
    margin: 15px;
}

.progress-item {
    margin-bottom: 20px;
}

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

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

.progress-label {
    font-size: 14px;
    color: #666;
    font-weight: 600;
}

.progress-count {
    font-size: 12px;
    color: #999;
    font-weight: 500;
}

.progress-bar-wrapper {
    height: 10px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    width: 0%;
    will-change: width;
}

.progress-bar-fill.vip2 {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

.progress-bar-fill.vip3 {
    background: linear-gradient(90deg, #2ecc71 0%, #00b894 100%);
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.5);
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progressShine 2s infinite;
}

@keyframes progressShine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* 认证状态卡片 */
.verification-card {
    margin: 15px;
}

.verification-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
    margin-bottom: 0;
}

.verification-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 16px;
    text-decoration: none;
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

.verification-item:hover::before {
    left: 100%;
}

.verification-item:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateX(6px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.2);
}

.verification-item:active {
    transform: translateX(3px) scale(0.98);
}

.verification-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.verification-left svg {
    flex-shrink: 0;
}

.verification-left span {
    font-size: 15px;
    color: #333;
    font-weight: 600;
}

.verification-status {
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.15) 0%, rgba(238, 90, 111, 0.15) 100%);
    color: #ff6b6b;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

/* 快捷菜单 */
.quick-menu {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 25px 15px;
    background: #ffffff;
    margin: 0 15px 20px;
    border-radius: 20px;
    box-shadow: 
        0 12px 40px rgba(102, 126, 234, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    border: 1px solid rgba(255, 255, 255, 0.3);
    opacity: 0;
    transform: translateY(30px);
    animation: cardSlideIn 0.6s ease-out 0.8s forwards;
    will-change: transform, opacity;
}

.menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 15px 8px;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.menu-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
}

.menu-item:hover::before {
    width: 120px;
    height: 120px;
}

.menu-item:hover {
    transform: translateY(-4px);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
}

.menu-item:active {
    transform: translateY(-2px) scale(0.96);
}

.menu-item img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(102, 126, 234, 0.2));
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.menu-item:hover img {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 6px 12px rgba(102, 126, 234, 0.3));
}

.menu-item svg {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    filter: drop-shadow(0 4px 8px rgba(102, 126, 234, 0.2));
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.menu-item:hover svg {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 6px 12px rgba(102, 126, 234, 0.3));
}

.menu-item span {
    font-size: 13px;
    color: #333;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.menu-item:hover span {
    color: #667eea;
    transform: scale(1.05);
}

/* 功能区块 */
.function-section {
    margin: 0 15px 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: cardSlideIn 0.6s ease-out forwards;
    will-change: transform, opacity;
}

.function-section:nth-of-type(1) {
    animation-delay: 0.9s;
}

.function-section:nth-of-type(2) {
    animation-delay: 1.0s;
}

.function-section:nth-of-type(3) {
    animation-delay: 1.1s;
}

.section-title {
    padding: 0 8px 12px;
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
}

.function-list {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 12px 40px rgba(102, 126, 234, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.function-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(102, 126, 234, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    will-change: transform, background;
}

.function-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.05), transparent);
    transition: left 0.5s ease;
}

.function-item:hover::before {
    left: 100%;
}

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

/* 可展开功能项样式 */
.function-item.expandable {
    cursor: pointer;
}

.function-item.expandable.expanded .expand-arrow {
    transform: rotate(90deg);
}

.function-item.expandable.expanded {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.12) 0%, rgba(118, 75, 162, 0.12) 100%);
}

/* 消息列表容器 */
.message-list-container {
    background: #f8f9fa;
    border-top: 1px solid rgba(102, 126, 234, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.message-list-container.expanded {
    max-height: 500px;
    padding: 12px 20px;
    overflow-y: auto;
}

.message-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-left: 3px solid #667eea;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.message-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.message-item.unread {
    border-left-color: #ff4757;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 71, 87, 0.03) 100%);
}

.message-item.system-notice {
    border-left-color: #667eea;
    background: linear-gradient(135deg, #ffffff 0%, rgba(102, 126, 234, 0.05) 100%);
}

.message-item.system-notice:hover {
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.notice-badge {
    display: inline-block;
    background: #667eea;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
    font-weight: 600;
    vertical-align: middle;
    line-height: 1.4;
}

.unread-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #ff4757;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

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

.message-item {
    cursor: pointer;
    user-select: none;
}

.message-item:active {
    transform: translateX(4px) scale(0.98);
    transition: transform 0.1s ease;
}

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

.message-title {
    font-size: 15px;
    font-weight: 600;
    color: #232F3E;
    margin: 0;
}

.message-time {
    font-size: 12px;
    color: #999;
    white-space: nowrap;
}

.message-content {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    word-break: break-word;
}

.message-empty {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 14px;
}

.message-loading {
    text-align: center;
    padding: 20px;
    color: #999;
    font-size: 14px;
}

.message-count {
    display: inline-block;
    margin-left: 8px;
    background: #ff4757;
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
    min-width: 18px;
    text-align: center;
    line-height: 1.4;
}

.function-item:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    transform: translateX(6px);
    border-left: 3px solid transparent;
    border-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%) 1;
}

.function-item:active {
    transform: translateX(3px) scale(0.98);
}

.item-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.item-left img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.function-item:hover .item-left img {
    transform: scale(1.1) rotate(5deg);
}

.item-left svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.function-item:hover .item-left svg {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 2px 4px rgba(102, 126, 234, 0.3));
}

.item-left span {
    font-size: 15px;
    color: #333;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.function-item:hover .item-left span {
    color: #667eea;
}

.function-item .arrow {
    width: 18px;
    height: 18px;
    opacity: 0.4;
    object-fit: contain;
    flex-shrink: 0;
    transition: all 0.3s ease;
    color: #667eea;
}

.function-item:hover .arrow {
    opacity: 1;
    transform: translateX(4px);
    color: #764ba2;
}

.function-item .arrow svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* 退出登录 */
.logout-section {
    padding: 20px 15px calc(70px + env(safe-area-inset-bottom, 0px)) 15px;
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(30px);
    animation: cardSlideIn 0.6s ease-out 1.2s forwards;
    will-change: transform, opacity;
}

.logout-btn {
    width: 100%;
    height: 56px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 50%, #ff4757 100%);
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 24px rgba(255, 107, 107, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    border: 1px solid rgba(255, 255, 255, 0.2);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

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

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

.logout-btn:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 12px 32px rgba(255, 107, 107, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.3) inset;
}

.logout-btn:active {
    transform: translateY(-1px);
    box-shadow: 
        0 6px 20px rgba(255, 107, 107, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

/* 响应式优化 */
@media (max-width: 414px) {
    .asset-card {
        margin: -50px 12px 15px;
        padding: 20px;
    }
    
    .financial-card,
    .info-card,
    .vip-progress-card,
    .verification-card {
        margin: 12px;
        padding: 16px;
    }
    
    .quick-menu {
        margin: 0 12px 15px;
        padding: 20px 12px;
        gap: 12px;
    }
    
    .menu-item img,
    .menu-item svg {
        width: 48px;
        height: 48px;
    }
    
    .function-section {
        margin: 0 12px 15px;
    }
    
    .user-info {
        padding: 15px 28px;
    }
    
    .avatar {
        width: 70px;
        height: 70px;
    }
    
    .username {
        font-size: 18px;
    }
}

@media (max-width: 375px) {
    .asset-value {
        font-size: 22px;
    }
    
    .financial-value {
        font-size: 20px;
    }
    
    .menu-item span {
        font-size: 12px;
    }
    
    .card-title {
        font-size: 16px;
    }
    
    .asset-label,
    .financial-label {
        font-size: 12px;
    }
}

/* 减少动画（无障碍支持） */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 确保导航栏固定在底部 - 移动/平板生效，桌面端由 desktop.css 统一控制 */
@media (max-width: 1023px) {
.tabbar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 60px !important;
    min-height: 60px !important;
    z-index: 99999 !important;
    margin: 0 !important;
    padding-top: 8px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: env(safe-area-inset-bottom, 0) !important;
    /* 使用 translate3d 而不是 translateZ，确保在独立的合成层 */
    -webkit-transform: translate3d(0, 0, 0) !important;
    transform: translate3d(0, 0, 0) !important;
    display: flex !important;
    /* 确保在独立的层，不受父元素影响 */
    -webkit-backface-visibility: hidden !important;
    backface-visibility: hidden !important;
    isolation: isolate !important; /* 创建新的堆叠上下文 */
}
}


/* ====== 首页"今日数据"模块样式（与 grab.html 保持一致） ====== */
.stats-section {
	margin: 14px;
	background: #fff;
	border-radius: 14px;
	padding: 12px;
	box-shadow: 0 3px 12px rgba(0,0,0,0.06);
	border: 1px solid #e9ecef;
}

/* 统计卡片样式（与 grab.html 一致） */
.stats-card {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-radius: 16px;
	padding: 25px 20px;
	margin: 15px;
	margin-bottom: 15px;
	box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
	color: #fff;
}

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

.stats-card .stats-title {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	color: #fff;
}

.vip-badge {
	background: rgba(255, 255, 255, 0.2);
	padding: 5px 15px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 600;
	color: #fff;
}

.stats-title {
	margin: 0 0 12px 0;
	font-weight: 700;
	font-size: 16px;
	color: var(--amz-navy, #232F3E);
}
.stats-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;
}

/* 移动端自适应：屏幕较小时显示2行 */
@media (max-width: 480px) {
	.stats-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 360px) {
	.stats-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
.stat-item {
	text-align: center;
	background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
	border: 1px solid #edf1f5;
	border-radius: 12px;
	padding: 15px 10px;
	position: relative;
	transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease;
}

/* stats-card 内的 stat-item 样式（与 grab.html 一致） */
.stats-card .stat-item {
	background: rgba(255, 255, 255, 0.15);
	border: none;
	border-radius: 12px;
	padding: 15px 10px;
}

/* stats-card 内隐藏 stat-item 的 ::before 伪元素 */
.stats-card .stat-item::before {
	display: none;
}

/* stats-card 内系统任务项样式 */
.stats-card .stat-item:nth-child(4) {
	background: rgba(255, 255, 255, 0.15);
	border: none;
}

.stats-card .stat-item:nth-child(4) .stat-value {
	color: #fff;
}

.stat-item::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	border-radius: 12px 12px 0 0;
	background: linear-gradient(90deg, #FFB74D, #FF8A65);
	opacity: .85;
}

/* 系统任务项特殊样式 */
.stat-item:nth-child(4)::before {
	background: linear-gradient(90deg, #667eea, #764ba2);
	opacity: 1;
}

.stat-item:nth-child(4) {
	background: linear-gradient(180deg, #ffffff 0%, #f0f4ff 100%);
	border-color: #e0e7ff;
}

.stat-item:nth-child(4):hover {
	border-color: #667eea;
	box-shadow: 0 8px 20px rgba(102, 126, 234, 0.15);
}

.stat-item:nth-child(4) .stat-value {
	color: #667eea;
}

/* 系统任务"新"标识样式 */
.stat-value .new-badge {
	display: inline-block;
	background: #10b981 !important;
	color: #ffffff !important;
	font-size: 12px;
	font-weight: 700;
	padding: 2px 6px;
	border-radius: 4px;
	margin-right: 6px;
	vertical-align: middle;
	line-height: 1.4;
	animation: pulse-green 2s ease infinite;
	box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
}

@keyframes pulse-green {
	0%, 100% {
		opacity: 1;
		transform: scale(1);
	}
	50% {
		opacity: 0.9;
		transform: scale(1.05);
	}
}

.stat-value .stat-value-text {
	display: inline-block;
}
.stat-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0,0,0,0.06);
	border-color: #e3e7ed;
}
.stat-value {
	font-size: 20px;
	font-weight: bold;
	letter-spacing: 0.2px;
	color: #111;
}

/* stats-card 内的 stat-value 样式（与 grab.html 一致） */
.stats-card .stat-value {
	color: #fff;
	font-size: 20px;
	font-weight: bold;
}

.stat-label {
	font-size: 12px;
	opacity: 0.9;
	margin-bottom: 8px;
	margin-top: 0;
	color: #6b7280;
}

/* stats-card 内的 stat-label 样式（与 grab.html 一致） */
.stats-card .stat-label {
	font-size: 12px;
	opacity: 0.9;
	margin-bottom: 8px;
	color: #fff;
}

@media (max-width: 375px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .stat-item { padding: 9px; }
    .stat-value { font-size: 19px; }
}

/* 进度条（与 grab.html 一致） */
.progress-section {
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 15px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 13px;
    color: #fff;
}

.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #fff;
    border-radius: 4px;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* ====== 首页"公告通知"模块样式（保持与首页一致风格） ====== */
.notice-section {
	margin: 15px;
	background: #fff;
	border-radius: 12px;
	padding: 12px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.notice-header {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
}
.notice-list { }
.notice-item {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 0;
	border-bottom: 1px solid rgba(0,0,0,0.05);
}
.notice-item:last-child { border-bottom: none; }
.notice-icon { width: 18px; text-align: center; }
.notice-text { color: #333; font-size: 13px; }

/* ================= Mobile 色系覆盖 ================= */
:root {
	--amz-dark: #131921;
	--amz-navy: #232F3E;
	--amz-yellow: #FFD814;
	--amz-orange: #FF9900;
	--amz-border: #D5DBDB;
	--amz-gray: #F8F8F8;
}

/* 背景清爽白底 */
body {
	background: #ffffff !important;
	/* 系统字体栈 */
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", sans-serif !important;
}

/* 头部背景深色条 */
.header-bg {
	background: var(--amz-dark) !important;
	animation: none !important;
}

/* 顶部语言与消息按钮在深色背景上更清晰 */
.language-selector { background: rgba(255,255,255,0.18) !important; border-color: rgba(255,255,255,0.28) !important; }
.message-notification { background: rgba(255,255,255,0.95) !important; }
.message-notification svg { color: var(--amz-dark) !important; }

/* 卡片标题与链接深蓝系 */
.financial-header h3,
.card-title,
.section-title { 
	background: none !important; 
	-webkit-text-fill-color: inherit !important; 
	color: var(--amz-navy) !important; 
}
.view-details-link { color: var(--amz-orange) !important; }
.view-details-link:hover { color: #e68a00 !important; }

/* 资产/功能条目淡灰底，弱化紫色渐变 */
/* 样式覆盖已整合到上面的样式定义中 */
.financial-item { background: #f7f7f7 !important; border-color: rgba(0,0,0,0.06) !important; }
.info-row { background: #f7f7f7 !important; border-color: rgba(0,0,0,0.06) !important; }
.verification-item { background: #f7f7f7 !important; border-color: rgba(0,0,0,0.06) !important; }
.function-item { border-bottom-color: rgba(0,0,0,0.06) !important; }
.function-item:hover { background: rgba(0,0,0,0.03) !important; border-image: none !important; }

/* 主要按钮采用主题黄色 */
.copy-btn { 
	background: var(--amz-yellow) !important; 
	color: #111 !important; 
	box-shadow: 0 2px 6px rgba(0,0,0,0.08) !important;
}
.copy-btn:hover { filter: brightness(0.98) !important; }

.invest-link { 
	background: var(--amz-yellow) !important; 
	color: #111 !important; 
	border-color: rgba(0,0,0,0.08) !important; 
}
.financial-footer { 
	background: var(--amz-navy) !important; 
	box-shadow: 0 6px 20px rgba(0,0,0,0.18) !important; 
}

/* 统计卡与小块配色优化 */
.stat-item { background:#f3f4f6 !important; }
.stat-value { color:#111 !important; }
.stat-label { color:#6b7280 !important; }

/* 数值采用等宽表格数字，避免跳动 */
.stat-value,
.asset-value,
.financial-value,
#todayCommission,
#yesterdayCommission,
#totalCommission,
#balance,
#frozenBalance {
	font-variant-numeric: tabular-nums;
	-moz-font-feature-settings: "tnum" 1, "lnum" 1;
	-ms-font-feature-settings: "tnum" 1, "lnum" 1;
	-o-font-feature-settings: "tnum" 1, "lnum" 1;
	font-feature-settings: "tnum" 1, "lnum" 1;
}

/* 主要按钮字重略加强 */
.copy-btn,
.invest-link,
.logout-btn {
	font-weight: 700 !important;
}




/* ================= Profile 样式优化 ================= */

/* 新头部：简约深色，整合用户信息 */
.amz-profile-header {
	background: linear-gradient(180deg, var(--amz-navy, #232F3E) 0%, #1a2533 100%);
	color: #fff;
	padding: 16px 0 16px;
	padding-top: calc(env(safe-area-inset-top, 0px) + 16px);
	position: relative;
	min-height: 105px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
	overflow: hidden;
}

.amz-profile-header::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: 
		radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
		radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
	pointer-events: none;
	z-index: 0;
}

.amz-profile-header > * {
	position: relative;
	z-index: 1;
}


.amz-header-content {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 56px; /* 让语言切换与消息按钮不遮挡下方卡片 */
	padding: 0 16px;
	flex-wrap: wrap; /* 小屏幕时允许换行 */
	width: 100%;
	box-sizing: border-box;
}

@media (max-width: 480px) {
	.amz-header-content {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}
	
	.amz-user-greeting {
		flex: none;
	}
	
	.amz-profile-header .asset-card {
		flex: none;
		width: 100%;
	}
}

.amz-user-greeting {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 1;
	min-width: 0; /* 允许收缩 */
	position: relative;
}

.amz-user-greeting .avatar {
	width: 50px !important; 
	height: 50px !important;
	border: 3px solid rgba(255, 255, 255, 0.95) !important;
	box-shadow: 
		0 3px 10px rgba(0, 0, 0, 0.2),
		0 0 0 2px rgba(255, 255, 255, 0.15) inset,
		0 0 20px rgba(255, 255, 255, 0.1) !important;
	border-radius: 50% !important;
	flex-shrink: 0;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
}

.amz-user-greeting .avatar::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.4), transparent);
	transform: rotate(45deg);
	animation: avatarShine 3s infinite;
	z-index: 1;
	pointer-events: none;
}

@keyframes avatarShine {
	0% {
		transform: rotate(45deg) translateX(-100%);
	}
	50% {
		transform: rotate(45deg) translateX(100%);
	}
	100% {
		transform: rotate(45deg) translateX(-100%);
	}
}

.amz-user-greeting .avatar:hover {
	box-shadow: 
		0 5px 16px rgba(0, 0, 0, 0.25),
		0 0 0 3px rgba(255, 255, 255, 0.2) inset,
		0 0 30px rgba(255, 255, 255, 0.15) !important;
	transform: scale(1.05);
	border-color: rgba(255, 255, 255, 1) !important;
}

.amz-user-greeting .avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
	position: relative;
	z-index: 0;
}

.amz-user-greeting > div {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
	flex: 1;
	justify-content: center;
}

.amz-user-greeting .username {
	font-size: 17px !important;
	font-weight: 700 !important;
	color: #fff !important;
	background: none !important;
	-webkit-text-fill-color: inherit !important;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
	margin: 0 !important;
	letter-spacing: 0.3px;
	line-height: 1.3;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	transition: all 0.2s ease;
}

/* 通用：用户名加载骨架样式 - 优化版本 */
.username.loading { 
    position: relative; 
    color: transparent !important; 
    min-height: 0; 
    height: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow: hidden;
}
.username.loading::before {
    content: '';
    display: block;
    width: 120px;
    height: 14px;
    border-radius: 6px;
    background: linear-gradient(90deg, rgba(255,255,255,0.25), rgba(255,255,255,0.45), rgba(255,255,255,0.25));
    background-size: 200% 100%;
    animation: usernameSkeleton 1.1s ease-in-out infinite;
}
.username:not(.loading) {
    opacity: 1;
    transition: opacity 0.3s ease;
}

@keyframes usernameSkeleton {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.amz-user-greeting:hover .username {
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4), 0 0 10px rgba(255, 255, 255, 0.2) !important;
}

.amz-user-greeting .user-level {
	font-size: 10px !important;
	font-weight: 800 !important;
	padding: 3px 9px !important;
	border-radius: 10px !important;
	display: inline-block !important;
	width: fit-content !important;
	letter-spacing: 0.5px !important;
	background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FFD700 100%) !important;
	background-size: 200% 200% !important;
	animation: goldShimmer 3s ease infinite !important;
	color: #FFFFFF !important;
	text-shadow: 
		0 0 8px rgba(255, 215, 0, 1),
		0 0 12px rgba(255, 215, 0, 0.8),
		0 1px 2px rgba(0, 0, 0, 0.5) !important;
	box-shadow: 
		0 0 15px rgba(255, 215, 0, 0.6),
		0 0 30px rgba(255, 215, 0, 0.3),
		0 2px 8px rgba(255, 215, 0, 0.5),
		0 0 0 1px rgba(255, 215, 0, 0.8) inset !important;
	border: 1.5px solid rgba(255, 215, 0, 0.9) !important;
	position: relative;
	overflow: visible;
	transition: all 0.3s ease;
}

.amz-user-greeting .user-level::before {
	content: '' !important;
	position: absolute !important;
	top: -2px !important;
	left: -2px !important;
	right: -2px !important;
	bottom: -2px !important;
	background: linear-gradient(135deg, #FFD700, #FFA500, #FFD700, #FFA500) !important;
	background-size: 400% 400% !important;
	border-radius: 12px !important;
	z-index: -1 !important;
	animation: goldShimmer 3s ease infinite !important;
	opacity: 0.9 !important;
	filter: blur(4px) !important;
}

@keyframes goldShimmer {
	0%, 100% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
}

.amz-user-greeting .user-level:hover {
	transform: scale(1.08);
	box-shadow: 
		0 0 20px rgba(255, 215, 0, 0.8),
		0 0 40px rgba(255, 215, 0, 0.4),
		0 3px 12px rgba(255, 215, 0, 0.6),
		0 0 0 1px rgba(255, 215, 0, 1) inset !important;
	filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.9)) drop-shadow(0 0 16px rgba(255, 215, 0, 0.6));
}
.amz-profile-header .language-selector {
	background: rgba(255, 255, 255, 0.18) !important;
	border-color: rgba(255, 255, 255, 0.28) !important;
}
.amz-profile-header .language-selector .lang-icon-img,
.amz-profile-header .language-selector .lang-icon-svg {
	color: #fff !important;
}
.amz-profile-header .message-notification {
	background: rgba(255, 255, 255, 0.95) !important;
}
.amz-profile-header .message-notification svg {
	color: var(--amz-dark) !important;
}

/* 快捷功能 -> 浅色精美风格 */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 16px;
}

.action-item {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.action-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #dee2e6;
}

.action-item svg {
    width: 36px;
    height: 36px;
    margin-bottom: 10px;
    color: #764ba2; /* Elegant purple color */
    filter: drop-shadow(0 2px 4px rgba(118, 75, 162, 0.2));
    transition: all 0.3s ease;
}

.action-item:hover svg {
    transform: scale(1.15) rotate(-5deg);
    filter: drop-shadow(0 4px 8px rgba(118, 75, 162, 0.3));
}

.action-item span {
    font-size: 14px;
    font-weight: 600;
    color: #343a40; /* Dark text for readability */
    transition: color 0.3s ease;
}

.action-item:hover span {
    color: #667eea;
}

/* 列表样式统一 */
.function-section { margin: 0 16px 16px !important; padding: 0 !important; }
.function-list { background: #fff; border-radius: 12px; border: 1px solid var(--amz-border, #d5d9d9); box-shadow: var(--amz-shadow, 0 1px 3px rgba(0,0,0,.06)); }
.function-item { border-bottom-color: var(--amz-border, #d5d9d9) !important; }
.function-item:hover { background: #f7f7f7 !important; transform: none !important; border-left: none !important; border-image: none !important; }
.function-item .item-left span { font-weight: 400 !important; font-size: 14px !important; }
.function-item .arrow { opacity: .6 !important; }

/* 退出按钮改为次要样式 */
.logout-btn {
	background: #f0f2f2 !important;
	color: #111 !important;
	border: 1px solid #d5d9d9 !important;
	box-shadow: 0 1px 2px rgba(0,0,0,.05) !important;
}
.logout-btn:hover { background: #e3e6e6 !important; }

/* 只隐藏旧的头部，保留所有数据卡片 */
.profile-header {
	display: none !important;
}
/* 恢复数据显示卡片 */
.asset-card, .grab-order-section, .financial-card, .info-card, .stats-section, .notice-section {
	display: block !important;
}
