/* 基础样式 */
body {
    margin: 0;
    padding: 0;
    background: #f7f8fa;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
}

/* 主容器 */
.page-container {
    position: relative;
    padding-bottom: 60.9px;
    min-height: 100vh;
    box-sizing: border-box;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

/* "我的"页面主体容器 */
.my-container {
    padding: 5.25px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.my-container.content-ready {
    /* 移除不必要的样式 */
}

/* 积分显示与用户信息整合 */
.integrated-user-info {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 7.56px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
}

.integrated-header {
    padding: 10.08px;
    position: relative;
}

.user-profile {
    display: flex;
    align-items: center;
}

.avatar-wrapper {
    position: relative;
    width: 50.4px;
    height: 50.4px;
    border-radius: 63%;
    overflow: hidden;
    margin-right: 10.08px;
    border: 1.26px solid rgba(24, 144, 255, 0.15);
    background: rgba(24, 144, 255, 0.08);
}

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

.user-info {
    flex: 1;
}

.user-name {
    font-size: 17.64px;
    font-weight: 600;
    margin-bottom: 2.52px;
    color: #333;
}

.user-id {
    font-size: 13.86px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 12.6px;
}

.user-id span {
    font-weight: 600;
    color: #333;
}

.username-badge {
    display: inline-block;
    padding: 2.52px 10.08px;
    border-radius: 12.6px;
    font-size: 12.6px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(
        270deg,
        #ff4d4f,
        #ff7a45,
        #ffa940,
        #52c41a,
        #ffa940,
        #ff7a45,
        #ff4d4f
    );
    background-size: 400% 100%;
    box-shadow: 0 2px 4px rgba(255, 77, 79, 0.2);
    animation: badge-flow 8s linear infinite, badge-glow 2s ease-in-out infinite;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

/* 特殊样式：SCQ原住民的蓝绿色流光铭牌 */
.username-badge[data-native="true"] {
    background: linear-gradient(
        270deg,
        #13c2c2,
        #1890ff,
        #36cfc9,
        #40a9ff,
        #36cfc9,
        #1890ff,
        #13c2c2
    );
    background-size: 400% 100%;
    box-shadow: 0 2px 8px rgba(24, 144, 255, 0.3);
    animation: badge-flow 6s linear infinite, badge-glow-native 2s ease-in-out infinite;
}

/* 特殊样式：SCQ巨鲸名人堂的金红流光铭牌 */
.username-badge[data-whale="true"] {
    background: linear-gradient(
        270deg,
        #ffab01,
        #ffd700,
        #ff8c00,
        #e8b923,
        #ff1700,
        #ffab01,
        #ffd700
    );
    background-size: 400% 100%;
    box-shadow: 0 2px 8px rgba(255, 171, 1, 0.3);
    animation: badge-flow 12s linear infinite, badge-glow-whale 3s ease-in-out infinite;
    padding-left: 16px;
    border: 1px solid rgba(255, 215, 0, 0.6);
    outline: 1px solid rgba(255, 215, 0, 0.3);
    outline-offset: 1px;
    position: relative;
}

/* 为SCQ巨鲸名人堂铭牌添加精致的边角装饰 */
.username-badge[data-whale="true"]:before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    width: 4px;
    height: 4px;
    border-top: 1px solid rgba(255, 215, 0, 0.8);
    border-left: 1px solid rgba(255, 215, 0, 0.8);
    z-index: 2;
}

/* 右上角装饰 */
.username-badge[data-whale="true"]:after {
    content: '';
    position: absolute;
    top: -1px;
    right: -1px;
    width: 4px;
    height: 4px;
    border-top: 1px solid rgba(255, 215, 0, 0.8);
    border-right: 1px solid rgba(255, 215, 0, 0.8);
    z-index: 2;
}

/* 左下角装饰 */
.username-badge[data-whale="true"] .corner-bl {
    content: '';
    position: absolute;
    bottom: -1px;
    left: -1px;
    width: 4px;
    height: 4px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.8);
    border-left: 1px solid rgba(255, 215, 0, 0.8);
    z-index: 2;
}

/* 右下角装饰 */
.username-badge[data-whale="true"] .corner-br {
    content: '';
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 4px;
    height: 4px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.8);
    border-right: 1px solid rgba(255, 215, 0, 0.8);
    z-index: 2;
}

/* 货币图标 */
.username-badge[data-whale="true"] .whale-icon {
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    z-index: 3;
}

/* 流光效果 */
.username-badge[data-whale="true"] .shine {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: badge-shine 3s linear infinite;
    z-index: 2;
}

.username-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: badge-shine 3s linear infinite;
}

@keyframes badge-flow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 400% 50%;
    }
}

@keyframes badge-shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes badge-glow {
    0% {
        box-shadow: 0 2px 4px rgba(255, 77, 79, 0.2);
    }
    50% {
        box-shadow: 0 2px 12px rgba(255, 122, 69, 0.4);
    }
    100% {
        box-shadow: 0 2px 4px rgba(255, 77, 79, 0.2);
    }
}

/* SCQ原住民特殊发光动画 */
@keyframes badge-glow-native {
    0% {
        box-shadow: 0 2px 4px rgba(24, 144, 255, 0.2);
    }
    50% {
        box-shadow: 0 2px 12px rgba(54, 207, 201, 0.4);
    }
    100% {
        box-shadow: 0 2px 4px rgba(24, 144, 255, 0.2);
    }
}

/* SCQ巨鲸名人堂特殊发光动画 */
@keyframes badge-glow-whale {
    0% {
        box-shadow: 0 2px 4px rgba(255, 171, 1, 0.2);
    }
    50% {
        box-shadow: 0 2px 12px rgba(255, 100, 0, 0.4);
    }
    100% {
        box-shadow: 0 2px 4px rgba(255, 171, 1, 0.2);
    }
}

.shine {
    position: absolute;
    top: -50%;
    left: -100%;
    width: 50px;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(25deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
        opacity: 0;
    }
    20% {
        left: 100%;
        opacity: 0.6;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

.corner-bl, .corner-br {
    position: absolute;
    width: 3px;
    height: 3px;
    bottom: 0;
    background: #fff;
}

.corner-bl {
    left: 0;
}

.corner-br {
    right: 0;
}

.sign-in-btn-container {
    margin-left: auto;
}

.sign-in-btn {
    background: #1677ff;
    color: #fff;
    padding: 3.78px 12.6px;
    border-radius: 10.08px;
    font-size: 15.12px;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(22, 119, 255, 0.13);
    transition: all 0.3s;
}

.sign-in-btn:hover {
    background: #0e5cd1;
}

.points-display {
    display: flex;
    align-items: center;
    padding: 7.56px 10.08px;
    color: #666;
}

.points-label {
    font-size: 15.12px;
    color: #666;
    margin-right: 7.56px;
}

.points-value {
    font-size: 20.16px;
    font-weight: 600;
    margin-left: 5.04px;
    color: #ff4d4f;
}

.points-arrow {
    font-size: 13.86px;
    color: #ccc;
}

.points-note {
    text-align: center;
    font-size: 13.86px;
    color: #666;
    padding: 2.52px 0 5.04px;
}

/* 快捷操作 */
.quick-actions {
    display: flex;
    padding: 7.56px 0 5.04px;
    flex-wrap: wrap;
}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 20%;
    cursor: pointer;
}

.action-icon-wrapper {
    width: 35.28px;
    height: 35.28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5.04px;
    transition: all 0.3s;
}

.action-icon {
    font-size: 16.38px;
    color: #1677ff;
}

.action-name {
    font-size: 12.6px;
    color: #666;
}

.action-item:hover .action-icon-wrapper {
    background: rgba(24, 144, 255, 0.13);
}

/* 菜单部分 */
.menu-section {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 7.56px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
    padding-bottom: 5.04px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7.56px 10.08px 5.04px;
    border-bottom: 1px solid #f5f5f5;
}

.section-header h3 {
    font-size: 15.12px;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.more-link {
    font-size: 12.6px;
    color: #999;
    cursor: pointer;
}

/* 头像列表 */
.avatar-list {
    display: flex;
    padding: 7.56px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 7.56px;
}

.avatar-list::-webkit-scrollbar {
    display: none;
}

.avatar-list.compact {
    padding: 7.56px;
    gap: 6.3px;
    flex-wrap: wrap;
}

.avatar-item {
    position: relative;
    width: 45.36px;
    height: 45.36px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
}

.avatar-list.compact .avatar-item {
    margin-right: 0;
}

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

.status-dot {
    position: absolute;
    bottom: 1.26px;
    right: 1.26px;
    width: 7.56px;
    height: 7.56px;
    border-radius: 50%;
    background-color: #ccc;
    border: 1.05px solid #fff;
}

.status-dot[data-owned="true"] {
    background-color: #52c41a;
}

/* 数字星球入口 */
.digital-planet-banner {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    height: 75.6px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
}

.digital-planet-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2));
}

.banner-text {
    padding: 0 10.08px;
}

.banner-title {
    font-size: 16.38px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 2.52px;
}

.banner-desc {
    font-size: 12.6px;
    color: rgba(255, 255, 255, 0.8);
}

/* 功能菜单列表 */
.menu-list {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 7.56px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 10.08px;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
}

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

.menu-icon {
    width: 27.72px;
    height: 27.72px;
    border-radius: 50%;
    margin-right: 7.56px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1677ff;
}

.menu-item span {
    flex: 1;
    font-size: 15.12px;
    color: #333;
}

/* 点击进入标签样式 */
.enter-tag {
    margin-right: 5.04px;
    position: relative;
    overflow: hidden;
}

.enter-text {
    display: inline-block;
    padding: 2.52px 6.72px;
    background: linear-gradient(
        270deg,
        #ff4d4f,
        #ff7875,
        #ff4d4f,
        #ff7875,
        #ff4d4f
    );
    background-size: 200% 100%;
    color: white !important;
    font-size: 9.45px;
    font-weight: 500;
    border-radius: 8.4px;
    animation: enter-flow 4s linear infinite;
    box-shadow: 0 1px 4px rgba(255, 77, 79, 0.25);
    position: relative;
    z-index: 1;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.enter-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: enter-shine 3s ease-in-out infinite;
    z-index: 2;
}

@keyframes enter-flow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

@keyframes enter-shine {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

.arrow-icon {
    font-size: 13.86px;
    color: #ccc;
}

/* 退出登录按钮容器样式优化 */
.logout-btn-container {
    padding: 12.6px 10.08px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}

/* 统一所有按钮宽度为50%，最大240px，圆角22px，居中显示 */
.logout-btn, .confirm-btn, .primary-btn, .close-btn, .dialog-btn, .share-actions button, .photo-actions button, .account-settings-popup .logout-btn, .account-settings-popup .close-btn {
    width: 50% !important;
    max-width: 240px !important;
    min-width: 120px !important;
    border-radius: 22px !important;
    margin: 10px auto 0 auto !important;
    display: block !important;
}

/* 按钮容器居中 */
.logout-btn-container, .share-actions, .photo-actions {
    align-items: center !important;
}

.logout-btn {
    background: #1677ff !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(22, 119, 255, 0.3) !important;
    border-radius: 12.6px !important;
    padding: 10.08px 0;
    cursor: pointer;
    transition: all 0.3s;
    outline: none;
}

.logout-btn:hover {
    background: #0e5cd1 !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.close-btn {
    background: #f5f5f5 !important;
    color: #666 !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    border-radius: 7.56px !important;
    padding: 10.08px 0;
    cursor: pointer;
    transition: all 0.3s;
}

.close-btn:hover {
    background: #e8e8e8 !important;
    color: #666 !important;
    transform: translateY(-1px);
}

.confirm-btn {
    background: #1677ff !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(22, 119, 255, 0.3) !important;
    border-radius: 8px !important;
    padding: 12px 0;
    cursor: pointer;
    transition: all 0.3s;
    display: block;
}

.confirm-btn:disabled {
    background: #b3d1ff !important;
    box-shadow: none !important;
    cursor: not-allowed;
}

.confirm-btn:hover {
    background: #0e5cd1 !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.primary-btn {
    background: #1677ff !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(22, 119, 255, 0.3) !important;
    border-radius: 8px !important;
    padding: 12px 0;
    cursor: pointer;
    transition: all 0.3s;
    display: block;
}

.primary-btn:hover {
    background: #0e5cd1 !important;
    color: #fff !important;
    transform: translateY(-1px);
}

/* 底部导航栏 */
.bottom-nav {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1) !important;
    border-radius: 16px 16px 0 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 100 !important;
    display: flex;
    height: 55.44px;
    transform: translateZ(0) !important;
    will-change: transform !important;
    -webkit-transform: translateZ(0) !important;
    -webkit-will-change: transform !important;
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #999;
    font-size: 13.86px;
    padding: 5.04px 0;
}

.nav-item i {
    font-size: 18.9px;
    margin-bottom: 1.26px;
}

.nav-item span {
    font-size: 13.86px;
    margin-top: 1.26px;
}

.nav-item.active {
    color: #1677ff;
}

/* 适配刘海屏 */
@supports (padding-bottom: constant(safe-area-inset-bottom)) {
    .bottom-nav {
        padding-bottom: constant(safe-area-inset-bottom);
        height: calc(55.44px + constant(safe-area-inset-bottom));
    }
}

@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .bottom-nav {
        padding-bottom: env(safe-area-inset-bottom);
        height: calc(55.44px + env(safe-area-inset-bottom));
    }
}

/* 弹窗基础样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0);
    z-index: 99;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.modal.show {
    display: flex;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 360px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border: 1px solid #f0f0f0;
}

.modal.show .modal-content {
    transform: scale(1);
    opacity: 1;
}

/* 对话框样式优化 */
.dialog-content {
    padding: 20px;
    width: 85%;
    max-width: 320px;
    text-align: center;
}

.dialog-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 12px;
    color: #333;
}

.dialog-message {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

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

.dialog-btn {
    flex: 1;
    padding: 10px 0;
    border-radius: 8px;
    border: none;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.dialog-cancel {
    background-color: #f5f5f5;
    color: #666;
}

.dialog-confirm {
    background-color: #1677ff;
    color: white;
    box-shadow: 0 2px 8px rgba(22, 119, 255, 0.3);
}

.dialog-confirm:hover {
    background-color: #0e5cd1;
}

.dialog-cancel:hover {
    background-color: #e8e8e8;
}

/* 照片预览弹窗使用不同的样式，保持居中显示 */
.modal.photo-modal {
    align-items: center;
    bottom: 55px;
}

.modal.photo-modal .modal-content {
    border-radius: 12px;
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    width: 90%;
    max-width: 450px;
    max-height: calc(100vh - 120px);
}

.modal.photo-modal.show .modal-content {
    transform: scale(1);
    opacity: 1;
}

/* 转账、发红包、领红包弹窗样式 */
.transfer-popup,
.send-popup,
.receive-popup {
    padding: 20px 16px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
}

.popup-title {
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.input-field {
    margin-bottom: 16px;
}

.input-label {
    font-size: 15px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.input-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    font-size: 15px;
    box-sizing: border-box;
    color: #333;
    background-color: #fff;
}

.input-control:focus {
    border-color: #1677ff;
    outline: none;
    box-shadow: none;
}

/* 头像弹窗样式 */
.avatar-modal {
    padding: 16px;
    max-height: 80vh;
    overflow-y: auto;
}

.avatar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 0 0 16px;
}

.avatar-grid-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: transparent;
    border: 1px solid #f0f0f0;
}

.avatar-grid-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.avatar-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 6px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
}

.avatar-name {
    font-size: 12px;
    margin-bottom: 2px;
}

.avatar-status {
    font-size: 11px;
    color: #ff6b6b;
}

.avatar-status.owned {
    color: #07c160;
}

/* 账号设置弹窗 */
.account-settings-popup {
    padding: 0;
    background-color: #fff;
    border-radius: 12px 12px 0 0;
}

.popup-header {
    padding: 16px 0;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.account-settings-popup .menu-list {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 0;
}

.account-settings-popup .menu-item {
    display: flex;
    align-items: center;
    padding: 16px;
    background: transparent;
    border: 1px solid #f0f0f0;
    border-bottom: 1px solid #f5f5f5;
}

.account-settings-popup .menu-item:last-child {
    border-bottom: none;
}

.account-settings-popup .menu-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1677ff;
}

.account-settings-popup .menu-item span {
    flex: 1;
    font-size: 16px;
    color: #333;
}

.account-settings-popup .logout-btn-container {
    padding: 20px 16px 30px;
    margin-top: 5px;
}

.account-settings-popup .logout-btn {
    background: #1677ff !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(22, 119, 255, 0.3) !important;
    border-radius: 8px !important;
    padding: 12px 0;
    width: 100%;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    outline: none;
}

.account-settings-popup .logout-btn:hover {
    background: #0e5cd1 !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.account-settings-popup .close-btn {
    margin-top: 10px;
    background: #f5f5f5 !important;
    color: #666 !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    border-radius: 7.56px !important;
    padding: 10.08px 0;
    cursor: pointer;
    transition: all 0.3s;
}

.account-settings-popup .close-btn:hover {
    background: #e8e8e8 !important;
    color: #666 !important;
    transform: translateY(-1px);
}

/* 编辑资料弹窗 */
.avatar-edit-section {
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.circular-avatar-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 12px;
}

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

.avatar-edit-icons {
    display: flex;
    gap: 16px;
}

.avatar-edit-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.avatar-edit-icon i {
    font-size: 20px;
    margin-bottom: 4px;
    color: #1677ff;
}

.avatar-edit-icon span {
    font-size: 11px;
    color: #666;
}

/* 密码管理弹窗 */
.password-step {
    padding: 0 0 12px;
}

/* 恢复这些样式，被上一次编辑删除了 */
.nickname-input,
.password-input {
    flex: 1;
    margin-left: 8px;
}

.password-input .input-control {
    text-align: right;
    background: transparent;
    border: none;
    font-size: 14px;
    color: #666;
    padding-right: 0;
}

.success-message {
    padding: 24px 12px;
    text-align: center;
}

.success-icon {
    font-size: 36px;
    color: #07c160;
    margin-bottom: 12px;
}

.success-text {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
}

/* 照片预览弹窗 */
.photo-preview-modal {
    padding: 20px 16px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
    max-width: 90%;
    border-radius: 12px;
}

.photo-container {
    text-align: center;
    margin: 16px 0;
}

.photo-preview {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
}

.photo-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.photo-actions button {
    flex: 1;
    padding: 12px 0;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
}

/* 红包分享弹窗 */
.share-popup {
    padding: 20px 16px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
}

.share-code {
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    margin: 16px 0;
    color: #ff4d4f;
}

.share-tip {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-bottom: 16px;
}

.share-link {
    background: #f5f5f5;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    word-break: break-all;
    font-size: 14px;
}

.copy-indicator {
    color: #1677ff;
    cursor: pointer;
    white-space: nowrap;
    margin-left: 8px;
    font-weight: 500;
}

.share-info {
    font-size: 12px;
    color: #999;
    margin-bottom: 16px;
}

.share-info p {
    margin: 4px 0;
}

.share-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Toast提示框 */
.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    z-index: 101;
    display: none;
    font-size: 13px;
}

.toast.show {
    display: block;
    animation: fadeInOut 2s ease;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { opacity: 0; }
}

/* 加载中提示 */
.loading {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 55px;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 101;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.loading.show {
    display: flex;
}

.loading-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s linear infinite;
    margin-bottom: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    color: #fff;
    font-size: 13px;
}

/* 下拉刷新样式 - 原生实现 */
.pull-refresh-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.pull-refresh-indicator {
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
    background: #f7f8fa;
}

.pull-refresh-text {
    font-size: 14px;
    color: #666;
}

.pull-refresh-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #4096ff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
}

.pull-refresh-success-icon {
    color: #07c160;
    font-size: 18px;
    margin-right: 8px;
    animation: refreshSuccess 0.3s ease-out;
}

@keyframes refreshSuccess {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* 响应式样式 */
@media (max-width: 360px) {
    .action-item {
        width: 20%;
    }
    
    .action-icon-wrapper {
        width: 28.8px;
        height: 28.8px;
    }
    
    .action-icon {
        font-size: 13.2px;
    }
    
    .action-name {
        font-size: 10.8px;
    }
    
    /* 小屏幕下进一步缩小点击进入按钮 */
    .enter-text {
        padding: 2px 5px;
        font-size: 8.4px;
        border-radius: 6.3px;
        letter-spacing: 0.3px;
    }
    
    .enter-tag {
        margin-right: 3.78px;
    }
}

/* 确保铭牌文字为白色 */
#username-text {
    color: #fff;
} 