/* ============================================
   41_Green_Nature - 绿色自然论坛模板
   CSS前缀: gn-
   配色: 主色#2D6A4F 强调#52B788 背景#F0FDF4 文字#1B4332
   ============================================ */

/* 基础重置 */
* { margin: 0; padding: 0; box-sizing: border-box; }
.gn-body {
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  background: #F0FDF4;
  color: #1B4332;
  line-height: 1.6;
  font-size: 14px;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; font-family: inherit; }
input, textarea, select { font-family: inherit; outline: none; }

/* ===== 顶部导航栏 ===== */
.gn-header {
  background: linear-gradient(135deg, #2D6A4F 0%, #52B788 100%);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(45, 106, 79, 0.15);
}
.gn-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 0 20px;
  height: 64px;
  gap: 20px;
}
.gn-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.gn-logo-icon { flex-shrink: 0; }
.gn-logo-text {
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 1px;
}
.gn-nav {
  display: flex;
  gap: 4px;
  flex: 1;
  overflow-x: auto;
}
.gn-nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 20px;
  transition: all 0.3s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
}
.gn-nav-link:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}
.gn-nav-link.gn-active {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  font-weight: 600;
}
.gn-user-area {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.gn-search-box {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 4px 4px 4px 16px;
  transition: background 0.3s ease;
}
.gn-search-box:focus-within { background: rgba(255, 255, 255, 0.3); }
.gn-search-input {
  background: transparent;
  border: none;
  color: #FFFFFF;
  width: 140px;
  font-size: 13px;
}
.gn-search-input::placeholder { color: rgba(255, 255, 255, 0.6); }
.gn-search-btn {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: background 0.3s ease;
}
.gn-search-btn:hover { background: rgba(255, 255, 255, 0.35); }
.gn-icon-btn {
  position: relative;
  background: transparent;
  color: #FFFFFF;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}
.gn-icon-btn:hover { background: rgba(255, 255, 255, 0.15); }
.gn-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: #EF476F;
  color: #FFFFFF;
  font-size: 10px;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.gn-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
}
.gn-menu-toggle {
  display: none;
  background: transparent;
  color: #FFFFFF;
}

/* ===== Banner区 ===== */
.gn-banner {
  position: relative;
  max-width: 1280px;
  margin: 20px auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(45, 106, 79, 0.2);
}
.gn-banner-img { width: 100%; height: 240px; object-fit: cover; }
.gn-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(45, 106, 79, 0.85) 0%, rgba(82, 183, 136, 0.6) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}
.gn-banner-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.gn-banner-subtitle {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 20px;
}
.gn-banner-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.gn-banner-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gn-stat-num { font-size: 24px; font-weight: 700; }
.gn-stat-label { font-size: 12px; opacity: 0.8; margin-top: 2px; }
.gn-banner-divider { width: 1px; height: 40px; background: rgba(255, 255, 255, 0.3); }
.gn-leaf-deco {
  position: absolute;
  width: 80px;
  height: 80px;
  animation: gnFloat 4s ease-in-out infinite;
}
.gn-leaf-1 { top: 20px; right: 10%; animation-delay: 0s; }
.gn-leaf-2 { bottom: 20px; left: 10%; animation-delay: 2s; width: 60px; height: 60px; }
@keyframes gnFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(10deg); }
}

/* ===== 主体布局 ===== */
.gn-main { padding: 0 20px 40px; }
.gn-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
}
.gn-content { min-width: 0; }

/* ===== 论坛板块 ===== */
.gn-sections { display: flex; flex-direction: column; gap: 16px; }
.gn-section {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(45, 106, 79, 0.08);
  border: 1px solid #E8F5E9;
  transition: box-shadow 0.3s ease;
}
.gn-section:hover { box-shadow: 0 4px 20px rgba(45, 106, 79, 0.15); }
.gn-section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid #F0FDF4;
  margin-bottom: 12px;
}
.gn-section-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  flex-shrink: 0;
}
.gn-icon-green { background: linear-gradient(135deg, #2D6A4F, #52B788); }
.gn-icon-leaf { background: linear-gradient(135deg, #40916C, #74C69D); }
.gn-icon-mint { background: linear-gradient(135deg, #52B788, #95D5B2); }
.gn-icon-forest { background: linear-gradient(135deg, #1B4332, #2D6A4F); }
.gn-section-info { flex: 1; min-width: 0; }
.gn-section-title { font-size: 18px; font-weight: 600; color: #1B4332; }
.gn-section-title a:hover { color: #52B788; }
.gn-section-desc { font-size: 12px; color: #74C69D; margin-top: 2px; }
.gn-section-stats { display: flex; gap: 12px; }
.gn-stat-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #95D5B2;
}
.gn-post-list { display: flex; flex-direction: column; gap: 4px; }
.gn-post-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  transition: background 0.2s ease;
}
.gn-post-item:hover { background: #F0FDF4; }
.gn-post-tag {
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 6px;
  color: #FFFFFF;
  font-weight: 600;
  flex-shrink: 0;
}
.gn-tag-hot { background: #EF476F; }
.gn-tag-new { background: #52B788; }
.gn-tag-essence { background: #FFD60A; color: #1B4332; }
.gn-tag-top { background: #2D6A4F; }
.gn-post-title {
  flex: 1;
  font-size: 14px;
  color: #1B4332;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}
.gn-post-title:hover { color: #52B788; }
.gn-post-author { font-size: 12px; color: #74C69D; flex-shrink: 0; }
.gn-post-time { font-size: 12px; color: #B7E4C7; flex-shrink: 0; }

/* ===== 侧边栏 ===== */
.gn-sidebar { display: flex; flex-direction: column; gap: 16px; }
.gn-widget {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 2px 12px rgba(45, 106, 79, 0.08);
  border: 1px solid #E8F5E9;
}
.gn-widget-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: #1B4332;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid #F0FDF4;
}
.gn-online-stats { display: flex; flex-direction: column; gap: 10px; }
.gn-online-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.gn-online-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.gn-dot-green { background: #2D6A4F; box-shadow: 0 0 6px #2D6A4F; }
.gn-dot-leaf { background: #52B788; box-shadow: 0 0 6px #52B788; }
.gn-dot-mint { background: #74C69D; }
.gn-dot-forest { background: #1B4332; }
.gn-online-label { color: #74C69D; flex: 1; }
.gn-online-num { font-weight: 600; color: #2D6A4F; }
.gn-hot-list { display: flex; flex-direction: column; gap: 8px; }
.gn-hot-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  padding: 4px 0;
}
.gn-hot-rank {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: #E8F5E9;
  color: #74C69D;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}
.gn-rank-1 { background: #EF476F; color: #FFFFFF; }
.gn-rank-2 { background: #FF9F1C; color: #FFFFFF; }
.gn-rank-3 { background: #FFD60A; color: #1B4332; }
.gn-hot-item a {
  flex: 1;
  color: #1B4332;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}
.gn-hot-item a:hover { color: #52B788; }
.gn-hot-count { font-size: 11px; color: #B7E4C7; flex-shrink: 0; }
.gn-user-list { display: flex; flex-direction: column; gap: 10px; }
.gn-user-item { display: flex; align-items: center; gap: 10px; }
.gn-user-avatar { width: 36px; height: 36px; border-radius: 50%; border: 2px solid #D8F3DC; }
.gn-user-info { display: flex; flex-direction: column; }
.gn-user-name { font-size: 13px; font-weight: 600; color: #1B4332; }
.gn-user-posts { font-size: 11px; color: #95D5B2; }

/* ===== 面包屑 ===== */
.gn-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #74C69D;
  margin-bottom: 16px;
  padding: 8px 0;
}
.gn-breadcrumb a { color: #52B788; transition: color 0.2s ease; }
.gn-breadcrumb a:hover { color: #2D6A4F; }
.gn-breadcrumb-current { color: #1B4332; font-weight: 600; }

/* ===== 板块信息 ===== */
.gn-board-info {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 12px rgba(45, 106, 79, 0.08);
  border: 1px solid #E8F5E9;
}
.gn-board-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.gn-board-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, #2D6A4F, #52B788);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  flex-shrink: 0;
}
.gn-board-text { flex: 1; }
.gn-board-title { font-size: 22px; font-weight: 700; color: #1B4332; margin-bottom: 4px; }
.gn-board-desc { font-size: 13px; color: #74C69D; }
.gn-new-post-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #2D6A4F, #52B788);
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}
.gn-new-post-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(45, 106, 79, 0.3); }
.gn-board-stats { display: flex; gap: 24px; padding-top: 16px; border-top: 1px solid #E8F5E9; }
.gn-board-stat { display: flex; flex-direction: column; }
.gn-bs-num { font-size: 20px; font-weight: 700; color: #2D6A4F; }
.gn-bs-label { font-size: 12px; color: #95D5B2; }

/* ===== 筛选栏 ===== */
.gn-filter-bar, .gn-search-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 12px 16px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(45, 106, 79, 0.06);
  border: 1px solid #E8F5E9;
  flex-wrap: wrap;
  gap: 10px;
}
.gn-filter-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.gn-filter-tab {
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 13px;
  color: #74C69D;
  transition: all 0.2s ease;
}
.gn-filter-tab:hover { background: #F0FDF4; color: #2D6A4F; }
.gn-filter-active { background: #2D6A4F; color: #FFFFFF !important; }
.gn-sort { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #74C69D; }
.gn-sort-select {
  border: 1px solid #D8F3DC;
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 13px;
  color: #1B4332;
  background: #F0FDF4;
}

/* ===== 帖子列表 ===== */
.gn-thread-list {
  background: #FFFFFF;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(45, 106, 79, 0.08);
  border: 1px solid #E8F5E9;
  margin-bottom: 16px;
}
.gn-thread-list-head {
  display: grid;
  grid-template-columns: 1fr 140px 120px 140px;
  padding: 12px 20px;
  background: #F0FDF4;
  font-size: 12px;
  font-weight: 600;
  color: #74C69D;
}
.gn-thread-item {
  display: grid;
  grid-template-columns: 1fr 140px 120px 140px;
  padding: 14px 20px;
  border-bottom: 1px solid #E8F5E9;
  align-items: center;
  transition: background 0.2s ease;
}
.gn-thread-item:hover { background: #F0FDF4; }
.gn-thread-item:last-child { border-bottom: none; }
.gn-thread-main { display: flex; align-items: center; gap: 6px; min-width: 0; }
.gn-thread-tag { font-size: 10px; padding: 2px 5px; border-radius: 4px; color: #FFFFFF; font-weight: 600; flex-shrink: 0; }
.gn-thread-title {
  font-size: 14px;
  color: #1B4332;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}
.gn-thread-title:hover { color: #52B788; }
.gn-thread-author { display: flex; align-items: center; gap: 6px; min-width: 0; }
.gn-thread-avatar { width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; }
.gn-thread-name { font-size: 12px; color: #74C69D; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gn-thread-stats { display: flex; flex-direction: column; font-size: 12px; }
.gn-thread-reply { color: #2D6A4F; font-weight: 600; }
.gn-thread-view { color: #B7E4C7; }
.gn-thread-last { display: flex; flex-direction: column; font-size: 12px; }
.gn-thread-last-time { color: #74C69D; }
.gn-thread-last-author { color: #95D5B2; }

/* ===== 分页 ===== */
.gn-pagination { display: flex; justify-content: center; gap: 6px; padding: 20px 0; flex-wrap: wrap; }
.gn-page-btn {
  min-width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid #E8F5E9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #1B4332;
  transition: all 0.2s ease;
  padding: 0 10px;
}
.gn-page-btn:hover { background: #F0FDF4; border-color: #52B788; }
.gn-page-active { background: #2D6A4F; color: #FFFFFF; border-color: #2D6A4F; }
.gn-page-disabled { opacity: 0.4; cursor: not-allowed; }
.gn-page-ellipsis { display: flex; align-items: center; color: #B7E4C7; }

/* ===== 帖子详情 ===== */
.gn-detail-title-bar {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 12px rgba(45, 106, 79, 0.08);
  border: 1px solid #E8F5E9;
}
.gn-detail-title { font-size: 22px; font-weight: 700; color: #1B4332; margin-bottom: 10px; }
.gn-detail-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.gn-detail-tag { font-size: 11px; padding: 3px 8px; border-radius: 6px; color: #FFFFFF; font-weight: 600; }
.gn-meta-item { display: flex; align-items: center; gap: 4px; font-size: 12px; color: #95D5B2; }
.gn-post-detail {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: 0 2px 12px rgba(45, 106, 79, 0.08);
  border: 1px solid #E8F5E9;
}
.gn-post-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid #E8F5E9;
  margin-bottom: 16px;
}
.gn-post-avatar { width: 56px; height: 56px; border-radius: 50%; border: 3px solid #D8F3DC; }
.gn-post-author-info { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.gn-post-username { font-size: 16px; font-weight: 600; color: #1B4332; }
.gn-post-level { font-size: 11px; padding: 2px 8px; border-radius: 8px; width: fit-content; color: #FFFFFF; }
.gn-level-gold { background: #FFD60A; color: #1B4332; }
.gn-level-silver { background: #95D5B2; }
.gn-level-bronze { background: #B7E4C7; color: #2D6A4F; }
.gn-post-date { font-size: 12px; color: #95D5B2; }
.gn-post-floor { font-size: 13px; color: #B7E4C7; font-weight: 600; }
.gn-post-content { font-size: 15px; line-height: 1.8; color: #1B4332; }
.gn-post-content p { margin-bottom: 12px; }
.gn-post-image { border-radius: 16px; margin: 16px 0; max-height: 300px; width: auto; }
.gn-post-actions { display: flex; gap: 12px; margin-top: 20px; padding-top: 16px; border-top: 1px solid #E8F5E9; }
.gn-action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #F0FDF4;
  border: 1px solid #E8F5E9;
  color: #2D6A4F;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  transition: all 0.2s ease;
}
.gn-action-btn:hover { background: #D8F3DC; }
.gn-action-sm { padding: 4px 10px; font-size: 12px; }

/* ===== 回复列表 ===== */
.gn-replies {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 12px rgba(45, 106, 79, 0.08);
  border: 1px solid #E8F5E9;
}
.gn-replies-title { font-size: 16px; font-weight: 600; color: #1B4332; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid #F0FDF4; }
.gn-replies-count { color: #52B788; font-size: 14px; }
.gn-reply-item {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid #E8F5E9;
}
.gn-reply-item:last-child { border-bottom: none; }
.gn-reply-avatar { width: 40px; height: 40px; border-radius: 50%; border: 2px solid #D8F3DC; flex-shrink: 0; }
.gn-reply-body { flex: 1; min-width: 0; }
.gn-reply-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.gn-reply-name { font-size: 14px; font-weight: 600; color: #1B4332; }
.gn-reply-level { font-size: 10px; padding: 1px 6px; border-radius: 4px; color: #FFFFFF; }
.gn-reply-floor { font-size: 11px; color: #B7E4C7; }
.gn-reply-time { font-size: 11px; color: #95D5B2; margin-left: auto; }
.gn-reply-text { font-size: 14px; color: #1B4332; line-height: 1.7; margin-bottom: 8px; }
.gn-reply-image { border-radius: 12px; max-height: 200px; margin-bottom: 8px; }
.gn-reply-actions { display: flex; gap: 8px; }

/* ===== 回复框 ===== */
.gn-reply-form {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(45, 106, 79, 0.08);
  border: 1px solid #E8F5E9;
}
.gn-reply-form-title { font-size: 16px; font-weight: 600; color: #1B4332; margin-bottom: 12px; }
.gn-reply-textarea {
  width: 100%;
  min-height: 120px;
  border: 2px solid #E8F5E9;
  border-radius: 16px;
  padding: 12px 16px;
  font-size: 14px;
  color: #1B4332;
  resize: vertical;
  transition: border-color 0.2s ease;
  background: #F0FDF4;
}
.gn-reply-textarea:focus { border-color: #52B788; }
.gn-reply-form-bar { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.gn-reply-tools { display: flex; gap: 8px; }
.gn-tool-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #F0FDF4;
  border: 1px solid #E8F5E9;
  color: #52B788;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.gn-tool-btn:hover { background: #D8F3DC; }
.gn-submit-reply {
  background: linear-gradient(135deg, #2D6A4F, #52B788);
  color: #FFFFFF;
  padding: 10px 24px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.2s ease;
}
.gn-submit-reply:hover { transform: translateY(-2px); }

/* ===== 楼主信息卡片 ===== */
.gn-user-card { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.gn-user-card-avatar { width: 64px; height: 64px; border-radius: 50%; border: 3px solid #D8F3DC; }
.gn-user-card-name { font-size: 16px; font-weight: 600; color: #1B4332; }
.gn-user-card-level { font-size: 11px; padding: 2px 8px; border-radius: 8px; color: #1B4332; background: #FFD60A; }
.gn-user-card-stats { display: flex; gap: 12px; margin-top: 8px; padding-top: 12px; border-top: 1px solid #E8F5E9; width: 100%; justify-content: center; }
.gn-user-card-stats div { display: flex; flex-direction: column; align-items: center; }
.gn-user-card-stats span { font-size: 14px; font-weight: 700; color: #2D6A4F; }
.gn-user-card-stats label { font-size: 11px; color: #95D5B2; }

/* ===== 板块公告 ===== */
.gn-notice { padding: 12px; background: #F0FDF4; border-radius: 12px; font-size: 13px; color: #2D6A4F; line-height: 1.6; border-left: 3px solid #52B788; }

/* ===== 搜索页 ===== */
.gn-search-page {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 16px;
  box-shadow: 0 2px 12px rgba(45, 106, 79, 0.08);
  border: 1px solid #E8F5E9;
  text-align: center;
}
.gn-search-page-title { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 24px; font-weight: 700; color: #1B4332; margin-bottom: 20px; }
.gn-search-large { display: flex; gap: 10px; max-width: 700px; margin: 0 auto 16px; }
.gn-search-large-input {
  flex: 1;
  height: 48px;
  border: 2px solid #D8F3DC;
  border-radius: 24px;
  padding: 0 20px;
  font-size: 15px;
  color: #1B4332;
  transition: border-color 0.2s ease;
}
.gn-search-large-input:focus { border-color: #52B788; }
.gn-search-large-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #2D6A4F, #52B788);
  color: #FFFFFF;
  padding: 0 28px;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.2s ease;
}
.gn-search-large-btn:hover { transform: translateY(-2px); }
.gn-search-result-info { font-size: 13px; color: #74C69D; }
.gn-search-keyword { color: #2D6A4F; font-weight: 600; }
.gn-search-count { color: #EF476F; font-weight: 700; }
.gn-search-results { display: flex; flex-direction: column; gap: 12px; }
.gn-search-result-item {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 2px 8px rgba(45, 106, 79, 0.06);
  border: 1px solid #E8F5E9;
  transition: box-shadow 0.2s ease;
}
.gn-search-result-item:hover { box-shadow: 0 4px 16px rgba(45, 106, 79, 0.12); }
.gn-search-result-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.gn-search-result-tag { font-size: 11px; padding: 2px 8px; border-radius: 6px; background: #D8F3DC; color: #2D6A4F; font-weight: 600; flex-shrink: 0; }
.gn-search-result-title { font-size: 15px; font-weight: 600; color: #1B4332; transition: color 0.2s ease; }
.gn-search-result-title:hover { color: #52B788; }
.gn-search-result-title em { color: #EF476F; font-style: normal; font-weight: 700; }
.gn-search-result-summary { font-size: 13px; color: #74C69D; line-height: 1.6; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gn-search-result-summary em { color: #EF476F; font-style: normal; font-weight: 600; }
.gn-search-result-meta { display: flex; gap: 16px; flex-wrap: wrap; }
.gn-search-result-meta span { display: flex; align-items: center; gap: 4px; font-size: 12px; color: #95D5B2; }
.gn-hot-search { display: flex; flex-wrap: wrap; gap: 8px; }
.gn-hot-search-tag {
  padding: 6px 14px;
  border-radius: 16px;
  background: #F0FDF4;
  border: 1px solid #E8F5E9;
  font-size: 13px;
  color: #2D6A4F;
  transition: all 0.2s ease;
}
.gn-hot-search-tag:hover { background: #D8F3DC; border-color: #52B788; }
.gn-hs-1 { background: #EF476F; color: #FFFFFF; border-color: #EF476F; }
.gn-hs-2 { background: #FF9F1C; color: #FFFFFF; border-color: #FF9F1C; }
.gn-hs-3 { background: #FFD60A; color: #1B4332; border-color: #FFD60A; }

/* ===== 页脚 ===== */
.gn-footer {
  background: linear-gradient(180deg, #1B4332 0%, #2D6A4F 100%);
  color: #D8F3DC;
  margin-top: 40px;
}
.gn-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 40px 20px 24px;
}
.gn-footer-title { font-size: 15px; font-weight: 600; color: #FFFFFF; margin-bottom: 16px; }
.gn-footer-links { display: flex; flex-direction: column; gap: 8px; }
.gn-footer-links a { font-size: 13px; color: #95D5B2; transition: color 0.2s ease; }
.gn-footer-links a:hover { color: #52B788; }
.gn-footer-text { font-size: 13px; color: #95D5B2; margin-bottom: 12px; }
.gn-footer-social { display: flex; gap: 10px; }
.gn-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #D8F3DC;
  transition: background 0.2s ease;
}
.gn-social-btn:hover { background: rgba(82, 183, 136, 0.4); }
.gn-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 20px;
  text-align: center;
  font-size: 12px;
  color: #74C69D;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .gn-container { grid-template-columns: 1fr; }
  .gn-sidebar { order: -1; }
  .gn-nav { display: none; }
  .gn-nav.gn-nav-open {
    display: flex;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #2D6A4F;
    flex-direction: column;
    padding: 10px;
    gap: 2px;
    max-height: 400px;
    overflow-y: auto;
  }
  .gn-menu-toggle { display: flex; }
  .gn-search-box { display: none; }
  .gn-thread-list-head, .gn-thread-item { grid-template-columns: 1fr 100px 80px; }
  .gn-thread-last { display: none; }
  .gn-th-time { display: none; }
}
@media (max-width: 768px) {
  .gn-header-inner { height: 56px; padding: 0 12px; gap: 8px; }
  .gn-logo-text { font-size: 16px; }
  .gn-banner { margin: 12px; border-radius: 16px; }
  .gn-banner-img { height: 180px; }
  .gn-banner-title { font-size: 24px; }
  .gn-banner-subtitle { font-size: 13px; }
  .gn-banner-stats { gap: 12px; }
  .gn-stat-num { font-size: 18px; }
  .gn-main { padding: 0 12px 24px; }
  .gn-section, .gn-board-info, .gn-post-detail, .gn-replies, .gn-reply-form, .gn-detail-title-bar, .gn-search-page { padding: 16px; border-radius: 14px; }
  .gn-section-head { flex-wrap: wrap; }
  .gn-section-stats { width: 100%; justify-content: flex-end; }
  .gn-board-head { flex-direction: column; align-items: flex-start; }
  .gn-board-stats { gap: 16px; }
  .gn-thread-list-head { display: none; }
  .gn-thread-item { grid-template-columns: 1fr; gap: 6px; padding: 12px; }
  .gn-thread-author, .gn-thread-stats { flex-direction: row; }
  .gn-post-actions { flex-wrap: wrap; }
  .gn-search-large { flex-direction: column; }
  .gn-search-large-btn { height: 48px; justify-content: center; }
  .gn-footer-inner { grid-template-columns: 1fr 1fr; gap: 20px; }
  .gn-detail-title { font-size: 18px; }
  .gn-post-content { font-size: 14px; }
  .gn-filter-bar, .gn-search-filter { flex-direction: column; align-items: flex-start; }
}

/* ===== CMS分页 ===== */
.jv-pagination {
  display: flex; align-items: center; gap: 4px; flex-wrap: wrap;
  padding: 24px 0; justify-content: center;
}
.jv-page-info {
  font-size: 13px; color: #6B9B7E;
  margin-right: 12px; letter-spacing: 0.3px;
}
.jv-pagination a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 12px;
  font-size: 14px; font-weight: 500;
  cursor: pointer; background: none;
  border: 1px solid transparent;
  color: #2D6A4F;
  transition: all 0.2s;
  text-decoration: none; font-variant-numeric: tabular-nums;
  border-radius: 10px;
}
.jv-pagination a:hover {
  color: #1B4332; border-color: #D8F3DC; background: #F0FDF4;
}
.jv-pagination a.active {
  color: #fff; background: #2D6A4F; border-color: #2D6A4F; font-weight: 700;
}
.jv-pagination a.disabled {
  color: #B0C4B5; border-color: transparent;
  cursor: not-allowed; pointer-events: none; opacity: 0.5;
}
.jv-page-dots {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px;
  color: #6B9B7E; font-size: 14px;
}

/* ===== CMS评论区 ===== */
.comment-section { margin-top: 0; }
.comment-form-area { margin-bottom: 20px; }
.comment-login-notice {
  background: #F0FDF4; border: 1px solid #D8F3DC;
  border-radius: 14px; padding: 24px; text-align: center;
}
.comment-list { display: flex; flex-direction: column; }
.comment-item {
  display: flex; gap: 14px; padding: 18px 0;
  border-bottom: 1px solid #E8F5E9;
}
.comment-item:last-child { border-bottom: none; }
.comment-avatar {
  flex-shrink: 0; width: 40px; height: 40px;
  border-radius: 50%; background: #2D6A4F; color: #fff;
  font-size: 16px; 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: 14px; font-weight: 700; color: #1B4332; }
.comment-reply-to { font-size: 12px; color: #6B9B7E; }
.comment-reply-to::before { content: '\2192'; margin-right: 3px; }
.comment-time { font-size: 12px; color: #6B9B7E; margin-left: auto; }
.comment-content { font-size: 14px; color: #1B4332; line-height: 1.7; word-break: break-word; }
.comment-actions { margin-top: 8px; }
.comment-reply-btn {
  display: inline-flex; align-items: center;
  height: 28px; padding: 0 12px;
  border: none; background: transparent;
  color: #6B9B7E; font-size: 12px;
  cursor: pointer; transition: all 0.2s;
}
.comment-reply-btn:hover { color: #2D6A4F; }
.comment-reply-form { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.comment-reply-input {
  width: 100%; border: 1px solid #D8F3DC; border-radius: 10px;
  padding: 10px 14px; font-size: 13px; line-height: 1.5;
  resize: vertical; min-height: 60px; font-family: inherit;
  background: #F0FDF4; color: #1B4332;
  transition: border-color 0.2s;
}
.comment-reply-input:focus { border-color: #52B788; }
.comment-reply-submit {
  align-self: flex-end;
  display: inline-flex; align-items: center;
  height: 32px; padding: 0 16px;
  border: none; border-radius: 10px;
  background: #2D6A4F; color: #fff;
  font-size: 12px; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
}
.comment-reply-submit:hover { background: #52B788; }
.comment-reply-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.comment-replies {
  margin-left: 54px; padding-left: 16px;
  border-left: 2px solid #D8F3DC;
  display: flex; flex-direction: column;
}
.comment-reply-item {
  display: flex; gap: 10px; padding: 12px 0;
  border-bottom: 1px solid #E8F5E9;
}
.comment-reply-item:last-child { border-bottom: none; }
.comment-reply-item .comment-avatar { width: 32px; height: 32px; font-size: 13px; }
.comment-reply-item .comment-author { font-size: 13px; }
.comment-reply-item .comment-content { font-size: 13px; }
.comment-empty { text-align: center; padding: 32px 16px; color: #6B9B7E; font-size: 14px; }
.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: 36px; padding: 0 28px; border-radius: 10px;
  border: 1px solid #D8F3DC; background: #F0FDF4; color: #2D6A4F;
  font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
}
.comment-load-more-btn:hover { background: #2D6A4F; color: #fff; }
.comment-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.comment-char-count { font-size: 12px; color: #6B9B7E; }

/* ===== CMS下载页 ===== */
.gn-download-info {
  display: flex; align-items: center; gap: 20px;
  padding: 20px; background: #F0FDF4;
  border: 1px solid #D8F3DC; border-radius: 14px; margin-bottom: 20px;
}
.gn-download-file {
  width: 56px; height: 56px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid #D8F3DC; border-radius: 12px; color: #2D6A4F;
}
.gn-download-meta { flex: 1; }
.gn-download-name { font-size: 16px; font-weight: 700; color: #1B4332; margin-bottom: 4px; }
.gn-download-desc { font-size: 12px; color: #6B9B7E; }
.gn-download-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 24px; border: none; border-radius: 10px;
  background: #2D6A4F; color: #fff;
  font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all 0.2s; text-decoration: none;
}
.gn-download-btn:hover { background: #52B788; }

/* ===== CMS标签页 ===== */
.gn-tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; padding: 16px 0; }
.gn-tag-item {
  font-size: 14px; padding: 6px 16px; border-radius: 20px;
  border: 1px solid #D8F3DC; background: #F0FDF4;
  color: #2D6A4F; transition: all 0.2s; text-decoration: none;
}
.gn-tag-item:hover { background: #2D6A4F; color: #fff; }

/* ===== CMS用户页 ===== */
.gn-user-page { max-width: 480px; margin: 48px auto; padding: 0 20px; }
.gn-user-form { display: flex; flex-direction: column; gap: 16px; }
.gn-user-form label { font-size: 14px; color: #6B9B7E; margin-bottom: 4px; display: block; }
.gn-user-form input {
  width: 100%; padding: 12px 16px; border-radius: 10px;
  border: 1px solid #D8F3DC; background: #F0FDF4; color: #1B4332;
  font-size: 15px; font-family: inherit; transition: border-color 0.2s;
}
.gn-user-form input:focus { border-color: #52B788; }
.gn-user-form button {
  padding: 12px 24px; border: none; border-radius: 10px;
  background: #2D6A4F; color: #fff;
  font-size: 15px; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
}
.gn-user-form button:hover { background: #52B788; }
.gn-user-links { display: flex; justify-content: space-between; margin-top: 16px; font-size: 13px; }
.gn-user-links a { color: #6B9B7E; }
.gn-user-links a:hover { color: #2D6A4F; }
