/* ==========================================================================
   base — 全局基础样式
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #2d3748;
  background-color: #f7fafc;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #d69e2e;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #b7791f;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4 {
  font-weight: 600;
  color: #1a202c;
  line-height: 1.4;
}

/* 视觉隐藏但保留给屏幕阅读器 */
.sr-only,
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   layout — 全站布局骨架
   ========================================================================== */

.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1 0 auto;
}

.site-home .site-main,
.site-inner .site-main {
  width: 100%;
}

/* 页头 */
.site-header {
  background-color: #1a202c;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  min-height: 64px;
  gap: 24px;
}

.brand {
  flex-shrink: 0;
}

.brand a {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.brand-name {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.01em;
}

.brand-slogan {
  font-size: 12px;
  color: #a0aec0;
}

/* 主导航 */
.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  gap: 4px;
}

.nav-list li a {
  display: block;
  padding: 10px 16px;
  color: #e2e8f0;
  font-size: 15px;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.nav-list li a:hover {
  color: #ffffff;
  background-color: rgba(214, 158, 46, 0.18);
}

.nav-list li a.is-current {
  background-color: #d69e2e;
  color: #1a202c;
  font-weight: 600;
}

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 页脚 */
.site-footer {
  background-color: #1a202c;
  color: #cbd5e0;
  margin-top: 64px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 24px;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col h3 {
  font-size: 15px;
  color: #ffffff;
  margin-bottom: 14px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #a0aec0;
  font-size: 14px;
}

.footer-col ul li a:hover {
  color: #d69e2e;
}

.footer-about p {
  font-size: 14px;
  color: #a0aec0;
  line-height: 1.7;
}

.footer-bottom {
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: #718096;
}

/* ==========================================================================
   components — 通用组件
   ========================================================================== */

/* 面包屑 */
.breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px 0;
  font-size: 14px;
  color: #718096;
}

.breadcrumb a {
  color: #d69e2e;
}

.breadcrumb a:hover {
  color: #b7791f;
}

.breadcrumb-sep {
  margin: 0 8px;
  color: #a0aec0;
}

.breadcrumb-current {
  color: #4a5568;
}

/* 页面标题区 */
.page-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 24px;
}

.page-title {
  font-size: 32px;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 8px;
}

.page-description {
  font-size: 16px;
  color: #4a5568;
  max-width: 760px;
}

/* 按钮 */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  line-height: 1.5;
}

.btn-primary {
  background-color: #d69e2e;
  color: #1a202c;
}

.btn-primary:hover {
  background-color: #c98a1e;
  color: #1a202c;
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: transparent;
  color: #d69e2e;
  border-color: #d69e2e;
}

.btn-secondary:hover {
  background-color: rgba(214, 158, 46, 0.1);
  color: #b7791f;
  border-color: #b7791f;
  transform: translateY(-1px);
}

/* 区块通用 */
.section {
  padding: 48px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 28px;
}

.section-header h2 {
  font-size: 26px;
  color: #1a202c;
  margin-bottom: 8px;
}

.section-header p {
  color: #4a5568;
  font-size: 15px;
}

/* 标签 */
.tag, .tag-list a {
  display: inline-block;
  padding: 4px 12px;
  background-color: #edf2f7;
  color: #4a5568;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.5;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.tag:hover, .tag-list a:hover {
  background-color: #d69e2e;
  color: #1a202c;
}

/* 文本链接 */
.text-link {
  color: #d69e2e;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.text-link:hover {
  color: #b7791f;
}

/* 相关链接 */
.related-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.related-links-label {
  font-size: 14px;
  color: #718096;
  font-weight: 600;
}

.related-links-item {
  font-size: 14px;
  color: #d69e2e;
}

.related-links-item:hover {
  color: #b7791f;
}

/* 链接更多 */
.link-more {
  display: inline-block;
  margin-top: 20px;
  color: #d69e2e;
  font-weight: 600;
  font-size: 15px;
}

.link-more:hover {
  color: #b7791f;
}

/* 步骤编号（通用） */
.step-number, .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #d69e2e;
  color: #1a202c;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

/* ==========================================================================
   pages — 首页
   ========================================================================== */

/* Hero */
.hero {
  background-color: #1a202c;
  color: #e2e8f0;
  padding: 56px 24px;
}

.hero .hero-media,
.hero .hero-content {
  max-width: 1200px;
  margin: 0 auto;
}

.hero-media {
  margin-bottom: 32px;
}

.hero-media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 8px;
}

.hero-content h1 {
  font-size: 36px;
  color: #ffffff;
  margin-bottom: 12px;
}

.hero-content p {
  font-size: 17px;
  color: #a0aec0;
  max-width: 720px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-actions .btn-secondary {
  color: #e2e8f0;
  border-color: #a0aec0;
}

.hero-actions .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: #e2e8f0;
  color: #ffffff;
}

/* 版块概览 */
.boards-overview {
  padding-top: 56px;
}

.boards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.board-card {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.board-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.boards-grid .board-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 16px;
}

.boards-grid .board-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.boards-grid .board-card p {
  font-size: 14px;
  color: #4a5568;
  margin-bottom: 12px;
}

.boards-grid .tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.boards-grid .board-card .text-link {
  font-size: 14px;
}

/* 双栏：热帖 + 规则 */
.two-column {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  align-items: start;
}

.hot-list, .rules-summary {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.hot-list .section-header h2,
.rules-summary h2 {
  font-size: 22px;
  margin-bottom: 4px;
}

.hot-list .section-header p {
  font-size: 14px;
  color: #718096;
}

.hot-items {
  margin-top: 20px;
}

.hot-item {
  padding: 14px 0;
  border-bottom: 1px solid #edf2f7;
}

.hot-item:last-child {
  border-bottom: none;
}

.hot-item h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.hot-item h3 a {
  color: #1a202c;
}

.hot-item h3 a:hover {
  color: #d69e2e;
}

.hot-item p {
  font-size: 14px;
  color: #718096;
  line-height: 1.6;
}

.rules-summary h2 {
  margin-bottom: 16px;
}

.rules-list li {
  padding: 8px 0;
  border-bottom: 1px solid #edf2f7;
  font-size: 14px;
  color: #4a5568;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.rules-list li::before {
  content: "·";
  color: #d69e2e;
  font-weight: 700;
  flex-shrink: 0;
}

.rules-list li:last-child {
  border-bottom: none;
}

.announcement {
  margin-top: 20px;
  padding: 16px;
  background-color: #f7fafc;
  border-radius: 6px;
  border-left: 3px solid #d69e2e;
}

.announcement h3 {
  font-size: 15px;
  margin-bottom: 6px;
}

.announcement p {
  font-size: 14px;
  color: #4a5568;
  margin-bottom: 8px;
}

.announcement p a {
  font-size: 14px;
  font-weight: 600;
}

/* 参与引导 */
.guide-section {
  padding-top: 56px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.guide-section .step-item {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  position: relative;
}

.guide-section .step-item .step-number {
  margin-bottom: 12px;
}

.guide-section .step-item h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.guide-section .step-item p {
  font-size: 14px;
  color: #4a5568;
  margin-bottom: 10px;
}

.guide-section .step-item a {
  font-size: 14px;
  font-weight: 600;
}

/* 反馈入口 */
.feedback-entry {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
  text-align: center;
}

.feedback-entry h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.feedback-entry p {
  color: #4a5568;
  font-size: 15px;
  margin-bottom: 20px;
}

/* 首页相关链接 */
.home-main > .related-links {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 40px;
}

/* ==========================================================================
   pages — 内页通用
   ========================================================================== */

.inner-main {
  padding-bottom: 48px;
}

/* 侧栏布局 */
.layout-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.sidebar-left {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}

.sidebar-left > aside {
  position: sticky;
  top: 80px;
}

.sidebar-left > aside h2 {
  font-size: 18px;
  color: #1a202c;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #d69e2e;
}

/* ==========================================================================
   pages — 版块导航页
   ========================================================================== */

.category-tree {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.tree-list li {
  margin-bottom: 4px;
}

.tree-list li a {
  display: block;
  padding: 8px 12px;
  color: #4a5568;
  font-size: 15px;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.tree-list li a:hover {
  background-color: #f7fafc;
  color: #d69e2e;
}

.tree-note {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #edf2f7;
  font-size: 13px;
  color: #718096;
}

.tree-note a {
  font-weight: 600;
}

.boards-detail {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.boards-detail .board-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.boards-detail .board-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.board-figure {
  overflow: hidden;
  border-radius: 6px;
}

.board-figure img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.board-content h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.board-content p {
  font-size: 14px;
  color: #4a5568;
  margin-bottom: 12px;
}

.topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.topic-tags li {
  padding: 3px 10px;
  background-color: #edf2f7;
  border-radius: 4px;
  font-size: 13px;
  color: #4a5568;
}

.board-card-more,
.board-card-about {
  grid-template-columns: 1fr !important;
}

.board-card-more .board-content,
.board-card-about .board-content {
  text-align: center;
}

.board-card-about .related-links {
  justify-content: center;
  margin-top: 12px;
}

.board-card-about .related-links li a {
  color: #d69e2e;
  font-size: 14px;
}

/* ==========================================================================
   pages — 新手指南页
   ========================================================================== */

.steps-index {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.steps-nav li {
  margin-bottom: 4px;
}

.steps-nav li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  color: #4a5568;
  font-size: 15px;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.steps-nav li a:hover {
  background-color: #f7fafc;
  color: #d69e2e;
}

.steps-nav .step-num {
  width: 26px;
  height: 26px;
  font-size: 13px;
}

.aside-note {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #edf2f7;
  font-size: 13px;
  color: #718096;
}

.guide-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.content-block {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.content-block > h2 {
  font-size: 22px;
  margin-bottom: 12px;
}

.content-block > p {
  font-size: 15px;
  color: #4a5568;
  margin-bottom: 12px;
}

.media-figure {
  margin: 20px 0;
}

.media-figure img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 6px;
}

.media-figure figcaption {
  font-size: 13px;
  color: #718096;
  text-align: center;
  margin-top: 8px;
}

.step-list {
  margin-top: 16px;
}

.guide-content .step-list .step-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #edf2f7;
}

.guide-content .step-list .step-item:last-child {
  border-bottom: none;
}

.step-text h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.step-text p {
  font-size: 14px;
  color: #4a5568;
  margin-bottom: 0;
}

.term-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.term-card {
  background-color: #f7fafc;
  border-radius: 6px;
  padding: 16px;
  border-left: 3px solid #d69e2e;
}

.term-card h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.term-card p {
  font-size: 14px;
  color: #4a5568;
  margin-bottom: 0;
}

.guide-content .related-links ul {
  margin-top: 12px;
}

.link-list li {
  padding: 8px 0;
  border-bottom: 1px solid #edf2f7;
}

.link-list li:last-child {
  border-bottom: none;
}

.link-list li a {
  color: #d69e2e;
  font-size: 15px;
  font-weight: 600;
}

/* ==========================================================================
   pages — 社区规则页
   ========================================================================== */

.toc-sidebar {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.toc-sidebar nav ul li {
  margin-bottom: 4px;
}

.toc-sidebar nav ul li a {
  display: block;
  padding: 8px 12px;
  color: #4a5568;
  font-size: 15px;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.toc-sidebar nav ul li a:hover {
  background-color: #f7fafc;
  color: #d69e2e;
}

.rules-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.rules-lead-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.rule-section {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.rule-section h2 {
  font-size: 20px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #edf2f7;
}

.rule-section p {
  font-size: 15px;
  color: #4a5568;
  margin-bottom: 10px;
}

.violation-list li {
  padding: 14px 0;
  border-bottom: 1px solid #edf2f7;
}

.violation-list li:last-child {
  border-bottom: none;
}

.violation-list li h3 {
  font-size: 16px;
  margin-bottom: 4px;
  color: #2d3748;
}

.violation-list li p {
  font-size: 14px;
  margin-bottom: 0;
}

.rule-helper {
  background-color: #1a202c;
  border-radius: 8px;
  padding: 28px;
  color: #e2e8f0;
}

.rule-helper h2 {
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 8px;
}

.rule-helper p {
  font-size: 15px;
  color: #a0aec0;
}

.rule-helper p a {
  color: #d69e2e;
  font-weight: 600;
  margin-right: 16px;
}

.rule-helper p a:hover {
  color: #ecc94b;
}

/* ==========================================================================
   pages — 热帖排行页
   ========================================================================== */

.hot-tags {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}

.hot-tags .section-title,
.hot-list-section .section-title {
  font-size: 22px;
  margin-bottom: 6px;
}

.hot-tags .section-desc,
.hot-list-section .section-desc {
  font-size: 15px;
  color: #4a5568;
  margin-bottom: 16px;
}

.hot-tags .tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hot-list-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hot-list-section .hot-list {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  padding: 8px 28px;
}

.hot-list-section .hot-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #edf2f7;
}

.hot-list-section .hot-item:last-child {
  border-bottom: none;
}

.hot-rank {
  font-size: 22px;
  font-weight: 700;
  color: #d69e2e;
  line-height: 1.2;
  text-align: center;
  padding-top: 2px;
}

.hot-content h3 {
  font-size: 17px;
  margin-bottom: 4px;
}

.hot-content h3 a {
  color: #1a202c;
}

.hot-content h3 a:hover {
  color: #d69e2e;
}

.hot-summary {
  font-size: 14px;
  color: #718096;
  margin-bottom: 8px;
  line-height: 1.6;
}

.hot-meta {
  display: flex;
  gap: 12px;
  align-items: center;
}

.hot-tag {
  padding: 2px 10px;
  background-color: #edf2f7;
  border-radius: 4px;
  font-size: 12px;
  color: #4a5568;
}

.hot-activity {
  font-size: 13px;
  color: #a0aec0;
}

.hot-scene {
  max-width: 1200px;
  margin: 32px auto 0;
  padding: 0 24px;
}

.hot-scene img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
}

.hot-scene figcaption {
  font-size: 13px;
  color: #718096;
  text-align: center;
  margin-top: 8px;
}

.join-guide {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
  text-align: center;
}

.join-guide .section-title {
  font-size: 22px;
  margin-bottom: 8px;
}

.join-guide p {
  font-size: 15px;
  color: #4a5568;
  margin-bottom: 12px;
}

.join-guide p a {
  color: #d69e2e;
  font-weight: 600;
  margin: 0 8px;
}

/* ==========================================================================
   pages — 帮助与反馈页
   ========================================================================== */

.help-categories {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}

.help-categories > h2 {
  font-size: 22px;
  margin-bottom: 16px;
}

.content-media-inline {
  margin-bottom: 20px;
}

.content-media-inline img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.content-media-inline figcaption {
  font-size: 13px;
  color: #718096;
  text-align: center;
  margin-top: 6px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.category-card {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.category-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
  color: #1a202c;
}

.category-card p {
  font-size: 14px;
  color: #718096;
  margin-bottom: 0;
}

.feedback-process {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}

.feedback-process > h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.process-intro {
  font-size: 15px;
  color: #4a5568;
  margin-bottom: 20px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feedback-process .process-steps li {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.feedback-process .step-num {
  margin-bottom: 10px;
}

.feedback-process .process-steps h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.feedback-process .process-steps p {
  font-size: 14px;
  color: #4a5568;
  margin-bottom: 0;
}

.faq-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}

.faq-section > h2 {
  font-size: 22px;
  margin-bottom: 20px;
}

.faq-group {
  margin-bottom: 28px;
}

.faq-group > h3 {
  font-size: 17px;
  color: #1a202c;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #edf2f7;
}

.faq-item {
  background-color: #ffffff;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  margin-bottom: 10px;
}

.faq-item summary {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #2d3748;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: #d69e2e;
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  color: #d69e2e;
}

.faq-item p {
  padding: 0 20px 16px;
  font-size: 14px;
  color: #4a5568;
  line-height: 1.7;
}

.faq-item p a {
  color: #d69e2e;
  font-weight: 600;
}

.feedback-notes {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}

.feedback-notes > h2 {
  font-size: 22px;
  margin-bottom: 16px;
}

.notes-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.note-item {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.note-item h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.note-item p {
  font-size: 14px;
  color: #4a5568;
  margin-bottom: 0;
}

/* ==========================================================================
   pages — 关于页
   ========================================================================== */

.about-intro {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
}

.intro-copy h2 {
  font-size: 22px;
  margin-bottom: 12px;
}

.intro-copy p {
  font-size: 15px;
  color: #4a5568;
  margin-bottom: 12px;
}

.about-figure img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 8px;
}

.about-figure figcaption {
  font-size: 13px;
  color: #718096;
  text-align: center;
  margin-top: 8px;
}

.about-principles {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}

.about-principles > h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.principles-lead {
  font-size: 15px;
  color: #4a5568;
  margin-bottom: 20px;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.principle-card {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border-top: 3px solid #d69e2e;
}

.principle-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.principle-card p {
  font-size: 14px;
  color: #4a5568;
  margin-bottom: 0;
}

.about-commitment {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}

.about-commitment > h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.about-commitment > p {
  font-size: 15px;
  color: #4a5568;
  margin-bottom: 16px;
}

.commitment-list {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  padding: 8px 28px;
}

.commitment-list li {
  padding: 16px 0;
  border-bottom: 1px solid #edf2f7;
}

.commitment-list li:last-child {
  border-bottom: none;
}

.commitment-list strong {
  display: block;
  font-size: 16px;
  color: #1a202c;
  margin-bottom: 4px;
}

.commitment-list span {
  font-size: 14px;
  color: #4a5568;
}

.commitment-list span a {
  color: #d69e2e;
  font-weight: 600;
}

.commitment-closing {
  margin-top: 20px;
  text-align: center;
  font-size: 15px;
}

.commitment-closing a {
  color: #d69e2e;
  font-weight: 600;
}

/* ==========================================================================
   pages — 404 页
   ========================================================================== */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
}

.error-content {
  text-align: center;
  max-width: 560px;
}

.error-code {
  font-size: 72px;
  font-weight: 700;
  color: #d69e2e;
  line-height: 1.2;
}

.error-content h1 {
  font-size: 28px;
  margin: 16px 0 8px;
}

.error-desc {
  font-size: 16px;
  color: #4a5568;
  margin-bottom: 24px;
}

.error-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.error-btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  background-color: #d69e2e;
  color: #1a202c;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.error-btn:hover {
  background-color: #c98a1e;
  color: #1a202c;
}

.error-btn-secondary {
  background-color: transparent;
  color: #d69e2e;
  border-color: #d69e2e;
}

.error-btn-secondary:hover {
  background-color: rgba(214, 158, 46, 0.1);
  color: #b7791f;
  border-color: #b7791f;
}

/* ==========================================================================
   responsive — 响应式断点
   ========================================================================== */

/* 平板 */
@media (max-width: 1024px) {
  .boards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .principles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .notes-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-column {
    grid-template-columns: 1fr;
  }

  .sidebar-left {
    grid-template-columns: 1fr;
  }

  .sidebar-left > aside {
    position: static;
  }

  .about-intro {
    grid-template-columns: 1fr;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .boards-detail .board-card {
    grid-template-columns: 160px 1fr;
  }
}

/* 手机 */
@media (max-width: 768px) {
  .header-inner {
    padding: 0 16px;
    flex-wrap: wrap;
    min-height: 56px;
    gap: 12px;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .site-nav {
    width: 100%;
    margin-left: 0;
    order: 3;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px 0 16px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li a {
    padding: 12px 16px;
    border-radius: 4px;
  }

  .hero {
    padding: 32px 16px;
  }

  .hero-media img {
    height: 200px;
  }

  .hero-content h1 {
    font-size: 26px;
  }

  .hero-content p {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    text-align: center;
  }

  .section {
    padding: 32px 16px;
  }

  .section-header h2 {
    font-size: 22px;
  }

  .boards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .two-column {
    padding: 0 16px;
    gap: 16px;
  }

  .hot-list, .rules-summary {
    padding: 20px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feedback-entry {
    padding: 32px 16px;
  }

  .page-header {
    padding: 24px 16px 20px;
  }

  .page-title {
    font-size: 26px;
  }

  .breadcrumb {
    padding: 12px 16px 0;
  }

  .layout-shell {
    padding: 0 16px;
  }

  .boards-detail .board-card {
    grid-template-columns: 1fr;
  }

  .board-figure img {
    height: 180px;
  }

  .term-grid {
    grid-template-columns: 1fr;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .principles-grid {
    grid-template-columns: 1fr;
  }

  .notes-list {
    grid-template-columns: 1fr;
  }

  .hot-list-section .hot-list {
    padding: 8px 16px;
  }

  .hot-list-section .hot-item {
    grid-template-columns: 36px 1fr;
    gap: 12px;
  }

  .hot-rank {
    font-size: 18px;
  }

  .hot-scene {
    padding: 0 16px;
  }

  .hot-scene img {
    height: 160px;
  }

  .join-guide {
    padding: 32px 16px;
  }

  .faq-section,
  .help-categories,
  .feedback-process,
  .feedback-notes,
  .about-intro,
  .about-principles,
  .about-commitment {
    padding-left: 16px;
    padding-right: 16px;
  }

  .about-intro {
    gap: 20px;
  }

  .about-figure img {
    height: 200px;
  }

  .footer-inner {
    padding: 32px 16px 20px;
  }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .error-main {
    padding: 48px 16px;
  }

  .error-code {
    font-size: 56px;
  }

  .error-content h1 {
    font-size: 24px;
  }

  .error-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .error-btn {
    text-align: center;
  }

  .rule-helper p a {
    display: inline-block;
    margin: 4px 8px 4px 0;
  }
}

/* 小屏手机 */
@media (max-width: 390px) {
  .brand-name {
    font-size: 18px;
  }

  .brand-slogan {
    font-size: 11px;
  }

  .hero-content h1 {
    font-size: 24px;
  }

  .section-header h2 {
    font-size: 20px;
  }

  .boards-grid .board-card img {
    height: 120px;
  }

  .hot-list, .rules-summary {
    padding: 16px;
  }

  .hot-item h3 {
    font-size: 15px;
  }

  .content-block {
    padding: 20px;
  }

  .rule-section {
    padding: 20px;
  }

  .faq-item summary {
    padding: 14px 16px;
    font-size: 14px;
  }

  .faq-item p {
    padding: 0 16px 14px;
    font-size: 13px;
  }
}
