/* ==========================================================================
  漫漫漫画 · 全站样式表
  城市地图风漫画档案站
  ========================================================================== */

/* ==========================================================================
  Base — 基础变量、重置与全局元素
  ========================================================================== */

:root {
  --paper: #F2EDE2;
  --paper-deep: #E8E0D0;
  --ink: #274B6D;
  --ink-soft: #3A5A7A;
  --line: #5B7694;
  --line-soft: rgba(91, 118, 148, 0.25);
  --orange: #E86A33;
  --orange-deep: #C95322;
  --yellow: #F1B24A;
  --green: #3D7B74;
  --green-soft: rgba(61, 123, 116, 0.12);
  --text-main: #2C2C2A;
  --text-soft: #5A5A55;
  --text-light: #7A7A72;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(39, 75, 109, 0.08);
  --shadow-md: 0 4px 14px rgba(39, 75, 109, 0.10);
  --shadow-lift: 0 8px 22px rgba(39, 75, 109, 0.14);
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --font-title: "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun, serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --container: 1140px;
  --container-wide: 1200px;
  --header-height: 68px;
  --transition: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-main);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(91, 118, 148, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 118, 148, 0.045) 1px, transparent 1px);
  background-size: 28px 28px;
  min-height: 100vh;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--ink);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--orange);
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

p {
  margin-bottom: 0;
}

/* 无障碍辅助类 */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 2000;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 15px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
  color: var(--white);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
  Layout — 页头、页脚、容器与整体骨架
  ========================================================================== */

.site-header {
  background-color: var(--paper);
  border-bottom: 1px solid var(--line-soft);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 30px;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-brand {
  flex-shrink: 0;
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.site-brand a {
  color: var(--ink);
}

.site-brand a:hover {
  color: var(--orange);
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--ink);
  background: transparent;
}

.nav-toggle:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.nav-toggle-label {
  font-size: 15px;
  font-weight: 500;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  margin: 0;
}

.nav-link {
  display: block;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 1.5;
}

.nav-link:hover {
  color: var(--orange);
  background: rgba(232, 106, 51, 0.08);
}

.nav-item.is-current .nav-link,
.nav-link.is-current {
  color: var(--orange);
  background: rgba(232, 106, 51, 0.08);
  font-weight: 600;
}

/* 页脚 */
.site-footer {
  background-color: var(--ink);
  color: rgba(255, 255, 255, 0.85);
  margin-top: 80px;
}

.footer-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 48px 30px 28px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.65);
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--yellow);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.footer-list li {
  margin-bottom: 8px;
}

.footer-list a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  line-height: 1.7;
}

.footer-list a:hover {
  color: var(--yellow);
}

.footer-copy {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  text-align: left;
}

/* 主内容区 */
.site-main {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 30px;
}

.home-main {
  padding-top: 0;
}

.inner-main {
  padding-top: 36px;
  padding-bottom: 40px;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}

.breadcrumb a {
  color: var(--ink-soft);
}

.breadcrumb a:hover {
  color: var(--orange);
}

.breadcrumb-sep {
  color: var(--line);
  margin: 0 2px;
}

.breadcrumb-current {
  color: var(--text-soft);
}

/* 页面标题区 */
.page-header {
  margin-bottom: 32px;
}

.page-title {
  font-size: 34px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.3;
}

.page-description {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-soft);
  max-width: 760px;
}

/* 各区块通用标题 */
.section-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  margin-bottom: 10px;
}

.section-desc,
.section-note,
.section-intro,
.section-lead {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-soft);
}

/* ==========================================================================
  Components — 通用组件
  ========================================================================== */

/* 区块头部 */
.section-head {
  margin-bottom: 28px;
}

.section-head .section-title {
  margin-bottom: 6px;
}

/* 章节入口 · 首页路线入口块 */
.route-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.route-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-soft);
  background: var(--white);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.route-block:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange);
}

.route-name {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.route-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-soft);
}

/* 首页 · 专题研究卡片 */
.feature-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.feature-card.feature-reverse .feature-media {
  order: 2;
}

.feature-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-deep);
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-text {
  padding: 28px 28px 28px 0;
}

.feature-card.feature-reverse .feature-text {
  padding: 28px 0 28px 28px;
}

.feature-title {
  font-size: 21px;
  margin-bottom: 12px;
}

.feature-excerpt {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-soft);
  margin-bottom: 16px;
}

.feature-link {
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  color: var(--orange);
}

.feature-link:hover {
  color: var(--orange-deep);
}

/* 封面卡通用 */
.card-thumb,
.archive-card-media {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--paper-deep);
}

.card-thumb img,
.archive-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  background: var(--green-soft);
  color: var(--green);
}

/* 状态标签徽章 */
.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  background: var(--green-soft);
  color: var(--green);
}

/* 站点出口块（首页路线站台 / 内页下一站） */
.station-inner {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.station-title {
  font-size: 24px;
  color: var(--white);
  margin-bottom: 8px;
}

.station-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
}

.station-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.station-link {
  display: block;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  transition: background var(--transition), border-color var(--transition);
}

.station-link:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--yellow);
}

.station-name {
  display: block;
  font-family: var(--font-title);
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}

.station-note {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

/* 通用下一站入口 · archive 页 */
.next-stop-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.next-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.next-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange);
}

.next-link-label {
  font-size: 13px;
  color: var(--orange);
  font-weight: 500;
}

.next-link-title {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

/* 相关链接行 */
.related-links {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
}

.related-links-label {
  font-weight: 600;
  color: var(--ink);
}

.related-links-item {
  color: var(--ink-soft);
}

.related-links-item:hover {
  color: var(--orange);
}

/* ==========================================================================
  Pages — 首页
  ========================================================================== */

/* 首页 H1 区 */
.home-hero {
  padding: 40px 0 20px;
}

.hero-copy {
  max-width: 760px;
  margin-bottom: 32px;
}

.home-title {
  font-size: 38px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.3;
}

.hero-lead {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-soft);
  margin-bottom: 12px;
}

.hero-entry {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.8;
}

/* 首屏阅览台 */
.reading-desk {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr 0.8fr;
  gap: 24px;
  align-items: stretch;
}

.desk-cover {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.desk-cover img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.desk-cover figcaption {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.6;
  border-top: 1px solid var(--line-soft);
}

/* 最近入档侧栏 */
.recent-side {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.side-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--yellow);
}

.recent-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.recent-item {
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.recent-item:hover {
  background: rgba(232, 106, 51, 0.06);
}

.recent-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 6px;
}

.recent-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
  flex: 1;
}

.recent-tag {
  font-size: 12px;
  color: var(--green);
  background: var(--green-soft);
  border-radius: 12px;
  padding: 2px 8px;
  white-space: nowrap;
}

.recent-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

/* 类型地标色块墙 */
.genre-landmarks {
  margin-top: 56px;
}

.landmark-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.landmark-item {
  margin: 0;
}

.landmark-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 16px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--yellow);
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
}

.landmark-item:nth-child(3n+1) .landmark-link {
  border-left-color: var(--orange);
}

.landmark-item:nth-child(3n+2) .landmark-link {
  border-left-color: var(--green);
}

.landmark-item:nth-child(3n+3) .landmark-link {
  border-left-color: var(--ink);
}

.landmark-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.landmark-name {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.landmark-note {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-soft);
}

.landmark-more {
  margin-top: 18px;
  text-align: right;
}

.landmark-more a {
  font-size: 14px;
  font-weight: 500;
  color: var(--orange);
}

/* 换档记录封面卡排 */
.recent-archives {
  margin-top: 56px;
}

.archive-card-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.archive-card-row .archive-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.archive-card-row .archive-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange);
}

.archive-card-row .archive-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.archive-card-row .card-thumb {
  width: 100%;
}

.archive-card-row .card-status {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(255, 255, 255, 0.92);
}

.archive-card-row .archive-card a {
  position: relative;
}

.card-title {
  display: block;
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  padding: 10px 12px 2px;
  line-height: 1.5;
}

.card-desc {
  display: block;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-soft);
  padding: 0 12px 12px;
  flex: 1;
}

.card-row-more,
.rank-more,
.feature-more {
  margin-top: 20px;
  text-align: center;
}

.card-row-more a,
.rank-more a,
.feature-more a {
  display: inline-block;
  padding: 8px 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.card-row-more a:hover,
.rank-more a:hover,
.feature-more a:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(232, 106, 51, 0.06);
}

/* 人气榜前位 */
.rank-board {
  margin-top: 56px;
}

.rank-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  counter-reset: rank-counter;
}

.rank-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.rank-item:hover {
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.rank-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-title);
  font-size: 17px;
  font-weight: 700;
  border-radius: var(--radius-sm);
}

.rank-item:nth-child(1) .rank-num {
  background: var(--orange);
}

.rank-item:nth-child(2) .rank-num {
  background: var(--yellow);
  color: var(--ink);
}

.rank-item:nth-child(3) .rank-num {
  background: var(--green);
}

.rank-body {
  flex: 1;
}

.rank-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 2px;
}

.rank-meta {
  font-size: 13px;
  color: var(--green);
  margin-bottom: 4px;
}

.rank-reason {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
}

/* 专题研究棋盘区 */
.feature-preview {
  margin-top: 56px;
}

.feature-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* 阅读路线站台 */
.reading-station {
  margin-top: 56px;
}

/* ==========================================================================
  Pages — 漫画档案 /mmmh/archive.html
  ========================================================================== */

.archive-guide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 48px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.archive-guide-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.archive-guide-text .section-title {
  margin-bottom: 12px;
}

.archive-guide-text p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-soft);
}

/* 状态图例条 */
.status-legend {
  margin-bottom: 40px;
}

.status-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-short .status-dot {
  background: var(--yellow);
}

.status-long .status-dot {
  background: var(--ink);
}

.status-serial .status-dot {
  background: var(--orange);
}

.status-finished .status-dot {
  background: var(--green);
}

.status-item strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.status-note {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.5;
}

/* 档案卡阵 */
.archive-grid-section {
  margin-bottom: 48px;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.archive-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.archive-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange);
}

.archive-card-media {
  width: 100%;
}

.archive-card-body {
  padding: 16px;
}

.archive-card-title {
  font-size: 18px;
  margin-bottom: 6px;
}

.archive-card-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
  margin-bottom: 10px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.tag-item {
  font-size: 12px;
  color: var(--ink-soft);
  background: rgba(91, 118, 148, 0.1);
  border-radius: 12px;
  padding: 2px 10px;
}

.archive-card-status {
  font-size: 13px;
  color: var(--text-soft);
}

/* 时间节点分区 */
.timeline-section {
  margin-bottom: 48px;
}

.timeline-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.timeline-item {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-left: 4px solid var(--ink);
  border-radius: var(--radius-md);
  padding: 20px;
}

.timeline-period {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 6px;
}

.timeline-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
}

/* 下一站 */
.next-stop {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line-soft);
}

/* ==========================================================================
  Pages — 类型索引 /mmmh/styles.html
  ========================================================================== */

.map-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 48px;
}

.map-figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.map-copy p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-soft);
  margin-bottom: 10px;
}

.map-copy .section-title {
  margin-bottom: 12px;
}

/* 题材色标分区卡 */
.styles-colorwall {
  margin-bottom: 48px;
}

.section-heading {
  margin-bottom: 24px;
}

.style-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.style-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.style-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.style-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-soft);
}

.style-card-hotblood .style-card-head {
  background: rgba(232, 106, 51, 0.1);
}

.style-card-suspense .style-card-head {
  background: rgba(39, 75, 109, 0.08);
}

.style-card-daily .style-card-head {
  background: rgba(241, 178, 74, 0.14);
}

.style-card-romance .style-card-head {
  background: rgba(232, 106, 51, 0.07);
}

.style-card-fantasy .style-card-head {
  background: rgba(61, 123, 116, 0.1);
}

.style-card-sci-fi .style-card-head {
  background: rgba(39, 75, 109, 0.12);
}

.style-card-slice .style-card-head {
  background: rgba(241, 178, 74, 0.1);
}

.style-card-horror .style-card-head {
  background: rgba(39, 75, 109, 0.15);
}

.style-name {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.style-tag {
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 12px;
  background: var(--white);
  color: var(--ink-soft);
  white-space: nowrap;
}

.style-card .style-eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  padding: 12px 16px 0;
}

.style-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
  padding: 0 16px 8px;
}

.style-desc:last-child {
  padding-bottom: 16px;
}

/* 分区推荐阅读线路 */
.styles-routes {
  margin-bottom: 48px;
}

.route-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.route-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  transition: box-shadow var(--transition);
}

.route-item:hover {
  box-shadow: var(--shadow-sm);
}

.route-index {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  border-radius: var(--radius-sm);
}

.route-item:nth-child(1) .route-index {
  background: var(--orange);
}

.route-item:nth-child(2) .route-index {
  background: var(--green);
}

.route-item:nth-child(3) .route-index {
  background: var(--ink);
}

.route-content {
  flex: 1;
}

.route-title {
  font-size: 18px;
  margin-bottom: 4px;
}

.route-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
  margin-bottom: 8px;
}

.route-link a {
  font-size: 14px;
  font-weight: 500;
  color: var(--orange);
}

.route-link a:hover {
  color: var(--orange-deep);
}

/* 类型索引相关入口 */
.styles-next {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.next-block {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.next-block:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange);
}

.next-title {
  font-family: var(--font-title);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.next-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
  margin-bottom: 10px;
}

.next-block a {
  font-size: 14px;
  font-weight: 500;
  color: var(--orange);
}

/* ==========================================================================
  Pages — 专题研究 /mmmh/features.html
  ========================================================================== */

.features-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 48px;
}

.features-intro-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.features-intro-content p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-soft);
  margin-bottom: 10px;
}

.features-intro-content .section-title {
  margin-bottom: 12px;
}

/* 专题路线分组 */
.feature-routes {
  margin-bottom: 48px;
}

.route-group {
  margin-bottom: 28px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.route-group-title {
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 4px;
  position: relative;
  padding-left: 16px;
}

.route-group-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  bottom: 0.2em;
  width: 4px;
  background: var(--orange);
  border-radius: 2px;
}

.route-group-desc {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 16px;
}

.route-card-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.route-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 18px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.route-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--orange);
}

.route-card-kicker {
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.route-card-title {
  font-family: var(--font-title);
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.5;
}

.route-card-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
  margin-bottom: 10px;
}

.route-card-more a {
  font-size: 14px;
  font-weight: 500;
  color: var(--orange);
}

/* 时间节点线 */
.feature-timeline {
  margin-bottom: 48px;
}

.feature-timeline .timeline-list {
  grid-template-columns: repeat(4, 1fr);
}

.feature-timeline .timeline-item {
  border-left-color: var(--orange);
}

.timeline-title {
  font-size: 17px;
  margin-bottom: 6px;
}

.timeline-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
}

/* 专题出口 */
.features-exit {
  margin-bottom: 0;
}

.exit-link-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.exit-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.exit-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange);
}

.exit-link-title {
  font-family: var(--font-title);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
}

.exit-link-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
}

/* ==========================================================================
  Pages — 阅读手册 /mmmh/glossary.html
  ========================================================================== */

.manual-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 40px;
}

.manual-visual-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.manual-visual-text p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-soft);
  margin-bottom: 10px;
}

.manual-visual-text .section-title {
  margin-bottom: 12px;
}

/* 状态词表 */
.status-lexicon {
  margin-bottom: 40px;
}

.status-lexicon .status-list {
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.status-lexicon .status-item {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.status-term {
  font-family: var(--font-title);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

.status-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-soft);
}

/* FAQ 手风琴 */
.faq-section {
  margin-bottom: 48px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item[open] {
  border-color: var(--orange);
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 48px;
  line-height: 1.6;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 20px;
  font-size: 22px;
  font-weight: 400;
  color: var(--orange);
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-question:hover {
  color: var(--orange);
}

.faq-answer {
  padding: 0 20px 18px;
  border-top: 1px dashed var(--line-soft);
  margin: 0 0 0 0;
}

.faq-answer p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-soft);
  padding-top: 14px;
}

/* 新手补漫路径 */
.reading-path {
  margin-bottom: 48px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.path-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.path-step {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 18px;
}

.path-step-num {
  font-family: var(--font-title);
  font-size: 26px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1.2;
  margin-bottom: 8px;
}

.path-step-title {
  font-size: 16px;
  margin-bottom: 6px;
}

.path-step-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
}

.path-note {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.8;
  padding-top: 16px;
  border-top: 1px dashed var(--line-soft);
}

.path-note a {
  color: var(--orange);
  font-weight: 500;
}

/* 下一站阅读出口 */
.next-stops {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.next-stop-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.next-stop-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange);
}

.next-stop-title {
  font-size: 19px;
  margin-bottom: 6px;
}

.next-stop-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
  margin-bottom: 12px;
}

.next-stop-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--orange);
}

/* ==========================================================================
  Pages — 资料与反馈 /mmmh/notice.html
  ========================================================================== */

.chapter-nav {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 32px;
}

.chapter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.chapter-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}

.chapter-link:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.notice-figure {
  margin-bottom: 40px;
}

.notice-image {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.notice-caption {
  font-size: 13px;
  color: var(--text-soft);
  padding: 10px 4px 0;
  line-height: 1.6;
}

.content-section {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  margin-bottom: 24px;
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.content-section .section-title {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--yellow);
}

.content-section .section-intro {
  margin-bottom: 20px;
}

.principle-list {
  counter-reset: principle;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.principle-item {
  position: relative;
  padding: 14px 18px 14px 56px;
  background: var(--paper);
  border-radius: var(--radius-sm);
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-main);
}

.principle-item::before {
  counter-increment: principle;
  content: "0" counter(principle);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  color: var(--orange);
}

.section-note {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 12px;
}

.media-note-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 12px;
}

.media-note-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 18px;
}

.card-heading {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--ink);
}

.card-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
}

.statement-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.statement-item {
  position: relative;
  padding: 12px 16px 12px 44px;
  background: var(--paper);
  border-radius: var(--radius-sm);
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-main);
}

.statement-item::before {
  content: "•";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--green);
  font-size: 20px;
}

.feedback-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}

.feedback-step {
  background: var(--paper);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}

.step-heading {
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 6px;
}

.step-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-soft);
}

.inline-link-wrap {
  display: inline;
}

.inline-link {
  color: var(--orange);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.inline-link:hover {
  color: var(--orange-deep);
}

/* 相关页面 */
.related-links {
  margin-top: 32px;
}

.related-heading {
  font-family: var(--font-title);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 16px;
}

.related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.related-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.related-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange);
}

.related-name {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

.related-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
}

/* ==========================================================================
  Pages — 404
  ========================================================================== */

.error-main {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-panel {
  max-width: 560px;
  text-align: left;
  padding: 48px 0;
}

.error-code {
  font-family: var(--font-title);
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  color: var(--orange);
  margin-bottom: 8px;
}

.error-title {
  font-size: 28px;
  margin-bottom: 16px;
}

.error-desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-soft);
  margin-bottom: 24px;
}

.error-action {
  margin-bottom: 20px;
}

.error-link {
  display: inline-block;
  padding: 12px 32px;
  background: var(--orange);
  color: var(--white);
  border-radius: 24px;
  font-size: 16px;
  font-weight: 500;
  transition: background var(--transition);
}

.error-link:hover {
  background: var(--orange-deep);
  color: var(--white);
}

.error-help {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ==========================================================================
  Responsive — 响应式断点
  ========================================================================== */

/* 桌面小屏 / 平板横屏 */
@media (max-width: 1024px) {
  .archive-card-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .landmark-wall {
    grid-template-columns: repeat(3, 1fr);
  }

  .style-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .status-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .status-lexicon .status-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .path-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-timeline .timeline-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 移动端断点 900px */
@media (max-width: 900px) {
  .header-inner {
    padding: 0 20px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line-soft);
    padding: 12px 20px 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    box-shadow: var(--shadow-md);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-link {
    padding: 12px 14px;
    font-size: 16px;
    border-radius: var(--radius-sm);
  }

  .site-main {
    padding: 0 20px;
  }

  .inner-main {
    padding-top: 28px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    padding: 40px 20px 24px;
    gap: 32px;
  }

  .footer-about {
    grid-column: 1 / -1;
  }

  .footer-copy {
    grid-column: 1 / -1;
  }

  /* 首页首屏 */
  .reading-desk {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .recent-side {
    order: 2;
  }

  .desk-cover {
    order: 0;
  }

  .route-blocks {
    order: 1;
  }

  .home-title {
    font-size: 32px;
  }

  /* 档案页 */
  .archive-guide {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline-list {
    grid-template-columns: 1fr;
  }

  /* 类型索引页 */
  .map-intro {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .style-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .styles-next {
    grid-template-columns: 1fr;
  }

  /* 专题研究页 */
  .features-intro {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .route-card-list {
    grid-template-columns: 1fr;
  }

  .exit-link-row {
    grid-template-columns: 1fr;
  }

  /* 阅读手册 */
  .manual-visual {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .status-lexicon .status-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .path-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .next-stops {
    grid-template-columns: 1fr;
  }

  /* 资料页 */
  .media-note-grid {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .station-inner {
    grid-template-columns: 1fr;
    padding: 28px;
  }
}

/* 移动端断点 640px */
@media (max-width: 640px) {
  .header-inner {
    height: auto;
    min-height: var(--header-height);
    padding: 10px 16px;
    flex-wrap: wrap;
  }

  .site-brand {
    font-size: 21px;
  }

  .site-main {
    padding: 0 16px;
  }

  .inner-main {
    padding-top: 24px;
  }

  .page-title {
    font-size: 26px;
  }

  .section-title {
    font-size: 21px;
  }

  .home-title {
    font-size: 27px;
  }

  .home-hero {
    padding-top: 28px;
  }

  /* 首页模块 */
  .landmark-wall {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .landmark-link {
    padding: 14px 12px;
  }

  .archive-card-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .rank-item {
    flex-direction: column;
    gap: 8px;
    padding: 14px 16px;
  }

  .rank-num {
    width: 32px;
    height: 32px;
    font-size: 15px;
  }

  .feature-card {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .feature-card.feature-reverse .feature-media {
    order: 0;
  }

  .feature-text {
    padding: 20px !important;
  }

  .station-inner {
    padding: 24px 20px;
  }

  /* 档案页 */
  .archive-guide {
    padding: 16px;
  }

  .archive-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .status-list {
    grid-template-columns: 1fr;
  }

  .status-lexicon .status-list {
    grid-template-columns: 1fr;
  }

  .next-stop-links {
    grid-template-columns: 1fr;
  }

  /* 类型索引 */
  .map-intro {
    padding: 16px;
  }

  .style-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .route-item {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }

  /* 专题研究 */
  .features-intro {
    padding: 16px;
  }

  .route-group {
    padding: 16px;
  }

  .feature-timeline .timeline-list {
    grid-template-columns: 1fr;
  }

  /* 阅读手册 */
  .manual-visual {
    padding: 16px;
  }

  .faq-question {
    padding: 14px 16px;
    padding-right: 44px;
    font-size: 15px;
  }

  .faq-answer {
    padding: 0 16px 16px;
  }

  .path-steps {
    grid-template-columns: 1fr;
  }

  .reading-path {
    padding: 20px 16px;
  }

  /* 资料页 */
  .content-section {
    padding: 20px 16px;
  }

  .chapter-list {
    flex-direction: column;
    gap: 4px;
  }

  .chapter-link {
    display: block;
    padding: 6px 0;
  }

  .principle-item {
    padding: 12px 14px 12px 48px;
  }

  .principle-item::before {
    left: 12px;
  }

  .statement-item {
    padding: 10px 12px 10px 40px;
  }

  .statement-item::before {
    left: 16px;
  }

  .feedback-step {
    padding: 14px 16px;
  }

  /* 页脚 */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 36px 16px 20px;
  }

  .footer-about {
    grid-column: auto;
  }

  .footer-copy {
    grid-column: auto;
  }

  .error-code {
    font-size: 56px;
  }

  .error-title {
    font-size: 24px;
  }
}

/* 极窄屏 390px 兜底 */
@media (max-width: 390px) {
  .archive-card-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .landmark-wall {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .route-blocks {
    grid-template-columns: 1fr;
  }

  .card-title {
    font-size: 14px;
    padding: 8px 8px 2px;
  }

  .card-desc {
    font-size: 12px;
    padding: 0 8px 8px;
  }
}
