/* ==========================================================================
   秋霞电影网 · 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base · 变量与基础重置
   -------------------------------------------------------------------------- */
:root {
  --paper: #f6f3ec;
  --ink: #14110f;
  --rule: #d6cfc0;
  --muted: #5c554c;
  --accent: #a63a2b;
  --surface: #fbf9f4;
  --surface-alt: #efe9dd;
  --serif: "Noto Serif SC", "Songti SC", "Source Han Serif SC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --shell: 1120px;
  --gutter: 24px;
  --radius: 6px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #121110;
    --ink: #e8e3d8;
    --rule: #3a352f;
    --muted: #a49c8f;
    --accent: #d3654f;
    --surface: #191715;
    --surface-alt: #211e1a;
  }
}

html[data-theme="light"] {
  --paper: #f6f3ec;
  --ink: #14110f;
  --rule: #d6cfc0;
  --muted: #5c554c;
  --accent: #a63a2b;
  --surface: #fbf9f4;
  --surface-alt: #efe9dd;
}

html[data-theme="dark"] {
  --paper: #121110;
  --ink: #e8e3d8;
  --rule: #3a352f;
  --muted: #a49c8f;
  --accent: #d3654f;
  --surface: #191715;
  --surface-alt: #211e1a;
}

*,
*::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.85;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--ink);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  color: var(--ink);
}

p {
  margin: 0 0 14px;
}

ul,
ol,
dl {
  margin: 0;
  padding: 0;
  list-style: none;
}

figure {
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   layout · 骨架：页头 / 导航 / 主容器 / 页脚
   -------------------------------------------------------------------------- */
.site-header {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 26px var(--gutter) 0;
}

.masthead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
}

.masthead-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.brand-mark {
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--ink);
}

.brand-mark:hover {
  color: var(--accent);
}

.brand-slogan {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.theme-toggle-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  background: linear-gradient(
    90deg,
    currentColor 0 50%,
    transparent 50% 100%
  );
}

.site-nav {
  border-bottom: 1px solid var(--ink);
  border-top: 1px solid var(--rule);
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 26px;
  padding: 0;
}

.nav-list li {
  display: flex;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 2px 0;
  font-size: 15px;
  color: var(--ink);
  border-bottom: 2px solid transparent;
}

.nav-link:hover {
  color: var(--accent);
}

.nav-link.is-current {
  font-weight: 700;
  border-bottom-color: var(--ink);
}

.site-main {
  display: block;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.inner-main {
  padding-top: 26px;
  padding-bottom: 64px;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  color: var(--rule);
}

.breadcrumb-current {
  color: var(--ink);
  font-weight: 600;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.breadcrumb-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-list li + li::before {
  content: "/";
  color: var(--rule);
}

/* 页面标题区 */
.page-header {
  padding-bottom: 16px;
}

.page-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}

.page-title-block,
.page-heading,
.page-intro,
.page-head {
  padding: 14px 0 22px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 28px;
}

.page-lead {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.85;
  margin: 0 0 10px;
}

.page-meta {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.page-meta a {
  color: var(--accent);
}

.page-update-line {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.page-update-line a {
  color: var(--accent);
}

.eyebrow,
.section-kicker,
.kicker {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 10px;
}

/* 页脚 */
.site-footer {
  border-top: 1px solid var(--ink);
  margin-top: 56px;
  background: var(--surface);
}

.footer-top {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 40px var(--gutter) 32px;
  display: grid;
  grid-template-columns: minmax(200px, 1fr) minmax(0, 2fr);
  gap: 32px 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-mark {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  margin: 0;
}

.footer-slogan {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
}

.footer-groups {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.footer-group {
  min-width: 0;
}

.footer-group-title {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
}

.footer-group ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-group a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 14px;
  color: var(--ink);
}

.footer-group a:hover {
  color: var(--accent);
}

.footer-bottom {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 18px var(--gutter) 28px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
}

.footer-boundary,
.footer-copy {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.7;
}

/* 通用栏式布局：默认主内容在前、侧栏在后 */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}

.page-layout > .main-column,
.page-layout > .page-content {
  min-width: 0;
}

.page-layout > .side-column,
.page-layout > .page-aside {
  min-width: 0;
}

/* 侧栏在前的档案页：容器自身带 .sidebar-left */
.page-layout.sidebar-left {
  grid-template-columns: 300px minmax(0, 1fr);
}

/* 兜底：若 .sidebar-left 落在祖先节点上 */
.sidebar-left .page-layout {
  grid-template-columns: 300px minmax(0, 1fr);
}

/* --------------------------------------------------------------------------
   components · 通用模块（栏目标题 / 文本链接 / 卡片 / 图片）
   -------------------------------------------------------------------------- */
.section-block {
  padding: 40px 0;
  border-bottom: 1px solid var(--rule);
}

.section-block:last-of-type {
  border-bottom: 0;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  padding-top: 14px;
  border-top: 1px solid var(--ink);
  margin-bottom: 10px;
}

.section-note,
.section-intro,
.section-desc {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0 0 22px;
  max-width: 62ch;
}

.section-head {
  margin-bottom: 22px;
}

.text-link,
.text-link-strong,
.genre-link,
.entry-link,
.aside-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  font-size: 14px;
  color: var(--accent);
  border-bottom: 1px solid transparent;
}

.text-link::after,
.text-link-strong::after,
.genre-link::after,
.entry-link::after,
.aside-link::after {
  content: "→";
  font-size: 13px;
}

.text-link:hover,
.genre-link:hover,
.entry-link:hover,
.aside-link:hover {
  border-bottom-color: var(--accent);
}

.text-link-strong {
  font-weight: 600;
  color: var(--ink);
  border-bottom-color: var(--ink);
  padding-bottom: 2px;
}

.text-link-strong:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* 图片与图注 */
figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  object-fit: cover;
  background: var(--surface-alt);
}

figcaption,
.figure-caption {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  text-align: right;
  margin-top: 8px;
}

/* 表格 */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 16px;
}

.catalog-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
}

.catalog-table caption {
  text-align: left;
}

.catalog-table th {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--muted);
  text-align: left;
  padding: 12px 12px 10px;
  border-bottom: 1px solid var(--rule);
  white-space: nowrap;
}

.catalog-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}

.catalog-table tbody tr:last-child td {
  border-bottom: 0;
}

.catalog-table tbody tr {
  transition: background-color 0.15s ease;
}

.catalog-table tbody tr:hover {
  background: var(--surface-alt);
}

.catalog-table tbody tr:hover .col-no,
.catalog-table tbody tr:hover .cell-code {
  color: var(--accent);
}

.col-no,
.cell-code {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  white-space: nowrap;
}

.col-name {
  font-weight: 600;
  min-width: 140px;
}

/* 状态小标 */
.badge,
.status-tag {
  display: inline-block;
  padding: 2px 8px;
  font-size: 12px;
  line-height: 1.6;
  border-radius: 4px;
  border: 1px solid var(--rule);
  color: var(--muted);
  white-space: nowrap;
}

.badge-full,
.status-full {
  color: var(--accent);
  border-color: var(--accent);
}

.badge-partial,
.status-partial {
  color: var(--ink);
  background: var(--surface-alt);
}

.badge-pending,
.status-pending {
  color: var(--muted);
  border-style: dashed;
}

/* 侧栏块 */
.aside-block,
.side-block {
  padding: 18px 0 22px;
  border-top: 1px solid var(--ink);
}

.aside-block + .aside-block,
.side-block + .side-block {
  margin-top: 8px;
}

.aside-block h2,
.side-block h2,
.aside-title {
  font-size: 16px;
  margin-bottom: 10px;
}

.aside-block p,
.side-block p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 10px;
}

.aside-link-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* 字段说明对（术语 / 读法） */
.legend-grid,
.field-line {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  margin: 0;
}

.legend-pair,
.field-pair {
  display: grid;
  grid-template-columns: minmax(88px, 0.6fr) minmax(0, 1.4fr);
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}

.legend-pair dt,
.field-pair dt {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
  font-weight: 600;
}

.legend-pair dd,
.field-pair dd {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
}

/* 四段指引 / 步骤块 */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 22px;
}

.guide-step {
  padding-top: 14px;
  border-top: 2px solid var(--ink);
  min-width: 0;
}

.guide-step .step-no {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 8px;
}

.guide-step h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.guide-step p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 8px;
}

.guide-step .step-basis {
  font-size: 13px;
  color: var(--ink);
  border-top: 1px dashed var(--rule);
  padding-top: 8px;
  margin-bottom: 0;
}

/* 批次时间线（首页横向） */
.batch-line {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 22px;
}

.batch-node {
  border-left: 2px solid var(--accent);
  padding-left: 16px;
  min-width: 0;
}

.batch-node .batch-date {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 4px;
}

.batch-node .batch-no {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
}

.batch-node p:last-child {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

/* 问答简表（首页） */
.faq-brief {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
}

.faq-brief-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr) auto;
  gap: 20px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}

.faq-brief-row .faq-q {
  font-weight: 600;
  font-size: 15px;
  margin: 0;
}

.faq-brief-row .faq-a {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.75;
}

/* 可展开问答（反馈页） */
.faq-group {
  padding: 22px 0;
  border-top: 1px solid var(--ink);
}

.faq-group h2 {
  font-size: 18px;
  margin-bottom: 8px;
}

.faq-item {
  border-bottom: 1px solid var(--rule);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-size: 18px;
  color: var(--accent);
  flex: none;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-answer {
  padding: 0 0 16px;
}

.faq-answer p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 10px;
}

/* --------------------------------------------------------------------------
   pages · 首页
   -------------------------------------------------------------------------- */
.home-main {
  padding-top: 8px;
}

.front-editorial {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 4fr);
  gap: 40px;
  padding: 32px 0 40px;
  border-bottom: 1px solid var(--ink);
  align-items: start;
}

.front-lead {
  min-width: 0;
}

.front-lead h1 {
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 14px;
}

.front-intro {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 20px;
  max-width: 46ch;
}

.front-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 24px;
}

.front-index {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
}

.front-index li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 14.5px;
  line-height: 1.7;
}

.index-label {
  flex: none;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 600;
}

.front-visual {
  min-width: 0;
}

.front-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* 本期要目 */
.toc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.toc-item {
  border-top: 2px solid var(--ink);
  padding-top: 14px;
  min-width: 0;
}

.toc-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.toc-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 10px;
}

/* 目录摘编头条 */
.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 32px;
  align-items: start;
}

.feature-media {
  min-width: 0;
}

.feature-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.feature-body {
  min-width: 0;
}

.feature-body h3 {
  font-size: 22px;
  margin-bottom: 14px;
}

.feature-body .field-line {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
  margin-bottom: 16px;
}

.feature-body p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 14px;
}

/* 类型小栏 */
.genre-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
}

.genre-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  min-width: 0;
}

.genre-item h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.genre-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

/* 专题跨页 */
.topic-spread {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 40px;
  align-items: start;
}

.topic-lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
}

.topic-media {
  min-width: 0;
}

.topic-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.topic-body {
  min-width: 0;
}

.topic-body h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.topic-body p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 14px;
}

.topic-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.topic-points li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  line-height: 1.7;
}

.topic-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  background: var(--accent);
}

.topic-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.topic-brief {
  border-top: 1px solid var(--ink);
  padding-top: 14px;
  min-width: 0;
}

.topic-brief h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.topic-brief p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 10px;
}

/* --------------------------------------------------------------------------
   pages · 作品目录
   -------------------------------------------------------------------------- */
.field-legend .legend-grid {
  margin-bottom: 8px;
}

.catalog-table-section .catalog-table {
  min-width: 640px;
}

.table-note {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.section-figure {
  margin: 32px 0;
}

.section-figure img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.completeness-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.completeness-item {
  border-top: 2px solid var(--ink);
  padding-top: 14px;
  min-width: 0;
}

.completeness-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.completeness-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 8px;
}

.completeness-item .item-basis {
  font-size: 13px;
  color: var(--ink);
  border-top: 1px dashed var(--rule);
  padding-top: 8px;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   pages · 类型索引
   -------------------------------------------------------------------------- */
.genre-section {
  padding-bottom: 40px;
  border-bottom: 1px solid var(--ink);
}

.genre-figure {
  margin-bottom: 28px;
}

.genre-figure img {
  width: 100%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
}

.genre-section .genre-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
}

.genre-scope {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.75;
  margin-bottom: 6px;
}

.genre-exclude {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 8px;
}

.genre-diff {
  padding: 40px 0;
  border-bottom: 1px solid var(--rule);
}

.diff-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.diff-item {
  border-top: 2px solid var(--ink);
  padding-top: 14px;
  min-width: 0;
}

.diff-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.diff-basis {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 8px;
}

.diff-order {
  font-size: 13.5px;
  color: var(--ink);
  border-top: 1px dashed var(--rule);
  padding-top: 8px;
  margin-bottom: 0;
}

.diff-footnote {
  font-size: 14px;
  color: var(--muted);
  margin: 22px 0 0;
}

.genre-entry {
  padding: 40px 0 0;
}

.entry-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.entry-card {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--surface);
  min-width: 0;
}

.entry-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.entry-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 12px;
}

.entry-tip {
  font-size: 14px;
  color: var(--muted);
  margin-top: 22px;
}

/* --------------------------------------------------------------------------
   pages · 主创档案
   -------------------------------------------------------------------------- */
.page-intro {
  padding: 20px 0 24px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 32px;
}

.page-intro .page-lead {
  max-width: 68ch;
}

.page-aside {
  min-width: 0;
}

.page-content {
  min-width: 0;
}

.content-section {
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--rule);
}

.content-section:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.content-section .section-title {
  font-size: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--ink);
  margin-bottom: 10px;
}

.content-figure {
  margin: 0 0 24px;
}

.content-figure img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.field-list {
  display: flex;
  flex-direction: column;
  counter-reset: field;
}

.field-item {
  position: relative;
  padding: 18px 0 18px 40px;
  border-bottom: 1px solid var(--rule);
  min-width: 0;
  counter-increment: field;
}

.field-item::before {
  content: counter(field, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 20px;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
}

.field-name {
  font-size: 17px;
  margin-bottom: 6px;
}

.field-position {
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.field-reading {
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 8px;
}

.field-tip {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.75;
  border-left: 2px solid var(--rule);
  padding-left: 12px;
  margin-bottom: 0;
}

.missing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.missing-card {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--surface);
  min-width: 0;
}

.missing-name {
  font-size: 16px;
  margin-bottom: 8px;
}

.missing-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 10px;
}

.missing-action {
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.7;
  border-top: 1px dashed var(--rule);
  padding-top: 8px;
  margin-bottom: 0;
}

.misread-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.misread-item {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}

.misread-wrong {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 6px;
  text-decoration: line-through;
  text-decoration-color: var(--rule);
}

.misread-fix {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.75;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   pages · 专题文章
   -------------------------------------------------------------------------- */
.page-head .page-lead {
  max-width: 68ch;
}

.topic-feature {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 40px;
  align-items: start;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--ink);
}

.topic-feature-media {
  min-width: 0;
}

.topic-feature-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.topic-feature-body {
  min-width: 0;
}

.topic-feature-body h2 {
  font-size: 24px;
  margin-bottom: 12px;
}

.topic-feature-intro {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 18px;
}

.topic-subhead {
  font-size: 15px;
  margin: 18px 0 10px;
  padding-left: 12px;
  border-left: 8px solid var(--accent);
}

.topic-order-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  counter-reset: order;
}

.topic-order-list li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 14.5px;
  line-height: 1.75;
  counter-increment: order;
}

.topic-order-no {
  flex: none;
  font-family: var(--serif);
  font-weight: 700;
  color: var(--accent);
  font-size: 14px;
}

.topic-order-no::before {
  content: counter(order, decimal-leading-zero);
}

.topic-feature-link {
  margin: 18px 0 0;
}

.topic-briefs {
  padding: 40px 0;
  border-bottom: 1px solid var(--rule);
}

.topic-brief-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.topic-brief-grid .topic-brief {
  border-top: 2px solid var(--ink);
  padding-top: 14px;
}

.topic-brief-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}

.topic-notes {
  padding: 40px 0;
  border-bottom: 1px solid var(--rule);
}

.topic-notes-list {
  display: flex;
  flex-direction: column;
}

.topic-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 8px 32px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}

.topic-note h3 {
  font-size: 16px;
}

.topic-note p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}

.topic-note-result {
  grid-column: 2;
  color: var(--ink) !important;
  font-size: 13.5px !important;
  border-left: 2px solid var(--accent);
  padding-left: 12px;
}

.topic-next {
  padding: 40px 0 0;
}

.topic-next-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.topic-next-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  color: var(--accent);
  border-bottom: 1px solid var(--rule);
}

.topic-next-list a:hover {
  border-bottom-color: var(--accent);
}

/* --------------------------------------------------------------------------
   pages · 观看指引
   -------------------------------------------------------------------------- */
.page-head {
  padding: 16px 0 24px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 28px;
}

.guide-figure {
  margin-bottom: 32px;
}

.guide-figure img {
  width: 100%;
  aspect-ratio: 21 / 7;
  object-fit: cover;
}

.guide-stages {
  padding-bottom: 40px;
  border-bottom: 1px solid var(--rule);
}

.guide-stages h2,
.guide-checklist h2,
.guide-entry h2,
.guide-anomaly h2,
.guide-next h2 {
  font-size: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--ink);
  margin-bottom: 10px;
}

.stage-block {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 24px 40px;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}

.stage-block:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.stage-head {
  min-width: 0;
}

.stage-index {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 6px;
}

.stage-head h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.stage-do {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
  margin: 0;
}

.stage-check {
  min-width: 0;
  border-left: 1px solid var(--rule);
  padding-left: 24px;
}

.stage-check .check-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 4px;
}

.stage-check p:not(.check-label) {
  font-size: 14.5px;
  line-height: 1.8;
  margin: 0 0 14px;
}

.stage-check p:last-child {
  margin-bottom: 0;
}

.guide-checklist {
  padding: 40px 0;
  border-bottom: 1px solid var(--rule);
}

.checklist-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
}

.checklist-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px 32px;
  padding: 14px 0 14px 30px;
  border-bottom: 1px solid var(--rule);
  position: relative;
}

.checklist-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--accent);
  border-radius: 2px;
}

.checklist-action {
  font-size: 15px;
  margin: 0;
}

.checklist-judge {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

.guide-entry {
  padding: 40px 0;
  border-bottom: 1px solid var(--rule);
}

.entry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.entry-item {
  border-top: 2px solid var(--ink);
  padding-top: 12px;
  min-width: 0;
}

.entry-item h3 {
  font-size: 15px;
  margin-bottom: 6px;
}

.entry-item p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

.guide-anomaly {
  padding: 40px 0;
  border-bottom: 1px solid var(--rule);
}

.anomaly-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  min-width: 0;
}

.anomaly-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.anomaly-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.anomaly-first {
  font-size: 14.5px;
  line-height: 1.8;
  margin-bottom: 8px;
}

.anomaly-item p:last-child {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.anomaly-item p:last-child a {
  color: var(--accent);
  margin-right: 16px;
  border-bottom: 1px solid var(--rule);
}

.anomaly-item p:last-child a:hover {
  border-bottom-color: var(--accent);
}

.guide-next {
  padding: 40px 0 0;
}

.next-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.next-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  color: var(--accent);
  border-bottom: 1px solid var(--rule);
}

.next-links a:hover {
  border-bottom-color: var(--accent);
}

/* --------------------------------------------------------------------------
   pages · 更新记录
   -------------------------------------------------------------------------- */
.updates-intro {
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--ink);
}

.updates-intro h2 {
  font-size: 20px;
  margin-bottom: 12px;
}

.updates-intro p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 12px;
  max-width: 68ch;
}

.updates-figure {
  margin-top: 20px;
}

.updates-figure img {
  width: 100%;
  aspect-ratio: 21 / 7;
  object-fit: cover;
}

.batch-timeline {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
}

.batch-timeline h2,
.pending-items h2,
.updates-links h2 {
  font-size: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--ink);
  margin-bottom: 10px;
}

.timeline-list {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-left: 26px;
}

.timeline-list::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--rule);
}

.timeline-node {
  position: relative;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  min-width: 0;
}

.timeline-node:last-child {
  border-bottom: 0;
}

.timeline-node::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 28px;
  width: 11px;
  height: 11px;
  background: var(--accent);
  border-radius: 50%;
}

.timeline-date {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 4px;
}

.timeline-batch {
  font-size: 18px;
  margin-bottom: 12px;
}

.timeline-detail {
  display: grid;
  grid-template-columns: minmax(80px, 0.35fr) minmax(0, 1fr);
  gap: 8px 20px;
  margin: 0;
}

.timeline-detail dt {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.timeline-detail dd {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
}

.pending-items {
  padding: 32px 0;
  border-bottom: 1px solid var(--rule);
}

.pending-list {
  display: flex;
  flex-direction: column;
}

.pending-item {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 6px 32px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}

.pending-item:last-child {
  border-bottom: 0;
}

.pending-item h3 {
  font-size: 16px;
  grid-row: span 2;
}

.pending-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

.pending-item p:last-child {
  color: var(--ink);
  border-left: 2px solid var(--accent);
  padding-left: 12px;
}

.updates-links {
  padding: 32px 0 0;
}

.updates-links p {
  font-size: 14.5px;
  color: var(--muted);
  margin-bottom: 14px;
}

.link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.link-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  color: var(--accent);
  border-bottom: 1px solid var(--rule);
}

.link-list a:hover {
  border-bottom-color: var(--accent);
}

/* --------------------------------------------------------------------------
   pages · 疑问与反馈
   -------------------------------------------------------------------------- */
.page-figure {
  margin-bottom: 32px;
}

.page-figure img {
  width: 100%;
  aspect-ratio: 21 / 7;
  object-fit: cover;
}

.info-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-checklist li {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  padding-left: 16px;
  position: relative;
}

.info-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  background: var(--accent);
}

.info-checklist strong {
  color: var(--ink);
  font-weight: 600;
}

.path-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  counter-reset: path;
}

.path-steps li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  counter-increment: path;
}

.path-steps li::before {
  content: counter(path);
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 18px;
  height: 18px;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  color: var(--paper);
  background: var(--accent);
  border-radius: 50%;
}

.side-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.side-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: 14px;
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   pages · 404
   -------------------------------------------------------------------------- */
.error-main {
  padding-top: 48px;
  padding-bottom: 64px;
}

.error-panel {
  padding-bottom: 40px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 40px;
}

.error-code {
  font-family: var(--serif);
  font-size: 72px;
  line-height: 1;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 12px;
}

.error-title {
  font-size: 28px;
  margin-bottom: 14px;
}

.error-lead {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.85;
  max-width: 56ch;
  margin-bottom: 22px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}

.error-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  font-size: 15px;
  font-weight: 600;
}

.error-button:hover {
  background: var(--accent);
  color: var(--paper);
}

.error-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  color: var(--accent);
  border-bottom: 1px solid var(--rule);
}

.error-link:hover {
  border-bottom-color: var(--accent);
}

.error-routes-title {
  font-size: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--ink);
  margin-bottom: 18px;
}

.error-route-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.error-route {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--surface);
  min-width: 0;
}

.error-route-name {
  font-size: 16px;
  margin-bottom: 8px;
}

.error-route-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

.error-route-path {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--accent);
  word-break: break-all;
}

/* --------------------------------------------------------------------------
   responsive · 1080 / 860 / 560
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .front-editorial {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
  }

  .toc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .entry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .completeness-list,
  .missing-grid,
  .diff-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
}

@media (max-width: 860px) {
  :root {
    --gutter: 20px;
  }

  .brand-mark {
    font-size: 34px;
  }

  /* 移动端导航：横向滚动标签条 */
  .site-nav {
    border-top: 1px solid var(--rule);
    margin: 0 calc(-1 * var(--gutter));
    padding: 0 var(--gutter);
    position: relative;
  }

  .site-nav::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 1px;
    width: 36px;
    background: linear-gradient(90deg, transparent, var(--paper));
    pointer-events: none;
  }

  .nav-list {
    flex-wrap: nowrap;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .nav-list::-webkit-scrollbar {
    display: none;
  }

  .nav-list li {
    flex: none;
  }

  .nav-link {
    white-space: nowrap;
    font-size: 14.5px;
  }

  /* 页面栏式布局：主内容在前，侧栏后移 */
  .page-layout,
  .page-layout.sidebar-left,
  .sidebar-left .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .page-layout.sidebar-left .page-aside,
  .sidebar-left .page-layout .page-aside {
    order: 2;
  }

  .page-layout.sidebar-left .page-content,
  .sidebar-left .page-layout .page-content {
    order: 1;
  }

  .front-editorial {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    padding-top: 24px;
  }

  .front-lead h1 {
    font-size: 26px;
  }

  .front-visual img {
    aspect-ratio: 16 / 9;
  }

  .feature-row,
  .topic-spread,
  .topic-feature {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .genre-grid,
  .genre-section .genre-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .batch-line {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .faq-brief-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .stage-block {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .stage-check {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--rule);
    padding-top: 14px;
  }

  .checklist-list li {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .topic-note {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .topic-note-result {
    grid-column: auto;
  }

  .timeline-detail {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px 0;
  }

  .timeline-detail dt {
    margin-top: 8px;
  }

  .pending-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .pending-item h3 {
    grid-row: auto;
  }

  .error-route-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
  }
}

@media (max-width: 560px) {
  :root {
    --gutter: 16px;
  }

  body {
    font-size: 15.5px;
  }

  .site-header {
    padding-top: 18px;
  }

  .masthead {
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
  }

  .brand-mark {
    font-size: 28px;
  }

  .brand-slogan {
    font-size: 12px;
  }

  .theme-toggle {
    padding: 6px 10px;
    font-size: 12px;
  }

  .theme-toggle-label {
    max-width: 5em;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .inner-main {
    padding-top: 20px;
    padding-bottom: 48px;
  }

  .page-title {
    font-size: 22px;
  }

  .page-title-block,
  .page-heading,
  .page-intro,
  .page-head {
    padding: 12px 0 18px;
    margin-bottom: 22px;
  }

  .front-lead h1 {
    font-size: 23px;
  }

  .front-intro {
    font-size: 15px;
  }

  .section-block {
    padding: 30px 0;
  }

  .section-title {
    font-size: 18px;
  }

  .toc-grid,
  .guide-grid,
  .completeness-list,
  .missing-grid,
  .diff-list,
  .entry-grid,
  .entry-pair,
  .topic-brief-grid,
  .legend-grid,
  .feature-body .field-line {
    grid-template-columns: minmax(0, 1fr);
  }

  .legend-pair,
  .field-pair {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 10px 0;
  }

  .catalog-table {
    font-size: 14px;
    min-width: 560px;
  }

  .catalog-table th,
  .catalog-table td {
    padding: 10px 8px;
  }

  .catalog-table-section .catalog-table {
    min-width: 560px;
  }

  .field-item {
    padding-left: 32px;
  }

  .field-name {
    font-size: 16px;
  }

  .topic-feature-body h2,
  .feature-body h3,
  .topic-body h3 {
    font-size: 20px;
  }

  .error-code {
    font-size: 56px;
  }

  .error-title {
    font-size: 22px;
  }

  .footer-top {
    padding: 28px var(--gutter) 24px;
  }

  .footer-groups {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .footer-bottom {
    padding: 16px var(--gutter) 24px;
    flex-direction: column;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .catalog-table tbody tr {
    transition: none;
  }
}
