/* ==========================================================
   麻豆app传媒官网 · 全站样式表
   视觉方向：社区公告板风 · 米白纸感 · 砖橙强调
   ========================================================== */

/* ----------------------------------------------------------
   base · 基础变量与重置
   ---------------------------------------------------------- */
:root {
  --bg: #f7f3ea;
  --bg-soft: #efe9dc;
  --bg-card: #fffdf7;
  --ink: #23262b;
  --ink-soft: #5c6067;
  --ink-faint: #8a8e95;
  --accent: #b84a2f;
  --accent-dark: #9c3c25;
  --accent-soft: #f3e2db;
  --aux: #4d7c6b;
  --aux-dark: #3c6255;
  --aux-soft: #e2ece7;
  --line: #ddd5c6;
  --line-light: #e8e1d4;

  --tag-install: #c8853d;
  --tag-version: #3d7ea6;
  --tag-mobile: #7a5c9e;
  --tag-experience: #5a8a5a;

  --container: 1140px;
  --radius: 8px;
  --radius-sm: 6px;
  --shadow: 0 1px 3px rgba(35, 38, 43, 0.06);
  --shadow-hover: 0 4px 12px rgba(35, 38, 43, 0.09);
  --font: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --transition: 0.2s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-dark);
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

/* 跳到正文链接 */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 1000;
  padding: 8px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

/* ----------------------------------------------------------
   layout · 全站布局骨架
   ---------------------------------------------------------- */
.site-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--line-light);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  flex-shrink: 0;
}

.brand a {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.brand-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.brand-slogan {
  font-size: 0.75rem;
  color: var(--ink-faint);
}

.site-nav {
  flex: 1;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-list li a {
  display: inline-block;
  padding: 6px 12px;
  font-size: 0.9375rem;
  color: var(--ink-soft);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.nav-list li a:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

.nav-list li a.is-current {
  color: var(--accent);
  background: var(--accent-soft);
  font-weight: 600;
}

.btn-post {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  background: var(--accent);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.btn-post:hover {
  background: var(--accent-dark);
  color: #fff;
}

/* 导航切换按钮（移动端可见） */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--radius-sm);
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 主内容区 */
.site-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.home-main {
  padding-bottom: 64px;
}

.inner-main {
  padding-top: 24px;
  padding-bottom: 64px;
}

/* 面包屑 */
.breadcrumb {
  margin-bottom: 20px;
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--ink-faint);
}

.breadcrumb a {
  color: var(--ink-faint);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  color: var(--line);
}

.breadcrumb-current {
  color: var(--ink-soft);
  font-weight: 500;
}

/* 页面标题区 */
.page-header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-light);
}

.page-title {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 8px;
}

.page-description {
  font-size: 1rem;
  color: var(--ink-soft);
  max-width: 720px;
}

/* 内容网格 - 主栏 + 侧栏 */
.content-grid,
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
  margin-bottom: 40px;
}

/* 版块说明 */
.board-intro {
  margin-bottom: 28px;
}

.intro-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 24px;
  background: var(--bg-card);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 24px;
  align-items: center;
}

.intro-text h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.intro-text p {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.intro-text p:last-child {
  margin-bottom: 0;
}

.intro-figure,
.intro-media {
  border-radius: var(--radius);
  overflow: hidden;
}

.intro-media img,
.intro-figure img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* 页脚 */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line-light);
  padding-top: 40px;
  margin-top: 32px;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 32px;
}

.footer-col h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}

.footer-col ul li {
  margin-bottom: 6px;
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.footer-note p {
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.footer-bottom {
  border-top: 1px solid var(--line-light);
  padding: 16px 0;
  text-align: center;
}

.footer-bottom p {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  font-size: 0.8125rem;
  color: var(--ink-faint);
}

/* ----------------------------------------------------------
   components · 通用组件
   ---------------------------------------------------------- */
.section-heading {
  margin-bottom: 16px;
}

.section-heading h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.section-heading p {
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.section-note {
  font-size: 0.875rem;
  color: var(--ink-faint);
  margin-bottom: 16px;
}

/* 按钮 */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--accent);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent);
  padding: 8px 0;
}

.btn-link:hover {
  color: var(--accent-dark);
}

/* 版块色标 */
.board-label,
.topic-tag,
.tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.6;
}

.tag-install {
  background: rgba(200, 133, 61, 0.15);
  color: var(--tag-install);
}

.tag-version {
  background: rgba(61, 126, 166, 0.15);
  color: var(--tag-version);
}

.tag-mobile {
  background: rgba(122, 92, 158, 0.15);
  color: var(--tag-mobile);
}

.tag-experience {
  background: rgba(90, 138, 90, 0.15);
  color: var(--tag-experience);
}

.tag-jingyan {
  background: rgba(90, 138, 90, 0.15);
  color: var(--tag-experience);
}

/* 话题列表通用 */
.topic-item {
  background: var(--bg-card);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 12px;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.topic-item:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--line);
}

.topic-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.5;
}

.topic-item h3 a {
  color: var(--ink);
}

.topic-item h3 a:hover {
  color: var(--accent);
}

.topic-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  color: var(--ink-faint);
  flex-wrap: wrap;
}

/* 折叠问答 */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  padding: 14px 20px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  background: var(--bg-soft);
}

.faq-item p {
  padding: 0 20px 16px;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.faq-item p a {
  font-weight: 600;
}

/* 相关链接入口 */
.related-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
}

.related-links-label {
  font-size: 0.875rem;
  color: var(--ink-faint);
  margin-right: 4px;
}

.related-links-item {
  font-size: 0.875rem;
  color: var(--ink-soft);
  padding: 4px 10px;
  background: var(--bg-card);
  border: 1px solid var(--line-light);
  border-radius: 999px;
}

.related-links-item:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* 侧栏通用 */
.side-card,
.side-block,
.post-guide,
.rule-note,
.question-guide,
.writing-guide,
.announcement-note {
  background: var(--bg-card);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}

.side-card h2,
.side-card h3,
.side-block h3,
.post-guide h2,
.rule-note h2,
.question-guide h3,
.writing-guide h2,
.announcement-note h2 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-light);
}

.side-card p,
.side-block p,
.post-guide p,
.rule-note p,
.question-guide p,
.writing-guide p,
.announcement-note p {
  font-size: 0.875rem;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

/* 检查清单 */
.check-list,
.guide-list,
.checklist-list {
  margin: 12px 0;
}

.check-list li,
.guide-list li,
.checklist-list li {
  display: flex;
  gap: 8px;
  padding: 6px 0;
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.check-mark {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--aux);
  color: #fff;
  font-size: 0.6875rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}

/* 相关版块入口卡片 */
.related-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 16px 20px;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.related-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--line);
}

.related-card h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.related-card p {
  font-size: 0.8125rem;
  color: var(--ink-faint);
  line-height: 1.5;
}

/* 滚动出现动画（不影响初始可见性） */
@keyframes fade-up {
  from {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ----------------------------------------------------------
   components · 首页专属
   ---------------------------------------------------------- */
.hero {
  padding: 40px 0 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: 40px;
  align-items: center;
}

.hero-text h1 {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
}

.hero-text p {
  font-size: 1rem;
  color: var(--ink-soft);
  margin-bottom: 20px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-scene-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.scene-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 16px;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.scene-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--line);
}

.scene-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-bottom: 4px;
}

.scene-install .scene-dot {
  background: var(--tag-install);
}

.scene-version .scene-dot {
  background: var(--tag-version);
}

.scene-mobile .scene-dot {
  background: var(--tag-mobile);
}

.scene-card h2 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
}

.scene-card p {
  font-size: 0.8125rem;
  color: var(--ink-faint);
  line-height: 1.6;
}

.hero-figure {
  grid-column: 1 / -1;
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 8px;
}

.hero-figure img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

/* 版块一览表 */
.board-table-section {
  margin-bottom: 40px;
}

.board-table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  overflow-x: auto;
}

.board-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.board-table th {
  background: var(--bg-soft);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.board-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-light);
  vertical-align: top;
  color: var(--ink-soft);
}

.board-table tr:last-child td {
  border-bottom: none;
}

.board-table td:first-child {
  font-weight: 600;
  color: var(--ink);
}

.board-table a {
  font-weight: 600;
  white-space: nowrap;
}

.board-table-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.board-table-images img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius);
}

/* 首页内容网格 */
.home-grid {
  margin-bottom: 40px;
}

/* 话题流 */
.topic-stream .topic-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.topic-stream .topic-item a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
}

.topic-stream .topic-item a:hover {
  color: var(--accent);
}

/* 侧栏公告 */
.announcement-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line-light);
}

.announcement-list li:last-child {
  border-bottom: none;
}

.announcement-list a {
  display: block;
  font-size: 0.875rem;
  color: var(--ink-soft);
  margin-bottom: 2px;
}

.announcement-list a:hover {
  color: var(--accent);
}

.announcement-list time {
  font-size: 0.75rem;
  color: var(--ink-faint);
}

.side-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}

/* 新手任务检查清单 */
.newcomer-checklist {
  margin-bottom: 40px;
}

.checklist-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.check-step {
  background: var(--bg-card);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.check-step h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.check-step p {
  font-size: 0.8125rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.check-step p a {
  font-weight: 600;
}

/* 首页 FAQ */
.faq-section {
  margin-bottom: 40px;
}

/* ----------------------------------------------------------
   components · 内页通用模块
   ---------------------------------------------------------- */
/* 版块说明（无卡片结构时） */
.board-intro > h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.board-intro > p {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  max-width: 720px;
}

/* 相关版块入口（侧栏内） */
.related-card {
  margin-bottom: 12px;
}

.related-card:last-child {
  margin-bottom: 0;
}

.related-boards h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-light);
}

/* ----------------------------------------------------------
   pages · 安装求助
   ---------------------------------------------------------- */
.page-anzhuang-qiuzhu .topic-stream h2,
.page-anzhuang-qiuzhu .help-list h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.topic-excerpt {
  font-size: 0.875rem;
  color: var(--ink-soft);
  margin-top: 6px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.help-item {
  background: var(--bg-card);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 14px 20px;
  margin-bottom: 10px;
  transition: box-shadow var(--transition);
}

.help-item:hover {
  box-shadow: var(--shadow-hover);
}

.help-item h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.help-item h3 a {
  color: var(--ink);
}

.help-item h3 a:hover {
  color: var(--accent);
}

.help-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.help-label {
  font-size: 0.75rem;
  color: var(--ink-faint);
  padding: 2px 8px;
  background: var(--bg-soft);
  border-radius: 999px;
}

/* ----------------------------------------------------------
   pages · 版本讨论
   ---------------------------------------------------------- */
.version-tabs {
  margin-bottom: 24px;
}

.tab-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tab-item {
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  transition: all var(--transition);
}

.tab-item:hover {
  border-color: var(--tag-version);
  color: var(--tag-version);
}

.tab-item.is-active {
  background: var(--tag-version);
  border-color: var(--tag-version);
  color: #fff;
}

.topic-list .topic-item p {
  font-size: 0.875rem;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.rule-note ul li {
  padding: 6px 0;
  font-size: 0.875rem;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line-light);
  line-height: 1.6;
}

.rule-note ul li:last-child {
  border-bottom: none;
}

.rule-note .related-boards ul li {
  border-bottom: none;
  padding: 4px 0;
}

.rule-note .related-boards ul li a {
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.rule-note .related-boards ul li a:hover {
  color: var(--accent);
}

.version-org-note {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line-light);
}

.version-org-note h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.org-figure {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
}

.org-figure img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.org-figure figcaption {
  font-size: 0.8125rem;
  color: var(--ink-faint);
  padding: 8px 4px;
}

.version-org-note > p {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  max-width: 720px;
}

/* ----------------------------------------------------------
   pages · 手机版交流
   ---------------------------------------------------------- */
.page-shoujiban-zhuangu .experience-stream h2,
.page-shoujiban-zhuangu .help-topics h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.experience-stream .topic-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.topic-main h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.topic-main h3 a {
  color: var(--ink);
}

.topic-main h3 a:hover {
  color: var(--accent);
}

.topic-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.help-status {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--aux-dark);
  background: var(--aux-soft);
  padding: 2px 10px;
  border-radius: 999px;
  margin-top: 4px;
}

.question-guide .guide-list li {
  padding: 4px 0;
}

.guide-entry {
  margin-top: 32px;
  padding: 20px;
  background: var(--aux-soft);
  border-radius: var(--radius);
}

.guide-entry h2 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.guide-entry p {
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.guide-entry a {
  font-weight: 600;
}

/* ----------------------------------------------------------
   pages · 经验分享
   ---------------------------------------------------------- */
.page-jingyan-fenxiang .experience-timeline h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.timeline-desc {
  font-size: 0.875rem;
  color: var(--ink-faint);
  margin-bottom: 16px;
}

.timeline-group {
  margin-bottom: 24px;
}

.timeline-group > h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--aux-dark);
  margin-bottom: 10px;
  padding-left: 12px;
  border-left: 3px solid var(--aux);
}

.timeline-item {
  background: var(--bg-card);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 10px;
}

.item-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.item-date {
  font-size: 0.75rem;
  color: var(--ink-faint);
  font-family: var(--mono);
}

.timeline-item h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.timeline-item h4 a {
  color: var(--ink);
}

.timeline-item h4 a:hover {
  color: var(--accent);
}

.timeline-item > p {
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 8px;
}

.item-stats {
  display: flex;
  gap: 16px;
  font-size: 0.75rem;
  color: var(--ink-faint);
}

.timeline-more {
  margin-top: 16px;
}

.timeline-more a {
  font-weight: 600;
  font-size: 0.9375rem;
}

.writing-guide .side-desc {
  font-size: 0.8125rem;
}

.writing-guide .guide-list li {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-light);
}

.writing-guide .guide-list li:last-child {
  border-bottom: none;
}

.writing-guide .guide-list h3 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
  border-bottom: none;
  padding-bottom: 0;
}

.writing-guide .guide-list p {
  font-size: 0.8125rem;
  color: var(--ink-soft);
  margin-bottom: 0;
}

/* ----------------------------------------------------------
   pages · 新手指南
   ---------------------------------------------------------- */
.page-xinshou-zhinan .steps-flow h2,
.page-xinshou-zhinan .checklist-section h2,
.page-xinshou-zhinan .faq-section h2,
.page-xinshou-zhinan .related-boards h2 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.section-intro {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.steps-flow {
  margin-bottom: 40px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 20px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--aux);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-card h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.step-card p {
  font-size: 0.8125rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 8px;
}

.step-card a {
  font-size: 0.8125rem;
  font-weight: 600;
}

.checklist-section {
  margin-bottom: 40px;
}

.checklist-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: start;
}

.checklist-main {
  background: var(--bg-card);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.checklist-list li {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-light);
}

.checklist-list li:last-child {
  border-bottom: none;
}

.checklist-list h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.checklist-list p {
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.checklist-figure {
  border-radius: var(--radius);
  overflow: hidden;
}

.checklist-figure img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.checklist-figure figcaption {
  font-size: 0.8125rem;
  color: var(--ink-faint);
  padding: 8px 4px;
}

.faq-more {
  margin-top: 12px;
  font-size: 0.875rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.related-boards .related-card {
  margin-bottom: 0;
}

/* ----------------------------------------------------------
   pages · 站务公告
   ---------------------------------------------------------- */
.page-zhanwu-gonggao .announcement-detail h2,
.page-zhanwu-gonggao .announcement-timeline h2 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.announcement-current {
  background: var(--bg-card);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}

.announcement-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.announcement-date {
  font-size: 0.8125rem;
  color: var(--ink-faint);
  font-family: var(--mono);
}

.announcement-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 2px 10px;
  border-radius: 999px;
}

.announcement-current h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.announcement-current p {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.announcement-figure {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 8px;
}

.announcement-figure img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.announcement-figure figcaption {
  font-size: 0.8125rem;
  color: var(--ink-faint);
  padding: 8px 4px;
}

.announcement-note p a {
  font-weight: 600;
}

.announcement-note .related-entry {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line-light);
}

.announcement-note .related-entry h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 8px;
  border-bottom: none;
  padding-bottom: 0;
}

.announcement-note .related-entry ul li {
  padding: 4px 0;
}

.announcement-note .related-entry ul li a {
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.announcement-note .related-entry ul li a:hover {
  color: var(--accent);
}

.announcement-timeline {
  margin-top: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
}

.timeline-list .timeline-item {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.timeline-date {
  font-size: 0.8125rem;
  color: var(--ink-faint);
  font-family: var(--mono);
  padding-top: 2px;
}

.timeline-content h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.timeline-content p {
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ----------------------------------------------------------
   pages · 发言规范
   ---------------------------------------------------------- */
.page-fayan-guifan .rule-list h2,
.page-fayan-guifan .violation-flow h2,
.page-fayan-guifan .post-checklist h2,
.page-fayan-guifan .related-links h2 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.content-media-inline {
  margin-bottom: 12px;
  border-radius: var(--radius);
  overflow: hidden;
}

.content-media-inline img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.content-media-inline figcaption {
  font-size: 0.8125rem;
  color: var(--ink-faint);
  padding: 8px 4px;
}

.rule-list {
  margin-bottom: 40px;
}

.rule-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 12px;
}

.rule-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--mono);
}

.rule-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.rule-content p {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.violation-flow {
  margin-bottom: 40px;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.flow-list li {
  background: var(--bg-card);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
}

.flow-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--aux);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 10px;
  font-family: var(--mono);
}

.flow-list p {
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.post-checklist {
  margin-bottom: 40px;
}

.post-checklist .checklist {
  background: var(--bg-card);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.post-checklist .checklist li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-light);
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.post-checklist .checklist li:last-child {
  border-bottom: none;
}

.post-checklist .checklist li::before {
  content: "✓";
  flex-shrink: 0;
  color: var(--aux);
  font-weight: 700;
}

.related-links .related-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* ----------------------------------------------------------
   pages · 404
   ---------------------------------------------------------- */
.error-main {
  min-height: calc(100vh - 68px - 300px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-panel {
  text-align: center;
  padding: 48px 24px;
  max-width: 480px;
}

.error-code {
  font-size: 4rem;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--mono);
  margin-bottom: 8px;
}

.error-panel h1 {
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.btn-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 28px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  margin-bottom: 24px;
}

.btn-home:hover {
  background: var(--accent-dark);
  color: #fff;
}

.error-help {
  font-size: 0.875rem;
  color: var(--ink-faint);
}

.error-help a {
  margin: 0 6px;
  color: var(--ink-soft);
}

.error-help a:hover {
  color: var(--accent);
}

/* ----------------------------------------------------------
   responsive · 响应式断点
   ---------------------------------------------------------- */
@media (max-width: 1024px) {
  .header-inner {
    gap: 16px;
  }

  .nav-list li a {
    padding: 6px 8px;
    font-size: 0.875rem;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-figure {
    grid-column: 1;
  }

  .hero-scene-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .checklist-steps,
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .related-links .related-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .checklist-grid {
    grid-template-columns: 1fr;
  }

  .checklist-figure img {
    height: 180px;
  }
}

@media (max-width: 860px) {
  .content-grid,
  .page-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .intro-card {
    grid-template-columns: 1fr;
  }

  .intro-media img,
  .intro-figure img {
    height: 160px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-note {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 60px;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--line-light);
    box-shadow: var(--shadow);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    padding: 8px 20px 16px;
  }

  .nav-list li a {
    display: block;
    padding: 10px 12px;
    font-size: 0.9375rem;
  }

  .site-nav.is-open {
    max-height: 480px;
    overflow-y: auto;
  }

  .btn-post {
    margin-left: 0;
  }

  .hero {
    padding: 24px 0;
  }

  .hero-text h1 {
    font-size: 1.5rem;
  }

  .hero-scene-cards {
    grid-template-columns: 1fr;
  }

  .board-table-images {
    grid-template-columns: repeat(2, 1fr);
  }

  .board-table-images img {
    height: 120px;
  }

  .checklist-steps,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .flow-list {
    grid-template-columns: 1fr;
  }

  .related-grid,
  .related-links .related-grid {
    grid-template-columns: 1fr;
  }

  .timeline-list .timeline-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .experience-stream .topic-item {
    grid-template-columns: 1fr;
  }

  .page-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 0 16px;
    gap: 12px;
  }

  .brand-slogan {
    display: none;
  }

  .site-main {
    padding: 0 16px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    padding: 0 16px 24px;
  }

  .footer-note {
    grid-column: 1;
  }

  .footer-bottom p {
    padding: 0 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
  }

  .board-table {
    font-size: 0.875rem;
  }

  .board-table th,
  .board-table td {
    padding: 10px 12px;
  }

  .board-table-images {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .board-table-images img {
    height: 100px;
  }

  .rule-item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }

  .rule-number {
    width: 34px;
    height: 34px;
    font-size: 0.875rem;
  }

  .faq-item summary {
    padding: 12px 16px;
  }

  .faq-item p {
    padding: 0 16px 12px;
  }
}
