/* ==================== 变量定义 ==================== */
:root {
  --primary: #c41e3a;
  --primary-light: #e8384f;
  --primary-dark: #a01830;
  --gradient-1: linear-gradient(135deg, #c41e3a, #ff6b6b);
  --gradient-2: linear-gradient(135deg, #1e3a5f, #3b82f6);
  --glow: 0 0 30px rgba(196, 30, 58, 0.3);
  
  /* 浅色主题变量 */
  --bg: #f5f5f5;
  --bg-2: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.95);
  --bg-card-solid: #ffffff;
  --bg-input: #f8f9fa;
  --text: #1a1a2e;
  --text-secondary: #4a4a5a;
  --text-muted: #9090a0;
  --border: #e0e0e0;
  --border-hover: #c0c0c0;
  --link: #1a5f8a;
  --link-hover: #c41e3a;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 40px rgba(0, 0, 0, 0.12);
}

/* 深色主题 */
[data-theme="dark"] {
  --bg: #0a0e1a;
  --bg-2: #111827;
  --bg-card: rgba(17, 24, 39, 0.95);
  --bg-card-solid: #111827;
  --bg-input: rgba(0, 0, 0, 0.3);
  --text: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(255, 255, 255, 0.2);
  --link: #60a5fa;
  --link-hover: #c41e3a;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 8px 40px rgba(0, 0, 0, 0.5);
}

/* ==================== 基础样式 ==================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
  transition: background 0.3s, color 0.3s;
}

a { color: var(--link); text-decoration: none; transition: all 0.3s; }
a:hover { color: var(--link-hover); }

/* ==================== 动态背景 ==================== */
.bg-effects {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

[data-theme="dark"] .bg-effects { display: block; }
body:not([data-theme="dark"]) .bg-effects { display: none; }

.bg-gradient {
  position: absolute;
  width: 150%;
  height: 150%;
  top: -25%;
  left: -25%;
  background: 
    radial-gradient(ellipse at 20% 0%, rgba(196, 30, 58, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
  animation: bgFloat 30s ease-in-out infinite;
}

@keyframes bgFloat {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(1%, 1%); }
  66% { transform: translate(-1%, 0.5%); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 20s infinite;
}

@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(100vh); }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { opacity: 0; transform: translateY(-10vh); }
}

/* ==================== 主题切换按钮 ==================== */
.theme-toggle {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.theme-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg-card-solid);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.3s;
  box-shadow: var(--shadow);
}

.theme-btn:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-hover);
}

.theme-btn.active {
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(196, 30, 58, 0.3);
}

/* ==================== 顶部栏 ==================== */
.topbar {
  background: var(--bg-card-solid);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  font-size: 13px;
  position: relative;
  z-index: 100;
  transition: all 0.3s;
}

.topbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-left, .topbar-right { display: flex; gap: 20px; align-items: center; }
.topbar a { color: var(--text-secondary); }
.topbar a:hover { color: var(--text); }
.topbar .divider { color: var(--border); }

.topbar-date {
  background: rgba(196, 30, 58, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  color: var(--primary);
}

/* ==================== Logo 区域 ==================== */
.header {
  position: relative;
  z-index: 50;
  padding: 25px 0;
  background: var(--bg-card-solid);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-icon {
  width: 65px;
  height: 65px;
  background: var(--gradient-1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 36px;
  font-weight: bold;
  box-shadow: var(--glow);
  animation: logoGlow 3s ease-in-out infinite;
  transition: all 0.3s;
}

@keyframes logoGlow {
  0%, 100% { box-shadow: 0 0 30px rgba(196, 30, 58, 0.3); }
  50% { box-shadow: 0 0 50px rgba(196, 30, 58, 0.5); }
}

.logo-text {
  font-size: 32px;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  letter-spacing: 3px;
}

.logo-sub {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 2px;
}

.header-search {
  flex: 1;
  display: flex;
  max-width: 550px;
  position: relative;
}

.search-input {
  flex: 1;
  padding: 14px 20px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 50px 0 0 50px;
  font-size: 14px;
  color: var(--text);
  transition: all 0.3s;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(196, 30, 58, 0.2);
}

.search-btn {
  padding: 14px 30px;
  background: var(--gradient-1);
  color: white;
  border: none;
  border-radius: 0 50px 50px 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.search-btn::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;
}

.search-btn:hover::before { left: 100%; }
.search-btn:hover { transform: scale(1.02); }

/* ==================== 导航栏 ==================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-card-solid);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}

.navbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-menu { display: flex; }

.nav-item {
  padding: 16px 24px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  font-size: 15px;
  font-weight: 500;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--gradient-1);
  border-radius: 3px 3px 0 0;
  transform: translateX(-50%);
  transition: width 0.3s;
}

.nav-item:hover { color: var(--text); }
.nav-item:hover::after { width: 100%; }

.nav-item.active { color: var(--primary-light); }
.nav-item.active::after { width: 100%; }

.nav-item.new::before {
  content: '';
  position: absolute;
  top: 12px;
  right: 8px;
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.nav-auth { display: flex; gap: 12px; }

.btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-primary {
  background: var(--gradient-1);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(196, 30, 58, 0.4);
}

/* ==================== 主内容 ==================== */
.main {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 30px auto;
  padding: 0 20px;
  display: flex;
  gap: 25px;
  transition: all 0.3s;
}

/* 卡片 */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
}

/* ==================== 左侧边栏 ==================== */
.sidebar {
  width: 260px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-header {
  padding: 16px 20px;
  background: var(--bg-input);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s;
}

.card-body { padding: 15px; }

/* 分类列表 */
.category-item {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  border-radius: 10px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s;
  margin-bottom: 6px;
}

.category-item:hover {
  background: rgba(196, 30, 58, 0.1);
  color: var(--text);
  transform: translateX(8px);
}

.category-item .dot {
  width: 8px;
  height: 8px;
  background: var(--gradient-1);
  border-radius: 50%;
  margin-right: 12px;
}

.category-item .name { flex: 1; font-size: 14px; }

.category-item .count {
  background: var(--bg-input);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  transition: all 0.3s;
}

/* 热门排行 */
.rank-item {
  display: flex;
  align-items: flex-start;
  padding: 14px;
  border-radius: 12px;
  margin-bottom: 10px;
  background: var(--bg-input);
  transition: all 0.3s;
  cursor: pointer;
}

.rank-item:hover {
  background: rgba(196, 30, 58, 0.1);
  transform: scale(1.02);
}

.rank-num {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: bold;
  margin-right: 12px;
  flex-shrink: 0;
  background: var(--bg-card-solid);
  color: var(--text-secondary);
  transition: all 0.3s;
}

.rank-num.top1 { 
  background: linear-gradient(135deg, #ff6b6b, #ffd93d); 
  color: #1a1a2e;
}
.rank-num.top2 { 
  background: linear-gradient(135deg, #a8a8a8, #d4d4d4); 
  color: #1a1a2e;
}
.rank-num.top3 { 
  background: linear-gradient(135deg, #cd7f32, #daa520); 
  color: #1a1a2e;
}

.rank-content { flex: 1; min-width: 0; }

.rank-title {
  font-size: 13px;
  color: var(--text);
  display: block;
  margin-bottom: 6px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-meta {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  gap: 10px;
}

/* ==================== 主内容区 ==================== */
.content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 发帖框 */
.post-box { padding: 20px; }

.post-textarea {
  width: 100%;
  min-height: 120px;
  padding: 16px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-size: 14px;
  resize: vertical;
  transition: all 0.3s;
}

.post-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(196, 30, 58, 0.15);
}

.post-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
}

.post-tools { display: flex; gap: 8px; }

.tool-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: var(--bg-card-solid);
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.3s;
  color: var(--text-secondary);
}

.tool-btn:hover {
  border-color: var(--primary);
  color: var(--primary-light);
  transform: scale(1.1);
}

/* 统计栏 */
.stats-bar {
  display: flex;
  justify-content: space-around;
  padding: 20px;
  background: var(--bg-input);
  border-radius: 12px;
  margin-top: 15px;
}

.stat-item { text-align: center; }

.stat-num {
  font-size: 24px;
  font-weight: 800;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* 筛选栏 */
.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
}

.filter-tabs { display: flex; gap: 6px; }

.filter-tab {
  padding: 8px 18px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  border-radius: 20px;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.3s;
}

.filter-tab:hover {
  border-color: var(--primary);
  color: var(--primary-light);
}

.filter-tab.active {
  background: var(--gradient-1);
  color: white;
  border-color: transparent;
}

/* 帖子列表 */
.post-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.post-card {
  display: flex;
  align-items: flex-start;
  padding: 20px;
  background: var(--bg-card-solid);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  animation: fadeInUp 0.5s ease both;
}

.post-card:hover {
  background: var(--bg-card);
  border-color: rgba(196, 30, 58, 0.3);
  transform: translateX(5px);
  box-shadow: var(--shadow-hover);
}

.post-card.top {
  background: var(--bg-input);
  border-color: rgba(196, 30, 58, 0.2);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.post-avatar {
  width: 55px;
  height: 55px;
  border-radius: 12px;
  overflow: hidden;
  margin-right: 16px;
  flex-shrink: 0;
  border: 2px solid var(--border);
  transition: border-color 0.3s;
}

.post-card:hover .post-avatar { border-color: var(--primary); }

.post-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-main { flex: 1; min-width: 0; }

.post-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.post-title a { color: var(--text); }
.post-title a:hover { color: var(--primary-light); }

.post-badge {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: normal;
}

.post-badge.top { background: linear-gradient(135deg, #ef4444, #dc2626); color: white; }
.post-badge.hot { background: linear-gradient(135deg, #f97316, #ea580c); color: white; }
.post-badge.essence { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #1a1a2e; }
.post-badge.original { background: linear-gradient(135deg, #10b981, #059669); color: white; }

.post-excerpt {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 12px;
  color: var(--text-muted);
}

.post-meta .author { color: var(--link); font-weight: 500; }

.post-meta .board {
  background: var(--bg-input);
  padding: 3px 10px;
  border-radius: 4px;
}

.post-meta .stats {
  display: flex;
  gap: 15px;
  margin-left: auto;
}

.post-meta .stat { display: flex; align-items: center; gap: 5px; }

.post-info {
  width: 160px;
  flex-shrink: 0;
  text-align: right;
  padding-left: 20px;
  border-left: 1px solid var(--border);
}

.post-info .last-label { font-size: 11px; color: var(--text-muted); margin-bottom: 4px; }
.post-info .last-user { font-size: 13px; color: var(--link); display: block; margin-bottom: 2px; }
.post-info .last-time { font-size: 11px; color: var(--text-muted); }

/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 25px;
}

.page-btn {
  min-width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: var(--bg-card-solid);
  color: var(--text-secondary);
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
}

.page-btn:hover {
  border-color: var(--primary);
  color: var(--primary-light);
  transform: translateY(-2px);
}

.page-btn.active {
  background: var(--gradient-1);
  color: white;
  border-color: transparent;
  box-shadow: 0 5px 20px rgba(196, 30, 58, 0.3);
}

.page-btn.disabled { opacity: 0.5; cursor: not-allowed; }

/* ==================== 右侧边栏 ==================== */
.right-sidebar {
  width: 300px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 快捷入口 */
.quick-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 20px;
}

.quick-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 15px 8px;
  border-radius: 12px;
  background: var(--bg-input);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s;
}

.quick-link:hover {
  background: rgba(196, 30, 58, 0.1);
  border-color: var(--primary);
  transform: translateY(-5px);
}

.quick-link .icon { font-size: 24px; }
.quick-link .text { font-size: 11px; color: var(--text-secondary); }

/* 排行榜 */
.rank-list { padding: 10px; }

.rank-list-item {
  display: flex;
  align-items: center;
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 8px;
  background: var(--bg-input);
  transition: all 0.3s;
  cursor: pointer;
}

.rank-list-item:hover {
  background: rgba(196, 30, 58, 0.1);
  transform: translateX(5px);
}

.rank-list-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 12px;
}

.rank-list-avatar img { width: 100%; height: 100%; object-fit: cover; }

.rank-list-info { flex: 1; }
.rank-list-name { font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.rank-list-title { font-size: 11px; color: var(--text-muted); }

.rank-list-score {
  text-align: right;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-light);
}

.rank-list-rank {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  margin-right: 12px;
  background: var(--bg-card-solid);
}

.rank-list-rank.r1 { background: linear-gradient(135deg, #ffd700, #ff8c00); color: #1a1a2e; }
.rank-list-rank.r2 { background: linear-gradient(135deg, #c0c0c0, #808080); color: #1a1a2e; }
.rank-list-rank.r3 { background: linear-gradient(135deg, #cd7f32, #8b4513); color: white; }

/* 在线用户 */
.online-section { padding: 15px; }

.online-users {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.online-user {
  padding: 5px 12px;
  background: var(--bg-input);
  border-radius: 20px;
  font-size: 12px;
  color: var(--link);
  transition: all 0.3s;
}

.online-user:hover {
  background: rgba(59, 130, 246, 0.2);
  transform: scale(1.05);
}

.online-stats {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-around;
  font-size: 12px;
  color: var(--text-muted);
}

.online-stats strong { color: var(--text); }

/* ==================== 页脚 ==================== */
.footer {
  position: relative;
  z-index: 1;
  margin-top: 50px;
  padding: 40px 20px;
  background: var(--bg-card-solid);
  border-top: 1px solid var(--border);
  transition: all 0.3s;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-links a { color: var(--text-secondary); font-size: 13px; }
.footer-links a:hover { color: var(--primary-light); }

.footer-info {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 2;
}

/* ==================== 响应式 ==================== */
@media (max-width: 1200px) {
  .sidebar, .right-sidebar { display: none; }
  .main { flex-direction: column; }
  .theme-toggle { right: 10px; }
  .theme-btn { width: 45px; height: 45px; font-size: 18px; }
}

@media (max-width: 768px) {
  .header-inner { flex-direction: column; gap: 20px; }
  .header-search { width: 100%; max-width: none; }
  .nav-menu { overflow-x: auto; }
  .nav-item { padding: 14px 16px; white-space: nowrap; }
  .post-info { display: none; }
}

/* ==================== 发帖页面布局 ==================== */
.page-container {
  display: grid;
  grid-template-columns: 260px 1fr 260px;
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 20px;
  position: relative;
  z-index: 1;
}

.page-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-sidebar-left { }
.page-sidebar-right { }

/* 通用卡片组件 */
.widget-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.widget-card.highlight {
  background: linear-gradient(135deg, rgba(196, 30, 58, 0.08), rgba(251, 191, 36, 0.08));
  border-color: rgba(196, 30, 58, 0.2);
}

.widget-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}

/* 发帖表单卡片 */
.publish-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.publish-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.publish-header .icon {
  width: 56px;
  height: 56px;
  background: var(--gradient-1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: var(--glow);
}

.publish-header h1 {
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
}

.publish-header p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* 表单样式 */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 10px;
}

.form-label .required {
  color: #ef4444;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: var(--bg-input);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  transition: all 0.3s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239090a0' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* 富文本编辑器工具栏 */
.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 10px;
  background: var(--bg-input);
  border: 2px solid var(--border);
  border-bottom: none;
  border-radius: 10px 10px 0 0;
}

.editor-toolbar button {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.editor-toolbar button:hover {
  background: var(--bg-card-solid);
  color: var(--primary);
}

.editor-toolbar .separator {
  width: 1px;
  height: 24px;
  background: var(--border);
  margin: 6px 4px;
}

.form-textarea {
  min-height: 250px;
  resize: vertical;
  line-height: 1.8;
}

.form-textarea.with-toolbar {
  border-radius: 0 0 10px 10px;
}

/* 标签选择 */
.tag-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-option {
  padding: 8px 16px;
  border: 2px solid var(--border);
  border-radius: 20px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-secondary);
  transition: all 0.3s;
  user-select: none;
}

.tag-option:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.tag-option.selected {
  background: var(--gradient-1);
  border-color: transparent;
  color: white;
}

/* 图片上传区域 */
.upload-area {
  border: 2px dashed var(--border);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  background: var(--bg-input);
}

.upload-area:hover {
  border-color: var(--primary);
  background: rgba(196, 30, 58, 0.05);
}

.upload-area .icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.upload-area p {
  color: var(--text-muted);
  font-size: 13px;
}

.upload-area .tips {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* 发帖设置选项 */
.setting-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.setting-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 2px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-secondary);
  transition: all 0.3s;
  user-select: none;
}

.setting-item:hover {
  border-color: var(--primary);
  color: var(--text);
}

.setting-item.active {
  border-color: var(--primary);
  background: rgba(196, 30, 58, 0.05);
  color: var(--primary);
}

.setting-item input[type="checkbox"] {
  display: none;
}

/* 发布按钮 */
.publish-actions {
  display: flex;
  gap: 14px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.btn {
  padding: 14px 28px;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: var(--gradient-1);
  color: white;
  box-shadow: var(--glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(196, 30, 58, 0.4);
}

.btn-secondary {
  background: var(--bg-input);
  color: var(--text);
  border: 2px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--text-muted);
  transform: translateY(-2px);
}

/* 发帖页右侧提示 */
.tips-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tips-list li {
  font-size: 12px;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
  line-height: 1.6;
}

.tips-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
}

/* 响应式 */
@media (max-width: 1200px) {
  .page-container {
    grid-template-columns: 220px 1fr;
  }
  .page-sidebar-right {
    display: none;
  }
}

@media (max-width: 768px) {
  .page-container {
    grid-template-columns: 1fr;
  }
  .page-sidebar-left {
    display: none;
  }
  .publish-card {
    padding: 20px;
  }
}

/* ==================== 登录注册页面 ==================== */
.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
  z-index: 1;
}

.auth-wrapper {
  width: 100%;
  max-width: 900px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  backdrop-filter: blur(20px);
}

/* 左侧品牌区域 */
.auth-brand {
  background: var(--gradient-1);
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.auth-brand::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.auth-brand .logo {
  font-size: 48px;
  margin-bottom: 20px;
  position: relative;
}

.auth-brand h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
}

.auth-brand p {
  font-size: 14px;
  opacity: 0.9;
  line-height: 1.8;
  position: relative;
}

.auth-brand .features {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.auth-brand .feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.auth-brand .feature .icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* 右侧表单区域 */
.auth-form-section {
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
}

/* 切换标签 */
.auth-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  background: var(--bg-input);
  padding: 6px;
  border-radius: 12px;
}

.auth-tab {
  flex: 1;
  padding: 14px;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s;
}

.auth-tab.active {
  background: var(--bg-card-solid);
  color: var(--text);
  box-shadow: var(--shadow);
}

/* 表单 */
.auth-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-input-wrapper {
  position: relative;
}

.form-input-wrapper .input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
}

.form-input-wrapper .form-input {
  padding-left: 44px;
}

.form-input-wrapper .input-suffix {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
}

.toggle-password {
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  font-size: 13px;
  padding: 4px 8px;
  border-radius: 4px;
}

.toggle-password:hover {
  background: rgba(196, 30, 58, 0.1);
}

/* 验证码 */
.captcha-input {
  display: flex;
  gap: 12px;
}

.captcha-input .form-input-wrapper {
  flex: 1;
}

.captcha-img {
  width: 120px;
  height: 46px;
  background: var(--bg-input);
  border: 2px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: monospace;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--primary);
  cursor: pointer;
  user-select: none;
}

/* 记住我 & 忘记密码 */
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  cursor: pointer;
}

.remember-me input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.forgot-password {
  color: var(--primary);
}

.forgot-password:hover {
  text-decoration: underline;
}

/* 提交按钮 */
.btn-submit {
  width: 100%;
  padding: 16px;
  background: var(--gradient-1);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: var(--glow);
  margin-top: 10px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(196, 30, 58, 0.4);
}

/* 第三方登录 */
.divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
  color: var(--text-muted);
  font-size: 13px;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.social-login {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.social-btn {
  width: 50px;
  height: 50px;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: var(--bg-input);
  cursor: pointer;
  font-size: 22px;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-btn:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* 协议 */
.agreement {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: auto;
  padding-top: 20px;
}

.agreement a {
  color: var(--primary);
}

/* 注册表单 */
.register-form {
  display: none;
}

.register-form.show {
  display: flex;
}

.login-form.hide {
  display: none;
}

/* 登录注册响应式 */
@media (max-width: 768px) {
  .auth-wrapper {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .auth-brand {
    display: none;
  }

  .auth-form-section {
    padding: 40px 30px;
  }
}

/* ==================== 用户中心页面 ==================== */
.user-content-area {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* Tab 切换 */
.content-tabs {
  display: flex;
  background: var(--bg-input);
  border-bottom: 1px solid var(--border);
}

.content-tab {
  flex: 1;
  padding: 16px 20px;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}

.content-tab:hover {
  color: var(--text);
}

.content-tab.active {
  color: var(--primary);
  background: var(--bg-card-solid);
}

.content-tab.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-1);
}

/* 内容区域 */
.tab-content {
  display: none;
  padding: 24px;
}

.tab-content.active {
  display: block;
}

/* 用户信息卡片 */
.user-info-card {
  text-align: center;
  padding: 30px 20px;
}

.user-avatar-large {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: white;
  margin: 0 auto 16px;
  box-shadow: var(--glow);
}

.user-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.user-level {
  font-size: 12px;
  color: var(--primary);
  margin-bottom: 16px;
}

.user-stats-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.user-stat-item .num {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.user-stat-item .label {
  font-size: 11px;
  color: var(--text-muted);
}

.user-bio {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.6;
}

.user-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 12px;
}

/* 快捷入口 */
.quick-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 0;
}

.quick-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 15px 8px;
  border-radius: 12px;
  background: var(--bg-input);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s;
}

.quick-link:hover {
  background: rgba(196, 30, 58, 0.1);
  border-color: var(--primary);
  transform: translateY(-5px);
}

.quick-link .icon { font-size: 24px; }
.quick-link .text { font-size: 11px; color: var(--text-secondary); }

/* 帖子列表 */
.post-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.post-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--bg-input);
  border-radius: 12px;
  transition: all 0.3s;
}

.post-item:hover {
  background: rgba(196, 30, 58, 0.05);
  transform: translateX(5px);
}

.post-status {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
}

.post-status.published {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}

.post-status.draft {
  background: rgba(251, 191, 36, 0.1);
  color: #fbbf24;
}

.post-item .post-title {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
}

.post-item .post-title:hover {
  color: var(--primary);
}

.post-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}

.post-actions {
  display: flex;
  gap: 8px;
}

.post-actions .action-btn {
  padding: 6px 12px;
  border: none;
  background: var(--bg-card-solid);
  border-radius: 6px;
  font-size: 12px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s;
}

.post-actions .action-btn:hover {
  color: var(--primary);
}

.post-actions .action-btn.primary {
  background: var(--gradient-1);
  color: white;
}

.post-actions .action-btn.danger:hover {
  color: #ef4444;
}

/* 评论列表 */
.comment-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comment-item {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: var(--bg-input);
  border-radius: 12px;
  transition: all 0.3s;
}

.comment-item:hover {
  background: rgba(196, 30, 58, 0.05);
}

.comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  flex-shrink: 0;
}

.comment-body {
  flex: 1;
  min-width: 0;
}

.comment-info {
  display: flex;
  gap: 12px;
  margin-bottom: 8px;
}

.comment-user {
  font-weight: 600;
  color: var(--text);
}

.comment-time {
  font-size: 12px;
  color: var(--text-muted);
}

.comment-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 8px;
}

.comment-source {
  font-size: 12px;
  color: var(--text-muted);
}

.comment-source a {
  color: var(--primary);
}

.comment-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.comment-actions .action-btn {
  padding: 6px 12px;
  border: none;
  background: var(--bg-card-solid);
  border-radius: 6px;
  font-size: 12px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s;
}

.comment-actions .action-btn:hover {
  color: var(--primary);
}

/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.page-btn {
  padding: 8px 14px;
  border: 1px solid var(--border);
  background: var(--bg-card-solid);
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s;
}

.page-btn:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary);
}

.page-btn.active {
  background: var(--gradient-1);
  border-color: transparent;
  color: white;
}

.page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* 数据统计 */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.stat-item {
  text-align: center;
  padding: 16px;
  background: var(--bg-input);
  border-radius: 12px;
}

.stat-icon {
  font-size: 24px;
  margin-bottom: 8px;
}

.stat-num {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 11px;
  color: var(--text-muted);
}

/* 活跃度 */
.activity-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.activity-item {
  position: relative;
}

.activity-bar {
  height: 8px;
  background: var(--gradient-1);
  border-radius: 4px;
  margin-bottom: 8px;
}

.activity-info {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

.activity-info .value {
  font-weight: 600;
  color: var(--primary);
}

/* 荣誉墙 */
.honor-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.honor-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  padding: 8px;
  background: var(--bg-input);
  border-radius: 8px;
}

.honor-badge {
  font-size: 18px;
}

/* 用户中心响应式 */
@media (max-width: 1200px) {
  .page-container {
    grid-template-columns: 1fr;
  }
  .page-sidebar {
    display: none;
  }
}

@media (max-width: 768px) {
  .content-tabs {
    overflow-x: auto;
  }
  .content-tab {
    white-space: nowrap;
    padding: 14px 16px;
  }
  .post-item {
    flex-wrap: wrap;
  }
  .post-meta {
    flex-wrap: wrap;
    gap: 8px;
  }
  .quick-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==================== 搜索页面 ==================== */
.search-header {
  background: var(--bg-card-solid);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  position: relative;
  z-index: 1;
}

.search-box-large {
  display: flex;
  gap: 0;
  max-width: 600px;
}

.search-box-large input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid var(--border);
  border-right: none;
  border-radius: 50px 0 0 50px;
  background: var(--bg-input);
  color: var(--text);
  font-size: 15px;
}

.search-box-large input:focus {
  outline: none;
  border-color: var(--primary);
}

.search-btn {
  padding: 14px 24px;
  background: var(--gradient-1);
  border: none;
  border-radius: 0 50px 50px 0;
  color: white;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s;
}

.search-btn:hover {
  box-shadow: var(--glow);
}

.search-filter {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.filter-btn {
  padding: 8px 16px;
  border: 2px solid var(--border);
  border-radius: 20px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--gradient-1);
  border-color: transparent;
  color: white;
}

.search-results {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.results-sort {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.results-sort span {
  color: var(--text-secondary);
  font-size: 13px;
}

.results-sort strong {
  color: var(--primary);
}

.sort-options {
  display: flex;
  gap: 8px;
}

.sort-btn {
  padding: 6px 14px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.3s;
}

.sort-btn:hover {
  background: var(--bg-input);
  color: var(--text);
}

.sort-btn.active {
  background: rgba(196, 30, 58, 0.1);
  color: var(--primary);
}

.results-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.result-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--bg-input);
  border-radius: 12px;
  transition: all 0.3s;
}

.result-item:hover {
  background: rgba(196, 30, 58, 0.05);
  transform: translateX(5px);
}

.result-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  flex-shrink: 0;
}

.result-content {
  flex: 1;
  min-width: 0;
}

.result-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  display: block;
  text-decoration: none;
}

.result-title:hover {
  color: var(--primary);
}

.result-title .highlight {
  color: var(--primary);
  background: rgba(196, 30, 58, 0.1);
  padding: 0 4px;
  border-radius: 4px;
}

.result-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.result-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.result-tags {
  display: flex;
  gap: 8px;
}

.result-tags .tag {
  padding: 4px 10px;
  background: var(--bg-card-solid);
  border-radius: 12px;
  font-size: 11px;
  color: var(--text-secondary);
}

.search-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.search-stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: var(--bg-input);
  border-radius: 8px;
}

.search-stat-item .num {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}

.search-stat-item .label {
  font-size: 13px;
  color: var(--text-secondary);
}

.hot-search-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hot-search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: var(--bg-input);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.hot-search-item:hover {
  background: rgba(196, 30, 58, 0.1);
}

.hot-search-item .rank {
  width: 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}

.hot-search-item .keyword {
  flex: 1;
  font-size: 13px;
  color: var(--text);
}

.hot-search-item .trend {
  font-size: 12px;
}

.search-history {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.history-tag {
  padding: 6px 12px;
  background: var(--bg-input);
  border-radius: 16px;
  font-size: 12px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s;
}

.history-tag:hover {
  background: rgba(196, 30, 58, 0.1);
  color: var(--primary);
}

.clear-history {
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
}

.clear-history:hover {
  color: var(--primary);
}

.topic-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.topic-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: var(--bg-input);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.topic-item:hover {
  background: rgba(196, 30, 58, 0.1);
}

.topic-name {
  font-size: 13px;
  color: var(--text);
}

.topic-count {
  font-size: 11px;
  color: var(--text-muted);
}

.user-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.user-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar-sm {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
}

.user-info {
  flex: 1;
}

.user-info .user-name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.user-info .user-title {
  font-size: 11px;
  color: var(--text-muted);
}

.follow-btn {
  padding: 6px 12px;
  border: 2px solid var(--primary);
  border-radius: 16px;
  background: transparent;
  color: var(--primary);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s;
}

.follow-btn:hover {
  background: var(--gradient-1);
  color: white;
}

.follow-btn.followed {
  background: var(--gradient-1);
  color: white;
}

/* ==================== 消息通知页面 ==================== */
.notifications-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.notifications-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.notifications-header h2 {
  font-size: 18px;
  color: var(--text);
}

.notifications-header .action-btn {
  padding: 8px 16px;
  border: none;
  background: var(--bg-input);
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s;
}

.notifications-header .action-btn:hover {
  background: rgba(196, 30, 58, 0.1);
  color: var(--primary);
}

.notifications-list {
  padding: 0;
}

.notification-item {
  display: flex;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.3s;
}

.notification-item:hover {
  background: var(--bg-input);
}

.notification-item.unread {
  background: rgba(196, 30, 58, 0.03);
}

.notification-item.unread::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
}

.notification-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  flex-shrink: 0;
}

.notification-avatar.system {
  background: var(--gradient-2);
}

.notification-content {
  flex: 1;
  min-width: 0;
}

.notification-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 6px;
}

.notification-text strong {
  font-weight: 600;
}

.notification-text a {
  color: var(--primary);
}

.notification-comment {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 10px 14px;
  background: var(--bg-input);
  border-radius: 8px;
  margin-bottom: 6px;
  border-left: 3px solid var(--primary);
}

.notification-time {
  font-size: 12px;
  color: var(--text-muted);
}

.notification-actions {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.notification-actions .action-btn {
  padding: 6px 12px;
  border: none;
  background: var(--bg-card-solid);
  border-radius: 6px;
  font-size: 12px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s;
}

.notification-actions .action-btn:hover {
  color: var(--primary);
}

.notification-actions .action-btn.primary {
  background: var(--gradient-1);
  color: white;
}

.msg-stats {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.msg-stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bg-input);
  border-radius: 10px;
  transition: all 0.3s;
}

.msg-stat-item.unread {
  background: rgba(196, 30, 58, 0.1);
}

.msg-stat-item .icon {
  font-size: 20px;
}

.msg-stat-item .info {
  flex: 1;
}

.msg-stat-item .num {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.msg-stat-item.unread .num {
  color: var(--primary);
}

.msg-stat-item .label {
  font-size: 12px;
  color: var(--text-muted);
}

.quick-links-vertical {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.quick-link-v {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
  color: var(--text-secondary);
}

.quick-link-v:hover {
  background: var(--bg-input);
  color: var(--text);
}

.quick-link-v.active {
  background: rgba(196, 30, 58, 0.1);
  color: var(--primary);
}

.quick-link-v .icon {
  font-size: 18px;
}

.quick-link-v .text {
  font-size: 14px;
}

.send-msg-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.send-msg-form .form-select {
  padding: 10px 14px;
}

.send-msg-form .form-textarea {
  min-height: 100px;
  padding: 12px;
  font-size: 13px;
}

.recent-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.contact-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  transition: transform 0.3s;
}

.contact-item:hover .contact-avatar {
  transform: scale(1.1);
}

.contact-name {
  font-size: 11px;
  color: var(--text-muted);
}

/* ==================== 排行榜页面 ==================== */
.page-hero {
  background: var(--gradient-1);
  padding: 40px 0;
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-hero h1 {
  font-size: 32px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.page-hero p {
  font-size: 14px;
  color: rgba(255,255,255,0.9);
}

.rank-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  padding: 0 24px;
}

.rank-tab {
  padding: 14px 28px;
  border: none;
  background: var(--bg-card);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: var(--shadow);
}

.rank-tab:hover {
  transform: translateY(-3px);
}

.rank-tab.active {
  background: var(--gradient-1);
  color: white;
  box-shadow: var(--glow);
}

.rank-content {
  display: none;
  padding: 0 24px 24px;
}

.rank-content.active {
  display: block;
}

.rank-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding: 16px 20px;
  background: var(--bg-card);
  border-radius: 12px;
}

.rank-type-selector,
.rank-period {
  display: flex;
  gap: 8px;
}

.type-btn,
.period-btn {
  padding: 8px 16px;
  border: none;
  background: var(--bg-input);
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s;
}

.type-btn:hover,
.period-btn:hover {
  color: var(--text);
}

.type-btn.active,
.period-btn.active {
  background: var(--primary);
  color: white;
}

.top-three {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.top-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 32px;
  background: var(--bg-card);
  border-radius: 16px;
  transition: all 0.3s;
}

.top-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.top-item.first {
  background: linear-gradient(135deg, rgba(196, 30, 58, 0.1), rgba(251, 191, 36, 0.1));
  border: 2px solid rgba(196, 30, 58, 0.3);
  order: 2;
}

.top-item.second {
  order: 1;
}

.top-item.third {
  order: 3;
}

.top-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  margin-bottom: 12px;
}

.top-item.first .top-avatar {
  width: 88px;
  height: 88px;
  font-size: 36px;
}

.top-crown {
  font-size: 32px;
  margin-bottom: 8px;
}

.top-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.top-score {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.top-item.first .top-score {
  font-size: 28px;
}

.top-title {
  font-size: 12px;
  color: var(--text-muted);
}

.rank-list-full {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
}

.rank-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}

.rank-row:hover {
  background: var(--bg-input);
}

.rank-row:last-child {
  border-bottom: none;
}

.rank-number {
  width: 32px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
}

.rank-number.gold {
  color: #ffd700;
}

.rank-number.silver {
  color: #c0c0c0;
}

.rank-number.bronze {
  color: #cd7f32;
}

.rank-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}

.rank-info {
  flex: 1;
}

.rank-info .rank-name {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.rank-info .rank-badge {
  font-size: 11px;
  padding: 2px 8px;
  background: var(--bg-input);
  border-radius: 10px;
  color: var(--text-muted);
}

.rank-stats {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--text-muted);
}

.rank-score {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  min-width: 80px;
  text-align: right;
}

.post-row .rank-info {
  flex: 1;
}

.rank-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
}

.category-row .category-icon {
  font-size: 24px;
}

.category-row .rank-info {
  flex: 1;
}

.category-row .action-btn.small {
  padding: 6px 14px;
  border: none;
  background: var(--bg-input);
  border-radius: 6px;
  font-size: 12px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s;
}

.category-row .action-btn.small:hover {
  background: rgba(196, 30, 58, 0.1);
  color: var(--primary);
}

/* ==================== 话题标签页面 ==================== */
.tag-hero {
  background: var(--gradient-2);
  padding: 40px 0;
  position: relative;
  z-index: 1;
}

.tag-info-large {
  display: flex;
  align-items: center;
  gap: 24px;
}

.tag-icon-large {
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.2);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: white;
}

.tag-details h1 {
  font-size: 28px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.tag-details p {
  font-size: 14px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 12px;
}

.tag-stats {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.9);
}

.tag-stats strong {
  color: white;
  margin-right: 4px;
}

.tag-hero .btn {
  margin-left: auto;
  padding: 12px 24px;
  background: white;
  color: var(--primary);
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.tag-hero .btn:hover {
  transform: scale(1.05);
}

.tag-hero .btn.followed {
  background: rgba(255,255,255,0.2);
  color: white;
}

.tag-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.content-filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.filter-tabs {
  display: flex;
  gap: 8px;
}

.filter-tab {
  padding: 8px 16px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 14px;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s;
}

.filter-tab:hover {
  background: var(--bg-input);
  color: var(--text);
}

.filter-tab.active {
  background: rgba(196, 30, 58, 0.1);
  color: var(--primary);
}

.view-toggle {
  display: flex;
  gap: 4px;
}

.view-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg-input);
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
}

.view-btn:hover {
  background: rgba(196, 30, 58, 0.1);
}

.view-btn.active {
  background: var(--primary);
}

.post-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.post-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--bg-input);
  border-radius: 12px;
  transition: all 0.3s;
}

.post-item:hover {
  background: rgba(196, 30, 58, 0.05);
  transform: translateX(5px);
}

.post-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  flex-shrink: 0;
}

.post-content {
  flex: 1;
  min-width: 0;
}

.post-tags-top {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.tag-elite {
  padding: 2px 8px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: white;
  font-size: 11px;
  border-radius: 4px;
}

.tag-hot {
  padding: 2px 8px;
  background: var(--primary);
  color: white;
  font-size: 11px;
  border-radius: 4px;
}

.post-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  display: block;
  text-decoration: none;
}

.post-title:hover {
  color: var(--primary);
}

.post-excerpt {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.post-tags {
  display: flex;
  gap: 8px;
}

.post-tag {
  padding: 4px 10px;
  background: var(--bg-card-solid);
  border-radius: 12px;
  font-size: 11px;
  color: var(--primary);
}

.related-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.related-tag {
  padding: 6px 14px;
  background: var(--bg-input);
  border-radius: 16px;
  font-size: 12px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s;
}

.related-tag:hover {
  background: rgba(196, 30, 58, 0.1);
  color: var(--primary);
}

.active-users {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.user-item-sm {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.user-item-sm .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
}

.user-item-sm span {
  font-size: 11px;
  color: var(--text-muted);
}

.trend-chart {
  padding: 10px 0;
}

.trend-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 60px;
  margin-bottom: 8px;
}

.trend-bar {
  flex: 1;
  background: var(--gradient-1);
  border-radius: 4px;
  opacity: 0.3;
  transition: all 0.3s;
}

.trend-bar.active {
  opacity: 1;
}

.trend-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--text-muted);
}

.trend-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.trend-value {
  font-size: 14px;
  font-weight: 600;
}

.trend-value.up {
  color: #22c55e;
}

.trend-value.down {
  color: #ef4444;
}

.trend-label {
  font-size: 12px;
  color: var(--text-muted);
}

/* ==================== 分类页面 ==================== */
.breadcrumb-bar {
  background: var(--bg-card-solid);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.breadcrumb a {
  color: var(--text-secondary);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb span {
  color: var(--text-muted);
}

.breadcrumb span:last-child {
  color: var(--text);
}

.category-header-card {
  text-align: center;
  padding: 30px 20px;
}

.category-icon-large {
  font-size: 48px;
  margin-bottom: 16px;
}

.category-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.category-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.category-stats {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.category-stats .stat {
  text-align: center;
}

.category-stats .num {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}

.category-stats .label {
  font-size: 11px;
  color: var(--text-muted);
}

.subcategory-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.subcategory-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
  color: var(--text-secondary);
}

.subcategory-item:hover {
  background: var(--bg-input);
  color: var(--text);
}

.subcategory-item.active {
  background: rgba(196, 30, 58, 0.1);
  color: var(--primary);
}

.subcategory-item .sub-icon {
  font-size: 18px;
}

.subcategory-item .sub-name {
  flex: 1;
  font-size: 13px;
}

.subcategory-item .sub-count {
  font-size: 11px;
  color: var(--text-muted);
}

.rules-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rules-list li {
  font-size: 12px;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}

.rules-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
}

.list-filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 16px 20px;
  background: var(--bg-card);
  border-radius: 12px;
}

.filter-left {
  display: flex;
  gap: 8px;
}

.list-filters .filter-btn {
  padding: 8px 16px;
  border: none;
  background: var(--bg-input);
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s;
}

.list-filters .filter-btn:hover {
  color: var(--text);
}

.list-filters .filter-btn.active {
  background: var(--primary);
  color: white;
}

.list-filters .view-toggle {
  display: flex;
  gap: 4px;
}

.list-filters .view-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg-input);
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
}

.list-filters .view-btn.active {
  background: var(--primary);
  color: white;
}

.announcement-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.announcement-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  padding: 8px;
  background: var(--bg-input);
  border-radius: 8px;
}

.announcement-badge {
  padding: 2px 6px;
  background: var(--primary);
  color: white;
  font-size: 10px;
  border-radius: 4px;
}

.announcement-text {
  flex: 1;
}

/* ==================== 关于页面 ==================== */
.about-hero {
  background: var(--gradient-1);
  padding: 60px 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.about-hero-content {
  max-width: 600px;
  margin: 0 auto;
}

.about-logo {
  font-size: 64px;
  margin-bottom: 20px;
}

.about-hero h1 {
  font-size: 36px;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
}

.about-slogan {
  font-size: 18px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 16px;
}

.about-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
}

.about-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}

.about-card-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.about-card h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
}

.about-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.value-item {
  padding: 20px;
  background: var(--bg-input);
  border-radius: 12px;
  text-align: center;
}

.value-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.value-title {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.value-desc {
  font-size: 12px;
  color: var(--text-muted);
}

.stats-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-box {
  text-align: center;
  padding: 20px;
  background: var(--bg-input);
  border-radius: 12px;
}

.stat-number {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-item {
  text-align: center;
  padding: 24px 16px;
  background: var(--bg-input);
  border-radius: 12px;
  transition: all 0.3s;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.feature-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.feature-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.feature-desc {
  font-size: 12px;
  color: var(--text-muted);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.team-member {
  text-align: center;
}

.member-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  margin: 0 auto 12px;
}

.member-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.member-role {
  font-size: 12px;
  color: var(--text-muted);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--bg-input);
  border-radius: 12px;
}

.contact-icon {
  font-size: 24px;
}

.contact-info {
  flex: 1;
}

.contact-label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-value {
  font-size: 14px;
  color: var(--text);
}

.about-card .cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

.about-card .btn {
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
}

.about-card .btn-primary {
  background: var(--gradient-1);
  color: white;
}

.about-card .btn-secondary {
  background: var(--bg-input);
  color: var(--text);
  border: 2px solid var(--border);
}

/* 响应式补充 */
@media (max-width: 1200px) {
  .top-three {
    gap: 16px;
  }
  .top-item {
    padding: 20px 24px;
  }
  .stats-showcase,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-three {
    flex-direction: column;
    align-items: center;
  }
  .top-item {
    width: 100%;
    max-width: 300px;
  }
  .values-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }
  .tag-info-large {
    flex-direction: column;
    text-align: center;
  }
  .tag-hero .btn {
    margin-left: 0;
  }
  .stats-showcase,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .search-header .header-inner {
    flex-direction: column;
    gap: 16px;
  }
  .search-box-large {
    max-width: 100%;
  }
  .message-container {
    grid-template-columns: 1fr;
    height: auto;
  }
}
