/* ==========================================================================
   麻豆HD · 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. base
   -------------------------------------------------------------------------- */

:root {
  --paper: #F6F2E9;
  --card: #FFFDF7;
  --ink: #1E2A38;
  --ink-soft: #627080;
  --teal: #18A7A0;
  --orange: #F26B3A;
  --yellow: #F5C451;
  --green: #6EA44C;
  --line: #D8D0C3;
  --hl: #EAF6F4;
  --radius: 4px;
  --shell: 1200px;
  --read: 760px;
  --font-serif: "Noto Serif SC", "Songti SC", "STSong", serif;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Consolas", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body.site-body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  line-height: 1.35;
}

p {
  margin: 0 0 14px;
}

p:last-child {
  margin-bottom: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover {
  color: var(--teal);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.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;
}

/* 跳转链接：默认完全移出视口且不占位，聚焦时才落回视口内 */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 8px 16px;
  background: var(--ink);
  color: var(--card);
  border-radius: var(--radius);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
  color: var(--card);
}

/* --------------------------------------------------------------------------
   2. layout · 全站骨架
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand-logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  padding: 6px 0;
  border-bottom: 3px solid var(--orange);
  line-height: 1.2;
}

.brand-logo:hover {
  color: var(--teal);
}

.main-nav.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  font-size: 0.94rem;
  color: var(--ink);
  border-radius: var(--radius);
  white-space: nowrap;
}

.nav-link:hover {
  background: var(--hl);
  color: var(--teal);
}

.nav-link.is-current {
  color: var(--teal);
  font-weight: 700;
  box-shadow: inset 0 -2px 0 var(--teal);
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-left: -6px;
  padding: 0;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius);
}

.dropdown-toggle:hover {
  border-color: var(--line);
}

.caret {
  display: block;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--ink-soft);
  border-bottom: 1.5px solid var(--ink-soft);
  transform: rotate(45deg) translate(-1px, -1px);
}

.dropdown-toggle[aria-expanded="true"] .caret {
  transform: rotate(-135deg) translate(-2px, -2px);
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 200px;
  padding: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(30, 42, 56, 0.08);
  display: none;
  z-index: 95;
}

.dropdown-panel.is-open {
  display: block;
}

.dropdown-panel li a {
  display: block;
  padding: 9px 12px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  border-radius: var(--radius);
}

.dropdown-panel li a:hover {
  background: var(--hl);
  color: var(--teal);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.menu-bar {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--card);
}

.mobile-nav-list {
  padding: 8px 16px 16px;
}

.mobile-nav-list > li {
  border-bottom: 1px solid var(--line);
}

.mobile-nav-list > li:last-child {
  border-bottom: 0;
}

.mobile-nav-list a {
  display: block;
  padding: 12px 4px;
  font-size: 0.98rem;
  min-height: 44px;
}

.mobile-nav-list a.is-current {
  color: var(--teal);
  font-weight: 700;
}

.mobile-has-sub {
  position: relative;
}

.mobile-has-sub > a {
  padding-right: 52px;
}

.mobile-sub-toggle {
  position: absolute;
  top: 4px;
  right: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
}

.mobile-sub-list {
  display: none;
  padding: 0 0 8px 16px;
}

.mobile-sub-list.is-open {
  display: block;
}

.mobile-sub-list li a {
  padding: 10px 4px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.site-main {
  display: block;
}

.inner-main {
  display: block;
}

/* 内页统一外壳 */
.page-shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px 56px;
}

.shell {
  max-width: var(--read);
  margin: 0 auto;
  padding: 0 24px 56px;
}

.container {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
}

/* 面包屑 */
.breadcrumb {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 20px 24px 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.breadcrumb a {
  color: var(--ink-soft);
}

.breadcrumb a:hover {
  color: var(--teal);
}

.breadcrumb-sep::before {
  content: "/";
  margin: 0 2px;
  color: var(--line);
}

.breadcrumb-current {
  color: var(--ink);
}

/* 内页标题区 */
.page-header {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 18px 24px 0;
}

.page-title {
  font-size: clamp(1.95rem, 4vw, 3.15rem);
  line-height: 1.25;
  color: var(--ink);
}

.page-title-block {
  padding: 22px 0 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}

.page-lead {
  margin-top: 12px;
  font-size: 1rem;
  color: var(--ink-soft);
  max-width: var(--read);
}

.page-status {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

/* 双栏布局：主内容在前，aside 在后 */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
}

.layout-main,
.content-main {
  min-width: 0;
}

.layout-aside,
.content-aside {
  min-width: 0;
}

/* --------------------------------------------------------------------------
   3. components · 通用组件
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  font-size: 0.94rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background: var(--ink);
  color: var(--card);
}

.btn-primary:hover {
  background: var(--teal);
  color: var(--card);
}

.btn-secondary {
  background: var(--teal);
  color: var(--card);
}

.btn-secondary:hover {
  background: #128f89;
  color: var(--card);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* 栏目标签 */
.section-label,
.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  padding: 2px 8px;
  border: 1px solid var(--teal);
  border-radius: var(--radius);
  margin-bottom: 10px;
}

.section-tag {
  color: var(--orange);
  border-color: var(--orange);
}

.section-head {
  margin-bottom: 24px;
}

.section-head h2,
.section-title {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.section-desc,
.section-intro {
  color: var(--ink-soft);
  font-size: 0.94rem;
  max-width: var(--read);
}

.section-more {
  margin-top: 20px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal);
}

.link-arrow::after {
  content: "→";
  transition: transform 0.18s ease;
}

.link-arrow:hover::after {
  transform: translateX(3px);
}

/* 题材挂签 */
.tag-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.tag-btn {
  min-height: 38px;
  padding: 6px 14px;
  font-size: 0.86rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink-soft);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.tag-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.tag-btn.is-active {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--card);
}

/* 图片与图注 */
figure {
  margin: 0;
}

.hero-figure,
.collection-figure,
.module-figure,
.section-figure,
.feature-figure,
.guide-figure,
.answers-figure,
.about-figure {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-figure img,
.collection-figure img,
.module-figure img,
.section-figure img,
.feature-figure img,
.guide-figure img,
.answers-figure img,
.about-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

figcaption {
  display: block;
  padding: 8px 12px;
  font-size: 0.78rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  background: var(--card);
}

/* 表格通用 */
.channel-table-wrap,
.entry-table-wrap,
.verify-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  -webkit-overflow-scrolling: touch;
}

.channel-table,
.entry-table,
.verify-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.channel-table thead th,
.entry-table thead th,
.verify-table thead th {
  text-align: left;
  padding: 12px 14px;
  background: var(--hl);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.channel-table tbody td,
.entry-table tbody td,
.verify-table tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.channel-table tbody tr:last-child td,
.entry-table tbody tr:last-child td,
.verify-table tbody tr:last-child td {
  border-bottom: 0;
}

.channel-table tbody tr:hover,
.entry-table tbody tr:hover,
.verify-table tbody tr:hover {
  background: var(--hl);
}

.table-note,
.verify-note,
.tag-status {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

/* 状态标记 */
.status {
  display: inline-block;
  padding: 2px 8px;
  font-size: 0.76rem;
  border-radius: var(--radius);
  font-family: var(--font-mono);
}

.status-done {
  background: var(--hl);
  color: var(--green);
}

.status-part {
  background: #FDF1E6;
  color: var(--orange);
}

.status-wait {
  background: #F4F1EA;
  color: var(--ink-soft);
}

/* 页脚 */
.site-footer {
  background: var(--ink);
  color: #C9D2DC;
  margin-top: 40px;
}

.footer-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 32px;
}

.footer-brand {
  min-width: 0;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: #FFFDF7;
  margin-bottom: 8px;
}

.footer-slogan {
  font-size: 0.86rem;
  color: var(--yellow);
  margin-bottom: 10px;
}

.footer-intro {
  font-size: 0.82rem;
  color: #9AA7B4;
  line-height: 1.7;
}

.footer-col {
  min-width: 0;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: #FFFDF7;
  margin-bottom: 12px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: 0.84rem;
  color: #9AA7B4;
}

.footer-col ul li a:hover {
  color: var(--yellow);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 24px;
  max-width: var(--shell);
  margin: 0 auto;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: #7E8C9A;
  margin: 0;
}

/* --------------------------------------------------------------------------
   4. pages · 首页
   -------------------------------------------------------------------------- */

.hero-toolbar {
  background: var(--card);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 40px 24px 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 40px;
  align-items: start;
}

.hero-lead {
  min-width: 0;
}

.hero-kicker {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 12px;
}

.hero-lead h1 {
  font-size: clamp(1.95rem, 4vw, 3.15rem);
  line-height: 1.22;
  margin-bottom: 16px;
}

.hero-slogan {
  font-size: 1.02rem;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 12px;
}

.hero-desc {
  font-size: 0.95rem;
  color: var(--ink-soft);
  max-width: 34em;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-media {
  min-width: 0;
  display: grid;
  gap: 16px;
}

.hero-figure img {
  aspect-ratio: 16 / 10;
}

.issue-toc {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.issue-toc-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.issue-toc-list li {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px dashed var(--line);
  font-size: 0.88rem;
}

.issue-toc-list li:first-child {
  border-top: 0;
}

.toc-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--orange);
  flex: 0 0 auto;
}

.section {
  padding: 48px 0;
}

.section-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
}

/* 频道行列表 */
.channel-rows {
  border-top: 1px solid var(--line);
}

.channel-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) minmax(0, 0.9fr) minmax(0, 0.7fr);
  gap: 16px;
  align-items: center;
  padding: 16px 8px;
  border-bottom: 1px solid var(--line);
  transition: background 0.18s ease;
}

.channel-rows .channel-row:hover {
  background: var(--hl);
}

.channel-name a {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
}

.channel-scope {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.channel-form {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.channel-link a {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--teal);
}

/* 专题挂签墙 */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.collection-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.collection-card:hover {
  border-color: var(--teal);
  box-shadow: 0 6px 18px rgba(30, 42, 56, 0.06);
}

.collection-card h3 {
  font-size: 1.1rem;
}

.collection-card h3 a:hover {
  color: var(--teal);
}

.collection-card p {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.collection-figure img {
  aspect-ratio: 16 / 9;
}

.collection-meta {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--orange);
}

/* 批次时间线 */
.timeline {
  position: relative;
  border-left: 2px solid var(--line);
  padding-left: 24px;
  display: grid;
  gap: 24px;
}

.timeline-item {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 20px;
  width: 10px;
  height: 10px;
  background: var(--teal);
  border: 2px solid var(--paper);
  border-radius: 50%;
}

.timeline-batch {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--orange);
  margin-bottom: 6px;
}

.timeline-item h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.timeline-item p {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.timeline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}

.timeline-links a {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--teal);
}

/* 核验折叠清单 */
.verify-checklist .section-inner {
  padding-top: 0;
}

.details-list {
  display: grid;
  gap: 10px;
}

.details-list details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 16px;
}

.details-list summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 26px 14px 0;
  position: relative;
  font-weight: 600;
  font-size: 0.96rem;
}

.details-list summary::-webkit-details-marker {
  display: none;
}

.details-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  color: var(--teal);
}

.details-list details[open] summary::after {
  content: "−";
}

.details-list details p {
  padding: 0 0 16px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* 编目边界与问答入口 */
.boundary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.boundary-card,
.answers-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.boundary-card h3,
.answers-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.boundary-list li {
  font-size: 0.9rem;
  color: var(--ink-soft);
  padding: 8px 0;
  border-top: 1px dashed var(--line);
}

.boundary-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.boundary-link,
.answers-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal);
}

.answers-list li {
  padding: 8px 0;
  border-top: 1px dashed var(--line);
  font-size: 0.9rem;
}

.answers-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

/* --------------------------------------------------------------------------
   5. pages · 内页通用模块
   -------------------------------------------------------------------------- */

.module {
  margin-bottom: 40px;
}

.module h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.module > p {
  color: var(--ink-soft);
  font-size: 0.94rem;
  max-width: var(--read);
}

.module-figure {
  margin-bottom: 40px;
}

.module-figure img,
.channel-figure img {
  aspect-ratio: 16 / 8;
}

.tip-list {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.tip-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.tip-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  background: var(--yellow);
  border-radius: 2px;
}

/* 频道目录表 */
.channel-table .channel-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.98rem;
}

.channel-table .channel-name a {
  color: var(--ink);
}

.channel-table .channel-name a:hover {
  color: var(--teal);
}

.tag-chip {
  display: inline-block;
  padding: 2px 8px;
  font-size: 0.76rem;
  font-family: var(--font-mono);
  background: var(--hl);
  color: var(--teal);
  border-radius: var(--radius);
}

/* 字段定义 */
.field-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.field-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.field-item dt {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
}

.field-item dd {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.field-item dd a {
  display: inline-block;
  margin-top: 8px;
  color: var(--teal);
  font-weight: 600;
  font-size: 0.86rem;
}

/* 关联容器 */
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 18px;
}

.related-grid.related-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.related-box,
.related-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.related-box h3,
.related-card h3 {
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.related-box p,
.related-card p {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.link-list {
  margin-top: 10px;
  display: grid;
  gap: 6px;
}

.link-list li a {
  font-size: 0.88rem;
  color: var(--teal);
  font-weight: 600;
}

.step-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.step-list li {
  font-size: 0.9rem;
  color: var(--ink-soft);
  padding-left: 26px;
  position: relative;
}

.step-list li::before {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: var(--hl);
  color: var(--teal);
  border-radius: 50%;
}

.step-list {
  counter-reset: step;
}

/* 专题编目页 */
.section-rules,
.section-tags,
.section-entries,
.section-related {
  padding: 40px 0;
}

.rule-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.rule-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}

.rule-title {
  font-size: 1.06rem;
  margin-bottom: 8px;
}

.rule-text {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.rule-list {
  display: grid;
  gap: 8px;
}

.rule-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.rule-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
}

.feature-figure {
  margin-top: 24px;
}

.feature-figure img {
  aspect-ratio: 16 / 7;
}

.entry-table .entry-num {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--orange);
  width: 48px;
}

.entry-table .entry-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.96rem;
}

.entry-table .entry-seg,
.entry-table .entry-batch {
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.entry-table .entry-batch {
  font-family: var(--font-mono);
}

.entry-table .entry-link a {
  color: var(--teal);
  font-weight: 600;
  font-size: 0.86rem;
}

.related-card .related-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal);
}

.related-links {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.related-links-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.related-links-item {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal);
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.related-links-item:hover {
  border-color: var(--teal);
}

/* 更新记录页 */
.content-section {
  margin-bottom: 40px;
}

.section-figure {
  margin: 16px 0 22px;
}

.section-figure img {
  aspect-ratio: 16 / 7;
}

.read-order-list {
  display: grid;
  gap: 12px;
  counter-reset: readorder;
}

.read-order-list li {
  display: flex;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.read-order-num {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--orange);
  padding-top: 2px;
}

.read-order-body {
  min-width: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.batch-timeline {
  position: relative;
  border-left: 2px solid var(--line);
  padding-left: 22px;
  display: grid;
  gap: 18px;
}

.batch-item {
  position: relative;
}

.batch-marker {
  position: absolute;
  left: -29px;
  top: 18px;
  width: 10px;
  height: 10px;
  background: var(--orange);
  border: 2px solid var(--paper);
  border-radius: 50%;
}

.batch-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.batch-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.batch-no {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--orange);
}

.batch-summary {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.batch-fields {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.batch-link {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--teal);
}

.link-band {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.link-band-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.link-band-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.link-band-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.link-band-list a {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--teal);
}

.link-band-note {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.aside-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}

.aside-title {
  font-size: 1.06rem;
  margin-bottom: 8px;
}

.aside-desc {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.field-def-list {
  margin: 0;
}

.field-def-list dt {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.92rem;
  margin-top: 10px;
}

.field-def-list dt:first-child {
  margin-top: 0;
}

.field-def-list dd {
  margin: 2px 0 0;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.aside-more {
  margin-top: 12px;
}

.aside-more a {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--teal);
}

.correction-list {
  display: grid;
  gap: 12px;
}

.correction-list li a {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 2px;
}

.correction-list li p {
  font-size: 0.84rem;
  color: var(--ink-soft);
}

/* 观看指南页 */
.step-index {
  margin-bottom: 28px;
}

.step-index-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.step-index-item a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  min-height: 44px;
}

.step-index-item a:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.step-no {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--orange);
}

.guide-figure {
  margin-bottom: 32px;
}

.guide-figure img {
  aspect-ratio: 16 / 7;
}

.guide-section {
  margin-bottom: 40px;
  scroll-margin-top: 90px;
}

.guide-section h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.prepare-list {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.prepare-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 4px 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.prepare-no {
  grid-row: span 2;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--orange);
  padding-top: 2px;
}

.prepare-item h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.prepare-item p {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.prepare-item p a {
  color: var(--teal);
  font-weight: 600;
}

.verify-table caption {
  text-align: left;
  padding: 10px 14px;
  font-size: 0.8rem;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  background: var(--card);
}

.browse-steps {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  counter-reset: browse;
}

.browse-step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.browse-step h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.browse-step p {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.issue-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.issue-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.issue-flag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--orange);
  background: #FDF1E6;
  padding: 2px 8px;
  border-radius: var(--radius);
  margin-bottom: 8px;
}

.issue-item h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.issue-item p {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.issue-item p a {
  color: var(--teal);
  font-weight: 600;
}

.related-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.related-item a {
  display: block;
  padding: 12px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
}

.related-item a:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.related-more {
  margin-top: 14px;
}

.related-more a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal);
}

/* 问答汇编页 */
.page-head {
  padding: 24px 0 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}

.view-legend {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.legend-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
}

.legend-item dt {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--teal);
  margin-bottom: 4px;
}

.legend-item dd {
  margin: 0;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.view-note {
  font-size: 0.84rem;
  color: var(--ink-soft);
}

.answers-figure {
  margin: 20px 0 8px;
}

.answers-figure img {
  aspect-ratio: 16 / 6;
}

.view-switch {
  margin-top: 24px;
}

.view-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.view-tab {
  min-height: 44px;
  padding: 8px 18px;
  font-size: 0.9rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink-soft);
}

.view-tab:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.view-tab.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--card);
}

.view-panel {
  padding-top: 24px;
}

.view-panel h2 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.view-panel > p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.qa-list {
  display: grid;
  gap: 10px;
}

.qa-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 16px;
}

.qa-item summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 14px 26px 14px 0;
  font-weight: 600;
  font-size: 0.96rem;
}

.qa-item summary::-webkit-details-marker {
  display: none;
}

.qa-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  color: var(--teal);
}

.qa-item[open] summary::after {
  content: "−";
}

.qa-body {
  padding: 0 0 16px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.qa-ref {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--teal);
}

.qa-basis {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--orange);
}

.pending-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.pending-item h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.pending-fields {
  margin: 0;
  display: grid;
  gap: 6px;
}

.pending-fields dt {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--ink-soft);
}

.pending-fields dd {
  margin: 0 0 4px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.aside-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}

.aside-card h2 {
  font-size: 1.06rem;
  margin-bottom: 8px;
}

.aside-card > p {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.feedback-checklist {
  display: grid;
  gap: 12px;
  margin: 14px 0;
}

.feedback-checklist li h3 {
  font-size: 0.94rem;
  margin-bottom: 4px;
}

.feedback-checklist li p {
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.aside-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.aside-links a {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--teal);
}

/* 编目说明页 */
.page-hero {
  padding: 8px 0 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}

.about-facts h2,
.about-principles h2,
.about-boundaries h2,
.about-feedback h2,
.about-continue h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.fact-list {
  margin: 18px 0 0;
  border-top: 1px solid var(--line);
}

.fact-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.fact-row dt {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--teal);
}

.fact-row dd {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.about-figure {
  margin: 28px 0;
}

.about-figure img {
  aspect-ratio: 16 / 6;
}

.about-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-bottom: 36px;
}

.principle-list {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  counter-reset: principle;
}

.principle-item {
  position: relative;
  padding-left: 34px;
}

.principle-item::before {
  content: counter(principle, decimal-leading-zero);
  counter-increment: principle;
  position: absolute;
  left: 0;
  top: 2px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--orange);
}

.principle-item h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.principle-item p {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.boundary-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.boundary-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.boundary-item h3 {
  font-size: 0.96rem;
  margin-bottom: 4px;
}

.boundary-item p {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.about-feedback {
  margin-bottom: 36px;
}

.feedback-path-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.feedback-path {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feedback-path h3 {
  font-size: 0.98rem;
}

.feedback-path p {
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.feedback-path a {
  margin-top: auto;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--teal);
}

.continue-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.continue-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  min-height: 44px;
}

.continue-card:hover {
  border-color: var(--teal);
}

.continue-label {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.02rem;
}

.continue-desc {
  font-size: 0.86rem;
  color: var(--ink-soft);
}

/* 404 */
.error-main {
  display: flex;
  justify-content: center;
  padding: 64px 24px 80px;
}

.error-panel {
  max-width: 560px;
  text-align: left;
}

.error-code {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: var(--orange);
  margin-bottom: 10px;
}

.error-panel h1 {
  font-size: clamp(1.95rem, 4vw, 3.15rem);
  margin-bottom: 14px;
}

.error-lead {
  font-size: 0.96rem;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.error-hints {
  display: grid;
  gap: 8px;
  margin-bottom: 26px;
}

.error-hints li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.error-hints li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 7px;
  height: 7px;
  background: var(--yellow);
  border-radius: 2px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* --------------------------------------------------------------------------
   6. responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .footer-inner {
    grid-template-columns: 1.4fr repeat(2, 1fr);
    row-gap: 28px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    gap: 28px;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 28px;
  }
}

@media (max-width: 960px) {
  .header-inner {
    padding: 0 18px;
    min-height: 60px;
    gap: 12px;
  }

  .main-nav.site-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .mobile-nav.is-open {
    display: block;
  }

  .page-shell,
  .shell,
  .container,
  .section-inner,
  .breadcrumb,
  .page-header,
  .related-links,
  .footer-inner,
  .footer-bottom {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    padding: 28px 18px 32px;
    gap: 24px;
  }

  .hero-media {
    order: 2;
  }

  .channel-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    row-gap: 6px;
  }

  .channel-form,
  .channel-link {
    grid-column: auto;
  }

  .collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .layout-aside,
  .content-aside {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .aside-block,
  .aside-card {
    margin-bottom: 0;
  }

  .step-index-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .feedback-path-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 36px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  body.site-body {
    font-size: 15px;
  }

  .page-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .hero-lead h1 {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section {
    padding: 34px 0;
  }

  .section-rules,
  .section-tags,
  .section-entries,
  .section-related {
    padding: 30px 0;
  }

  .section-head h2,
  .section-title,
  .module h2,
  .guide-section h2,
  .about-facts h2,
  .about-principles h2,
  .about-boundaries h2,
  .about-feedback h2,
  .about-continue h2 {
    font-size: 1.28rem;
  }

  .channel-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 14px 4px;
  }

  .channel-name a {
    font-size: 1rem;
  }

  .channel-link {
    margin-top: 4px;
  }

  .collection-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .boundary-grid,
  .rule-columns,
  .related-grid,
  .related-grid.related-grid-3,
  .field-list,
  .view-legend,
  .continue-links,
  .feedback-path-list,
  .layout-aside,
  .content-aside {
    grid-template-columns: minmax(0, 1fr);
  }

  .step-index-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step-index-item a {
    padding: 10px 12px;
    font-size: 0.84rem;
  }

  .prepare-item {
    grid-template-columns: 30px minmax(0, 1fr);
    padding: 14px;
  }

  .fact-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .fact-row dt {
    font-size: 0.78rem;
  }

  .tag-toolbar {
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .tag-btn {
    min-height: 40px;
    padding: 6px 12px;
    font-size: 0.82rem;
  }

  .channel-table,
  .entry-table,
  .verify-table {
    font-size: 0.84rem;
  }

  .channel-table thead th,
  .entry-table thead th,
  .verify-table thead th,
  .channel-table tbody td,
  .entry-table tbody td,
  .verify-table tbody td {
    padding: 10px;
  }

  .timeline {
    padding-left: 18px;
  }

  .timeline-item::before {
    left: -25px;
  }

  .batch-timeline {
    padding-left: 18px;
  }

  .batch-marker {
    left: -25px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 32px 18px 24px;
  }

  .footer-bottom {
    padding: 16px 18px;
  }

  .error-main {
    padding: 44px 18px 60px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
