/* ===== 基础 & 比例缩小版 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

body {
    background: linear-gradient(145deg, #ecf5fa 0%, #daeaf5 50%, #e8f0f8 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    color: #1e2428;
    min-height: 100vh;
    padding-bottom: 52px;
    font-size: 7.5px;
    line-height: 1.25;
    letter-spacing: 0.1px;
    position: relative;
}

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

/* ===== 蓝色小球背景 ===== */
#colorful-bubbles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.8;
    background: transparent;
}

.container, .bottom-nav, .modal {
    position: relative;
    z-index: 2;
}

/* ========= 动态线条网格 ========= */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(120, 130, 140, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(120, 130, 140, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 30% 40%, rgba(150, 160, 170, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 80% 70%, rgba(100, 110, 120, 0.03) 0%, transparent 25%);
    background-size: 24px 24px, 24px 24px, 100% 100%, 100% 100%;
    pointer-events: none;
    z-index: 1;
    animation: shiftGrid 20s linear infinite alternate;
}

@keyframes shiftGrid {
    0% { background-position: 0 0, 0 0, 0 0, 0 0; }
    100% { background-position: 8px 8px, -8px -5px, 2% 1%, -1% -2%; }
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.2) 0%, transparent 30%),
                radial-gradient(circle at 90% 60%, rgba(200,210,220,0.15) 0%, transparent 35%);
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: soft-light;
}

.container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 0 3px 0;
    position: relative;
    z-index: 5;
}

a { color: inherit; text-decoration: none; }
a:hover { color: inherit; }

/* ========= 背景图区 ========= */
.cover-section {
    position: relative;
    height: 166px;
    border-radius: 0 0 14px 14px;
    overflow: hidden;
    box-shadow: 0 5px 12px rgba(0,0,0,0.06);
    border: none;
    margin-bottom: 2px;
    transition: all 0.3s ease;
}
.cover-section:hover {
    box-shadow: 0 8px 20px rgba(0,30,50,0.15);
}

.cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(145deg, #6b7b8a, #4f5b64);
    transition: transform 0.6s cubic-bezier(0.2, 0, 0, 1);
}
.cover-section:hover .cover-image { transform: scale(1.03); }

.cover-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(30,35,40,0.1), rgba(20,25,30,0.25));
}

/* 左上角新增按钮组 */
.cover-left-buttons {
    position: absolute;
    top: 8px;
    left: 10px;
    display: flex;
    gap: 8px;
    z-index: 10;
}
.cover-left-btn {
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(6px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    color: #1e3a5f;
    font-size: 13px;
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
}
.cover-left-btn:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 5px 12px rgba(0,50,100,0.2);
}

/* 右上角按钮组 */
.cover-buttons {
    position: absolute;
    top: 8px;
    right: 10px;
    display: flex;
    gap: 6px;
    z-index: 10;
}
.cover-red-verify-btn {
    width: 26px;
    height: 26px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(6px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    color: #c62828;
    font-size: 12px;
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
}
.cover-red-verify-btn:hover {
    background: white;
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 5px 12px rgba(198,40,40,0.2);
    color: #d32f2f;
}
.cover-settings-btn, .cover-verify-btn {
    width: 26px;
    height: 26px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(6px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    color: #1e3a5f;
    font-size: 12px;
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
}
.cover-settings-btn:hover, .cover-verify-btn:hover {
    background: white;
    transform: scale(1.15) rotate(15deg);
    box-shadow: 0 5px 12px rgba(0,50,100,0.2);
}
.cover-verify-btn {
    color: #0f4e8c;
}
.cover-verify-btn:hover {
    transform: scale(1.15) rotate(-5deg);
}

.cover-menu {
    display: none;
    position: absolute;
    top: 40px;
    right: 10px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    padding: 4px 0;
    min-width: 140px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.7);
    z-index: 1000;
    animation: menuFadeIn 0.2s ease;
}
@keyframes menuFadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.cover-menu.show { display: block; }
.cover-menu-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    cursor: pointer;
    color: #1e3a5f;
    font-size: 10px;
    transition: all 0.2s;
    border-radius: 6px;
    margin: 2px 4px;
}
.cover-menu-item i {
    margin-right: 8px;
    width: 16px;
    color: #2c5f8a;
    font-size: 11px;
    transition: transform 0.2s;
}
.cover-menu-item:hover {
    background: rgba(70, 120, 160, 0.15);
    transform: translateX(3px);
}
.cover-menu-item:hover i {
    transform: scale(1.2);
    color: #1e88e5;
}

/* ========= 用户卡片 ========= */
.user-header {
    background: rgba(225, 232, 240, 0.85);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 12px 14px;
    margin: -20px 10px 12px 10px;
    box-shadow: 0 15px 30px -10px rgba(0, 30, 50, 0.25),
                0 0 0 1px rgba(140, 160, 180, 0.3) inset,
                0 0 0 2px rgba(255,255,255,0.5);
    border: 1px solid rgba(100, 120, 140, 0.3);
    position: relative;
    z-index: 50;
    transition: all 0.3s ease;
}
.user-header:hover {
    box-shadow: 0 18px 35px -10px rgba(0, 40, 70, 0.3),
                0 0 0 1px rgba(140, 160, 180, 0.4) inset;
    transform: translateY(-1px);
}

.user-profile {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

/* ===== 头像框 ===== */
.avatar-container {
    position: relative;
    margin-right: 12px;
    z-index: 300;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}
.avatar-container:hover {
    transform: scale(1.02);
}

.avatar-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    padding: 4px;
    background: conic-gradient(
        from 0deg,
        #6b7f8f 0deg 45deg,
        #b0c4d9 45deg 90deg,
        #2c5f8a 90deg 135deg,
        #7fa9c7 135deg 180deg,
        #4a6b7c 180deg 225deg,
        #1e4f7a 225deg 270deg,
        #8db5d0 270deg 315deg,
        #3a627a 315deg 360deg
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotateBorder 8s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes rotateBorder {
    0% { background-position: 0deg; transform: rotate(0deg); }
    100% { background-position: 360deg; transform: rotate(360deg); }
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.9);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    display: block;
    position: relative;
    z-index: 2;
    background: white;
    transform: rotate(0deg) !important;
    transition: all 0.3s ease;
}
.user-avatar:hover {
    box-shadow: 0 4px 12px rgba(30,136,229,0.3);
}

.avatar-change-btn {
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 18px;
    height: 18px;
    background: #1e3a5f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid white;
    font-size: 9px;
    color: white;
    z-index: 320;
    transition: all 0.2s ease;
}
.avatar-change-btn:hover {
    background: #1e88e5;
    transform: scale(1.15);
}

.avatar-history-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    padding: 6px;
    z-index: 9999;
    width: 170px;
    box-shadow: 0 15px 30px rgba(0,20,30,0.25);
    margin-top: 8px;
    animation: menuFadeIn 0.2s ease;
}
.avatar-history-menu.show { display: block; }
.avatar-history-item {
    display: flex;
    align-items: center;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 9px;
    transition: all 0.2s;
}
.avatar-history-item:hover {
    background: rgba(90,110,120,0.1);
    transform: translateX(3px);
}
.history-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 8px;
    border: 1px solid #d0dce4;
    transition: transform 0.2s;
}
.avatar-history-item:hover .history-avatar {
    transform: scale(1.1);
}

/* 昵称和认证标识 */
.user-name-container {
    display: flex;
    align-items: center;
    margin-bottom: 3px;
    flex-wrap: wrap;
    gap: 4px;
}
.user-name {
    font-size: 16px;
    font-weight: 400;
    font-family: 'Segoe UI', 'Brush Script MT', 'Microsoft YaHei', cursive;
    background: linear-gradient(135deg, #1e3a5f, #3f627c, #1b4b6c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 0.4px;
    text-shadow: 2px 2px 5px rgba(0,40,60,0.15);
    transition: all 0.2s;
}
.user-name:hover {
    text-shadow: 3px 3px 8px rgba(30,136,229,0.3);
}

.blue-v-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1e88e5;
    color: white;
    font-size: 8px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-left: 2px;
    box-shadow: 0 2px 4px rgba(0,100,200,0.3);
    border: 1px solid rgba(255,255,255,0.5);
    animation: pulse 2s infinite;
}
.red-v-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #d32f2f;
    color: white;
    font-size: 8px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-left: 2px;
    box-shadow: 0 2px 4px rgba(211,47,47,0.3);
    border: 1px solid rgba(255,255,255,0.5);
    animation: pulseRed 2s infinite;
}
@keyframes pulseRed {
    0% { box-shadow: 0 0 0 0 rgba(211,47,47,0.4); }
    70% { box-shadow: 0 0 0 4px rgba(211,47,47,0); }
    100% { box-shadow: 0 0 0 0 rgba(211,47,47,0); }
}
.red-v-badge i {
    font-size: 6px;
}
.official-text {
    display: inline-block;
    background: rgba(211,47,47,0.12);
    color: #b71c1c;
    font-size: 8px;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 20px;
    margin-left: 4px;
    border: 1px solid rgba(211,47,47,0.3);
    backdrop-filter: blur(2px);
    transition: all 0.2s;
}
.official-text i {
    font-size: 7px;
    margin-right: 2px;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(30,136,229,0.4); }
    70% { box-shadow: 0 0 0 4px rgba(30,136,229,0); }
    100% { box-shadow: 0 0 0 0 rgba(30,136,229,0); }
}
.blue-v-badge i {
    font-size: 6px;
}
.name-blue-v {
    display: inline-flex;
    align-items: center;
}
.name-red-v {
    display: inline-flex;
    align-items: center;
}

.name-edit-btn {
    background: transparent;
    border: none;
    color: #4a6b7c;
    cursor: pointer;
    font-size: 8px;
    transition: all 0.2s;
    margin-left: 2px;
}
.name-edit-btn:hover { 
    color: #1e88e5;
    transform: scale(1.2);
}

.user-id {
    color: #2c5f8a;
    font-size: 9px;
    display: flex;
    align-items: center;
    font-weight: 500;
    background: rgba(200,220,240,0.4);
    padding: 2px 8px;
    border-radius: 20px;
    width: fit-content;
    border: 1px solid rgba(80,130,170,0.3);
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    transition: all 0.2s;
}
.user-id:hover {
    background: rgba(200,230,250,0.6);
    transform: translateY(-1px);
}

.merchant-badge {
    display: flex;
    align-items: center;
    color: #0a4b78;
    font-size: 8px;
    font-weight: 500;
    background: rgba(200,230,250,0.5);
    padding: 2px 10px 2px 6px;
    border-radius: 20px;
    width: fit-content;
    border: 1px solid rgba(30,136,229,0.4);
    margin-top: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.2s;
    animation: slideIn 0.3s ease;
}
@keyframes slideIn {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}
.merchant-badge:hover {
    background: rgba(200,230,250,0.8);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(30,136,229,0.2);
}
.merchant-badge .blue-v-badge {
    width: 12px;
    height: 12px;
    font-size: 7px;
    margin-right: 4px;
}
.merchant-badge .blue-v-badge i {
    font-size: 5px;
}

.user-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(80,100,120,0.2);
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    transition: all 0.2s;
    cursor: pointer;
    padding: 2px 0;
    border-radius: 8px;
}
.stat-item:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}
.stat-value {
    font-size: 12px;
    font-weight: 700;
    color: #1e2a32;
    transition: all 0.2s;
}
.stat-item:hover .stat-value {
    color: #1e88e5;
}
.stat-label {
    font-size: 8px;
    color: #5f7482;
    margin-top: 1px;
}

/* 新增会员双卡片样式 - 左右分栏长方形卡片，紧凑设计，图标在左 */
.vip-dual-card {
    display: flex;
    gap: 8px;
    margin: 0 10px 8px 10px;
}
.vip-card-item {
    flex: 1;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 8px 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
    border: 1px solid rgba(0,0,0,0.2);
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 8px;
}
.vip-card-item:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.95);
    box-shadow: 0 6px 14px rgba(0,0,0,0.1);
    border-color: rgba(80,100,120,0.3);
}
.vip-card-item:active {
    transform: translateY(0);
}
.card-icon {
    font-size: 20px;
    color: #3a5a6e;
    flex-shrink: 0;
    width: 28px;
    text-align: center;
}
.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.card-title {
    font-size: 11px;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 2px;
    letter-spacing: 0.3px;
}
.card-desc {
    font-size: 7px;
    color: #6c7e8c;
    line-height: 1.2;
}

/* 其他卡片 - 添加悬停效果 */
.assets-section, .features-section, .promo-card, .memory-section, .utility-item, .tool-badge {
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1) !important;
}
.assets-section:hover, .features-section:hover, .promo-card:hover, .memory-section:hover, .utility-item:hover, .tool-badge:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 16px rgba(0,30,50,0.1) !important;
}

/* ===== 弹窗样式 ===== */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(30,40,50,0.6);
    backdrop-filter: blur(10px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 14px;
}
.modal.show { 
    display: flex; 
    animation: modalFadeIn 0.3s ease;
}
@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border-radius: 18px;
    padding: 16px 14px;
    width: 100%;
    max-width: 300px;
    border: 1px solid rgba(255,255,255,0.7);
    box-shadow: 0 20px 40px -12px rgba(0,0,0,0.3);
    max-height: 80vh;
    overflow-y: auto;
    animation: contentZoomIn 0.3s ease;
}
@keyframes contentZoomIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.modal-title {
    font-size: 13px;
    font-weight: 650;
    color: #1f2e3a;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 6px;
}
.modal-title i {
    font-size: 15px;
}

/* 好友搜索框 + 查询结果 */
.friend-search-area {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 12px;
}
.friend-input {
    flex: 1;
    padding: 8px 12px;
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 24px;
    font-size: 11px;
    color: #1f2e3a;
    outline: none;
    transition: all 0.3s;
}
.friend-input:focus {
    border-color: #1e88e5;
    box-shadow: 0 0 0 3px rgba(30,136,229,0.2);
}
.check-friend-btn {
    background: linear-gradient(145deg, #1e88e5, #1565c0);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.check-friend-btn:hover {
    transform: scale(1.05);
}
.query-result {
    background: rgba(200,220,240,0.3);
    border-radius: 12px;
    padding: 8px 12px;
    font-size: 10px;
    color: #4a6272;
    text-align: center;
    margin-top: 6px;
}

/* 访客列表样式 */
.visitor-list {
    min-height: 80px;
    text-align: center;
    padding: 12px 0;
    color: #6c7e8c;
    font-size: 11px;
}

/* 上传区域 */
.upload-area {
    text-align: center;
    padding: 4px 0;
}
.upload-preview {
    width: 100%;
    height: 110px;
    background: rgba(220,230,240,0.4);
    border-radius: 14px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(30,136,229,0.3);
    color: #2c5f8a;
    font-size: 11px;
    background-size: cover;
    background-position: center;
    transition: all 0.3s;
}
.upload-preview i {
    font-size: 28px;
    opacity: 0.5;
}

.file-input-btn {
    background: linear-gradient(145deg, #1e88e5, #1565c0);
    border: none;
    border-radius: 30px;
    padding: 8px 18px;
    font-size: 11px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
    margin-bottom: 8px;
    box-shadow: 0 4px 8px rgba(30,136,229,0.3);
    border: 1px solid rgba(255,255,255,0.3);
}
.file-input-btn i {
    font-size: 12px;
    transition: transform 0.3s;
}
.file-input-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 16px rgba(30,136,229,0.4);
}
.file-input-btn:hover i {
    transform: rotate(15deg);
}
.file-input-btn:active {
    transform: translateY(0) scale(0.98);
}

.file-name {
    font-size: 9px;
    color: #2c5f8a;
    margin-top: 4px;
    font-weight: 500;
    background: rgba(200,220,240,0.3);
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-block;
    transition: all 0.2s;
}

.modal-buttons {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 16px;
}
.modal-btn {
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    background: transparent;
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
}
.modal-btn.cancel {
    background: rgba(100,120,140,0.1);
    color: #3e5563;
    border: 1px solid rgba(0,0,0,0.1);
}
.modal-btn.cancel:hover { 
    background: rgba(100,120,140,0.2);
    transform: translateY(-1px);
}
.modal-btn.cancel:active {
    transform: translateY(0) scale(0.97);
}
.modal-btn.confirm {
    background: linear-gradient(145deg, #1e88e5, #1565c0);
    color: white;
    box-shadow: 0 3px 8px rgba(30,136,229,0.4);
    border: 1px solid rgba(255,255,255,0.3);
}
.modal-btn.confirm:hover:not(:disabled) {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 6px 14px rgba(30,136,229,0.5);
}
.modal-btn.confirm:active:not(:disabled) {
    transform: translateY(0) scale(0.98);
}
.modal-btn.confirm:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* 历史背景图网格 */
.cover-history-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 8px;
}
.cover-history-item {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    background: #e1e9f0;
}
.cover-history-item:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 18px rgba(0,0,0,0.15);
    border-color: #1e88e5;
}
.cover-history-item:active {
    transform: translateY(0) scale(0.98);
}
.cover-history-item.active {
    border-color: #1e3a5f;
    border-width: 3px;
    animation: activePulse 2s infinite;
}
@keyframes activePulse {
    0% { box-shadow: 0 0 0 0 rgba(30,58,95,0.3); }
    70% { box-shadow: 0 0 0 6px rgba(30,58,95,0); }
    100% { box-shadow: 0 0 0 0 rgba(30,58,95,0); }
}
.cover-history-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.cover-history-item:hover img {
    transform: scale(1.1);
}

.cover-history-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 30px 0;
    color: #5f7a8c;
    font-size: 11px;
    background: rgba(220,235,250,0.3);
    border-radius: 12px;
}

.modal-input {
    width: 100%;
    padding: 10px 14px;
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 24px;
    font-size: 11px;
    color: #1f2e3a;
    outline: none;
    margin-top: 6px;
    transition: all 0.3s;
}
.modal-input:focus {
    border-color: #1e88e5;
    box-shadow: 0 0 0 3px rgba(30,136,229,0.2);
    transform: scale(1.01);
}

.success-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    padding: 14px 24px;
    border-radius: 40px;
    box-shadow: 0 20px 40px rgba(0,80,150,0.3);
    border: 1px solid rgba(30,136,229,0.5);
    color: #0a4b78;
    font-size: 13px;
    font-weight: 600;
    z-index: 20000;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: toastInOut 2s ease forwards;
}
.success-toast i {
    color: #1e88e5;
    font-size: 18px;
    animation: toastIconSpin 2s ease;
}
@keyframes toastIconSpin {
    0% { transform: rotate(0deg) scale(0); }
    50% { transform: rotate(360deg) scale(1.2); }
    100% { transform: rotate(720deg) scale(1); }
}
@keyframes toastInOut {
    0% { opacity: 0; transform: translate(-50%, -30%); }
    15% { opacity: 1; transform: translate(-50%, -50%); }
    85% { opacity: 1; transform: translate(-50%, -50%); }
    100% { opacity: 0; transform: translate(-50%, -70%); }
}

/* 原有卡片样式 (保留除了membership-section以外的所有) */
.assets-section {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 5px 8px;
    margin: 0 10px 5px 10px;
    border: 1px solid rgba(0,0,0,0.25);
}
.section-title {
    font-size: 9px;
    margin-bottom: 3px;
    color: #415a66;
    display: flex;
    align-items: center;
}
.section-title i { margin-right: 3px; color: #5f7d8c; font-size: 8px; }
.assets-grid { display: grid; grid-template-columns: 1fr; gap: 3px; }
@media (min-width: 768px) { .assets-grid { grid-template-columns: repeat(4, 1fr); gap: 3px; } }
.asset-row {
    display: flex;
    background: rgba(245,247,250,0.6);
    border-radius: 6px;
    padding: 4px 6px;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(0,0,0,0.2);
    cursor: pointer;
    transition: 0.2s;
    color: #2b414d;
}
.asset-left { display: flex; align-items: center; gap: 6px; }
.asset-icon i { font-size: 10px; color: #5a7a8a; }
.asset-info .asset-value { font-size: 9px; font-weight: 600; }
.asset-info .asset-label { font-size: 6px; color: #6b7c88; }
.asset-right i { font-size: 8px; color: #7f8e9a; }

.features-section {
    background: rgba(255,255,255,0.65);
    backdrop-filter: blur(8px);
    border-radius: 10px;
    padding: 5px 6px;
    margin: 0 10px 5px 10px;
    border: 1px solid rgba(0,0,0,0.25);
}
.features-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 3px; }
@media (min-width:768px){ .features-grid{ grid-template-columns: repeat(8,1fr); } }
.feature-item {
    background: rgba(248,250,252,0.7);
    border-radius: 6px;
    padding: 3px 2px;
    text-align: center;
    cursor: pointer;
    border: 1px solid rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #364e5c;
}
.feature-icon { font-size: 9px; margin-bottom: 1px; color: #5a7684; }
.feature-label { font-size: 6px; color: #3e5763; }
.promo-section { display: grid; grid-template-columns:1fr; gap:4px; margin:0 10px 5px 10px; }
@media (min-width:768px){ .promo-section{ grid-template-columns:repeat(2,1fr); } }
.promo-card {
    background: linear-gradient(145deg, rgba(245,250,250,0.8), rgba(230,240,245,0.7));
    border-radius: 10px;
    padding: 5px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(0,0,0,0.25);
    cursor: pointer;
}
.promo-info h3 { font-size: 8px; margin-bottom: 1px; color: #1c2f3a; }
.promo-info p { color: #5a717d; font-size: 6.5px; }
.promo-btn {
    background: linear-gradient(145deg, #607d8b, #4f6875);
    color: white;
    border: none;
    padding: 2px 8px;
    border-radius: 22px;
    font-size: 7.5px;
    font-weight: 600;
}
.memory-section {
    background: rgba(255,255,255,0.7);
    border-radius: 10px;
    padding: 5px 8px;
    margin: 0 10px 5px 10px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.25);
    cursor: pointer;
    display: block;
}
.memory-title { font-size: 9px; margin-bottom: 1px; color: #1f323c; font-weight: 600; }
.memory-subtitle { color: #5c7682; font-size: 7.5px; margin-bottom: 2px; }
.memory-btn {
    background: transparent;
    color: #4e6a78;
    border: 1px solid rgba(0,0,0,0.3);
    padding: 1.5px 10px;
    border-radius: 30px;
    font-size: 7.5px;
    display: inline-block;
}
.utility-strip {
    display: flex;
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(12px);
    border-radius: 25px;
    margin: 3px 10px 6px 10px;
    padding: 3px 5px;
    justify-content: space-around;
    border: 1px solid rgba(0,0,0,0.25);
}
.utility-item {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 2px 8px;
    border-radius: 25px;
    color: #2c4a5a;
    font-size: 8px;
    cursor: pointer;
}
.utility-item i { font-size: 9px; color: #547080; }
.quick-tools {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 4px;
    margin: 0 10px 5px 10px;
}
.tool-badge {
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(8px);
    border-radius: 10px;
    padding: 4px 2px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.2);
    cursor: pointer;
}
.tool-badge i { font-size: 12px; color: #4f7180; margin-bottom: 1px; }
.tool-label { font-size: 6.5px; color: #34515e; }
.tool-value { font-size: 7.5px; font-weight: 700; color: #1a353f; margin-top: 1px; }
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 52px;
    background: rgba(230,235,240,0.75);
    backdrop-filter: blur(18px);
    border-top: 1px solid rgba(160,170,180,0.3);
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    z-index: 998;
    width: 100%;
}
.bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-decoration: none;
    color: #6b7a8a;
    font-size: 7px;
    padding: 2px 0 4px 0;
    flex: 1;
    gap: 0.5px;
    transition: all 0.2s;
    border-radius: 16px 16px 0 0;
    height: 100%;
    background: transparent;
}
.bottom-nav .nav-item.active {
    color: #1e3a5f;
    font-weight: 600;
    background: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 -2px 4px -2px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.9);
    border-bottom: none;
}
.bottom-nav .nav-icon { font-size: 16px; line-height: 1; color: #5e6f7e; }