@charset "utf-8";

/* ==========================================================================
   base：变量、重置、排版基调
   ========================================================================== */

:root {
  --ink: #20242a;
  --ink-soft: #4a5159;
  --ink-mute: #6d747c;
  --navy: #15304a;
  --navy-deep: #0f2438;
  --paper: #f6f1e7;
  --paper-deep: #ece4d5;
  --white: #ffffff;
  --seal: #b24a2f;
  --seal-soft: #f3e3dc;
  --green: #2f5d50;
  --line: #d8cdbd;
  --line-strong: #b9ab96;
  --radius: 2px;
  --radius-card: 3px;
  --shadow-sm: 0 1px 0 rgba(21, 48, 74, 0.06);
  --shadow-md: 0 2px 10px rgba(21, 48, 74, 0.08);
  --shell: 1180px;
  --read: 760px;
  --aside-w: 300px;
  --gap: 32px;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 12px;
}

h1 {
  font-size: 40px;
  line-height: 1.25;
}

h2 {
  font-size: 26px;
}

h3 {
  font-size: 19px;
}

p {
  margin: 0 0 14px;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0 0 14px;
  padding-left: 1.25em;
}

li {
  margin-bottom: 6px;
}

a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

a:hover {
  color: var(--seal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--seal);
  outline-offset: 2px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  display: inline-block;
  padding: 10px 18px;
  background-color: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 14px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
  color: var(--white);
  text-decoration: none;
}

/* ==========================================================================
   layout：全站骨架（页头 / 导航 / 主容器 / 面包屑 / 页标题 / 页脚）
   ========================================================================== */

.site-header {
  background-color: var(--navy);
  color: var(--white);
  border-bottom: 3px solid var(--seal);
}

.header-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 0;
  color: var(--white);
  flex: 0 0 auto;
}

.brand:hover {
  color: var(--white);
  text-decoration: none;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.brand-slogan {
  font-size: 12px;
  line-height: 1.4;
  color: #c3d2df;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle:hover {
  border-color: var(--white);
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--white);
}

.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-item {
  margin: 0;
}

.nav-item > a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  color: #dbe5ee;
  font-size: 15px;
  border-bottom: 2px solid transparent;
}

.nav-item > a:hover {
  color: var(--white);
  border-bottom-color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.nav-item.is-current > a {
  color: var(--white);
  font-weight: 700;
  border-bottom-color: var(--seal);
}

.site-main {
  display: block;
}

.inner-main {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px 56px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 0 0;
  font-size: 13px;
  color: var(--ink-mute);
}

.breadcrumb a {
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 1px;
}

.breadcrumb a:hover {
  color: var(--seal);
  border-bottom-color: var(--seal);
  text-decoration: none;
}

.breadcrumb-sep {
  color: var(--line-strong);
}

.breadcrumb-current {
  color: var(--ink);
  font-weight: 600;
}

.page-header {
  padding: 18px 0 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}

.page-title {
  font-size: 40px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  overflow-wrap: break-word;
}

/* 页脚 */

.site-footer {
  background-color: var(--navy-deep);
  color: #cfdae4;
  margin-top: 56px;
  border-top: 4px solid var(--seal);
}

.footer-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 44px 24px 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.1fr 1.2fr;
  gap: var(--gap);
}

.footer-col {
  min-width: 0;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 6px;
}

.footer-slogan {
  font-size: 14px;
  color: #9fb4c6;
  margin: 0 0 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(216, 205, 189, 0.2);
}

.footer-position {
  font-size: 13px;
  line-height: 1.75;
  color: #b7c6d3;
  margin: 0 0 10px;
}

.footer-position-link {
  display: inline-block;
  font-size: 13px;
  color: #e5c9bd;
  border-bottom: 1px solid rgba(229, 201, 189, 0.5);
  padding-bottom: 1px;
}

.footer-position-link:hover {
  color: var(--white);
  border-bottom-color: var(--white);
  text-decoration: none;
}

.footer-col-title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(216, 205, 189, 0.22);
}

.footer-nav-list,
.footer-tip-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav-list li,
.footer-tip-list li {
  margin: 0 0 2px;
}

.footer-nav-list a,
.footer-tip-list a {
  display: flex;
  align-items: center;
  min-height: 34px;
  font-size: 14px;
  color: #c6d3de;
}

.footer-nav-list a::before,
.footer-tip-list a::before {
  content: "";
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  margin-right: 9px;
  background-color: var(--seal);
  border-radius: 1px;
}

.footer-nav-list a:hover,
.footer-tip-list a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-boundary-text {
  font-size: 13px;
  line-height: 1.75;
  color: #b7c6d3;
  margin: 0 0 12px;
}

.footer-boundary-link {
  display: inline-block;
  font-size: 13px;
  color: #e5c9bd;
  border-bottom: 1px solid rgba(229, 201, 189, 0.5);
  padding-bottom: 1px;
}

.footer-boundary-link:hover {
  color: var(--white);
  border-bottom-color: var(--white);
  text-decoration: none;
}

.footer-bottom {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 16px 24px 26px;
  border-top: 1px solid rgba(216, 205, 189, 0.2);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: baseline;
}

.footer-copy,
.footer-note {
  margin: 0;
  font-size: 12px;
  color: #93a7b8;
}

/* ==========================================================================
   components：通用模块组件
   ========================================================================== */

.section-head {
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.section-head h2,
.section-heading {
  margin: 0 0 6px;
}

.section-intro,
.section-desc,
.section-lead {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.75;
  margin: 0;
  max-width: 760px;
}

.section-title,
.section-heading {
  font-family: var(--font-serif);
  color: var(--navy);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 8px;
}

.table-wrap {
  overflow-x: auto;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.table-scroll {
  overflow-x: auto;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.boundary-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.boundary-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.boundary-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background-color: var(--seal);
  border-radius: 1px;
}

.boundary-list li:last-child {
  margin-bottom: 0;
}

.layout-aside {
  min-width: 0;
}

.aside-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.aside-note,
.aside-intro {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-mute);
  margin: 0 0 14px;
}

.aside-link {
  display: inline-block;
  font-size: 14px;
  color: var(--seal);
  border-bottom: 1px solid var(--seal);
  padding-bottom: 1px;
}

.aside-link:hover {
  color: var(--navy);
  border-bottom-color: var(--navy);
  text-decoration: none;
}

/* ==========================================================================
   pages：首页
   ========================================================================== */

.guide-bar {
  background-color: var(--paper-deep);
  border-bottom: 1px solid var(--line);
}

.guide-bar-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 18px 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.guide-bar-item {
  min-width: 0;
  padding-left: 14px;
  border-left: 3px solid var(--seal);
}

.guide-bar-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--seal);
  margin-bottom: 4px;
}

.guide-bar-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.hero {
  background-color: var(--white);
  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, 1fr);
  gap: 40px;
  align-items: start;
}

.hero-media {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--paper-deep);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.hero-content {
  min-width: 0;
}

.hero-content h1 {
  font-size: 38px;
  line-height: 1.28;
  margin: 0 0 14px;
  color: var(--navy);
  padding-bottom: 14px;
  border-bottom: 2px solid var(--navy);
}

.hero-lead {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  margin: 0 0 10px;
}

.hero-sub {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 0 0 22px;
}

.hero-entries {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.entry-card {
  min-width: 0;
  padding: 14px 14px 12px;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  border-radius: var(--radius-card);
  display: flex;
  flex-direction: column;
}

.entry-card-title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 6px;
  line-height: 1.4;
}

.entry-card-text {
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 10px;
  flex: 1 1 auto;
}

.entry-card-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 13px;
  font-weight: 700;
  color: var(--seal);
  border-bottom: 1px solid var(--seal);
  align-self: flex-start;
  padding-bottom: 1px;
}

.entry-card-link:hover {
  color: var(--navy);
  border-bottom-color: var(--navy);
  text-decoration: none;
}

.feature-display {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 48px 24px 8px;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.feature-row:last-child {
  border-bottom: 0;
}

.feature-row-media-right {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
}

.feature-figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--paper-deep);
}

.feature-figure img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.feature-label {
  min-width: 0;
}

.feature-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--seal);
  background-color: var(--seal-soft);
  padding: 2px 8px;
  border-radius: var(--radius);
  margin: 0 0 10px;
}

.feature-name {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy);
  margin: 0 0 10px;
}

.feature-summary {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 0 0 16px;
}

.feature-meta {
  margin: 0 0 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-meta-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  font-size: 14px;
  line-height: 1.7;
  padding: 4px 0;
}

.feature-meta-row dt {
  color: var(--ink-mute);
  font-weight: 600;
}

.feature-meta-row dd {
  margin: 0;
  color: var(--ink);
}

.feature-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  background-color: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
}

.feature-link:hover {
  background-color: var(--seal);
  color: var(--white);
  text-decoration: none;
}

.overview {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 44px 24px 8px;
}

.overview-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
}

.overview-col {
  min-width: 0;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px 16px;
}

.overview-col-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--line);
}

.overview-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.overview-item {
  margin: 0;
  border-bottom: 1px dashed var(--line);
}

.overview-item:last-child {
  border-bottom: 0;
}

.overview-item a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  color: var(--ink);
  padding: 0 2px;
}

.overview-item a::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin-right: 10px;
  background-color: var(--green);
  border-radius: 1px;
}

.overview-item a:hover {
  color: var(--seal);
  text-decoration: none;
}

.task-table-section {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 44px 24px 8px;
}

.task-table {
  font-size: 15px;
  background-color: var(--white);
}

.task-table th,
.task-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 1.7;
}

.task-table thead th {
  background-color: var(--navy);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.task-table tbody tr:last-child td {
  border-bottom: 0;
}

.task-table tbody tr:nth-child(even) {
  background-color: #fbf8f2;
}

.task-table tbody td:first-child {
  font-weight: 700;
  color: var(--navy);
}

.steps {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 44px 24px 8px;
}

.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  counter-reset: stepcount;
}

.steps-list .step-item {
  margin: 0;
  min-width: 0;
  position: relative;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--green);
  border-radius: var(--radius-card);
  padding: 18px 16px 16px;
}

.steps-list .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  background-color: var(--green);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  border-radius: 50%;
}

.steps-list .step-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 6px;
  line-height: 1.45;
}

.steps-list .step-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
}

.boundary {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 44px 24px 8px;
}

.boundary-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.boundary-col {
  min-width: 0;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--seal);
  border-radius: var(--radius);
  padding: 18px 18px 14px;
}

.boundary-col-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 10px;
}

/* ==========================================================================
   pages：内页通用外壳
   ========================================================================== */

.page-hero {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--navy);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 28px;
}

.page-hero-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--seal);
  margin: 0 0 6px;
}

.page-lead,
.page-hero-lead {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 0;
  max-width: var(--read);
}

.page-head {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 22px;
  margin-bottom: 28px;
}

.page-head .container {
  max-width: none;
  margin: 0;
  padding: 0;
}

.page-hero-inner {
  min-width: 0;
}

.page-title-block {
  margin-bottom: 28px;
}

.page-title-block .page-lead {
  font-size: 15px;
  color: var(--ink-soft);
}

.page-title-band {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--navy);
  border-radius: var(--radius);
  padding: 16px 22px;
  margin-bottom: 28px;
  max-width: 100%;
  box-sizing: border-box;
}

.page-title-inner {
  min-width: 0;
  max-width: 100%;
}

.page-title-inner .page-lead {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 0;
  overflow-wrap: break-word;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--aside-w);
  gap: var(--gap);
  align-items: start;
}

.page-layout.sidebar-left {
  grid-template-columns: var(--aside-w) minmax(0, 1fr);
}

.layout-main,
.page-main-col {
  min-width: 0;
}

.page-aside {
  min-width: 0;
}

/* ==========================================================================
   pages：作品目录 works.html
   ========================================================================== */

.aside-genre-nav {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  position: sticky;
  top: 16px;
}

.genre-nav-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}

.genre-nav-item {
  margin: 0;
  border-bottom: 1px dashed var(--line);
  padding: 4px 0;
}

.genre-nav-item:last-child {
  border-bottom: 0;
}

.genre-nav-item a {
  display: flex;
  align-items: center;
  min-height: 32px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}

.genre-nav-item a:hover {
  color: var(--seal);
  text-decoration: none;
}

.genre-nav-desc {
  display: block;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-mute);
  padding: 0 0 4px;
}

.content-block {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 28px;
}

.block-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--line);
}

.block-lead {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 0 0 16px;
}

.block-footnote {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-mute);
}

.block-footnote a {
  color: var(--seal);
  border-bottom: 1px solid var(--seal);
  padding-bottom: 1px;
}

.block-footnote a:hover {
  color: var(--navy);
  border-bottom-color: var(--navy);
  text-decoration: none;
}

.note-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.note-cell {
  min-width: 0;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 14px 12px;
}

.note-cell-title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 6px;
}

.note-cell-text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
}

.catalog-figure {
  margin: 0 0 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--white);
}

.catalog-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.catalog-figure-caption {
  padding: 10px 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-mute);
  background-color: var(--paper);
  border-top: 1px solid var(--line);
}

.catalog-section {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--line);
  scroll-margin-top: 16px;
}

.catalog-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.catalog-section-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 12px;
  padding-left: 10px;
  border-left: 3px solid var(--green);
  line-height: 1.4;
}

.catalog-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.catalog-item {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 14px;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}

.catalog-item-info {
  min-width: 0;
  border-right: 1px dashed var(--line-strong);
  padding-right: 12px;
}

.catalog-item-name {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
  line-height: 1.45;
  overflow-wrap: break-word;
}

.catalog-item-meta {
  font-size: 12px;
  line-height: 1.65;
  color: var(--ink-mute);
  margin: 0;
}

.catalog-item-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.catalog-item-summary {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 8px;
  flex: 1 1 auto;
}

.catalog-item-link {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  align-self: flex-start;
  font-size: 13px;
  font-weight: 700;
  color: var(--seal);
  border-bottom: 1px solid var(--seal);
  padding-bottom: 1px;
}

.catalog-item-link:hover {
  color: var(--navy);
  border-bottom-color: var(--navy);
  text-decoration: none;
}

.block-catalog-boundary .boundary-list {
  margin-bottom: 0;
}

.block-catalog-boundary .boundary-item {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.block-catalog-boundary .boundary-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background-color: var(--seal);
  border-radius: 1px;
}

/* ==========================================================================
   pages：题材索引 genres.html
   ========================================================================== */

.section {
  margin-bottom: 32px;
}

.section-media {
  margin: 0 0 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--white);
}

.section-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.media-caption {
  padding: 10px 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-mute);
  background-color: var(--paper);
  border-top: 1px solid var(--line);
}

.qa-list {
  margin: 0;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 6px 20px;
}

.qa-item {
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}

.qa-item:last-child {
  border-bottom: 0;
}

.qa-question {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 6px;
  line-height: 1.5;
}

.qa-answer {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.genre-table {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.genre-row {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 16px;
}

.genre-row:last-child {
  border-bottom: 0;
}

.genre-row:nth-child(even) {
  background-color: #fbf8f2;
}

.genre-name-col {
  min-width: 0;
  padding: 14px 18px;
  border-right: 1px solid var(--line);
  background-color: rgba(246, 241, 231, 0.6);
}

.genre-name {
  display: block;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 4px;
  line-height: 1.45;
}

.genre-alias {
  display: block;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-mute);
}

.genre-desc-col {
  min-width: 0;
  padding: 14px 18px;
}

.genre-scope {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 6px;
}

.genre-link-line {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-mute);
  margin: 0;
}

.genre-link-line a {
  color: var(--seal);
  border-bottom: 1px solid var(--seal);
  padding-bottom: 1px;
}

.genre-link-line a:hover {
  color: var(--navy);
  border-bottom-color: var(--navy);
  text-decoration: none;
}

.cross-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.cross-col {
  min-width: 0;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--green);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.cross-col-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
}

.cross-col-text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 12px;
  flex: 1 1 auto;
}

.cross-col-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  align-self: flex-start;
  font-size: 13px;
  font-weight: 700;
  color: var(--seal);
  border-bottom: 1px solid var(--seal);
  padding-bottom: 1px;
}

.cross-col-link:hover {
  color: var(--navy);
  border-bottom-color: var(--navy);
  text-decoration: none;
}

.section-aside {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--seal);
  border-radius: var(--radius);
  padding: 20px 20px 16px;
}

.aside-steps {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}

.aside-step {
  margin: 0 0 12px;
  padding: 0 0 12px;
  border-bottom: 1px dashed var(--line);
  min-width: 0;
}

.aside-step:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.aside-step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-bottom: 6px;
  background-color: var(--navy);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 700;
  border-radius: 50%;
}

.aside-step-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 6px;
}

.aside-step-link {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  font-size: 13px;
  font-weight: 700;
  color: var(--seal);
  border-bottom: 1px solid var(--seal);
  padding-bottom: 1px;
}

.aside-step-link:hover {
  color: var(--navy);
  border-bottom-color: var(--navy);
  text-decoration: none;
}

/* ==========================================================================
   pages：专题策展 features.html
   ========================================================================== */

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: var(--gap);
  align-items: start;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 32px;
}

.intro-main {
  min-width: 0;
}

.intro-main .section-heading {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 12px;
}

.intro-text {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
  margin: 0 0 12px;
}

.intro-text:last-child {
  margin-bottom: 0;
}

.intro-toc {
  min-width: 0;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 16px 12px;
}

.toc-title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.toc-list li {
  margin: 0;
}

.toc-list a {
  display: flex;
  align-items: center;
  min-height: 40px;
  font-size: 14px;
  color: var(--ink-soft);
  border-bottom: 1px dashed var(--line);
}

.toc-list li:last-child a {
  border-bottom: 0;
}

.toc-list a:hover {
  color: var(--seal);
  text-decoration: none;
}

.feature-exhibit {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 16px;
}

.feature-exhibit-right {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
}

.exhibit-media {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--white);
}

.exhibit-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.exhibit-caption {
  padding: 10px 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-mute);
  background-color: var(--paper);
  border-top: 1px solid var(--line);
}

.exhibit-label {
  min-width: 0;
}

.exhibit-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--seal);
  background-color: var(--seal-soft);
  padding: 2px 8px;
  border-radius: var(--radius);
  margin: 0 0 10px;
}

.exhibit-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy);
  margin: 0 0 12px;
}

.exhibit-summary {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
  margin: 0 0 16px;
}

.exhibit-meta {
  margin: 0 0 18px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.exhibit-meta .meta-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  font-size: 14px;
  line-height: 1.7;
  padding: 5px 0;
}

.exhibit-meta .meta-row dt {
  color: var(--ink-mute);
  font-weight: 600;
}

.exhibit-meta .meta-row dd {
  margin: 0;
  color: var(--ink);
}

.exhibit-meta .meta-row dd a {
  color: var(--seal);
  border-bottom: 1px solid var(--seal);
  padding-bottom: 1px;
}

.exhibit-meta .meta-row dd a:hover {
  color: var(--navy);
  border-bottom-color: var(--navy);
  text-decoration: none;
}

.exhibit-enter {
  margin: 0;
}

.btn-entry {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 22px;
  background-color: var(--navy);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
}

.btn-entry:hover {
  background-color: var(--seal);
  color: var(--white);
  text-decoration: none;
}

.feature-order {
  padding: 32px 0 8px;
  scroll-margin-top: 16px;
}

.feature-order .section-heading {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
}

.feature-order .section-lead {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 16px;
}

.order-table {
  font-size: 15px;
  background-color: var(--white);
}

.table-caption {
  caption-side: top;
  text-align: left;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--ink-mute);
  background-color: var(--paper);
  border-bottom: 1px solid var(--line);
}

.order-table thead th {
  background-color: var(--navy);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  padding: 12px 14px;
  white-space: nowrap;
}

.order-table tbody th,
.order-table tbody td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 1.7;
  font-weight: 400;
}

.order-table tbody th {
  font-weight: 700;
  color: var(--navy);
  background-color: rgba(246, 241, 231, 0.6);
  white-space: nowrap;
}

.order-table tbody tr:last-child th,
.order-table tbody tr:last-child td {
  border-bottom: 0;
}

.order-table tbody tr:nth-child(even) td {
  background-color: #fbf8f2;
}

.feature-usage {
  padding: 32px 0 0;
  scroll-margin-top: 16px;
}

.feature-usage .section-heading {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 16px;
}

.usage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.usage-col {
  min-width: 0;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--seal);
  border-radius: var(--radius);
  padding: 18px;
}

.usage-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
}

.usage-text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 8px;
}

.usage-text:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   pages：阅读指南 guide.html
   ========================================================================== */

.page-layout.layout-shell {
  grid-template-columns: minmax(0, 1fr) var(--aside-w);
}

.guide-steps,
.guide-mistakes,
.guide-advanced,
.guide-faq {
  margin-bottom: 32px;
}

.guide-steps .section-title,
.guide-mistakes .section-title,
.guide-advanced .section-title,
.guide-faq .section-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 6px;
}

.guide-figure {
  margin: 0 0 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--white);
}

.guide-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.figure-caption {
  padding: 10px 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-mute);
  background-color: var(--paper);
  border-top: 1px solid var(--line);
}

.step-route {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.step-route .step-item {
  margin: 0;
  min-width: 0;
  position: relative;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  border-radius: var(--radius-card);
  padding: 16px 14px 14px;
}

.step-route .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 8px;
  background-color: var(--navy);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
  border-radius: 50%;
}

.step-route .step-body {
  min-width: 0;
}

.step-route .step-title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 6px;
  line-height: 1.45;
}

.step-route .step-text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
}

.compare-table {
  font-size: 15px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.compare-table thead th {
  background-color: var(--navy);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  padding: 12px 16px;
}

.compare-table tbody th,
.compare-table tbody td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 1.75;
  font-weight: 400;
}

.compare-table tbody th {
  width: 42%;
  font-weight: 700;
  color: var(--seal);
  background-color: rgba(243, 227, 220, 0.45);
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table tbody tr:nth-child(even) td {
  background-color: #fbf8f2;
}

.advanced-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.advanced-col {
  min-width: 0;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--green);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.advanced-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
}

.advanced-text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 10px;
  flex: 1 1 auto;
}

.advanced-entry {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-mute);
}

.advanced-entry a {
  color: var(--seal);
  border-bottom: 1px solid var(--seal);
  padding-bottom: 1px;
}

.advanced-entry a:hover {
  color: var(--navy);
  border-bottom-color: var(--navy);
  text-decoration: none;
}

.faq-list {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--white);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding: 12px 18px;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  background-color: var(--white);
  transition: background-color 0.18s ease;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--seal);
  border-bottom: 2px solid var(--seal);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-item[open] > .faq-question {
  background-color: var(--paper);
}

.faq-item[open] > .faq-question::after {
  transform: rotate(-135deg);
}

.faq-question:hover {
  background-color: var(--paper);
}

.faq-answer {
  padding: 4px 18px 16px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.faq-answer p {
  margin: 0 0 10px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer a {
  color: var(--seal);
  border-bottom: 1px solid var(--seal);
  padding-bottom: 1px;
}

.faq-answer a:hover {
  color: var(--navy);
  border-bottom-color: var(--navy);
  text-decoration: none;
}

.page-aside .aside-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--seal);
  border-radius: var(--radius);
  padding: 20px 20px 16px;
}

.aside-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.aside-item {
  margin: 0 0 14px;
  padding: 0 0 14px;
  border-bottom: 1px dashed var(--line);
  min-width: 0;
}

.aside-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.aside-item-title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 6px;
  line-height: 1.45;
}

.aside-item-text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 8px;
}

/* ==========================================================================
   pages：站内说明 about.html
   ========================================================================== */

.section-inner {
  min-width: 0;
}

.section-position,
.section-terms,
.section-boundary,
.section-rules,
.section-feedback {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 28px;
}

.about-figure {
  margin: 0 0 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--paper);
}

.about-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.about-figure-caption {
  padding: 10px 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-mute);
  background-color: var(--paper);
  border-top: 1px solid var(--line);
}

.fact-table {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.fact-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}

.fact-row:last-child {
  border-bottom: 0;
}

.fact-label {
  padding: 12px 16px;
  background-color: var(--paper);
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  border-right: 1px solid var(--line);
  line-height: 1.7;
}

.fact-value {
  margin: 0;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
  min-width: 0;
  overflow-wrap: break-word;
}

.data-table {
  font-size: 15px;
  background-color: var(--white);
}

.data-table thead th {
  background-color: var(--navy);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  padding: 12px 14px;
  white-space: nowrap;
}

.data-table tbody th,
.data-table tbody td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 1.75;
  font-weight: 400;
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:nth-child(even) td {
  background-color: #fbf8f2;
}

.term-table .term-name {
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

.term-table .term-mean {
  color: var(--ink-soft);
}

.term-table .term-where {
  color: var(--ink-mute);
  font-size: 13px;
  white-space: nowrap;
}

.boundary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.boundary-block {
  min-width: 0;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--seal);
  border-radius: var(--radius);
  padding: 16px 18px 14px;
}

.boundary-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 10px;
}

.rule-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rule-item {
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.rule-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.rule-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background-color: var(--navy);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
  border-radius: 50%;
}

.rule-body {
  min-width: 0;
}

.rule-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 4px;
  line-height: 1.5;
}

.rule-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 0;
}

.feedback-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feedback-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 18px 20px;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  border-radius: var(--radius);
}

.feedback-card:hover {
  border-top-color: var(--seal);
  text-decoration: none;
}

.feedback-card-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}

.feedback-card-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ==========================================================================
   pages：404.html
   ========================================================================== */

.error-main {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 56px 24px 72px;
}

.error-panel {
  max-width: 640px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--seal);
  border-radius: var(--radius);
  padding: 32px 32px 28px;
}

.error-code {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  color: var(--seal);
  margin: 0 0 12px;
}

.error-title {
  font-size: 26px;
  line-height: 1.35;
  color: var(--navy);
  margin: 0 0 12px;
}

.error-lead {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 0 0 16px;
}

.error-list {
  margin: 0 0 22px;
  padding-left: 1.2em;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--seal);
  color: var(--white);
  text-decoration: none;
}

.btn-secondary {
  background-color: var(--white);
  color: var(--navy);
  border-color: var(--line-strong);
}

.btn-secondary:hover {
  background-color: var(--paper);
  color: var(--seal);
  border-color: var(--seal);
  text-decoration: none;
}

/* ==========================================================================
   responsive：960px
   ========================================================================== */

@media (max-width: 960px) {
  .header-inner {
    padding: 0 20px;
    min-height: 64px;
    gap: 16px;
  }

  .brand-name {
    font-size: 19px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    flex: 1 1 100%;
    margin-left: 0;
    order: 3;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    padding: 6px 0 12px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-item {
    width: 100%;
  }

  .nav-item > a {
    min-height: 46px;
    padding: 0 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .nav-item.is-current > a {
    border-bottom-color: var(--seal);
  }

  .inner-main {
    padding: 0 20px 48px;
  }

  .page-title {
    font-size: 34px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 32px 20px 36px;
  }

  .hero-media {
    order: 2;
  }

  .hero-content {
    order: 1;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-media img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .guide-bar-inner {
    padding: 16px 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .feature-display,
  .overview,
  .task-table-section,
  .steps,
  .boundary {
    padding-left: 20px;
    padding-right: 20px;
  }

  .feature-row,
  .feature-row-media-right {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .feature-row-media-right .feature-label {
    order: 1;
  }

  .feature-row-media-right .feature-figure {
    order: 2;
  }

  .steps-list,
  .step-route {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .boundary-columns,
  .cross-columns,
  .usage-grid,
  .advanced-grid,
  .boundary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-layout,
  .page-layout.layout-shell,
  .page-layout.sidebar-left {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .aside-genre-nav {
    position: static;
  }

  .note-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .catalog-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .genre-row {
    grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  }

  .intro-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 20px;
  }

  .feature-exhibit,
  .feature-exhibit-right {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .feature-exhibit-right .exhibit-label {
    order: 1;
  }

  .feature-exhibit-right .exhibit-media {
    order: 2;
  }

  .fact-row {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    padding: 36px 20px 26px;
  }

  .footer-bottom {
    padding: 14px 20px 24px;
  }
}

/* ==========================================================================
   responsive：640px
   ========================================================================== */

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .header-inner {
    padding: 0 16px;
  }

  .brand-slogan {
    font-size: 11px;
  }

  .inner-main {
    padding: 0 16px 40px;
  }

  .breadcrumb {
    padding-top: 16px;
    font-size: 12px;
  }

  .page-header {
    padding: 14px 0 16px;
    margin-bottom: 22px;
  }

  .page-title {
    font-size: 28px;
    line-height: 1.3;
  }

  .guide-bar-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 14px 16px;
  }

  .hero-inner {
    padding: 24px 16px 30px;
    gap: 22px;
  }

  .hero-content h1 {
    font-size: 27px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-entries {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .feature-display,
  .overview,
  .task-table-section,
  .steps,
  .boundary {
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 32px;
  }

  h2,
  .section-title,
  .section-heading,
  .hero-content h1,
  .feature-name,
  .exhibit-title,
  .intro-main .section-heading,
  .feature-order .section-heading,
  .feature-usage .section-heading,
  .guide-steps .section-title,
  .guide-mistakes .section-title,
  .guide-advanced .section-title,
  .guide-faq .section-title,
  .block-title,
  .error-title {
    font-size: 22px;
    line-height: 1.4;
  }

  .feature-meta-row {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 8px;
    font-size: 13px;
  }

  .overview-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .overview-col {
    padding: 16px 16px 12px;
  }

  .task-table {
    font-size: 13px;
  }

  .task-table th,
  .task-table td {
    padding: 10px 10px;
  }

  .task-table thead th {
    white-space: normal;
  }

  .steps-list,
  .step-route {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .boundary-columns,
  .cross-columns,
  .usage-grid,
  .advanced-grid,
  .boundary-grid,
  .feedback-links {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .content-block,
  .section-position,
  .section-terms,
  .section-boundary,
  .section-rules,
  .section-feedback {
    padding: 18px 16px;
    margin-bottom: 22px;
  }

  .note-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .catalog-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
  }

  .catalog-item-info {
    border-right: 0;
    border-bottom: 1px dashed var(--line-strong);
    padding-right: 0;
    padding-bottom: 8px;
  }

  .genre-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .genre-name-col {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 12px 14px;
  }

  .genre-desc-col {
    padding: 12px 14px;
  }

  .qa-list {
    padding: 4px 14px;
  }

  .page-hero,
  .page-head,
  .page-title-band {
    padding: 14px 16px;
    margin-bottom: 22px;
  }

  .intro-section {
    padding: 16px;
    margin-bottom: 24px;
  }

  .exhibit-meta .meta-row {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 8px;
    font-size: 13px;
  }

  .order-table,
  .compare-table,
  .data-table {
    font-size: 13px;
  }

  .order-table thead th,
  .order-table tbody th,
  .order-table tbody td,
  .compare-table thead th,
  .compare-table tbody th,
  .compare-table tbody td,
  .data-table thead th,
  .data-table tbody th,
  .data-table tbody td {
    padding: 10px 10px;
  }

  .order-table thead th,
  .data-table thead th {
    white-space: normal;
  }

  .compare-table tbody th {
    width: auto;
  }

  .fact-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .fact-label {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 10px 14px;
  }

  .fact-value {
    padding: 10px 14px;
  }

  .rule-item {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
  }

  .rule-index {
    width: 26px;
    height: 26px;
    font-size: 13px;
  }

  .faq-question {
    font-size: 15px;
    padding: 12px 14px;
    min-height: 48px;
  }

  .faq-answer {
    padding: 4px 14px 14px;
  }

  .aside-genre-nav,
  .section-aside,
  .page-aside .aside-card {
    padding: 16px 16px 14px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding: 28px 16px 20px;
  }

  .footer-bottom {
    padding: 12px 16px 22px;
    flex-direction: column;
    gap: 6px;
  }

  .error-main {
    padding: 32px 16px 48px;
  }

  .error-panel {
    padding: 24px 18px 22px;
  }

  .error-code {
    font-size: 44px;
  }

  .error-actions {
    flex-direction: column;
  }

  .error-actions .btn {
    width: 100%;
  }
}

/* ==========================================================================
   a11y：动效偏好
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* 程序验收反馈：移动端防溢出 */
@media (max-width: 768px) {
  .site-main,
  .site-main * {
    min-width: 0;
    max-width: 100%;
  }

  .site-main :is(h1, h2, h3, h4, p, a, span) {
    overflow-wrap: anywhere;
  }
}
