/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    color: #333;
    background-color: #f5f5f5;
    overflow-x: hidden;
}

/* 顶部导航栏 */
.top-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 18px;
    font-weight: bold;
    color: #ff6b9d;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-box {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.icon-search::before {
    content: "🔍";
    font-size: 20px;
}

.icon-close {
    font-style: normal;
    font-weight: bold;
    line-height: 1;
}

.user-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
}

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

/* 主要内容区域 */
.main-content {
    margin-top: 50px;
    margin-bottom: 60px;
    min-height: calc(100vh - 110px);
    padding-bottom: 20px;
    padding-top: 0;
}

.page-section {
    display: none;
    padding: 0 15px;
    padding-top: 0;
    margin-top: 0;
}

/* 首页轮播图紧贴顶部 */
#homePage {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

#homePage .banner-slider {
    margin-top: 0;
}

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

/* 轮播图 */
.banner-slider {
    margin: 0 0 15px 0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

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

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 10px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
}

.slider-dot.active {
    background: #ff6b9d;
}

/* 分类标签 */
.category-tabs {
    display: flex;
    gap: 10px;
    margin: 15px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.tab-item {
    padding: 8px 20px;
    background: #fff;
    border-radius: 20px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.tab-item.active {
    background: #ff6b9d;
    color: #fff;
}

/* 筛选条件 */
.filter-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.filter-item {
    padding: 6px 15px;
    background: #fff;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 用户列表 */
.user-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.user-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}

.user-card:active {
    transform: scale(0.98);
}

.user-card-cover {
    position: relative;
    width: 100%;
    padding-top: 133.33%; /* 3:4 比例 */
    overflow: hidden;
}

.user-card-cover img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-card-status {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px 8px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border-radius: 12px;
    font-size: 12px;
}

.user-card-info {
    padding: 10px;
}

.user-card-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 5px;
    flex-wrap: wrap;
}

.user-card-name {
    font-size: 14px;
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.user-card-auth {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: #ff6b9d;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

.user-card-vip {
    display: inline-block;
    padding: 2px 6px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #333;
    border-radius: 3px;
    font-size: 10px;
    font-weight: bold;
    flex-shrink: 0;
}

.user-card-level {
    display: inline-block;
    padding: 2px 6px;
    background: #f0f0f0;
    color: #666;
    border-radius: 3px;
    font-size: 10px;
    flex-shrink: 0;
}

.user-card-desc {
    font-size: 12px;
    color: #999;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 动态列表 */
.dynamic-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dynamic-item {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
}

.dynamic-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.dynamic-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.dynamic-user-info {
    flex: 1;
}

.dynamic-username {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 3px;
}

.dynamic-time {
    font-size: 12px;
    color: #999;
}

.dynamic-content {
    margin-bottom: 10px;
    line-height: 1.6;
}

.dynamic-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    margin-bottom: 10px;
}

.dynamic-image {
    width: 100%;
    padding-top: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.dynamic-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dynamic-actions {
    display: flex;
    justify-content: space-around;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    cursor: pointer;
    color: #666;
    font-size: 13px;
}

.action-btn.active {
    color: #ff6b9d;
}

/* 消息列表 */
.message-list {
    display: flex;
    flex-direction: column;
}

.message-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #fff;
    margin-bottom: 1px;
    cursor: pointer;
}

.message-item.chat-item {
    padding: 12px 15px;
}

.message-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
    object-fit: cover;
}

.message-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.message-name-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.message-name {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.message-time {
    font-size: 12px;
    color: #999;
    flex-shrink: 0;
    margin-left: 10px;
}

.message-text-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.message-text {
    font-size: 13px;
    color: #999;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.message-badge {
    display: inline-block;
    min-width: 18px;
    height: 18px;
    padding: 0 6px;
    background: #ff6b9d;
    color: #fff;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
    border-radius: 9px;
    margin-left: 8px;
    flex-shrink: 0;
}

.message-time {
    font-size: 12px;
    color: #999;
    margin-left: 10px;
}

/* 我的页面 */
.mine-header {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
    padding: 30px 15px;
    color: #fff;
    margin-bottom: 15px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.3);
    overflow: hidden;
}

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

.user-details {
    flex: 1;
}

.username {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.user-level {
    font-size: 13px;
    opacity: 0.9;
}

.user-stats {
    display: flex;
    gap: 20px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 3px;
}

.stat-label {
    font-size: 12px;
    opacity: 0.9;
}

.mine-menu {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}

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

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

.menu-icon {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-text {
    flex: 1;
    font-size: 15px;
}

.menu-arrow {
    color: #ccc;
}

.menu-item.logout-item {
    margin-top: 20px;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}

.menu-item.logout-item .menu-text {
    color: #ff6b9d;
    font-weight: bold;
}

/* 底部导航栏 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #fff;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
    display: flex;
    z-index: 1000;
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #999;
    position: relative;
    transition: color 0.3s;
}

.nav-item.active {
    color: #ff6b9d;
}

.nav-item i {
    font-size: 22px;
    margin-bottom: 3px;
}

.nav-item span {
    font-size: 12px;
}

.badge {
    position: absolute;
    top: 5px;
    right: 50%;
    transform: translateX(15px);
    background: #ff4757;
    color: #fff;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 10px;
    min-width: 18px;
    text-align: center;
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #fff;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-small {
    max-width: 400px;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.modal-header h3 {
    font-size: 18px;
    font-weight: bold;
}

.btn-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-body {
    padding: 15px;
}

/* 表单样式 */
.form-group {
    margin-bottom: 15px;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

/* 表单行布局（用于验证码输入框和按钮） */
.form-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
    width: 100%;
}

.form-row .form-input-code {
    flex: 1;
    min-width: 0;
    width: auto !important;
}

.form-row .btn-get-code {
    white-space: nowrap;
    padding: 12px 20px;
    flex-shrink: 0;
    width: auto !important;
    min-width: 110px;
    height: auto;
}

.form-textarea {
    width: 100%;
    min-height: 100px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    resize: vertical;
}

.upload-area {
    border: 2px dashed #ddd;
    border-radius: 4px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    margin-bottom: 15px;
    color: #999;
}

.upload-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.upload-preview-item {
    position: relative;
    width: 100%;
    padding-top: 100%;
    border-radius: 4px;
    overflow: hidden;
}

.upload-preview-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-primary {
    background: #ff6b9d;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 4px;
    font-size: 15px;
    cursor: pointer;
    width: 100%;
}

.btn-primary:active {
    opacity: 0.8;
}

.btn-block {
    display: block;
    width: 100%;
}

/* 加载更多 */
.load-more {
    text-align: center;
    padding: 20px;
    color: #999;
    cursor: pointer;
}

.load-more.loading {
    color: #ff6b9d;
}

/* 页面头部 */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #fff;
    margin-bottom: 15px;
}

.page-header h2 {
    font-size: 18px;
    font-weight: bold;
}

.btn-publish {
    background: #ff6b9d;
    color: #fff;
    border: none;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
}

/* 搜索弹窗样式优化 */
.modal-search {
    max-width: 600px;
    width: 90%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    animation: modalSlideIn 0.3s ease-out;
}

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

.search-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.search-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 24px;
    padding: 0 16px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.search-input-wrapper:focus-within {
    background: #fff;
    border-color: #ff6b9d;
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
}

.search-icon {
    font-size: 18px;
    color: #999;
    margin-right: 10px;
    flex-shrink: 0;
}

.search-input-wrapper:focus-within .search-icon {
    color: #ff6b9d;
}

.search-input {
    flex: 1;
    padding: 12px 0;
    border: none;
    background: transparent;
    font-size: 15px;
    color: #333;
    outline: none;
}

.search-input::placeholder {
    color: #999;
}

.search-clear-btn {
    width: 24px;
    height: 24px;
    border: none;
    background: #ddd;
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    flex-shrink: 0;
    transition: all 0.2s;
    padding: 0;
    line-height: 1;
}

.search-clear-btn:hover {
    background: #ff6b9d;
    transform: scale(1.1);
}

.btn-search-cancel {
    padding: 10px 20px;
    background: transparent;
    border: none;
    color: #666;
    font-size: 15px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
    white-space: nowrap;
    font-weight: 500;
}

.btn-search-cancel:hover {
    background: #f5f5f5;
    color: #333;
}

.btn-search-cancel:active {
    background: #e8e8e8;
}

.search-results {
    padding: 0;
    max-height: 60vh;
    overflow-y: auto;
    background: #fff;
}

.search-results::-webkit-scrollbar {
    width: 6px;
}

.search-results::-webkit-scrollbar-track {
    background: #f5f5f5;
}

.search-results::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 3px;
}

.search-results::-webkit-scrollbar-thumb:hover {
    background: #ccc;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.2s;
    gap: 14px;
    background: #fff;
}

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

.search-result-item:hover {
    background: #f8f9fa;
    padding-left: 24px;
}

.search-result-item:active {
    background: #f0f0f0;
}

.search-result-item .message-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #f0f0f0;
    transition: border-color 0.2s;
}

.search-result-item:hover .message-avatar {
    border-color: #ff6b9d;
}

.search-result-item .message-content {
    flex: 1;
    min-width: 0;
}

.search-result-item .message-name {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-result-item .message-text {
    font-size: 13px;
    color: #999;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.4;
}

/* 搜索加载状态 */
.search-loading {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 14px;
}

.search-loading::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #ff6b9d;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
    vertical-align: middle;
}

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

/* 搜索空状态样式 */
.search-results .empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 14px;
    background: #fff;
}

.search-results .empty-state::before {
    content: "🔍";
    display: block;
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.search-results .empty-state small {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: #ccc;
}

/* PC端搜索弹窗优化 */
@media (min-width: 768px) {
    .modal-search {
        max-width: 700px;
    }
    
    .search-header {
        padding: 24px;
    }
    
    .search-input {
        font-size: 16px;
    }
    
    .search-result-item {
        padding: 18px 24px;
    }
    
    .search-result-item:hover {
        padding-left: 28px;
    }
}

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

/* PC端适配 - 全新现代化设计 */
@media (min-width: 768px) {
    /* 整体背景 - 渐变 + 图案 */
    body {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%);
        background-size: 400% 400%;
        animation: gradientShift 15s ease infinite;
        min-height: 100vh;
        position: relative;
    }

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

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

    /* 顶部导航栏 - 玻璃态设计 */
    .top-header {
        height: 65px;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        position: relative;
        z-index: 1000;
    }

    .header-content {
        padding: 0 40px;
        max-width: 1400px;
        height: 100%;
    }

    .logo {
        font-size: 22px;
        font-weight: 700;
        background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: 0 2px 10px rgba(255, 255, 255, 0.5);
        letter-spacing: 0.5px;
    }

    .search-box {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .search-box:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: scale(1.08);
        box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
    }

    .search-box .icon-search::before {
        filter: brightness(0) invert(1);
        font-size: 20px;
    }

    .user-avatar {
        width: 42px;
        height: 42px;
        border: 2px solid rgba(255, 255, 255, 0.4);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

    .user-avatar:hover {
        border-color: rgba(255, 255, 255, 0.8);
        transform: scale(1.1);
        box-shadow: 0 6px 25px rgba(255, 255, 255, 0.4);
    }

    /* 主内容区域 */
    .main-content {
        max-width: 1400px;
        margin: 65px auto 0;
        padding: 0 40px 80px;
        padding-top: 0;
        position: relative;
        z-index: 1;
    }

    .page-section {
        padding: 0;
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    /* 首页第一个元素（轮播图）紧贴顶部 */
    #homePage {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    .page-section.active:first-child .banner-slider,
    #homePage .banner-slider {
        margin-top: 0 !important;
    }

    /* 轮播图 - 玻璃态卡片 */
    .banner-slider {
        margin: 0 0 8px !important;
        border-radius: 16px;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
        transition: all 0.4s;
        max-width: 100%;
    }

    .banner-slider:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
    }

    .slider-wrapper {
        height: 200px;
    }

    /* 分类标签 - 现代化设计 */
    .category-tabs {
        justify-content: flex-start;
        gap: 10px;
        margin: 6px 0 8px;
        padding: 0;
        flex-wrap: wrap;
    }

    .category-tabs .tab-item {
        padding: 10px 24px;
        font-size: 15px;
        font-weight: 600;
        border-radius: 50px;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: rgba(255, 255, 255, 0.9);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        cursor: pointer;
        position: relative;
        overflow: hidden;
    }

    .category-tabs .tab-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;
    }

    .category-tabs .tab-item:hover::before {
        left: 100%;
    }

    .category-tabs .tab-item:hover {
        transform: translateY(-3px);
        background: rgba(255, 255, 255, 0.25);
        box-shadow: 0 6px 25px rgba(255, 255, 255, 0.3);
    }

    .category-tabs .tab-item.active {
        background: rgba(255, 255, 255, 0.95);
        color: #667eea;
        box-shadow: 0 8px 30px rgba(255, 255, 255, 0.4);
        transform: translateY(-2px);
        font-weight: 700;
    }

    /* 筛选条件 */
    .filter-bar {
        gap: 10px;
        margin-bottom: 10px;
        flex-wrap: wrap;
    }

    .filter-item {
        padding: 8px 20px;
        font-size: 13px;
        font-weight: 500;
        border-radius: 50px;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: rgba(255, 255, 255, 0.9);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        cursor: pointer;
    }

    .filter-item:hover {
        transform: translateY(-3px);
        background: rgba(255, 255, 255, 0.25);
        box-shadow: 0 6px 25px rgba(255, 255, 255, 0.3);
    }

    /* 用户列表 - 现代化卡片网格 */
    .user-list {
        grid-template-columns: repeat(5, 1fr);
        gap: 18px;
        margin-bottom: 15px;
    }

    .user-card {
        border-radius: 16px;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        cursor: pointer;
        position: relative;
    }

    .user-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
        opacity: 0;
        transition: opacity 0.5s;
        z-index: 1;
        pointer-events: none;
    }

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

    .user-card:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
        border-color: rgba(255, 255, 255, 0.4);
    }

    .user-card:active {
        transform: translateY(-4px) scale(1.01);
    }

    .user-card-cover {
        position: relative;
        overflow: hidden;
    }

    .user-card-cover::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
        opacity: 0;
        transition: opacity 0.5s;
    }

    .user-card:hover .user-card-cover::after {
        opacity: 1;
    }

    .user-card-info {
        padding: 12px;
        background: rgba(255, 255, 255, 0.95);
        position: relative;
        z-index: 2;
    }

    .user-card-name {
        font-size: 14px;
        font-weight: 600;
        color: #333;
        margin-bottom: 4px;
    }

    .user-card-desc {
        font-size: 12px;
        color: #666;
        line-height: 1.4;
    }

    .user-card-status {
        background: rgba(76, 175, 80, 0.9);
        backdrop-filter: blur(10px);
        font-weight: 600;
        box-shadow: 0 2px 10px rgba(76, 175, 80, 0.4);
    }

    /* 动态列表PC端优化 */
    .dynamic-images {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .dynamic-item {
        border-radius: 16px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.06);
        transition: all 0.3s;
    }

    .dynamic-item:hover {
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        transform: translateY(-2px);
    }

    /* 底部导航栏PC端优化 - 现代化设计 */
    .bottom-nav {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        height: 60px;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
        border-radius: 50px;
        padding: 0 15px;
        max-width: 550px;
        width: auto;
        z-index: 999;
        display: flex;
        align-items: center;
        justify-content: space-around;
        gap: 8px;
    }

    .nav-item {
        padding: 10px 20px;
        flex-direction: row;
        gap: 8px;
        height: auto;
        border-radius: 50px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        color: rgba(255, 255, 255, 0.8);
        position: relative;
        overflow: hidden;
    }

    .nav-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50px;
        opacity: 0;
        transition: opacity 0.4s;
    }

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

    .nav-item:hover {
        transform: translateY(-3px);
        color: rgba(255, 255, 255, 1);
    }

    .nav-item.active {
        background: rgba(255, 255, 255, 0.95);
        color: #667eea;
        box-shadow: 0 4px 20px rgba(255, 255, 255, 0.4);
        transform: translateY(-2px);
    }

    .nav-item.active::before {
        opacity: 0;
    }

    .nav-item i {
        font-size: 20px;
        margin-bottom: 0;
        position: relative;
        z-index: 1;
    }

    .nav-item span {
        font-size: 14px;
        font-weight: 600;
        position: relative;
        z-index: 1;
    }

    /* 加载更多 - 现代化按钮 */
    .load-more {
        padding: 14px 28px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 50px;
        margin: 15px auto;
        max-width: 260px;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: rgba(255, 255, 255, 0.9);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        text-align: center;
        display: block;
    }

    .load-more:hover {
        background: rgba(255, 255, 255, 0.25);
        transform: translateY(-3px);
        box-shadow: 0 6px 25px rgba(255, 255, 255, 0.3);
        color: rgba(255, 255, 255, 1);
    }

    .load-more.loading {
        background: rgba(255, 255, 255, 0.2);
        cursor: not-allowed;
    }
}

/* PC端消息列表优化 */
@media (min-width: 768px) {
    .message-list {
        max-width: 900px;
        margin: 0 auto;
    }

    .message-item {
        border-radius: 20px;
        margin-bottom: 15px;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .message-item:hover {
        transform: translateX(8px);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
        border-color: rgba(255, 255, 255, 0.3);
    }

    .message-avatar {
        border: 3px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

    /* PC端我的页面优化 */
    .mine-header {
        border-radius: 24px;
        margin-bottom: 30px;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
        overflow: hidden;
        position: relative;
    }

    .mine-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 200px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    }

    .mine-menu {
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
        overflow: hidden;
        margin-bottom: 20px;
    }

    .menu-item {
        padding: 20px 25px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(255, 255, 255, 0.05);
    }

    .menu-item:hover {
        background: rgba(255, 255, 255, 0.2);
        padding-left: 35px;
        transform: translateX(5px);
    }

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

    /* PC端动态列表优化 */
    .dynamic-list {
        max-width: 1000px;
        margin: 0 auto;
    }

    .dynamic-item {
        padding: 25px;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .dynamic-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
        border-color: rgba(255, 255, 255, 0.3);
    }

    .dynamic-header {
        margin-bottom: 18px;
    }

    .dynamic-avatar {
        width: 55px;
        height: 55px;
        border: 3px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

    .dynamic-username {
        font-size: 17px;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.95);
    }

    .dynamic-content {
        font-size: 16px;
        line-height: 1.8;
        margin-bottom: 18px;
        color: rgba(255, 255, 255, 0.9);
    }

    /* PC端页面头部优化 */
    .page-header {
        border-radius: 20px;
        margin-bottom: 30px;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
        padding: 25px 30px;
    }

    .page-header h2 {
        font-size: 24px;
        font-weight: 700;
        color: rgba(255, 255, 255, 0.95);
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    .btn-publish {
        padding: 12px 30px;
        font-size: 15px;
        font-weight: 600;
        border-radius: 50px;
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        color: rgba(255, 255, 255, 0.95);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .btn-publish:hover {
        transform: translateY(-3px);
        background: rgba(255, 255, 255, 0.3);
        box-shadow: 0 6px 25px rgba(255, 255, 255, 0.3);
    }

    /* PC端弹窗优化 - 玻璃态设计 */
    .modal {
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(5px);
    }

    .modal-content {
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(30px) saturate(180%);
        -webkit-backdrop-filter: blur(30px) saturate(180%);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
        animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

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

    .modal-header {
        padding: 30px 35px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        background: rgba(255, 255, 255, 0.1);
    }

    .modal-header h3 {
        font-size: 24px;
        font-weight: 700;
        color: rgba(255, 255, 255, 0.95);
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    .btn-close {
        color: rgba(255, 255, 255, 0.8);
        transition: all 0.3s;
    }

    .btn-close:hover {
        color: rgba(255, 255, 255, 1);
        transform: rotate(90deg) scale(1.1);
    }

    .modal-body {
        padding: 35px;
        background: rgba(255, 255, 255, 0.05);
    }

    /* PC端用户卡片弹窗优化 */
    .modal-large {
        max-width: 550px;
        max-height: 80vh;
        width: 85%;
    }

    .user-home-header {
        min-height: 160px;
    }

    .user-home-cover {
        min-height: 160px;
    }

    .user-home-info {
        margin-top: 100px;
        padding: 12px 10px 10px;
        min-height: 130px;
    }

    .user-home-avatar-wrapper {
        width: 65px;
        height: 65px;
        margin: -45px auto 6px;
    }

    .user-home-name {
        font-size: 17px;
    }

    .user-home-stats {
        padding: 10px 0;
    }

    .user-home-stat-item .stat-value {
        font-size: 15px;
    }

    .user-home-body {
        max-height: 280px;
    }

    .user-home-tabs .tab-item {
        padding: 10px;
        font-size: 13px;
    }

    .user-home-content {
        padding: 10px;
    }

    .user-home-footer {
        padding: 10px;
        gap: 6px;
    }

    /* PC端表单优化 */
    .form-input {
        padding: 16px 20px;
        font-size: 15px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        color: rgba(255, 255, 255, 0.95);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .form-input::placeholder {
        color: rgba(255, 255, 255, 0.6);
    }

    .form-input:focus {
        background: rgba(255, 255, 255, 0.3);
        border-color: rgba(255, 255, 255, 0.5);
        box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
        outline: none;
    }

    .form-textarea {
        padding: 16px 20px;
        font-size: 15px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        color: rgba(255, 255, 255, 0.95);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .form-textarea::placeholder {
        color: rgba(255, 255, 255, 0.6);
    }

    .form-textarea:focus {
        background: rgba(255, 255, 255, 0.3);
        border-color: rgba(255, 255, 255, 0.5);
        box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
        outline: none;
    }

    .btn-primary {
        padding: 16px 32px;
        font-size: 16px;
        font-weight: 600;
        border-radius: 50px;
        background: rgba(255, 255, 255, 0.25);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        color: rgba(255, 255, 255, 0.95);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

    .btn-primary:hover {
        transform: translateY(-3px);
        background: rgba(255, 255, 255, 0.35);
        box-shadow: 0 6px 25px rgba(255, 255, 255, 0.3);
    }

    .btn-primary:active {
        transform: translateY(-1px);
    }

    /* PC端聊天窗口优化 */
    .modal-chat {
        max-width: 800px;
        width: 90%;
        height: 85vh;
        max-height: 800px;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    }

    .chat-header {
        padding: 20px 25px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .chat-user-info img {
        width: 45px;
        height: 45px;
    }

    .chat-user-name {
        font-size: 18px;
    }

    .chat-header .btn-close {
        width: 36px;
        height: 36px;
        font-size: 26px;
        color: #666;
        background: rgba(0, 0, 0, 0.05);
        border-radius: 50%;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .chat-header .btn-close:hover {
        color: #ff6b9d;
        background: rgba(255, 107, 157, 0.15);
        transform: rotate(90deg) scale(1.1);
    }

    .chat-messages {
        padding: 20px;
        background: rgba(245, 245, 245, 0.8);
        backdrop-filter: blur(10px);
    }

    .chat-input-area {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }

    .chat-input-toolbar {
        padding: 12px 20px;
    }

    .chat-tool-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
        border-radius: 10px;
        transition: all 0.3s;
    }

    .chat-tool-btn:hover {
        background: rgba(255, 107, 157, 0.1);
        transform: scale(1.1);
    }

    .chat-input-wrapper {
        padding: 12px 20px;
    }

    .chat-input {
        padding: 12px 18px;
        font-size: 15px;
        border-radius: 24px;
        border: 2px solid rgba(0, 0, 0, 0.1);
        transition: all 0.3s;
    }

    .chat-input:focus {
        border-color: #ff6b9d;
        box-shadow: 0 0 0 4px rgba(255, 107, 157, 0.1);
        outline: none;
    }

    .chat-send-btn {
        padding: 12px 28px;
        font-size: 15px;
        font-weight: 600;
        border-radius: 24px;
        background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
        transition: all 0.3s;
    }

    .chat-send-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
    }

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

/* 大屏幕PC端优化 */
@media (min-width: 1200px) {
    .main-content {
        max-width: 1400px;
        padding: 0 50px 80px;
    }

    .user-list {
        grid-template-columns: repeat(6, 1fr);
        gap: 20px;
    }

    .slider-wrapper {
        height: 220px;
    }

    .header-content {
        max-width: 1400px;
        padding: 0 50px;
    }

    .bottom-nav {
        max-width: 600px;
        padding: 0 20px;
    }

    .message-list,
    .dynamic-list {
        max-width: 1000px;
    }

    .category-tabs .tab-item {
        padding: 10px 24px;
        font-size: 15px;
    }
}

/* 超大屏幕优化 */
@media (min-width: 1600px) {
    .main-content {
        max-width: 1600px;
        padding: 0 60px 90px;
    }

    .user-list {
        grid-template-columns: repeat(7, 1fr);
        gap: 22px;
    }

    .slider-wrapper {
        height: 240px;
    }

    .header-content {
        max-width: 1600px;
        padding: 0 60px;
    }

    .bottom-nav {
        max-width: 650px;
        padding: 0 25px;
        height: 60px;
    }

    .nav-item {
        padding: 10px 20px;
    }

    .nav-item i {
        font-size: 20px;
    }

    .nav-item span {
        font-size: 14px;
    }

    .message-list,
    .dynamic-list {
        max-width: 1200px;
    }

    .category-tabs .tab-item {
        padding: 11px 26px;
        font-size: 15px;
    }
}

/* PC端滚动条和细节优化 */
@media (min-width: 768px) {
    /* 自定义滚动条 */
    ::-webkit-scrollbar {
        width: 10px;
        height: 10px;
    }

    ::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }

    ::-webkit-scrollbar-thumb {
        background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
        border-radius: 10px;
        transition: all 0.3s;
    }

    ::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(135deg, #ff5a8a 0%, #ff7fa0 100%);
    }

    /* PC端空状态优化 */
    .empty-state {
        padding: 80px 40px;
        font-size: 16px;
        color: #999;
    }

    .empty-state::before {
        content: "📭";
        display: block;
        font-size: 64px;
        margin-bottom: 20px;
        opacity: 0.5;
    }

    /* PC端用户卡片状态标签优化 */
    .user-card-status {
        padding: 6px 12px;
        font-size: 13px;
        font-weight: 500;
        backdrop-filter: blur(10px);
    }

    /* PC端轮播图指示器优化 */
    .slider-dots {
        padding: 15px;
        gap: 12px;
    }

    .slider-dot {
        width: 10px;
        height: 10px;
        transition: all 0.3s;
        cursor: pointer;
    }

    .slider-dot:hover {
        transform: scale(1.3);
    }

    .slider-dot.active {
        width: 30px;
        border-radius: 5px;
    }
}

/* PC端视频通话界面优化 */
@media (min-width: 1024px) {
    /* PC端本地视频窗口更大 */
    .video-local {
        width: 200px;
        height: 266px;
        top: 30px;
        right: 30px;
        border-radius: 12px;
        border: 3px solid rgba(255, 255, 255, 0.4);
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .video-local:hover {
        transform: scale(1.05);
        border-color: rgba(255, 255, 255, 0.6);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

    /* PC端控制按钮更大 */
    .video-call-controls {
        bottom: 50px;
        gap: 20px;
    }

    .video-control-btn {
        width: 64px;
        height: 64px;
        font-size: 28px;
    }

    /* PC端占位符优化 */
    .video-avatar {
        width: 150px;
        height: 150px;
    }

    .video-user-name {
        font-size: 28px;
    }

    .video-status {
        font-size: 18px;
    }

    /* PC端全屏切换时的样式 */
    .video-local.fullscreen {
        width: 100%;
        height: 100%;
        top: 0;
        right: 0;
        border-radius: 0;
        border: none;
        z-index: 10;
    }

    .video-remote.fullscreen {
        width: 200px;
        height: 266px;
        top: 30px;
        right: 30px;
        border-radius: 12px;
        border: 3px solid rgba(255, 255, 255, 0.4);
        z-index: 2;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .video-remote.fullscreen:hover {
        transform: scale(1.05);
        border-color: rgba(255, 255, 255, 0.6);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

    .video-remote.fullscreen video {
        border-radius: 12px;
    }

    /* PC端视频切换提示 */
    .video-local::after,
    .video-remote::after {
        content: '点击切换全屏';
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0, 0, 0, 0.6);
        color: #fff;
        padding: 4px 12px;
        border-radius: 12px;
        font-size: 12px;
        opacity: 0;
        transition: opacity 0.3s;
        pointer-events: none;
        white-space: nowrap;
    }

    .video-local:hover::after,
    .video-remote:hover::after {
        opacity: 1;
    }

    .video-local.fullscreen::after,
    .video-remote.fullscreen::after {
        content: '点击切换回小窗口';
    }

    /* PC端键盘快捷键提示 */
    .video-call-shortcuts {
        position: absolute;
        top: 20px;
        left: 20px;
        background: rgba(0, 0, 0, 0.6);
        color: #fff;
        padding: 10px 15px;
        border-radius: 8px;
        font-size: 12px;
        z-index: 100;
        opacity: 0;
        transition: opacity 0.3s;
        pointer-events: none;
    }

    .video-call-container:hover .video-call-shortcuts {
        opacity: 1;
    }

    .video-call-shortcuts-item {
        margin: 4px 0;
        line-height: 1.5;
    }

    .video-call-shortcuts kbd {
        display: inline-block;
        padding: 2px 6px;
        background: rgba(255, 255, 255, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 4px;
        font-family: monospace;
        font-size: 11px;
        margin: 0 2px;
    }
}

/* 平板端优化 */
@media (min-width: 768px) and (max-width: 1023px) {
    .video-local {
        width: 160px;
        height: 213px;
    }

    .video-call-controls {
        bottom: 40px;
        gap: 18px;
    }

    .video-control-btn {
        width: 60px;
        height: 60px;
        font-size: 26px;
    }
}

/* 超大屏幕优化 */
@media (min-width: 1920px) {
    .video-local {
        width: 240px;
        height: 320px;
    }

    .video-remote.fullscreen {
        width: 240px;
        height: 320px;
    }

    .video-call-controls {
        bottom: 60px;
        gap: 25px;
    }

    .video-control-btn {
        width: 72px;
        height: 72px;
        font-size: 32px;
    }
}

/* 图标字体 */
@font-face {
    font-family: 'iconfont';
    src: url('data:application/x-font-woff2;charset=utf-8;base64,') format('woff2');
}

.icon-home::before { content: "🏠"; }
.icon-dynamic::before { content: "📝"; }
.icon-message::before { content: "💬"; }
.icon-mine::before { content: "👤"; }
.icon-search::before { content: "🔍"; }
.icon-camera::before { content: "📷"; }
.icon-arrow-down::before { content: "▼"; }

/* 空状态样式 */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 14px;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.user-card,
.dynamic-item,
.message-item {
    animation: fadeIn 0.3s ease-out;
}

/* 用户主页弹窗 */
.modal-large {
    max-width: 600px;
    max-height: 85vh;
    width: 90%;
    overflow: hidden;
}

.user-home-header {
    position: relative;
    min-height: 180px;
    overflow: hidden;
}

.user-home-header .btn-close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 100;
    background: rgba(0,0,0,0.5);
    color: #fff;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.user-home-cover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    min-height: 180px;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.user-home-info {
    position: relative;
    padding: 15px 12px 12px;
    background: #fff;
    margin-top: 120px;
    border-radius: 20px 20px 0 0;
    z-index: 10;
    min-height: 150px;
}

.user-home-avatar-wrapper {
    position: relative;
    width: 70px;
    height: 70px;
    margin: -50px auto 8px;
    z-index: 11;
}

.user-home-avatar-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid #fff;
    object-fit: cover;
}

.user-home-auth {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 24px;
    height: 24px;
    background: #ff6b9d;
    color: #fff;
    border-radius: 50%;
    border: 3px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.user-home-name-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.user-home-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.user-home-vip {
    display: inline-block;
    padding: 3px 8px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #333;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
}

.user-home-level {
    display: inline-block;
    padding: 3px 8px;
    background: #f0f0f0;
    color: #666;
    border-radius: 4px;
    font-size: 11px;
}

.user-home-status {
    text-align: center;
    color: #999;
    font-size: 13px;
    margin-bottom: 15px;
}

.user-home-stats {
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.user-home-stat-item {
    text-align: center;
}

.user-home-stat-item .stat-value {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 4px;
}

.user-home-stat-item .stat-label {
    font-size: 12px;
    color: #999;
}

.user-home-body {
    max-height: 300px;
    overflow-y: auto;
    background: #fff;
}

.user-home-tabs {
    display: flex;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 20;
}

.user-home-tabs .tab-item {
    flex: 1;
    padding: 12px;
    text-align: center;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
    background: transparent;
}

.user-home-tabs .tab-item.active {
    color: #fff !important;
    background: #ff6b9d !important;
    border-radius: 8px 8px 0 0;
    border-bottom-color: #ff6b9d;
    z-index: 2;
    position: relative;
}

.user-home-tabs .tab-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ff6b9d;
    border-radius: 8px 8px 0 0;
    z-index: -1;
}

.user-home-content {
    padding: 12px;
    background: #fff;
}

.user-home-content .tab-content {
    display: none;
}

.user-home-content .tab-content.active {
    display: block;
}

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

.user-home-photo-item {
    width: 100%;
    padding-top: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.user-home-photo-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-home-footer {
    display: flex;
    gap: 8px;
    padding: 12px;
    background: #fff;
    border-top: 1px solid #f0f0f0;
    position: relative;
    z-index: 10;
}

.btn-secondary {
    flex: 1;
    padding: 12px;
    background: #f5f5f5;
    color: #333;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.3s;
}

.btn-secondary:active {
    background: #e0e0e0;
}

.btn-secondary.active {
    background: #ff6b9d;
    color: #fff;
}

.btn-secondary .btn-icon {
    font-size: 16px;
}

.user-home-footer .btn-primary {
    flex: 2;
    padding: 12px;
    background: #ff6b9d;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.user-home-footer .btn-primary:active {
    opacity: 0.8;
}

/* 聊天窗口样式 */
.modal-chat {
    max-width: 500px;
    width: 100%;
    height: 80vh;
    max-height: 700px;
    display: flex;
    flex-direction: column;
}

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    background: #fff;
    position: relative;
    z-index: 10;
}

.chat-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.chat-user-info img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.chat-user-name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-header .btn-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s;
    z-index: 11;
    position: relative;
}

.chat-header .btn-close:hover {
    color: #ff6b9d;
    background: rgba(255, 107, 157, 0.1);
    border-radius: 50%;
    transform: rotate(90deg);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    background: #f5f5f5;
}

.chat-message {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    animation: fadeIn 0.3s ease-out;
}

.chat-message.self {
    align-items: flex-end;
}

.chat-message.other {
    align-items: flex-start;
}

.message-content {
    max-width: 70%;
    padding: 10px 15px;
    border-radius: 18px;
    word-wrap: break-word;
    font-size: 14px;
    line-height: 1.5;
}

.chat-message.self .message-content {
    background: #ff6b9d;
    color: #fff;
    border-bottom-right-radius: 4px;
}

.chat-message.other .message-content {
    background: #fff;
    color: #333;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.message-content img {
    max-width: 200px;
    border-radius: 8px;
}

.voice-message {
    display: inline-block;
    padding: 8px 12px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
}

.message-time {
    font-size: 11px;
    color: #999;
    margin-top: 5px;
    padding: 0 5px;
}

.chat-input-area {
    border-top: 1px solid #f0f0f0;
    background: #fff;
}

.chat-input-toolbar {
    display: flex;
    gap: 10px;
    padding: 10px 15px;
    border-bottom: 1px solid #f0f0f0;
}

.chat-tool-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: #f5f5f5;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.chat-tool-btn:active {
    background: #e0e0e0;
}

.chat-input-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding: 10px 15px;
}

.chat-input {
    flex: 1;
    min-height: 40px;
    max-height: 120px;
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-size: 14px;
    resize: none;
    font-family: inherit;
    outline: none;
}

.chat-input:focus {
    border-color: #ff6b9d;
}

.chat-send-btn {
    padding: 10px 20px;
    background: #ff6b9d;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s;
}

.chat-send-btn:active {
    opacity: 0.8;
}

/* 视频通话界面样式 */
.modal-video-call {
    max-width: 100%;
    width: 100%;
    height: 100%;
    max-height: 100vh;
    padding: 0;
    background: #000;
    border-radius: 0;
    /* PC端优化 */
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-call-container {
    position: relative;
    width: 100%;
    height: 100vh;
    background: #000;
    overflow: hidden;
}

.video-remote {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 1;
}

.video-remote video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 20; /* 确保视频在占位符之上 */
    background: #000;
}

.video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10; /* 确保在视频之上，但视频播放后会被隐藏 */
}

/* 当有视频时，隐藏占位符 */
.video-remote:has(video) .video-placeholder,
.video-remote video ~ .video-placeholder {
    display: none !important;
}

.video-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 20px;
}

.video-user-name {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.video-status {
    font-size: 16px;
    opacity: 0.9;
}

.video-local {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 120px;
    height: 160px;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    z-index: 2;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

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

.video-placeholder-small {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #333;
    color: #fff;
    font-size: 12px;
}

.video-call-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 3;
}

.video-control-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.video-control-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.video-control-btn.muted {
    background: rgba(255, 0, 0, 0.6);
}

.video-control-hangup {
    background: #ff4444 !important;
}

.video-control-hangup:hover {
    background: #ff6666 !important;
}

/* 视频通话邀请界面 */
.modal-video-invite {
    max-width: 400px;
    width: 90%;
    padding: 40px 30px;
    text-align: center;
}

.video-invite-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-invite-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 3px solid #ff6b9d;
}

.video-invite-name {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.video-invite-type {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.video-invite-actions {
    display: flex;
    gap: 15px;
    width: 100%;
    justify-content: center;
}

.btn-video-reject,
.btn-video-accept {
    flex: 1;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-video-reject {
    background: #f0f0f0;
    color: #333;
}

.btn-video-reject:hover {
    background: #e0e0e0;
}

.btn-video-accept {
    background: #ff6b9d;
    color: #fff;
}

.btn-video-accept:hover {
    background: #ff5a8a;
}

/* 通话结束弹窗样式 */
.modal-call-end {
    max-width: 400px;
    padding: 30px;
    text-align: center;
    background: #fff;
    border-radius: 12px;
}

.call-end-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
}

.call-end-info {
    margin-bottom: 30px;
}

.call-end-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.call-end-label {
    font-size: 16px;
    color: #666;
}

.call-end-value {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.btn-call-end-confirm {
    width: 100%;
    padding: 12px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s;
}

.btn-call-end-confirm:hover {
    opacity: 0.9;
}

.btn-call-end-confirm:active {
    opacity: 0.8;
}

