/* ==========================================================================
   基础样式
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: #f7f1e6;
  color: #1f3a32;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  font-weight: 400;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: #2e4a6b;
  text-decoration: none;
}

a:hover {
  color: #d96c3a;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid #d96c3a;
  outline-offset: 2px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
  font-weight: 700;
  line-height: 1.35;
  color: #1f3a32;
}

h4,
h5,
h6 {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
  font-weight: 600;
  line-height: 1.4;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
}

figure {
  margin: 0;
}

.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;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  background-color: #1f3a32;
  color: #f7f1e6;
  border-radius: 4px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 8px;
  color: #f7f1e6;
}


/* ==========================================================================
   布局：骨架
   ========================================================================== */

.site-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #f7f1e6;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #1f3a32;
  color: #f7f1e6;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: 1200px;
  min-height: 72px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-main {
  flex: 1 0 auto;
  width: 100%;
}

.home-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 56px;
}

.inner-main {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 64px;
}

.site-footer {
  flex-shrink: 0;
  background-color: #1f3a32;
  color: #e7ddc9;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 32px;
}

.footer-bottom {
  border-top: 1px solid rgba(216, 205, 185, 0.25);
}

.footer-bottom p {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px 24px;
  font-size: 13px;
  color: #a9b3a9;
}


/* ==========================================================================
   组件：页头与导航
   ========================================================================== */

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #f7f1e6;
  line-height: 1.25;
}

.brand:hover {
  color: #f7f1e6;
}

.brand-name {
  font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
  font-size: 22px;
  font-weight: 700;
}

.brand-slogan {
  font-size: 12px;
  font-weight: 400;
  color: #b9c4b6;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 22px;
}

.nav-list a {
  display: inline-block;
  padding: 8px 2px;
  font-size: 15px;
  color: #e7ddc9;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-list a:hover {
  color: #ffffff;
  border-bottom-color: #d96c3a;
}

.nav-list a.is-current {
  color: #ffffff;
  border-bottom-color: #d96c3a;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background-color: transparent;
  border: 1px solid rgba(216, 205, 185, 0.5);
  border-radius: 6px;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #f7f1e6;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.anchor-bar {
  background-color: #18302a;
  border-top: 1px solid rgba(216, 205, 185, 0.18);
}

.anchor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 24px;
}

.anchor-list a {
  display: inline-block;
  padding: 4px 0;
  font-size: 13px;
  color: #b9c4b6;
}

.anchor-list a:hover {
  color: #f0b48f;
}


/* ==========================================================================
   组件：面包屑与页面标题区
   ========================================================================== */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 20px 0 0;
  font-size: 14px;
  color: #6b6f6a;
}

.breadcrumb a {
  color: #2e4a6b;
}

.breadcrumb a:hover {
  color: #d96c3a;
}

.breadcrumb-sep {
  color: #b9b0a0;
}

.breadcrumb-current {
  color: #6b6f6a;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #6b6f6a;
}

.breadcrumb-list li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.page-header {
  padding: 14px 0 20px;
  border-bottom: 1px solid #d8cdb9;
  margin-bottom: 28px;
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  color: #1f3a32;
}

.page-lead {
  margin: 0 0 6px;
  font-size: 16px;
  color: #4a5750;
}

.page-note {
  margin: 0;
  font-size: 14px;
  color: #6b6f6a;
}

.page-title-block {
  margin-bottom: 32px;
}

.page-task {
  margin: 0;
  font-size: 16px;
  color: #4a5750;
}

.page-title-area {
  margin-bottom: 32px;
}

.page-title-link {
  margin: 0;
  font-size: 14px;
}


/* ==========================================================================
   组件：内页两栏布局
   ========================================================================== */

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr);
  gap: 40px;
  align-items: start;
}

.layout-shell {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr);
  gap: 40px;
  align-items: start;
}

.page-primary,
.main-column,
.page-content,
.content-main,
.content-column {
  min-width: 0;
}

.page-sidebar,
.side-column,
.page-aside,
.content-aside,
.sidebar {
  min-width: 0;
  font-size: 14px;
}

.sidebar-block,
.side-toc,
.side-related,
.aside-block,
.aside-toc,
.aside-related,
.sidebar-nav {
  padding: 18px 20px;
  background-color: #fdfaf3;
  border: 1px solid #d8cdb9;
  border-radius: 8px;
  margin-bottom: 20px;
}

.sidebar-heading,
.side-heading,
.aside-heading {
  margin: 0 0 12px;
  padding-bottom: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #1f3a32;
  border-bottom: 1px solid #e4dbc9;
}

.sidebar-list li,
.side-list li,
.aside-list li,
.aside-links li,
.aside-toc-list li,
.aside-related-list li,
.sidebar-toc-list li,
.sidebar-links li {
  margin-bottom: 4px;
}

.sidebar-list a,
.side-list a,
.aside-list a,
.aside-links a,
.aside-toc-list a,
.aside-related-list a,
.sidebar-toc-list a,
.sidebar-links a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: #2e4a6b;
  line-height: 1.6;
}

.sidebar-list a:hover,
.side-list a:hover,
.aside-list a:hover,
.aside-links a:hover,
.aside-toc-list a:hover,
.aside-related-list a:hover,
.sidebar-toc-list a:hover,
.sidebar-links a:hover {
  color: #d96c3a;
}


/* ==========================================================================
   组件：通用区块标题
   ========================================================================== */

.section-head {
  margin-bottom: 24px;
}

.section-head h2 {
  font-size: 26px;
  margin-bottom: 8px;
}

.section-head p {
  margin: 0;
  font-size: 15px;
  color: #6b6f6a;
}

.section-title {
  font-size: 24px;
  margin-bottom: 6px;
}

.section-desc,
.section-intro,
.section-lead,
.section-note {
  margin: 0 0 20px;
  font-size: 15px;
  color: #6b6f6a;
}

.section-tail {
  margin: 20px 0 0;
  font-size: 14px;
}

.text-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #d96c3a;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.text-link:hover {
  color: #b9532a;
  border-bottom-color: #b9532a;
}


/* ==========================================================================
   组件：按钮
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background-color: #d96c3a;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #b9532a;
  color: #ffffff;
}

.btn-ghost {
  background-color: transparent;
  color: #1f3a32;
  border-color: #1f3a32;
}

.btn-ghost:hover {
  background-color: #1f3a32;
  color: #f7f1e6;
}


/* ==========================================================================
   组件：表格
   ========================================================================== */

.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #d8cdb9;
  border-radius: 8px;
  background-color: #fdfaf3;
}

.data-table,
.entry-table,
.ledger-table,
.duty-table,
.updates-table {
  width: 100%;
  min-width: 560px;
  font-size: 14px;
  line-height: 1.7;
  text-align: left;
}

.data-table caption,
.entry-table caption,
.ledger-table caption,
.duty-table caption,
.updates-table caption {
  padding: 12px 16px;
  font-size: 13px;
  color: #6b6f6a;
  text-align: left;
  border-bottom: 1px solid #e4dbc9;
}

.data-table thead th,
.entry-table thead th,
.ledger-table thead th,
.duty-table thead th,
.updates-table thead th {
  padding: 12px 16px;
  font-weight: 700;
  font-size: 13px;
  color: #1f3a32;
  background-color: #efe6d5;
  border-bottom: 1px solid #d8cdb9;
  white-space: nowrap;
}

.data-table tbody td,
.data-table tbody th,
.entry-table tbody td,
.entry-table tbody th,
.ledger-table tbody td,
.ledger-table tbody th,
.duty-table tbody td,
.duty-table tbody th,
.updates-table tbody td,
.updates-table tbody th {
  padding: 12px 16px;
  border-bottom: 1px solid #e8e0d0;
  vertical-align: top;
  color: #3a4740;
}

.data-table tbody tr:last-child td,
.data-table tbody tr:last-child th,
.entry-table tbody tr:last-child td,
.entry-table tbody tr:last-child th,
.ledger-table tbody tr:last-child td,
.ledger-table tbody tr:last-child th,
.duty-table tbody tr:last-child td,
.duty-table tbody tr:last-child th,
.updates-table tbody tr:last-child td,
.updates-table tbody tr:last-child th {
  border-bottom: none;
}

.data-table tbody tr:hover,
.entry-table tbody tr:hover,
.ledger-table tbody tr:hover,
.duty-table tbody tr:hover,
.updates-table tbody tr:hover {
  background-color: #f7f1e6;
}

.duty-table tbody th,
.entry-table tbody th {
  font-weight: 600;
  color: #1f3a32;
  white-space: nowrap;
}


/* ==========================================================================
   组件：FAQ 折叠问答
   ========================================================================== */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid #d8cdb9;
  border-radius: 8px;
  background-color: #fdfaf3;
  overflow: hidden;
}

.faq-question {
  position: relative;
  padding: 16px 44px 16px 18px;
  font-size: 15px;
  font-weight: 600;
  color: #1f3a32;
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 400;
  color: #d96c3a;
  line-height: 1;
}

.faq-item[open] .faq-question::after {
  content: "\2212";
}

.faq-item[open] .faq-question {
  border-bottom: 1px solid #e8e0d0;
}

.faq-answer {
  padding: 14px 18px 16px;
  font-size: 14px;
  color: #4a5750;
}

.faq-answer p {
  margin: 0;
}


/* ==========================================================================
   组件：图片与图形容器
   ========================================================================== */

.hero-figure,
.gallery-media,
.scene-figure,
.media-figure,
.section-media,
.route-figure,
.page-media,
.content-figure {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #d8cdb9;
  background-color: #efe6d5;
}

.hero-figure img,
.gallery-media img,
.scene-figure img,
.media-figure img,
.section-media img,
.route-figure img,
.page-media img,
.content-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-figure img,
.scene-figure img,
.media-figure img,
.section-media img,
.route-figure img,
.page-media img,
.content-figure img {
  aspect-ratio: 16 / 10;
}

.gallery-media img {
  aspect-ratio: 4 / 3;
}

.scene-figure,
.media-figure,
.section-media,
.route-figure,
.page-media,
.content-figure {
  margin: 0 0 24px;
}

.scene-figure figcaption,
.media-figure figcaption,
.section-media figcaption,
.route-figure figcaption,
.page-media figcaption,
.content-figure figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: #6b6f6a;
  background-color: #fdfaf3;
  border-top: 1px solid #e8e0d0;
}


/* ==========================================================================
   首页：首屏
   ========================================================================== */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  padding: 48px 0 40px;
}

.hero-text {
  min-width: 0;
}

.hero-eyebrow {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: #d96c3a;
}

.hero-text h1 {
  font-size: 40px;
  margin-bottom: 18px;
}

.hero-lead {
  margin: 0 0 26px;
  font-size: 17px;
  color: #4a5750;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.rhythm-panel {
  padding: 20px 22px;
  background-color: #fdfaf3;
  border: 1px solid #d8cdb9;
  border-radius: 8px;
}

.rhythm-title {
  margin: 0 0 14px;
  font-size: 18px;
}

.rhythm-list {
  display: flex;
  flex-direction: column;
}

.rhythm-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "tag name"
    "tag hint";
  column-gap: 12px;
  row-gap: 2px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid #e8e0d0;
}

.rhythm-row:first-child {
  border-top: none;
}

.genre-tag {
  grid-area: tag;
  display: inline-block;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  border-radius: 4px;
  white-space: nowrap;
}

.genre-tag--urban {
  background-color: #2e4a6b;
}

.genre-tag--mystery {
  background-color: #5a3f6b;
}

.genre-tag--fantasy {
  background-color: #3f6b5a;
}

.rhythm-name {
  grid-area: name;
  font-size: 15px;
  font-weight: 600;
  color: #1f3a32;
}

.rhythm-hint {
  grid-area: hint;
  font-size: 13px;
  color: #6b6f6a;
}


/* ==========================================================================
   首页：站点信息条
   ========================================================================== */

.info-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 8px 0 48px;
  background-color: #d8cdb9;
  border: 1px solid #d8cdb9;
  border-radius: 8px;
  overflow: hidden;
}

.info-item {
  padding: 20px 20px;
  background-color: #fdfaf3;
}

.info-title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
}

.info-desc {
  margin: 0;
  font-size: 14px;
  color: #6b6f6a;
}


/* ==========================================================================
   首页：题材区域地图
   ========================================================================== */

.genre-map {
  margin-bottom: 48px;
}

.genre-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.genre-cell {
  border-radius: 8px;
  overflow: hidden;
}

.genre-cell a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 20px 20px 22px;
  background-color: #fdfaf3;
  border: 1px solid #d8cdb9;
  border-left: 5px solid #2e4a6b;
  border-radius: 8px;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.genre-cell a:hover {
  border-color: #1f3a32;
  transform: translateY(-2px);
}

.genre-cell--urban a {
  border-left-color: #2e4a6b;
}

.genre-cell--mystery a {
  border-left-color: #5a3f6b;
}

.genre-cell--fantasy a {
  border-left-color: #3f6b5a;
}

.genre-cell--romance a {
  border-left-color: #b2556b;
}

.genre-cell--history a {
  border-left-color: #8a6a3a;
}

.genre-cell--growth a {
  border-left-color: #d96c3a;
}

.genre-cell-name {
  font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
  font-size: 19px;
  font-weight: 700;
  color: #1f3a32;
}

.genre-cell-desc {
  font-size: 14px;
  color: #6b6f6a;
}


/* ==========================================================================
   首页：题材地图面板
   ========================================================================== */

.genre-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 0;
  margin-bottom: 48px;
  background-color: #fdfaf3;
  border: 1px solid #d8cdb9;
  border-radius: 8px;
  overflow: hidden;
}

.panel-index {
  padding: 24px 22px;
  background-color: #efe6d5;
  border-right: 1px solid #d8cdb9;
}

.panel-index h2 {
  margin: 0 0 14px;
  font-size: 19px;
}

.index-list li {
  border-top: 1px solid #e0d6c2;
}

.index-list li:first-child {
  border-top: none;
}

.index-list a {
  display: block;
  padding: 9px 0;
  font-size: 15px;
  color: #2e4a6b;
}

.index-list a:hover {
  color: #d96c3a;
}

.panel-content {
  padding: 24px 24px 20px;
  min-width: 0;
}

.panel-content h2 {
  margin: 0 0 14px;
  font-size: 19px;
}

.entry-list {
  display: flex;
  flex-direction: column;
}

.entry-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  grid-template-areas:
    "name genre"
    "hint hint";
  column-gap: 12px;
  row-gap: 4px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid #e8e0d0;
}

.entry-row:first-child {
  border-top: none;
}

.entry-name {
  grid-area: name;
  font-size: 15px;
  font-weight: 600;
  color: #1f3a32;
}

.entry-genre {
  grid-area: genre;
  padding: 1px 9px;
  font-size: 12px;
  color: #2e4a6b;
  background-color: #eef1f5;
  border-radius: 4px;
  white-space: nowrap;
}

.entry-hint {
  grid-area: hint;
  font-size: 13px;
  color: #6b6f6a;
}

.panel-note {
  margin: 16px 0 0;
  padding: 12px 14px;
  font-size: 13px;
  color: #6b6f6a;
  background-color: #f7f1e6;
  border-left: 3px solid #d96c3a;
  border-radius: 4px;
}


/* ==========================================================================
   首页：书单策展展廊
   ========================================================================== */

.list-gallery {
  margin-bottom: 48px;
}

.gallery-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid #d8cdb9;
}

.gallery-item:first-of-type {
  border-top: none;
  padding-top: 0;
}

.gallery-item--reverse .gallery-media {
  order: 2;
}

.gallery-item--reverse .gallery-label {
  order: 1;
}

.gallery-label {
  min-width: 0;
}

.gallery-label h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.gallery-label p {
  margin: 0 0 10px;
  font-size: 15px;
  color: #4a5750;
}

.gallery-label .text-link {
  margin-top: 4px;
}


/* ==========================================================================
   首页：选读判断三问
   ========================================================================== */

.selection-questions {
  margin-bottom: 48px;
}

.question-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.question-col {
  padding: 22px 22px 20px;
  background-color: #fdfaf3;
  border: 1px solid #d8cdb9;
  border-radius: 8px;
  transition: border-color 0.2s ease;
}

.question-col:hover {
  border-color: #d96c3a;
}

.question-col h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.question-col p {
  margin: 0 0 14px;
  font-size: 14px;
  color: #4a5750;
}


/* ==========================================================================
   首页：章节路线四步
   ========================================================================== */

.chapter-track {
  margin-bottom: 48px;
}

.track-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  counter-reset: track;
}

.track-step {
  position: relative;
  padding: 22px 20px 20px;
  background-color: #fdfaf3;
  border: 1px solid #d8cdb9;
  border-radius: 8px;
}

.track-num {
  display: inline-block;
  margin-bottom: 12px;
  padding: 1px 10px;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  background-color: #d96c3a;
  border-radius: 4px;
}

.track-body h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.track-body p {
  margin: 0 0 10px;
  font-size: 14px;
  color: #4a5750;
}


/* ==========================================================================
   首页：入口核验摘要
   ========================================================================== */

.entry-summary {
  margin-bottom: 48px;
}

.entry-summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.check-list,
.anomaly-list {
  padding: 22px 24px;
  background-color: #fdfaf3;
  border: 1px solid #d8cdb9;
  border-radius: 8px;
}

.check-list h3,
.anomaly-list h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.check-list ul {
  margin-bottom: 14px;
}

.check-list li {
  position: relative;
  padding: 7px 0 7px 24px;
  font-size: 15px;
  color: #3a4740;
  border-top: 1px solid #e8e0d0;
}

.check-list li:first-child {
  border-top: none;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 17px;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background-color: #d96c3a;
}

.anomaly-list li {
  padding: 10px 0;
  font-size: 14px;
  color: #4a5750;
  border-top: 1px solid #e8e0d0;
}

.anomaly-list li:first-child {
  border-top: none;
}

.anomaly-list strong {
  display: block;
  font-size: 15px;
  color: #1f3a32;
  margin-bottom: 2px;
}


/* ==========================================================================
   首页：更新记录预览
   ========================================================================== */

.updates-preview {
  margin-bottom: 48px;
}

.updates-table {
  min-width: 520px;
}


/* ==========================================================================
   首页：常见问题摘要
   ========================================================================== */

.faq {
  margin-bottom: 24px;
}


/* ==========================================================================
   内页：题材图谱
   ========================================================================== */

.genre-index,
.genre-scenes,
.genre-lists {
  margin-bottom: 40px;
}

.genre-scenes h2,
.genre-lists h2,
.genre-index h2 {
  font-size: 24px;
  margin-bottom: 6px;
}

.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.scene-card {
  padding: 20px 20px 18px;
  background-color: #fdfaf3;
  border: 1px solid #d8cdb9;
  border-radius: 8px;
}

.scene-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.scene-fit {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: #d96c3a;
}

.scene-card p {
  margin: 0;
  font-size: 14px;
  color: #4a5750;
}

.genre-list-map {
  display: flex;
  flex-direction: column;
  border: 1px solid #d8cdb9;
  border-radius: 8px;
  background-color: #fdfaf3;
  overflow: hidden;
}

.genre-list-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  border-top: 1px solid #e8e0d0;
}

.genre-list-row:first-child {
  border-top: none;
}

.genre-list-name {
  font-size: 15px;
  font-weight: 600;
  color: #1f3a32;
}

.genre-list-booklist {
  font-size: 14px;
  color: #6b6f6a;
}

.genre-list-row a {
  font-size: 14px;
  font-weight: 600;
  color: #d96c3a;
  white-space: nowrap;
}


/* ==========================================================================
   内页：书单策展
   ========================================================================== */

.list-gallery .gallery-tag {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 600;
  color: #d96c3a;
}

.list-gallery .gallery-name {
  margin-bottom: 10px;
}

.list-gallery .gallery-reason {
  margin: 0 0 12px;
  font-size: 15px;
  color: #4a5750;
}

.gallery-hints {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.gallery-hints li {
  position: relative;
  padding: 4px 0 4px 18px;
  font-size: 14px;
  color: #3a4740;
}

.gallery-hints li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #2e4a6b;
}

.gallery-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #d96c3a;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.gallery-link:hover {
  color: #b9532a;
  border-bottom-color: #b9532a;
}

.list-entries {
  margin-bottom: 40px;
}

.curation-notes {
  margin-bottom: 24px;
}

.notes-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.notes-col {
  padding: 20px 22px;
  background-color: #fdfaf3;
  border: 1px solid #d8cdb9;
  border-radius: 8px;
}

.notes-heading {
  font-size: 17px;
  margin-bottom: 10px;
}

.notes-list li {
  position: relative;
  padding: 6px 0 6px 20px;
  font-size: 14px;
  color: #3a4740;
  border-top: 1px solid #e8e0d0;
}

.notes-list li:first-child {
  border-top: none;
}

.notes-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 15px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background-color: #d96c3a;
}


/* ==========================================================================
   内页：选读判断
   ========================================================================== */

.content-block {
  margin-bottom: 40px;
}

.block-head {
  margin-bottom: 18px;
}

.block-head h2 {
  font-size: 24px;
  margin-bottom: 6px;
}

.block-intro {
  margin: 0;
  font-size: 15px;
  color: #6b6f6a;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.checklist-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  padding: 20px 22px;
  background-color: #fdfaf3;
  border: 1px solid #d8cdb9;
  border-radius: 8px;
  transition: border-color 0.2s ease;
}

.checklist-item:hover {
  border-color: #d96c3a;
}

.checklist-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  background-color: #2e4a6b;
  border-radius: 6px;
}

.checklist-body {
  min-width: 0;
}

.checklist-title {
  font-size: 17px;
  margin-bottom: 6px;
}

.checklist-question {
  margin: 0 0 6px;
  font-size: 15px;
  color: #3a4740;
}

.checklist-action {
  margin: 0;
  font-size: 14px;
  color: #6b6f6a;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding: 16px 20px;
  background-color: #efe6d5;
  border-radius: 8px;
}

.related-links-label {
  font-size: 14px;
  font-weight: 600;
  color: #1f3a32;
}

.related-links-item {
  display: inline-block;
  padding: 4px 12px;
  font-size: 14px;
  color: #2e4a6b;
  background-color: #fdfaf3;
  border: 1px solid #d8cdb9;
  border-radius: 20px;
}

.related-links-item:hover {
  color: #ffffff;
  background-color: #2e4a6b;
  border-color: #2e4a6b;
}


/* ==========================================================================
   内页：章节路线
   ========================================================================== */

.route-steps,
.route-toc,
.route-risk,
.route-related {
  margin-bottom: 40px;
}

.route-steps h2,
.route-toc h2,
.route-risk h2,
.route-related h2 {
  font-size: 24px;
  margin-bottom: 6px;
}

.route-track {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.route-node {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "index name"
    "index action";
  column-gap: 18px;
  row-gap: 4px;
  align-items: start;
  padding: 18px 22px;
  background-color: #fdfaf3;
  border: 1px solid #d8cdb9;
  border-radius: 8px;
}

.route-index {
  grid-area: index;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  background-color: #d96c3a;
  border-radius: 50%;
}

.route-name {
  grid-area: name;
  font-size: 17px;
  margin-bottom: 2px;
}

.route-action {
  grid-area: action;
  margin: 0;
  font-size: 14px;
  color: #4a5750;
}

.risk-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.risk-item {
  padding: 18px 22px;
  background-color: #fdfaf3;
  border: 1px solid #d8cdb9;
  border-left: 4px solid #b2556b;
  border-radius: 8px;
}

.risk-name {
  font-size: 16px;
  margin-bottom: 6px;
}

.risk-impact {
  margin: 0 0 4px;
  font-size: 14px;
  color: #4a5750;
}

.risk-fix {
  margin: 0;
  font-size: 14px;
  color: #6b6f6a;
}

.route-related .related-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  background-color: transparent;
}

.route-related .related-links li a {
  display: block;
  padding: 12px 16px;
  font-size: 14px;
  color: #2e4a6b;
  background-color: #fdfaf3;
  border: 1px solid #d8cdb9;
  border-radius: 8px;
  transition: border-color 0.2s ease;
}

.route-related .related-links li a:hover {
  border-color: #d96c3a;
  color: #d96c3a;
}


/* ==========================================================================
   内页：入口核验
   ========================================================================== */

.section {
  margin-bottom: 40px;
}

.section h2 {
  font-size: 24px;
  margin-bottom: 6px;
}

.check-step-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.check-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "no name"
    "no target"
    "no rule";
  column-gap: 18px;
  row-gap: 4px;
  align-items: start;
  padding: 18px 22px;
  background-color: #fdfaf3;
  border: 1px solid #d8cdb9;
  border-radius: 8px;
}

.check-step-no {
  grid-area: no;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  background-color: #2e4a6b;
  border-radius: 6px;
}

.check-step-name {
  grid-area: name;
  font-size: 17px;
  margin-bottom: 2px;
}

.check-step-target {
  grid-area: target;
  margin: 0;
  font-size: 14px;
  color: #4a5750;
}

.check-step-rule {
  grid-area: rule;
  margin: 0;
  font-size: 14px;
  color: #6b6f6a;
}

.result-block {
  padding: 20px 22px;
  background-color: #fdfaf3;
  border: 1px solid #d8cdb9;
  border-radius: 8px;
  margin-bottom: 14px;
}

.result-block h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.result-block p {
  margin: 0;
  font-size: 15px;
  color: #4a5750;
}

.result-pass {
  border-left: 4px solid #3f6b5a;
}

.result-fail {
  border-left: 4px solid #d96c3a;
}

.result-block a {
  color: #2e4a6b;
  border-bottom: 1px solid #b9c4b6;
}

.result-block a:hover {
  color: #d96c3a;
  border-bottom-color: #d96c3a;
}


/* ==========================================================================
   内页：更新记录
   ========================================================================== */

.ledger-section,
.change-types,
.page-index,
.ledger-notes {
  margin-bottom: 40px;
}

.ledger-section h2,
.change-types h2,
.page-index h2,
.ledger-notes h2 {
  font-size: 24px;
  margin-bottom: 6px;
}

.change-type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.change-type-card {
  padding: 20px 22px;
  background-color: #fdfaf3;
  border: 1px solid #d8cdb9;
  border-radius: 8px;
}

.change-type-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
}

.change-type-list li {
  position: relative;
  padding: 5px 0 5px 18px;
  font-size: 14px;
  color: #4a5750;
}

.change-type-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #2e4a6b;
}

.page-index-list {
  display: flex;
  flex-direction: column;
  border: 1px solid #d8cdb9;
  border-radius: 8px;
  background-color: #fdfaf3;
  overflow: hidden;
}

.page-index-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  border-top: 1px solid #e8e0d0;
}

.page-index-item:first-child {
  border-top: none;
}

.page-index-name {
  font-size: 15px;
  font-weight: 600;
  color: #1f3a32;
}

.page-index-desc {
  font-size: 14px;
  color: #6b6f6a;
}

.ledger-note-list li {
  position: relative;
  padding: 8px 0 8px 22px;
  font-size: 15px;
  color: #3a4740;
  border-top: 1px solid #e0d6c2;
}

.ledger-note-list li:first-child {
  border-top: none;
}

.ledger-note-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 17px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background-color: #d96c3a;
}


/* ==========================================================================
   内页：阅读说明
   ========================================================================== */

.content-section {
  margin-bottom: 40px;
}

.content-section h2 {
  font-size: 24px;
  margin-bottom: 6px;
}

.scope-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.scope-item {
  padding: 18px 22px;
  background-color: #fdfaf3;
  border: 1px solid #d8cdb9;
  border-radius: 8px;
}

.scope-item h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.scope-item p {
  margin: 0;
  font-size: 15px;
  color: #4a5750;
}

.duty-table {
  border: 1px solid #d8cdb9;
  border-radius: 8px;
  background-color: #fdfaf3;
  overflow: hidden;
  min-width: 560px;
}

.boundary-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.boundary-item {
  padding: 18px 22px;
  background-color: #fdfaf3;
  border: 1px solid #d8cdb9;
  border-left: 4px solid #2e4a6b;
  border-radius: 8px;
}

.boundary-item h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.boundary-item p {
  margin: 0;
  font-size: 15px;
  color: #4a5750;
}


/* ==========================================================================
   404 页
   ========================================================================== */

.error-main {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.error-panel {
  padding: 40px 32px;
  background-color: #fdfaf3;
  border: 1px solid #d8cdb9;
  border-radius: 8px;
  margin-bottom: 32px;
}

.error-code {
  margin: 0 0 10px;
  font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  color: #d96c3a;
}

.error-panel h1 {
  font-size: 30px;
  margin-bottom: 14px;
}

.error-lead {
  margin: 0 0 8px;
  font-size: 16px;
  color: #4a5750;
}

.error-hint {
  margin: 0 0 24px;
  font-size: 14px;
  color: #6b6f6a;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.error-routes {
  padding: 28px 32px;
  background-color: #fdfaf3;
  border: 1px solid #d8cdb9;
  border-radius: 8px;
}

.error-routes h2 {
  font-size: 20px;
  margin-bottom: 16px;
}

.error-route-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.error-route-list a {
  display: block;
  padding: 12px 16px;
  font-size: 14px;
  color: #2e4a6b;
  background-color: #f7f1e6;
  border: 1px solid #d8cdb9;
  border-radius: 6px;
  transition: border-color 0.2s ease;
}

.error-route-list a:hover {
  border-color: #d96c3a;
  color: #d96c3a;
}


/* ==========================================================================
   页脚
   ========================================================================== */

.footer-brand-name {
  margin: 0 0 8px;
  font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
  font-size: 20px;
  font-weight: 700;
  color: #f7f1e6;
}

.footer-brand-desc {
  margin: 0;
  font-size: 14px;
  color: #b9c4b6;
}

.footer-heading {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  color: #f7f1e6;
}

.footer-links li {
  margin-bottom: 4px;
}

.footer-links a {
  display: inline-block;
  padding: 4px 0;
  font-size: 14px;
  color: #b9c4b6;
}

.footer-links a:hover {
  color: #f0b48f;
}

.footer-note p {
  margin: 0;
  font-size: 14px;
  color: #b9c4b6;
}


/* ==========================================================================
   响应式：960px
   ========================================================================== */

@media (max-width: 960px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 0;
    padding: 0 20px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    flex-basis: 100%;
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 0 12px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list:not(.is-open) {
    display: none;
  }

  .nav-list a {
    display: block;
    padding: 12px 4px;
    font-size: 15px;
    border-bottom: 1px solid rgba(216, 205, 185, 0.18);
  }

  .nav-list a.is-current {
    border-bottom-color: rgba(216, 205, 185, 0.18);
    color: #f0b48f;
  }

  .anchor-list {
    padding: 8px 20px;
  }

  .home-main,
  .inner-main,
  .error-main {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 32px 0 28px;
  }

  .hero-text h1 {
    font-size: 30px;
  }

  .info-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .genre-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .genre-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .panel-index {
    border-right: none;
    border-bottom: 1px solid #d8cdb9;
  }

  .gallery-item {
    gap: 24px;
  }

  .question-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .track-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .entry-summary-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-layout,
  .layout-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .page-sidebar,
  .side-column,
  .page-aside,
  .content-aside,
  .sidebar {
    order: 2;
  }

  .scene-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .notes-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .change-type-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    padding: 40px 20px 28px;
  }

  .footer-bottom p {
    padding: 14px 20px 22px;
  }
}


/* ==========================================================================
   响应式：640px
   ========================================================================== */

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .header-inner {
    min-height: 64px;
  }

  .brand-name {
    font-size: 20px;
  }

  .brand-slogan {
    font-size: 11px;
  }

  .anchor-list {
    gap: 2px 16px;
    overflow-x: auto;
    flex-wrap: nowrap;
    white-space: nowrap;
  }

  .anchor-list li {
    flex-shrink: 0;
  }

  .breadcrumb {
    padding-top: 16px;
    font-size: 13px;
  }

  .page-header {
    padding: 10px 0 16px;
    margin-bottom: 22px;
  }

  .page-title {
    font-size: 26px;
  }

  .hero {
    padding: 24px 0 24px;
  }

  .hero-text h1 {
    font-size: 30px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .info-strip {
    grid-template-columns: minmax(0, 1fr);
    margin-bottom: 36px;
  }

  .info-item {
    padding: 16px 18px;
  }

  .genre-map,
  .genre-panel,
  .list-gallery,
  .selection-questions,
  .chapter-track,
  .entry-summary,
  .updates-preview {
    margin-bottom: 36px;
  }

  .genre-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-head h2,
  .genre-index h2,
  .genre-scenes h2,
  .genre-lists h2,
  .route-steps h2,
  .route-toc h2,
  .route-risk h2,
  .route-related h2,
  .section h2,
  .ledger-section h2,
  .change-types h2,
  .page-index h2,
  .ledger-notes h2,
  .content-section h2,
  .block-head h2,
  .section-title {
    font-size: 21px;
  }

  .gallery-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 20px 0;
  }

  .gallery-item--reverse .gallery-media,
  .gallery-item--reverse .gallery-label {
    order: 0;
  }

  .gallery-label h3 {
    font-size: 19px;
  }

  .question-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .track-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .scene-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .genre-list-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    align-items: start;
  }

  .genre-list-row a {
    justify-self: start;
  }

  .page-index-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    align-items: start;
  }

  .route-related .related-links {
    grid-template-columns: minmax(0, 1fr);
  }

  .checklist-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 18px 18px;
  }

  .checklist-index {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .route-node,
  .check-step {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "index"
      "name"
      "action";
    row-gap: 6px;
    padding: 16px 18px;
  }

  .check-step {
    grid-template-areas:
      "no"
      "name"
      "target"
      "rule";
  }

  .route-index,
  .check-step-no {
    justify-self: start;
  }

  .rhythm-panel {
    padding: 16px 18px;
  }

  .panel-index,
  .panel-content {
    padding: 18px 18px;
  }

  .check-list,
  .anomaly-list {
    padding: 18px 18px;
  }

  .sidebar-block,
  .side-toc,
  .side-related,
  .aside-block,
  .aside-toc,
  .aside-related,
  .sidebar-nav {
    padding: 16px 18px;
    margin-bottom: 16px;
  }

  .scope-item,
  .boundary-item,
  .risk-item,
  .result-block,
  .change-type-card,
  .notes-col,
  .scene-card,
  .question-col {
    padding: 16px 18px;
  }

  .error-main {
    padding: 32px 20px 48px;
  }

  .error-panel {
    padding: 28px 20px;
  }

  .error-code {
    font-size: 42px;
  }

  .error-panel h1 {
    font-size: 24px;
  }

  .error-routes {
    padding: 22px 20px;
  }

  .error-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .error-actions .btn {
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 32px 20px 24px;
  }

  .footer-bottom p {
    padding: 12px 20px 20px;
    font-size: 12px;
  }

  .data-table,
  .entry-table,
  .ledger-table,
  .duty-table,
  .updates-table {
    min-width: 480px;
    font-size: 13px;
  }

  .data-table thead th,
  .entry-table thead th,
  .ledger-table thead th,
  .duty-table thead th,
  .updates-table thead th,
  .data-table tbody td,
  .data-table tbody th,
  .entry-table tbody td,
  .entry-table tbody th,
  .ledger-table tbody td,
  .ledger-table tbody th,
  .duty-table tbody td,
  .duty-table tbody th,
  .updates-table tbody td,
  .updates-table tbody th {
    padding: 10px 12px;
  }
}

/* 程序验收反馈：移动端防溢出 */
@media (max-width: 768px) {
  .site-main,
  .site-main * {
    min-width: 0;
    max-width: 100%;
  }

  .site-main :is(h1, h2, h3, h4, p, a, span) {
    overflow-wrap: anywhere;
  }
}
