/* ==========================================================================
   base — 全局基础样式
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #262A2A;
  background-color: #F3F5F4;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #1D5B6A;
  text-decoration: none;
}

a:hover {
  color: #C65D31;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.4;
}

h1 {
  font-size: 28px;
}

h2 {
  font-size: 22px;
}

h3 {
  font-size: 18px;
}

figure {
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   layout — 全站骨架布局
   ========================================================================== */

.site-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-header {
  background-color: #FFFFFF;
  border-bottom: 1px solid #E1E5E4;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  color: #1D5B6A;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 400;
  color: #262A2A;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-list a:hover {
  background-color: #F3F5F4;
  color: #1D5B6A;
}

.nav-list a.is-current {
  color: #1D5B6A;
  font-weight: 700;
  background-color: #E8EFEE;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 1px solid #E1E5E4;
  border-radius: 6px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #262A2A;
  border-radius: 2px;
}

.site-main {
  flex: 1;
  width: 100%;
}

.inner-main {
  max-width: 1160px;
  margin: 0 auto;
  padding: 32px 20px 64px;
}

.site-footer {
  background-color: #FFFFFF;
  border-top: 1px solid #E1E5E4;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 40px 20px 24px;
}

.footer-slogan {
  font-size: 14px;
  color: #6B7575;
  line-height: 1.75;
  margin-bottom: 24px;
  max-width: 720px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #E1E5E4;
}

.footer-nav-group h3 {
  font-size: 15px;
  color: #262A2A;
  margin-bottom: 12px;
}

.footer-nav-group ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav-group a {
  font-size: 14px;
  color: #6B7575;
}

.footer-nav-group a:hover {
  color: #1D5B6A;
}

.copyright {
  padding-top: 20px;
  font-size: 13px;
  color: #6B7575;
}

/* ==========================================================================
   components — 公共组件
   ========================================================================== */

/* 面包屑 */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #6B7575;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: #6B7575;
}

.breadcrumb a:hover {
  color: #1D5B6A;
}

.breadcrumb-sep {
  color: #B7BFBE;
}

.breadcrumb-current {
  color: #262A2A;
  font-weight: 500;
}

/* 页面标题区 */

.page-header {
  margin-bottom: 32px;
}

.page-title {
  font-size: 28px;
  color: #262A2A;
  margin-bottom: 8px;
}

.page-description {
  font-size: 15px;
  color: #6B7575;
  max-width: 820px;
}

/* 区块标题 */

.section-title,
.section-header h2 {
  font-size: 22px;
  color: #262A2A;
  margin-bottom: 16px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.section-link {
  font-size: 14px;
  color: #1D5B6A;
  flex-shrink: 0;
}

.section-link:hover {
  color: #C65D31;
}

.section-desc {
  font-size: 14px;
  color: #6B7575;
  margin-bottom: 20px;
}

/* 卡片通用 */

.board-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background-color: #FFFFFF;
  border: 1px solid #E1E5E4;
  border-radius: 8px;
  padding: 20px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.board-card:hover {
  border-color: #1D5B6A;
  background-color: #F8FAF9;
}

.board-name {
  font-size: 16px;
  font-weight: 700;
  color: #1D5B6A;
}

.board-desc {
  font-size: 14px;
  color: #6B7575;
  line-height: 1.6;
}

/* 折叠问答 */

.faq-item {
  background-color: #FFFFFF;
  border: 1px solid #E1E5E4;
  border-radius: 8px;
  margin-bottom: 12px;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #262A2A;
  cursor: pointer;
  list-style: none;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: #1D5B6A;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 20px 16px;
  font-size: 14px;
  color: #6B7575;
  line-height: 1.7;
}

/* 步骤编号 */

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background-color: #1D5B6A;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
}

/* 相关链接块 */

.related-links {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #E1E5E4;
}

.related-links-label {
  font-size: 14px;
  color: #6B7575;
  margin-right: 12px;
}

.related-links-item,
.related-links a {
  font-size: 14px;
  color: #1D5B6A;
}

.related-links a:hover {
  color: #C65D31;
}

/* 更新条目通用 */

.update-type {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 4px;
  background-color: #E8EFEE;
  color: #1D5B6A;
  flex-shrink: 0;
}

/* 图片容器通用 */

figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

figure figcaption {
  font-size: 13px;
  color: #6B7575;
  text-align: center;
  margin-top: 8px;
  line-height: 1.6;
}

/* ==========================================================================
   pages — 首页
   ========================================================================== */

.home-main {
  width: 100%;
}

/* 首屏 hero */

.hero-section {
  background-color: #FFFFFF;
  border-bottom: 1px solid #E1E5E4;
  padding: 48px 0;
}

.hero-layout {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.hero-intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-intro h1 {
  font-size: 28px;
  color: #262A2A;
  line-height: 1.4;
}

.hero-slogan {
  font-size: 18px;
  font-weight: 600;
  color: #1D5B6A;
}

.hero-text {
  font-size: 15px;
  color: #6B7575;
  line-height: 1.75;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 24px;
  background-color: #1D5B6A;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  width: fit-content;
  margin-top: 8px;
  transition: background-color 0.2s ease;
}

.hero-cta:hover {
  background-color: #174B58;
  color: #FFFFFF;
}

.hero-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-figure {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.current-discussion,
.notice-sidebar {
  background-color: #F3F5F4;
  border: 1px solid #E1E5E4;
  border-radius: 8px;
  padding: 16px 20px;
}

.side-title {
  font-size: 15px;
  font-weight: 700;
  color: #262A2A;
  margin-bottom: 12px;
}

.discussion-list,
.notice-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.discussion-list a,
.notice-list li {
  font-size: 14px;
  color: #262A2A;
  line-height: 1.6;
}

.discussion-list a:hover {
  color: #1D5B6A;
}

.notice-list li {
  position: relative;
  padding-left: 16px;
  color: #6B7575;
}

.notice-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #C65D31;
}

.rule-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  color: #1D5B6A;
  font-weight: 600;
}

/* 版块导航卡片区 */

.section-block {
  max-width: 1160px;
  margin: 0 auto;
  padding: 48px 20px 0;
}

.board-group {
  margin-bottom: 28px;
}

.group-title {
  font-size: 16px;
  color: #1D5B6A;
  margin-bottom: 12px;
}

.board-card-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* 近期热门话题 */

.hot-topic-list {
  background-color: #FFFFFF;
  border: 1px solid #E1E5E4;
  border-radius: 8px;
}

.topic-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid #F0F2F1;
}

.topic-item:last-child {
  border-bottom: none;
}

.topic-title {
  flex: 1;
  font-size: 15px;
  color: #262A2A;
  line-height: 1.5;
}

.topic-title:hover {
  color: #1D5B6A;
}

.topic-board,
.topic-tag {
  display: inline-block;
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 4px;
  flex-shrink: 0;
}

.topic-board {
  background-color: #E8EFEE;
  color: #1D5B6A;
}

.topic-tag {
  background-color: #F3F5F4;
  color: #6B7575;
  border: 1px solid #E1E5E4;
}

/* 参与双栏 */

.participate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.guide-column,
.rule-column {
  background-color: #FFFFFF;
  border: 1px solid #E1E5E4;
  border-radius: 8px;
  padding: 24px;
}

.guide-column h3,
.rule-column h3 {
  font-size: 18px;
  color: #262A2A;
  margin-bottom: 16px;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.step-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.step-list .step-number {
  width: 28px;
  height: 28px;
  font-size: 14px;
}

.step-list a {
  font-size: 14px;
  color: #262A2A;
  line-height: 1.6;
}

.step-list a:hover {
  color: #1D5B6A;
}

.rule-summary-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.rule-summary-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: #6B7575;
  line-height: 1.6;
}

.rule-summary-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #C65D31;
}

.block-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #1D5B6A;
}

.block-link:hover {
  color: #C65D31;
}

/* 更新记录摘要 */

.update-list {
  background-color: #FFFFFF;
  border: 1px solid #E1E5E4;
  border-radius: 8px;
  margin-bottom: 20px;
}

.update-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid #F0F2F1;
}

.update-item:last-child {
  border-bottom: none;
}

.update-text {
  font-size: 14px;
  color: #262A2A;
  line-height: 1.6;
}

.update-figure {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 21 / 9;
}

.update-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   pages — 版块导航页
   ========================================================================== */

.section {
  margin-bottom: 40px;
}

.section-overview {
  background-color: #FFFFFF;
  border: 1px solid #E1E5E4;
  border-radius: 8px;
  padding: 24px;
}

.overview-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
}

.overview-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.overview-text p {
  font-size: 14px;
  color: #6B7575;
  line-height: 1.75;
}

.overview-figure {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.overview-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.group-block {
  margin-bottom: 28px;
}

.group-name {
  font-size: 16px;
  color: #1D5B6A;
  margin-bottom: 12px;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.board-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: #1D5B6A;
}

.board-card p {
  font-size: 14px;
  color: #6B7575;
  line-height: 1.6;
}

.board-link {
  font-size: 14px;
  color: #1D5B6A;
  font-weight: 600;
  margin-top: 4px;
}

.board-link:hover {
  color: #C65D31;
}

.section-advice {
  background-color: #FFFFFF;
  border: 1px solid #E1E5E4;
  border-radius: 8px;
  padding: 24px;
}

.advice-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.advice-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.advice-step-title {
  font-size: 16px;
  color: #262A2A;
}

.advice-item p {
  font-size: 14px;
  color: #6B7575;
  line-height: 1.7;
}

.section-guide-links {
  background-color: #FFFFFF;
  border: 1px solid #E1E5E4;
  border-radius: 8px;
  padding: 24px;
}

.guide-intro {
  font-size: 14px;
  color: #6B7575;
  margin-bottom: 16px;
}

.guide-link-list {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.guide-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  background-color: #1D5B6A;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.guide-link:hover {
  background-color: #174B58;
  color: #FFFFFF;
}

/* ==========================================================================
   pages — 热帖排行页
   ========================================================================== */

.retie-section {
  margin-bottom: 40px;
}

.retie-section h2 {
  font-size: 22px;
  color: #262A2A;
  margin-bottom: 16px;
}

.retie-list {
  background-color: #FFFFFF;
  border: 1px solid #E1E5E4;
  border-radius: 8px;
}

.retie-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid #F0F2F1;
}

.retie-item:last-child {
  border-bottom: none;
}

.retie-title {
  flex: 1;
  font-size: 15px;
  color: #262A2A;
  line-height: 1.5;
}

.retie-title:hover {
  color: #1D5B6A;
}

.retie-meta {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.tag-board,
.tag-activity {
  display: inline-block;
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 4px;
}

.tag-board {
  background-color: #E8EFEE;
  color: #1D5B6A;
}

.tag-activity {
  background-color: #F3F5F4;
  color: #6B7575;
  border: 1px solid #E1E5E4;
}

.retie-rule-section {
  background-color: #FFFFFF;
  border: 1px solid #E1E5E4;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 40px;
}

.retie-rule-section h2 {
  font-size: 22px;
  color: #262A2A;
  margin-bottom: 16px;
}

.rule-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
  align-items: center;
}

.rule-figure {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.rule-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rule-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rule-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: #6B7575;
  line-height: 1.7;
}

.rule-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background-color: #1D5B6A;
}

.related-board {
  background-color: #FFFFFF;
  border: 1px solid #E1E5E4;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
}

.related-board h2 {
  font-size: 22px;
  color: #262A2A;
  margin-bottom: 8px;
}

.related-desc {
  font-size: 14px;
  color: #6B7575;
  margin-bottom: 16px;
}

.related-board-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.related-board-list a {
  display: block;
  padding: 12px 16px;
  background-color: #F3F5F4;
  border: 1px solid #E1E5E4;
  border-radius: 6px;
  font-size: 14px;
  color: #262A2A;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.related-board-list a:hover {
  border-color: #1D5B6A;
  color: #1D5B6A;
}

.related-tip {
  margin-top: 16px;
  font-size: 14px;
  color: #6B7575;
}

.related-tip a {
  color: #1D5B6A;
}

/* ==========================================================================
   pages — 新手指南页
   ========================================================================== */

.guide-steps {
  margin-bottom: 40px;
}

.guide-steps h2 {
  font-size: 22px;
  color: #262A2A;
  margin-bottom: 20px;
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.step-item {
  background-color: #FFFFFF;
  border: 1px solid #E1E5E4;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.step-content h3 {
  font-size: 16px;
  color: #262A2A;
}

.step-content p {
  font-size: 14px;
  color: #6B7575;
  line-height: 1.6;
}

.step-content a {
  font-size: 14px;
  color: #1D5B6A;
  font-weight: 600;
}

.step-content a:hover {
  color: #C65D31;
}

.prep-checklist {
  background-color: #FFFFFF;
  border: 1px solid #E1E5E4;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 40px;
}

.prep-checklist h2 {
  font-size: 22px;
  color: #262A2A;
  margin-bottom: 8px;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checklist li {
  position: relative;
  padding-left: 28px;
  font-size: 14px;
  color: #262A2A;
  line-height: 1.6;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background-color: #E8EFEE;
  color: #1D5B6A;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tag-explainer {
  background-color: #FFFFFF;
  border: 1px solid #E1E5E4;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
}

.tag-explainer h2 {
  font-size: 22px;
  color: #262A2A;
  margin-bottom: 8px;
}

.tag-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tag-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.tag-name {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  padding: 2px 12px;
  border-radius: 4px;
  background-color: #E8EFEE;
  color: #1D5B6A;
  flex-shrink: 0;
  margin-top: 2px;
}

.tag-list p {
  font-size: 14px;
  color: #6B7575;
  line-height: 1.6;
}

.guide-figure {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 21 / 9;
  margin-bottom: 40px;
}

.guide-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-guides {
  background-color: #FFFFFF;
  border: 1px solid #E1E5E4;
  border-radius: 8px;
  padding: 24px;
}

.related-guides h2 {
  font-size: 18px;
  color: #262A2A;
  margin-bottom: 16px;
}

.related-guides ul {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.related-guides a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  background-color: #1D5B6A;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.related-guides a:hover {
  background-color: #174B58;
  color: #FFFFFF;
}

/* ==========================================================================
   pages — 社区规则页
   ========================================================================== */

.rule-summary-strip {
  background-color: #1D5B6A;
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 32px;
}

.rule-summary-strip p {
  font-size: 15px;
  color: #FFFFFF;
  line-height: 1.7;
}

.rule-compare {
  margin-bottom: 40px;
}

.rule-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.rule-column {
  background-color: #FFFFFF;
  border: 1px solid #E1E5E4;
  border-radius: 8px;
  padding: 24px;
}

.rule-column h3 {
  font-size: 18px;
  color: #262A2A;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #E1E5E4;
}

.rule-allowed h3 {
  color: #1D5B6A;
}

.rule-forbidden h3 {
  color: #C65D31;
}

.rule-column .rule-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rule-column .rule-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: #262A2A;
  line-height: 1.6;
}

.rule-column .rule-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.rule-allowed .rule-list li::before {
  background-color: #1D5B6A;
}

.rule-forbidden .rule-list li::before {
  background-color: #C65D31;
}

.rule-enforcement {
  background-color: #FFFFFF;
  border: 1px solid #E1E5E4;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 40px;
}

.enforcement-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 16px;
}

.enforcement-steps li {
  position: relative;
  padding-left: 28px;
  font-size: 14px;
  color: #262A2A;
  line-height: 1.6;
}

.enforcement-steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #E8EFEE;
  border: 2px solid #1D5B6A;
}

.rule-enforcement > p {
  font-size: 14px;
  color: #6B7575;
  line-height: 1.7;
}

.rule-report {
  background-color: #FFFFFF;
  border: 1px solid #E1E5E4;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
}

.report-paths > p {
  font-size: 14px;
  color: #6B7575;
  line-height: 1.7;
  margin-bottom: 16px;
}

.report-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.report-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  background-color: #1D5B6A;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.report-links a:hover {
  background-color: #174B58;
  color: #FFFFFF;
}

.rule-figure {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 21 / 9;
  margin-bottom: 24px;
}

.rule-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   pages — 更新记录页
   ========================================================================== */

.update-stepper {
  background-color: #FFFFFF;
  border: 1px solid #E1E5E4;
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.update-stepper .section-title {
  font-size: 18px;
  margin-bottom: 0;
}

.stepper-tip {
  font-size: 14px;
  color: #6B7575;
  flex: 1;
}

.stepper-control {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stepper-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #F3F5F4;
  border: 1px solid #E1E5E4;
  border-radius: 6px;
  font-size: 18px;
  color: #1D5B6A;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.stepper-btn:hover:not(:disabled) {
  background-color: #E8EFEE;
  border-color: #1D5B6A;
}

.stepper-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.stepper-value {
  min-width: 40px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: #262A2A;
}

.update-list-section {
  margin-bottom: 40px;
}

.update-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.update-list .update-item {
  background-color: #FFFFFF;
  border: 1px solid #E1E5E4;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.update-type-board {
  background-color: #E8EFEE;
  color: #1D5B6A;
}

.update-type-rule {
  background-color: #F6EAE3;
  color: #C65D31;
}

.update-type-page {
  background-color: #EEF0F2;
  color: #4A5A5A;
}

.update-title {
  font-size: 16px;
  color: #262A2A;
}

.update-desc {
  font-size: 14px;
  color: #6B7575;
  line-height: 1.6;
}

.update-link {
  font-size: 14px;
  color: #1D5B6A;
  font-weight: 600;
}

.update-link:hover {
  color: #C65D31;
}

.update-note-section {
  background-color: #FFFFFF;
  border: 1px solid #E1E5E4;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
}

.note-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.note-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: #6B7575;
  line-height: 1.6;
}

.note-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background-color: #1D5B6A;
}

.related-list {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.related-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  background-color: #1D5B6A;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.related-list a:hover {
  background-color: #174B58;
  color: #FFFFFF;
}

.update-figure {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 21 / 9;
}

.update-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   pages — 问题反馈页
   ========================================================================== */

.feedback-section {
  margin-bottom: 40px;
}

.feedback-section h2 {
  font-size: 22px;
  color: #262A2A;
  margin-bottom: 8px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.problem-card {
  background-color: #FFFFFF;
  border: 1px solid #E1E5E4;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.problem-card h3 {
  font-size: 16px;
  color: #262A2A;
}

.problem-card p {
  font-size: 14px;
  color: #6B7575;
  line-height: 1.6;
}

.problem-path {
  font-size: 13px;
  color: #1D5B6A;
  font-weight: 600;
  margin-top: 4px;
}

.prepare-wrap {
  background-color: #FFFFFF;
  border: 1px solid #E1E5E4;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 40px;
}

.prepare-wrap h2 {
  font-size: 22px;
  color: #262A2A;
  margin-bottom: 8px;
}

.prepare-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
}

.prepare-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.prepare-list li {
  position: relative;
  padding-left: 28px;
  font-size: 14px;
  color: #262A2A;
  line-height: 1.6;
}

.prepare-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background-color: #E8EFEE;
  color: #1D5B6A;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prepare-tip {
  font-size: 13px;
  color: #6B7575;
  margin-top: 12px;
}

.prepare-figure {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.prepare-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.faq-answer {
  font-size: 14px;
  color: #6B7575;
  line-height: 1.7;
}

.guide-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.guide-links .guide-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: auto;
  min-height: 44px;
  padding: 10px 20px;
  gap: 2px;
}

.guide-link-title {
  font-size: 14px;
  font-weight: 700;
}

.guide-link-desc {
  font-size: 12px;
  opacity: 0.85;
}

/* ==========================================================================
   pages — 404
   ========================================================================== */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
}

.error-inner {
  max-width: 480px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.error-inner h1 {
  font-size: 28px;
  color: #262A2A;
}

.error-desc {
  font-size: 15px;
  color: #6B7575;
  line-height: 1.7;
}

.error-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 24px;
  background-color: #1D5B6A;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.error-btn:hover {
  background-color: #174B58;
  color: #FFFFFF;
}

/* ==========================================================================
   responsive — 响应式
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-figure {
    aspect-ratio: 16 / 9;
  }

  .overview-content {
    grid-template-columns: 1fr;
  }

  .rule-layout {
    grid-template-columns: 1fr;
  }

  .prepare-content {
    grid-template-columns: 1fr;
  }

  .update-stepper {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .stepper-tip {
    flex: none;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 56px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background-color: #FFFFFF;
    border-bottom: 1px solid #E1E5E4;
    box-shadow: 0 4px 12px rgba(38, 42, 42, 0.08);
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 16px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list a {
    height: 44px;
    padding: 0 12px;
    border-radius: 6px;
  }

  .board-card-list,
  .board-grid {
    grid-template-columns: 1fr;
  }

  .participate-grid {
    grid-template-columns: 1fr;
  }

  .advice-list {
    grid-template-columns: 1fr;
  }

  .steps-list {
    grid-template-columns: 1fr;
  }

  .rule-compare-grid {
    grid-template-columns: 1fr;
  }

  .enforcement-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .related-board-list {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hot-topic-list .topic-item {
    flex-wrap: wrap;
    gap: 8px;
  }

  .topic-title {
    flex: 1 1 100%;
  }

  .retie-item {
    flex-wrap: wrap;
    gap: 8px;
  }

  .retie-title {
    flex: 1 1 100%;
  }
}

@media (max-width: 520px) {
  .inner-main {
    padding: 24px 16px 48px;
  }

  .hero-section {
    padding: 32px 0;
  }

  .hero-layout {
    padding: 0 16px;
  }

  .section-block {
    padding: 32px 16px 0;
  }

  .hero-intro h1,
  .page-title {
    font-size: 24px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .update-item {
    flex-direction: column;
    gap: 8px;
  }

  .footer-inner {
    padding: 32px 16px 20px;
  }

  .guide-links,
  .report-links,
  .related-list,
  .guide-link-list {
    flex-direction: column;
    align-items: stretch;
  }

  .guide-link,
  .report-links a,
  .related-list a {
    width: 100%;
  }

  .hero-figure {
    aspect-ratio: 4 / 3;
  }
}
