/* 校园交易平台 - 专业版本 */

:root {
    /* 专业配色方案 */
    --bg-primary: #0a0e13;
    --bg-secondary: #0f1419;
    --bg-tertiary: #1a1f2e;
    --card-bg: #1e2329;
    --card-border: #2d3748;
    --text-primary: #ffffff;
    --text-secondary: #cbd5e0;
    --text-muted: #718096;
    
    /* 沉稳渐变色系 */
    --accent-primary: #667eea;
    --accent-secondary: #764ba2;
    --accent-tertiary: #f093fb;
    --accent-success: #11998e;
    --accent-success-2: #38ef7d;
    --accent-warning: #f7971e;
    --accent-warning-2: #ffd200;
    --accent-danger: #fc4a1a;
    --accent-danger-2: #f7b733;
    
    /* 渐变定义 */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-success: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    --gradient-warning: linear-gradient(135deg, #f7971e 0%, #ffd200 100%);
    --gradient-danger: linear-gradient(135deg, #fc4a1a 0%, #f7b733 100%);
    --gradient-subtle: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    
    /* 阴影系统 */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.2);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.3);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.4);
    --shadow-xl: 0 16px 32px rgba(0,0,0,0.5);
    
    /* 边框半径 */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    /* 间距 */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    
    /* 过渡 */
    --transition: 0.2s ease-out;
}

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

/* 移动端增强 */
html {
    -webkit-tap-highlight-color: rgba(102, 126, 234, 0.2);
    -webkit-touch-callout: none;
    -webkit-text-size-adjust: 100%;
}

body {
    overscroll-behavior-y: none; /* 防止下拉刷新 */
    -webkit-overflow-scrolling: touch; /* iOS平滑滚动 */
}

.hidden { display: none !important; }

body {
    min-height: 100vh;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5;
    padding-bottom: 80px;
    font-size: 14px;
}

/* 顶部导航 */
.top-nav {
    background: rgba(30, 35, 41, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4) var(--space-6);
}

.logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.5px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.user-info span {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
}

.btn-login {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.btn-login:hover {
    background: var(--gradient-subtle);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* 主内容 */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-6);
}

.page {
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.page.active {
    display: block;
}

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

/* 专业卡片系统 */
.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-6);
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: var(--shadow-lg);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-5) var(--space-6);
    border-bottom: 1px solid var(--card-border);
    background: rgba(255, 255, 255, 0.02);
}

.card-header h2 {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 16px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.card-header i {
    color: var(--accent-primary);
    font-size: 16px;
}

.card-body {
    padding: var(--space-6);
}

/* 频道标签 - 专业风格 */
.channel-tabs {
    display: flex;
    gap: 0;
    margin-bottom: var(--space-5);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: var(--space-1);
    border: 1px solid var(--card-border);
}

.channel-tab {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
}

.channel-tab.active {
    background: var(--accent-primary);
    color: white;
    box-shadow: var(--shadow-sm);
}

.channel-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

/* 聊天区域 - 专业设计 */
.chat-messages {
    height: 320px;
    overflow-y: auto;
    padding: var(--space-4);
    background: var(--bg-secondary);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-4);
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: var(--bg-primary);
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

.welcome-message {
    text-align: center;
    padding: var(--space-8) var(--space-4);
    color: var(--text-muted);
}

.welcome-message i {
    font-size: 32px;
    color: var(--accent-primary);
    margin-bottom: var(--space-4);
    opacity: 0.8;
}

.welcome-message h3 {
    color: var(--text-secondary);
    margin-bottom: var(--space-2);
    font-size: 16px;
    font-weight: 600;
}

.welcome-message p {
    font-size: 13px;
    opacity: 0.8;
}

.message {
    display: flex;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
    align-items: flex-start;
    animation: messageSlide 0.3s ease-out;
}

.message:not(.own) .message-content {
    align-items: flex-start;
    text-align: left;
}

.message:not(.own) .message-header {
    justify-content: flex-start;
}

.message.own {
    flex-direction: row-reverse;
    justify-content: flex-start;
}

.message.own .message-content {
    align-items: flex-end;
    text-align: right;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.message.own .message-header {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}

.message.own .message-header .username {
    margin-left: 8px;
}

.message.own .message-header .timestamp {
    margin-right: 0;
}

/* 普通消息气泡样式 */
.message-text {
    background: var(--card-bg);
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: 18px 18px 18px 4px;
    padding: 10px 14px;
    max-width: 70%;
    min-width: auto;
    width: fit-content;
    word-wrap: break-word;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* 自己的消息气泡样式 */
.message.own .message-text {
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 18px 18px 4px 18px;
    padding: 10px 14px;
    max-width: 70%;
    min-width: auto;
    width: fit-content;
    word-wrap: break-word;
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);
    margin-left: auto;
}

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

/* 专业头像系统 */
.avatar-professional {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border: 2px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.avatar-professional i {
    color: white;
    font-size: 16px;
}

.avatar-professional:hover {
    border-color: var(--accent-primary);
    transform: scale(1.05);
}

.contact-avatar-professional {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--card-bg));
    border: 2px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.contact-avatar-professional i {
    color: var(--text-muted);
    font-size: 16px;
}

.contact-avatar-professional:hover {
    border-color: var(--accent-primary);
}

.contact-avatar-professional:hover i {
    color: var(--accent-primary);
}

.profile-avatar-professional {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border: 3px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-3) auto;
    transition: var(--transition);
}

.profile-avatar-professional i {
    color: white;
    font-size: 32px;
}

.profile-avatar-professional:hover {
    border-color: var(--accent-primary);
    transform: scale(1.05);
}

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

.message-header {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-1);
}

.username {
    font-weight: 600;
    color: var(--accent-primary);
    font-size: 13px;
}

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

.message-text {
    color: var(--text-primary);
    line-height: 1.4;
    font-size: 14px;
    word-wrap: break-word;
}

/* 输入区域 - 专业设计 */
.chat-input {
    display: flex;
    gap: var(--space-3);
    align-items: center;
    padding: var(--space-3);
    background: var(--bg-secondary);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
}

.chat-input input {
    flex: 1;
    background: transparent;
    border: none;
    padding: var(--space-3) var(--space-4);
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
}

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

/* 专业按钮系统 */
.btn {
    background: var(--bg-tertiary);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-primary);
    transform: translateY(-1px);
}

.btn.primary {
    background: var(--gradient-primary);
    border: none;
    color: white;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.btn.primary:hover {
    background: var(--gradient-subtle);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn.secondary {
    background: var(--gradient-success);
    border: none;
    color: white;
    box-shadow: 0 2px 8px rgba(17, 153, 142, 0.3);
}

.btn.secondary:hover {
    background: linear-gradient(135deg, #0d7377 0%, #14a085 100%);
    box-shadow: 0 4px 12px rgba(17, 153, 142, 0.4);
}

.btn.danger {
    background: var(--accent-danger);
    border-color: var(--accent-danger);
    color: white;
}

.btn.danger:hover {
    background: #b91c1c;
    border-color: #b91c1c;
}

/* 底部导航 - 专业风格 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(30, 35, 41, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--card-border);
    display: flex;
    justify-content: space-around;
    padding: 8px 0; /* 固定高度 */
    height: 56px; /* 桌面端适中高度 */
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6px 8px; /* 适中尺寸 */
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--radius-md);
    min-width: 60px;
    position: relative;
}

.nav-item:hover {
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-item.active {
    color: var(--accent-primary);
    background: rgba(37, 99, 235, 0.1);
}

.nav-item i {
    font-size: 16px;
    margin-bottom: var(--space-1);
}

.nav-item span {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* 模态框 - 专业设计 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: var(--space-8);
    max-width: 420px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.auth-header {
    text-align: center;
    margin-bottom: var(--space-6);
}

.auth-header h2 {
    color: var(--text-primary);
    margin-bottom: var(--space-2);
    font-size: 20px;
    font-weight: 600;
}

.auth-header p {
    color: var(--text-muted);
    font-size: 14px;
}

/* 表单系统 - 专业风格 */
.form-group {
    margin-bottom: var(--space-5);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-2);
    color: var(--text-primary);
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: var(--space-4);
    background: var(--bg-secondary);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.auth-btn {
    width: 100%;
    padding: var(--space-4);
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.auth-btn:hover {
    background: var(--gradient-subtle);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.auth-footer {
    text-align: center;
    margin-top: var(--space-5);
    padding-top: var(--space-4);
    border-top: 1px solid var(--card-border);
}

.auth-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
}

.auth-link:hover {
    color: var(--accent-secondary);
}

/* 员工评价 - 专业风格 */
.staff-filters {
    background: var(--bg-secondary);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    margin-bottom: var(--space-4);
    display: flex;
    gap: var(--space-4);
    align-items: center;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.filter-group label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 13px;
    min-width: 50px;
}

.staff-item {
    background: var(--bg-secondary);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    margin-bottom: var(--space-3);
    cursor: pointer;
    transition: var(--transition);
}

.staff-item:hover {
    background: rgba(37, 99, 235, 0.05);
    border-color: var(--accent-primary);
}

.staff-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-2);
}

.staff-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.staff-rating {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.rating-stars {
    color: #f59e0b;
    font-size: 12px;
}

.rating-score {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 500;
}

.staff-info {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: var(--space-1);
}

.staff-department {
    color: var(--accent-primary);
    font-weight: 500;
}

.staff-position {
    color: var(--text-secondary);
}

/* 评分输入 */
.rating-input {
    display: flex;
    gap: var(--space-1);
    margin: var(--space-2) 0;
}

.star {
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0.3;
    color: #f59e0b;
}

.star:hover,
.star.active {
    opacity: 1;
    transform: scale(1.1);
}

/* 新闻分类 */
.news-categories {
    display: flex;
    gap: 0;
    margin-bottom: var(--space-4);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: var(--space-1);
    border: 1px solid var(--card-border);
    flex-wrap: wrap;
}

.category-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 500;
    font-size: 13px;
    transition: var(--transition);
    flex: 1;
    text-align: center;
}

.category-btn.active {
    background: var(--accent-primary);
    color: white;
}

.category-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

/* 新闻列表 */
.news-item {
    padding: var(--space-4);
    border-bottom: 1px solid var(--card-border);
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-2);
}

.news-item:hover {
    background: rgba(37, 99, 235, 0.03);
}

.news-item h3 {
    color: var(--text-primary);
    margin-bottom: var(--space-2);
    font-size: 15px;
    font-weight: 600;
}

.news-item p {
    color: var(--text-secondary);
    margin-bottom: var(--space-2);
    font-size: 13px;
    line-height: 1.5;
}

.news-date {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 个人资料 - 专业风格 */
.profile-info {
    text-align: center;
}

.avatar-section {
    margin-bottom: var(--space-6);
}

/* 已移至专业头像系统 */

.avatar-section h3 {
    color: var(--text-primary);
    margin-bottom: var(--space-1);
    font-size: 18px;
    font-weight: 600;
}

.wallet-section {
    background: rgba(37, 99, 235, 0.05);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--radius-md);
    padding: var(--space-5);
    margin-bottom: var(--space-5);
}

.balance-display {
    margin-bottom: var(--space-4);
}

.balance-label {
    display: block;
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: var(--space-1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.balance-amount {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-primary);
}

.wallet-actions {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
}

/* 联系人列表 */
.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: var(--space-1);
}

.contact-item:hover {
    background: rgba(37, 99, 235, 0.05);
}

/* 已移至专业头像系统 */

.contact-info {
    flex: 1;
}

.contact-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
    font-size: 14px;
}

.contact-last-message {
    font-size: 12px;
    color: var(--text-muted);
}

.contact-time {
    font-size: 11px;
    color: var(--text-muted);
}

/* 空状态 */
.empty-state,
.no-contacts {
    text-align: center;
    padding: var(--space-8) var(--space-4);
    color: var(--text-muted);
}

.empty-state i,
.no-contacts i {
    font-size: 32px;
    color: var(--accent-primary);
    margin-bottom: var(--space-4);
    opacity: 0.6;
}

.empty-state p,
.no-contacts p {
    margin-bottom: var(--space-1);
    font-weight: 500;
}

.empty-state small,
.no-contacts small {
    font-size: 12px;
    opacity: 0.8;
}

/* 响应式设计 - 移动端优先优化 */
@media (max-width: 768px) {
    /* 基础布局 */
    .main-content {
        padding: var(--space-2) var(--space-2);
        padding-bottom: 80px; /* 为底部导航留空间 */
    }
    
    /* 顶部导航优化 */
    .top-nav {
        height: 56px;
    }
    
    .nav-content {
        padding: var(--space-2) var(--space-3);
        height: 56px;
    }
    
    .logo {
        font-size: 17px;
    }
    
    .user-info {
        gap: var(--space-2);
    }
    
    .user-info span {
        font-size: 14px;
        max-width: 80px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .btn-login {
        min-height: 36px;
        padding: 8px 14px;
        font-size: 14px;
    }
    
    /* 底部导航优化 - 适中的触控区域 */
    .bottom-nav {
        height: 50px; /* 适中的高度 */
        padding: 0;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-item {
        padding: 6px 8px;
        min-height: 50px; /* 适中的触控区域 */
        transition: all 0.2s ease;
        position: relative;
    }
    
    .nav-item:active {
        transform: scale(0.95); /* 按压反馈 */
        background: rgba(102, 126, 234, 0.1);
    }
    
    .nav-item i {
        font-size: 20px; /* 适中的图标大小 */
        margin-bottom: 2px;
    }
    
    .nav-item span {
        font-size: 11px;
        font-weight: 500;
    }
    
    /* 模态框优化 - 接近全屏 */
    .modal-content {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        margin: 0;
        border-radius: 0;
        padding: var(--space-4);
        display: flex;
        flex-direction: column;
    }
    
    .modal-content h2 {
        font-size: 18px;
        margin-bottom: var(--space-3);
    }
    
    .modal-content form,
    .modal-content .modal-body {
        flex: 1;
        overflow-y: auto;
        margin-bottom: var(--space-4);
    }
    
    .modal-content .form-actions,
    .modal-content .modal-footer {
        margin-top: auto;
        padding-top: var(--space-3);
        border-top: 1px solid var(--card-border);
        position: sticky;
        bottom: 0;
        background: var(--card-bg);
    }
    
    /* 卡片布局优化 - 单列 */
    .staff-grid,
    .news-list {
        grid-template-columns: 1fr !important;
        gap: var(--space-3);
    }
    
    .staff-card,
    .news-item {
        padding: var(--space-4);
    }
    
    .staff-card:active,
    .news-item:active {
        transform: scale(0.98);
    }
    
    /* 按钮优化 */
    .btn,
    .btn-primary,
    .btn-secondary,
    .btn-login {
        min-height: 44px; /* iOS推荐的最小触控高度 */
        padding: 12px 20px;
        font-size: 16px; /* 防止iOS自动缩放 */
    }
    
    /* 输入框优化 */
    input,
    textarea,
    select {
        font-size: 16px; /* 防止iOS自动缩放 */
        min-height: 44px;
        padding: 12px;
    }
    
    textarea {
        min-height: 100px;
    }
    
    /* 其他组件 */
    .wallet-actions {
        flex-direction: column;
        gap: var(--space-3);
    }
    
    .wallet-actions .btn {
        width: 100%;
    }
    
    .staff-filters {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-3);
    }
    
    .filter-group {
        width: 100%;
    }
    
    .channel-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch; /* iOS平滑滚动 */
    }
    
    .channel-tabs .tab-btn {
        flex-shrink: 0;
        min-width: 80px;
    }
    
    .news-categories {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    
    .news-categories .category-btn {
        flex-shrink: 0;
        min-width: 70px;
    }
}

/* 加载更多 */
.load-more {
    text-align: center;
    margin-top: var(--space-4);
    padding-top: var(--space-4);
    border-top: 1px solid var(--card-border);
}

/* 私聊页面 - 移动端单面板设计 */
.contact-list-view {
    height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.contact-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4);
    background: var(--gradient-primary);
    color: white;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.contact-header h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.header-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.header-btn:hover {
    background: rgba(255,255,255,0.3);
}

.contact-search {
    padding: var(--space-3);
    border-bottom: 1px solid var(--card-border);
    position: relative;
}

.contact-search input {
    width: 100%;
    padding: 10px 40px 10px 14px;
    border: 1px solid var(--card-border);
    border-radius: 20px;
    background: var(--bg-secondary);
    font-size: 14px;
}

.contact-search i {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.qq-contact-list {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* 聊天对话视图 */
.chat-view {
    height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.chat-header {
    display: flex;
    align-items: center;
    padding: var(--space-3);
    background: var(--gradient-primary);
    color: white;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    gap: var(--space-3);
}

.back-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.back-btn:hover {
    background: rgba(255,255,255,0.3);
}

.chat-user-info {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex: 1;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.user-details h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.user-details span {
    font-size: 12px;
    opacity: 0.8;
}

.chat-menu-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.chat-messages-container {
    flex: 1;
    padding: var(--space-3);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--bg-secondary);
}

.chat-input-area {
    padding: var(--space-3);
    background: var(--card-bg);
    border-top: 1px solid var(--card-border);
}

.input-wrapper {
    display: flex;
    align-items: flex-end;
    gap: var(--space-2);
}

.input-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--card-border);
    color: var(--text-muted);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.input-btn:hover {
    background: var(--accent-primary);
    color: white;
}

.message-input {
    flex: 1;
    min-height: 36px;
    max-height: 100px;
    padding: 10px 14px;
    border: 1px solid var(--card-border);
    border-radius: 18px;
    background: var(--card-bg);
    resize: none;
    font-size: 16px; /* 增大字体 */
    line-height: 1.5;
    color: var(--text-primary); /* 确保文字颜色 */
    font-family: inherit;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.message-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

.message-input::placeholder {
    color: var(--text-muted);
    opacity: 0.8;
}

/* 表情选择器 */
.emoji-picker {
    position: absolute;
    bottom: 65px;
    left: 12px;
    width: 320px;
    max-width: calc(100vw - 24px);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    z-index: 1000;
    animation: emojiSlideUp 0.2s ease-out;
}

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

.emoji-tabs {
    display: flex;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--card-border);
    padding: 8px;
    gap: 4px;
    overflow-x: auto;
}

.emoji-tab {
    background: transparent;
    border: none;
    font-size: 20px;
    padding: 6px 10px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s;
    min-width: 38px;
}

.emoji-tab:hover {
    background: var(--card-bg);
}

.emoji-tab.active {
    background: var(--accent-primary);
    transform: scale(1.1);
}

.emoji-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 4px;
    padding: 12px;
    max-height: 240px;
    overflow-y: auto;
}

.emoji-item {
    font-size: 24px;
    padding: 8px;
    text-align: center;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.15s;
    user-select: none;
}

.emoji-item:hover {
    background: var(--bg-secondary);
    transform: scale(1.3);
}

.emoji-item:active {
    transform: scale(1.1);
}

.send-btn {
    background: var(--accent-primary);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.send-btn:hover {
    background: var(--accent-secondary);
}

/* 私聊模态框 */
.private-chat-modal {
    max-width: 500px;
    width: 95%;
    max-height: 80vh;
}

.private-chat-messages {
    height: 300px;
    overflow-y: auto;
    padding: var(--space-4);
    background: var(--bg-secondary);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-4);
}

.close-btn {
    position: absolute;
    top: var(--space-4);
    right: var(--space-5);
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.close-btn:hover {
    color: var(--text-primary);
}

/* QQ风格聊天界面 */
.qq-chat-container {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 160px);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.qq-chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--gradient-primary);
    color: white;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.chat-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-title i {
    font-size: 16px;
}

.chat-title span {
    font-weight: 600;
    font-size: 16px;
}

.member-count {
    font-size: 12px;
    opacity: 0.8;
    margin-left: 8px;
}

.chat-hint {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.9);
    margin-right: 12px;
    font-style: italic;
    font-weight: 300;
    white-space: nowrap;
}

.chat-actions .header-btn {
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.chat-actions .header-btn:hover {
    background: rgba(255,255,255,0.2);
}

.qq-channel-tabs {
    display: flex;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--card-border);
    padding: 4px;
    gap: 2px;
}

.qq-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 13px;
    font-weight: 500;
}

.qq-tab:hover {
    background: rgba(255,255,255,0.05);
    color: var(--text-secondary);
}

.qq-tab.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

.qq-tab i {
    font-size: 14px;
}

.qq-chat-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.qq-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    background: var(--bg-primary);
}

.qq-welcome {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.welcome-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.qq-welcome h3 {
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 18px;
}

.qq-welcome .channel-name {
    color: var(--accent-primary);
    font-weight: 600;
}

.qq-input-area {
    border-top: 1px solid var(--card-border);
    background: var(--card-bg);
}

.input-toolbar {
    display: flex;
    gap: 4px;
    padding: 8px 12px;
    border-bottom: 1px solid var(--card-border);
}

.toolbar-btn {
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.toolbar-btn:hover {
    background: rgba(255,255,255,0.05);
    color: var(--text-secondary);
}

.input-box {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-box textarea {
    background: var(--bg-secondary);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 12px;
    color: var(--text-primary);
    font-size: 14px;
    resize: none;
    outline: none;
    transition: var(--transition);
    font-family: inherit;
}

.input-box textarea:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

.input-box textarea::placeholder {
    color: var(--text-muted);
}

.input-actions {
    display: flex;
    justify-content: flex-end;
}

.qq-send-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: var(--transition);
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);
}

.qq-send-btn:hover {
    background: var(--gradient-subtle);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* QQ风格私聊界面 */
.qq-private-container {
    display: flex;
    height: calc(100vh - 160px);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.qq-contact-sidebar {
    width: 280px;
    background: var(--bg-secondary);
    border-right: 1px solid var(--card-border);
    display: flex;
    flex-direction: column;
}

.contact-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--card-border);
    background: var(--card-bg);
}

.contact-header h3 {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-header i {
    color: var(--accent-primary);
    font-size: 14px;
}

.contact-search {
    padding: 12px;
    position: relative;
}

.contact-search input {
    width: 100%;
    background: var(--bg-primary);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 8px 16px 8px 36px;
    color: var(--text-primary);
    font-size: 13px;
    outline: none;
    transition: var(--transition);
}

.contact-search input:focus {
    border-color: var(--accent-primary);
}

.contact-search i {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 12px;
}

.qq-contact-list {
    flex: 1;
    overflow-y: auto;
    padding: 8px;
}

.qq-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 2px;
}

.qq-contact-item:hover {
    background: rgba(255,255,255,0.05);
}

.qq-contact-item.active {
    background: var(--accent-primary);
    color: white;
}

.qq-contact-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);
}

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

.qq-contact-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
    color: var(--text-primary);
}

.qq-contact-message {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.qq-contact-time {
    font-size: 11px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.qq-no-contacts {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.empty-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 16px;
    background: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    font-size: 20px;
}

.qq-no-contacts p {
    margin-bottom: 4px;
    font-weight: 500;
}

.qq-chat-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--bg-primary);
}

.qq-chat-placeholder {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-content {
    text-align: center;
    color: var(--text-muted);
}

.placeholder-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--card-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    font-size: 32px;
}

.placeholder-content h3 {
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 18px;
}

/* 私聊聊天区域 */
.qq-private-chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--card-bg);
    border-bottom: 1px solid var(--card-border);
}

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

.user-details h3 {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 2px 0;
}

.user-status {
    font-size: 12px;
    color: var(--accent-success);
}

.qq-private-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    background: var(--bg-primary);
}

.qq-private-input {
    border-top: 1px solid var(--card-border);
    background: var(--card-bg);
}

/* QQ风格消息样式 */
.qq-message {
    display: flex;
    margin-bottom: 16px;
    align-items: flex-start;
    gap: 12px;
    animation: messageSlideIn 0.3s ease-out;
}

.qq-message.own {
    flex-direction: row-reverse;
}

.qq-message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

.qq-message-content {
    max-width: 60%;
    display: flex;
    flex-direction: column;
}

.qq-message.own .qq-message-content {
    align-items: flex-end;
}

.qq-message-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    font-size: 12px;
    color: var(--text-muted);
}

.qq-message.own .qq-message-info {
    flex-direction: row-reverse;
}

.qq-message-bubble {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 12px 16px;
    color: var(--text-primary);
    line-height: 1.4;
    position: relative;
    word-wrap: break-word;
}

.qq-message.own .qq-message-bubble {
    background: var(--gradient-primary);
    color: white;
    border: none;
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);
}

.qq-message-bubble::before {
    content: '';
    position: absolute;
    top: 12px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
}

.qq-message-bubble::before {
    left: -12px;
    border-right-color: var(--card-bg);
}

.qq-message.own .qq-message-bubble::before {
    left: auto;
    right: -12px;
    border-left-color: var(--accent-primary);
    border-right-color: transparent;
}

/* 响应式适配 */
@media (max-width: 768px) {
    /* 聊天容器优化 - 占满屏幕 */
    .qq-chat-container,
    .qq-private-container {
        height: calc(100vh - 120px); /* 顶部导航60px + 底部导航60px */
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    .qq-chat-header {
        padding: 14px 16px;
        position: sticky;
        top: 0;
        z-index: 10;
    }
    
    /* 聊天消息区优化 */
    .qq-messages-container {
        padding: var(--space-3) var(--space-2);
    }
    
    .message {
        max-width: 85%; /* 移动端稍微宽一点 */
        margin-bottom: var(--space-3);
    }
    
    .message-bubble {
        padding: 10px 14px;
        font-size: 15px;
        line-height: 1.5;
        word-break: break-word;
    }
    
    /* 输入区优化 - 更好的键盘体验 */
    .qq-input-area {
        padding: 12px;
        background: var(--card-bg);
        border-top: 1px solid var(--card-border);
        position: sticky;
        bottom: 0;
        z-index: 10;
    }
    
    .qq-input-wrapper {
        gap: 8px;
    }
    
    .qq-message-input,
    .message-input {
        min-height: 42px;
        max-height: 120px;
        font-size: 16px !important; /* 防止iOS缩放 */
        padding: 12px 16px;
        border-radius: 20px;
        background: var(--card-bg) !important;
        color: var(--text-primary) !important;
        border: 1px solid var(--card-border);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }
    
    .message-input:focus {
        border-color: var(--accent-primary) !important;
        box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2) !important;
    }
    
    /* 表情选择器移动端适配 */
    .emoji-picker {
        width: calc(100vw - 24px);
        left: 12px;
        right: 12px;
    }
    
    .emoji-grid {
        grid-template-columns: repeat(7, 1fr);
        max-height: 200px;
    }
    
    .emoji-item {
        font-size: 26px;
        padding: 10px 6px;
    }
    
    .emoji-tabs {
        padding: 6px;
    }
    
    .emoji-tab {
        font-size: 22px;
        padding: 8px 12px;
    }
    
    .qq-send-btn {
        min-width: 60px;
        height: 42px;
        font-size: 15px;
        padding: 0 18px;
        border-radius: 20px;
    }
    
    /* 联系人侧边栏优化 */
    .qq-contact-sidebar {
        width: 280px;
    }
    
    .qq-tab {
        padding: 12px 10px;
        font-size: 14px;
    }
    
    .qq-tab span {
        display: inline; /* 移动端也显示文字 */
    }
    
    .qq-tab i {
        font-size: 18px;
    }
    
    /* 联系人列表优化 */
    .qq-contact-item {
        padding: 12px;
        min-height: 64px;
    }
    
    .contact-avatar {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    
    .contact-name {
        font-size: 15px;
    }
    
    .contact-preview {
        font-size: 13px;
    }
    
    .input-box textarea {
        rows: 2;
    }
}

/* 滚动条全局样式 */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 3px;
    opacity: 0.5;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
    opacity: 0.8;
}

/* 个人统计面板样式 */
.profile-stats-section {
    margin-top: var(--space-6);
    padding: var(--space-5);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.profile-stats-section h3 {
    color: var(--text-primary);
    font-size: 18px;
    margin-bottom: var(--space-5);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.profile-stats-section h3 i {
    color: var(--accent-primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.stat-card {
    display: flex;
    align-items: center;
    padding: var(--space-4);
    background: var(--bg-secondary);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    gap: var(--space-4);
}

.stat-card:hover {
    background: var(--bg-tertiary);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon i {
    font-size: 20px;
    color: white;
}

.stat-content {
    flex: 1;
}

.stat-value {
    color: var(--text-primary);
    font-size: 24px;
    font-weight: bold;
    margin-bottom: var(--space-1);
    line-height: 1;
}

.stat-label {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
}

/* 统计图表样式 */
.stats-charts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-5);
    margin-top: var(--space-6);
}

.chart-section {
    background: var(--bg-secondary);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: var(--space-4);
}

.chart-section h4 {
    color: var(--text-primary);
    font-size: 16px;
    margin-bottom: var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.chart-section h4 i {
    color: var(--accent-primary);
}

.chart-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    background: var(--card-bg);
    border-radius: var(--radius-sm);
    padding: var(--space-3);
}

.chart-container canvas {
    max-width: 100%;
    height: auto;
}

/* 帮助与反馈样式 */
.help-feedback-section {
    margin-top: var(--space-6);
    padding: var(--space-5);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.help-feedback-section h3 {
    color: var(--text-primary);
    font-size: 18px;
    margin-bottom: var(--space-5);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.help-feedback-section h3 i {
    color: var(--accent-primary);
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-4);
}

.help-item {
    display: flex;
    align-items: center;
    padding: var(--space-4);
    background: var(--bg-secondary);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    gap: var(--space-4);
}

.help-item:hover {
    background: var(--bg-tertiary);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.help-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.help-icon i {
    font-size: 20px;
    color: white;
}

.help-content h4 {
    color: var(--text-primary);
    font-size: 16px;
    margin: 0 0 var(--space-1) 0;
    font-weight: 600;
}

.help-content p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
}

/* FAQ 样式 */
.faq-section {
    margin-bottom: var(--space-6);
}

.faq-section h3 {
    color: var(--text-primary);
    font-size: 18px;
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-2);
    border-bottom: 2px solid var(--accent-primary);
}

.faq-item {
    margin-bottom: var(--space-3);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-question {
    padding: var(--space-4);
    background: var(--bg-secondary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-tertiary);
}

.faq-question span {
    color: var(--text-primary);
    font-weight: 500;
}

.faq-question i {
    color: var(--accent-primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 var(--space-4);
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--card-bg);
}

.faq-item.active .faq-answer {
    padding: var(--space-4);
    max-height: 200px;
}

.faq-answer p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* 教程样式 */
.tutorial-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.tutorial-step {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-4);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent-primary);
}

.step-number {
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--text-primary);
    margin: 0 0 var(--space-2) 0;
    font-size: 16px;
}

.step-content p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* 反馈表单样式 */
.feedback-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.feedback-form .form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.feedback-form label {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 14px;
}

.feedback-form select,
.feedback-form input,
.feedback-form textarea {
    padding: var(--space-3);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.feedback-form select:focus,
.feedback-form input:focus,
.feedback-form textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

.feedback-form textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.feedback-form .form-actions {
    display: flex;
    gap: var(--space-3);
    justify-content: flex-end;
    margin-top: var(--space-4);
}

/* 联系客服样式 */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.contact-method {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
    background: var(--bg-secondary);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: var(--bg-tertiary);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 20px;
    color: white;
}

.contact-info h4 {
    color: var(--text-primary);
    margin: 0 0 var(--space-1) 0;
    font-size: 16px;
    font-weight: 600;
}

.contact-info p {
    color: var(--text-primary);
    margin: 0 0 var(--space-1) 0;
    font-size: 16px;
    font-weight: 500;
}

.contact-info small {
    color: var(--text-muted);
    font-size: 12px;
}

.contact-tips {
    background: var(--bg-secondary);
    padding: var(--space-4);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent-warning);
}

.contact-tips h4 {
    color: var(--text-primary);
    margin: 0 0 var(--space-3) 0;
    font-size: 16px;
}

.contact-tips ul {
    margin: 0;
    padding-left: var(--space-4);
    color: var(--text-secondary);
}

.contact-tips li {
    margin-bottom: var(--space-2);
    line-height: 1.5;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .help-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3);
    }
    
    .help-item {
        padding: var(--space-3);
    }
    
    .help-icon {
        width: 40px;
        height: 40px;
    }
    
    .help-icon i {
        font-size: 18px;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
        gap: var(--space-3);
    }
    
    .contact-method {
        padding: var(--space-3);
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
    }
    
    .contact-icon i {
        font-size: 18px;
    }
    
    .feedback-form .form-actions {
        flex-direction: column;
    }
    
    .tutorial-step {
        padding: var(--space-3);
    }
    
    .step-number {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
}

/* ==========================================
   虎扑评分界面样式
   ========================================== */

/* 大模态框 */
.large-modal {
    max-width: 900px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
}

/* 虎扑评分区域 */
.hupu-score-section {
    margin-bottom: var(--space-6);
}

.score-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    box-shadow: var(--shadow-md);
}

.score-header {
    margin-bottom: var(--space-4);
}

.score-title {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
}

.score-title::before {
    content: "⭐";
    margin-right: var(--space-2);
    font-size: 20px;
}

.score-content {
    display: flex;
    gap: var(--space-6);
    align-items: flex-start;
}

/* 左侧总分区域 */
.score-main {
    flex: 0 0 auto;
    text-align: center;
    min-width: 120px;
}

.score-number {
    font-size: 48px;
    font-weight: bold;
    color: var(--accent-warning);
    line-height: 1;
    margin-bottom: var(--space-2);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.score-info {
    margin-bottom: var(--space-4);
}

.review-count {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
}

/* 评分分布条形图 */
.score-distribution {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 14px;
}

.rating-bar .stars {
    color: var(--accent-warning);
    width: 60px;
    flex-shrink: 0;
    font-size: 12px;
}

.bar-container {
    flex: 1;
    height: 8px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-warning), var(--accent-warning-2));
    border-radius: var(--radius-sm);
    transition: width 0.3s ease;
    min-width: 0;
}

.rating-bar .percentage {
    color: var(--text-secondary);
    width: 40px;
    text-align: right;
    flex-shrink: 0;
    font-size: 12px;
}

/* 用户评分输入区域 */
.user-rating-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: var(--space-5);
    padding-top: var(--space-4);
    border-top: 1px solid var(--card-border);
}

.user-stars {
    display: flex;
    gap: var(--space-1);
}

.user-stars .star {
    font-size: 24px;
    color: #ddd;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.user-stars .star:hover,
.user-stars .star.active {
    color: var(--accent-warning);
    transform: scale(1.1);
}

.user-stars .star.active {
    text-shadow: 0 0 8px rgba(247, 151, 30, 0.5);
}

.rate-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.rate-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.rate-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* 评论区域 */
.comments-section {
    margin-top: var(--space-6);
}

.comments-tab-section {
    margin-bottom: var(--space-6);
}

.comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--card-border);
}

.comments-title {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
}

.comments-count {
    color: var(--text-muted);
    font-weight: 400;
    margin-left: var(--space-2);
}

.comments-sort {
    display: flex;
    gap: var(--space-2);
}

.sort-btn {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--card-border);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-sm);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sort-btn:hover {
    color: var(--text-primary);
    border-color: var(--accent-primary);
}

.sort-btn.active {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

/* 评论列表 */
.comments-list {
    min-height: 100px;
}

.no-comments {
    text-align: center;
    padding: var(--space-8) var(--space-4);
    color: var(--text-muted);
}

.no-comments i {
    font-size: 48px;
    margin-bottom: var(--space-3);
    opacity: 0.5;
}

.no-comments p {
    margin: 0;
    font-size: 14px;
}

/* 评论项样式 */
.comment-item {
    background: var(--bg-secondary);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    margin-bottom: var(--space-3);
    transition: all 0.3s ease;
}

.comment-item:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-sm);
}

.comment-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
}

.comment-avatar {
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 12px;
}

.comment-user {
    flex: 1;
}

.comment-username {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
    margin: 0 0 2px 0;
}

.comment-rating {
    color: var(--accent-warning);
    font-size: 12px;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    font-size: 12px;
    color: var(--text-muted);
}

.comment-time {
    margin: 0;
}

.comment-location {
    margin: 0;
}

.comment-content {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 var(--space-3) 0;
    font-size: 14px;
}

.comment-actions {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-4);
}

.comment-action {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 12px;
    cursor: pointer;
    padding: var(--space-1);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.comment-action:hover {
    color: var(--accent-primary);
    background: var(--bg-tertiary);
}

.comment-action i {
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* 大型模态框（虎扑评分）优化 */
    .large-modal {
        width: 100%;
        max-width: 100%;
        height: 100%;
        max-height: 100%;
        margin: 0;
        border-radius: 0;
    }
    
    .large-modal .modal-content {
        height: 100%;
        padding: var(--space-3);
    }
    
    /* 虎扑评分区优化 */
    .hupu-score-section {
        padding: var(--space-4) var(--space-3);
    }
    
    .score-content {
        flex-direction: column;
        gap: var(--space-3);
    }
    
    .score-card {
        min-width: auto;
        width: 100%;
    }
    
    .score-main {
        text-align: center;
        padding: var(--space-4);
    }
    
    .score-number {
        font-size: 42px;
    }
    
    .score-stars {
        gap: 4px;
    }
    
    .score-stars i {
        font-size: 16px;
    }
    
    /* 评分分布优化 */
    .score-distribution {
        padding: var(--space-3);
    }
    
    .distribution-item {
        gap: var(--space-2);
    }
    
    .rating-bar {
        height: 8px;
    }
    
    /* 用户评分区优化 */
    .user-rating-section {
        padding: var(--space-4) var(--space-3);
    }
    
    .user-stars {
        gap: 12px; /* 增大间距便于点击 */
    }
    
    .user-stars i {
        font-size: 32px; /* 增大星星便于点击 */
        padding: 8px;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    
    .user-stars i:active {
        transform: scale(1.2);
    }
    
    .rate-btn {
        width: 100%;
        min-height: 48px;
        font-size: 16px;
        margin-top: var(--space-3);
    }
    
    /* 评论区优化 */
    .comments-section {
        padding: 0;
    }
    
    .comments-header {
        padding: var(--space-3);
        flex-wrap: wrap;
        gap: var(--space-2);
    }
    
    .comments-sort {
        width: 100%;
        justify-content: flex-start;
        gap: var(--space-2);
    }
    
    .sort-btn {
        min-height: 36px;
        padding: 8px 14px;
        font-size: 14px;
    }
    
    .comment-item {
        padding: var(--space-3);
    }
    
    .comment-avatar {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .comment-author {
        font-size: 14px;
    }
    
    .comment-text {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .comment-actions {
        gap: var(--space-4);
    }
    
    .comment-action {
        min-height: 36px;
        padding: 6px 10px;
    }
    
    .score-number {
        font-size: 36px;
    }
    
    .user-rating-section {
        flex-direction: column;
        gap: var(--space-3);
        align-items: stretch;
    }
    
    .user-stars {
        justify-content: center;
    }
    
    .rate-btn {
        align-self: center;
        min-width: 120px;
    }
    
    .comments-header {
        flex-direction: column;
        gap: var(--space-3);
        align-items: stretch;
    }
    
    .comments-sort {
        justify-content: center;
    }
    
    .comment-item {
        padding: var(--space-3);
    }
    
    .comment-header {
        gap: var(--space-2);
    }
    
    .comment-avatar {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
}

/* ==========================================
   多媒体评价功能样式
   ========================================== */

/* 表单操作按钮 */
.form-actions {
    display: flex;
    gap: var(--space-3);
    justify-content: flex-end;
    margin-top: var(--space-5);
    padding-top: var(--space-4);
    border-top: 1px solid var(--card-border);
}

.form-actions .auth-btn {
    flex: 0 0 auto;
}

.form-actions .btn.secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--card-border);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-actions .btn.secondary:hover {
    color: var(--text-primary);
    border-color: var(--accent-primary);
}

/* 多媒体上传区域 */
.media-upload-section {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-top: var(--space-3);
}

.media-upload-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.media-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border: 2px dashed var(--card-border);
    padding: var(--space-4);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.media-upload-btn:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border-color: var(--accent-primary);
}

.media-upload-btn i {
    font-size: 16px;
}

.media-upload-btn.voice-btn {
    background: var(--accent-danger);
    color: white;
    border-color: var(--accent-danger);
    border-style: solid;
}

.media-upload-btn.voice-btn:hover {
    background: var(--accent-danger-2);
    border-color: var(--accent-danger-2);
}

.media-upload-btn.voice-btn.recording {
    background: var(--accent-success);
    border-color: var(--accent-success);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* 图片预览容器 */
.image-preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-top: var(--space-2);
}

.image-preview-item {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--card-border);
}

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

.image-preview-item .remove-btn {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--accent-danger);
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 10px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.image-preview-item .remove-btn:hover {
    opacity: 1;
}

/* 语音控制区域 */
.voice-controls {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-top: var(--space-2);
    padding: var(--space-3);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--card-border);
}

.voice-timer {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'Courier New', monospace;
}

.voice-actions {
    display: flex;
    justify-content: center;
    gap: var(--space-3);
}

.voice-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.voice-action-btn.stop-btn {
    background: var(--accent-danger);
    color: white;
}

.voice-action-btn.play-btn {
    background: var(--accent-success);
    color: white;
}

.voice-action-btn.delete-btn {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
}

.voice-action-btn:hover {
    transform: scale(1.1);
}

.voice-action-btn.stop-btn:hover {
    background: var(--accent-danger-2);
}

.voice-action-btn.play-btn:hover {
    background: var(--accent-success-2);
}

.voice-action-btn.delete-btn:hover {
    background: var(--accent-danger);
    color: white;
}

/* 评论中的多媒体内容 */
.comment-media {
    margin-top: var(--space-3);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.comment-images {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.comment-image {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--card-border);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.comment-image:hover {
    transform: scale(1.05);
}

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

.comment-voice {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2);
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    border: 1px solid var(--card-border);
}

.comment-voice-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent-primary);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
}

.comment-voice-btn:hover {
    background: var(--accent-secondary);
    transform: scale(1.1);
}

.comment-voice-duration {
    font-size: 12px;
    color: var(--text-muted);
    font-family: 'Courier New', monospace;
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* 媒体上传优化 */
    .media-upload-section {
        gap: var(--space-3);
    }
    
    .media-upload-btn {
        min-height: 44px;
        padding: var(--space-3);
        font-size: 14px;
    }
    
    .image-preview-container {
        gap: var(--space-2);
    }
    
    .image-preview-item {
        width: 70px;
        height: 70px;
        height: 60px;
    }
    
    .voice-controls {
        padding: var(--space-2);
    }
    
    .voice-action-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .comment-image {
        width: 50px;
        height: 50px;
    }
    
    .comment-voice-btn {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
}