/* ==========================================================================
   国产传媒天美 · 全站样式表
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* ==========================================================================
   base
   ========================================================================== */

:root {
  --paper: #f4f1ea;
  --paper-deep: #ece7db;
  --ink: #17201c;
  --ink-dark: #1d2a26;
  --chart-green: #4a6f63;
  --ochre: #b4552b;
  --rule: #d8d2c4;
  --muted: #5d665f;
  --serif: "Noto Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --shell: 1120px;
  --gutter: 24px;
  --radius: 6px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
  background-color: var(--paper);
  font-variant-numeric: tabular-nums;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
  margin: 0;
}

h1 {
  font-size: 36px;
}

h2 {
  font-size: 22px;
}

h3 {
  font-size: 18px;
}

p {
  margin: 0 0 16px;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.18s ease, text-decoration-thickness 0.18s ease;
}

a:hover {
  color: var(--ochre);
  text-decoration-thickness: 2px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--ochre);
  outline-offset: 3px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

button {
  font: inherit;
  color: inherit;
}

.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 {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: var(--paper);
  border-bottom: 1px solid transparent;
}

.site-header.is-stuck {
  border-bottom-color: var(--rule);
}

.header-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 68px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  flex: 0 0 auto;
}

.brand:hover {
  color: var(--ink);
  text-decoration: none;
}

.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  display: inline-block;
  padding: 6px 0;
  font-size: 15px;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.nav-link:hover {
  color: var(--ink);
  text-decoration: none;
}

.nav-link.is-current {
  color: var(--ink);
  font-weight: 600;
  border-bottom-color: var(--ochre);
}

.header-command {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  flex: 0 0 auto;
}

.header-command:hover {
  color: var(--ochre);
  border-color: var(--ochre);
  text-decoration: none;
}

.command-icon {
  font-size: 15px;
  line-height: 1;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: none;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  background-color: var(--ink);
}

.mobile-menu {
  border-top: 1px solid var(--rule);
  background-color: var(--paper);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-nav-list {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 8px var(--gutter) 20px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  min-height: 48px;
  font-size: 16px;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
}

.mobile-nav-link.is-active {
  color: var(--ochre);
  font-weight: 600;
}

.site-main {
  display: block;
}

.inner-main {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 32px var(--gutter) 72px;
}

.content-container {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.content-shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* 面包屑 */

.breadcrumb {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--ochre);
  text-decoration: underline;
}

.breadcrumb-sep {
  margin: 0 8px;
  color: var(--rule);
}

.breadcrumb-current {
  color: var(--ink);
}

/* 页标题区 */

.page-header {
  margin-bottom: 8px;
}

.page-title {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
  margin: 0;
}

.page-title-section,
section.page-title {
  margin: 0 0 28px;
}

section.page-title p {
  margin: 8px 0 0;
  font-size: 15px;
  color: var(--muted);
  max-width: 820px;
}

.page-lede,
.page-lead,
.page-title-desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 820px;
}

.page-code,
.page-title-code,
.page-index {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ochre);
  text-transform: uppercase;
  margin-top: 10px;
}

.code-label {
  margin-right: 6px;
  color: var(--muted);
}

.code-num,
.code-value {
  color: var(--ochre);
}

.title-divider,
.title-rule,
.section-divider {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 24px 0 32px;
}

/* 页脚 */

.site-footer {
  background-color: var(--ink-dark);
  color: #d9d5c9;
  padding: 56px 0 0;
  margin-top: 0;
}

.footer-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter) 40px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 2.2fr;
  gap: 48px;
}

.footer-brand-name {
  font-family: var(--serif);
  font-size: 18px;
  color: #f2efe6;
  margin: 0 0 10px;
}

.footer-brand-desc {
  font-size: 14px;
  line-height: 1.8;
  color: #a8b0a4;
  margin: 0;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #8f9a8b;
  margin: 0 0 12px;
}

.footer-list li {
  margin-bottom: 8px;
}

.footer-list a {
  font-size: 14px;
  color: #d9d5c9;
  text-decoration: none;
}

.footer-list a:hover {
  color: #f2efe6;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(216, 210, 196, 0.18);
  padding: 20px var(--gutter);
}

.footer-note {
  max-width: var(--shell);
  margin: 0 auto;
  font-size: 13px;
  color: #8f9a8b;
  line-height: 1.7;
}

/* ==========================================================================
   components · 通用
   ========================================================================== */

.section-head,
.section-heading,
.section-intro,
.section-lead,
.section-lede,
.section-note {
  max-width: 820px;
}

.section-head {
  margin-bottom: 24px;
}

.section-head h2,
.section-heading {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 10px;
}

.section-lead,
.section-lede,
.section-intro,
.section-note {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0 0 20px;
}

.section-more {
  margin: 24px 0 0;
  font-size: 15px;
}

.text-link {
  color: var(--ochre);
  font-weight: 600;
}

.figure-caption,
figcaption {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 10px;
}

/* 图片容器统一约束 */

.table-figure,
.map-figure,
.list-figure,
.term-figure,
.identify-figure,
.correction-figure,
.editorial-figure {
  margin: 0 0 28px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--paper-deep);
}

.table-figure img,
.map-figure img,
.list-figure img,
.term-figure img,
.identify-figure img,
.correction-figure img,
.editorial-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.table-figure figcaption,
.map-figure figcaption,
.list-figure figcaption,
.term-figure figcaption,
.identify-figure figcaption,
.correction-figure figcaption,
.editorial-figure figcaption {
  padding: 10px 14px;
  border-top: 1px solid var(--rule);
  background-color: var(--paper);
  margin: 0;
}

/* 表格通用 */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background-color: #faf8f2;
}

.channel-table,
.task-channel-table,
.cross-table {
  font-size: 15px;
  min-width: 640px;
}

.table-caption {
  caption-side: top;
  text-align: left;
  padding: 14px 16px 10px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.channel-table th,
.channel-table td,
.task-channel-table th,
.task-channel-table td,
.cross-table th,
.cross-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--rule);
  line-height: 1.7;
}

.channel-table thead th,
.task-channel-table thead th,
.cross-table thead th {
  background-color: var(--ink-dark);
  color: #f2efe6;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  border-bottom: 0;
}

.channel-table tbody tr:last-child td,
.task-channel-table tbody tr:last-child td,
.cross-table tbody tr:last-child td {
  border-bottom: 0;
}

.channel-table tbody tr:hover,
.cross-table tbody tr:hover {
  background-color: #f1ede1;
}

.channel-table tbody th,
.cross-table tbody th,
.task-channel-table tbody th {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
}

.cell-code {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ochre);
  margin-right: 8px;
}

/* 标签 */

.tag {
  display: inline-block;
  font-size: 12px;
  padding: 2px 8px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  color: var(--muted);
  margin-right: 6px;
  background-color: var(--paper);
}

/* ==========================================================================
   pages · 首页
   ========================================================================== */

/* 首屏 */

.hero {
  padding: 40px 0 56px;
  border-bottom: 1px solid var(--rule);
}

.hero-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(280px, 5fr) minmax(0, 7fr);
  gap: 48px;
  align-items: start;
}

.hero-brief {
  padding-top: 8px;
}

.hero-kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ochre);
  text-transform: uppercase;
  margin: 0 0 14px;
}

.hero-title,
.hero-brief h1 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 18px;
}

.hero-lead {
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
  margin: 0 0 26px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background-color 0.18s ease, color 0.18s ease,
    border-color 0.18s ease;
}

.btn-primary {
  background-color: var(--ink-dark);
  color: #f2efe6;
}

.btn-primary:hover {
  background-color: var(--ochre);
  color: #fff;
  text-decoration: none;
}

.btn-ghost {
  background-color: transparent;
  color: var(--ink);
  border-color: var(--rule);
}

.btn-ghost:hover {
  border-color: var(--ochre);
  color: var(--ochre);
  text-decoration: none;
}

.hero-legend {
  border-top: 1px solid var(--rule);
  padding-top: 16px;
}

.legend-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
}

.legend-key {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background-color: var(--chart-green);
  flex: 0 0 auto;
}

.legend-item:nth-child(2) .legend-key {
  background-color: var(--ochre);
}

.legend-item:nth-child(3) .legend-key {
  background-color: var(--ink-dark);
}

/* 内容版图网格 */

.hero-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(3, auto);
  gap: 12px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 12px;
  background-color: #faf8f2;
}

.map-cell {
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 14px 12px;
  background-color: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.map-cell:hover {
  background-color: #f1ede1;
  border-color: var(--chart-green);
}

.map-cell:nth-of-type(1) {
  grid-column: 1 / span 2;
  grid-row: 1;
}

.map-cell:nth-of-type(2) {
  grid-column: 1 / span 2;
  grid-row: 2;
}

.map-figure {
  grid-column: 3 / span 2;
  grid-row: 1 / span 2;
  margin: 0;
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
  background-color: var(--paper-deep);
}

.map-figure img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.map-figure figcaption {
  font-size: 12px;
  padding: 8px 10px;
  margin: 0;
  border-top: 1px solid var(--rule);
  background-color: var(--paper);
}

.map-cell:nth-of-type(3) {
  grid-column: 1;
  grid-row: 3;
}

.map-cell:nth-of-type(4) {
  grid-column: 2;
  grid-row: 3;
}

.map-cell:nth-of-type(5) {
  grid-column: 3;
  grid-row: 3;
}

.map-cell:nth-of-type(6) {
  grid-column: 4;
  grid-row: 3;
}

.cell-no {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ochre);
  letter-spacing: 0.06em;
}

.cell-title {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  line-height: 1.35;
}

.cell-title a {
  text-decoration: none;
}

.cell-title a:hover {
  color: var(--ochre);
}

.cell-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
  flex: 1 1 auto;
}

.cell-link {
  font-size: 13px;
  color: var(--ochre);
  text-decoration: none;
  font-weight: 600;
  align-self: flex-start;
}

.cell-link:hover {
  text-decoration: underline;
}

/* 首页通用 section 容器 */

.channel-table-section,
.theme-list-section,
.task-section,
.boundary-section,
.terms-strip-section,
.reading-section {
  padding: 56px 0;
  border-bottom: 1px solid var(--rule);
}

.section-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* 主题片单三条 */

.list-rows {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.list-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 8px 24px;
  padding: 22px 0;
  border-top: 1px solid var(--rule);
  align-items: start;
}

.list-row:last-child {
  border-bottom: 1px solid var(--rule);
}

.row-no {
  grid-column: 1;
  grid-row: 1 / span 4;
  font-family: var(--mono);
  font-size: 22px;
  color: var(--ochre);
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.row-title {
  grid-column: 2;
  grid-row: 1;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  margin: 0;
}

.row-title a {
  text-decoration: none;
}

.row-title a:hover {
  color: var(--ochre);
  text-decoration: underline;
}

.row-lead {
  grid-column: 2;
  grid-row: 2;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}

.row-tags {
  grid-column: 2;
  grid-row: 3;
  margin: 4px 0 0;
}

.row-link {
  grid-column: 2;
  grid-row: 4;
  font-size: 14px;
  color: var(--ochre);
  font-weight: 600;
  text-decoration: none;
  margin-top: 8px;
}

.row-link:hover {
  text-decoration: underline;
}

/* 观看任务四段 */

.task-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.task-card {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 20px 18px;
  background-color: #faf8f2;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.task-card:hover {
  border-color: var(--chart-green);
}

.task-name,
.task-card-title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
}

.task-scene,
.task-card-scene {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.task-card-tag {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ochre);
  letter-spacing: 0.06em;
  margin: 0;
}

.task-steps {
  list-style: decimal;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
  flex: 1 1 auto;
}

.task-steps li {
  margin-bottom: 6px;
}

.task-steps li::marker {
  color: var(--chart-green);
  font-weight: 600;
}

.task-steps strong {
  font-weight: 600;
  color: var(--ink);
}

.task-link,
.task-card-link {
  font-size: 14px;
  margin: 0;
}

.task-link a,
.task-card-link a {
  color: var(--ochre);
  font-weight: 600;
  text-decoration: none;
}

.task-link a:hover,
.task-card-link a:hover {
  text-decoration: underline;
}

/* 提供与不提供对照 */

.scope-columns,
.scope-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.scope-col,
.scope-yes,
.scope-no {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 22px 20px;
  background-color: #faf8f2;
}

.scope-no {
  background-color: #f0ece1;
}

.scope-title {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
}

.scope-yes .scope-title {
  color: var(--chart-green);
}

.scope-no .scope-title {
  color: var(--ochre);
}

.scope-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.scope-item {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  line-height: 1.75;
}

.scope-item::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--chart-green);
  font-weight: 700;
}

.scope-no .scope-item::before {
  content: "✕";
  color: var(--ochre);
}

.scope-mark {
  font-weight: 600;
  margin-right: 6px;
}

/* 术语速览 */

.term-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  border-top: 1px solid var(--rule);
}

.term-strip .term-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}

.term-strip .term-name {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.term-strip .term-def {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
}

/* 延伸阅读 */

.reading-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.reading-item {
  border-top: 2px solid var(--ink-dark);
  padding-top: 14px;
}

.reading-link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
}

.reading-link:hover {
  text-decoration: none;
}

.reading-name {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

.reading-link:hover .reading-name {
  color: var(--ochre);
}

.reading-why {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

/* ==========================================================================
   pages · 频道对照
   ========================================================================== */

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 14px 14px;
  align-items: start;
}

.page-content {
  min-width: 0;
}

.page-aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 88px;
}

.aside-block {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 18px 16px;
  background-color: #faf8f2;
}

.aside-title {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
}

.aside-note {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 12px;
}

.aside-index-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.aside-index-list li a {
  display: flex;
  align-items: center;
  min-height: 34px;
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px dashed var(--rule);
}

.aside-index-list li:last-child a {
  border-bottom: 0;
}

.aside-index-list li a:hover {
  color: var(--ochre);
}

.aside-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  color: var(--ochre);
  font-weight: 600;
  text-decoration: none;
}

.aside-link:hover {
  text-decoration: underline;
}

.aside-note-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.channel-table-section h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 10px;
}

.channel-table-section .section-intro {
  margin-bottom: 18px;
}

.how-to-read,
.channel-list-map {
  margin-top: 40px;
}

.how-to-read h2,
.channel-list-map h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 10px;
}

.read-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.read-item {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 18px 16px;
  background-color: #faf8f2;
  min-width: 0;
}

.read-item h3 {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
}

.read-item p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0 0 10px;
}

.read-example {
  font-size: 13px;
  font-style: italic;
  color: var(--chart-green);
  border-left: 2px solid var(--chart-green);
  padding-left: 10px;
  margin: 0;
}

.map-list {
  border-top: 1px solid var(--rule);
}

.map-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  align-items: center;
}

.map-channel {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.map-lists {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 14px;
}

.map-lists a {
  color: var(--ochre);
  text-decoration: none;
}

.map-lists a:hover {
  text-decoration: underline;
}

.related-links {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}

.related-links h2 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 18px;
}

.related-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.related-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.related-item a {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.related-item a:hover {
  color: var(--ochre);
  text-decoration: underline;
}

.related-item span {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

/* ==========================================================================
   pages · 主题片单
   ========================================================================== */

.filter-bar {
  margin: 0 0 32px;
  padding: 20px 22px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background-color: #faf8f2;
}

.filter-heading {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 12px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 14px;
  background-color: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 4px;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease,
    border-color 0.18s ease;
}

.filter-btn:hover {
  border-color: var(--chart-green);
}

.filter-btn.is-active {
  background-color: var(--ink-dark);
  color: #f2efe6;
  border-color: var(--ink-dark);
}

.filter-note {
  font-size: 13px;
  color: var(--muted);
  margin: 12px 0 0;
}

.list-group {
  margin-bottom: 48px;
}

.list-group > .section-heading {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 10px;
}

.list-group > .section-lede {
  margin-bottom: 28px;
}

.list-block {
  margin-bottom: 36px;
  padding-top: 8px;
}

.list-block[hidden] {
  display: none;
}

.list-block-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink-dark);
}

.list-code {
  font-family: var(--mono);
  font-size: 15px;
  color: var(--ochre);
  letter-spacing: 0.06em;
}

.list-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}

.list-intro {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0 0 18px;
  max-width: 820px;
}

.entry-list {
  display: flex;
  flex-direction: column;
}

.entry-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}

.entry-row:first-child {
  border-top: 1px solid var(--rule);
}

.entry-code {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--chart-green);
  letter-spacing: 0.04em;
  padding-top: 2px;
}

.entry-body {
  min-width: 0;
}

.entry-title {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 4px;
  line-height: 1.5;
}

.entry-summary {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
}

.entry-tag {
  font-size: 12px;
  padding: 2px 8px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  color: var(--chart-green);
  white-space: nowrap;
  align-self: start;
}

.list-rules,
.channel-cross {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}

.list-rules h2,
.channel-cross h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 10px;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.rule-col {
  border-left: 2px solid var(--chart-green);
  padding-left: 16px;
}

.rule-title {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
}

.rule-text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
}

.cross-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background-color: #faf8f2;
  margin-top: 20px;
}

.cross-note {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

/* ==========================================================================
   pages · 观看任务
   ========================================================================== */

.task-cards-section {
  margin-bottom: 48px;
}

.task-cards-section > h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 10px;
}

.page-identify-section {
  margin-bottom: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}

.page-identify-section > h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 10px;
}

.identify-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.identify-step {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 18px 16px;
  background-color: #faf8f2;
  min-width: 0;
}

.identify-step-no {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ochre);
  letter-spacing: 0.06em;
  margin: 0 0 8px;
}

.identify-step-title {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
}

.identify-step-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0 0 10px;
}

.identify-step-example {
  font-size: 13px;
  line-height: 1.7;
  color: var(--chart-green);
  border-left: 2px solid var(--chart-green);
  padding-left: 10px;
  margin: 0;
}

.identify-footnote {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
}

.task-channel-map-section {
  margin-bottom: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}

.task-channel-map-section > h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 10px;
}

.faq-section {
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}

.faq-section > h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 10px;
}

.faq-list {
  margin-top: 20px;
  border-top: 1px solid var(--rule);
}

.faq-item {
  border-bottom: 1px solid var(--rule);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding: 14px 0;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-family: var(--sans);
  font-size: 20px;
  color: var(--ochre);
  line-height: 1;
  flex: 0 0 auto;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-question:hover {
  color: var(--ochre);
}

.faq-answer {
  padding: 0 0 18px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

.faq-answer p {
  margin: 0 0 10px;
}

.faq-answer a {
  color: var(--ochre);
}

/* ==========================================================================
   pages · 术语索引
   ========================================================================== */

.content-shell > .page-title,
.content-shell > .page-header {
  margin-bottom: 4px;
}

.content-shell > section.page-title {
  margin: 0 0 28px;
}

.main-column {
  min-width: 0;
}

.term-section {
  margin-bottom: 44px;
}

.term-section > h2,
.confusable-section > h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 10px;
}

.term-table {
  border-top: 1px solid var(--rule);
  margin-top: 20px;
}

.term-table .term-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}

.term-table .term-name {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

.term-table .term-def {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
  margin: 0 0 6px;
}

.term-related {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.term-related a {
  color: var(--ochre);
  text-decoration: none;
}

.term-related a:hover {
  text-decoration: underline;
}

.confusable-section {
  margin-bottom: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}

.confusable-block {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 18px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}

.confusable-col {
  padding: 16px 18px;
  min-width: 0;
}

.confusable-common {
  background-color: #f0ece1;
  border-right: 1px solid var(--rule);
}

.confusable-unified {
  background-color: #faf8f2;
}

.confusable-label {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0 0 6px;
  text-transform: uppercase;
}

.confusable-text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
  margin: 0;
}

.confusable-basis {
  grid-column: 1 / -1;
  font-size: 14px;
  line-height: 1.75;
  color: var(--chart-green);
  padding: 12px 18px;
  border-top: 1px solid var(--rule);
  background-color: var(--paper);
  margin: 0;
}

.occurrence-aside {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 20px 18px;
  background-color: #faf8f2;
  align-self: start;
}

.occurrence-aside h2 {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
}

.occurrence-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.occurrence-item {
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--rule);
}

.occurrence-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.occurrence-term {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 4px;
}

.occurrence-where {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 6px;
}

.occurrence-link {
  font-size: 13px;
  color: var(--ochre);
  font-weight: 600;
  text-decoration: none;
}

.occurrence-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   pages · 纠错说明
   ========================================================================== */

.issue-types {
  margin-bottom: 40px;
}

.issue-types > h2,
.info-checklist > h2,
.process-steps > h2,
.related-links > h2,
.correction-note > h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 10px;
}

.issue-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.issue-card {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 20px 18px;
  background-color: #faf8f2;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.issue-code {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ochre);
  letter-spacing: 0.06em;
  margin: 0;
}

.issue-card h3 {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  margin: 0;
}

.issue-symptom {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

.issue-points {
  list-style: disc;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.7;
}

.issue-points li {
  margin-bottom: 4px;
}

.issue-points li::marker {
  color: var(--chart-green);
}

.issue-points a {
  color: var(--ink);
}

.issue-handle {
  font-size: 13px;
  line-height: 1.7;
  color: var(--chart-green);
  border-top: 1px dashed var(--rule);
  padding-top: 10px;
  margin: 0;
}

.correction-figure {
  margin-bottom: 40px;
}

.info-checklist {
  margin-bottom: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}

.checklist-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 20px;
  border-top: 1px solid var(--rule);
}

.checklist-item {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}

.checklist-name {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

.checklist-why {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
}

.process-steps {
  margin-bottom: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}

.step-timeline {
  list-style: none;
  position: relative;
  margin-top: 20px;
  padding-left: 28px;
}

.step-timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background-color: var(--rule);
}

.step-item {
  position: relative;
  padding-bottom: 24px;
}

.step-item:last-child {
  padding-bottom: 0;
}

.step-item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--paper);
  border: 2px solid var(--chart-green);
}

.step-name {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 6px;
}

.step-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0 0 6px;
}

.step-done {
  font-size: 13px;
  color: var(--ochre);
  margin: 0;
}

.related-links {
  margin-bottom: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.related-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 18px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background-color: #faf8f2;
  text-decoration: none;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.related-card:hover {
  border-color: var(--ochre);
  background-color: #f1ede1;
  text-decoration: none;
}

.related-name {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.related-card:hover .related-name {
  color: var(--ochre);
}

.related-note {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.correction-note {
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}

.correction-note p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 820px;
}

/* ==========================================================================
   pages · 编务说明
   ========================================================================== */

.principles-section {
  margin-bottom: 40px;
}

.principles-section > h2,
.scope-section > h2,
.version-section > h2,
.back-link-section > h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 10px;
}

.principles-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.principle-item {
  display: flex;
  gap: 14px;
  border-top: 2px solid var(--ink-dark);
  padding-top: 16px;
  min-width: 0;
}

.principle-num {
  font-family: var(--mono);
  font-size: 20px;
  color: var(--ochre);
  letter-spacing: 0.04em;
  line-height: 1;
  flex: 0 0 auto;
}

.principle-body {
  min-width: 0;
}

.principle-name {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
}

.principle-body p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0 0 8px;
}

.editorial-figure {
  margin-bottom: 40px;
}

.scope-section {
  margin-bottom: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}

.scope-compare {
  margin-top: 20px;
}

.version-section {
  margin-bottom: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}

.version-section > p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink);
  max-width: 820px;
}

.quote-block {
  margin: 24px 40px;
  padding: 20px 24px;
  border-left: 3px solid var(--ochre);
  background-color: #faf8f2;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.quote-text {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
  margin: 0 0 10px;
}

.quote-source {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.back-link-section {
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}

.back-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.back-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background-color: #faf8f2;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.back-link:hover {
  border-color: var(--ochre);
  background-color: #f1ede1;
  text-decoration: none;
  color: var(--ochre);
}

.back-link-desc {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.7;
}

/* ==========================================================================
   pages · 404
   ========================================================================== */

.error-main {
  padding: 80px var(--gutter);
}

.error-inner {
  max-width: 720px;
  margin: 0 auto;
}

.error-code {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ochre);
  margin: 0 0 12px;
}

.error-title {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 600;
  margin: 0 0 16px;
  line-height: 1.25;
}

.error-lead {
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
  margin: 0 0 32px;
}

.error-panel {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 22px 24px;
  background-color: #faf8f2;
  margin-bottom: 28px;
}

.error-panel-title {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 12px;
}

.error-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.error-list li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  line-height: 1.75;
}

.error-list-num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ochre);
  flex: 0 0 auto;
  padding-top: 2px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.error-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  color: var(--ink);
  background-color: transparent;
  transition: border-color 0.18s ease, color 0.18s ease,
    background-color 0.18s ease;
}

.error-btn:hover {
  border-color: var(--ochre);
  color: var(--ochre);
  text-decoration: none;
}

.error-btn-primary {
  background-color: var(--ink-dark);
  color: #f2efe6;
  border-color: var(--ink-dark);
}

.error-btn-primary:hover {
  background-color: var(--ochre);
  border-color: var(--ochre);
  color: #fff;
}

.error-note {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.error-note a {
  color: var(--ochre);
}

/* ==========================================================================
   responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .header-inner {
    gap: 16px;
  }

  .nav-list {
    gap: 16px;
  }

  .nav-link {
    font-size: 14px;
  }

  .hero-inner {
    gap: 32px;
  }

  .task-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  h1 {
    font-size: 30px;
  }

  .hero-title,
  .hero-brief h1 {
    font-size: 30px;
  }

  .page-title {
    font-size: 30px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .page-aside {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .read-grid,
  .rules-grid,
  .identify-steps,
  .issue-grid,
  .principles-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 32px;
  }

  .occurrence-aside {
    margin-top: 8px;
  }
}

@media (max-width: 860px) {
  .site-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .header-command {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 18px;
  }

  h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 19px;
  }

  .hero {
    padding: 28px 0 40px;
  }

  .hero-title,
  .hero-brief h1 {
    font-size: 26px;
  }

  .page-title {
    font-size: 26px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .hero-map {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    gap: 10px;
  }

  .map-figure,
  .map-cell,
  .map-cell:nth-of-type(1),
  .map-cell:nth-of-type(2),
  .map-cell:nth-of-type(3),
  .map-cell:nth-of-type(4),
  .map-cell:nth-of-type(5),
  .map-cell:nth-of-type(6) {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .map-figure {
    order: -1;
  }

  .map-figure img {
    aspect-ratio: 16 / 9;
    height: auto;
  }

  .channel-table-section,
  .theme-list-section,
  .task-section,
  .boundary-section,
  .terms-strip-section,
  .reading-section {
    padding: 40px 0;
  }

  .list-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding: 18px 0;
  }

  .row-no {
    grid-column: 1;
    grid-row: auto;
    font-size: 18px;
  }

  .row-title,
  .row-lead,
  .row-tags,
  .row-link {
    grid-column: 1;
    grid-row: auto;
  }

  .task-cards,
  .reading-links,
  .read-grid,
  .rules-grid,
  .identify-steps,
  .issue-grid,
  .principles-list,
  .related-list,
  .related-grid,
  .back-links {
    grid-template-columns: minmax(0, 1fr);
  }

  .scope-columns,
  .scope-compare {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .term-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .term-strip .term-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .term-table .term-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .checklist-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .confusable-block {
    grid-template-columns: minmax(0, 1fr);
  }

  .confusable-common {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .page-aside {
    grid-template-columns: minmax(0, 1fr);
  }

  .entry-row {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px 12px;
  }

  .entry-tag {
    grid-column: 2;
    justify-self: start;
  }

  .map-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .quote-block {
    margin: 20px 0;
    padding: 16px 18px;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
  }

  .filter-bar {
    padding: 16px 16px;
  }

  .filter-group {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .filter-btn {
    flex: 0 0 auto;
  }

  .error-main {
    padding: 48px var(--gutter);
  }

  .error-title {
    font-size: 26px;
  }

  .error-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .error-btn {
    width: 100%;
  }

  .step-timeline {
    padding-left: 24px;
  }

  .step-item::before {
    left: -24px;
    width: 14px;
    height: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
