/* ==========================================================================
   西瓜漫画 · 整站样式表
   视觉方向：年度报告式内容站 · 纸张底 · 章节编号 · 硬朗网格
   ========================================================================== */

/* --------------------------------------------------------------------------
   Base · 变量、重置、全局基础
   -------------------------------------------------------------------------- */
:root {
  --paper: #F8F3EB;
  --night: #271C1A;
  --ink: #332825;
  --brand: #E6533A;
  --peel: #FFD8B8;
  --line: #DDCEC2;
  --muted: #7B6E67;
  --white: #FFFFFF;
  --serif: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --container: 1240px;
  --radius: 6px;
  --header-h: 72px;
  --transition: 0.25s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background-color: var(--paper);
  color: var(--ink);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--ink);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--brand);
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  line-height: 1.35;
  font-weight: 700;
  color: var(--night);
}

/* 辅助隐藏：仅用于视觉隐藏但仍可被读屏读取 */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   Layout · 全站共享布局骨架
   -------------------------------------------------------------------------- */
.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-shell {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand-area {
  flex-shrink: 0;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: 0.02em;
}

.brand-slogan {
  font-size: 0.75rem;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--ink);
  cursor: pointer;
  min-height: 44px;
  background-color: var(--white);
}

.nav-toggle:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.nav-toggle-icon {
  display: block;
  width: 16px;
  height: 2px;
  background-color: currentColor;
  position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background-color: currentColor;
}

.nav-toggle-icon::before {
  top: -6px;
}

.nav-toggle-icon::after {
  top: 6px;
}

.nav-toggle-text {
  font-size: 0.85rem;
}

.nav-list {
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav-list li a {
  display: block;
  padding: 8px 14px;
  font-size: 0.92rem;
  color: var(--ink);
  border-radius: var(--radius);
  border: 1px solid transparent;
}

.nav-list li a:hover {
  color: var(--brand);
  border-color: var(--line);
}

.nav-list li a.is-current {
  color: var(--brand);
  font-weight: 700;
  border-color: var(--brand);
  background-color: rgba(230, 83, 58, 0.06);
}

/* 主内容区 */
.site-main {
  flex: 1 0 auto;
}

.inner-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 32px 24px 72px;
  width: 100%;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--brand);
}

.breadcrumb-sep {
  color: var(--line);
}

.breadcrumb-current {
  color: var(--ink);
  font-weight: 600;
}

/* 页面标题区（所有内页统一） */
.page-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 3px solid var(--night);
  position: relative;
}

.page-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 72px;
  height: 3px;
  background-color: var(--brand);
}

.page-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--night);
  margin-bottom: 12px;
}

.page-description {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 720px;
  line-height: 1.8;
}

/* 页脚 */
.site-footer {
  background-color: var(--night);
  color: #C4B8B0;
  margin-top: auto;
}

.footer-shell {
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px 24px 32px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 0.8fr;
  gap: 40px;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background-color: var(--brand);
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #C4B8B0;
  font-size: 0.9rem;
  display: inline-block;
  padding: 2px 0;
}

.footer-col ul li a:hover {
  color: var(--peel);
}

.footer-cite p {
  font-size: 0.88rem;
  color: #A89A91;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: #8E8077;
}

/* --------------------------------------------------------------------------
   Components · 通用组件
   -------------------------------------------------------------------------- */

/* 章节编号标题（01、02 年报式节奏） */
.section-index,
.chapter-no,
.group-index,
.section-index {
  display: inline-block;
  font-family: var(--serif);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

/* 首页主按钮 */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  min-height: 44px;
  line-height: 1.4;
  transition: all var(--transition);
}

.btn-primary {
  background-color: var(--brand);
  color: var(--white);
  border: 2px solid var(--brand);
}

.btn-primary:hover {
  background-color: #C9402B;
  border-color: #C9402B;
  color: var(--white);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
}

.btn-secondary:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
}

/* 正文链接 */
.text-link {
  display: inline-block;
  color: var(--brand);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 4px 0;
}

.text-link:hover {
  text-decoration: underline;
}

/* 状态点 */
.status-dot,
.key-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot {
  background-color: var(--brand);
}

/* 更新状态颜色 */
.status-done .timeline-marker {
  background-color: var(--brand);
}

.status-progress .timeline-marker {
  background-color: #E8993D;
}

.status-todo .timeline-marker {
  background-color: var(--line);
}

.dot-done {
  background-color: var(--brand);
}

.dot-progress {
  background-color: #E8993D;
}

.dot-todo {
  background-color: var(--line);
}

/* 表格 */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

th,
td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  background-color: rgba(221, 206, 194, 0.35);
  font-weight: 700;
  color: var(--night);
  font-size: 0.9rem;
}

tr:last-child td {
  border-bottom: none;
}

/* 图片容器 */
figure {
  margin: 0;
}

/* --------------------------------------------------------------------------
   Pages · 首页
   -------------------------------------------------------------------------- */
.home-main {
  width: 100%;
}

/* Hero 区 */
.hero-cover {
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px 24px 48px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero-copy {
  padding-right: 16px;
}

.hero-kicker {
  display: inline-block;
  font-family: var(--serif);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--brand);
  text-transform: uppercase;
  border: 1px solid var(--brand);
  border-radius: 999px;
  padding: 4px 16px;
  margin-bottom: 24px;
}

.hero-copy h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
  color: var(--night);
}

.hero-description {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero 视觉区：右侧翻页封面组合 */
.hero-visual {
  position: relative;
  min-height: 420px;
}

.hero-figure {
  position: relative;
  height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(39, 28, 26, 0.12);
}

.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 三张竖卡封面叠层 */
.mini-cover-stack {
  position: absolute;
  bottom: -28px;
  right: -16px;
  display: flex;
  gap: 12px;
  z-index: 2;
}

.mini-cover-stack img {
  width: 96px;
  height: 136px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 3px solid var(--paper);
  box-shadow: 0 8px 20px rgba(39, 28, 26, 0.18);
  transition: transform var(--transition);
}

.mini-cover-stack img:nth-child(2) {
  transform: translateY(12px);
}

.mini-cover-stack img:nth-child(3) {
  transform: translateY(24px);
}

.mini-cover-stack img:hover {
  transform: translateY(-4px);
}

/* 快速索引条 */
.quick-index-bar {
  background-color: var(--night);
  color: var(--white);
}

.index-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.index-inner p {
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.index-inner p a {
  color: var(--peel);
  font-weight: 600;
}

.index-inner p a:hover {
  color: var(--white);
}

.index-inner p span {
  color: #8E8077;
}

/* 首页主体布局：左侧主内容 + 右侧栏 */
.home-layout {
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px 24px 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 56px;
}

.content-primary {
  min-width: 0;
}

/* 首页 01 题材入口 */
.section-01-genre-entry,
.section-02-handlist {
  margin-bottom: 64px;
}

.section-intro {
  font-size: 0.98rem;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 620px;
}

.genre-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.genre-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.genre-card:hover {
  box-shadow: 0 8px 24px rgba(39, 28, 26, 0.08);
  transform: translateY(-3px);
}

.genre-media {
  height: 140px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
  background-color: var(--peel);
}

.genre-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.genre-card h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
  color: var(--night);
}

.genre-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.section-more {
  margin-top: 24px;
}

/* 首页 02 追更手记摘要 */
.handlist-items {
  border-top: 2px solid var(--night);
}

.handlist-item {
  display: flex;
  gap: 20px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
  transition: background-color var(--transition);
}

.handlist-item:hover {
  background-color: rgba(255, 216, 184, 0.25);
}

.handlist-no {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brand);
  flex-shrink: 0;
  min-width: 44px;
}

.handlist-content h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.handlist-content p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* 首页右侧栏 */
.sidebar {
  min-width: 0;
}

.sidebar-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-card h2 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.sidebar-card h2::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 18px;
  background-color: var(--brand);
  margin-right: 10px;
  vertical-align: -3px;
  border-radius: 2px;
}

.update-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--night);
  margin-bottom: 12px;
}

.update-text {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.sidebar-link {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand);
}

.sidebar-link:hover {
  text-decoration: underline;
}

.field-list .field-item {
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}

.field-list .field-item:last-child {
  border-bottom: none;
}

.field-item dt {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--night);
  margin-bottom: 2px;
}

.field-item dd {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.6;
}

/* 年报页码感 */
.page-count {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 4px;
  font-family: var(--serif);
  color: var(--line);
}

.page-no {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--night);
}

.page-divider {
  font-size: 1.2rem;
}

.page-total {
  font-size: 1.2rem;
}

/* 首页 03 内容沟通入口 */
.section-03-communication {
  background-color: var(--night);
  padding: 64px 24px;
}

.section-03-communication .section-index {
  color: var(--peel);
}

.section-03-communication h2 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.section-03-communication .section-intro {
  color: #A89A91;
  max-width: 640px;
}

.path-cards {
  max-width: var(--container);
  margin: 32px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.path-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 28px;
  display: block;
  transition: background-color var(--transition), border-color var(--transition);
}

.path-card:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--brand);
}

.path-no {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 12px;
}

.path-card h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.path-card p {
  color: #A89A91;
  font-size: 0.9rem;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Pages · 题材地图（genres）
   -------------------------------------------------------------------------- */
.genres-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: start;
}

.article-map {
  min-width: 0;
}

.section-heading {
  margin-bottom: 20px;
}

.section-heading h2 {
  font-size: 1.6rem;
  color: var(--night);
}

.coordinate-block {
  margin-bottom: 56px;
}

.coordinate-block > p {
  color: var(--muted);
  margin-bottom: 24px;
  max-width: 680px;
}

.coordinate-pair {
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  gap: 16px;
  align-items: stretch;
}

.coordinate-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.coordinate-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.coordinate-card p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 12px;
}

.coordinate-tag {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--brand);
  background-color: rgba(230, 83, 58, 0.08);
  padding: 4px 14px;
  border-radius: 999px;
  font-weight: 600;
}

.coordinate-line {
  display: flex;
  align-items: center;
  justify-content: center;
}

.coordinate-line span {
  display: block;
  width: 2px;
  height: 100%;
  min-height: 80px;
  background: repeating-linear-gradient(
    to bottom,
    var(--brand) 0,
    var(--brand) 4px,
    transparent 4px,
    transparent 8px
  );
}

/* 题材大分区 */
.theme-zone {
  margin-bottom: 56px;
}

.theme-zone > p {
  color: var(--muted);
  margin-bottom: 24px;
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.theme-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.theme-card:hover {
  box-shadow: 0 8px 24px rgba(39, 28, 26, 0.08);
  transform: translateY(-3px);
}

.theme-media {
  height: 180px;
  overflow: hidden;
  background-color: var(--peel);
}

.theme-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.theme-content {
  padding: 20px;
}

.theme-content h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.theme-content p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* 路径说明 */
.path-note {
  background-color: rgba(255, 216, 184, 0.3);
  border-left: 4px solid var(--brand);
  padding: 28px;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.path-note p {
  color: var(--ink);
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.path-links {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.path-links a {
  display: inline-block;
  padding: 8px 20px;
  border: 2px solid var(--brand);
  color: var(--brand);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius);
}

.path-links a:hover {
  background-color: var(--brand);
  color: var(--white);
}

/* 题材地图侧栏 */
.aside-quick-lookup {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.quick-panel {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}

.quick-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--night);
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.quick-links li {
  margin-bottom: 4px;
}

.quick-links li a {
  display: block;
  padding: 8px 10px;
  font-size: 0.9rem;
  border-radius: var(--radius);
  color: var(--ink);
}

.quick-links li a:hover {
  background-color: rgba(230, 83, 58, 0.06);
  color: var(--brand);
}

.quick-tip {
  background-color: var(--peel);
  border-radius: var(--radius);
  padding: 20px;
}

.quick-tip .quick-title {
  border-bottom-color: rgba(39, 28, 26, 0.15);
}

.quick-tip p:last-child {
  font-size: 0.86rem;
  color: var(--ink);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Pages · 追更手记（weekly）
   -------------------------------------------------------------------------- */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: start;
}

.main-col {
  min-width: 0;
}

/* 首屏大图卡 */
.article-card {
  margin-bottom: 48px;
}

.article-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 24px;
}

.media-figure {
  position: relative;
}

.media-figure img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.media-figure figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(39, 28, 26, 0.85), transparent);
  color: var(--paper);
  padding: 40px 20px 12px;
  font-size: 0.82rem;
}

.article-content {
  padding: 0 4px;
}

.section-tag {
  display: inline-block;
  font-family: var(--serif);
  font-size: 0.85rem;
  color: var(--brand);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  font-weight: 700;
}

.article-content h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.article-content p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 12px;
}

/* 手记条目 */
.entry-list {
  margin-bottom: 48px;
}

.entry-list > h2 {
  font-size: 1.4rem;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--night);
}

.entry-item {
  display: flex;
  gap: 24px;
  padding: 24px 4px;
  border-bottom: 1px solid var(--line);
}

.entry-index {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brand);
  flex-shrink: 0;
  min-width: 48px;
  line-height: 1.2;
}

.entry-body h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.entry-body p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 8px;
}

.entry-link {
  font-size: 0.88rem !important;
  color: var(--brand) !important;
  font-weight: 600;
}

/* 返回地图 */
.back-to-map {
  background-color: var(--night);
  border-radius: var(--radius);
  padding: 32px;
  color: var(--white);
}

.back-to-map h2 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.back-to-map p {
  color: #A89A91;
  font-size: 0.92rem;
  margin-bottom: 8px;
}

.back-link-wrap {
  margin-top: 20px;
}

.back-link {
  display: inline-block;
  padding: 10px 28px;
  background-color: var(--brand);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.92rem;
}

.back-link:hover {
  background-color: #C9402B;
  color: var(--white);
}

/* 追更手记侧栏 */
.aside-col {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.rhythm-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}

.aside-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--night);
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.rhythm-item {
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}

.rhythm-item:last-of-type {
  border-bottom: none;
}

.rhythm-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 4px;
}

.rhythm-desc {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.6;
}

.aside-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.aside-link-card {
  background-color: var(--peel);
  border-radius: var(--radius);
  padding: 24px;
}

.aside-link-card .aside-title {
  border-bottom-color: rgba(39, 28, 26, 0.15);
}

.aside-link-card ul li {
  margin-bottom: 8px;
}

.aside-link-card ul li a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--night);
  display: inline-block;
  padding: 4px 0;
}

.aside-link-card ul li a:hover {
  color: var(--brand);
}

/* --------------------------------------------------------------------------
   Pages · 阅读手册（guide）
   -------------------------------------------------------------------------- */
.layout-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 48px;
  align-items: start;
}

.doc-article {
  min-width: 0;
}

.doc-relations {
  margin-bottom: 40px;
}

.doc-relations > p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.9;
}

.doc-figure {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 20px;
}

.doc-figure img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.doc-figure figcaption {
  background-color: var(--white);
  padding: 10px 16px;
  font-size: 0.82rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

/* 字段速查表 */
.field-table {
  margin-bottom: 48px;
}

.field-table h2 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.field-table > p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.table-wrap {
  overflow-x: auto;
}

/* 浏览顺序 */
.order-panel {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.order-panel h2 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.order-panel > p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.order-list {
  counter-reset: order-counter;
}

.order-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}

.order-list li:last-child {
  border-bottom: none;
}

.order-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--night);
  color: var(--white);
  font-family: var(--serif);
  font-size: 0.9rem;
  font-weight: 700;
  flex-shrink: 0;
}

.order-content {
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.7;
}

.order-content strong {
  color: var(--night);
}

.order-panel > p:last-child {
  margin-top: 16px;
  margin-bottom: 0;
}

.order-panel > p a {
  color: var(--brand);
  font-weight: 600;
}

/* 阅读手册侧栏小贴士 */
.aside-tip-box {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background-color: var(--peel);
  border-radius: var(--radius);
  padding: 24px;
}

.aside-tip-box h2 {
  font-size: 1rem;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(39, 28, 26, 0.15);
}

.aside-tip-box p {
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.8;
  margin-bottom: 8px;
}

/* --------------------------------------------------------------------------
   Pages · 更新纪要（log）
   -------------------------------------------------------------------------- */
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: start;
}

.log-article {
  min-width: 0;
}

.section-title {
  font-size: 1.35rem;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--night);
  position: relative;
}

.progress-overview {
  margin-bottom: 48px;
}

.progress-overview > p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.progress-figure {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.progress-figure img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.progress-figure figcaption {
  background-color: var(--white);
  padding: 10px 16px;
  font-size: 0.82rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

/* 时间轴 */
.log-timeline {
  margin-bottom: 48px;
}

.timeline-list {
  position: relative;
  padding-left: 32px;
}

.timeline-list::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background-color: var(--line);
}

.timeline-item {
  position: relative;
  padding: 20px 0 20px 24px;
}

.timeline-marker {
  position: absolute;
  left: -32px;
  top: 28px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--line);
  border: 4px solid var(--paper);
  box-shadow: 0 0 0 2px var(--line);
}

.status-done .timeline-marker {
  background-color: var(--brand);
  box-shadow: 0 0 0 2px var(--brand);
}

.status-progress .timeline-marker {
  background-color: #E8993D;
  box-shadow: 0 0 0 2px #E8993D;
}

.status-todo .timeline-marker {
  background-color: var(--line);
  box-shadow: 0 0 0 2px var(--line);
}

.timeline-content h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.timeline-content p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.8;
}

/* 已完成列表 */
.done-list {
  margin-bottom: 48px;
}

.done-items li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.done-items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 12px;
  height: 6px;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}

/* 后续备忘 */
.future-note {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
}

.future-note .section-title {
  border-bottom-color: var(--line);
}

.future-list li {
  position: relative;
  padding: 8px 0 8px 24px;
  font-size: 0.92rem;
  color: var(--ink);
}

.future-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}

.note-meta {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}

/* 更新纪要侧栏 */
.log-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.status-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}

.status-card h2 {
  font-size: 1rem;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.status-key li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  padding: 6px 0;
  color: var(--ink);
}

.key-dot {
  width: 10px;
  height: 10px;
}

.quick-links h2 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.quick-links ul li {
  margin-bottom: 6px;
}

.quick-links ul li a {
  font-size: 0.9rem;
  display: inline-block;
  padding: 4px 0;
  color: var(--ink);
}

.quick-links ul li a:hover {
  color: var(--brand);
}

.note-box {
  background-color: var(--peel);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 20px;
}

.note-box h2 {
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.note-box p {
  font-size: 0.85rem;
  color: var(--ink);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Pages · 常见问题（faq）
   -------------------------------------------------------------------------- */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 48px;
  align-items: start;
}

.faq-wrap {
  min-width: 0;
}

.faq-question-group {
  margin-bottom: 40px;
}

.faq-group-title {
  font-size: 1.25rem;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--night);
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.group-index {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--brand);
}

/* 折叠问答 */
.faq-item {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item[open] {
  border-color: var(--brand);
}

.faq-item summary {
  padding: 18px 20px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--night);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--brand);
  font-weight: 400;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:hover {
  color: var(--brand);
}

.faq-answer {
  padding: 0 20px 20px;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.8;
  border-top: 1px dashed var(--line);
  padding-top: 16px;
}

.faq-answer p {
  margin-bottom: 8px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* FAQ 侧栏 */
.aside-answer-index {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.aside-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}

.aside-card .aside-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.answer-index-list {
  counter-reset: idx;
}

.answer-index-list li {
  counter-increment: idx;
  margin-bottom: 6px;
}

.answer-index-list li a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 0.9rem;
  padding: 6px 0;
  color: var(--ink);
}

.answer-index-list li a::before {
  content: "0" counter(idx);
  font-family: var(--serif);
  font-size: 0.82rem;
  color: var(--brand);
  font-weight: 700;
}

.answer-index-list li a:hover {
  color: var(--brand);
}

.aside-tip {
  background-color: var(--peel);
}

.aside-tip .aside-title {
  border-bottom-color: rgba(39, 28, 26, 0.15);
}

.aside-tip p {
  font-size: 0.85rem;
  color: var(--ink);
  line-height: 1.7;
}

.aside-tip p a {
  color: var(--brand);
  font-weight: 600;
}

/* FAQ 页底部图与相关链接 */
.faq-figure {
  margin-top: 48px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.faq-figure img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.faq-figure figcaption {
  background-color: var(--white);
  padding: 10px 16px;
  font-size: 0.82rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.related-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding: 16px 20px;
  background-color: rgba(255, 216, 184, 0.3);
  border-radius: var(--radius);
}

.related-links-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--night);
}

.related-links-item {
  font-size: 0.88rem;
  color: var(--brand);
  font-weight: 600;
  border: 1px solid var(--brand);
  padding: 4px 14px;
  border-radius: 999px;
}

.related-links-item:hover {
  background-color: var(--brand);
  color: var(--white);
}

/* --------------------------------------------------------------------------
   Pages · 内容沟通（contact）
   -------------------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 48px;
  align-items: start;
}

.contact-main {
  min-width: 0;
}

.contact-path {
  margin-bottom: 48px;
}

.contact-path .section-description,
.subject-cards .section-description,
.flow-strip .section-description {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 20px;
  max-width: 680px;
}

.contact-path-figure {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.contact-path-figure img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.contact-path-figure figcaption {
  background-color: var(--white);
  padding: 10px 16px;
  font-size: 0.82rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

/* 反馈主题卡 */
.subject-cards {
  margin-bottom: 48px;
}

.subject-card-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.subject-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.subject-card:hover {
  box-shadow: 0 8px 24px rgba(39, 28, 26, 0.08);
  transform: translateY(-3px);
}

.subject-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  position: relative;
  padding-left: 16px;
}

.subject-card h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 4px;
  height: 16px;
  background-color: var(--brand);
  border-radius: 2px;
}

.subject-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}

/* 处理流程 */
.flow-strip {
  margin-bottom: 48px;
}

.flow-step-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.flow-step {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
}

.flow-step::after {
  content: "→";
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand);
  font-size: 1.1rem;
  font-weight: 700;
  z-index: 2;
}

.flow-step:last-child::after {
  display: none;
}

.step-number {
  display: inline-block;
  font-family: var(--serif);
  font-size: 0.85rem;
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 8px;
}

.flow-step h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.flow-step p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

.flow-note {
  margin-top: 20px;
  font-size: 0.88rem;
  color: var(--muted);
}

.flow-note a {
  color: var(--brand);
  font-weight: 600;
}

/* 边界说明 */
.boundary-note {
  margin-bottom: 48px;
}

.boundary-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
  padding: 28px;
}

.boundary-card h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.boundary-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.boundary-card h3:last-of-type {
  margin-top: 8px;
}

/* 站内跳转链接 */
.contact-int-links {
  margin-top: 40px;
}

.int-link-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.int-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background-color: var(--night);
  color: var(--white);
  border-radius: var(--radius);
  transition: background-color var(--transition);
}

.int-link:hover {
  background-color: var(--brand);
  color: var(--white);
}

.int-link-text {
  font-weight: 600;
  font-size: 0.92rem;
}

.int-link-target {
  font-family: var(--serif);
  font-size: 0.85rem;
  color: var(--peel);
}

/* 内容沟通侧栏 */
.contact-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.aside-sticky {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.contact-aside .aside-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--night);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.aside-index-list li {
  margin-bottom: 4px;
}

.aside-index-list li a {
  display: block;
  padding: 8px 10px;
  font-size: 0.9rem;
  border-radius: var(--radius);
  color: var(--ink);
}

.aside-index-list li a:hover {
  background-color: rgba(230, 83, 58, 0.06);
  color: var(--brand);
}

.contact-aside .aside-tip {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Pages · 404
   -------------------------------------------------------------------------- */
.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  min-height: 60vh;
}

.error-panel {
  text-align: center;
  max-width: 560px;
}

.error-code {
  font-family: var(--serif);
  font-size: 5rem;
  font-weight: 700;
  color: var(--brand);
  line-height: 1.1;
  margin-bottom: 16px;
}

.error-panel h1 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.error-desc {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.8;
}

.btn-back {
  display: inline-block;
  padding: 12px 32px;
  background-color: var(--brand);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 600;
  min-height: 44px;
  line-height: 1.4;
}

.btn-back:hover {
  background-color: #C9402B;
  color: var(--white);
  transform: translateY(-2px);
}

.error-suggest {
  margin-top: 48px;
  text-align: center;
  font-size: 0.92rem;
  color: var(--muted);
}

.error-suggest a {
  color: var(--brand);
  font-weight: 600;
  margin: 0 8px;
}

/* --------------------------------------------------------------------------
   Responsive · 响应式断点
   -------------------------------------------------------------------------- */

/* ≤ 1024px：主栏与侧栏合并 */
@media (max-width: 1024px) {
  .home-layout,
  .genres-layout,
  .page-layout,
  .layout-shell,
  .content-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* 侧栏从 sticky 变为普通流 */
  .sidebar,
  .aside-quick-lookup,
  .aside-col,
  .aside-tip-box,
  .log-sidebar,
  .aside-answer-index,
  .contact-aside {
    position: static;
  }

  /* 侧栏内容在移动端变成两列 */
  .sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .sidebar .page-count {
    grid-column: 1 / -1;
  }

  /* 题材地图侧栏快捷面板横向排布 */
  .aside-quick-lookup {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .aside-quick-lookup .quick-panel {
    margin-bottom: 0;
  }

  /* FAQ 侧栏 */
  .aside-answer-index {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  /* 联系侧栏 */
  .contact-aside .aside-sticky {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
  }

  .contact-aside .aside-tip {
    grid-column: 1 / -1;
  }

  /* 页脚改为两列 */
  .footer-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
}

/* ≤ 768px：导航收起为汉堡，手机布局 */
@media (max-width: 768px) {
  :root {
    --header-h: 60px;
  }

  .header-shell {
    height: var(--header-h);
    padding: 0 16px;
    gap: 16px;
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .brand-slogan {
    display: none;
  }

  /* 汉堡按钮显示 */
  .nav-toggle {
    display: inline-flex;
  }

  /* 导航列表默认收起 */
  .nav-list {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background-color: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 16px;
    box-shadow: 0 12px 24px rgba(39, 28, 26, 0.1);
    z-index: 99;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li a {
    padding: 12px 16px;
    font-size: 0.95rem;
    border-radius: var(--radius);
  }

  /* 主内容边距 */
  .inner-main {
    padding: 20px 16px 56px;
  }

  .page-header {
    margin-bottom: 28px;
  }

  .page-title {
    font-size: 1.7rem;
  }

  /* Hero 改为单列 */
  .hero-cover {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 32px 16px 40px;
  }

  .hero-copy {
    padding-right: 0;
  }

  .hero-copy h1 {
    font-size: 2rem;
  }

  .hero-visual {
    min-height: 0;
  }

  .hero-figure {
    height: 240px;
  }

  .mini-cover-stack {
    position: static;
    margin-top: 16px;
    justify-content: center;
  }

  .mini-cover-stack img {
    width: 88px;
    height: 124px;
  }

  .mini-cover-stack img:nth-child(2),
  .mini-cover-stack img:nth-child(3) {
    transform: translateY(0);
  }

  /* 快速索引 */
  .index-inner {
    padding: 16px;
    gap: 12px;
    flex-direction: column;
    align-items: flex-start;
  }

  /* 首页布局 */
  .home-layout {
    padding: 32px 16px 56px;
    gap: 32px;
  }

  .genre-card-grid {
    grid-template-columns: 1fr;
  }

  .handlist-item {
    flex-direction: column;
    gap: 8px;
  }

  .handlist-no {
    font-size: 1.1rem;
  }

  /* 侧栏单列 */
  .sidebar {
    grid-template-columns: 1fr;
  }

  /* 通信入口 */
  .section-03-communication {
    padding: 40px 16px;
  }

  .path-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* 题材地图 */
  .coordinate-pair {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .coordinate-line {
    display: none;
  }

  .theme-grid {
    grid-template-columns: 1fr;
  }

  .theme-media {
    height: 160px;
  }

  .aside-quick-lookup {
    grid-template-columns: 1fr;
  }

  /* 追更手记 */
  .article-media img {
    height: 200px;
  }

  .entry-item {
    flex-direction: column;
    gap: 8px;
    padding: 16px 0;
  }

  .entry-index {
    font-size: 1.2rem;
  }

  .aside-col {
    display: grid;
    grid-template-columns: 1fr;
  }

  /* 阅读手册 */
  .doc-figure img {
    height: 160px;
  }

  .order-list li {
    flex-direction: column;
    gap: 8px;
  }

  .aside-tip-box {
    position: static;
  }

  /* 更新纪要 */
  .progress-figure img {
    height: 160px;
  }

  .timeline-list {
    padding-left: 24px;
  }

  .timeline-item {
    padding-left: 16px;
  }

  .timeline-marker {
    left: -24px;
  }

  .content-layout {
    gap: 24px;
  }

  .log-sidebar {
    display: grid;
    grid-template-columns: 1fr;
  }

  .status-card,
  .quick-links {
    margin-bottom: 0;
  }

  /* FAQ */
  .faq-item summary {
    font-size: 0.95rem;
    padding: 14px 16px;
  }

  .faq-answer {
    padding: 12px 16px 16px;
  }

  .aside-answer-index {
    grid-template-columns: 1fr;
  }

  .faq-figure img {
    height: 140px;
  }

  .related-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  /* 内容沟通 */
  .subject-card-list {
    grid-template-columns: 1fr;
  }

  .flow-step-list {
    grid-template-columns: 1fr;
  }

  .flow-step::after {
    content: "↓";
    right: auto;
    left: 50%;
    top: auto;
    bottom: -14px;
    transform: translateX(-50%);
  }

  .int-link-list {
    grid-template-columns: 1fr;
  }

  .contact-aside .aside-sticky {
    grid-template-columns: 1fr;
  }

  .contact-aside .aside-tip {
    grid-column: auto;
  }

  /* 页脚单列 */
  .footer-shell {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 16px 24px;
  }

  .footer-bottom {
    padding: 16px;
  }

  /* 404 */
  .error-main {
    padding: 48px 16px;
  }

  .error-code {
    font-size: 3.5rem;
  }
}

/* ≤ 480px：小屏微调 */
@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .hero-actions a {
    width: 100%;
  }

  .genre-media {
    height: 120px;
  }

  .theme-media {
    height: 140px;
  }

  .path-links {
    flex-direction: column;
  }

  .path-links a {
    text-align: center;
  }

  .back-link {
    width: 100%;
    text-align: center;
  }

  .mini-cover-stack img {
    width: 76px;
    height: 108px;
  }

  .mini-cover-stack {
    gap: 8px;
  }

  .media-figure img {
    height: 160px;
  }
}
