/* ==========================================================================
   奇漫屋 cnlsyj.com — 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. base — 变量、重置、排版、通用元素
   -------------------------------------------------------------------------- */
:root {
  --paper: #f5f4f0;
  --surface: #ffffff;
  --ink: #191b1f;
  --ink-soft: #6a6f78;
  --line: #ddd9cf;
  --line-soft: #eae7de;
  --blue: #2f5bea;
  --blue-soft: #eaeefb;
  --mark: #e8552d;
  --radius: 6px;
  --radius-sm: 4px;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans SC", sans-serif;
  --font-mono: "SF Mono", "Consolas", "Menlo", "Courier New", monospace;
  --wrap: 1080px;
  --header-h: 64px;
  --shadow-panel: 0 1px 0 rgba(25, 27, 31, 0.04);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.9;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
}

h1 {
  font-size: 28px;
  line-height: 1.3;
}

h2 {
  font-size: 20px;
  line-height: 1.4;
}

h3 {
  font-size: 16px;
  line-height: 1.5;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease;
}

a:hover,
a:focus-visible {
  color: #1f43bd;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  cursor: pointer;
}

figure {
  margin: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   2. layout — 骨架：body / header / nav / main / breadcrumb / page-header / footer
   -------------------------------------------------------------------------- */

.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.9;
}

/* --- 页头 --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 244, 240, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(4px);
}

.header-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.brand:hover,
.brand:focus-visible {
  color: var(--blue);
}

/* --- 主导航 --- */
.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link,
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 150ms ease, color 150ms ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: var(--blue-soft);
  color: var(--blue);
}

.nav-link.is-current {
  color: var(--blue);
  font-weight: 600;
}

.nav-toggle::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-top: 2px;
  opacity: 0.7;
}

/* 下拉面板 */
.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 200px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(25, 27, 31, 0.08);
  display: none;
  z-index: 60;
}

.nav-item.has-dropdown:hover .dropdown,
.nav-item.has-dropdown:focus-within .dropdown {
  display: block;
}

.dropdown li a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
}

.dropdown li a:hover,
.dropdown li a:focus-visible {
  background: var(--blue-soft);
  color: var(--blue);
}

/* --- 移动菜单按钮 --- */
.menu-button {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
}

.menu-button[aria-expanded="true"] .menu-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-button[aria-expanded="true"] .menu-bar:nth-child(2) {
  opacity: 0;
}

.menu-button[aria-expanded="true"] .menu-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- 移动导航 --- */
.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.mobile-nav.is-open {
  display: block;
}

.mobile-list {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 8px 20px 16px;
}

.mobile-group-title {
  padding: 12px 0 4px;
  color: var(--ink-soft);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.mobile-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  color: var(--ink);
  font-size: 15px;
  border-bottom: 1px solid var(--line-soft);
}

.mobile-link:hover,
.mobile-link:focus-visible {
  color: var(--blue);
}

/* --- 主内容区 --- */
.site-main {
  flex: 1 0 auto;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 32px 20px 64px;
}

.home-main {
  padding-top: 36px;
}

.inner-main {
  padding-top: 24px;
}

/* --- 面包屑 --- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.6;
}

.breadcrumb a {
  color: var(--ink-soft);
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--blue);
}

.breadcrumb-sep {
  color: #b6b1a4;
}

.breadcrumb-current {
  color: var(--ink);
}

/* --- 内页标题区（程序锁定） --- */
.page-header {
  margin-bottom: 8px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.page-title {
  font-size: 28px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--ink);
}

/* --- 页脚 --- */
.site-footer {
  flex-shrink: 0;
  margin-top: 24px;
  background: #efeee8;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 40px 20px 28px;
}

.footer-brand {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.brand-footer {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.footer-slogan {
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink-soft);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-bottom: 28px;
}

.footer-title {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.footer-list li {
  margin-bottom: 6px;
}

.footer-list a {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

.footer-list a:hover,
.footer-list a:focus-visible {
  color: var(--blue);
}

.footer-note {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.footer-copy {
  margin-top: 6px;
  font-size: 12px;
  color: #8f8a7e;
}

/* --------------------------------------------------------------------------
   3. components — 通用组件：标题、标签、按钮、表格、图片、FAQ、内链
   -------------------------------------------------------------------------- */

/* --- 区块标题 --- */
.section-title {
  font-size: 20px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--ink);
}

.section-lead,
.section-desc,
.section-lede,
.section-intro {
  margin-top: 6px;
  max-width: 720px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.section-head-main {
  min-width: 0;
}

.section-more {
  font-size: 13px;
  color: var(--blue);
  white-space: nowrap;
}

.section-more::after {
  content: " →";
}

/* --- 标签 --- */
.tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

a.tag:hover,
a.tag:focus-visible {
  border-color: var(--blue);
  background: #dfe6fb;
}

.tag-inline {
  height: 22px;
  padding: 0 8px;
  font-size: 11px;
}

/* --- 状态标签（首页 / 目录 / 更新） --- */
.status,
.tag-status {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.status-ongoing,
.tag-ongoing,
.is-ongoing {
  background: #fdece5;
  color: var(--mark);
}

.status-paused,
.tag-paused,
.is-paused {
  background: #f2efe6;
  color: #8a7a4a;
}

.status-completed,
.tag-finished,
.is-complete {
  background: #e9f0ec;
  color: #3f7a5c;
}

.tag-genre {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: var(--radius-sm);
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

/* --- 按钮 --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

.btn-primary {
  background: var(--blue);
  color: #ffffff;
  border-color: var(--blue);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #1f43bd;
  border-color: #1f43bd;
  color: #ffffff;
}

.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--blue);
  color: var(--blue);
}

/* --- 表格容器 --- */
.table-wrap,
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.data-table {
  width: 100%;
  min-width: 0;
  font-size: 14px;
  line-height: 1.6;
}

.data-table caption {
  padding: 10px 14px;
  text-align: left;
  font-size: 13px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line-soft);
}

.data-table th,
.data-table td {
  padding: 11px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
}

.data-table thead th {
  background: #faf9f5;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover {
  background: #fbfaf6;
}

.cell-date,
.cell-num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.cell-date {
  color: var(--ink-soft);
}

.cell-num {
  color: var(--ink);
}

.cell-work,
.cell-title {
  color: var(--ink);
  font-weight: 500;
}

.cell-genre {
  color: var(--ink);
  font-weight: 500;
  white-space: nowrap;
}

.cell-desc {
  color: var(--ink-soft);
}

/* --- 图片容器通用 --- */
.page-title-figure,
.media-figure,
.tag-figure {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.page-title-figure img,
.media-figure img,
.tag-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

figcaption {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* --- FAQ --- */
.faq-list {
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  position: relative;
  padding: 14px 36px 14px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-answer {
  padding: 0 0 16px;
  max-width: 720px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-soft);
}

/* --- 内链块 --- */
.next-links {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.next-link-list,
.next-links-list,
.next-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.next-link-list li,
.next-links-list li,
.next-list li {
  min-width: 0;
}

.next-link-list a,
.next-links-list a,
.next-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}

.next-link-list a:hover,
.next-links-list a:hover,
.next-list a:hover,
.next-link-list a:focus-visible,
.next-links-list a:focus-visible,
.next-list a:focus-visible {
  border-color: var(--blue);
  color: var(--blue);
}

.next-link-desc,
.next-desc {
  display: block;
  margin-top: 6px;
  padding: 0 2px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   4. pages — 首页
   -------------------------------------------------------------------------- */

/* --- 控制台首屏 --- */
.console {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 40px;
  align-items: start;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.console-main {
  min-width: 0;
}

.console-eyebrow {
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--blue);
}

.console-main h1 {
  font-size: 30px;
  line-height: 1.3;
  font-weight: 700;
}

.console-lead {
  margin-top: 14px;
  max-width: 560px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.console-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* --- 任务入口卡 --- */
.console-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.task-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  min-height: 96px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  box-shadow: var(--shadow-panel);
}

.task-card:hover,
.task-card:focus-visible {
  border-color: var(--blue);
  color: var(--ink);
}

.task-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.task-card-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

.task-card-desc {
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.task-card-arrow {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--blue);
}

/* --- 题材标签行 --- */
.genre-strip {
  padding: 32px 0 4px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

/* --- 封面墙 --- */
.cover-wall {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.cover-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.cover-hero {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.cover-hero img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  max-height: 320px;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.cover-hero-caption {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 20px 22px;
}

.cover-hero-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}

.cover-hero-desc {
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.cover-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 150ms ease;
}

.cover-card:hover {
  border-color: var(--blue);
}

.cover-zoom {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #f0eee8;
  overflow: hidden;
}

.cover-zoom img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 200ms ease;
}

.cover-zoom:hover img,
.cover-zoom:focus-visible img {
  transform: scale(1.02);
}

.cover-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px 16px;
}

.cover-name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

.cover-desc {
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* --- 最近更新速览 --- */
.update-peek {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.update-peek .table-wrap {
  margin-top: 16px;
}

/* --- 题材索引 --- */
.genre-index {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.genre-index .table-wrap {
  margin-top: 16px;
}

.genre-index .data-table td:last-child {
  white-space: nowrap;
  width: 1%;
}

.genre-index .data-table td:last-child a {
  font-size: 13px;
}

/* --- 编辑导读 --- */
.editor-picks {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.pick-list {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.pick-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.pick-num {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--blue);
}

.pick-body {
  min-width: 0;
}

.pick-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

.pick-text {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-soft);
}

/* --- 阅读说明与内容边界 --- */
.scope-note {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.scope-text {
  margin-top: 14px;
  max-width: 760px;
}

.scope-text p {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.scope-list {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
}

.scope-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink);
}

.scope-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line);
}

.scope-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}

.link-inline {
  font-size: 14px;
  color: var(--blue);
}

.link-inline::after {
  content: " →";
}

/* --------------------------------------------------------------------------
   5. pages — 作品目录
   -------------------------------------------------------------------------- */
.content-wrap {
  margin-top: 24px;
}

/* 目录页标题区：左文右图 */
.page-catalog .page-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: start;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.page-catalog .page-title-main {
  min-width: 0;
}

.page-catalog .page-lead {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.page-catalog .page-title-figure {
  width: 100%;
}

.page-catalog .page-title-figure figcaption {
  padding: 8px 12px;
  border-top: 1px solid var(--line-soft);
}

/* 筛选条 */
.filters {
  margin-top: 32px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 16px;
}

.filter-group {
  display: grid;
  gap: 8px;
}

.filter-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  line-height: 1;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

.filter-btn:hover,
.filter-btn:focus-visible {
  border-color: var(--blue);
  color: var(--blue);
}

.filter-btn.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: #ffffff;
}

/* 目录表 */
.catalog-table {
  margin-top: 32px;
}

.catalog-table .section-desc {
  max-width: 720px;
}

.catalog-table .table-scroll {
  margin-top: 16px;
}

.catalog-table .data-table th:first-child,
.catalog-table .data-table td:first-child {
  width: 56px;
  white-space: nowrap;
}

.catalog-table .data-table td:last-child {
  white-space: nowrap;
}

/* 字段说明 */
.field-notes {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.field-list {
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
}

.field-item {
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.field-item dt {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.02em;
}

.field-item dd {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* 分题材速览 */
.genre-digest {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.digest-list {
  margin-top: 18px;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.digest-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 20px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.digest-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.digest-desc {
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   6. pages — 更新记录
   -------------------------------------------------------------------------- */
.page-updates .page-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: start;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.page-updates .page-title-text {
  min-width: 0;
}

.page-updates .page-lead {
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.page-updates .page-meta {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

.page-updates .page-title-figure {
  width: 100%;
}

.page-updates .page-title-figure figcaption {
  padding: 8px 12px;
  border-top: 1px solid var(--line-soft);
}

.update-table {
  margin-top: 32px;
}

.update-table .section-lead a {
  color: var(--blue);
}

.update-table .table-wrap {
  margin-top: 16px;
}

.update-table .data-table td:last-child {
  white-space: nowrap;
}

/* 本周分组 */
.week-groups {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.week-group {
  margin-top: 20px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.week-group-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}

.week-list {
  margin-top: 4px;
}

.week-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line-soft);
}

.week-item:last-child {
  border-bottom: 0;
}

.week-date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.week-name {
  font-size: 14px;
  color: var(--ink);
}

.week-chapter {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
  white-space: nowrap;
}

/* 日期口径 */
.date-rules {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.date-rules p {
  margin-top: 12px;
  max-width: 760px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.rule-list {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}

.rule-item {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink);
}

.rule-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 1px;
  background: var(--blue);
}

.rule-note {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  color: var(--ink-soft);
}

.rule-note a {
  margin-right: 12px;
}

/* --------------------------------------------------------------------------
   7. pages — 阅读帮助
   -------------------------------------------------------------------------- */
.page-reading-guide .page-title {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.page-reading-guide .page-title-body {
  max-width: 760px;
}

.page-reading-guide .page-title-lead {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-soft);
}

/* 四步说明 */
.guide-steps {
  margin-top: 32px;
}

.step-list {
  margin-top: 18px;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.step-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.step-item .step-index {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--blue);
}

.step-item .step-body {
  min-width: 0;
}

.step-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.step-desc {
  margin-top: 6px;
  max-width: 680px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.step-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--blue);
}

.step-link::after {
  content: " →";
}

/* 标签识别示例 */
.tag-example {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.tag-figure {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
}

.tag-figure img {
  aspect-ratio: 4 / 3;
}

.tag-figcaption {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 20px 22px;
}

.tag-figure-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.tag-figure-desc {
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-soft);
}

/* FAQ */
.guide-faq {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   8. pages — 内容说明
   -------------------------------------------------------------------------- */
.page-rules .page-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: start;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.page-rules .page-title-text {
  min-width: 0;
}

.page-rules .page-lead {
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.page-rules .page-title-figure {
  width: 100%;
}

.page-rules .page-title-figure figcaption {
  padding: 8px 12px;
  border-top: 1px solid var(--line-soft);
}

.page-rules section {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.page-rules section:first-of-type {
  margin-top: 32px;
}

.page-rules h2 {
  font-size: 20px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--ink);
}

.page-rules section > p {
  margin-top: 12px;
  max-width: 760px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-soft);
}

/* 收录范围清单 */
.page-rules .scope-list {
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

/* 标注口径表 / 修订记录表 */
.labeling,
.revisions {
  min-width: 0;
}

.labeling-table,
.revisions-table {
  margin-top: 16px;
  width: 100%;
  table-layout: fixed;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.labeling-table caption,
.revisions-table caption {
  padding: 10px 14px;
  text-align: left;
  font-size: 13px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line-soft);
}

.labeling-table th,
.labeling-table td,
.revisions-table th,
.revisions-table td {
  padding: 11px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: break-word;
  word-break: break-word;
}

.labeling-table thead th,
.revisions-table thead th {
  background: #faf9f5;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

.labeling-table tbody tr:last-child td,
.revisions-table tbody tr:last-child td {
  border-bottom: 0;
}

.labeling-table th:nth-child(1),
.labeling-table td:nth-child(1) {
  width: 22%;
}

.labeling-table th:nth-child(2),
.labeling-table td:nth-child(2) {
  width: 22%;
}

.revisions-table th:nth-child(1),
.revisions-table td:nth-child(1) {
  width: 26%;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* 不提供的信息类型 */
.not-provided-list {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}

.not-provided-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink);
}

.not-provided-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--mark);
}

/* --------------------------------------------------------------------------
   9. pages — 反馈与协作
   -------------------------------------------------------------------------- */
.page-feedback .page-title {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.page-feedback .page-title-main {
  min-width: 0;
}

.page-feedback .page-lede {
  margin-top: 12px;
  max-width: 760px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.feedback-media {
  margin-top: 24px;
  max-width: 560px;
}

.media-figure {
  width: 100%;
}

.media-figure figcaption {
  padding: 8px 12px;
  border-top: 1px solid var(--line-soft);
}

.page-feedback section {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.page-feedback section:first-of-type {
  margin-top: 32px;
}

.page-feedback h2 {
  font-size: 20px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--ink);
}

.page-feedback .section-lede {
  margin-top: 8px;
}

/* 适用情形 */
.case-list {
  margin-top: 16px;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.case-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.case-item h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.case-item p {
  margin-top: 4px;
  max-width: 720px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-soft);
}

/* 字段清单表 */
.fields .table-scroll {
  margin-top: 16px;
}

.fields-table {
  width: 100%;
}

.fields-table caption {
  padding: 10px 14px;
  text-align: left;
  font-size: 13px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line-soft);
}

.fields-table th,
.fields-table td {
  padding: 11px 14px;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.7;
  border-bottom: 1px solid var(--line-soft);
  overflow-wrap: break-word;
}

.fields-table thead th {
  background: #faf9f5;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

.fields-table tbody tr:last-child td {
  border-bottom: 0;
}

.fields-table th:nth-child(1),
.fields-table td:nth-child(1) {
  width: 30%;
  font-weight: 500;
  color: var(--ink);
}

/* 自查顺序 */
.checklist-steps {
  margin-top: 16px;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.checklist-step {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.checklist-step .step-index {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--blue);
}

.checklist-step .step-body {
  min-width: 0;
}

.checklist-step h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.checklist-step p {
  margin-top: 4px;
  max-width: 680px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.checklist-step p a {
  color: var(--blue);
}

/* 不适合提出的内容 */
.boundary-list {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}

.boundary-item {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink);
}

.boundary-item::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   10. pages — 404
   -------------------------------------------------------------------------- */
.error-main {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 56px;
}

.error-block {
  width: 100%;
  max-width: 640px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.error-code {
  font-family: var(--font-mono);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: var(--blue);
  letter-spacing: 0.02em;
}

.error-title {
  margin-top: 12px;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--ink);
}

.error-text {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.error-list {
  margin-top: 20px;
  display: grid;
  gap: 6px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.error-list li a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: 14px;
  color: var(--blue);
}

.error-list li a::before {
  content: "·";
  margin-right: 8px;
  color: var(--line);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.error-home,
.error-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
}

.error-home {
  background: var(--blue);
  border: 1px solid var(--blue);
  color: #ffffff;
}

.error-home:hover,
.error-home:focus-visible {
  background: #1f43bd;
  border-color: #1f43bd;
  color: #ffffff;
}

.error-secondary {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
}

.error-secondary:hover,
.error-secondary:focus-visible {
  border-color: var(--blue);
  color: var(--blue);
}

/* --------------------------------------------------------------------------
   11. responsive — 1024px / 768px / 480px 断点
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .console {
    grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
    gap: 28px;
  }

  .console-main h1 {
    font-size: 26px;
  }

  .cover-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-catalog .page-title,
  .page-updates .page-title,
  .page-rules .page-title {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  /* --- 页头与导航 --- */
  .nav-toggle {
    display: none;
  }

  .nav-list {
    display: none;
  }

  .nav-list.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .menu-button {
    display: flex;
  }

  .header-inner {
    gap: 12px;
  }

  /* --- 主容器 --- */
  .site-main {
    padding: 24px 20px 48px;
  }

  .home-main {
    padding-top: 24px;
  }

  .inner-main {
    padding-top: 20px;
  }

  .page-title {
    font-size: 24px;
  }

  .page-header {
    padding-bottom: 16px;
  }

  /* --- 首页控制台 --- */
  .console {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-bottom: 28px;
  }

  .console-main h1 {
    font-size: 24px;
  }

  .console-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tag-row {
    gap: 6px;
  }

  /* --- 封面墙：主视觉占满，其余六张两列排布 --- */
  .cover-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .cover-hero {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr);
  }

  .cover-hero img {
    min-height: 160px;
    max-height: 220px;
    aspect-ratio: 16 / 9;
  }

  .cover-hero-caption {
    padding: 14px 16px;
  }

  .cover-hero-title {
    font-size: 16px;
  }

  /* --- 表格 --- */
  .data-table {
    font-size: 13px;
  }

  .data-table th,
  .data-table td {
    padding: 9px 10px;
  }

  .cell-date,
  .cell-num {
    font-size: 12px;
  }

  /* --- 首页区块间距 --- */
  .cover-wall,
  .update-peek,
  .genre-index,
  .editor-picks,
  .scope-note {
    margin-top: 32px;
    padding-top: 24px;
  }

  .pick-item {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .pick-num {
    font-size: 18px;
  }

  .scope-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  /* --- 内页标题区：配图下移 --- */
  .page-catalog .page-title,
  .page-updates .page-title,
  .page-rules .page-title {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .page-catalog .page-title-figure,
  .page-updates .page-title-figure,
  .page-rules .page-title-figure {
    width: 100%;
  }

  /* --- 目录页 --- */
  .filters {
    padding: 16px;
  }

  .catalog-table .data-table th:first-child,
  .catalog-table .data-table td:first-child {
    display: none;
  }

  .field-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .digest-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  /* --- 更新页 --- */
  .update-table .data-table th:last-child,
  .update-table .data-table td:last-child {
    display: none;
  }

  .week-item {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 4px 10px;
  }

  .week-chapter {
    grid-column: 2;
    font-size: 12px;
  }

  /* --- 阅读帮助 --- */
  .step-item {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    padding: 16px 0;
  }

  .step-item .step-index {
    font-size: 17px;
  }

  .tag-figure {
    grid-template-columns: minmax(0, 1fr);
  }

  .tag-figcaption {
    padding: 14px 16px;
  }

  /* --- 内容说明：标注口径表与修订记录表改为两列卡片式 --- */
  .labeling-table,
  .revisions-table {
    display: block;
    table-layout: auto;
    border: 0;
    background: transparent;
  }

  .labeling-table caption,
  .revisions-table caption {
    border: 1px solid var(--line);
    border-bottom: 0;
    border-radius: var(--radius) var(--radius) 0 0;
    background: var(--surface);
  }

  .labeling-table thead,
  .revisions-table thead {
    display: none;
  }

  .labeling-table tbody,
  .revisions-table tbody {
    display: block;
  }

  .labeling-table tbody tr,
  .revisions-table tbody tr {
    display: block;
    padding: 12px 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-top: 0;
  }

  .labeling-table tbody tr:last-child,
  .revisions-table tbody tr:last-child {
    border-radius: 0 0 var(--radius) var(--radius);
  }

  .labeling-table td,
  .revisions-table td {
    display: block;
    width: auto;
    padding: 2px 0;
    border-bottom: 0;
    font-size: 13px;
    line-height: 1.7;
  }

  .labeling-table td:nth-child(1),
  .revisions-table td:nth-child(1) {
    width: auto;
    font-weight: 600;
    color: var(--ink);
    white-space: normal;
  }

  .labeling-table td:nth-child(2) {
    color: var(--blue);
  }

  .labeling-table td:nth-child(3) {
    color: var(--ink-soft);
  }

  .revisions-table td:nth-child(2) {
    color: var(--ink);
  }

  .revisions-table td:nth-child(3) {
    color: var(--ink-soft);
  }

  /* --- 反馈与协作 --- */
  .checklist-step {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
  }

  .checklist-step .step-index {
    font-size: 17px;
  }

  .feedback-media {
    max-width: 100%;
  }

  /* --- 内链块 --- */
  .next-links {
    margin-top: 32px;
    padding-top: 24px;
  }

  .next-link-list,
  .next-links-list,
  .next-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  /* --- 页脚 --- */
  .footer-inner {
    padding: 32px 20px 24px;
  }

  .footer-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  /* --- 404 --- */
  .error-main {
    padding-top: 32px;
  }

  .error-block {
    padding: 24px;
  }

  .error-code {
    font-size: 32px;
  }

  .error-title {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .site-main {
    padding: 20px 16px 40px;
  }

  .header-inner {
    padding: 0 16px;
  }

  .footer-inner {
    padding: 28px 16px 20px;
  }

  .mobile-list {
    padding: 8px 16px 12px;
  }

  .page-title {
    font-size: 22px;
  }

  .section-title {
    font-size: 18px;
  }

  .console-main h1 {
    font-size: 22px;
  }

  .console-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .task-card {
    min-height: 0;
    padding: 12px 14px;
  }

  .console-actions {
    gap: 10px;
  }

  .console-actions .btn {
    flex: 1 1 auto;
  }

  .cover-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .cover-meta {
    padding: 10px 10px 12px;
  }

  .cover-name {
    font-size: 14px;
  }

  .cover-desc {
    font-size: 11px;
  }

  .data-table {
    font-size: 12px;
  }

  .data-table th,
  .data-table td {
    padding: 8px;
  }

  .cell-date,
  .cell-num {
    font-size: 11px;
  }

  .pick-item {
    grid-template-columns: 36px minmax(0, 1fr);
    padding: 12px;
  }

  .pick-num {
    font-size: 16px;
  }

  .step-item,
  .checklist-step {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
  }

  .step-item .step-index,
  .checklist-step .step-index {
    font-size: 16px;
  }

  .week-item {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .labeling-table tbody tr,
  .revisions-table tbody tr {
    padding: 10px 12px;
  }

  .error-block {
    padding: 20px;
  }

  .error-code {
    font-size: 28px;
  }

  .error-actions {
    gap: 10px;
  }

  .error-home,
  .error-secondary {
    flex: 1 1 auto;
  }
}

/* 程序验收反馈：修复网格孤项 */
@media (min-width: 769px) {
  .cover-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* 程序验收反馈：移动端防溢出 */
@media (max-width: 768px) {
  .site-main,
  .site-main * {
    min-width: 0;
    max-width: 100%;
  }

  .site-main :is(h1, h2, h3, h4, p, a, span) {
    overflow-wrap: anywhere;
  }
}
