/* ==========================================================================
   base：变量、重置、排版基础
   ========================================================================== */

:root {
  --ink: #111418;
  --paper: #f7f4ec;
  --text: #2b2b28;
  --red: #c83b2f;
  --blue: #2f5d8c;
  --green: #3e6b4f;
  --yellow: #c99a2e;
  --muted: #6b6a66;
  --line: #d8d2c4;
  --surface: #fffdf7;
  --serif: "Songti SC", "Noto Serif SC", "SimSun", serif;
  --sans: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --shell: 1120px;
  --reading: 760px;
  --radius: 6px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  font-weight: 400;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  margin: 0;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover {
  color: var(--red);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   layout：站点骨架（页头 / 导航 / 主容器 / 页脚）
   ========================================================================== */

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.masthead {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 18px 24px 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 32px;
  border-bottom: 3px double var(--ink);
}

.masthead-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
}

.brand-link {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.brand-link:hover {
  color: var(--red);
}

.brand-slogan {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.masthead-scope {
  font-size: 13px;
  color: var(--muted);
  max-width: 360px;
  line-height: 1.6;
}

.site-nav {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 2px;
}

.nav-list li {
  display: flex;
}

.nav-link {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 14px;
  font-size: 15px;
  color: var(--text);
  border-bottom: 2px solid transparent;
}

.nav-link:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

.nav-link.is-current {
  color: var(--red);
  border-bottom-color: var(--red);
  font-weight: 700;
}

.site-main {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 32px 24px 56px;
}

.inner-main {
  max-width: var(--shell);
}

.site-footer {
  background: var(--surface);
  border-top: 3px double var(--ink);
  margin-top: 24px;
}

.footer-groups {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 32px 24px 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 40px;
}

.footer-title {
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.footer-list li {
  margin-bottom: 6px;
}

.footer-list a {
  font-size: 14px;
  color: var(--text);
}

.footer-list a:hover {
  color: var(--red);
}

.footer-bottom {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 16px 24px 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--ink);
}

.footer-note {
  font-size: 13px;
  color: var(--muted);
  max-width: 620px;
}

/* ==========================================================================
   components：面包屑、页面标题区、通用区块标题
   ========================================================================== */

.breadcrumb {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 14px 24px 0;
  font-size: 13px;
  color: var(--muted);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.breadcrumb-item a {
  color: var(--muted);
}

.breadcrumb-item a:hover {
  color: var(--red);
}

.breadcrumb-item.is-current {
  color: var(--text);
}

.breadcrumb-sep {
  color: var(--line);
  margin: 0 2px;
}

.breadcrumb-current {
  color: var(--text);
}

.inner-main .breadcrumb {
  max-width: none;
  padding: 0 0 16px;
}

.page-header {
  margin-bottom: 16px;
}

.page-title {
  font-size: 34px;
  color: var(--ink);
}

.page-head {
  position: relative;
  margin-bottom: 32px;
}

.channel-bar {
  display: block;
  width: 64px;
  height: 4px;
  margin-bottom: 14px;
  background: var(--ink);
}

.channel-bar--blue {
  background: var(--blue);
}

.channel-bar--topic {
  background: var(--red);
}

.channel-mark {
  display: inline-block;
  width: 40px;
  height: 4px;
  margin-bottom: 12px;
}

.channel-mark--green {
  background: var(--green);
}

.channel-mark--yellow {
  background: var(--yellow);
}

.page-summary {
  max-width: var(--reading);
  font-size: 16px;
  color: var(--text);
}

.page-figure,
.page-media,
.page-head-figure,
.page-head-media {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.page-figure img,
.page-media img,
.page-head-figure img,
.page-head-media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.page-figure figcaption,
.media-caption,
.page-head-figure figcaption,
.page-head-media figcaption {
  padding: 8px 14px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.page-head-inner {
  max-width: var(--reading);
}

.page-head-kicker {
  font-size: 13px;
  color: var(--red);
  margin-bottom: 8px;
}

.page-head-summary {
  max-width: var(--reading);
  font-size: 16px;
}

.section-title {
  font-size: 24px;
  color: var(--ink);
  margin-bottom: 10px;
}

.section-lead {
  max-width: var(--reading);
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 20px;
}

.section-head {
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.section-head h2 {
  font-size: 24px;
  margin-bottom: 6px;
}

.section-desc {
  max-width: var(--reading);
  font-size: 15px;
  color: var(--muted);
}

/* ==========================================================================
   pages：首页
   ========================================================================== */

.home-main {
  padding-top: 26px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.hero-kicker {
  font-size: 13px;
  color: var(--red);
  letter-spacing: 0.06em;
}

.hero-copy h1 {
  font-size: 40px;
  line-height: 1.25;
}

.hero-lead {
  font-size: 16px;
  color: var(--text);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.action-primary,
.action-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
}

.action-primary {
  background: var(--ink);
  color: var(--paper);
}

.action-primary:hover {
  background: var(--red);
  color: var(--paper);
}

.action-secondary {
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
}

.action-secondary:hover {
  border-color: var(--red);
  color: var(--red);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  font-size: 13px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  border-left-width: 4px;
}

.tag-short {
  border-left-color: var(--red);
}

.tag-series {
  border-left-color: var(--blue);
}

.tag-mix {
  border-left-color: var(--green);
}

.tag-doc {
  border-left-color: var(--yellow);
}

.tag-topic {
  border-left-color: var(--red);
}

.tag-file {
  border-left-color: var(--muted);
}

.tag:hover {
  color: var(--red);
  border-color: var(--red);
  border-left-color: var(--red);
}

.hero-media {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.hero-figure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.hero-figure img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.hero-figure figcaption {
  padding: 8px 12px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.catalog-now {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 14px 16px;
}

.catalog-title {
  font-size: 16px;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.catalog-list li {
  display: flex;
  gap: 8px;
  padding: 5px 0;
  font-size: 14px;
  border-bottom: 1px dashed var(--line);
}

.catalog-list li:last-child {
  border-bottom: 0;
}

.catalog-list a {
  color: var(--text);
}

.catalog-list a:hover {
  color: var(--red);
}

.channel-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.channel-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  min-height: 76px;
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-top-width: 4px;
  border-radius: var(--radius);
}

.channel-count {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}

.channel-short {
  border-top-color: var(--red);
}

.channel-series {
  border-top-color: var(--blue);
}

.channel-mix {
  border-top-color: var(--green);
}

.channel-doc {
  border-top-color: var(--yellow);
}

.channel-topic {
  border-top-color: var(--red);
}

.channel-file {
  border-top-color: var(--muted);
}

.channel-item:hover {
  color: var(--red);
  border-color: var(--red);
  border-top-color: var(--red);
}

.topic-feature {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.topic-main {
  min-width: 0;
}

.topic-main h2 {
  font-size: 24px;
  margin-bottom: 14px;
}

.topic-figure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  margin-bottom: 14px;
}

.topic-figure img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.topic-figure figcaption {
  padding: 8px 12px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.topic-main-title {
  font-size: 20px;
  margin-bottom: 8px;
}

.topic-main-text {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 12px;
}

.topic-main-link {
  font-size: 15px;
  font-weight: 700;
}

.topic-list {
  min-width: 0;
  border-left: 1px solid var(--line);
  padding-left: 28px;
}

.topic-list-title {
  font-size: 18px;
  margin-bottom: 12px;
}

.topic-item {
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}

.topic-item:last-child {
  border-bottom: 0;
}

.topic-num {
  display: inline-block;
  font-family: var(--serif);
  font-size: 13px;
  color: var(--red);
  margin-right: 8px;
}

.topic-item-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.topic-item-title:hover {
  color: var(--red);
}

.topic-item-text {
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted);
}

.archive-table {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.archive-grid {
  font-size: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.archive-grid thead th {
  text-align: left;
  padding: 10px 12px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--paper);
  background: var(--ink);
  border-right: 1px solid #2a2f34;
}

.archive-grid thead th:last-child {
  border-right: 0;
}

.archive-grid tbody th,
.archive-grid tbody td {
  text-align: left;
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  vertical-align: top;
  font-weight: 400;
}

.archive-grid tbody th {
  font-weight: 700;
  color: var(--ink);
}

.archive-grid tbody tr:hover {
  background: #f1ece0;
}

.archive-grid tbody a {
  font-weight: 700;
}

.prep-steps {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.prep-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.prep-step {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.prep-num {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}

.prep-title {
  font-size: 18px;
}

.prep-text {
  font-size: 14px;
  color: var(--text);
  flex: 1;
}

.prep-link {
  font-size: 14px;
  font-weight: 700;
}

.check-accordion {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.check-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  margin-bottom: 10px;
}

.check-summary {
  padding: 14px 16px;
  min-height: 44px;
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 40px;
}

.check-summary::-webkit-details-marker {
  display: none;
}

.check-summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--muted);
}

.check-item[open] .check-summary::after {
  content: "−";
  color: var(--red);
}

.check-points {
  padding: 0 16px 14px;
  border-top: 1px solid var(--line);
}

.check-points li {
  position: relative;
  padding-left: 16px;
  margin-top: 8px;
  font-size: 14px;
  color: var(--text);
}

.check-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 6px;
  height: 6px;
  background: var(--red);
}

.feedback-band {
  margin-top: 32px;
  padding: 24px;
  background: var(--ink);
  border-radius: var(--radius);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
}

.band-copy {
  flex: 1 1 420px;
  min-width: 0;
}

.band-copy h2 {
  color: var(--paper);
  font-size: 22px;
  margin-bottom: 6px;
}

.band-copy p {
  color: #d8d2c4;
  font-size: 14px;
  max-width: 640px;
}

.band-link {
  flex: 0 0 auto;
}

.band-action {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
}

.band-action:hover {
  background: var(--red);
  color: var(--paper);
}

/* ==========================================================================
   pages：内容档案
   ========================================================================== */

.channel-anchor {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 0 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}

.anchor-item {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  font-size: 14px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left-width: 4px;
  border-radius: var(--radius);
}

.anchor-item--short {
  border-left-color: var(--red);
}

.anchor-item--series {
  border-left-color: var(--blue);
}

.anchor-item--mix {
  border-left-color: var(--green);
}

.anchor-item--record {
  border-left-color: var(--yellow);
}

.anchor-item--topic {
  border-left-color: var(--red);
}

.anchor-item--archive {
  border-left-color: var(--muted);
}

.anchor-item:hover {
  color: var(--red);
  border-color: var(--red);
  border-left-color: var(--red);
}

.archive-group {
  margin-bottom: 36px;
}

.group-title {
  font-size: 22px;
  margin-bottom: 6px;
  padding-left: 12px;
  border-left: 4px solid var(--red);
}

.group-note {
  max-width: var(--reading);
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 14px;
}

.table-caption {
  caption-side: top;
  text-align: left;
  font-size: 13px;
  color: var(--muted);
  padding-bottom: 6px;
}

.archive-group .archive-table {
  padding: 0;
  border-bottom: 0;
  font-size: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.archive-group .archive-table thead th {
  text-align: left;
  padding: 10px 12px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--paper);
  background: var(--ink);
  border-right: 1px solid #2a2f34;
}

.archive-group .archive-table thead th:last-child {
  border-right: 0;
}

.archive-group .archive-table tbody td {
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  vertical-align: top;
}

.archive-group .archive-table tbody tr:hover {
  background: #f1ece0;
}

.archive-guide {
  max-width: var(--reading);
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}

.archive-guide-title {
  font-size: 20px;
  margin-bottom: 10px;
}

.archive-guide-text {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 10px;
}

.archive-guide-text:last-child {
  margin-bottom: 0;
}

.related-entry {
  margin-bottom: 28px;
}

.related-entry-title {
  font-size: 20px;
  margin-bottom: 14px;
}

.related-entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.entry-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
}

.entry-card:hover {
  border-color: var(--red);
  color: var(--text);
}

.entry-card-title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.entry-card-text {
  font-size: 14px;
  color: var(--muted);
}

.entry-card-arrow {
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
  transition: transform 0.18s ease;
}

.entry-card:hover .entry-card-arrow {
  transform: translateX(4px);
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.related-links-label {
  color: var(--muted);
}

.related-links-item {
  color: var(--blue);
}

/* ==========================================================================
   pages：专题策展
   ========================================================================== */

.topic-index {
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.topic-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.topic-row:last-child {
  border-bottom: 1px solid var(--line);
}

.topic-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  background: #efe9db;
  border-radius: var(--radius);
}

.channel-tag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--paper);
  border-radius: var(--radius);
}

.channel-tag--red {
  background: var(--red);
}

.channel-tag--blue {
  background: var(--blue);
}

.channel-tag--green {
  background: var(--green);
}

.topic-copy {
  min-width: 0;
}

.topic-row-title {
  font-size: 19px;
  margin-bottom: 6px;
}

.topic-row-desc {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 6px;
}

.topic-row-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}

.topic-row-link {
  font-size: 14px;
  font-weight: 700;
}

.topic-sheet {
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.sheet-list {
  counter-reset: sheet;
}

.sheet-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 0;
  border-top: 1px dashed var(--line);
}

.sheet-item:last-child {
  border-bottom: 1px dashed var(--line);
}

.sheet-num {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--red);
  line-height: 1.2;
}

.sheet-body {
  min-width: 0;
}

.sheet-title {
  font-size: 17px;
  margin-bottom: 4px;
}

.sheet-note {
  font-size: 14px;
  color: var(--muted);
}

.curation-note {
  max-width: var(--reading);
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--yellow);
  border-radius: var(--radius);
  margin-bottom: 28px;
}

.curation-text {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 10px;
}

.curation-link {
  font-size: 14px;
  font-weight: 700;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.related-grid .entry-card {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.entry-title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.entry-desc {
  font-size: 14px;
  color: var(--muted);
}

/* ==========================================================================
   pages：内容观察
   ========================================================================== */

.report-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px;
  padding-bottom: 28px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.report-grid > .section-title {
  grid-column: 1 / -1;
}

.chart-column {
  min-width: 0;
}

.chart-title {
  font-size: 17px;
  margin-bottom: 14px;
}

.bar-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
}

.bar-name {
  font-size: 14px;
  color: var(--text);
}

.bar-track {
  display: block;
  height: 12px;
  background: #ece6d8;
  border-radius: 2px;
  overflow: hidden;
}

.bar-fill {
  display: block;
  height: 100%;
}

.bar-fill--red {
  background: var(--red);
}

.bar-fill--blue {
  background: var(--blue);
}

.bar-fill--green {
  background: var(--green);
}

.bar-fill--yellow {
  background: var(--yellow);
}

.bar-value {
  font-size: 13px;
  color: var(--muted);
  text-align: right;
}

.finding-column {
  min-width: 0;
  border-left: 1px solid var(--line);
  padding-left: 28px;
}

.finding-title {
  font-size: 17px;
  margin-bottom: 10px;
}

.finding-text {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 12px;
}

.finding-text:last-child {
  margin-bottom: 0;
}

.source-note {
  max-width: var(--reading);
  padding: 14px 18px;
  background: #efe9db;
  border-radius: var(--radius);
  margin-bottom: 32px;
}

.source-note .section-title {
  font-size: 15px;
  margin-bottom: 4px;
}

.source-text {
  font-size: 13px;
  color: var(--muted);
}

.source-text a {
  color: var(--blue);
  text-decoration: underline;
}

.principle-list {
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.principle-list > .section-title {
  margin-bottom: 16px;
}

.principle-item {
  padding: 14px 0 14px 16px;
  border-left: 3px solid var(--line);
  margin-bottom: 12px;
}

.principle-item:hover {
  border-left-color: var(--red);
}

.principle-name {
  font-size: 17px;
  margin-bottom: 6px;
}

.principle-text {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 4px;
}

.principle-text:last-child {
  margin-bottom: 0;
}

.archive-entry {
  max-width: var(--reading);
}

.archive-entry-text {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 12px;
}

.entry-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.entry-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.entry-link:hover {
  border-color: var(--red);
}

/* ==========================================================================
   pages：观看准备
   ========================================================================== */

.prep-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 32px;
}

.prep-steps-grid .prep-step {
  border-top: 4px solid var(--green);
}

.step-index {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--muted);
}

.step-name {
  font-size: 18px;
}

.step-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.step-actions li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: var(--text);
}

.step-actions li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  background: var(--green);
}

.device-table {
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.table-wrap {
  overflow-x: auto;
}

.data-table {
  font-size: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.data-table thead th {
  text-align: left;
  padding: 10px 12px;
  font-size: 13px;
  color: var(--paper);
  background: var(--ink);
  border-right: 1px solid #2a2f34;
}

.data-table thead th:last-child {
  border-right: 0;
}

.data-table tbody th,
.data-table tbody td {
  text-align: left;
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  vertical-align: top;
  font-weight: 400;
}

.data-table tbody th {
  font-weight: 700;
  color: var(--ink);
}

.data-table tbody tr:hover {
  background: #f1ece0;
}

.entry-list {
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.entry-checklist li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 15px;
}

.entry-checklist li:last-child {
  border-bottom: 0;
}

.entry-checklist a {
  font-weight: 700;
}

.check-note {
  font-size: 14px;
  color: var(--muted);
}

.display-note {
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.note-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.note-item {
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.note-name {
  font-size: 16px;
  margin-bottom: 6px;
}

.note-item p {
  font-size: 14px;
  color: var(--text);
}

/* ==========================================================================
   pages：入口核验
   ========================================================================== */

.check-scope {
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.check-scope h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.scope-intro {
  max-width: var(--reading);
  font-size: 15px;
  color: var(--text);
  margin-bottom: 16px;
}

.scope-dimensions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.scope-dimension {
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  border-radius: var(--radius);
}

.scope-dimension h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.scope-dimension p {
  font-size: 14px;
  color: var(--muted);
}

.check-groups {
  margin-bottom: 28px;
}

.check-groups h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.groups-intro {
  max-width: var(--reading);
  font-size: 15px;
  color: var(--text);
  margin-bottom: 16px;
}

.check-group {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  margin-bottom: 12px;
}

.check-group .check-summary {
  gap: 12px;
  justify-content: flex-start;
}

.check-batch {
  font-size: 13px;
  font-weight: 700;
  color: var(--paper);
  background: var(--blue);
  padding: 2px 8px;
  border-radius: 3px;
  white-space: nowrap;
}

.check-topic {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.check-items {
  padding: 0 16px 14px;
  border-top: 1px solid var(--line);
}

.check-item {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
}

.check-item:last-child {
  border-bottom: 0;
}

.check-point {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.check-desc {
  font-size: 14px;
  color: var(--text);
}

.entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.entry-label {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

/* ==========================================================================
   pages：反馈与范围
   ========================================================================== */

.scope-table {
  margin-bottom: 32px;
}

.scope-compare {
  font-size: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.scope-compare caption {
  caption-side: top;
  text-align: left;
  font-size: 13px;
  color: var(--muted);
  padding-bottom: 6px;
}

.scope-compare thead th {
  text-align: left;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--paper);
  background: var(--ink);
}

.scope-compare thead th:first-child {
  background: var(--green);
}

.scope-compare thead th:last-child {
  background: var(--muted);
}

.scope-compare tbody td {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  vertical-align: top;
}

.scope-compare tbody tr:hover {
  background: #f1ece0;
}

.faq-list {
  margin-bottom: 32px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  margin-bottom: 10px;
}

.faq-item summary {
  position: relative;
  padding: 14px 44px 14px 16px;
  min-height: 44px;
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--muted);
}

.faq-item[open] summary::after {
  content: "−";
  color: var(--red);
}

.faq-answer {
  padding: 0 16px 14px;
  border-top: 1px solid var(--line);
}

.faq-answer p {
  font-size: 14px;
  color: var(--text);
  margin-top: 8px;
}

.faq-answer a {
  text-decoration: underline;
}

.entry-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.entry-list .entry-card {
  flex-direction: column;
  justify-content: space-between;
  min-height: 96px;
}

.entry-arrow {
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
  transition: transform 0.18s ease;
}

.entry-card:hover .entry-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   pages：404
   ========================================================================== */

.error-main {
  padding-top: 56px;
  padding-bottom: 64px;
}

.error-panel {
  max-width: var(--reading);
  margin: 0 auto;
  text-align: center;
}

.error-code {
  font-family: var(--serif);
  font-size: 64px;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  margin-bottom: 12px;
}

.error-panel h1 {
  font-size: 30px;
  margin-bottom: 12px;
}

.error-lead {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 22px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 26px;
}

.error-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 22px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
}

.error-button:hover {
  background: var(--red);
  color: var(--paper);
}

.error-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 15px;
}

.error-link:hover {
  border-color: var(--red);
  color: var(--red);
}

.error-hints {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  font-size: 14px;
}

/* ==========================================================================
   responsive：960px 与 640px 断点
   ========================================================================== */

@media (max-width: 960px) {
  .masthead {
    align-items: flex-start;
    padding: 16px 20px 12px;
  }

  .masthead-scope {
    max-width: none;
    flex-basis: 100%;
  }

  .site-nav {
    position: relative;
    padding: 8px 20px;
    justify-content: flex-end;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    right: 20px;
    left: 20px;
    z-index: 20;
    flex-direction: column;
    gap: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(17, 20, 24, 0.12);
    padding: 6px 0;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li {
    display: block;
  }

  .nav-link {
    min-height: 44px;
    padding: 0 18px;
    border-bottom: 0;
    border-left: 3px solid transparent;
  }

  .nav-link:hover,
  .nav-link.is-current {
    border-bottom-color: transparent;
    border-left-color: var(--red);
  }

  .site-main {
    padding: 24px 20px 44px;
  }

  .breadcrumb {
    padding: 12px 20px 0;
  }

  .hero-grid,
  .topic-feature,
  .report-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .hero-copy h1 {
    font-size: 32px;
  }

  .hero-figure img {
    height: 220px;
  }

  .channel-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .topic-list {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 16px;
  }

  .prep-grid,
  .prep-steps-grid,
  .scope-dimensions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .prep-steps-grid .prep-step:last-child,
  .prep-grid .prep-step:last-child,
  .scope-dimensions .scope-dimension:last-child {
    grid-column: 1 / -1;
  }

  .finding-column {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 16px;
  }

  .page-figure img,
  .page-media img,
  .page-head-figure img,
  .page-head-media img {
    height: 260px;
  }

  .entry-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .entry-list li:last-child {
    grid-column: 1 / -1;
  }

  .footer-groups {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 24px 20px 18px;
    gap: 18px 24px;
  }

  .footer-bottom {
    padding: 14px 20px 24px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .masthead {
    padding: 14px 16px 10px;
  }

  .brand-link {
    font-size: 22px;
  }

  .site-nav {
    padding: 6px 16px;
  }

  .nav-list {
    right: 16px;
    left: 16px;
  }

  .site-main {
    padding: 20px 16px 40px;
  }

  .breadcrumb {
    padding: 10px 16px 0;
  }

  .inner-main .breadcrumb {
    padding: 0 0 12px;
  }

  .page-title {
    font-size: 26px;
  }

  .hero-copy h1 {
    font-size: 30px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .action-primary,
  .action-secondary {
    width: 100%;
  }

  .hero-figure img {
    height: 180px;
  }

  .channel-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 18px 0;
  }

  .channel-item {
    min-height: 68px;
  }

  .topic-main h2,
  .section-title,
  .section-head h2 {
    font-size: 21px;
  }

  .topic-figure img {
    height: 180px;
  }

  .archive-grid thead,
  .archive-group .archive-table thead,
  .data-table thead,
  .scope-compare thead {
    display: none;
  }

  .archive-grid,
  .archive-grid tbody,
  .archive-grid tbody tr,
  .archive-grid tbody th,
  .archive-grid tbody td,
  .archive-group .archive-table,
  .archive-group .archive-table tbody,
  .archive-group .archive-table tbody tr,
  .archive-group .archive-table tbody td,
  .data-table,
  .data-table tbody,
  .data-table tbody tr,
  .data-table tbody th,
  .data-table tbody td,
  .scope-compare,
  .scope-compare tbody,
  .scope-compare tbody tr,
  .scope-compare tbody td {
    display: block;
    width: 100%;
  }

  .archive-grid tbody tr,
  .archive-group .archive-table tbody tr,
  .data-table tbody tr,
  .scope-compare tbody tr {
    padding: 10px 12px;
    border-top: 1px solid var(--line);
  }

  .archive-grid tbody th,
  .archive-grid tbody td,
  .archive-group .archive-table tbody td,
  .data-table tbody th,
  .data-table tbody td,
  .scope-compare tbody td {
    padding: 3px 0;
    border-top: 0;
  }

  .archive-grid tbody th,
  .data-table tbody th {
    font-size: 15px;
    margin-bottom: 2px;
  }

  .prep-grid,
  .prep-steps-grid,
  .scope-dimensions,
  .note-grid,
  .related-entry-grid,
  .related-grid,
  .entry-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .prep-steps-grid .prep-step:last-child,
  .prep-grid .prep-step:last-child,
  .scope-dimensions .scope-dimension:last-child {
    grid-column: auto;
  }

  .related-grid .entry-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .feedback-band {
    padding: 20px 16px;
  }

  .band-copy {
    flex-basis: 100%;
  }

  .band-link {
    width: 100%;
  }

  .band-action {
    width: 100%;
    justify-content: center;
  }

  .topic-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .topic-thumb {
    min-height: 64px;
  }

  .sheet-item {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
  }

  .curation-note {
    padding: 18px 16px;
  }

  .bar-row {
    grid-template-columns: 72px minmax(0, 1fr) 40px;
    gap: 8px;
  }

  .check-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .check-scope h2,
  .check-groups h2 {
    font-size: 20px;
  }

  .entry-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .entry-list li:last-child {
    grid-column: auto;
  }

  .entry-list .entry-card {
    min-height: 0;
  }

  .page-figure img,
  .page-media img,
  .page-head-figure img,
  .page-head-media img {
    height: 190px;
  }

  .error-main {
    padding-top: 36px;
    padding-bottom: 44px;
  }

  .error-code {
    font-size: 48px;
  }

  .error-panel h1 {
    font-size: 24px;
  }

  .error-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .error-button,
  .error-link {
    justify-content: center;
  }

  .footer-groups {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 22px 16px 16px;
  }

  .footer-bottom {
    padding: 12px 16px 22px;
    flex-direction: column;
  }
}
