/* ============================================================
   BASE — 全站基础
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #1A1A1A;
  background: #FFFFFF;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #3B82F6;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #2563EB;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1 0 auto;
}

/* ============================================================
   LAYOUT — 布局骨架
   ============================================================ */

.site-main {
  width: 100%;
}

.home-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.inner-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.site-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ============================================================
   HEADER — 页头与导航
   ============================================================ */

.site-header {
  background: #FFFFFF;
  border-bottom: 1px solid #E5E7EB;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  position: relative;
}

.brand-link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 22px;
  font-weight: 700;
  color: #1A1A1A;
  line-height: 1.2;
}

.brand-slogan {
  font-size: 13px;
  color: #6B7280;
  line-height: 1.4;
  display: none;
}

@media (min-width: 480px) {
  .brand-slogan {
    display: inline;
  }
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px;
  border-radius: 4px;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #1A1A1A;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-nav {
  display: block;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list li a {
  display: inline-block;
  padding: 10px 14px;
  font-size: 15px;
  color: #4B5563;
  border-radius: 4px;
  line-height: 1.4;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.nav-list li a:hover {
  color: #1A1A1A;
  background: #F3F4F6;
}

.nav-list li a.is-current {
  color: #3B82F6;
  font-weight: 600;
  background: #EFF6FF;
}

/* ============================================================
   FOOTER — 页脚
   ============================================================ */

.site-footer {
  background: #1A1A1A;
  color: #D1D5DB;
  margin-top: 64px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 24px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
}

.footer-brand-name {
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.footer-brand-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #9CA3AF;
  max-width: 280px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-col-title {
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.footer-nav-list li a {
  display: inline-block;
  padding: 4px 0;
  font-size: 14px;
  color: #9CA3AF;
  line-height: 1.5;
}

.footer-nav-list li a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding: 16px 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: #6B7280;
  max-width: 1200px;
  margin: 0 auto;
}

/* ============================================================
   COMPONENTS — 通用组件
   ============================================================ */

/* 面包屑 */
.breadcrumb {
  padding: 16px 0 8px;
  font-size: 14px;
  color: #6B7280;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.breadcrumb a {
  color: #6B7280;
}

.breadcrumb a:hover {
  color: #3B82F6;
}

.breadcrumb-sep {
  color: #9CA3AF;
  margin: 0 2px;
}

.breadcrumb-current {
  color: #1A1A1A;
  font-weight: 500;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

/* 页面标题区 */
.page-header {
  padding: 24px 0 32px;
  border-bottom: 1px solid #E5E7EB;
  margin-bottom: 32px;
}

.page-title {
  font-size: 28px;
  font-weight: 700;
  color: #1A1A1A;
  line-height: 1.3;
  margin-bottom: 12px;
}

.page-description {
  font-size: 16px;
  line-height: 1.7;
  color: #4B5563;
  max-width: 720px;
}

/* 区块标题 */
.section-title {
  font-size: 22px;
  font-weight: 700;
  color: #1A1A1A;
  line-height: 1.3;
  margin-bottom: 8px;
}

.section-desc {
  font-size: 15px;
  color: #6B7280;
  margin-bottom: 24px;
  max-width: 720px;
}

.section-lead {
  font-size: 16px;
  color: #4B5563;
  margin-bottom: 20px;
}

.section-intro {
  font-size: 15px;
  color: #4B5563;
  margin-bottom: 24px;
  max-width: 720px;
}

/* 折叠问答 */
.faq-item {
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  margin-bottom: 12px;
  background: #FFFFFF;
}

.faq-item summary {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #1A1A1A;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: #3B82F6;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 20px 16px;
  font-size: 15px;
  line-height: 1.7;
  color: #4B5563;
}

.faq-answer p + p {
  margin-top: 8px;
}

/* 相关卡片 */
.related-card {
  display: block;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 20px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.related-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.related-card-title {
  font-size: 16px;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 6px;
  display: block;
}

.related-card-desc {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.6;
  display: block;
}

/* 图片容器 */
.content-media {
  margin: 24px 0;
}

.content-media-inline {
  max-width: 640px;
  margin-left: 0;
  margin-right: auto;
}

.content-media img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}

.content-media figcaption {
  font-size: 13px;
  color: #6B7280;
  padding: 8px 0 0;
  line-height: 1.5;
}

/* ============================================================
   INDEX — 首页模块
   ============================================================ */

/* 首屏双栏 */
.hero-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 32px;
  padding: 40px 0 48px;
}

.hero-card {
  background: #FFFFFF;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #E5E7EB;
}

.hero-figure {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #F3F4F6;
}

.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-caption {
  padding: 24px;
}

.hero-title {
  font-size: 28px;
  font-weight: 700;
  color: #1A1A1A;
  line-height: 1.3;
  margin-bottom: 12px;
}

.hero-desc {
  font-size: 15px;
  color: #4B5563;
  line-height: 1.7;
  margin-bottom: 20px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  background: #3B82F6;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.hero-cta:hover {
  background: #2563EB;
  color: #FFFFFF;
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.recent-updates,
.top-rank {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 20px;
}

.side-title {
  font-size: 16px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #E5E7EB;
}

.update-list li {
  padding: 8px 0;
  border-bottom: 1px solid #F3F4F6;
}

.update-list li:last-child {
  border-bottom: none;
}

.update-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.update-tag {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  color: #F59E0B;
  background: #FEF3C7;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  line-height: 1.6;
}

.update-item a {
  font-size: 14px;
  color: #1A1A1A;
  line-height: 1.5;
  overflow: hidden;
}

.update-item a:hover {
  color: #3B82F6;
}

.rank-mini-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
}

.rank-mini-num {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #F59E0B;
  background: #FEF3C7;
  border-radius: 4px;
}

.rank-mini-item a {
  font-size: 14px;
  color: #1A1A1A;
  flex: 1;
  overflow: hidden;
}

.rank-mini-item a:hover {
  color: #3B82F6;
}

.trend-up {
  color: #F59E0B;
  font-size: 14px;
  flex-shrink: 0;
}

/* 题材分类标签墙 */
.topic-tags {
  padding: 48px 0;
  border-top: 1px solid #E5E7EB;
}

.tag-groups {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.tag-group {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 20px;
}

.tag-group-name {
  font-size: 15px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #E5E7EB;
}

.tag-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tag-list li a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: #4B5563;
  line-height: 1.5;
}

.tag-list li a:hover {
  color: #3B82F6;
}

/* 最近更新封面墙 */
.cover-wall {
  padding: 48px 0;
  border-top: 1px solid #E5E7EB;
}

.cover-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cover-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cover-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.cover-figure {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #F3F4F6;
}

.cover-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-info {
  padding: 16px 16px 20px;
}

.cover-status {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #F59E0B;
  background: #FEF3C7;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
  line-height: 1.6;
}

.cover-title {
  font-size: 16px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 8px;
}

.cover-title a {
  color: #1A1A1A;
}

.cover-title a:hover {
  color: #3B82F6;
}

.cover-desc {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.6;
}

/* 读者关注榜 */
.rank-list {
  padding: 48px 0;
  border-top: 1px solid #E5E7EB;
}

.rank-list-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rank-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 16px 20px;
}

.rank-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #F59E0B;
  background: #FEF3C7;
  border-radius: 6px;
}

.rank-body {
  flex: 1;
  min-width: 0;
}

.rank-name {
  font-size: 16px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 4px;
}

.rank-name a {
  color: #1A1A1A;
}

.rank-name a:hover {
  color: #3B82F6;
}

.rank-desc {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.5;
  overflow: hidden;
}

.trend {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 600;
  color: #F59E0B;
}

/* 阅读路径 */
.reading-path {
  padding: 48px 0;
  border-top: 1px solid #E5E7EB;
}

.path-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.path-step {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 24px;
  position: relative;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: 16px;
  font-weight: 700;
  color: #F59E0B;
  background: #FEF3C7;
  border-radius: 6px;
  margin-bottom: 12px;
}

.step-title {
  font-size: 17px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.6;
  margin-bottom: 16px;
}

.step-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #3B82F6;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.step-link:hover {
  color: #2563EB;
}

/* 首页问答预览 */
.faq-preview {
  padding: 48px 0;
  border-top: 1px solid #E5E7EB;
}

.section-more {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: #3B82F6;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.section-more:hover {
  color: #2563EB;
}

/* 站务更新摘要 */
.changelog-preview {
  padding: 48px 0;
  border-top: 1px solid #E5E7EB;
}

.changelog-mini-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.changelog-mini-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 16px 20px;
}

.changelog-mini-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #F59E0B;
  background: #FEF3C7;
  border-radius: 4px;
}

.changelog-mini-item p {
  font-size: 14px;
  color: #4B5563;
  line-height: 1.6;
}

/* 首页相关链接 */
.related-links {
  padding: 24px 0 48px;
  border-top: 1px solid #E5E7EB;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.related-links-label {
  font-size: 14px;
  font-weight: 600;
  color: #1A1A1A;
}

.related-links-item {
  font-size: 14px;
  color: #3B82F6;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.related-links-item:hover {
  color: #2563EB;
}

/* ============================================================
   GUIDE — 新手指南
   ============================================================ */

.article-body {
  max-width: 800px;
  margin: 0 auto;
}

.article-section {
  margin-bottom: 40px;
}

.article-section .section-title {
  font-size: 20px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 16px;
}

.article-section p {
  font-size: 15px;
  color: #4B5563;
  margin-bottom: 16px;
  line-height: 1.7;
}

.goal-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.goal-list li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  color: #4B5563;
  line-height: 1.6;
}

.goal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: #3B82F6;
  border-radius: 2px;
}

.article-figure {
  margin: 32px 0;
}

.article-figure img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}

.article-figure figcaption {
  font-size: 13px;
  color: #6B7280;
  padding: 8px 0 0;
  line-height: 1.5;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: #4B5563;
  line-height: 1.6;
}

.checklist input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  flex-shrink: 0;
  accent-color: #3B82F6;
}

.checklist label {
  font-size: 15px;
  color: #4B5563;
  line-height: 1.6;
}

/* 相关入口 */
.related-links .related-title,
.related-title {
  font-size: 20px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 20px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* ============================================================
   TRACK-MANUAL — 追更手册
   ============================================================ */

.manual-section {
  margin-bottom: 40px;
}

.manual-section h2 {
  font-size: 20px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 16px;
}

.status-table-wrap {
  overflow-x: auto;
  margin: 16px 0;
  -webkit-overflow-scrolling: touch;
}

.status-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 480px;
}

.status-table thead th {
  background: #F9FAFB;
  font-weight: 600;
  color: #1A1A1A;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 2px solid #E5E7EB;
}

.status-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid #E5E7EB;
  color: #4B5563;
  line-height: 1.6;
}

.manual-media {
  margin: 24px 0;
}

.media-figure img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}

/* 步骤列表 */
.step-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 16px 20px;
}

.step-item .step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #F59E0B;
  background: #FEF3C7;
  border-radius: 6px;
}

.step-item p {
  font-size: 15px;
  color: #4B5563;
  line-height: 1.6;
  flex: 1;
}

/* 完成检查 */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: #4B5563;
  line-height: 1.6;
}

.check-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  flex-shrink: 0;
  accent-color: #3B82F6;
}

.check-item label {
  font-size: 15px;
  color: #4B5563;
  line-height: 1.6;
}

/* ============================================================
   FAQ — 漫游问答
   ============================================================ */

.page-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
}

.sidebar-left .topic-index {
  position: sticky;
  top: 88px;
}

.topic-index {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 20px;
}

.topic-index-title {
  font-size: 15px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #E5E7EB;
}

.topic-index-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.topic-index-list li a {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  color: #4B5563;
  line-height: 1.5;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.topic-index-list li a:hover {
  color: #3B82F6;
}

.faq-main {
  min-width: 0;
}

.faq-group {
  margin-bottom: 40px;
}

.faq-group-title {
  font-size: 20px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #E5E7EB;
}

.faq-group-desc {
  font-size: 15px;
  color: #6B7280;
  margin-bottom: 20px;
  line-height: 1.6;
}

.related-links-title {
  font-size: 20px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 20px;
}

.related-link-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.related-link-cards .related-card {
  display: block;
  padding: 20px;
}

.related-card-title {
  font-size: 15px;
  font-weight: 600;
  color: #1A1A1A;
  display: block;
  margin-bottom: 6px;
}

.related-card-desc {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.6;
  display: block;
}

/* ============================================================
   ADVANCED — 进阶阅读
   ============================================================ */

.article-page {
  max-width: 800px;
  margin: 0 auto;
}

.article-page .article-section {
  margin-bottom: 48px;
}

.question-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.question-item {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 20px;
}

.question-title {
  font-size: 16px;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 8px;
}

.question-desc {
  font-size: 15px;
  color: #4B5563;
  line-height: 1.6;
}

.table-scroll {
  overflow-x: auto;
  margin: 16px 0;
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 560px;
}

.compare-table thead th {
  background: #F9FAFB;
  font-weight: 600;
  color: #1A1A1A;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 2px solid #E5E7EB;
}

.compare-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid #E5E7EB;
  color: #4B5563;
  line-height: 1.6;
}

.method-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.method-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 20px;
}

.method-item .step-number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #F59E0B;
  background: #FEF3C7;
  border-radius: 6px;
}

.method-title {
  font-size: 16px;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 6px;
}

.method-desc {
  font-size: 15px;
  color: #4B5563;
  line-height: 1.6;
}

.checklist-title {
  font-size: 16px;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 12px;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 15px;
  color: #4B5563;
  line-height: 1.6;
}

.checklist-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  flex-shrink: 0;
  accent-color: #3B82F6;
}

.checklist-desc {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.5;
  display: block;
}

.related-entry {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #E5E7EB;
}

.related-entry .related-title {
  font-size: 20px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 20px;
}

/* ============================================================
   CHANGELOG — 更新记录
   ============================================================ */

.content-updates,
.section-adjustments {
  margin-bottom: 48px;
  max-width: 800px;
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 24px;
  position: relative;
}

.timeline-list::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #E5E7EB;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 0 0 28px;
  position: relative;
}

.timeline-index {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #F59E0B;
  background: #FEF3C7;
  border-radius: 50%;
  z-index: 1;
}

.timeline-content {
  flex: 1;
  min-width: 0;
}

.timeline-title {
  font-size: 16px;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 6px;
}

.timeline-desc {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.6;
  margin-bottom: 8px;
}

.timeline-link {
  font-size: 14px;
  color: #3B82F6;
  display: inline-block;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.timeline-link:hover {
  color: #2563EB;
}

.related-card-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.related-card-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #F59E0B;
  margin-bottom: 6px;
}

.related-card-title {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 6px;
}

.related-card-link {
  display: block;
  font-size: 14px;
  color: #3B82F6;
}

/* ============================================================
   FEEDBACK — 版权与反馈
   ============================================================ */

.boundary-section,
.feedback-prep,
.feedback-flow {
  max-width: 800px;
  margin-bottom: 48px;
}

.boundary-section h2,
.feedback-prep h2,
.feedback-flow h2 {
  font-size: 20px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 16px;
}

.boundary-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.boundary-item {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 20px;
}

.boundary-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 8px;
}

.boundary-item p {
  font-size: 15px;
  color: #4B5563;
  line-height: 1.6;
}

.prep-steps,
.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.prep-step,
.flow-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 20px;
}

.step-number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #F59E0B;
  background: #FEF3C7;
  border-radius: 6px;
}

.prep-step h3,
.flow-step h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 6px;
}

.prep-step p,
.flow-step p {
  font-size: 15px;
  color: #4B5563;
  line-height: 1.6;
}

.flow-step p a {
  color: #3B82F6;
  font-weight: 500;
}

.flow-step p a:hover {
  color: #2563EB;
}

.related-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.related-card-grid .related-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 8px;
}

.related-card-grid .related-card p {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.6;
  margin-bottom: 12px;
}

.related-card-grid .related-card a {
  font-size: 14px;
  font-weight: 600;
  color: #3B82F6;
  display: inline-block;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.related-card-grid .related-card a:hover {
  color: #2563EB;
}

/* ============================================================
   404 — 错误页
   ============================================================ */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 48px 24px;
}

.error-content {
  text-align: center;
  max-width: 480px;
}

.error-code {
  font-size: 72px;
  font-weight: 700;
  color: #E5E7EB;
  line-height: 1;
  margin-bottom: 16px;
}

.error-title {
  font-size: 24px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 15px;
  color: #6B7280;
  line-height: 1.6;
  margin-bottom: 24px;
}

.error-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.error-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid #E5E7EB;
  color: #1A1A1A;
  background: #FFFFFF;
}

.error-link:hover {
  border-color: #3B82F6;
  color: #3B82F6;
}

/* ============================================================
   RESPONSIVE — 响应式
   ============================================================ */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .tag-groups {
    grid-template-columns: repeat(3, 1fr);
  }

  .cover-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-layout {
    grid-template-columns: 200px 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  /* 页头与导航 */
  .header-inner {
    min-height: 56px;
    padding: 0 16px;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .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-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-bottom: 1px solid #E5E7EB;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px;
    gap: 0;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 12px;
    font-size: 15px;
    border-radius: 4px;
  }

  /* 首页 */
  .home-main,
  .inner-main {
    padding: 0 16px;
  }

  .hero-grid {
    padding: 24px 0 32px;
  }

  .hero-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .hero-title {
    font-size: 24px;
  }

  .tag-groups {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .cover-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .path-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .rank-item {
    gap: 12px;
    padding: 12px 16px;
  }

  /* 页脚 */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 16px 24px;
  }

  .footer-links {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .footer-bottom {
    padding: 16px;
  }

  /* 内页 */
  .page-header {
    padding: 16px 0 24px;
    margin-bottom: 24px;
  }

  .page-title {
    font-size: 24px;
  }

  .breadcrumb {
    padding: 12px 0 4px;
  }

  /* FAQ 页 */
  .page-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .topic-index {
    position: static;
    order: 2;
  }

  .faq-main {
    order: 1;
  }

  .related-link-cards {
    grid-template-columns: 1fr;
  }

  /* 相关卡片 */
  .related-grid {
    grid-template-columns: 1fr;
  }

  .related-card-list {
    grid-template-columns: 1fr;
  }

  .related-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .brand-slogan {
    display: none;
  }

  .hero-side {
    display: flex;
    flex-direction: column;
  }

  .tag-groups {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .tag-group {
    padding: 14px;
  }

  .cover-grid {
    grid-template-columns: 1fr;
  }

  .rank-list-items {
    gap: 8px;
  }

  .rank-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px;
  }

  .trend {
    align-self: flex-end;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .timeline-list::before {
    left: 13px;
  }

  .timeline-index {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

  .timeline-item {
    gap: 14px;
  }

  .step-item {
    flex-direction: column;
    gap: 8px;
  }

  .prep-step,
  .flow-step {
    flex-direction: column;
    gap: 8px;
  }

  .method-item {
    flex-direction: column;
    gap: 8px;
  }
}
