/* ========================================
   44_Passionate_Red - 热情红色论坛模板
   配色: 主色#DC2626 / 背景#FEF2F2 / 强调#F59E0B
   ======================================== */

/* ===== 基础重置 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --pr-primary: #DC2626;
  --pr-primary-dark: #B91C1C;
  --pr-primary-light: #EF4444;
  --pr-bg: #FEF2F2;
  --pr-surface: #FFFFFF;
  --pr-text: #1F2937;
  --pr-text-light: #6B7280;
  --pr-accent: #F59E0B;
  --pr-border: #FECACA;
  --pr-radius: 8px;
  --pr-shadow: 0 2px 8px rgba(220,38,38,0.08);
  --pr-shadow-hover: 0 8px 24px rgba(220,38,38,0.15);
  --pr-gradient: linear-gradient(135deg, #DC2626, #F59E0B);
}

body {
  font-family: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  background: var(--pr-bg);
  color: var(--pr-text);
  line-height: 1.6;
  font-size: 14px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== 通用容器 ===== */
.pr-container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* ===== 图标尺寸 ===== */
.pr-icon { width: 20px; height: 20px; flex-shrink: 0; }
.pr-icon-sm { width: 16px; height: 16px; flex-shrink: 0; }
.pr-icon-xs { width: 14px; height: 14px; flex-shrink: 0; }

/* ===== 顶部导航栏 ===== */
.pr-header {
  background: var(--pr-surface);
  border-bottom: 3px solid var(--pr-primary);
  box-shadow: 0 2px 12px rgba(220,38,38,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.pr-header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 64px;
}
.pr-logo img { height: 44px; }

.pr-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  overflow-x: auto;
}
.pr-nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: var(--pr-radius);
  font-size: 13px;
  font-weight: 500;
  color: var(--pr-text);
  white-space: nowrap;
  transition: all 0.2s;
}
.pr-nav-link:hover { background: var(--pr-bg); color: var(--pr-primary); }
.pr-nav-active { background: var(--pr-primary); color: #fff !important; }

.pr-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pr-search-box {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--pr-bg);
  border: 1px solid var(--pr-border);
  border-radius: 20px;
  padding: 6px 14px;
  transition: all 0.2s;
}
.pr-search-box:focus-within { border-color: var(--pr-primary); box-shadow: 0 0 0 3px rgba(220,38,38,0.1); }
.pr-search-box input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 13px;
  width: 140px;
  color: var(--pr-text);
}
.pr-icon-btn {
  position: relative;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--pr-text-light);
  transition: all 0.2s;
}
.pr-icon-btn:hover { background: var(--pr-bg); color: var(--pr-primary); }
.pr-badge {
  position: absolute;
  top: 2px; right: 2px;
  background: var(--pr-primary);
  color: #fff;
  font-size: 10px;
  min-width: 16px; height: 16px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}
.pr-user-area {
  display: flex; align-items: center; gap: 6px;
  padding: 4px 10px 4px 4px;
  border-radius: 20px;
  transition: all 0.2s;
}
.pr-user-area:hover { background: var(--pr-bg); }
.pr-avatar-sm { width: 32px; height: 32px; border-radius: 50%; }
.pr-avatar-xs { width: 36px; height: 36px; border-radius: 50%; }
.pr-avatar-md { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; }
.pr-avatar-lg { width: 56px; height: 56px; border-radius: 50%; }
.pr-username { font-size: 13px; font-weight: 500; }
.pr-menu-toggle {
  display: none;
  background: none; border: none;
  cursor: pointer;
  color: var(--pr-text);
  padding: 8px;
}

/* ===== Banner区 ===== */
.pr-banner { padding: 20px 0; }
.pr-banner-img { width: 100%; border-radius: 16px; box-shadow: var(--pr-shadow); }

/* ===== 主布局 ===== */
.pr-main { padding: 20px 0 40px; }
.pr-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
}

/* ===== 板块网格 ===== */
.pr-sections-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.pr-section-card {
  background: var(--pr-surface);
  border-radius: var(--pr-radius);
  box-shadow: var(--pr-shadow);
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.pr-section-card:hover { box-shadow: var(--pr-shadow-hover); transform: translateY(-2px); }
.pr-card-top-bar {
  height: 4px;
  background: var(--pr-gradient);
}
.pr-card-top-bar.pr-bar-hot { background: linear-gradient(90deg, #DC2626, #F59E0B, #EF4444); }
.pr-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.pr-card-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.pr-card-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pr-icon-news { background: #FEE2E2; color: #DC2626; }
.pr-icon-globe { background: #FED7AA; color: #EA580C; }
.pr-icon-tech { background: #FEE2E2; color: #DC2626; }
.pr-icon-finance { background: #FEF3C7; color: #D97706; }
.pr-icon-sport { background: #FEE2E2; color: #DC2626; }
.pr-icon-ent { background: #FED7AA; color: #EA580C; }
.pr-icon-edu { background: #FEF3C7; color: #D97706; }
.pr-icon-health { background: #FEE2E2; color: #DC2626; }
.pr-icon-car { background: #FED7AA; color: #EA580C; }
.pr-icon-home { background: #FEF3C7; color: #D97706; }
.pr-card-icon svg { width: 24px; height: 24px; }
.pr-card-title-wrap { flex: 1; }
.pr-card-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}
.pr-card-title a { color: var(--pr-text); }
.pr-card-title a:hover { color: var(--pr-primary); }
.pr-tag-hot {
  display: inline-block;
  background: var(--pr-primary);
  color: #fff;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 4px;
  vertical-align: middle;
}
.pr-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pr-chip {
  font-size: 11px;
  color: var(--pr-text-light);
  background: var(--pr-bg);
  padding: 2px 8px;
  border-radius: 10px;
  border: 1px solid var(--pr-border);
}
.pr-heat {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 11px;
  font-weight: 600;
  color: var(--pr-primary);
}
.pr-heat-mid { color: var(--pr-accent); }
.pr-heat-low { color: var(--pr-text-light); }
.pr-activity { margin-left: auto; text-align: right; }
.pr-activity-label { font-size: 10px; color: var(--pr-text-light); margin-bottom: 3px; }
.pr-progress {
  width: 60px;
  height: 6px;
  background: var(--pr-border);
  border-radius: 3px;
  overflow: hidden;
}
.pr-progress-bar {
  height: 100%;
  background: var(--pr-gradient);
  border-radius: 3px;
  transition: width 0.5s;
}

/* ===== 帖子列表（卡片内） ===== */
.pr-post-list { flex: 1; }
.pr-post-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--pr-border);
  font-size: 13px;
}
.pr-post-list li:last-child { border-bottom: none; }
.pr-post-list a {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  color: var(--pr-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pr-post-list a:hover { color: var(--pr-primary); }
.pr-post-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--pr-primary);
  flex-shrink: 0;
}
.pr-post-info {
  font-size: 11px;
  color: var(--pr-text-light);
  white-space: nowrap;
}

/* ===== 侧边栏 ===== */
.pr-sidebar { display: flex; flex-direction: column; gap: 20px; }
.pr-widget {
  background: var(--pr-surface);
  border-radius: var(--pr-radius);
  box-shadow: var(--pr-shadow);
  overflow: hidden;
  border: 1px solid var(--pr-border);
}
.pr-widget-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--pr-border);
  background: linear-gradient(135deg, #FEF2F2, #FFFFFF);
}
.pr-widget-header h3 { font-size: 15px; font-weight: 700; }
.pr-widget-header .pr-icon { color: var(--pr-primary); }
.pr-widget-body { padding: 12px 16px; }

.pr-stat-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 13px;
}
.pr-stat-row strong { color: var(--pr-primary); font-weight: 700; }
.pr-stat-dot { width: 8px; height: 8px; border-radius: 50%; }
.pr-dot-online { background: #10B981; box-shadow: 0 0 6px #10B981; }
.pr-dot-member { background: var(--pr-primary); }
.pr-dot-post { background: var(--pr-accent); }
.pr-dot-new { background: #8B5CF6; }

.pr-hot-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--pr-bg);
}
.pr-hot-item:last-child { border-bottom: none; }
.pr-hot-item:hover .pr-hot-title { color: var(--pr-primary); }
.pr-rank {
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  background: var(--pr-bg);
  color: var(--pr-text-light);
  flex-shrink: 0;
}
.pr-rank-1 { background: var(--pr-primary); color: #fff; }
.pr-rank-2 { background: var(--pr-accent); color: #fff; }
.pr-rank-3 { background: #FCD34D; color: #fff; }
.pr-hot-title {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s;
}
.pr-hot-tag {
  font-size: 10px;
  padding: 1px 5px;
  border-radius: 3px;
  background: #FEE2E2;
  color: var(--pr-primary);
  font-weight: 600;
}

.pr-user-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
}
.pr-user-name { font-size: 13px; font-weight: 600; }
.pr-user-stat { font-size: 11px; color: var(--pr-text-light); }
.pr-user-badge {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--pr-accent);
  color: #fff;
  font-weight: 600;
}
.pr-badge-mod { background: var(--pr-primary); }
.pr-badge-op { background: var(--pr-primary); }

.pr-widget-cta {
  background: var(--pr-gradient);
  padding: 24px 20px;
  text-align: center;
  border: none;
}
.pr-widget-cta h3 { color: #fff; font-size: 18px; margin-bottom: 8px; }
.pr-widget-cta p { color: rgba(255,255,255,0.9); font-size: 13px; margin-bottom: 16px; }
.pr-btn-gradient {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--pr-gradient);
  color: #fff;
  padding: 10px 24px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}
.pr-btn-gradient:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(220,38,38,0.3); }
.pr-widget-cta .pr-btn-gradient { background: #fff; color: var(--pr-primary); }

/* ===== 面包屑 ===== */
.pr-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 16px 0;
  font-size: 13px;
  color: var(--pr-text-light);
}
.pr-breadcrumb a { display: flex; align-items: center; gap: 4px; color: var(--pr-text-light); }
.pr-breadcrumb a:hover { color: var(--pr-primary); }
.pr-breadcrumb-sep { color: var(--pr-border); }

/* ===== 帖子列表页 ===== */
.pr-board-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--pr-surface);
  border-radius: var(--pr-radius);
  box-shadow: var(--pr-shadow);
  padding: 20px;
  margin-bottom: 16px;
  border-top: 4px solid var(--pr-primary);
}
.pr-board-info-left { display: flex; align-items: center; gap: 16px; }
.pr-board-icon { width: 56px; height: 56px; }
.pr-board-icon svg { width: 28px; height: 28px; }
.pr-board-name { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.pr-board-desc { font-size: 13px; color: var(--pr-text-light); margin-bottom: 6px; }
.pr-board-stats { display: flex; gap: 14px; }
.pr-board-stats span { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--pr-text-light); }
.pr-btn-post { font-size: 14px; }

.pr-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--pr-surface);
  border-radius: var(--pr-radius);
  padding: 10px 16px;
  margin-bottom: 16px;
  border: 1px solid var(--pr-border);
}
.pr-filter-tabs { display: flex; gap: 4px; }
.pr-filter-tab {
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 13px;
  color: var(--pr-text-light);
  transition: all 0.2s;
}
.pr-filter-tab:hover { background: var(--pr-bg); }
.pr-filter-active { background: var(--pr-primary); color: #fff !important; }
.pr-sort-select {
  padding: 6px 12px;
  border: 1px solid var(--pr-border);
  border-radius: 16px;
  font-size: 13px;
  background: var(--pr-surface);
  color: var(--pr-text);
  outline: none;
  cursor: pointer;
}

.pr-thread-list {
  background: var(--pr-surface);
  border-radius: var(--pr-radius);
  box-shadow: var(--pr-shadow);
  overflow: hidden;
}
.pr-thread-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--pr-bg);
  transition: background 0.2s;
}
.pr-thread-item:hover { background: var(--pr-bg); }
.pr-thread-item:last-child { border-bottom: none; }
.pr-thread-main { flex: 1; min-width: 0; }
.pr-thread-title-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
.pr-thread-tag {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 600;
  white-space: nowrap;
}
.pr-tag-essence { background: #FEF3C7; color: #D97706; }
.pr-tag-hot { background: #FEE2E2; color: var(--pr-primary); }
.pr-thread-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--pr-text);
}
.pr-thread-title:hover { color: var(--pr-primary); }
.pr-thread-excerpt {
  font-size: 12px;
  color: var(--pr-text-light);
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pr-thread-meta { display: flex; gap: 14px; flex-wrap: wrap; }
.pr-thread-meta span { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--pr-text-light); }
.pr-thread-author { color: var(--pr-primary) !important; font-weight: 500; }
.pr-thread-heat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 50px;
  padding-top: 4px;
}
.pr-thread-heat svg { color: var(--pr-primary); }
.pr-thread-heat span { font-size: 11px; font-weight: 600; color: var(--pr-primary); }
.heat-fire { width: 18px; height: 18px; }
.pr-heat-high svg, .pr-heat-high span { color: var(--pr-primary); }
.pr-heat-mid svg, .pr-heat-mid span { color: var(--pr-accent); }
.pr-heat-low svg, .pr-heat-low span { color: var(--pr-text-light); }

/* ===== 分页 ===== */
.pr-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 24px 0;
}
.pr-page-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 36px; height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--pr-text);
  background: var(--pr-surface);
  border: 1px solid var(--pr-border);
  justify-content: center;
  transition: all 0.2s;
}
.pr-page-btn:hover { border-color: var(--pr-primary); color: var(--pr-primary); }
.pr-page-active { background: var(--pr-primary); color: #fff !important; border-color: var(--pr-primary); }
.pr-page-dots { color: var(--pr-text-light); padding: 0 4px; }

/* ===== 帖子详情页 ===== */
.pr-detail-title-bar {
  background: var(--pr-surface);
  border-radius: var(--pr-radius);
  box-shadow: var(--pr-shadow);
  padding: 20px 24px;
  margin-bottom: 16px;
  border-top: 4px solid var(--pr-primary);
}
.pr-detail-tags { display: flex; gap: 6px; margin-bottom: 10px; }
.pr-detail-title { font-size: 22px; font-weight: 700; line-height: 1.4; margin-bottom: 12px; }
.pr-detail-meta { display: flex; gap: 16px; flex-wrap: wrap; }
.pr-detail-meta span { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--pr-text-light); }

.pr-post {
  background: var(--pr-surface);
  border-radius: var(--pr-radius);
  box-shadow: var(--pr-shadow);
  margin-bottom: 16px;
  overflow: hidden;
}
.pr-post-op { border-top: 4px solid var(--pr-primary); }
.pr-post-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--pr-bg);
}
.pr-post-author-info { flex: 1; }
.pr-post-name { font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.pr-post-level { font-size: 12px; color: var(--pr-text-light); }
.pr-post-stats { display: flex; gap: 12px; font-size: 11px; color: var(--pr-text-light); }
.pr-post-content { padding: 20px 24px; }
.pr-post-content p { margin-bottom: 14px; font-size: 14px; line-height: 1.8; }
.pr-post-content h3 { font-size: 16px; font-weight: 700; margin: 20px 0 10px; color: var(--pr-primary); }
.pr-post-img { width: 100%; max-width: 600px; border-radius: 8px; margin: 14px 0; }
.pr-post-quote {
  background: var(--pr-bg);
  border-left: 4px solid var(--pr-primary);
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  margin: 14px 0;
  font-style: italic;
  color: var(--pr-text-light);
}
.pr-post-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--pr-bg);
}
.pr-post-action {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid var(--pr-border);
  background: var(--pr-surface);
  font-size: 13px;
  color: var(--pr-text-light);
  cursor: pointer;
  transition: all 0.2s;
}
.pr-post-action:hover { border-color: var(--pr-primary); color: var(--pr-primary); }
.pr-action-active { color: var(--pr-primary) !important; border-color: var(--pr-primary) !important; background: #FEE2E2; }

/* 回复 */
.pr-post-reply {
  display: flex;
  align-items: flex-start;
  position: relative;
}
.pr-post-floor {
  writing-mode: vertical-rl;
  font-size: 11px;
  color: var(--pr-text-light);
  padding: 16px 6px;
  background: var(--pr-bg);
  border-right: 1px solid var(--pr-border);
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pr-post-author-sm { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 20px; border-bottom: none; flex-shrink: 0; width: 180px; }
.pr-post-author-sm .pr-avatar-md { width: 40px; height: 40px; }
.pr-post-author-sm .pr-post-author-info { flex: none; }
.pr-post-time { font-size: 11px; color: var(--pr-text-light); }
.pr-post-content-reply { flex: 1; padding: 14px 20px 14px 0; border-left: 1px solid var(--pr-bg); }
.pr-post-content-reply p { font-size: 13px; margin-bottom: 8px; }
.pr-post-actions-sm { margin-top: 8px; padding-top: 8px; border: none; gap: 8px; }
.pr-post-actions-sm .pr-post-action { padding: 4px 10px; font-size: 12px; }

.pr-reply-quote {
  background: var(--pr-bg);
  border-left: 3px solid var(--pr-border);
  padding: 8px 12px;
  border-radius: 0 6px 6px 0;
  margin-bottom: 10px;
}
.pr-reply-quote-header { font-size: 11px; color: var(--pr-text-light); margin-bottom: 4px; }
.pr-reply-quote p { font-size: 12px !important; margin-bottom: 0 !important; }

.pr-replies-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 10px;
}
.pr-replies-header h3 { font-size: 16px; font-weight: 700; }

/* 回复框 */
.pr-reply-box {
  background: var(--pr-surface);
  border-radius: var(--pr-radius);
  box-shadow: var(--pr-shadow);
  padding: 20px 24px;
  margin-top: 16px;
  border: 1px solid var(--pr-border);
}
.pr-reply-box h3 { font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.pr-reply-input-wrap { display: flex; gap: 12px; margin-bottom: 12px; }
.pr-reply-input {
  flex: 1;
  min-height: 100px;
  padding: 12px 16px;
  border: 1px solid var(--pr-border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  outline: none;
  background: var(--pr-bg);
  color: var(--pr-text);
  transition: all 0.2s;
}
.pr-reply-input:focus { border-color: var(--pr-primary); background: var(--pr-surface); box-shadow: 0 0 0 3px rgba(220,38,38,0.08); }
.pr-reply-toolbar { display: flex; align-items: center; justify-content: space-between; }
.pr-reply-tools { display: flex; gap: 4px; }
.pr-tool-btn {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--pr-text-light);
  cursor: pointer;
  transition: all 0.2s;
}
.pr-tool-btn:hover { background: var(--pr-bg); color: var(--pr-primary); }
.pr-btn-reply { font-size: 14px; }

/* ===== 搜索页 ===== */
.pr-search-hero {
  background: var(--pr-gradient);
  padding: 40px 0;
  text-align: center;
}
.pr-search-hero-title { color: #fff; font-size: 28px; font-weight: 700; margin-bottom: 20px; }
.pr-search-main {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border-radius: 28px;
  padding: 6px 6px 6px 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.pr-search-main-icon { color: var(--pr-text-light); }
.pr-search-main-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  padding: 10px 12px;
  font-family: inherit;
}
.pr-search-main-btn { border-radius: 24px; padding: 10px 28px; }

.pr-search-filter {
  background: var(--pr-surface);
  border-radius: var(--pr-radius);
  box-shadow: var(--pr-shadow);
  padding: 16px 20px;
  margin-bottom: 16px;
}
.pr-filter-group { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.pr-filter-group:last-child { margin-bottom: 0; }
.pr-filter-label { font-size: 12px; color: var(--pr-text-light); font-weight: 600; min-width: 44px; }
.pr-filter-chip {
  padding: 4px 12px;
  border-radius: 14px;
  font-size: 12px;
  color: var(--pr-text-light);
  border: 1px solid var(--pr-border);
  transition: all 0.2s;
}
.pr-filter-chip:hover { border-color: var(--pr-primary); color: var(--pr-primary); }
.pr-filter-chip-active { background: var(--pr-primary); color: #fff !important; border-color: var(--pr-primary); }

.pr-search-result-info { padding: 10px 0; font-size: 13px; color: var(--pr-text-light); }
.pr-search-result-info strong { color: var(--pr-primary); }

.pr-search-results { display: flex; flex-direction: column; gap: 12px; }
.pr-search-result {
  background: var(--pr-surface);
  border-radius: var(--pr-radius);
  box-shadow: var(--pr-shadow);
  padding: 16px 20px;
  border-left: 4px solid var(--pr-primary);
  transition: all 0.2s;
}
.pr-search-result:hover { box-shadow: var(--pr-shadow-hover); transform: translateX(2px); }
.pr-result-header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.pr-result-time { font-size: 11px; color: var(--pr-text-light); margin-left: auto; }
.pr-result-title { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.pr-result-title a { color: var(--pr-text); }
.pr-result-title a:hover { color: var(--pr-primary); }
.pr-result-excerpt { font-size: 13px; color: var(--pr-text-light); margin-bottom: 8px; line-height: 1.6; }
.pr-highlight { color: var(--pr-primary); font-weight: 600; background: #FEE2E2; padding: 0 2px; border-radius: 2px; }
.pr-result-meta { display: flex; gap: 14px; }
.pr-result-meta span { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--pr-text-light); }

.pr-hot-search-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pr-hot-search-tag {
  padding: 5px 12px;
  border-radius: 14px;
  font-size: 12px;
  background: var(--pr-bg);
  border: 1px solid var(--pr-border);
  color: var(--pr-text);
  transition: all 0.2s;
}
.pr-hot-search-tag:hover { background: var(--pr-primary); color: #fff; border-color: var(--pr-primary); }
.pr-hot-1 { background: #FEE2E2; color: var(--pr-primary); border-color: #FEE2E2; font-weight: 600; }
.pr-hot-2 { background: #FEF3C7; color: #D97706; border-color: #FEF3C7; font-weight: 600; }
.pr-hot-3 { background: #FED7AA; color: #EA580C; border-color: #FED7AA; font-weight: 600; }

.pr-history-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-size: 13px;
  color: var(--pr-text);
  border-bottom: 1px solid var(--pr-bg);
}
.pr-history-item:hover { color: var(--pr-primary); }
.pr-history-close { margin-left: auto; opacity: 0.4; }
.pr-history-close:hover { opacity: 1; color: var(--pr-primary); }

.pr-notice { font-size: 13px; color: var(--pr-text-light); line-height: 1.6; }

/* ===== 页脚 ===== */
.pr-footer {
  background: var(--pr-text);
  color: rgba(255,255,255,0.7);
  padding: 40px 0 0;
  margin-top: 40px;
}
.pr-footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
}
.pr-footer-logo { height: 40px; margin-bottom: 12px; filter: brightness(0) invert(1); opacity: 0.9; }
.pr-footer-col p { font-size: 13px; line-height: 1.6; }
.pr-footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 14px; }
.pr-footer-col a { display: block; font-size: 13px; padding: 4px 0; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.pr-footer-col a:hover { color: var(--pr-accent); }
.pr-footer-social { display: flex; gap: 10px; }
.pr-social-btn {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  transition: all 0.2s;
}
.pr-social-btn:hover { background: var(--pr-primary); color: #fff; }
.pr-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px 20px;
  text-align: center;
}
.pr-footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.4); }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .pr-layout { grid-template-columns: 1fr; }
  .pr-sections-grid { grid-template-columns: 1fr; }
  .pr-sidebar { flex-direction: row; flex-wrap: wrap; }
  .pr-sidebar > .pr-widget { flex: 1; min-width: 280px; }
  .pr-footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .pr-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; background: var(--pr-surface); padding: 12px; box-shadow: var(--pr-shadow); border-top: 1px solid var(--pr-border); }
  .pr-nav.pr-nav-open { display: flex; }
  .pr-menu-toggle { display: flex; }
  .pr-search-box { display: none; }
  .pr-username { display: none; }
  .pr-header-inner { height: 56px; }
  .pr-board-info { flex-direction: column; align-items: flex-start; gap: 16px; }
  .pr-board-info-left { flex-direction: column; align-items: center; text-align: center; }
  .pr-board-stats { justify-content: center; }
  .pr-thread-item { flex-wrap: wrap; }
  .pr-thread-heat { flex-direction: row; }
  .pr-post-reply { flex-direction: column; }
  .pr-post-floor { writing-mode: horizontal-tb; width: 100%; padding: 8px 20px; text-align: right; }
  .pr-post-author-sm { width: 100%; flex-direction: row; align-items: center; padding: 12px 20px; }
  .pr-post-content-reply { padding: 0 20px 14px; border-left: none; }
  .pr-footer-inner { grid-template-columns: 1fr; }
  .pr-detail-meta, .pr-thread-meta, .pr-result-meta { gap: 8px; }
  .pr-search-main { flex-direction: column; border-radius: 16px; padding: 12px; gap: 8px; }
  .pr-search-main-btn { width: 100%; }
  .pr-reply-input-wrap { flex-direction: column; }
}

/* ===== CMS分页 ===== */
.jv-pagination {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  padding: 24px 0; justify-content: center;
}
.jv-page-info {
  font-size: 12px; color: #9CA3AF;
  margin-right: 12px; letter-spacing: 0.3px;
}
.jv-pagination a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 12px;
  font-size: 13px; font-weight: 500;
  cursor: pointer; background: var(--pr-surface);
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius);
  color: var(--pr-text);
  transition: all 0.2s ease;
  text-decoration: none; font-variant-numeric: tabular-nums;
}
.jv-pagination a:hover {
  color: var(--pr-primary); border-color: var(--pr-primary);
}
.jv-pagination a.active {
  color: #fff; background: var(--pr-primary); border-color: var(--pr-primary); font-weight: 700;
}
.jv-pagination a.disabled {
  color: #9CA3AF; border-color: var(--pr-border);
  cursor: not-allowed; pointer-events: none; opacity: 0.5;
}
.jv-page-dots {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px;
  color: #9CA3AF; font-size: 13px;
}

/* ===== CMS评论区 ===== */
.comment-section { margin-top: 48px; }
.comment-form-area { margin-bottom: 24px; }
.comment-login-notice {
  background: var(--pr-surface); border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius);
  padding: 24px; text-align: center;
}
.comment-list { display: flex; flex-direction: column; }
.comment-item {
  display: flex; gap: 14px; padding: 20px 0;
  border-bottom: 1px solid var(--pr-border);
}
.comment-item:last-child { border-bottom: none; }
.comment-avatar {
  flex-shrink: 0; width: 36px; height: 36px;
  border-radius: 50%; background: var(--pr-primary); color: #fff;
  font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.comment-main { flex: 1; min-width: 0; }
.comment-head {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 6px; flex-wrap: wrap;
}
.comment-author { font-size: 13px; font-weight: 700; color: var(--pr-text); }
.comment-reply-to { font-size: 11px; color: #9CA3AF; }
.comment-reply-to::before { content: '\2192'; margin-right: 3px; }
.comment-time {
  font-size: 11px; color: #9CA3AF;
  margin-left: auto;
}
.comment-content {
  font-size: 13px; color: var(--pr-text);
  line-height: 1.7; word-break: break-word;
}
.comment-actions { margin-top: 8px; }
.comment-reply-btn {
  display: inline-flex; align-items: center;
  height: 24px; padding: 0 10px;
  border: none; background: transparent;
  color: #9CA3AF; font-size: 11px;
  cursor: pointer; transition: all 0.2s ease;
}
.comment-reply-btn:hover { color: var(--pr-primary); }
.comment-reply-form {
  margin-top: 10px; display: flex; flex-direction: column; gap: 8px;
}
.comment-reply-input {
  width: 100%; border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius);
  padding: 10px 14px; font-size: 12px; line-height: 1.5;
  resize: vertical; min-height: 60px; font-family: inherit;
  background: var(--pr-surface); color: var(--pr-text);
  transition: border-color 0.2s ease;
}
.comment-reply-input:focus { border-color: var(--pr-primary); }
.comment-reply-submit {
  align-self: flex-end;
  display: inline-flex; align-items: center;
  height: 28px; padding: 0 14px;
  border: 1px solid var(--pr-primary);
  background: var(--pr-primary); color: #fff;
  font-size: 11px; font-weight: 600;
  border-radius: 14px;
  cursor: pointer; transition: all 0.2s ease;
}
.comment-reply-submit:hover { background: transparent; color: var(--pr-primary); }
.comment-reply-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.comment-replies {
  margin-left: 50px; padding-left: 16px;
  border-left: 2px solid var(--pr-border);
  display: flex; flex-direction: column;
}
.comment-reply-item {
  display: flex; gap: 10px; padding: 12px 0;
  border-bottom: 1px solid var(--pr-border);
}
.comment-reply-item:last-child { border-bottom: none; }
.comment-reply-item .comment-avatar { width: 28px; height: 28px; font-size: 12px; }
.comment-reply-item .comment-author { font-size: 12px; }
.comment-reply-item .comment-content { font-size: 12px; }
.comment-empty {
  text-align: center; padding: 32px 16px;
  color: #9CA3AF; font-size: 13px;
}
.comment-empty p { margin: 0; }
.comment-load-more { display: flex; justify-content: center; padding: 16px 0; }
.comment-load-more-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 34px; padding: 0 24px;
  border: 1px solid var(--pr-border);
  border-radius: 17px;
  background: var(--pr-surface); color: var(--pr-text-light);
  font-size: 12px; font-weight: 500;
  cursor: pointer; transition: all 0.2s ease;
}
.comment-load-more-btn:hover { border-color: var(--pr-primary); color: var(--pr-primary); }
.comment-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.comment-char-count { font-size: 11px; color: #9CA3AF; }

/* ===== CMS下载页 ===== */
.pr-download-info {
  display: flex; align-items: center; gap: 20px;
  padding: 24px; background: var(--pr-surface);
  border: 1px solid var(--pr-border); border-radius: var(--pr-radius);
  box-shadow: var(--pr-shadow); margin-bottom: 24px;
}
.pr-download-file {
  width: 56px; height: 56px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--pr-border); border-radius: var(--pr-radius);
  background: var(--pr-bg);
}
.pr-download-meta { flex: 1; }
.pr-download-name { font-size: 16px; font-weight: 700; color: var(--pr-text); margin-bottom: 4px; }
.pr-download-desc { font-size: 12px; color: var(--pr-text-light); }
.pr-download-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 24px; border: 1px solid var(--pr-primary);
  background: var(--pr-primary); color: #fff;
  font-size: 13px; font-weight: 600;
  border-radius: 20px;
  cursor: pointer; transition: all 0.2s ease;
  text-decoration: none;
}
.pr-download-btn:hover { background: transparent; color: var(--pr-primary); }

/* ===== CMS标签页 ===== */
.pr-tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; padding: 16px 0; }
.pr-tag-item {
  font-size: 13px; padding: 6px 16px;
  border: 1px solid var(--pr-border);
  border-radius: 14px;
  color: var(--pr-text-light);
  transition: all 0.2s ease; text-decoration: none;
}
.pr-tag-item:hover { border-color: var(--pr-primary); color: var(--pr-primary); }

/* ===== CMS用户页 ===== */
.pr-user-page { max-width: 480px; margin: 48px auto; padding: 0 20px; }
.pr-user-form { display: flex; flex-direction: column; gap: 16px; }
.pr-user-form label { font-size: 13px; color: var(--pr-text-light); margin-bottom: 4px; display: block; }
.pr-user-form input {
  width: 100%; padding: 12px 16px;
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius);
  background: var(--pr-surface); color: var(--pr-text);
  font-size: 14px; font-family: inherit;
  transition: border-color 0.2s ease;
}
.pr-user-form input:focus { border-color: var(--pr-primary); }
.pr-user-form button {
  padding: 12px 24px; border: 1px solid var(--pr-primary);
  background: var(--pr-primary); color: #fff;
  font-size: 14px; font-weight: 600;
  border-radius: var(--pr-radius);
  cursor: pointer; transition: all 0.2s ease;
}
.pr-user-form button:hover { background: transparent; color: var(--pr-primary); }
.pr-user-links { display: flex; justify-content: space-between; margin-top: 16px; font-size: 12px; }
.pr-user-links a { color: var(--pr-text-light); }
.pr-user-links a:hover { color: var(--pr-primary); }
