/* ==========================================================================
   base — 基础变量、重置、字体、色彩
   ========================================================================== */

:root {
  --color-text: #11151c;
  --color-bg: #f5f2ec;
  --color-primary: #0a6b5c;
  --color-primary-dark: #085247;
  --color-accent: #c2551f;
  --color-border: #e5e1da;
  --color-card-bg: #ffffff;
  --color-muted: #5b6472;
  --color-header-bg: #ffffff;
  --color-footer-bg: #1d232b;
  --color-footer-text: #c9d1d9;
  --color-footer-heading: #ffffff;
  --radius-sm: 4px;
  --radius-md: 8px;
  --shadow-card: 0 1px 3px rgba(17, 21, 28, 0.08);
  --container-width: 1180px;
  --container-inner-width: 1060px;
  --reading-width: 680px;
  --font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --header-height: 64px;
  --focus-outline: 2px solid var(--color-primary);
  --focus-offset: 2px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  line-height: 1.75;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

a:hover {
  color: var(--color-primary-dark);
  text-decoration-thickness: 2px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: var(--focus-outline);
  outline-offset: var(--focus-offset);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.3;
  font-weight: 700;
  color: var(--color-text);
}

h1 {
  font-size: 40px;
}

h2 {
  font-size: 22px;
}

h3 {
  font-size: 18px;
}

h4 {
  font-size: 16px;
}

p {
  margin-bottom: 0.75em;
}

ul,
ol {
  list-style-position: inside;
  padding-left: 0;
}

li {
  margin-bottom: 8px;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th,
td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--color-border);
}

th {
  font-weight: 700;
  background-color: rgba(10, 107, 92, 0.06);
}

figure {
  margin: 0;
}

figcaption {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.5;
  margin-top: 8px;
}

/* 视觉隐藏，仅供可访问性需要 */
.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-header {
  background-color: var(--color-header-bg);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  flex-shrink: 0;
}

.brand-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.2;
}

.brand-link:hover {
  text-decoration: none;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
}

.brand-tag {
  font-size: 13px;
  color: var(--color-muted);
  margin-top: 2px;
}

.site-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-list li {
  margin-bottom: 0;
}

.nav-list a {
  display: block;
  padding: 8px 12px;
  font-size: 15px;
  color: var(--color-text);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-list a:hover {
  background-color: rgba(10, 107, 92, 0.08);
  color: var(--color-primary);
  text-decoration: none;
}

.nav-list a.is-current {
  background-color: var(--color-primary);
  color: #ffffff;
  font-weight: 600;
}

.nav-list a.is-current:hover {
  background-color: var(--color-primary-dark);
  color: #ffffff;
}

.header-action {
  flex-shrink: 0;
  display: inline-block;
  padding: 8px 18px;
  background-color: var(--color-primary);
  color: #ffffff;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.header-action:hover {
  background-color: var(--color-primary-dark);
  color: #ffffff;
  text-decoration: none;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 15px;
  font-family: inherit;
  color: var(--color-text);
  cursor: pointer;
}

.nav-toggle-icon {
  display: block;
  width: 16px;
  height: 14px;
  position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background-color: var(--color-text);
  border-radius: 1px;
}

.nav-toggle-icon::before {
  top: 2px;
  box-shadow: 0 5px 0 var(--color-text);
}

.nav-toggle-icon::after {
  bottom: 2px;
}

.site-main {
  flex: 1;
  width: 100%;
}

.site-home {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px 64px;
}

.inner-main {
  max-width: var(--container-inner-width);
  margin: 0 auto;
  padding: 32px 24px 64px;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-muted);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--color-primary);
  text-decoration: underline;
}

.breadcrumb-sep {
  color: var(--color-muted);
}

.breadcrumb-current {
  color: var(--color-text);
  font-weight: 600;
}

/* 页面标题区 */
.page-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}

.page-title {
  font-size: 40px;
  line-height: 1.25;
  margin-bottom: 12px;
}

.page-description {
  font-size: 17px;
  color: var(--color-muted);
  max-width: 760px;
  line-height: 1.7;
}

/* 页脚 */
.site-footer {
  background-color: var(--color-footer-bg);
  color: var(--color-footer-text);
  margin-top: auto;
}

.footer-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-col h3 {
  color: var(--color-footer-heading);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: var(--color-footer-text);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 24px;
  text-align: center;
  max-width: var(--container-width);
  margin: 0 auto;
  width: 100%;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(201, 209, 217, 0.7);
  margin-bottom: 4px;
  line-height: 1.5;
}

/* ==========================================================================
   components — 全站通用组件
   ========================================================================== */

/* 区块通用标题 */
.section-note {
  color: var(--color-muted);
  font-size: 15px;
  margin-bottom: 20px;
  max-width: 720px;
}

/* 卡片通用 */
.board-card,
.entry-card,
.link-card,
.related-card,
.path-card,
.release-card,
.rule-card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.board-card h3,
.board-card h4,
.entry-card h3,
.link-card h3,
.related-card h3,
.path-card h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

.board-card p,
.entry-card p,
.link-card p,
.related-card p,
.path-card p {
  font-size: 15px;
  color: var(--color-muted);
  margin-bottom: 12px;
  line-height: 1.6;
}

.board-card a,
.entry-card a,
.link-card a,
.related-card a {
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
}

/* 表格通用 */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--color-card-bg);
}

.table-wrap table {
  min-width: 560px;
  font-size: 15px;
}

.table-wrap th {
  white-space: nowrap;
}

/* 图片通用 */
.hero-figure img,
.board-figure img,
.featured-figure img,
.guide-figure img,
.support-media img,
.faq-media img,
.update-visual img,
.content-media img,
.scenario-figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.hero-figure,
.board-figure,
.featured-figure,
.guide-figure,
.support-media,
.faq-media,
.update-visual,
.content-media,
.scenario-figure {
  margin: 0;
}

.hero-figure img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.board-figure img {
  height: 180px;
}

.featured-figure img {
  height: 180px;
}

.guide-figure img {
  height: 160px;
  max-width: 480px;
}

.support-media img {
  height: 180px;
  max-width: 640px;
}

.faq-media img {
  height: 160px;
  max-width: 480px;
}

.update-visual img {
  height: 160px;
  max-width: 640px;
}

.content-media img {
  height: 160px;
  max-width: 480px;
}

.scenario-figure img {
  height: 160px;
  max-width: 480px;
}

/* 相关链接（页内底部） */
.related-links {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.related-links-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
}

.related-links-item {
  font-size: 14px;
  text-decoration: underline;
}

/* ==========================================================================
   pages — 各页面专属样式
   ========================================================================== */

/* ---------- 首页 ---------- */

/* 首屏时间线 */
.hero-timeline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 48px 0 56px;
  align-items: center;
}

.hero-copy h1 {
  font-size: 40px;
  line-height: 1.25;
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 17px;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 480px;
}

.hero-cta {
  display: inline-block;
  padding: 10px 24px;
  background-color: var(--color-primary);
  color: #ffffff;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.hero-cta:hover {
  background-color: var(--color-primary-dark);
  color: #ffffff;
  text-decoration: none;
}

.hero-progress {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-figure img {
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.progress-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.progress-item {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.progress-tag {
  flex-shrink: 0;
  display: inline-block;
  background-color: rgba(10, 107, 92, 0.1);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
  white-space: nowrap;
  margin-top: 2px;
}

.progress-text {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0;
}

/* 版块目录 */
.board-directory {
  padding: 48px 0;
}

.board-directory h2 {
  margin-bottom: 8px;
}

.board-directory .section-note {
  margin-bottom: 24px;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.board-card {
  display: flex;
  flex-direction: column;
}

.board-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.board-card p {
  flex: 1;
  font-size: 15px;
  color: var(--color-muted);
  margin-bottom: 12px;
  line-height: 1.6;
}

.board-card a {
  font-size: 14px;
  font-weight: 600;
}

/* 年度档案 */
.yearly-archive {
  padding: 48px 0;
}

.yearly-archive > h2 {
  margin-bottom: 24px;
}

.archive-layout {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  align-items: start;
}

.archive-years {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.archive-years a {
  display: block;
  padding: 10px 16px;
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.archive-years a:hover {
  background-color: rgba(10, 107, 92, 0.08);
  border-color: var(--color-primary);
  color: var(--color-primary);
  text-decoration: none;
}

.archive-groups {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.year-group {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.year-group h3 {
  font-size: 20px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.archive-entry {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}

.archive-entry:last-child {
  border-bottom: none;
}

.entry-month {
  flex-shrink: 0;
  display: inline-block;
  background-color: rgba(194, 85, 31, 0.1);
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  margin-top: 3px;
}

.archive-entry p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 0;
}

/* 最新回复 */
.recent-replies {
  padding: 48px 0;
}

.recent-replies h2 {
  margin-bottom: 24px;
}

.reply-list {
  list-style: none;
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.reply-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 0;
}

.reply-item:last-child {
  border-bottom: none;
}

.reply-board {
  flex-shrink: 0;
  display: inline-block;
  background-color: rgba(10, 107, 92, 0.1);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
}

.reply-board:hover {
  background-color: var(--color-primary);
  color: #ffffff;
  text-decoration: none;
}

.reply-topic {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reply-snippet {
  flex-shrink: 0;
  font-size: 14px;
  color: var(--color-muted);
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 精华主题 */
.featured-topics {
  padding: 48px 0;
}

.featured-topics h2 {
  margin-bottom: 24px;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.featured-card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.featured-main {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
  align-items: start;
}

.featured-figure {
  margin: 0;
}

.featured-main .featured-figure img {
  height: 150px;
}

.featured-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.featured-card p {
  font-size: 15px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 12px;
  flex: 1;
}

.featured-card a {
  font-size: 14px;
  font-weight: 600;
}

/* 版务反馈与指南入口 */
.support-entry {
  padding: 48px 0;
}

.support-entry h2 {
  margin-bottom: 24px;
}

.entry-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.entry-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--color-text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.entry-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(10, 107, 92, 0.12);
  text-decoration: none;
}

.entry-card h3 {
  color: var(--color-primary);
  font-size: 17px;
  margin-bottom: 8px;
}

.entry-card p {
  flex: 1;
  font-size: 15px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ---------- 版块总览 ---------- */

.board-catalog {
  margin-bottom: 48px;
}

.board-catalog h2 {
  margin-bottom: 8px;
}

.board-group {
  margin-bottom: 32px;
}

.board-group h3 {
  font-size: 18px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-primary);
  display: inline-block;
}

.board-group .board-card {
  margin-bottom: 16px;
}

.board-group .board-card h4 {
  font-size: 16px;
  margin-bottom: 6px;
}

.board-group .board-card p {
  font-size: 15px;
  color: var(--color-muted);
  margin-bottom: 10px;
  line-height: 1.6;
}

.board-group .board-card a {
  font-size: 14px;
  font-weight: 600;
}

.board-table-section {
  margin-bottom: 48px;
}

.board-table-section h2 {
  margin-bottom: 8px;
}

.board-figure {
  margin: 0 0 20px;
}

.board-figure img {
  max-width: 640px;
}

.posting-boundary {
  margin-bottom: 48px;
}

.posting-boundary h2 {
  margin-bottom: 8px;
}

.boundary-list {
  list-style: none;
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}

.boundary-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.6;
  position: relative;
  padding-left: 20px;
}

.boundary-list li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 18px;
}

.boundary-list li:last-child {
  border-bottom: none;
}

.boundary-more {
  margin-top: 16px;
  font-size: 15px;
}

/* ---------- 讨论场景 ---------- */

.section-block {
  margin-bottom: 48px;
}

.section-block h2 {
  margin-bottom: 8px;
}

.section-block .section-note {
  margin-bottom: 20px;
}

.match-table {
  min-width: 560px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 16px;
}

.scenario-card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.scenario-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.scenario-card p {
  font-size: 15px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.scenario-card a {
  font-size: 14px;
  font-weight: 600;
  margin-top: auto;
}

.scenario-figure {
  margin: 0 0 16px;
}

.scenario-text {
  font-size: 15px;
  color: var(--color-muted);
  line-height: 1.6;
}

.content-list {
  list-style: none;
  margin-top: 8px;
}

.content-list li {
  padding: 6px 0;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}

.content-list li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 18px;
}

.col-item {
  margin-bottom: 12px;
}

.link-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 16px;
}

.link-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.link-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--color-primary);
}

.link-card p {
  flex: 1;
  font-size: 15px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.link-card a {
  font-size: 14px;
  font-weight: 600;
}

/* ---------- 版本动态 ---------- */

.update-section {
  margin-bottom: 48px;
}

.update-section h2 {
  margin-bottom: 8px;
}

.update-section .section-note {
  margin-bottom: 20px;
}

.release-card {
  border-left: 4px solid var(--color-accent);
  margin-bottom: 16px;
}

.release-card__badge {
  display: inline-block;
  background-color: var(--color-accent);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 2px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}

.release-card h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.release-card__meta {
  font-size: 13px;
  color: var(--color-muted);
  margin-bottom: 8px;
}

.release-card p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.release-card__link {
  font-size: 14px;
  font-weight: 600;
}

.month-group {
  margin-bottom: 24px;
}

.month-group__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
}

.change-list {
  list-style: none;
}

.change-list__item {
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 0;
}

.change-list__item:last-child {
  border-bottom: none;
}

.change-list__date {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  margin-right: 12px;
}

.change-list__content {
  font-size: 15px;
  line-height: 1.6;
}

.archive-group {
  margin-bottom: 24px;
}

.archive-group__year {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
}

.archive-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.archive-list li {
  margin-bottom: 0;
}

.archive-list a {
  display: inline-block;
  padding: 6px 16px;
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.archive-list a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.discuss-entry {
  background-color: rgba(10, 107, 92, 0.06);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-top: 32px;
}

.discuss-entry h2 {
  font-size: 18px;
  margin-bottom: 8px;
}

.discuss-entry p {
  font-size: 15px;
  color: var(--color-muted);
  margin-bottom: 12px;
}

.discuss-entry__links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.entry-link {
  font-size: 14px;
  font-weight: 600;
}

.update-visual {
  margin-top: 32px;
}

/* ---------- 操作指南 ---------- */

.guide-steps {
  margin-bottom: 48px;
}

.guide-steps h2 {
  margin-bottom: 24px;
}

.step-block {
  margin-bottom: 32px;
  padding: 24px;
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.step-block h3 {
  font-size: 18px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
}

.step-media {
  margin-bottom: 16px;
}

.guide-figure {
  margin: 0;
}

.guide-figure img {
  max-width: 480px;
}

.step-block p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.step-points {
  list-style: none;
  margin-top: 12px;
}

.step-points li {
  padding: 6px 0;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}

.step-points li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 18px;
}

.prep-checklist {
  margin-bottom: 48px;
}

.prep-checklist h2 {
  margin-bottom: 24px;
}

.checklist {
  list-style: none;
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}

.checklist li {
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.6;
  position: relative;
  padding-left: 28px;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 4px;
  color: var(--color-primary);
  font-weight: 700;
}

.checklist li:last-child {
  border-bottom: none;
}

.reply-standards {
  margin-bottom: 48px;
}

.reply-standards h2 {
  margin-bottom: 16px;
}

.reply-standards p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 12px;
  max-width: 720px;
}

.common-mistakes {
  margin-bottom: 48px;
}

.common-mistakes h2 {
  margin-bottom: 24px;
}

.mistake-list {
  list-style: none;
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}

.mistake-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.6;
}

.mistake-list li:last-child {
  border-bottom: none;
}

.mistake-list strong {
  color: var(--color-accent);
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}

.mistake-fix {
  display: block;
  margin-top: 4px;
  color: var(--color-muted);
}

.mistake-fix strong {
  color: var(--color-primary);
  display: inline;
}

.link-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 16px;
}

.link-card-grid .link-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

/* ---------- 技术支持 ---------- */

.support-path-section {
  margin-bottom: 48px;
}

.support-path-section h2 {
  margin-bottom: 24px;
}

.support-path-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.path-card {
  display: flex;
  flex-direction: column;
}

.path-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.path-card p {
  font-size: 15px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 10px;
}

.support-template-section {
  margin-bottom: 48px;
}

.support-template-section h2 {
  margin-bottom: 16px;
}

.support-template-section > p {
  font-size: 15px;
  color: var(--color-muted);
  margin-bottom: 16px;
  max-width: 720px;
}

.template-list {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  list-style: none;
  margin-bottom: 16px;
}

.template-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.6;
}

.template-list li:last-child {
  border-bottom: none;
}

.template-list strong {
  color: var(--color-primary);
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
}

.support-feedback-section {
  margin-bottom: 48px;
}

.support-feedback-section h2 {
  margin-bottom: 16px;
}

.support-feedback-section > p {
  font-size: 15px;
  color: var(--color-muted);
  margin-bottom: 16px;
  max-width: 720px;
}

.feedback-list {
  list-style: none;
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 16px;
}

.feedback-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.6;
  position: relative;
  padding-left: 20px;
}

.feedback-list li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 18px;
}

.feedback-list li:last-child {
  border-bottom: none;
}

.support-feedback-section > p:last-child {
  margin-bottom: 0;
}

.support-faq-section {
  margin-bottom: 48px;
}

.support-faq-section h2 {
  margin-bottom: 16px;
}

.faq-jump-list {
  list-style: none;
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px 24px;
}

.faq-jump-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 0;
}

.faq-jump-list li:last-child {
  border-bottom: none;
}

.faq-jump-list a {
  font-size: 15px;
  font-weight: 600;
}

.support-media {
  margin-bottom: 48px;
}

.related-card-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 16px;
}

.related-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.related-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(10, 107, 92, 0.12);
}

.related-card h3 {
  color: var(--color-primary);
  font-size: 17px;
  margin-bottom: 8px;
}

.related-card p {
  flex: 1;
  font-size: 15px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.related-card a {
  font-size: 14px;
  font-weight: 600;
}

/* ---------- 社区规则 ---------- */

.rule-section {
  margin-bottom: 48px;
}

.rule-section h2 {
  margin-bottom: 16px;
}

.rule-section .section-note {
  margin-bottom: 20px;
}

.content-media-inline {
  margin-bottom: 20px;
}

.rule-card {
  margin-bottom: 16px;
}

.rule-card p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 10px;
}

.rule-card p:last-child {
  margin-bottom: 0;
}

.allowed-list {
  list-style: none;
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}

.allowed-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.6;
  position: relative;
  padding-left: 24px;
}

.allowed-list li::before {
  content: "✓";
  position: absolute;
  left: 4px;
  color: var(--color-primary);
  font-weight: 700;
}

.allowed-list li:last-child {
  border-bottom: none;
}

.prohibited-list {
  list-style: none;
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}

.prohibited-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.6;
  position: relative;
  padding-left: 24px;
}

.prohibited-list li::before {
  content: "✕";
  position: absolute;
  left: 4px;
  color: var(--color-accent);
  font-weight: 700;
}

.prohibited-list li:last-child {
  border-bottom: none;
}

.rule-steps {
  list-style: none;
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}

.rule-steps li {
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.6;
}

.rule-steps li:last-child {
  border-bottom: none;
}

.rule-list {
  list-style: none;
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}

.rule-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.6;
}

.rule-list li:last-child {
  border-bottom: none;
}

/* ---------- 常见问题 ---------- */

.faq-group {
  margin-bottom: 48px;
}

.faq-group h2 {
  margin-bottom: 16px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 40px;
  transition: background-color 0.15s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--color-primary);
  font-weight: 700;
  transition: transform 0.15s ease;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:hover {
  background-color: rgba(10, 107, 92, 0.04);
}

.faq-item p {
  padding: 0 20px 16px;
  font-size: 15px;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 0;
}

.faq-item p a {
  font-weight: 600;
}

.faq-entry-links {
  margin-bottom: 48px;
}

.entry-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 16px;
}

.entry-card-grid .entry-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.entry-card-grid .entry-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(10, 107, 92, 0.12);
}

.entry-card-grid .entry-card h3 {
  color: var(--color-primary);
  font-size: 17px;
  margin-bottom: 8px;
}

.entry-card-grid .entry-card p {
  flex: 1;
  font-size: 15px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.faq-media {
  margin-top: 32px;
}

/* ---------- 404 ---------- */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
}

.error-panel {
  max-width: 560px;
  text-align: center;
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 48px 40px;
  box-shadow: var(--shadow-card);
}

.error-code {
  font-size: 72px;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 16px;
}

.error-panel h1 {
  font-size: 28px;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 16px;
  color: var(--color-muted);
  margin-bottom: 24px;
  line-height: 1.7;
}

.error-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  padding: 10px 24px;
  background-color: var(--color-primary);
  color: #ffffff;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  color: #ffffff;
  text-decoration: none;
}

.btn-secondary {
  display: inline-block;
  padding: 10px 24px;
  background-color: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: #ffffff;
  text-decoration: none;
}

/* ==========================================================================
   responsive — 响应式断点
   ========================================================================== */

@media (max-width: 1024px) {
  .board-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .entry-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .entry-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .link-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .link-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .related-card-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-timeline {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .featured-main {
    grid-template-columns: 1fr;
  }

  .featured-main .featured-figure img {
    height: 180px;
  }

  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  /* 移动端导航 */
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: relative;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background-color: var(--color-header-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 16px rgba(17, 21, 28, 0.12);
    padding: 8px;
    min-width: 240px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    z-index: 200;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li {
    margin-bottom: 0;
  }

  .nav-list a {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
  }

  .header-inner {
    padding: 0 16px;
    gap: 12px;
  }

  .header-action {
    padding: 8px 14px;
    font-size: 14px;
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-tag {
    display: none;
  }

  .site-home {
    padding: 0 16px 48px;
  }

  .inner-main {
    padding: 24px 16px 48px;
  }

  .page-title {
    font-size: 28px;
  }

  .hero-copy h1 {
    font-size: 28px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-timeline {
    padding: 32px 0 40px;
  }

  .board-grid {
    grid-template-columns: 1fr;
  }

  .entry-cards {
    grid-template-columns: 1fr;
  }

  .entry-card-grid {
    grid-template-columns: 1fr;
  }

  .link-cards {
    grid-template-columns: 1fr;
  }

  .link-card-grid {
    grid-template-columns: 1fr;
  }

  .related-card-list {
    grid-template-columns: 1fr;
  }

  .support-path-grid {
    grid-template-columns: 1fr;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .archive-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .archive-years {
    flex-direction: row;
    position: static;
    flex-wrap: wrap;
    gap: 8px;
  }

  .archive-years a {
    padding: 8px 16px;
    font-size: 14px;
  }

  .year-group {
    padding: 16px;
  }

  .featured-grid {
    grid-template-columns: 1fr;
  }

  .featured-main {
    grid-template-columns: 1fr;
  }

  .reply-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 12px 16px;
  }

  .reply-topic {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .reply-snippet {
    max-width: 100%;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 40px 16px 24px;
  }

  .footer-bottom {
    padding: 16px;
  }

  .error-panel {
    padding: 32px 24px;
  }

  .error-code {
    font-size: 56px;
  }
}

@media (max-width: 480px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-progress {
    gap: 12px;
  }

  .progress-item {
    flex-direction: column;
    gap: 6px;
  }

  .archive-entry {
    flex-direction: column;
    gap: 6px;
  }

  .entry-month {
    align-self: flex-start;
  }

  .page-title {
    font-size: 26px;
  }

  .hero-copy h1 {
    font-size: 26px;
  }

  .table-wrap table {
    min-width: 480px;
  }

  .error-actions {
    flex-direction: column;
  }

  .error-actions .btn-primary,
  .error-actions .btn-secondary {
    width: 100%;
    text-align: center;
  }
}
