/* ==========================================================================
   天美影视集团 · 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* ==========================================================================
   base
   ========================================================================== */

:root {
  --bg: #FAF7F2;
  --surface: #FFFFFF;
  --ink: #23201C;
  --ink-soft: #6B655C;
  --accent: #B4552D;
  --accent-soft: #F3E6DD;
  --moss: #4E6B57;
  --moss-soft: #E6EDE6;
  --line: #E4DED4;
  --line-strong: #D3CABB;
  --focus: #1F4E79;
  --swatch-ochre: #C97B4A;
  --swatch-blue: #6C8AA6;
  --swatch-sand: #C7A87A;
  --swatch-lotus: #8E7B96;
  --swatch-moss: #7C9070;
  --swatch-purple: #8E7B96;
  --swatch-green: #7C9070;
  --radius: 6px;
  --shell: 1160px;
  --read: 720px;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, sans-serif;
  --font-mono: "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
  color: var(--ink);
}

p {
  margin: 0;
}

ul,
ol,
dl,
dd {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}

a:hover {
  color: #8F3F1F;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 3px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-soft);
}

table {
  border-collapse: collapse;
  width: 100%;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.mono,
.year-range,
.year-batch,
.record-col-no,
.field-name,
.scope-tag-label {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   layout · 全站骨架
   ========================================================================== */

.site-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 28px;
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  flex: 0 0 auto;
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  padding: 6px 0;
}

.brand:hover {
  color: var(--accent);
}

.site-nav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  min-width: 0;
}

.nav-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.nav-group-label {
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--ink-soft);
  line-height: 1.4;
  white-space: nowrap;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 9px;
  font-size: 15px;
  color: var(--ink);
  border-radius: 4px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--accent);
  background: #F2ECE3;
}

.nav-group-content .nav-link.is-current {
  color: var(--accent);
  border-bottom-color: var(--accent);
  font-weight: 600;
}

.nav-group-guide {
  padding: 5px 8px 5px 12px;
  border-left: 2px solid var(--line-strong);
  background: #F4EFE7;
  border-radius: 6px;
}

.nav-group-guide .nav-link {
  font-size: 14px;
  color: var(--ink-soft);
}

.nav-group-guide .nav-link:hover {
  background: #EBE3D7;
  color: var(--ink);
}

.nav-group-guide .nav-link.is-current {
  color: var(--accent);
  font-weight: 600;
  background: #EFE4D9;
}

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--surface);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 14px 24px 18px;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-group + .mobile-group {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.mobile-group-title {
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.mobile-list {
  display: flex;
  flex-direction: column;
}

.mobile-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 10px;
  font-size: 16px;
  color: var(--ink);
  border-radius: 4px;
}

.mobile-list a:hover,
.mobile-list a:focus-visible {
  background: #F2ECE3;
  color: var(--accent);
}

.site-main {
  flex: 1 1 auto;
  width: 100%;
}

.home-main {
  display: block;
}

.inner-main {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 26px 28px 64px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.breadcrumb a {
  color: var(--ink-soft);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  color: var(--line-strong);
}

.breadcrumb-current {
  color: var(--ink);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.page-header {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.page-title {
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  max-width: 860px;
}

.page-layout {
  display: grid;
  gap: 34px;
  align-items: start;
}

.page-layout.sidebar-left {
  grid-template-columns: 232px minmax(0, 1fr);
}

.page-layout.layout-main-aside {
  grid-template-columns: minmax(0, 1fr) 268px;
}

.page-content {
  min-width: 0;
}

.content-main {
  min-width: 0;
}

.page-aside {
  min-width: 0;
  font-size: 14px;
}

.page-aside .aside-title {
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--ink-soft);
  font-weight: 600;
  margin-bottom: 8px;
}

.page-aside .aside-title-sub {
  margin-top: 18px;
}

.page-aside .aside-note {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 10px;
}

.aside-anchor-list,
.aside-link-list,
.aside-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.aside-anchor-list a,
.aside-link-list a,
.aside-list a {
  display: block;
  padding: 7px 9px;
  font-size: 14px;
  color: var(--ink);
  border-left: 2px solid var(--line);
  border-radius: 0 4px 4px 0;
  line-height: 1.5;
}

.aside-anchor-list a:hover,
.aside-link-list a:hover,
.aside-list a:hover {
  background: #F2ECE3;
  border-left-color: var(--accent);
  color: var(--accent);
}

.aside-link-note {
  display: block;
  padding: 0 9px 8px;
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.aside-scope {
  margin-top: 18px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.aside-scope p {
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.aside-block + .aside-block {
  margin-top: 18px;
}

.aside-block .aside-link-list li {
  border-bottom: 1px dashed var(--line);
}

.aside-block .aside-link-list a {
  border-left: 0;
  padding-bottom: 2px;
}

.aside-block .aside-link-list span {
  display: block;
  padding: 0 9px 8px;
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ==========================================================================
   layout · 页脚
   ========================================================================== */

.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.footer-inner {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 40px 28px 26px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.footer-brand-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.footer-brand-desc {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.75;
  max-width: 320px;
}

.footer-col-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-col a {
  display: inline-block;
  padding: 3px 0;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.6;
}

.footer-col a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-bottom p {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 4px 28px;
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.8;
}

.footer-bottom p:first-child {
  padding-top: 16px;
}

.footer-bottom p:last-child {
  padding-bottom: 16px;
}

/* ==========================================================================
   components · 通用元素
   ========================================================================== */

.section-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.section-lead,
.section-intro,
.section-desc {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.8;
  max-width: var(--read);
  margin-bottom: 22px;
}

.section-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  min-height: 32px;
}

.section-more::after {
  content: "→";
  font-family: var(--font-mono);
}

.section-more:hover {
  color: #8F3F1F;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sub-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

.subsection-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin: 22px 0 10px;
}

.scope-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--moss);
  background: var(--moss-soft);
  border: 1px solid #C9D8CA;
  border-radius: 999px;
  margin: 0;
}

.scope-tag-label {
  font-size: 11px;
  letter-spacing: .04em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 20px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  line-height: 1.4;
}

.btn-primary {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: #9C4726;
  border-color: #9C4726;
  color: #FFFFFF;
}

.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: #FBF4EE;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 18px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  background: var(--accent);
  color: #FFFFFF;
  border: 1px solid var(--accent);
}

.btn-link:hover {
  background: #9C4726;
  border-color: #9C4726;
  color: #FFFFFF;
}

.btn-link-ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-link-ghost:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: #FBF4EE;
}

.link-inline {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content-figure,
.section-figure,
.term-figure,
.module-figure,
.checklist-figure,
.fields-figure,
.split-figure,
.directory-figure {
  margin: 0 0 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.content-figure img,
.section-figure img,
.term-figure img,
.module-figure img,
.checklist-figure img,
.fields-figure img,
.split-figure img,
.directory-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.content-figure figcaption,
.section-figure figcaption,
.term-figure figcaption,
.module-figure figcaption,
.checklist-figure figcaption,
.fields-figure figcaption,
.split-figure figcaption,
.directory-figure figcaption {
  margin: 0;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  background: #FCFAF6;
}

.swatch {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  margin-right: 8px;
  vertical-align: baseline;
  flex: 0 0 auto;
}

.swatch-ochre {
  background: var(--swatch-ochre);
}

.swatch-blue {
  background: var(--swatch-blue);
}

.swatch-sand {
  background: var(--swatch-sand);
}

.swatch-lotus {
  background: var(--swatch-lotus);
}

.swatch-moss {
  background: var(--swatch-moss);
}

.swatch-purple {
  background: var(--swatch-purple);
}

.swatch-green {
  background: var(--swatch-green);
}

.data-table {
  width: 100%;
  font-size: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.data-table thead th {
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink-soft);
  background: #F6F1E9;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.data-table tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.7;
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover {
  background: #FCFAF6;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-caption {
  caption-side: top;
  text-align: left;
  font-size: 12px;
  color: var(--ink-soft);
  padding: 8px 0;
}

.table-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.75;
}

.section-footnote {
  margin-top: 16px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.75;
  background: #F6F1E9;
  border-left: 3px solid var(--line-strong);
  border-radius: 0 4px 4px 0;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.related-links-label {
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--ink-soft);
}

.related-links-item {
  font-size: 14px;
  font-weight: 600;
}

/* ==========================================================================
   pages · 首页
   ========================================================================== */

/* 首屏 */
.hero {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 48px 28px 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 44px;
  align-items: center;
}

.hero-text {
  min-width: 0;
}

.hero-kicker {
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.hero-text h1 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 18px;
}

.hero-lead {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.85;
  max-width: 520px;
  margin-bottom: 26px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-media {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-media figcaption {
  margin: 0;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  background: #FCFAF6;
}

.anchor-hint {
  display: block;
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 28px 8px;
  font-size: 13px;
  color: var(--ink-soft);
}

.anchor-hint::before {
  content: "↓";
  font-family: var(--font-mono);
  margin-right: 8px;
  color: var(--accent);
}

.anchor-hint:hover {
  color: var(--accent);
}

/* 三条浏览线索 */
.clues {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 40px 28px;
  border-top: 1px solid var(--line);
}

.clue-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.clue-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.clue-card:nth-child(2) {
  border-top: 3px solid var(--swatch-blue);
}

.clue-card:nth-child(1) {
  border-top: 3px solid var(--swatch-ochre);
}

.clue-card:nth-child(3) {
  border-top: 3px solid var(--swatch-moss);
}

.clue-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.clue-fit {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 14px;
  flex: 1 1 auto;
}

.clue-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.clue-link::after {
  content: "→";
  font-family: var(--font-mono);
  margin-left: 6px;
}

.clue-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 频道档案目录速览 */
.directory {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 40px 28px;
  border-top: 1px solid var(--line);
}

.directory-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.directory-main {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.channel-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.65;
}

.channel-row:last-child {
  border-bottom: 0;
}

.channel-row:hover:not(.channel-row-head) {
  background: #FCFAF6;
}

.channel-row-head {
  background: #F6F1E9;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--ink-soft);
  font-weight: 600;
}

.channel-col-name {
  display: flex;
  align-items: center;
  font-weight: 600;
  color: var(--ink);
  min-width: 0;
}

.channel-row-head .channel-col-name {
  font-weight: 600;
  color: var(--ink-soft);
}

.channel-col-dir {
  color: var(--ink);
  min-width: 0;
}

.channel-col-field {
  color: var(--ink-soft);
  font-size: 13px;
  min-width: 0;
}

.summary-panel {
  min-width: 0;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.panel-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.panel-title + .panel-text {
  margin-bottom: 18px;
}

.panel-text {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.8;
}

.field-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.field-tags li {
  padding: 3px 10px;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--ink);
  background: #F4EFE7;
  border: 1px solid var(--line);
  border-radius: 3px;
}

.panel-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.panel-link::after {
  content: "→";
  font-family: var(--font-mono);
  margin-left: 6px;
}

.panel-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.directory-figure {
  margin-top: 24px;
}

/* 专题片单 */
.specials {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 40px 28px;
  border-top: 1px solid var(--line);
}

.specials-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.specials-list {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.special-item {
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--swatch-sand);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.special-name {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.special-dir {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.75;
}

.special-range {
  margin-top: 4px;
  font-size: 13px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
}

.specials-media {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.specials-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.specials-media figcaption {
  margin: 0;
  padding: 9px 14px;
  border-top: 1px solid var(--line);
  background: #FCFAF6;
}

.specials-media figcaption:last-child {
  border-top: 0;
  padding-top: 0;
}

/* 术语索引与常见误区 */
.terms-preview {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 40px 28px;
  border-top: 1px solid var(--line);
}

.terms-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  align-items: start;
}

.terms-words,
.terms-myths {
  min-width: 0;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.word-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.word-item dt {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}

.word-item dd {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.8;
}

.myth-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.myth-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
  line-height: 1.75;
}

.myth-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.myth-wrong {
  color: var(--ink-soft);
  text-decoration: line-through;
  text-decoration-color: #C9A99A;
}

.myth-right {
  color: var(--ink);
}

.myth-right::before {
  content: "更正 ";
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--moss);
  letter-spacing: .04em;
}

/* 观看准备要点 */
.prepare-preview {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 40px 28px;
  border-top: 1px solid var(--line);
}

.prepare-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.check-num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}

.check-text {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.75;
  min-width: 0;
}

.prepare-media {
  min-width: 0;
}

.prepare-media figure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.prepare-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.prepare-media figcaption {
  margin: 0;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  background: #FCFAF6;
}

.field-hint {
  margin-top: 12px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.75;
  background: #F6F1E9;
  border-left: 3px solid var(--moss);
  border-radius: 0 4px 4px 0;
}

/* 更新记录摘要 */
.records-preview {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 40px 28px;
  border-top: 1px solid var(--line);
}

.record-table {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.record-row {
  display: grid;
  grid-template-columns: 120px 200px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.7;
}

.record-row:last-child {
  border-bottom: 0;
}

.record-row-head {
  background: #F6F1E9;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink-soft);
}

.record-col-no {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}

.record-row-head .record-col-no {
  color: var(--ink-soft);
  font-weight: 600;
}

.record-col-scope {
  color: var(--ink);
  min-width: 0;
}

.record-col-note {
  color: var(--ink-soft);
  min-width: 0;
}

/* 收束条 */
.closing-bar {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 28px 56px;
}

.closing-text {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.8;
  max-width: var(--read);
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.closing-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.closing-bar a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-top: 10px;
  font-weight: 600;
}

/* ==========================================================================
   pages · 内页通用标题区
   ========================================================================== */

.page-head,
.page-title-block,
.page-intro {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.page-lead,
.page-lede,
.page-intro-desc {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.85;
  max-width: var(--read);
  margin-bottom: 12px;
}

/* ==========================================================================
   pages · 作品档案
   ========================================================================== */

.content-section {
  margin-bottom: 34px;
}

.content-section h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.content-section > p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.8;
  max-width: var(--read);
  margin-bottom: 16px;
}

.year-axis {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.year-node {
  position: relative;
  display: grid;
  grid-template-columns: 130px 120px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px 14px 26px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.7;
}

.year-node:last-child {
  border-bottom: 0;
}

.year-node::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: var(--line-strong);
}

.year-node:focus-within::before {
  background: var(--accent);
}

.year-node.is-highlight {
  background: #FBF1E9;
}

.year-range {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.year-batch {
  font-size: 12px;
  color: var(--accent);
}

.year-note {
  color: var(--ink-soft);
  min-width: 0;
}

.year-jump {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.year-jump:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.topic-table td:first-child {
  white-space: nowrap;
  font-weight: 600;
}

.entry-card {
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
}

.entry-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.field-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-bottom: 10px;
}

.field {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 3px 9px;
  background: #F6F1E9;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 12px;
}

.field dt {
  color: var(--ink-soft);
  letter-spacing: .04em;
}

.field dd {
  font-family: var(--font-mono);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.entry-desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.8;
}

.field-guide-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.field-guide-item {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.75;
}

.field-guide-item:last-child {
  border-bottom: 0;
}

.field-guide-item dt {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--ink);
}

.field-guide-item dd {
  color: var(--ink-soft);
  min-width: 0;
}

/* ==========================================================================
   pages · 术语索引
   ========================================================================== */

.term-table {
  margin-bottom: 34px;
}

.term-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  font-size: 14px;
  line-height: 1.75;
}

.term-row:first-of-type {
  border-top: 1px solid var(--line);
  border-radius: var(--radius) var(--radius) 0 0;
}

.term-row:last-child {
  border-radius: 0 0 var(--radius) var(--radius);
}

.term-row-head {
  background: #F6F1E9;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink-soft);
  padding: 10px 16px;
  border-radius: var(--radius) var(--radius) 0 0;
  border-top: 1px solid var(--line);
}

.term-col-term {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  min-width: 0;
}

.term-row-head .term-col-term {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
}

.term-col-mean {
  color: var(--ink);
  min-width: 0;
}

.term-col-where {
  color: var(--ink-soft);
  font-size: 13px;
  min-width: 0;
}

.term-row-head .term-col-where {
  font-size: 12px;
}

.myth-block {
  margin-bottom: 34px;
}

.myth-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  font-size: 14px;
  line-height: 1.75;
}

.myth-row:first-of-type {
  border-top: 1px solid var(--line);
  border-radius: var(--radius) var(--radius) 0 0;
}

.myth-row:last-child {
  border-radius: 0 0 var(--radius) var(--radius);
}

.myth-row-head {
  background: #F6F1E9;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink-soft);
  padding: 10px 16px;
  border-radius: var(--radius) var(--radius) 0 0;
  border-top: 1px solid var(--line);
}

.myth-row .myth-col-wrong {
  color: var(--ink-soft);
  min-width: 0;
}

.myth-row .myth-col-right {
  color: var(--ink);
  min-width: 0;
}

.myth-row-head .myth-col-wrong,
.myth-row-head .myth-col-right {
  color: var(--ink-soft);
  font-size: 12px;
}

.myth-row p {
  margin: 0;
}

.usage-block {
  margin-bottom: 20px;
}

.usage-para {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.85;
  max-width: var(--read);
  margin-bottom: 12px;
}

.usage-block .scope-tag {
  margin: 4px 0 6px;
}

.usage-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: var(--read);
}

.usage-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.8;
}

.usage-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--moss);
}

/* ==========================================================================
   pages · 进阶专题
   ========================================================================== */

.section {
  margin-bottom: 34px;
}

.section > .section-title {
  font-size: 22px;
}

.split-two {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.split-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.split-text p {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.85;
}

.split-figure {
  margin: 0;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.compare-col {
  min-width: 0;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.compare-col:first-child {
  border-top: 3px solid var(--moss);
}

.compare-col:last-child {
  border-top: 3px solid var(--swatch-ochre);
}

.compare-col h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.compare-col .check-list {
  gap: 8px;
}

.compare-col .check-item {
  padding: 10px 12px;
  background: #FCFAF6;
}

/* ==========================================================================
   pages · 观看准备
   ========================================================================== */

.checklist-section,
.fields-section,
.source-section,
.related-section {
  margin-bottom: 34px;
}

.section-head {
  margin-bottom: 20px;
}

.section-head h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

.section-head p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.8;
  max-width: var(--read);
}

.checklist-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.checklist-col {
  min-width: 0;
}

.numbered-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.numbered-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.numbered-index {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid #E4C8B7;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}

.numbered-body {
  min-width: 0;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.8;
}

.fields-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.fields-col {
  min-width: 0;
}

.field-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.field-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.75;
}

.field-row:last-child {
  border-bottom: 0;
}

.field-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.field-meaning {
  color: var(--ink);
  min-width: 0;
}

.field-misread {
  color: var(--ink-soft);
  font-size: 13px;
  min-width: 0;
}

.fields-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.8;
  max-width: var(--read);
}

.source-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.source-col {
  min-width: 0;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.source-col h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.source-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.source-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.75;
}

.source-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .7em;
  width: 6px;
  height: 1px;
  background: var(--line-strong);
}

.source-note {
  margin-top: 16px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.75;
  background: #F6F1E9;
  border-left: 3px solid var(--line-strong);
  border-radius: 0 4px 4px 0;
}

.related-section .related-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.related-section .related-links li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.related-section .related-links a {
  font-size: 15px;
  font-weight: 600;
}

.related-section .related-links span {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ==========================================================================
   pages · 更新记录
   ========================================================================== */

.batch-section {
  margin-bottom: 34px;
}

.batch-table {
  width: 100%;
  font-size: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.batch-table thead th {
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink-soft);
  background: #F6F1E9;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.batch-table tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.7;
}

.batch-table tbody tr:last-child td {
  border-bottom: 0;
}

.batch-table tbody tr:hover {
  background: #FCFAF6;
}

.batch-table tbody td:first-child {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
}

.batch-table tbody td:nth-child(2) {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--ink-soft);
  white-space: nowrap;
}

.batch-row {
  scroll-margin-top: 90px;
}

.batch-row.is-highlight {
  background: #FBF1E9;
}

.scope-section {
  margin-bottom: 34px;
}

.scope-block {
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
}

.scope-block-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.scope-block p {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.8;
  max-width: var(--read);
}

.scope-block .scope-limited {
  margin-top: 8px;
  font-size: 13px;
  color: var(--moss);
  padding-left: 12px;
  border-left: 2px solid #C9D8CA;
}

.history-section {
  margin-bottom: 34px;
}

.history-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.history-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.7;
}

.history-item:last-child {
  border-bottom: 0;
}

.history-link {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.history-summary {
  color: var(--ink-soft);
  min-width: 0;
}

.history-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.75;
}

.closing-strip {
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.closing-strip .section-title {
  font-size: 18px;
  margin-bottom: 6px;
}

.closing-strip p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.8;
  max-width: var(--read);
}

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

/* ==========================================================================
   pages · 反馈说明
   ========================================================================== */

.module {
  margin-bottom: 34px;
}

.module > h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

.module-intro {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.8;
  max-width: var(--read);
  margin-bottom: 18px;
}

.issue-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.issue-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.issue-item summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  background: var(--surface);
}

.issue-item summary::-webkit-details-marker {
  display: none;
}

.issue-item summary::before {
  content: "+";
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1;
}

.issue-item[open] summary::before {
  content: "−";
}

.issue-item summary:hover {
  background: #FCFAF6;
}

.issue-criteria,
.issue-action {
  padding: 0 16px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink);
}

.issue-criteria {
  padding-top: 4px;
}

.issue-action {
  padding-bottom: 14px;
  color: var(--ink-soft);
}

.issue-action::before {
  content: "处理：";
  color: var(--moss);
  font-weight: 600;
}

.self-help-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.self-help-card {
  min-width: 0;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.self-help-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  counter-reset: step;
}

.step-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.75;
  counter-increment: step;
}

.step-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: .15em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #F4EFE7;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1;
}

.info-checklist .checklist-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.info-checklist .checklist-col h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
}

.info-checklist .field-list {
  counter-reset: info;
}

.info-checklist .field-row {
  display: block;
  padding: 10px 14px;
}

.info-checklist .field-row .field-name {
  display: block;
  margin-bottom: 2px;
}

.info-checklist .field-row .field-meaning {
  font-size: 13px;
  color: var(--ink-soft);
}

.content-aside .aside-block + .aside-block {
  margin-top: 22px;
}

/* ==========================================================================
   pages · 404
   ========================================================================== */

.error-main {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 56px 28px 64px;
}

.error-panel {
  max-width: 640px;
  padding: 28px 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
}

.field-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 10px;
}

.error-panel h1 {
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 700;
  margin-bottom: 12px;
}

.error-lead {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.85;
  margin-bottom: 20px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.error-guide {
  margin-top: 34px;
}

.error-guide h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.error-path-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.error-path-list li a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.error-path-list li a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: #FBF4EE;
}

.error-feedback {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  max-width: 640px;
}

.error-feedback h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.error-feedback p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.8;
}

/* ==========================================================================
   responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .header-inner {
    padding: 0 20px;
    gap: 16px;
  }

  .site-nav {
    gap: 14px;
  }

  .nav-group-label {
    display: none;
  }

  .nav-link {
    padding: 4px 7px;
    font-size: 14px;
  }

  .hero {
    padding: 36px 20px 32px;
    gap: 30px;
  }

  .clues,
  .directory,
  .specials,
  .terms-preview,
  .prepare-preview,
  .records-preview {
    padding-left: 20px;
    padding-right: 20px;
  }

  .closing-bar {
    padding-left: 20px;
    padding-right: 20px;
  }

  .inner-main {
    padding: 22px 20px 52px;
  }

  .footer-inner {
    padding: 34px 20px 22px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
  }

  .footer-bottom p {
    padding-left: 20px;
    padding-right: 20px;
  }

  .page-layout.sidebar-left {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 26px;
  }

  .page-layout.layout-main-aside {
    grid-template-columns: minmax(0, 1fr) 236px;
    gap: 26px;
  }

  .directory-layout,
  .specials-layout,
  .prepare-layout {
    gap: 22px;
  }

  .record-row {
    grid-template-columns: 100px 170px minmax(0, 1fr);
    gap: 12px;
  }

  .year-node {
    grid-template-columns: 110px 100px minmax(0, 1fr) auto;
    gap: 12px;
    padding-left: 24px;
  }

  .term-row {
    grid-template-columns: 140px minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 14px;
  }

  .field-row {
    grid-template-columns: 84px minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 12px;
  }
}

@media (max-width: 760px) {
  .header-inner {
    padding: 0 16px;
    min-height: 60px;
    gap: 12px;
  }

  .brand {
    font-size: 17px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-list {
    display: none;
  }

  .nav-list.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 2px;
  }

  .mobile-menu:not([hidden]) {
    display: block;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 28px 16px 24px;
    gap: 22px;
  }

  .hero-text h1 {
    font-size: clamp(26px, 7.4vw, 32px);
    margin-bottom: 14px;
  }

  .hero-lead {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
    min-width: 140px;
  }

  .hero-media img {
    aspect-ratio: 16 / 10;
  }

  .anchor-hint {
    padding: 0 16px 4px;
  }

  .clues,
  .directory,
  .specials,
  .terms-preview,
  .prepare-preview,
  .records-preview {
    padding: 28px 16px;
  }

  .closing-bar {
    padding: 0 16px 40px;
  }

  .section-title {
    font-size: 21px;
  }

  .section-lead,
  .section-intro,
  .section-desc {
    font-size: 14px;
    margin-bottom: 18px;
  }

  .clue-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .clue-card {
    padding: 16px;
  }

  .directory-layout,
  .specials-layout,
  .prepare-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .channel-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
    padding: 12px 14px;
  }

  .channel-row-head {
    display: none;
  }

  .channel-col-dir {
    font-size: 13px;
    color: var(--ink-soft);
  }

  .channel-col-field {
    font-size: 12px;
  }

  .summary-panel {
    padding: 16px;
  }

  .terms-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .terms-words,
  .terms-myths {
    padding: 16px;
  }

  .myth-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .special-item {
    padding: 14px 16px;
  }

  .record-table {
    border: 0;
    background: transparent;
    border-radius: 0;
    overflow: visible;
  }

  .record-row-head {
    display: none;
  }

  .record-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
    padding: 12px 14px;
    margin-bottom: 10px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }

  .record-row:last-child {
    margin-bottom: 0;
  }

  .record-col-scope {
    font-size: 14px;
    font-weight: 600;
  }

  .record-col-note {
    font-size: 13px;
  }

  .inner-main {
    padding: 18px 16px 44px;
  }

  .breadcrumb {
    font-size: 12px;
    margin-bottom: 14px;
  }

  .page-header {
    margin-bottom: 18px;
    padding-bottom: 14px;
  }

  .page-title {
    font-size: clamp(22px, 6vw, 28px);
  }

  .page-layout,
  .page-layout.sidebar-left,
  .page-layout.layout-main-aside {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .page-layout.sidebar-left .page-aside,
  .page-layout.layout-main-aside .page-aside,
  .page-layout.layout-main-aside .content-aside {
    order: 2;
  }

  .page-layout.sidebar-left .page-content,
  .page-layout.layout-main-aside .page-content,
  .page-layout.layout-main-aside .content-main {
    order: 1;
  }

  .page-aside {
    border-top: 1px solid var(--line);
    padding-top: 16px;
  }

  .aside-anchor-list,
  .aside-link-list,
  .aside-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .aside-anchor-list a,
  .aside-link-list a,
  .aside-list a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--surface);
    font-size: 13px;
  }

  .aside-anchor-list a:hover,
  .aside-link-list a:hover,
  .aside-list a:hover {
    border-color: var(--accent);
    background: #FBF4EE;
  }

  .aside-link-note {
    display: none;
  }

  .aside-block .aside-link-list li {
    border-bottom: 0;
  }

  .aside-block .aside-link-list a {
    border: 1px solid var(--line);
    padding: 8px 12px;
  }

  .aside-block .aside-link-list span {
    display: none;
  }

  .page-head,
  .page-title-block,
  .page-intro {
    margin-bottom: 18px;
    padding-bottom: 14px;
  }

  .page-lead,
  .page-lede,
  .page-intro-desc {
    font-size: 15px;
  }

  .content-section,
  .section,
  .module,
  .term-table,
  .myth-block,
  .batch-section,
  .scope-section,
  .history-section,
  .checklist-section,
  .fields-section,
  .source-section,
  .related-section {
    margin-bottom: 26px;
  }

  .content-section h2,
  .section > .section-title,
  .module > h2,
  .section-head h2 {
    font-size: 19px;
  }

  .content-section > p,
  .section-head p,
  .module-intro {
    font-size: 14px;
  }

  .year-node {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
    padding: 12px 14px 12px 24px;
  }

  .year-jump {
    justify-self: start;
    margin-top: 4px;
  }

  .field-guide-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .entry-card {
    padding: 14px;
  }

  .entry-title {
    font-size: 15px;
  }

  .field-group {
    gap: 6px;
  }

  .data-table {
    min-width: 520px;
  }

  .topic-table,
  .batch-table {
    min-width: 560px;
  }

  .term-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 12px 14px;
  }

  .term-row-head {
    display: none;
  }

  .term-row:first-of-type {
    border-top: 1px solid var(--line);
  }

  .term-col-term {
    font-size: 15px;
  }

  .term-col-where {
    font-size: 12px;
  }

  .myth-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 12px 14px;
  }

  .myth-row-head {
    display: none;
  }

  .myth-row .myth-col-wrong {
    text-decoration: line-through;
    text-decoration-color: #C9A99A;
  }

  .myth-row .myth-col-right::before {
    content: "更正 ";
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--moss);
  }

  .split-two,
  .compare-grid,
  .checklist-layout,
  .fields-layout,
  .source-columns,
  .self-help-grid,
  .related-section .related-links,
  .info-checklist .checklist-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .field-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
    padding: 12px 14px;
  }

  .field-row .field-name {
    font-size: 13px;
    color: var(--accent);
  }

  .field-row .field-misread::before {
    content: "常见误读：";
    color: var(--ink-soft);
    font-size: 12px;
  }

  .related-section .related-links li {
    padding: 12px 14px;
  }

  .history-item {
    flex-direction: column;
    gap: 2px;
    padding: 12px 14px;
  }

  .closing-strip {
    padding: 16px;
  }

  .closing-actions {
    gap: 10px;
  }

  .closing-actions .btn-link {
    flex: 1 1 auto;
    justify-content: center;
  }

  .issue-item summary {
    font-size: 14px;
    padding: 12px 14px;
  }

  .issue-criteria,
  .issue-action {
    padding-left: 14px;
    padding-right: 14px;
    font-size: 13px;
  }

  .self-help-card {
    padding: 16px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding: 28px 16px 20px;
  }

  .footer-brand-desc {
    max-width: none;
  }

  .footer-col ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px 16px;
  }

  .footer-col a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }

  .footer-bottom p {
    padding-left: 16px;
    padding-right: 16px;
  }

  .error-main {
    padding: 32px 16px 48px;
  }

  .error-panel {
    padding: 22px 18px;
  }

  .error-actions .btn {
    flex: 1 1 auto;
    min-width: 140px;
  }

  .error-path-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 390px) {
  .hero-text h1 {
    font-size: 26px;
  }

  .section-title {
    font-size: 20px;
  }

  .hero-actions .btn,
  .error-actions .btn {
    flex: 1 1 100%;
    min-width: 0;
  }

  .field-tags li {
    font-size: 11px;
  }

  .record-row {
    padding: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  a {
    transition: none;
  }
}
