/* ==========================================================================
   91漫画免费版app · 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base
   -------------------------------------------------------------------------- */

:root {
  --paper: #FBF8F0;
  --ink: #151515;
  --ink-soft: #4A463E;
  --teal: #006B5F;
  --teal-dark: #004E45;
  --chili: #B3261E;
  --plum: #3A2E5C;
  --wheat: #E8DFC8;
  --white: #FFFFFF;
  --rule: #D8CFB8;

  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Menlo", "Consolas", "Liberation Mono", monospace;

  --wrap-wide: 1200px;
  --wrap-inner: 1120px;
  --wrap-text: 760px;

  --radius: 6px;
  --header-h: 72px;

  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 20px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-2xl: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 { font-size: 40px; line-height: 1.22; }
h2 { font-size: 24px; line-height: 1.34; }
h3 { font-size: 18px; line-height: 1.45; }

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.35em;
}

ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

li {
  margin-bottom: 0.4em;
}

li:last-child {
  margin-bottom: 0;
}

a {
  color: var(--teal);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--teal-dark);
  text-decoration-thickness: 2px;
  background-color: rgba(0, 107, 95, 0.08);
}

a:active {
  color: var(--chili);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--chili);
  outline-offset: 2px;
  border-radius: 2px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

figcaption {
  margin-top: var(--space-xs);
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

strong {
  font-weight: 700;
}

dt {
  font-weight: 700;
}

dd {
  margin: 0;
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  cursor: pointer;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 18px;
  background-color: var(--ink);
  color: var(--white);
  text-decoration: none;
  border-radius: var(--radius);
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 12px;
  color: var(--white);
  background-color: var(--ink);
}

/* --------------------------------------------------------------------------
   layout · 全站骨架
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--paper);
  border-bottom: 2px solid var(--ink);
}

.header-inner {
  max-width: var(--wrap-wide);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.brand {
  flex: 0 0 auto;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  text-decoration: none;
  padding: 6px 10px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  white-space: nowrap;
}

.brand:hover {
  color: var(--white);
  background-color: var(--ink);
}

.main-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav li {
  margin: 0;
}

.site-nav a {
  display: inline-block;
  padding: 8px 2px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  color: var(--teal);
  background-color: transparent;
  border-bottom-color: var(--teal);
}

.site-nav a.is-current {
  color: var(--teal);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  border-bottom-color: var(--teal);
}

.quick-jump-toggle {
  flex: 0 0 auto;
  padding: 9px 16px;
  min-height: 44px;
  background-color: var(--teal);
  color: var(--white);
  border: 2px solid var(--teal);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

.quick-jump-toggle:hover {
  background-color: var(--teal-dark);
  border-color: var(--teal-dark);
}

.quick-jump-toggle[aria-expanded="true"] {
  background-color: var(--ink);
  border-color: var(--ink);
}

.quick-jump-panel {
  position: relative;
  border-top: 1px solid var(--rule);
  background-color: var(--white);
}

.quick-jump-panel[hidden] {
  display: none;
}

.quick-jump-panel::after {
  content: "";
  display: block;
  clear: both;
}

.quick-jump-group {
  max-width: var(--wrap-wide);
  margin: 0 auto;
  padding: var(--space-md) 24px 0;
}

.quick-jump-group:last-of-type {
  padding-bottom: var(--space-md);
}

.quick-jump-group h2 {
  font-size: 14px;
  font-weight: 700;
  color: var(--plum);
  margin-bottom: var(--space-xs);
}

.quick-jump-group ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quick-jump-group li {
  margin: 0;
}

.quick-jump-group a {
  display: inline-block;
  padding: 6px 0;
  font-size: 14px;
  line-height: 1.5;
  min-height: 32px;
}

.quick-jump-close {
  position: absolute;
  top: 10px;
  right: 24px;
  width: 44px;
  height: 44px;
  padding: 0;
  background-color: var(--paper);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  font-size: 18px;
  line-height: 1;
}

.quick-jump-close:hover {
  background-color: var(--ink);
  color: var(--white);
}

.site-main {
  display: block;
}

.home-main {
  max-width: var(--wrap-wide);
  margin: 0 auto;
  padding: 0 24px var(--space-2xl);
}

.inner-main {
  max-width: var(--wrap-inner);
  margin: 0 auto;
  padding: 0 24px var(--space-2xl);
}

.inner-main > section,
.inner-main > div.page-container,
.inner-main > div.page-layout,
.inner-main > header.page-title {
  margin-bottom: var(--space-xl);
}

.inner-main > section:last-child,
.inner-main > div:last-child,
.inner-main > nav:last-child {
  margin-bottom: 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 18px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.breadcrumb a {
  color: var(--ink-soft);
}

.breadcrumb a:hover {
  color: var(--teal);
}

.breadcrumb-sep {
  color: var(--rule);
}

.breadcrumb-current {
  color: var(--ink);
  font-weight: 700;
}

.page-header {
  padding: var(--space-md) 0 var(--space-md);
  border-bottom: 2px solid var(--ink);
}

.page-title {
  font-size: 32px;
  line-height: 1.28;
  font-weight: 700;
  color: var(--ink);
  max-width: var(--wrap-text);
}

/* 内页标题区：H1 + 导语 + 栏目信息 */
.page-head,
.page-hero {
  max-width: var(--wrap-text);
  padding-top: var(--space-md);
}

.page-lede,
.page-lead {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: var(--wrap-text);
}

.page-meta {
  margin-top: var(--space-sm);
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  padding-left: 12px;
  border-left: 4px solid var(--wheat);
}

/* 通用章节 */
.section-lead,
.section-note,
.section-intro {
  max-width: var(--wrap-text);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: var(--space-md);
}

.section-more {
  margin-top: var(--space-md);
  font-size: 15px;
}

.site-footer {
  border-top: 2px solid var(--ink);
  background-color: var(--paper);
  color: var(--ink);
}

.footer-top,
.footer-nav,
.footer-bottom {
  max-width: var(--wrap-wide);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.footer-top {
  padding-top: var(--space-lg);
  padding-bottom: var(--space-md);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: var(--space-md) var(--space-lg);
  align-items: start;
}

.footer-brand {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.footer-slogan {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.footer-note {
  grid-column: 1;
  margin: var(--space-sm) 0 0;
  font-size: 14px;
  line-height: 1.7;
}

.footer-nav {
  grid-column: 2;
  grid-row: 1 / span 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-md) var(--space-md);
  padding-top: 0;
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--rule);
}

.footer-group h2 {
  font-size: 14px;
  font-weight: 700;
  color: var(--plum);
  margin-bottom: var(--space-xs);
}

.footer-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-group li {
  margin: 0 0 4px;
}

.footer-group a {
  display: inline-block;
  padding: 4px 0;
  font-size: 14px;
  line-height: 1.6;
  min-height: 30px;
  color: var(--ink-soft);
}

.footer-group a:hover {
  color: var(--teal);
}

.footer-bottom {
  padding-top: var(--space-md);
  padding-bottom: var(--space-lg);
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, auto);
  gap: var(--space-sm) var(--space-lg);
  align-items: start;
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.footer-bottom p {
  margin: 0;
}

.footer-copy {
  color: var(--ink);
}

.footer-back {
  text-align: right;
}

/* --------------------------------------------------------------------------
   components · 通用组件
   -------------------------------------------------------------------------- */

/* 按钮 */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 12px 22px;
  min-height: 44px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  border-radius: var(--radius);
  border: 2px solid var(--teal);
  text-align: center;
}

.btn-primary {
  background-color: var(--teal);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--teal-dark);
  border-color: var(--teal-dark);
  color: var(--white);
}

.btn-secondary {
  background-color: transparent;
  color: var(--teal);
}

.btn-secondary:hover {
  background-color: rgba(0, 107, 95, 0.1);
  color: var(--teal-dark);
}

/* 表格：批次台账与题材总览共用 */
.batch-table,
.genre-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.7;
  background-color: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
}

.batch-table caption,
.genre-table caption {
  caption-side: top;
  text-align: left;
  padding: 0 0 var(--space-xs);
  font-size: 13px;
  color: var(--ink-soft);
}

.batch-table th,
.batch-table td,
.genre-table th,
.genre-table td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--rule);
  word-break: break-word;
}

.batch-table thead th,
.genre-table thead th {
  background-color: var(--wheat);
  color: var(--ink);
  font-weight: 700;
  font-size: 13px;
  border-bottom: 2px solid var(--ink);
}

.batch-table tbody tr:last-child th,
.batch-table tbody tr:last-child td,
.genre-table tbody tr:last-child th,
.genre-table tbody tr:last-child td {
  border-bottom: none;
}

.batch-table tbody tr:nth-child(even) td,
.genre-table tbody tr:nth-child(even) td {
  background-color: #FAF6EC;
}

.batch-table tbody th,
.genre-table tbody th {
  font-family: var(--font-mono);
  font-size: 13px;
  white-space: nowrap;
  color: var(--plum);
}

/* 编号样式 */
.exhibit-code,
.label-code,
.recent-batch {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  color: var(--plum);
  margin: 0 0 var(--space-xs);
}

/* 榜单列表 */
.rank-list {
  margin: 0;
  padding-left: 1.4em;
  font-size: 16px;
  line-height: 1.8;
}

.rank-list li {
  margin-bottom: 8px;
  padding-left: 4px;
}

.rank-list li::marker {
  color: var(--teal);
  font-weight: 700;
}

/* 说明列表 dl */
.rules dl,
.visit-info dl,
.mapping-list,
.rank-basis-list,
.field-impact dl {
  margin: 0;
}

.visit-info dl > div,
.mapping-list > div,
.rank-basis-list > div,
.impact-item {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--rule);
}

.visit-info dl > div:last-child,
.mapping-list > div:last-child,
.rank-basis-list > div:last-child,
.impact-item:last-child {
  border-bottom: none;
}

.visit-info dt,
.mapping-list dt,
.rank-basis-list dt,
.impact-item dt {
  font-size: 14px;
  color: var(--plum);
  margin-bottom: 4px;
}

.visit-info dd,
.mapping-list dd,
.rank-basis-list dd,
.impact-item dd {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
}

/* 相关内容条 */
.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  padding: var(--space-md) 0;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
}

.related-links-label {
  font-weight: 700;
  color: var(--plum);
}

.related-links-item {
  display: inline-block;
  padding: 6px 0;
  min-height: 32px;
}

/* 章节标题前的焦点标记 */
.exhibit-hall > h2,
.batch-preview > h2,
.rank-preview > h2,
.help-preview > h2,
.rules > h2,
.series-usage > h2,
.series-catalog > h2,
.order-notes > h2,
.genre-overview > h2,
.genre-sections > h2,
.genre-mapping > h2,
.genre-reading > h2,
.batch-intro > h2,
.batch-table-section > h2,
.field-impact > h2,
.batch-help > h2,
.rank-basis > h2,
.rank-categories > h2,
.rank-rules > h2,
.help-intro > h2,
.decision-list > h2,
.faq > h2,
.origin > h2,
.principles > h2,
.process > h2,
.recent-batches > h2,
.corrections > h2 {
  position: relative;
  padding-left: 14px;
  margin-bottom: var(--space-sm);
}

.exhibit-hall > h2::before,
.batch-preview > h2::before,
.rank-preview > h2::before,
.help-preview > h2::before,
.rules > h2::before,
.series-usage > h2::before,
.series-catalog > h2::before,
.order-notes > h2::before,
.genre-overview > h2::before,
.genre-sections > h2::before,
.genre-mapping > h2::before,
.genre-reading > h2::before,
.batch-intro > h2::before,
.batch-table-section > h2::before,
.field-impact > h2::before,
.batch-help > h2::before,
.rank-basis > h2::before,
.rank-categories > h2::before,
.rank-rules > h2::before,
.help-intro > h2::before,
.decision-list > h2::before,
.faq > h2::before,
.origin > h2::before,
.principles > h2::before,
.process > h2::before,
.recent-batches > h2::before,
.corrections > h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 5px;
  background-color: var(--teal);
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   pages · 首页
   -------------------------------------------------------------------------- */

/* 首屏 */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: var(--space-xl);
  align-items: start;
  padding: var(--space-xl) 0 var(--space-2xl);
  border-bottom: 2px solid var(--ink);
}

.hero-copy {
  min-width: 0;
}

.hero-copy h1 {
  font-size: 40px;
  line-height: 1.22;
  margin-bottom: var(--space-md);
  max-width: 620px;
}

.hero-lead {
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: 600px;
  margin-bottom: var(--space-md);
}

.hero-needs {
  margin: 0 0 var(--space-lg);
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
}

.hero-needs li {
  margin: 0;
  min-width: 0;
}

.hero-needs a {
  display: block;
  padding: 10px 12px;
  min-height: 44px;
  font-size: 15px;
  line-height: 1.55;
  background-color: var(--white);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--plum);
  border-radius: var(--radius);
}

.hero-needs a:hover {
  border-left-color: var(--chili);
  background-color: #F4EFE1;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual {
  min-width: 0;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background-color: var(--white);
  padding: 10px;
}

.hero-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
}

.hero-visual figcaption {
  padding: 0 4px;
}

/* 题材快捷带 */
.genre-strip {
  padding: var(--space-xl) 0;
  border-bottom: 2px solid var(--ink);
}

.genre-strip h2 {
  font-size: 22px;
  margin-bottom: var(--space-md);
}

.genre-strip ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.genre-strip li {
  margin: 0;
  min-width: 0;
  padding: 14px 16px;
  background-color: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
}

.genre-strip li a {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  min-height: 30px;
}

.genre-strip li p {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* 展览目录 */
.exhibit-hall {
  padding: var(--space-xl) 0;
  border-bottom: 2px solid var(--ink);
}

.exhibit {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: var(--space-lg);
  align-items: start;
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--rule);
}

.exhibit:first-of-type {
  border-top: none;
  padding-top: 0;
}

.exhibit-reverse .exhibit-figure {
  order: 2;
}

.exhibit-reverse .exhibit-label {
  order: 1;
}

.exhibit-figure {
  min-width: 0;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background-color: var(--white);
  padding: 8px;
}

.exhibit-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 4px;
}

.exhibit-label {
  min-width: 0;
  padding-top: 4px;
}

.exhibit-label h3 {
  font-size: 22px;
  line-height: 1.4;
  margin: 0 0 var(--space-sm);
}

.exhibit-label > p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.exhibit-label ul {
  margin: var(--space-sm) 0 0;
  padding-left: 1.2em;
  font-size: 15px;
  line-height: 1.75;
}

.exhibit-label li::marker {
  color: var(--teal);
}

/* 整理批次摘要 */
.batch-preview {
  padding: var(--space-xl) 0;
  border-bottom: 2px solid var(--ink);
}

/* 编目榜单摘要 */
.rank-preview {
  padding: var(--space-xl) 0;
  border-bottom: 2px solid var(--ink);
}

.rank-preview .rank-list {
  max-width: var(--wrap-text);
}

/* 阅读排查入口 */
.help-preview {
  padding: var(--space-xl) 0;
  border-bottom: 2px solid var(--ink);
}

.help-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.help-list li {
  margin: 0;
  min-width: 0;
  padding: 16px;
  background-color: var(--white);
  border: 1px solid var(--rule);
  border-top: 4px solid var(--chili);
  border-radius: var(--radius);
}

.help-list li a {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  min-height: 30px;
}

.help-list li p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* 规则说明 */
.rules {
  padding: var(--space-xl) 0;
  border-bottom: 2px solid var(--ink);
}

.rules dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
}

.rules dt {
  font-size: 15px;
  color: var(--plum);
  padding-bottom: 6px;
  border-bottom: 2px solid var(--wheat);
  margin-bottom: 8px;
}

.rules dd {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* 页末下一步 */
.next-steps {
  padding: var(--space-xl) 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
}

.next-steps > h2 {
  grid-column: 1 / -1;
  font-size: 22px;
  margin-bottom: 0;
}

.next-step {
  display: block;
  min-width: 0;
  padding: 18px 20px;
  background-color: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  text-decoration: none;
}

.next-step:hover {
  background-color: #F4EFE1;
}

.next-step-label {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 4px;
}

.next-step-desc {
  display: block;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   pages · 内页：系列目录
   -------------------------------------------------------------------------- */

.visit-info dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 var(--space-lg);
  border-top: 1px solid var(--rule);
}

.visit-info dl > div {
  min-width: 0;
}

.series-usage p {
  max-width: var(--wrap-text);
  font-size: 16px;
  line-height: 1.85;
}

.series-exhibit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: var(--space-lg);
  align-items: start;
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--rule);
}

.series-exhibit:first-of-type {
  border-top: 2px solid var(--ink);
}

.series-exhibit-reverse .exhibit-media {
  order: 2;
}

.series-exhibit-reverse .series-label {
  order: 1;
}

.exhibit-media {
  min-width: 0;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background-color: var(--white);
  padding: 8px;
}

.exhibit-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
}

.series-label {
  min-width: 0;
}

.series-label h3 {
  font-size: 20px;
  line-height: 1.42;
  margin: 0 0 var(--space-sm);
}

.series-label > p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.label-fields {
  margin: var(--space-sm) 0 var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background-color: var(--white);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--plum);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: minmax(96px, auto) minmax(0, 1fr);
  gap: 6px var(--space-md);
}

.label-fields dt {
  font-size: 13px;
  line-height: 1.7;
  color: var(--plum);
}

.label-fields dd {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
  min-width: 0;
}

.label-link {
  display: inline-block;
  padding: 10px 16px;
  min-height: 44px;
  font-size: 15px;
  font-weight: 700;
  background-color: var(--white);
  border: 2px solid var(--teal);
  border-radius: var(--radius);
  text-decoration: none;
}

.label-link:hover {
  background-color: var(--teal);
  color: var(--white);
}

.order-notes ul {
  max-width: var(--wrap-text);
  padding-left: 1.3em;
  font-size: 15px;
  line-height: 1.85;
}

.order-notes strong {
  color: var(--plum);
}

.series-exits h2,
.genre-exits h2,
.help-exits h2,
.rank-links h2,
.batch-help-links h2 {
  font-size: 20px;
  margin-bottom: var(--space-sm);
}

.series-exits ul,
.genre-exits ul,
.help-exits ul,
.rank-links ul,
.batch-help-links ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.series-exits li,
.genre-exits li,
.help-exits li,
.rank-links li,
.batch-help-links li {
  margin: 0;
  min-width: 0;
}

.series-exits a,
.genre-exits a,
.help-exits a,
.rank-links a,
.batch-help-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 700;
  background-color: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  text-decoration: none;
}

.series-exits a:hover,
.genre-exits a:hover,
.help-exits a:hover,
.rank-links a:hover,
.batch-help-links a:hover {
  background-color: var(--wheat);
}

.batch-help-links ul,
.rank-links ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* --------------------------------------------------------------------------
   pages · 内页：题材展厅
   -------------------------------------------------------------------------- */

.genre-map {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background-color: var(--white);
  padding: 10px;
  margin-bottom: var(--space-xl);
}

.genre-map img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: 4px;
}

.genre-overview p {
  max-width: var(--wrap-text);
  font-size: 16px;
  line-height: 1.85;
  margin-bottom: var(--space-md);
}

.genre-sections > p {
  max-width: var(--wrap-text);
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: var(--space-lg);
}

.genre-section {
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--rule);
  max-width: 860px;
}

.genre-section:first-of-type {
  border-top: 2px solid var(--ink);
}

.genre-section h3 {
  font-size: 20px;
  line-height: 1.45;
  margin-bottom: var(--space-sm);
}

.genre-section > p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: var(--wrap-text);
}

.genre-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: var(--space-sm) 0;
  padding: 0;
  list-style: none;
}

.genre-links li {
  margin: 0;
}

.genre-links a {
  display: inline-block;
  padding: 8px 14px;
  min-height: 40px;
  font-size: 14px;
  font-weight: 700;
  background-color: var(--white);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  text-decoration: none;
}

.genre-links a:hover {
  background-color: var(--wheat);
}

.genre-tip {
  margin: 0;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  background-color: #F4EFE1;
  border-radius: var(--radius);
}

.genre-mapping p {
  max-width: var(--wrap-text);
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: var(--space-md);
}

.mapping-list {
  border-top: 1px solid var(--rule);
}

.reading-list {
  max-width: var(--wrap-text);
  padding-left: 1.3em;
  font-size: 15px;
  line-height: 1.85;
}

.reading-list strong {
  color: var(--plum);
}

.genre-exits {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 2px solid var(--ink);
}

/* --------------------------------------------------------------------------
   pages · 内页：整理批次
   -------------------------------------------------------------------------- */

.page-layout .page-head {
  padding-top: var(--space-md);
}

.batch-intro p {
  max-width: var(--wrap-text);
  font-size: 16px;
  line-height: 1.85;
}

.batch-figure {
  margin-top: var(--space-md);
  max-width: 720px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background-color: var(--white);
  padding: 8px;
}

.batch-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
}

.batch-table-section .batch-table {
  table-layout: fixed;
}

.batch-table-section .batch-table th,
.batch-table-section .batch-table td {
  width: 25%;
}

.field-impact > p {
  max-width: var(--wrap-text);
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: var(--space-sm);
}

.field-impact dl {
  border-top: 1px solid var(--rule);
}

.batch-help > p {
  max-width: var(--wrap-text);
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: var(--space-sm);
}

.batch-help > ul {
  max-width: var(--wrap-text);
  padding-left: 1.3em;
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: var(--space-lg);
}

.batch-help-links {
  padding-top: var(--space-md);
  border-top: 2px solid var(--ink);
}

/* --------------------------------------------------------------------------
   pages · 内页：编目榜单
   -------------------------------------------------------------------------- */

.page-container .page-title {
  padding-top: var(--space-md);
  border-bottom: 2px solid var(--ink);
  padding-bottom: var(--space-md);
  max-width: none;
}

.rank-basis {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: var(--space-lg);
  align-items: start;
}

.rank-basis > h2 {
  grid-column: 1 / -1;
}

.rank-figure {
  min-width: 0;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background-color: var(--white);
  padding: 8px;
}

.rank-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
}

.rank-basis-list {
  min-width: 0;
  border-top: 1px solid var(--rule);
}

.rank-categories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-lg);
}

.rank-categories > h2,
.rank-categories > .section-note {
  grid-column: 1 / -1;
}

.rank-category {
  min-width: 0;
  padding: var(--space-md);
  background-color: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
}

.rank-category h3 {
  font-size: 18px;
  line-height: 1.45;
  margin-bottom: var(--space-sm);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--wheat);
}

.rank-category .rank-list {
  font-size: 15px;
  margin-bottom: var(--space-sm);
}

.rank-category-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.rank-links {
  padding: var(--space-lg) 0;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--rule);
}

.rank-links p {
  max-width: var(--wrap-text);
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: var(--space-sm);
}

.rank-rules ul {
  max-width: var(--wrap-text);
  padding-left: 1.3em;
  font-size: 15px;
  line-height: 1.85;
}

/* --------------------------------------------------------------------------
   pages · 内页：阅读排查
   -------------------------------------------------------------------------- */

.help-intro-body {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: var(--space-lg);
  align-items: start;
}

.help-figure {
  min-width: 0;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background-color: var(--white);
  padding: 8px;
}

.help-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
}

.help-intro-text {
  min-width: 0;
}

.help-intro-text p {
  font-size: 16px;
  line-height: 1.85;
}

.decision-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
}

.decision-list > h2 {
  grid-column: 1 / -1;
}

.decision-item {
  min-width: 0;
  padding: var(--space-md);
  background-color: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
}

.decision-item h3 {
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: var(--space-sm);
  padding-left: 12px;
  border-left: 4px solid var(--chili);
}

.decision-body {
  min-width: 0;
}

.decision-label {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--plum);
}

.decision-body ul,
.decision-body ol {
  margin: 0 0 var(--space-sm);
  padding-left: 1.25em;
  font-size: 14px;
  line-height: 1.8;
}

.decision-return {
  margin: 0;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--rule);
  font-size: 14px;
}

.faq {
  max-width: var(--wrap-text);
}

.faq-item {
  border-bottom: 1px solid var(--rule);
}

.faq-item:first-of-type {
  border-top: 1px solid var(--rule);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 14px 4px;
  min-height: 44px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "展开";
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 400;
  color: var(--teal);
  border: 1px solid var(--teal);
  border-radius: 4px;
  padding: 2px 8px;
}

.faq-item[open] summary::after {
  content: "收起";
  color: var(--chili);
  border-color: var(--chili);
}

.faq-item summary:hover {
  background-color: rgba(0, 107, 95, 0.06);
}

.faq-item p {
  padding: 0 4px var(--space-md);
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.help-exits {
  padding-top: var(--space-lg);
  border-top: 2px solid var(--ink);
}

/* --------------------------------------------------------------------------
   pages · 内页：整理手记
   -------------------------------------------------------------------------- */

.origin-figure {
  max-width: 720px;
  margin-bottom: var(--space-md);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background-color: var(--white);
  padding: 8px;
}

.origin-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
}

.origin-body {
  max-width: var(--wrap-text);
}

.origin-body p {
  font-size: 16px;
  line-height: 1.85;
}

.principles-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: principle;
  max-width: var(--wrap-text);
}

.principles-list li {
  counter-increment: principle;
  position: relative;
  margin: 0 0 var(--space-md);
  padding: var(--space-md) var(--space-md) var(--space-md) 56px;
  background-color: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}

.principles-list li::before {
  content: counter(principle, decimal-leading-zero);
  position: absolute;
  left: 16px;
  top: var(--space-md);
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--plum);
}

.principles-list h3 {
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: 6px;
}

.principles-list p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
  max-width: var(--wrap-text);
}

.process-list li {
  counter-increment: process;
  position: relative;
  margin: 0 0 var(--space-md);
  padding: var(--space-md);
  padding-left: 52px;
  background-color: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
}

.process-list li::before {
  content: "步骤 " counter(process);
  position: absolute;
  left: 12px;
  top: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  writing-mode: vertical-rl;
  letter-spacing: 0;
}

.process-list h3 {
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: 8px;
}

.process-object,
.process-output {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.process-object strong,
.process-output strong {
  color: var(--plum);
}

.process-link {
  display: inline-block;
  margin-top: 4px;
  padding: 6px 0;
  min-height: 32px;
  font-size: 14px;
  font-weight: 700;
}

.recent-list {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: var(--wrap-text);
  border-top: 1px solid var(--rule);
}

.recent-list li {
  margin: 0;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--rule);
}

.recent-list p {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.8;
}

.recent-list .recent-batch {
  font-size: 13px;
  color: var(--plum);
  margin-bottom: 4px;
}

.recent-list a {
  display: inline-block;
  padding: 4px 0;
  min-height: 30px;
  font-size: 14px;
  font-weight: 700;
}

.corrections-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
}

.correction-item {
  min-width: 0;
  padding: var(--space-md);
  background-color: var(--white);
  border: 1px solid var(--rule);
  border-top: 4px solid var(--plum);
  border-radius: var(--radius);
}

.correction-item h3 {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 8px;
}

.correction-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* 整理手记页末下一步 */
.page-notes .next-steps {
  padding-top: var(--space-lg);
  border-top: 2px solid var(--ink);
}

.page-notes .next-steps ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
}

.page-notes .next-steps li {
  margin: 0;
  min-width: 0;
}

.page-notes .next-steps a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 700;
  background-color: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  text-decoration: none;
}

.page-notes .next-steps a:hover {
  background-color: var(--wheat);
}

/* --------------------------------------------------------------------------
   pages · 404
   -------------------------------------------------------------------------- */

.error-main {
  max-width: var(--wrap-inner);
  margin: 0 auto;
  padding: var(--space-2xl) 24px;
}

.error-hero {
  max-width: var(--wrap-text);
  padding-bottom: var(--space-lg);
  border-bottom: 2px solid var(--ink);
}

.error-hero h1 {
  font-size: 34px;
  line-height: 1.3;
  margin-bottom: var(--space-md);
}

.error-lead {
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: var(--space-sm);
}

.error-code {
  display: inline-block;
  margin: 0;
  padding: 4px 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--plum);
  background-color: var(--wheat);
  border-radius: var(--radius);
}

.error-paths {
  padding-top: var(--space-lg);
  max-width: var(--wrap-text);
}

.error-paths h2 {
  font-size: 22px;
  margin-bottom: var(--space-md);
}

.error-paths ul {
  margin: 0 0 var(--space-lg);
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.error-paths li {
  margin: 0;
  min-width: 0;
}

.error-paths li a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 700;
  background-color: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  text-decoration: none;
}

.error-paths li a:hover {
  background-color: var(--wheat);
}

.error-back {
  margin: 0;
}

.error-home {
  display: inline-block;
  padding: 12px 22px;
  min-height: 44px;
  font-size: 15px;
  font-weight: 700;
  background-color: var(--teal);
  color: var(--white);
  border: 2px solid var(--teal);
  border-radius: var(--radius);
  text-decoration: none;
}

.error-home:hover {
  background-color: var(--teal-dark);
  border-color: var(--teal-dark);
  color: var(--white);
}

/* --------------------------------------------------------------------------
   responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  h1 { font-size: 34px; }
  .hero-copy h1 { font-size: 34px; }
  .hero { gap: var(--space-lg); }
  .page-title { font-size: 30px; }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-back { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 768px) {
  .header-inner {
    min-height: 64px;
    padding: 0 16px;
    flex-wrap: wrap;
    gap: 8px;
  }

  .site-header { position: static; }

  .brand {
    font-size: 16px;
    padding: 5px 8px;
  }

  .main-nav {
    order: 3;
    flex: 1 0 100%;
    border-top: 1px solid var(--rule);
    padding-top: 6px;
    padding-bottom: 8px;
  }

  .site-nav ul {
    gap: 2px 12px;
  }

  .site-nav a {
    font-size: 14px;
    padding: 8px 2px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }

  .quick-jump-toggle {
    margin-left: auto;
    padding: 8px 12px;
    font-size: 13px;
  }

  .quick-jump-group {
    padding-left: 16px;
    padding-right: 16px;
  }

  .quick-jump-close {
    right: 16px;
  }

  .home-main,
  .inner-main,
  .error-main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-lg);
    padding-top: var(--space-lg);
    padding-bottom: var(--space-xl);
  }

  .hero-copy h1 { font-size: 28px; line-height: 1.28; }

  .hero-visual { order: 2; }

  .hero-needs {
    grid-template-columns: minmax(0, 1fr);
  }

  .genre-strip ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .exhibit,
  .series-exhibit {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-md);
  }

  .exhibit-reverse .exhibit-figure,
  .exhibit-reverse .exhibit-label,
  .series-exhibit-reverse .exhibit-media,
  .series-exhibit-reverse .series-label {
    order: initial;
  }

  .help-list,
  .rules dl,
  .corrections-grid,
  .decision-list,
  .rank-categories,
  .visit-info dl {
    grid-template-columns: minmax(0, 1fr);
  }

  .rules dl { gap: var(--space-md); }

  .next-steps,
  .page-notes .next-steps ul,
  .error-paths ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .series-exits ul,
  .genre-exits ul,
  .help-exits ul,
  .batch-help-links ul,
  .rank-links ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .rank-basis,
  .help-intro-body {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-md);
  }

  .page-title { font-size: 26px; line-height: 1.32; }
  .error-hero h1 { font-size: 26px; }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
    padding-left: 16px;
    padding-right: 16px;
  }

  .footer-nav {
    grid-column: 1;
    grid-row: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-left: 16px;
    padding-right: 16px;
    margin-top: var(--space-md);
  }

  .footer-bottom {
    grid-template-columns: minmax(0, 1fr);
    padding-left: 16px;
    padding-right: 16px;
  }

  .footer-back { text-align: left; }

  /* 长表格在移动端转为记录块 */
  .batch-table-section .batch-table,
  .batch-table-section .batch-table thead,
  .batch-table-section .batch-table tbody,
  .batch-table-section .batch-table tr,
  .batch-table-section .batch-table th,
  .batch-table-section .batch-table td {
    display: block;
    width: auto;
  }

  .batch-table-section .batch-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .batch-table-section .batch-table tr.batch-row {
    margin-bottom: 12px;
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    background-color: var(--white);
    padding: 4px 0;
  }

  .batch-table-section .batch-table tr.batch-row:last-child {
    margin-bottom: 0;
  }

  .batch-table-section .batch-table th,
  .batch-table-section .batch-table td {
    padding: 6px 14px;
    border-bottom: 1px solid var(--rule);
    text-align: left;
  }

  .batch-table-section .batch-table tr.batch-row > *:last-child {
    border-bottom: none;
  }

  .batch-table-section .batch-table tbody th {
    font-size: 14px;
    color: var(--plum);
    background-color: #FAF6EC;
    white-space: normal;
  }

  .batch-table-section .batch-table tbody td {
    display: grid;
    grid-template-columns: minmax(84px, auto) minmax(0, 1fr);
    gap: 10px;
    font-size: 14px;
  }

  .batch-table-section .batch-table tbody td::before {
    content: attr(data-label);
    font-size: 13px;
    font-weight: 700;
    color: var(--ink-soft);
  }

  /* 首页批次摘要表同样转为记录块 */
  .batch-preview .batch-table,
  .batch-preview .batch-table thead,
  .batch-preview .batch-table tbody,
  .batch-preview .batch-table tr,
  .batch-preview .batch-table th,
  .batch-preview .batch-table td {
    display: block;
    width: auto;
  }

  .batch-preview .batch-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .batch-preview .batch-table tr {
    margin-bottom: 12px;
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    background-color: var(--white);
    padding: 4px 0;
  }

  .batch-preview .batch-table tr:last-child {
    margin-bottom: 0;
  }

  .batch-preview .batch-table td {
    padding: 6px 14px;
    border-bottom: 1px solid var(--rule);
    text-align: left;
    font-size: 14px;
    display: grid;
    grid-template-columns: minmax(84px, auto) minmax(0, 1fr);
    gap: 10px;
  }

  .batch-preview .batch-table tr > td:last-child {
    border-bottom: none;
  }

  .batch-preview .batch-table td::before {
    content: attr(data-label);
    font-size: 13px;
    font-weight: 700;
    color: var(--ink-soft);
  }

  /* 题材总览表 */
  .genre-table,
  .genre-table thead,
  .genre-table tbody,
  .genre-table tr,
  .genre-table th,
  .genre-table td {
    display: block;
    width: auto;
  }

  .genre-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .genre-table tbody tr {
    margin-bottom: 12px;
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    background-color: var(--white);
    padding: 4px 0;
  }

  .genre-table tbody tr:last-child {
    margin-bottom: 0;
  }

  .genre-table tbody th {
    padding: 8px 14px;
    background-color: #FAF6EC;
    border-bottom: 1px solid var(--rule);
    font-size: 14px;
    white-space: normal;
  }

  .genre-table tbody td {
    padding: 6px 14px;
    border-bottom: 1px solid var(--rule);
    font-size: 14px;
    display: grid;
    grid-template-columns: minmax(84px, auto) minmax(0, 1fr);
    gap: 10px;
  }

  .genre-table tbody tr > td:last-child {
    border-bottom: none;
  }

  .genre-table tbody td::before {
    content: attr(data-label);
    font-size: 13px;
    font-weight: 700;
    color: var(--ink-soft);
  }

  .label-fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .label-fields dt {
    margin-top: 6px;
  }

  .label-fields dt:first-of-type {
    margin-top: 0;
  }

  .process-list li {
    padding-left: var(--space-md);
    padding-top: 40px;
  }

  .process-list li::before {
    writing-mode: horizontal-tb;
    top: 12px;
    left: var(--space-md);
  }

  .principles-list li {
    padding-left: 48px;
  }
}

@media (max-width: 480px) {
  body { font-size: 15px; }

  .hero-copy h1 { font-size: 25px; }
  .page-title { font-size: 23px; }
  .error-hero h1 { font-size: 23px; }
  h2 { font-size: 20px; }
  h3 { font-size: 17px; }

  .genre-strip ul { grid-template-columns: minmax(0, 1fr); }
  .footer-nav { grid-template-columns: minmax(0, 1fr); }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .exhibit-label h3,
  .series-label h3,
  .genre-section h3 {
    font-size: 18px;
  }

  .site-nav ul {
    gap: 0 10px;
  }

  .site-nav a {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
