/* ============================================================
   海角社区 · 全站样式表
   城市地图信息板风格 · 版块色块 + 路线分隔 + 路牌标签
   ============================================================ */

/* ------------------------------------------------------------
   1. Base
   ------------------------------------------------------------ */
:root {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --text: #222831;
  --text-soft: #5a6472;
  --text-faint: #8a94a3;
  --border: #d8dee6;
  --border-soft: #e5e9ef;
  --blue: #1769aa;
  --teal: #00897b;
  --coral: #e4572e;
  --yellow: #f2b134;
  --shadow-sm: 0 1px 2px rgba(34, 40, 49, 0.05);
  --shadow-md: 0 4px 12px rgba(34, 40, 49, 0.07);
  --radius: 6px;
  --radius-sm: 4px;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #0e4a7a;
  text-decoration: underline;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  line-height: 1.35;
  font-weight: 700;
  color: var(--text);
}

h1 {
  font-size: 28px;
}

h2 {
  font-size: 22px;
}

h3 {
  font-size: 17px;
}

p {
  margin-bottom: 0.5em;
}

/* 键盘焦点可见 */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ============================================================
   2. Layout 骨架
   ============================================================ */

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border-soft);
}

.header-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-logo {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo:hover {
  text-decoration: none;
}

.brand-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.5px;
}

.brand-logo::before {
  content: "";
  width: 6px;
  height: 28px;
  background: var(--blue);
  border-radius: 2px;
  align-self: center;
  flex-shrink: 0;
}

.brand-tagline {
  font-size: 12px;
  color: var(--text-faint);
  border-left: 1px solid var(--border);
  padding-left: 10px;
  line-height: 1.4;
}

.site-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav .nav-list li a {
  display: block;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.site-nav .nav-list li a:hover {
  color: var(--blue);
  background: #eef3f8;
  text-decoration: none;
}

.site-nav .nav-list li a.is-current {
  color: var(--blue);
  background: #e8f0f7;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-soft);
  border-radius: 1px;
}

/* 主内容容器 */
.site-main {
  min-height: 60vh;
}

.home-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

.inner-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 24px 60px;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-soft);
}

.breadcrumb a:hover {
  color: var(--blue);
}

.breadcrumb-sep {
  color: var(--border);
}

.breadcrumb-current {
  color: var(--text);
  font-weight: 500;
}

/* 页面标题区 */
.page-header {
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 2px solid var(--border-soft);
  position: relative;
}

.page-header::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
  position: absolute;
  bottom: -2px;
  left: 0;
}

.page-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}

.page-description,
.page-intro {
  font-size: 15px;
  color: var(--text-soft);
  max-width: 720px;
  line-height: 1.8;
}

/* ============================================================
   3. 通用组件
   ============================================================ */

/* 区块标题 */
.section-heading {
  margin-bottom: 20px;
}

.section-heading h2,
.section-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-heading h2::before,
.section-title::before {
  content: "";
  width: 4px;
  height: 18px;
  background: var(--blue);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-desc {
  color: var(--text-soft);
  font-size: 14px;
  max-width: 640px;
}

.section-lead {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 18px;
}

.section-more {
  text-align: right;
  margin-top: 14px;
}

.section-more a {
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.section-more a::after {
  content: "→";
  transition: transform 0.2s ease;
}

.section-more a:hover::after {
  transform: translateX(3px);
}

/* 图片容器 */
.content-media {
  border-radius: var(--radius);
  overflow: hidden;
  background: #eef1f5;
  border: 1px solid var(--border-soft);
}

.content-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-media figcaption {
  padding: 8px 14px;
  font-size: 13px;
  color: var(--text-faint);
  background: var(--surface);
  border-top: 1px solid var(--border-soft);
}

.content-media-primary {
  aspect-ratio: 4 / 3;
}

.content-media-inline {
  aspect-ratio: 16 / 9;
  margin: 16px 0;
}

/* 卡片通用 */
.board-card,
.block-item,
.advice-card,
.related-card,
.help-link-item,
.task-card,
.directory-card,
.help-action-card,
.related-link-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* ============================================================
   4. 页头导航交互（桌面 / 移动）
   ============================================================ */

/* ============================================================
   5. 首页
   ============================================================ */

/* 首屏双栏 */
.hero-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 48px 0 36px;
}

.hero-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background: #eef1f5;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-entries {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-title {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 8px;
}

.hero-desc {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 10px;
}

.entry-card {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 14px 18px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.entry-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
}

.entry-card a {
  display: block;
  text-decoration: none;
}

.entry-card a:hover {
  text-decoration: none;
}

.entry-name {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.entry-card a:hover .entry-name {
  color: var(--blue);
}

.entry-desc {
  font-size: 13px;
  color: var(--text-faint);
  line-height: 1.6;
  display: block;
}

/* 公约速览带 */
.rule-strip {
  background: #fdf6e7;
  border: 1px solid #f0e3c0;
  border-left: 4px solid var(--yellow);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  margin: 8px 0 36px;
}

.rule-strip-text {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--text-soft);
}

.rule-strip-label {
  display: inline-block;
  background: var(--yellow);
  color: #5c4308;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 3px;
  flex-shrink: 0;
}

.rule-strip a {
  font-weight: 600;
  color: #9a6a00;
}

.rule-strip a:hover {
  color: #7a5200;
}

/* 版块卡片网格 */
.section-boards {
  margin-bottom: 48px;
}

.board-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.board-card {
  padding: 0;
  overflow: hidden;
  border-top: 3px solid var(--blue);
}

.board-card .board-name {
  font-size: 17px;
  margin-bottom: 6px;
  padding: 18px 18px 0;
}

.board-card .board-intro {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
  padding: 0 18px;
  margin-bottom: 14px;
}

.board-card .board-link-text {
  display: block;
  padding: 10px 18px;
  border-top: 1px solid var(--border-soft);
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
}

.board-card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-md);
}

/* 版块色条 */
.board-life {
  border-top-color: var(--teal);
}

.board-tech {
  border-top-color: var(--blue);
}

.board-create {
  border-top-color: var(--coral);
}

.board-city {
  border-top-color: var(--yellow);
}

.board-game {
  border-top-color: #7e57c2;
}

.board-feedback {
  border-top-color: #455a64;
}

.board-life .board-link-text {
  color: var(--teal);
}

.board-tech .board-link-text {
  color: var(--blue);
}

.board-create .board-link-text {
  color: var(--coral);
}

.board-city .board-link-text {
  color: #9a6a00;
}

.board-game .board-link-text {
  color: #7e57c2;
}

.board-feedback .board-link-text {
  color: #455a64;
}

/* 全站话题摘要区 */
.section-topics {
  margin-bottom: 48px;
}

.topic-timeline {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
}

.topic-item {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-soft);
  position: relative;
  transition: background 0.2s ease;
}

.topic-item:last-child {
  border-bottom: none;
}

.topic-item:hover {
  background: #fafbfc;
}

.topic-board-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 1px 8px;
  border-radius: 3px;
  margin-bottom: 6px;
}

.tag-life {
  background: #e0f2f1;
  color: var(--teal);
}

.tag-tech {
  background: #e8f0f7;
  color: var(--blue);
}

.tag-create {
  background: #fdeee9;
  color: var(--coral);
}

.tag-city {
  background: #fdf6e7;
  color: #9a6a00;
}

.tag-game {
  background: #f0eafc;
  color: #7e57c2;
}

.topic-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.topic-title a {
  color: var(--text);
}

.topic-title a:hover {
  color: var(--blue);
}

.topic-summary {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 6px;
}

.topic-meta {
  font-size: 12px;
  color: var(--text-faint);
  font-family: var(--font-mono);
}

/* 新手帮助双栏 */
.section-help-duo {
  margin-bottom: 40px;
}

.duo-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.help-col {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 24px;
}

.col-title {
  font-size: 18px;
  margin-bottom: 6px;
}

.col-desc {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 14px;
  line-height: 1.7;
}

.step-preview-list {
  margin-bottom: 16px;
}

.step-preview-list .step-item {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  align-items: flex-start;
}

.step-preview-list .step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e8f0f7;
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-preview-list .step-body {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
  padding-top: 2px;
}

.faq-preview-list li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--border-soft);
}

.faq-preview-list li:last-child {
  border-bottom: none;
}

.faq-preview-list a {
  font-size: 14px;
  color: var(--text-soft);
  display: block;
  line-height: 1.6;
}

.faq-preview-list a:hover {
  color: var(--blue);
}

.col-more {
  margin-top: 12px;
}

.col-more a {
  font-size: 14px;
  font-weight: 600;
}

/* 帮助路径条 */
.path-strip {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 18px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.path-item {
  border-right: 1px solid var(--border-soft);
  padding-right: 16px;
}

.path-item:last-child {
  border-right: none;
  padding-right: 0;
}

.path-item a {
  display: block;
  text-decoration: none;
}

.path-item a:hover {
  text-decoration: none;
}

.path-name {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.path-item a:hover .path-name {
  color: var(--blue);
}

.path-desc {
  font-size: 13px;
  color: var(--text-faint);
  line-height: 1.5;
}

/* ============================================================
   6. 双栏布局（侧栏 + 主内容）
   ============================================================ */

.page-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}

.page-layout.sidebar-left {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
}

.layout-shell.sidebar-left {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
}

/* 侧栏通用 */
.page-aside,
.guide-tree,
.help-sidebar,
.sidebar {
  position: sticky;
  top: 20px;
}

.theme-tree,
.guide-tree .aside-title,
.help-sidebar,
.sidebar-inner {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 18px;
}

.theme-tree-title,
.aside-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text);
}

.theme-tree-list li,
.tree-list li,
.help-tree li {
  margin-bottom: 2px;
}

.theme-tree-list a,
.tree-list a,
.help-tree a {
  display: block;
  padding: 6px 10px;
  font-size: 14px;
  color: var(--text-soft);
  border-radius: var(--radius-sm);
  border-left: 2px solid transparent;
}

.theme-tree-list a:hover,
.tree-list a:hover,
.help-tree a:hover {
  color: var(--blue);
  background: #eef3f8;
  border-left-color: var(--blue);
  text-decoration: none;
}

.theme-tree-list a.is-current,
.tree-list a.is-current,
.help-tree a.is-current {
  color: var(--blue);
  background: #eef3f8;
  border-left-color: var(--blue);
  font-weight: 600;
}

.tree-note,
.aside-note {
  font-size: 13px;
  color: var(--text-faint);
  line-height: 1.7;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-soft);
}

/* ============================================================
   7. 版块总览页
   ============================================================ */

.page-ban-kuai .page-header {
  margin-bottom: 20px;
}

.page-ban-kuai .page-layout {
  margin-bottom: 40px;
}

.block-group {
  margin-bottom: 32px;
}

.group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-soft);
}

.group-badge {
  display: inline-block;
  min-width: 24px;
  text-align: center;
  font-size: 13px;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--blue);
  background: #e8f0f7;
  border-radius: var(--radius-sm);
  padding: 0 8px;
  line-height: 24px;
}

.block-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.block-item {
  padding: 16px 18px;
  border-left: 3px solid var(--blue);
  position: relative;
}

.block-item:hover {
  border-color: var(--border);
  border-left-color: var(--blue);
  box-shadow: var(--shadow-md);
}

.block-item-wide {
  grid-column: 1 / -1;
}

.block-color-blue {
  border-left-color: var(--blue);
}

.block-color-teal {
  border-left-color: var(--teal);
}

.block-color-yellow {
  border-left-color: var(--yellow);
}

.block-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.block-code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
  background: #f2f4f7;
  border-radius: 3px;
  padding: 1px 6px;
  margin-left: 6px;
  vertical-align: 2px;
}

.block-desc {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 8px;
}

.block-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.block-tags span {
  font-size: 12px;
  color: var(--text-soft);
  background: #f2f4f7;
  border-radius: 3px;
  padding: 1px 8px;
  line-height: 1.6;
}

.block-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  margin-top: 6px;
}

/* 版块选择建议 */
.section-advice {
  margin-bottom: 20px;
}

.advice-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.advice-card {
  padding: 18px 20px;
}

.advice-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
}

.advice-card-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.advice-card p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 0;
}

/* 相关推荐 */
.related-links {
  margin-top: 36px;
}

.related-title {
  font-size: 18px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-soft);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.related-card {
  padding: 16px 18px;
  display: block;
  text-decoration: none;
}

.related-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.related-card-title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.related-card:hover .related-card-title {
  color: var(--blue);
}

.related-card-desc {
  font-size: 13px;
  color: var(--text-faint);
  line-height: 1.6;
  display: block;
}

/* ============================================================
   8. 全站话题页
   ============================================================ */

.page-quan-zhan-hua-ti .page-header {
  margin-bottom: 16px;
}

.topic-flow-cover {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  margin-bottom: 24px;
  background: #eef1f5;
}

.topic-flow-cover img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  min-height: 160px;
}

.topic-flow-guide {
  background: #fdf6e7;
  border: 1px solid #f0e3c0;
  border-left: 4px solid var(--yellow);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 28px;
}

.topic-flow-guide .section-title {
  font-size: 16px;
  margin-bottom: 4px;
}

.topic-flow-guide .section-title::before {
  background: var(--yellow);
  height: 14px;
}

.topic-flow-guide p {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 0;
}

.topic-flow-guide a {
  font-weight: 600;
}

.topic-timeline {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}

.topic-group {
  margin-bottom: 28px;
}

.topic-group:last-child {
  margin-bottom: 0;
}

.topic-group-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-soft);
  font-family: var(--font-mono);
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--border-soft);
  margin-bottom: 14px;
}

.topic-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.topic-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.2s ease;
}

.topic-item:hover {
  border-color: var(--blue);
}

.topic-board-tag {
  flex-shrink: 0;
  min-width: 56px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 3px;
  line-height: 1.6;
  margin-top: 2px;
}

.topic-card {
  flex: 1;
}

.topic-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.topic-title a {
  color: var(--text);
}

.topic-title a:hover {
  color: var(--blue);
}

.topic-excerpt {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 4px;
}

.topic-meta {
  font-size: 12px;
  color: var(--text-faint);
  font-family: var(--font-mono);
}

.topic-pagination-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-faint);
  background: var(--surface);
  border: 1px dashed var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  margin-bottom: 20px;
}

.topic-related-links {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-top: 28px;
}

.related-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.related-link-list li a {
  font-size: 14px;
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.related-link-list li a::before {
  content: "▸";
  color: var(--blue);
  font-size: 12px;
}

.related-link-list li a:hover {
  color: var(--blue);
}

/* ============================================================
   9. 发帖指南页
   ============================================================ */

.page-fa-yan-zhi-nan .page-header {
  margin-bottom: 8px;
}

.guide-section {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-soft);
}

.guide-section:last-of-type {
  border-bottom: none;
}

.guide-section > h2 {
  font-size: 20px;
  margin-bottom: 10px;
  position: relative;
  padding-left: 16px;
}

.guide-section > h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background: var(--blue);
  border-radius: 2px;
}

.guide-section > p {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.step-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 8px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.step-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-card p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 0;
}

.guide-media {
  margin: 16px 0;
}

.guide-figure {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-soft);
}

.guide-figure img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  min-height: 140px;
}

.guide-figure figcaption {
  font-size: 13px;
  color: var(--text-faint);
  background: var(--surface);
  padding: 8px 14px;
  border-top: 1px solid var(--border-soft);
}

.reply-example {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-top: 12px;
}

.reply-example h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.example-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--coral);
  background: #fdeee9;
  border-radius: 3px;
  padding: 1px 8px;
  margin-bottom: 10px;
}

.example-thread {
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 12px;
  background: #fafbfc;
}

.example-thread p {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 0;
  line-height: 1.7;
}

.reply-tips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  margin: 12px 0 16px;
}

.reply-tips li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
}

.reply-tips li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

.check-list {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-top: 10px;
}

.check-list li {
  position: relative;
  padding: 6px 0 6px 28px;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
  border-bottom: 1px dashed var(--border-soft);
}

.check-list li:last-child {
  border-bottom: none;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

.related-links p {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 10px;
}

.related-links p a {
  display: inline-block;
  margin-right: 16px;
  font-weight: 600;
}

/* ============================================================
   10. 社区公约页
   ============================================================ */

.page-cover {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  margin-bottom: 28px;
  background: #eef1f5;
}

.page-cover img {
  width: 100%;
  aspect-ratio: 21 / 8;
  object-fit: cover;
  min-height: 140px;
}

.sidebar-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.sidebar-nav li {
  margin-bottom: 2px;
}

.sidebar-nav a {
  display: block;
  padding: 6px 10px;
  font-size: 14px;
  color: var(--text-soft);
  border-radius: var(--radius-sm);
  border-left: 2px solid transparent;
}

.sidebar-nav a:hover {
  color: var(--blue);
  background: #eef3f8;
  border-left-color: var(--blue);
  text-decoration: none;
}

.sidebar-current {
  font-size: 13px;
  color: var(--text-faint);
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-soft);
  line-height: 1.6;
}

.gong-yue-section {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-soft);
}

.gong-yue-section:last-of-type {
  border-bottom: none;
}

.gong-yue-section > h2 {
  font-size: 20px;
  margin-bottom: 10px;
  position: relative;
  padding-left: 16px;
}

.gong-yue-section > h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background: var(--blue);
  border-radius: 2px;
}

.gong-yue-section > p {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 14px;
}

.rule-scene {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 16px;
}

.rule-scene h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.rule-scene h3::before {
  content: "◈ ";
  color: var(--teal);
}

.rule-scene ul li {
  position: relative;
  padding: 4px 0 4px 18px;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
}

.rule-scene ul li::before {
  content: "·";
  position: absolute;
  left: 4px;
  font-weight: 700;
  color: var(--blue);
}

.rule-scene-warn {
  border-left: 3px solid var(--coral);
}

.rule-scene-warn h3::before {
  content: "⚠ ";
  color: var(--coral);
}

.rule-scene-warn ul li::before {
  content: "·";
  color: var(--coral);
}

.rule-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.rule-compare-col {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 16px 20px;
}

.rule-compare-col h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.rule-compare-col:first-child h3 {
  color: var(--teal);
}

.rule-compare-col:last-child h3 {
  color: var(--coral);
}

.rule-compare-col ul li {
  position: relative;
  padding: 4px 0 4px 18px;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
}

.rule-compare-col:first-child ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

.rule-compare-col:last-child ul li::before {
  content: "×";
  position: absolute;
  left: 0;
  color: var(--coral);
  font-weight: 700;
}

.feedback-path {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 12px;
}

.feedback-path h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feedback-path ul li {
  position: relative;
  padding: 4px 0 4px 18px;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
}

.feedback-path ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--blue);
}

.path-tip {
  background: #fdf6e7;
  border: 1px solid #f0e3c0;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 14px;
  color: #7a5a10;
  line-height: 1.7;
  margin-bottom: 12px;
}

.related-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.related-list li a {
  font-size: 14px;
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.related-list li a::before {
  content: "▸";
  color: var(--blue);
}

.related-list li a:hover {
  color: var(--blue);
}

/* ============================================================
   11. 常见问答页
   ============================================================ */

.page-header-text {
  max-width: 780px;
}

.page-header-media {
  display: none;
}

.faq-directory {
  margin-bottom: 32px;
}

.directory-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.directory-card {
  padding: 16px 18px;
  border-top: 3px solid var(--blue);
}

.directory-card:nth-child(1) {
  border-top-color: var(--teal);
}

.directory-card:nth-child(2) {
  border-top-color: var(--blue);
}

.directory-card:nth-child(3) {
  border-top-color: var(--yellow);
}

.directory-card:nth-child(4) {
  border-top-color: var(--coral);
}

.directory-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.directory-card p {
  font-size: 13px;
  color: var(--text-faint);
  line-height: 1.6;
  margin-bottom: 8px;
}

.directory-card a {
  font-size: 13px;
  font-weight: 600;
}

.faq-group {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-soft);
}

.faq-group:last-of-type {
  border-bottom: none;
}

.faq-group .section-title {
  font-size: 20px;
}

.faq-group .section-desc {
  margin-bottom: 16px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: var(--blue);
}

.faq-item summary {
  cursor: pointer;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--text-faint);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
  color: var(--blue);
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--border-soft);
  color: var(--blue);
}

.faq-answer {
  padding: 14px 18px;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.8;
}

.faq-answer p {
  margin-bottom: 8px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer a {
  font-weight: 600;
}

.faq-further-help {
  margin-top: 32px;
}

.help-action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 14px;
}

.help-action-card {
  padding: 20px 22px;
  border-left: 3px solid var(--blue);
}

.help-action-card:first-child {
  border-left-color: var(--blue);
}

.help-action-card:last-child {
  border-left-color: var(--teal);
}

.help-action-card h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.help-action-card p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 10px;
}

.action-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
}

/* ============================================================
   12. 帮助中心页
   ============================================================ */

.help-task-strip {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 28px;
}

.task-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.task-card {
  display: block;
  padding: 16px 18px;
  text-decoration: none;
  border-left: 3px solid var(--blue);
}

.task-card:hover {
  border-color: var(--border);
  border-left-color: var(--blue);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.task-card:nth-child(1) {
  border-left-color: var(--teal);
}

.task-card:nth-child(2) {
  border-left-color: var(--blue);
}

.task-card:nth-child(3) {
  border-left-color: var(--yellow);
}

.task-card:nth-child(4) {
  border-left-color: var(--coral);
}

.task-card-name {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.task-card:hover .task-card-name {
  color: var(--blue);
}

.task-card-desc {
  font-size: 13px;
  color: var(--text-faint);
  line-height: 1.6;
  display: block;
}

.help-layout {
  margin-bottom: 16px;
}

.help-group {
  margin-bottom: 28px;
}

.group-desc {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 12px;
}

.help-link-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.help-link-item {
  padding: 14px 18px;
  border-left: 3px solid var(--border);
  transition: border-color 0.2s ease;
}

.help-link-item:hover {
  border-left-color: var(--blue);
  border-color: var(--border);
}

.help-link-item a {
  font-size: 15px;
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}

.help-link-item .link-desc {
  font-size: 13px;
  color: var(--text-faint);
  line-height: 1.6;
  display: block;
}

.help-tip {
  background: #fdf6e7;
  border: 1px solid #f0e3c0;
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-top: 28px;
}

.help-tip p {
  font-size: 14px;
  color: #7a5a10;
  line-height: 1.7;
  margin-bottom: 0;
}

.help-tip a {
  font-weight: 600;
  color: #9a6a00;
  margin-right: 12px;
}

.help-tip a:hover {
  color: #7a5200;
}

.related-pages {
  margin-top: 8px;
}

.related-pages .related-grid {
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.related-pages .related-card {
  padding: 14px 16px;
}

.related-card-title a {
  color: var(--text);
}

.related-card-title a:hover {
  color: var(--blue);
}

.related-pages .related-card p {
  font-size: 13px;
  color: var(--text-faint);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ============================================================
   13. 反馈说明页
   ============================================================ */

.sidebar-topic .sidebar-inner {
  border-top: 3px solid var(--teal);
}

.sidebar-topic .sidebar-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.5;
}

.sidebar-topic .sidebar-desc {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 0;
}

.content-block {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-soft);
}

.content-block:last-of-type {
  border-bottom: none;
}

.content-block > h2 {
  font-size: 20px;
  margin-bottom: 10px;
  position: relative;
  padding-left: 16px;
}

.content-block > h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background: var(--blue);
  border-radius: 2px;
}

.content-block > p {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 12px;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.step-list .step-item {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  gap: 12px;
}

.step-list .step-number {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-list .step-content p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 0;
}

.feedback-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: var(--surface);
  margin-top: 8px;
}

.feedback-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 560px;
}

.feedback-table thead th {
  background: #eef3f8;
  font-weight: 600;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 2px solid var(--border);
  color: var(--text);
  font-size: 14px;
}

.feedback-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-soft);
  line-height: 1.7;
  vertical-align: top;
}

.feedback-table tbody tr:last-child td {
  border-bottom: none;
}

.feedback-table tbody td:first-child {
  font-weight: 600;
  color: var(--text);
}

.prepare-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 16px 0;
}

.prepare-item {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.prepare-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: #e8f0f7;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.prepare-text p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 0;
}

.notice-box {
  background: #fdf6e7;
  border: 1px solid #f0e3c0;
  border-left: 4px solid var(--yellow);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-top: 12px;
}

.notice-box p {
  font-size: 14px;
  color: #7a5a10;
  line-height: 1.7;
  margin-bottom: 0;
}

.related-link-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.related-link-card {
  display: flex;
  flex-direction: column;
  padding: 14px 18px;
  border-left: 3px solid var(--border);
  transition: border-color 0.2s ease;
}

.related-link-card:hover {
  border-left-color: var(--blue);
  border-color: var(--border);
}

.related-link-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.related-link-card:hover .related-link-title {
  color: var(--blue);
}

.related-link-desc {
  font-size: 13px;
  color: var(--text-faint);
  line-height: 1.6;
}

/* ============================================================
   14. 404 页面
   ============================================================ */

.error-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 65vh;
}

.error-panel {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 48px 56px;
  text-align: center;
  max-width: 640px;
  width: 100%;
}

.error-code {
  font-family: var(--font-mono);
  font-size: 64px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 8px;
}

.error-panel h1 {
  font-size: 24px;
  margin-bottom: 12px;
}

.error-lead {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.error-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.error-link {
  display: inline-block;
  padding: 8px 20px;
  background: #e8f0f7;
  color: var(--blue);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
}

.error-link:hover {
  background: var(--blue);
  color: #fff;
  text-decoration: none;
}

.error-help {
  font-size: 13px;
  color: var(--text-faint);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ============================================================
   15. 页脚
   ============================================================ */

.site-footer {
  background: var(--text);
  color: #b7bfc9;
  margin-top: 24px;
}

.footer-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 44px 24px 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 32px;
}

.footer-about .footer-brand {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.footer-about .footer-desc {
  font-size: 14px;
  line-height: 1.8;
  color: #9aa5b1;
  margin-bottom: 0;
}

.footer-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

.footer-nav ul li {
  margin-bottom: 6px;
}

.footer-nav ul li a,
.footer-note p {
  font-size: 14px;
  color: #9aa5b1;
  line-height: 1.7;
}

.footer-nav ul li a:hover {
  color: #fff;
}

.footer-note p {
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #7d8794;
}

.footer-bottom p {
  margin-bottom: 0;
}

/* ============================================================
   16. 响应式
   ============================================================ */

/* 平板 */
@media (max-width: 1024px) {
  .board-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .directory-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .task-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .related-pages .related-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-layout,
  .page-layout.sidebar-left,
  .layout-shell.sidebar-left {
    grid-template-columns: 220px 1fr;
    gap: 24px;
  }
}

/* 手机 */
@media (max-width: 768px) {
  .header-shell {
    height: auto;
    min-height: 60px;
    padding: 0 16px;
    flex-wrap: wrap;
    gap: 8px;
    position: relative;
  }

  .brand-logo {
    padding: 12px 0;
  }

  .brand-name {
    font-size: 19px;
  }

  .brand-tagline {
    display: none;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .site-nav {
    width: 100%;
    order: 3;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 8px 0 16px;
    gap: 0;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list li a {
    padding: 12px 8px;
    font-size: 15px;
    border-bottom: 1px solid var(--border-soft);
    border-radius: 0;
  }

  .nav-list li:last-child a {
    border-bottom: none;
  }

  .nav-list li a.is-current {
    background: #e8f0f7;
  }

  .home-main,
  .inner-main {
    padding: 20px 16px 48px;
  }

  .hero-panel {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 0 28px;
  }

  .hero-title {
    font-size: 24px;
  }

  .duo-columns {
    grid-template-columns: 1fr;
  }

  .board-card-grid {
    grid-template-columns: 1fr;
  }

  .path-strip {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .path-item {
    border-right: none;
    padding-right: 0;
  }

  .step-cards {
    grid-template-columns: 1fr;
  }

  .reply-tips {
    grid-template-columns: 1fr;
  }

  .rule-compare {
    grid-template-columns: 1fr;
  }

  .help-action-grid {
    grid-template-columns: 1fr;
  }

  .advice-list {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .related-pages .related-grid {
    grid-template-columns: 1fr;
  }

  .prepare-list {
    grid-template-columns: 1fr;
  }

  .step-list {
    grid-template-columns: 1fr;
  }

  .page-layout,
  .page-layout.sidebar-left,
  .layout-shell.sidebar-left {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-aside,
  .guide-tree,
  .help-sidebar,
  .sidebar {
    position: static;
    order: 2;
  }

  .page-content,
  .main-content,
  .content-area,
  .help-content {
    order: 1;
  }

  /* 侧栏在手机上折叠为可展开简要块 */
  .page-aside .theme-tree,
  .guide-tree,
  .help-sidebar,
  .sidebar-inner {
    margin-bottom: 0;
  }

  .page-aside .aside-guide {
    margin-top: 12px;
  }

  .footer-shell {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 16px 16px;
  }

  .footer-bottom {
    padding: 14px 16px;
    flex-direction: column;
    text-align: center;
  }

  .topic-item {
    flex-direction: column;
  }

  .topic-board-tag {
    align-self: flex-start;
  }

  .topic-group-title {
    font-size: 14px;
  }

  .block-list {
    grid-template-columns: 1fr;
  }

  .block-item-wide {
    grid-column: auto;
  }

  .directory-card-grid {
    grid-template-columns: 1fr;
  }

  .task-card-grid {
    grid-template-columns: 1fr;
  }

  .error-panel {
    padding: 32px 20px;
  }

  .error-code {
    font-size: 44px;
  }

  .error-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .error-link {
    text-align: center;
  }

  .page-title {
    font-size: 23px;
  }

  .section-heading h2,
  .section-title {
    font-size: 19px;
  }

  .faq-item summary {
    padding: 12px 14px;
    font-size: 14px;
  }

  .faq-answer {
    padding: 12px 14px;
  }

  .related-link-list {
    flex-direction: column;
  }

  .topic-timeline {
    padding: 16px;
  }

  .topic-item {
    padding: 12px;
  }

  .rule-strip-text {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}

/* 小屏手机 */
@media (max-width: 480px) {
  .path-strip {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .path-item {
    border-bottom: 1px solid var(--border-soft);
    padding-bottom: 10px;
  }

  .path-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .content-media-primary,
  .content-media-inline {
    aspect-ratio: 4 / 3;
  }

  .topic-flow-cover img {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  .page-cover img,
  .guide-figure img {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  .hero-entries {
    margin-top: 8px;
  }

  .entry-card {
    padding: 12px 14px;
  }

  .board-card .board-name {
    padding: 14px 14px 0;
  }

  .board-card .board-intro {
    padding: 0 14px;
  }

  .board-card .board-link-text {
    padding: 8px 14px;
  }
}
