/* ==========================================================================
   歪歪漫画在线 · 全站样式
   分组：基础重置 / 站点骨架 / 通用组件 / 首页模块 / 内页模块 / 响应式
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 基础与变量
   -------------------------------------------------------------------------- */
:root {
  --paper: #f3efe5;
  --card: #fffdf7;
  --ink: #1f2527;
  --muted: #69716c;
  --blue: #355d6b;
  --clay: #b36a4c;
  --line: #d9d1c2;
  --line-soft: #e6dfd2;
  --shadow: 0 1px 0 rgba(31, 37, 39, 0.04);
  --radius: 6px;
  --wrap: 1180px;
  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  --mono: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

p {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

a:hover {
  color: var(--clay);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}

.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;
}

/* --------------------------------------------------------------------------
   2. 站点骨架：页头 / 导航 / 主容器 / 页脚
   -------------------------------------------------------------------------- */
.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--card);
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  flex: 0 0 auto;
  color: var(--ink);
}

.brand:hover {
  color: var(--ink);
}

.brand-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.brand-sub {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.site-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list li {
  display: flex;
}

.nav-list a {
  display: inline-block;
  padding: 10px 14px;
  font-size: 15px;
  color: var(--ink);
  border-bottom: 2px solid transparent;
  line-height: 1.4;
}

.nav-list a:hover {
  color: var(--blue);
  border-bottom-color: var(--line);
}

.nav-list a.is-current {
  color: var(--blue);
  border-bottom-color: var(--blue);
  font-weight: 600;
}

.bulletin-entry {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  font-size: 13px;
  color: var(--ink);
  line-height: 1.4;
}

.bulletin-entry:hover {
  border-color: var(--clay);
  color: var(--clay);
}

.bulletin-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clay);
  flex: 0 0 auto;
}

.bulletin-label {
  font-weight: 600;
}

.bulletin-date {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--ink);
  font-size: 14px;
}

.menu-text {
  font-size: 14px;
}

.menu-bar {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.menu-bar::before,
.menu-bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.menu-bar::before {
  top: -6px;
}

.menu-bar::after {
  top: 6px;
}

.mobile-menu {
  border-top: 1px solid var(--line);
  background: var(--card);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu-list {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 8px 16px 16px;
}

.mobile-menu-list li {
  border-bottom: 1px solid var(--line-soft);
}

.mobile-menu-list li:last-child {
  border-bottom: 0;
}

.mobile-menu-list a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 8px 4px;
  font-size: 16px;
  color: var(--ink);
}

.mobile-menu-list a:hover {
  color: var(--blue);
}

/* 主内容 */
.site-main {
  flex: 1 0 auto;
  width: 100%;
}

.home-main {
  padding-bottom: 24px;
}

.inner-main {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px 72px;
}

/* 面包屑 */
.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  padding: 18px 0 0;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.breadcrumb-list li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb-list li + li::before {
  content: "/";
  color: var(--line);
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--blue);
}

.breadcrumb-sep {
  color: var(--line);
}

.breadcrumb-current {
  color: var(--ink);
}

/* 页标题区 */
.page-header {
  padding: 22px 0 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}

.page-title {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  max-width: 900px;
}

/* 页脚 */
.site-footer {
  background: var(--card);
  border-top: 1px solid var(--line);
  margin-top: auto;
}

.footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 44px 24px 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 40px;
}

.footer-brand-name {
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.footer-slogan {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
}

.footer-boundary {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 340px;
}

.footer-nav-title,
.footer-notes-title {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
}

.footer-nav-list li,
.footer-notes-list li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 8px;
}

.footer-nav-list a {
  color: var(--muted);
}

.footer-nav-list a:hover {
  color: var(--blue);
}

.footer-bottom {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 16px 24px 28px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
}

.footer-theme,
.footer-disclaimer {
  font-size: 12px;
  color: var(--muted);
  font-family: var(--mono);
}

/* --------------------------------------------------------------------------
   3. 通用组件
   -------------------------------------------------------------------------- */
.section-lead {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 760px;
  margin-top: 10px;
}

.section-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 760px;
  margin-top: 8px;
}

.section-head {
  margin-bottom: 22px;
}

.section-head h2 {
  font-size: clamp(22px, 2.4vw, 28px);
}

.section-title {
  font-size: clamp(22px, 2.4vw, 28px);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  background: var(--ink);
  color: var(--card);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
}

.btn-primary:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--card);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 15px;
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.handoff {
  margin-top: 56px;
}

.handoff-lead {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 760px;
  margin-top: 8px;
}

.handoff-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.handoff-list li {
  display: flex;
}

.handoff-list a {
  display: block;
  width: 100%;
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
}

.handoff-list a:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}

.handoff-name {
  display: block;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}

.handoff-desc {
  display: block;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   4. 首页模块
   -------------------------------------------------------------------------- */

/* 4.1 展签首屏 */
.hero-exhibit {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 48px 24px 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: start;
}

.hero-copy {
  min-width: 0;
}

.exhibit-no {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--clay);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.hero-copy h1 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.22;
}

.hero-lead {
  margin-top: 18px;
  font-size: 17px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-lists {
  margin-top: 32px;
  border-top: 1px solid var(--line);
}

.hero-list {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
  line-height: 1.7;
}

.hero-list-label {
  flex: 0 0 84px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--blue);
  letter-spacing: 0.04em;
}

.hero-list-text {
  flex: 1 1 auto;
  color: var(--muted);
  min-width: 0;
}

.hero-visual {
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}

.hero-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--line-soft);
}

.hero-caption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.hero-status {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--blue);
  letter-spacing: 0.02em;
}

/* 4.2 题材分区索引台 */
.subject-index-desk {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 8px 24px 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: start;
}

.subject-index {
  min-width: 0;
}

.subject-index h2 {
  font-size: clamp(22px, 2.4vw, 28px);
}

.index-list {
  margin-top: 20px;
  border-top: 1px solid var(--line);
}

.index-item {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
}

.index-no {
  flex: 0 0 34px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--clay);
}

.index-link {
  flex: 0 0 auto;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

.index-link:hover {
  color: var(--blue);
}

.index-range {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.subject-panels {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.subject-panel {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.subject-panel:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}

.subject-panel img {
  width: 96px;
  height: 120px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--line-soft);
}

.panel-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}

.panel-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 10px;
}

.panel-link {
  font-size: 13px;
  color: var(--blue);
  border-bottom: 1px solid var(--line);
}

.panel-link:hover {
  border-bottom-color: var(--clay);
}

/* 4.3 更新通告时间带 */
.update-strip {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 8px 24px 56px;
}

.strip-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.strip-head h2 {
  font-size: clamp(22px, 2.4vw, 28px);
}

.strip-more {
  font-size: 14px;
  color: var(--blue);
  border-bottom: 1px solid var(--line);
}

.strip-more:hover {
  border-bottom-color: var(--clay);
}

.strip-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 20px;
  border-top: 1px solid var(--line);
}

.strip-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 18px 18px 0;
  border-right: 1px solid var(--line-soft);
  min-width: 0;
}

.strip-item:last-child {
  border-right: 0;
  padding-right: 0;
}

.strip-item + .strip-item {
  padding-left: 18px;
}

.strip-date {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.strip-type {
  align-self: flex-start;
  font-size: 12px;
  color: var(--clay);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 1px 7px;
  line-height: 1.6;
}

.strip-text {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.7;
}

.strip-link {
  margin-top: auto;
  font-size: 13px;
  color: var(--blue);
}

.strip-link:hover {
  color: var(--clay);
}

/* 4.4 新近编目封面墙 */
.newly-catalogued {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 8px 24px 56px;
}

.newly-catalogued h2 {
  font-size: clamp(22px, 2.4vw, 28px);
}

.cover-wall {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
  align-items: start;
}

.cover-card {
  min-width: 0;
}

.cover-card:nth-child(2n) {
  margin-top: 26px;
}

.cover-link {
  display: block;
  color: var(--ink);
}

.cover-link:hover {
  color: var(--ink);
}

.cover-frame {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px;
  box-shadow: var(--shadow);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.cover-link:hover .cover-frame {
  border-color: var(--blue);
  transform: translateY(-2px);
}

.cover-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 3px;
}

.cover-no {
  display: block;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--clay);
  letter-spacing: 0.04em;
}

.cover-name {
  display: block;
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.cover-meta {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

/* 4.5 编目顺序榜 */
.catalogue-order {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 8px 24px 56px;
}

.catalogue-order h2 {
  font-size: clamp(22px, 2.4vw, 28px);
}

.order-list {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.order-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: start;
}

.order-no {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 600;
  color: var(--line);
  line-height: 1.2;
}

.order-body {
  min-width: 0;
}

.order-name {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
}

.order-reason {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 760px;
  margin-bottom: 6px;
}

.order-link {
  font-size: 13px;
  color: var(--blue);
}

.order-link:hover {
  color: var(--clay);
}

/* 4.6 找漫路线摘要 */
.route-brief {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 8px 24px 56px;
}

.route-brief h2 {
  font-size: clamp(22px, 2.4vw, 28px);
}

.route-brief .route-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.route-brief .route-step {
  min-width: 0;
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.route-brief .step-no {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--clay);
  letter-spacing: 0.06em;
}

.route-brief .step-title {
  font-size: 16px;
  font-weight: 600;
}

.route-brief .step-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  flex: 1 1 auto;
}

.route-brief .step-link {
  font-size: 13px;
  color: var(--blue);
}

.route-brief .step-link:hover {
  color: var(--clay);
}

/* 4.7 完结陈列摘要 */
.completed-brief {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 8px 24px 56px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: start;
}

.completed-visual {
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}

.completed-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
}

.completed-caption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.completed-notes {
  min-width: 0;
}

.completed-notes h2 {
  font-size: clamp(22px, 2.4vw, 28px);
}

.note-list {
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.note-item {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
}

.note-no {
  flex: 0 0 30px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--clay);
}

.note-text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
}

.completed-notes .btn-ghost {
  margin-top: 20px;
}

/* 4.8 阅读边界与纠错条 */
.boundary-note {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px 64px;
}

.boundary-note h2 {
  font-size: 18px;
  margin-bottom: 8px;
}

.boundary-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 820px;
}

.boundary-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  color: var(--blue);
  border-bottom: 1px solid var(--line);
}

.boundary-link:hover {
  border-bottom-color: var(--clay);
}

/* --------------------------------------------------------------------------
   5. 内页模块
   -------------------------------------------------------------------------- */

/* 5.1 通用页导语 */
.page-intro {
  margin-bottom: 32px;
}

.page-code {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--clay);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.page-lead {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.85;
  max-width: 760px;
}

.page-intro-inner {
  min-width: 0;
}

.page-eyebrow {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--clay);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.page-no {
  color: var(--clay);
}

.page-en {
  color: var(--muted);
}

/* 5.2 题材分区页 */
.section-index {
  margin-bottom: 40px;
}

.section-index-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.section-index-list li {
  min-width: 0;
}

.section-index-list a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  height: 100%;
}

.section-index-list a:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}

.index-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--clay);
}

.index-name {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
}

.section-index-list .index-range {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.subject-spread {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.subject-block {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: start;
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  scroll-margin-top: 96px;
}

.subject-figure {
  min-width: 0;
}

.subject-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--line-soft);
}

.subject-figure figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.subject-caption {
  min-width: 0;
}

.subject-code {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--clay);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.subject-caption h2 {
  font-size: clamp(20px, 2.2vw, 25px);
  margin-bottom: 10px;
}

.subject-range,
.subject-timing {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 8px;
}

.subject-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 14px;
  color: var(--blue);
  border-bottom: 1px solid var(--line);
}

.subject-link:hover {
  border-bottom-color: var(--clay);
}

.usage-notes {
  margin-top: 56px;
}

.usage-notes h2 {
  font-size: clamp(22px, 2.4vw, 28px);
}

.usage-lead {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 760px;
  margin-top: 8px;
}

.usage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.usage-card {
  min-width: 0;
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.usage-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--clay);
  margin-bottom: 8px;
}

.usage-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.usage-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

/* 5.3 作品档案页 */
.status-anchors {
  margin-bottom: 36px;
}

.status-anchor-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.status-anchor-item {
  min-width: 0;
}

.status-anchor-item a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  height: 100%;
}

.status-anchor-item a:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}

.status-anchor-code {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--clay);
}

.status-anchor-name {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
}

.status-anchor-count {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.field-guide {
  margin-bottom: 40px;
}

.field-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.field-table th,
.field-table td {
  padding: 12px 16px;
  text-align: left;
  font-size: 14px;
  line-height: 1.7;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}

.field-table thead th {
  background: var(--paper);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  font-weight: 600;
}

.field-table tbody th {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.field-table tbody td {
  color: var(--muted);
}

.field-table tbody tr:last-child th,
.field-table tbody tr:last-child td {
  border-bottom: 0;
}

.archive-groups {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.archive-group {
  scroll-margin-top: 96px;
}

.archive-group-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: clamp(20px, 2.2vw, 24px);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.archive-group-count {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--clay);
  font-weight: 400;
}

.archive-group-note {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin-top: 10px;
  max-width: 760px;
}

.archive-list {
  margin-top: 16px;
  border-top: 1px solid var(--line-soft);
}

.archive-row {
  border-bottom: 1px solid var(--line-soft);
}

.archive-row-link {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.9fr 0.9fr 1.4fr;
  gap: 14px;
  padding: 13px 8px;
  color: var(--ink);
  align-items: baseline;
}

.archive-row-link:hover {
  background: var(--card);
  color: var(--ink);
}

.archive-field {
  font-size: 14px;
  line-height: 1.7;
  min-width: 0;
  overflow-wrap: anywhere;
}

.archive-field-name {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
}

.archive-field-subject,
.archive-field-level {
  color: var(--muted);
}

.archive-field-status {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--blue);
}

.archive-field-notice {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.archive-figure {
  margin-top: 32px;
  max-width: 520px;
}

.archive-figure-frame {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
}

.archive-figure-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
}

.related-links {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.related-links-item {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 14px;
}

.related-links-label {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.archive-handoff {
  margin-top: 56px;
}

.archive-handoff .handoff-list a {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.handoff-code {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--clay);
}

/* 5.4 更新通告页 */
.bulletin-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}

.bulletin-types {
  min-width: 0;
}

.bulletin-type-list {
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.bulletin-type-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}

.type-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  padding: 1px 8px;
  border-radius: 3px;
  border: 1px solid var(--line);
  color: var(--clay);
  line-height: 1.7;
  margin-bottom: 6px;
}

.type-new {
  color: var(--blue);
  border-color: var(--line);
}

.type-fill {
  color: var(--clay);
}

.type-move {
  color: var(--muted);
}

.type-end {
  color: var(--ink);
}

.type-mean {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.type-scope {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.bulletin-timeline {
  min-width: 0;
}

.timeline-list {
  margin-top: 18px;
  border-left: 2px solid var(--line);
  padding-left: 20px;
}

.timeline-item {
  position: relative;
  padding: 0 0 22px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--blue);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-date {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.timeline-type {
  display: inline-block;
  font-size: 12px;
  color: var(--clay);
  margin: 2px 0 4px;
}

.timeline-summary {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
}

.timeline-target {
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}

.timeline-target a {
  color: var(--blue);
  border-bottom: 1px solid var(--line-soft);
}

.timeline-target a:hover {
  border-bottom-color: var(--clay);
}

.affected-pages {
  margin-bottom: 40px;
}

.affected-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: start;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.affected-head {
  grid-column: 1 / -1;
}

.affected-figure {
  min-width: 0;
}

.affected-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--line-soft);
}

.affected-caption {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.caption-date {
  color: var(--clay);
}

.affected-list {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.affected-item {
  min-width: 0;
}

.affected-item a {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
}

.affected-item a:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}

.affected-name {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
}

.affected-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.correction-hint {
  margin-bottom: 16px;
}

.hint-inner {
  padding: 20px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.hint-title {
  font-size: 18px;
  margin-bottom: 8px;
}

.hint-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 820px;
}

.hint-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  color: var(--blue);
  border-bottom: 1px solid var(--line);
}

.hint-link:hover {
  border-bottom-color: var(--clay);
}

/* 5.5 找漫路线页 */
.intro-kicker {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--clay);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.intro-lead {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.85;
  max-width: 760px;
}

.intro-figure {
  margin-top: 22px;
  max-width: 720px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
}

.intro-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
}

.figure-caption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.route-selector {
  margin-bottom: 44px;
}

.route-selector-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.route-card {
  min-width: 0;
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.route-card-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--clay);
}

.route-card-title {
  font-size: 17px;
  font-weight: 600;
}

.route-card-title a {
  color: var(--ink);
  border-bottom: 1px solid transparent;
}

.route-card-title a:hover {
  color: var(--blue);
  border-bottom-color: var(--line);
}

.route-card-state {
  font-size: 13px;
  color: var(--blue);
  line-height: 1.7;
}

.route-card-tip {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.route-details {
  margin-bottom: 44px;
}

.route-detail {
  padding: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-top: 18px;
  scroll-margin-top: 96px;
}

.route-detail-head {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 8px 14px;
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 16px;
}

.route-detail-num {
  font-family: var(--mono);
  font-size: 20px;
  color: var(--line);
  font-weight: 600;
}

.route-detail-title {
  font-size: 20px;
}

.route-detail-summary {
  grid-column: 2 / 3;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.route-detail .route-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.route-detail .route-step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.route-detail .step-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--clay);
  padding-top: 3px;
}

.step-body {
  min-width: 0;
}

.route-detail .step-title {
  font-size: 16px;
  margin-bottom: 4px;
}

.step-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 4px;
}

.route-detail .step-link {
  font-size: 13px;
  color: var(--blue);
}

.route-detail .step-link:hover {
  color: var(--clay);
}

.route-matrix {
  margin-bottom: 44px;
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.matrix-table th,
.matrix-table td {
  padding: 12px 14px;
  text-align: left;
  font-size: 14px;
  line-height: 1.7;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}

.matrix-table thead th {
  background: var(--paper);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.matrix-table tbody th {
  font-weight: 600;
  white-space: nowrap;
}

.matrix-table tbody td {
  color: var(--muted);
}

.matrix-table tbody tr:last-child th,
.matrix-table tbody tr:last-child td {
  border-bottom: 0;
}

.level-notes {
  margin-bottom: 8px;
}

.level-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.level-item {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.level-name {
  font-size: 16px;
  margin-bottom: 6px;
}

.level-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.handoff-item {
  min-width: 0;
}

/* 5.6 完结陈列页 */
.completed-groups {
  margin-bottom: 36px;
}

.completed-groups-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.completed-group {
  min-width: 0;
}

.completed-group a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  height: 100%;
}

.completed-group a:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}

.group-number {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--clay);
}

.group-name {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
}

.group-hint {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.completed-wall {
  margin-bottom: 48px;
}

.completed-lead-figure {
  margin: 0 0 26px;
  max-width: 860px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
}

.completed-lead-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
}

.completed-wall-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.completed-card {
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  scroll-margin-top: 96px;
}

.completed-card-link {
  display: block;
  color: var(--ink);
}

.completed-card-link:hover {
  color: var(--ink);
}

.completed-card-figure {
  padding: 10px 10px 0;
}

.completed-card-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--line-soft);
}

.completed-card-link:hover .completed-card-figure img {
  border-color: var(--blue);
}

.completed-card-caption {
  padding: 12px 14px 16px;
}

.completed-card-code {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--clay);
  margin-bottom: 4px;
}

.completed-card-name {
  font-size: 17px;
  margin-bottom: 8px;
}

.completed-card-meta {
  margin: 0 0 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: 13px;
  color: var(--muted);
}

.completed-card-meta dt {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}

.completed-card-meta dd {
  margin: 0;
  color: var(--ink);
}

.completed-card-note {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.reading-notes {
  margin-bottom: 44px;
}

.reading-notes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.reading-note {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.reading-note-title {
  font-size: 17px;
  margin-bottom: 8px;
}

.reading-note p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.archive-distinction {
  margin-bottom: 8px;
}

.distinction-inner {
  padding: 20px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.distinction-inner h2 {
  font-size: 18px;
  margin-bottom: 8px;
}

.distinction-inner p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 820px;
}

.distinction-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 10px;
  font-size: 14px;
}

/* 5.7 纠错台 */
.intro-inner {
  min-width: 0;
}

.intro-code {
  color: var(--clay);
}

.correction-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  grid-template-areas:
    "figure scope"
    "prepare process";
  gap: 32px 40px;
  align-items: start;
  margin-bottom: 48px;
}

.correction-figure {
  grid-area: figure;
  min-width: 0;
}

.desk-figure {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
}

.desk-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
}

.desk-caption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.check-scope {
  grid-area: scope;
  min-width: 0;
}

.prepare-list {
  grid-area: prepare;
  min-width: 0;
}

.process-list {
  grid-area: process;
  min-width: 0;
}

.check-scope h2,
.prepare-list h2,
.process-list h2 {
  font-size: clamp(20px, 2.2vw, 24px);
}

.block-lead {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 8px;
  max-width: 720px;
}

.scope-list {
  margin-top: 16px;
  border-top: 1px solid var(--line);
}

.scope-item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 4px 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
}

.scope-code {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--clay);
}

.scope-item h3 {
  font-size: 15px;
  font-weight: 600;
}

.scope-item p {
  grid-column: 2 / 3;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.prepare-items {
  margin-top: 16px;
  border-top: 1px solid var(--line);
}

.prepare-item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
}

.prepare-code {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--clay);
}

.prepare-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  min-width: 0;
}

.process-steps {
  margin-top: 16px;
  border-top: 1px solid var(--line);
}

.process-step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 4px 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
}

.process-step .step-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--clay);
}

.process-step h3 {
  font-size: 15px;
  font-weight: 600;
}

.process-step p {
  grid-column: 2 / 3;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.process-step p a {
  color: var(--blue);
  border-bottom: 1px solid var(--line-soft);
}

.process-step p a:hover {
  border-bottom-color: var(--clay);
}

.faq {
  margin-bottom: 44px;
}

.faq h2 {
  font-size: clamp(22px, 2.4vw, 28px);
}

.faq-list {
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line-soft);
}

.faq-item summary {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 15px 0;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  cursor: pointer;
  min-height: 44px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: "+";
  font-family: var(--mono);
  font-size: 16px;
  color: var(--clay);
  flex: 0 0 auto;
}

.faq-item[open] summary::before {
  content: "−";
}

.faq-item summary:hover {
  color: var(--blue);
}

.faq-item p {
  padding: 0 0 16px 26px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 820px;
}

.boundary-note a {
  color: var(--blue);
  border-bottom: 1px solid var(--line);
}

.boundary-note a:hover {
  border-bottom-color: var(--clay);
}

/* 5.8 404 页 */
.error-main {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.error-panel {
  max-width: 640px;
  margin-bottom: 44px;
}

.error-code {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--clay);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.error-title {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 14px;
}

.error-lead {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.85;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.error-home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  background: var(--ink);
  color: var(--card);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
}

.error-home-link:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--card);
}

.error-route-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 15px;
}

.error-route-link:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.error-guide {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.error-guide-title {
  font-size: 18px;
  margin-bottom: 14px;
}

.error-guide-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.error-guide-list li {
  min-width: 0;
}

.error-guide-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 14px;
}

.error-guide-list a:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.error-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   6. 响应式
   -------------------------------------------------------------------------- */

/* 6.1 中等桌面 / 平板横屏 */
@media (max-width: 1024px) {
  .header-inner {
    padding: 0 18px;
    gap: 16px;
  }

  .nav-list a {
    padding: 10px 10px;
    font-size: 14px;
  }

  .brand-name {
    font-size: 20px;
  }

  .hero-exhibit {
    padding: 40px 18px 48px;
    gap: 32px;
  }

  .subject-index-desk,
  .update-strip,
  .newly-catalogued,
  .catalogue-order,
  .route-brief,
  .completed-brief,
  .boundary-note {
    padding-left: 18px;
    padding-right: 18px;
  }

  .cover-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cover-card:nth-child(2n) {
    margin-top: 0;
  }

  .cover-card:nth-child(3n + 2) {
    margin-top: 22px;
  }

  .strip-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .strip-item {
    border-right: 0;
    padding: 16px 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .strip-item + .strip-item {
    padding-left: 0;
  }

  .strip-item:nth-child(odd) {
    padding-right: 18px;
  }

  .strip-item:nth-child(even) {
    padding-left: 18px;
    border-left: 1px solid var(--line-soft);
  }

  .route-brief .route-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-index-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .inner-main {
    padding: 0 18px 64px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 36px 18px 28px;
  }

  .footer-notes {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    padding: 14px 18px 24px;
  }

  .archive-row-link {
    grid-template-columns: 1.3fr 1fr 0.9fr 1fr;
  }

  .archive-field-notice {
    grid-column: 1 / -1;
    padding-left: 0;
  }
}

/* 6.2 平板竖屏 / 手机导航切换 */
@media (max-width: 768px) {
  .header-inner {
    min-height: 64px;
    gap: 10px;
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .site-nav {
    flex: 0 0 auto;
  }

  .nav-list {
    display: none;
  }

  .nav-list.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 12px;
    z-index: 70;
  }

  .nav-list.is-open li {
    display: block;
    border-bottom: 1px solid var(--line-soft);
  }

  .nav-list.is-open li:last-child {
    border-bottom: 0;
  }

  .nav-list.is-open a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 8px 4px;
    font-size: 16px;
    border-bottom: 0;
  }

  .site-header {
    position: relative;
  }

  .bulletin-entry {
    margin-left: auto;
    padding: 6px 10px;
    font-size: 12px;
  }

  .bulletin-date {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-menu {
    display: none;
  }

  .hero-exhibit {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 32px 16px 40px;
  }

  .hero-copy h1 {
    font-size: clamp(30px, 7vw, 40px);
  }

  .hero-lead {
    font-size: 15px;
  }

  .subject-index-desk {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 0 16px 40px;
  }

  .update-strip,
  .newly-catalogued,
  .catalogue-order,
  .route-brief,
  .boundary-note {
    padding: 0 16px 40px;
  }

  .completed-brief {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 0 16px 40px;
  }

  .cover-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .cover-card:nth-child(3n + 2) {
    margin-top: 0;
  }

  .cover-card:nth-child(2n) {
    margin-top: 18px;
  }

  .order-item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
  }

  .order-no {
    font-size: 18px;
  }

  .route-brief .route-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .inner-main {
    padding: 0 16px 56px;
  }

  .page-header {
    padding: 18px 0 16px;
    margin-bottom: 22px;
  }

  .page-title {
    font-size: clamp(24px, 6vw, 32px);
  }

  .breadcrumb {
    padding-top: 14px;
  }

  .subject-block {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 16px;
  }

  .usage-grid,
  .level-list,
  .reading-notes-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .handoff-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .status-anchor-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-index-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bulletin-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .affected-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 18px;
  }

  .route-selector-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .route-detail {
    padding: 18px;
  }

  .route-detail-head {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .completed-groups-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .completed-wall-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .correction-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "figure"
      "scope"
      "prepare"
      "process";
    gap: 28px;
  }

  .error-main {
    padding: 40px 16px 72px;
  }

  .error-guide-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 32px 16px 24px;
  }

  .footer-notes {
    grid-column: auto;
  }

  .footer-boundary {
    max-width: none;
  }

  .footer-bottom {
    padding: 14px 16px 24px;
    flex-direction: column;
    gap: 6px;
  }

  /* 作品档案列表转字段卡 */
  .archive-row-link {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 14px 4px;
  }

  .archive-field-name {
    font-size: 16px;
    padding-bottom: 4px;
    border-bottom: 1px dashed var(--line-soft);
    margin-bottom: 2px;
  }

  .archive-field-subject::before {
    content: "题材 ";
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
  }

  .archive-field-status::before {
    content: "状态 ";
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
  }

  .archive-field-level::before {
    content: "阅读层级 ";
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
  }

  .archive-field-notice::before {
    content: "最近通告 ";
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
  }

  .archive-field-notice {
    grid-column: auto;
  }

  /* 表格在手机上保留横向可读宽度 */
  .field-table,
  .matrix-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius);
  }

  .field-table thead,
  .field-table tbody,
  .matrix-table thead,
  .matrix-table tbody {
    display: table;
    width: 100%;
    min-width: 520px;
  }

  .field-table tbody th,
  .matrix-table tbody th {
    white-space: normal;
  }
}

/* 6.3 390px 手机 */
@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .header-inner {
    padding: 0 14px;
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-sub {
    font-size: 10px;
  }

  .bulletin-label {
    font-size: 12px;
  }

  .menu-text {
    display: none;
  }

  .menu-toggle {
    padding: 0 10px;
  }

  .hero-exhibit {
    padding: 26px 14px 34px;
  }

  .hero-copy h1 {
    font-size: clamp(28px, 8vw, 34px);
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    flex: 1 1 auto;
    min-height: 48px;
    padding: 0 16px;
    font-size: 14px;
  }

  .hero-list {
    flex-direction: column;
    gap: 4px;
  }

  .hero-list-label {
    flex-basis: auto;
  }

  .subject-index-desk,
  .update-strip,
  .newly-catalogued,
  .catalogue-order,
  .route-brief,
  .completed-brief,
  .boundary-note {
    padding-left: 14px;
    padding-right: 14px;
    padding-bottom: 34px;
  }

  .subject-panel {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }

  .subject-panel img {
    width: 76px;
    height: 96px;
  }

  .index-item {
    flex-wrap: wrap;
    gap: 4px 10px;
  }

  .index-range {
    flex-basis: 100%;
    padding-left: 44px;
  }

  .strip-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .strip-item,
  .strip-item:nth-child(odd),
  .strip-item:nth-child(even) {
    padding: 14px 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .strip-item:last-child {
    border-bottom: 0;
  }

  .cover-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .cover-card:nth-child(2n) {
    margin-top: 14px;
  }

  .cover-name {
    font-size: 14px;
  }

  .inner-main {
    padding: 0 14px 48px;
  }

  .page-title {
    font-size: clamp(23px, 7vw, 28px);
  }

  .page-lead {
    font-size: 15px;
  }

  .section-index-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .status-anchor-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .archive-row-link {
    padding: 12px 2px;
  }

  .affected-inner {
    padding: 14px;
  }

  .route-selector-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .route-detail {
    padding: 14px;
  }

  .route-detail-head {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .route-detail .route-step {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 8px;
  }

  .completed-wall-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .completed-card-figure img {
    aspect-ratio: 4 / 3;
  }

  .reading-note,
  .usage-card,
  .level-item {
    padding: 16px;
  }

  .correction-layout {
    gap: 24px;
  }

  .scope-item,
  .prepare-item,
  .process-step {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 3px 10px;
  }

  .faq-item summary {
    font-size: 15px;
  }

  .faq-item p {
    padding-left: 22px;
  }

  .error-guide-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .error-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-inner {
    padding: 28px 14px 22px;
  }

  .footer-bottom {
    padding: 12px 14px 22px;
  }

  .footer-theme,
  .footer-disclaimer {
    font-size: 11px;
  }
}
