:root {
  --bg: #F6F4EF;
  --ink: #1F2A26;
  --line: #D8D3C8;
  --accent: #2E6B5E;
  --accent-soft: #E7EDE9;
  --warm: #C4713C;
  --muted: #5C6660;
  --muted-soft: #7A837E;
  --radius: 4px;
  --container: 1120px;
  --gap: 32px;
  --font: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
}

/* ============ base ============ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

p {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease;
}

a:hover,
a:focus-visible {
  color: #1F5347;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

dl, dd, dt {
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* skip-link 默认完全移出可视区且不产生滚动条 */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  font-size: 14px;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
  color: #fff;
}

/* ============ layout ============ */
.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1 0 auto;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 72px;
}

.inner-main {
  padding-top: 20px;
}

/* 页头骨架 */
.site-header {
  position: relative;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  z-index: 60;
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--ink);
  line-height: 1.25;
  padding: 4px 8px;
}

.brand:hover,
.brand:focus-visible {
  color: var(--ink);
}

.brand-name {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-slogan {
  font-size: 12px;
  color: var(--muted-soft);
  letter-spacing: 0.04em;
  margin-top: 2px;
}

/* 主导航 */
.site-nav {
  display: flex;
  align-items: center;
}

.nav-group-left {
  justify-content: flex-start;
}

.nav-group-right {
  justify-content: flex-end;
  gap: 20px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  display: inline-block;
  padding: 6px 0;
  font-size: 15px;
  color: var(--ink);
  border-bottom: 1px solid transparent;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.nav-link.is-current {
  color: var(--accent);
  border-bottom-color: var(--accent);
  font-weight: 500;
}

.feedback-link {
  display: inline-block;
  padding: 7px 14px;
  font-size: 14px;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  white-space: nowrap;
}

.feedback-link:hover,
.feedback-link:focus-visible {
  background: var(--accent);
  color: #fff;
}

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 移动端展开面板：默认 hidden，由 JS 移除 hidden 后显示 */
.mobile-nav {
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav-list {
  max-width: var(--container);
  margin: 0 auto;
  padding: 8px 16px 16px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 8px;
  font-size: 16px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.mobile-nav-link.is-current {
  color: var(--accent);
  font-weight: 500;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: var(--muted-soft);
  padding: 8px 0 4px;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  color: var(--muted-soft);
}

.breadcrumb-current {
  color: var(--ink);
}

/* 页面标题区 */
.page-header {
  padding: 6px 0 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}

.page-title {
  font-size: 34px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--ink);
}

/* 页脚骨架 */
.site-footer {
  background: #EFEBE2;
  border-top: 1px solid var(--line);
  color: var(--ink);
  margin-top: 40px;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 44px 24px 24px;
}

.footer-groups {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.footer-group-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 12px;
}

.footer-brand-name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.footer-brand-desc {
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-link {
  font-size: 14px;
  color: var(--muted);
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--accent);
}

.footer-note {
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 8px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  font-size: 12px;
  color: var(--muted-soft);
}

.footer-copyright,
.footer-boundary {
  margin: 0;
}

.footer-boundary {
  max-width: 640px;
  text-align: right;
}

/* ============ components ============ */
.section-title {
  font-size: 22px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}

.section-intro,
.section-lead,
.section-desc {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 20px;
}

.text-link {
  display: inline-block;
  font-size: 14px;
  color: var(--accent);
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}

.text-link:hover,
.text-link:focus-visible {
  border-bottom-color: var(--accent);
}

.inline-link {
  color: var(--accent);
  border-bottom: 1px solid var(--line);
}

.inline-link:hover {
  border-bottom-color: var(--accent);
}

.status-tag {
  display: inline-block;
  padding: 2px 9px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  line-height: 1.6;
}

.status-tag-active,
.status-ongoing {
  background: var(--accent-soft);
  color: var(--accent);
}

.status-archived {
  background: #F3E7DC;
  color: var(--warm);
}

.figure-caption,
.map-caption,
.aside-caption,
.glossary-figcaption {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted-soft);
  margin-top: 10px;
}

/* 图片容器统一约束 */
.hero-figure,
.topic-figure,
.channel-cross-figure,
.map-figure,
.content-figure,
.aside-figure,
.glossary-figure {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--accent-soft);
}

.hero-figure img,
.topic-figure img,
.channel-cross-figure img,
.map-figure img,
.content-figure img,
.aside-figure img,
.glossary-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

/* 页面通用元信息行 */
.page-meta,
.page-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  padding: 12px 16px;
  background: var(--accent-soft);
  border-radius: var(--radius);
  font-size: 13px;
  line-height: 1.6;
}

.page-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.page-meta-item dt,
.page-meta-label {
  font-size: 12px;
  color: var(--muted-soft);
  letter-spacing: 0.02em;
}

.page-meta-item dd,
.page-meta-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.02em;
}

/* 侧栏 */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 44px;
  align-items: start;
}

.page-content {
  min-width: 0;
}

.page-aside {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 4px;
}

.aside-block {
  padding: 18px 18px 20px;
  background: #FBFAF6;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.aside-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--ink);
}

.aside-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.aside-list-item,
.aside-item {
  position: relative;
  padding-left: 14px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.aside-list-item::before,
.aside-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.aside-text,
.aside-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 10px;
}

.aside-desc:last-child,
.aside-text:last-child {
  margin-bottom: 0;
}

.aside-link {
  display: inline-block;
  font-size: 14px;
  color: var(--accent);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
}

.aside-link:hover {
  border-bottom-color: var(--accent);
}

.aside-list-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.aside-link-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.aside-link-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.aside-link-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted-soft);
}

.aside-figure {
  margin-top: 4px;
}

.aside-figure img {
  aspect-ratio: 4 / 3;
}

/* 相关链接带 */
.related-entry,
.related-links,
.glossary-links {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.related-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.related-item {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #FBFAF6;
}

.related-link {
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 6px;
}

.related-desc {
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

.related-links-label {
  font-size: 13px;
  color: var(--muted-soft);
  letter-spacing: 0.02em;
}

.related-links-item {
  font-size: 14px;
  color: var(--accent);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
}

.related-links-item:hover {
  border-bottom-color: var(--accent);
}

/* ============ pages: index ============ */
.home-main {
  padding-top: 0;
}

/* 信息条 */
.notice-bar {
  border-bottom: 1px solid var(--line);
  background: var(--accent-soft);
  margin: 0 -24px;
  padding: 0 24px;
}

.notice-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  padding: 12px 0;
  font-size: 13px;
}

.notice-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.notice-meta time {
  letter-spacing: 0.02em;
}

.notice-topic {
  flex: 1 1 240px;
  font-size: 14px;
  color: var(--ink);
  min-width: 0;
}

.notice-link {
  font-size: 13px;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
  white-space: nowrap;
}

/* 首屏 */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 56px 0 60px;
  border-bottom: 1px solid var(--line);
}

.hero-text {
  min-width: 0;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--warm);
  margin-bottom: 14px;
}

.hero-text h1 {
  font-size: 38px;
  line-height: 1.28;
  margin-bottom: 18px;
}

.hero-lead {
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 12px;
}

.hero-lead:last-of-type {
  margin-bottom: 26px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #245448;
  border-color: #245448;
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-figure {
  margin: 0;
}

.hero-figure img {
  aspect-ratio: 4 / 3;
}

/* 频道索引 */
.channel-index {
  padding: 52px 0 48px;
  border-bottom: 1px solid var(--line);
}

.section-head {
  margin-bottom: 22px;
}

.section-head .section-desc {
  margin-bottom: 0;
  max-width: 720px;
}

.channel-list {
  display: flex;
  flex-direction: column;
}

.channel-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.channel-item:last-child {
  border-bottom: 1px solid var(--line);
}

.channel-num {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--accent);
  line-height: 1.4;
}

.channel-body {
  min-width: 0;
}

.channel-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.channel-scope {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 6px;
}

.channel-fields {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted-soft);
}

.channel-more {
  margin-top: 20px;
}

/* 本期专题片单 */
.featured-topic {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  padding: 52px 0;
  border-bottom: 1px solid var(--line);
}

.topic-intro {
  min-width: 0;
}

.topic-lead {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 22px;
}

.topic-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.topic-fact {
  min-width: 0;
}

.topic-fact dt {
  font-size: 12px;
  color: var(--muted-soft);
  letter-spacing: 0.02em;
  margin-bottom: 2px;
}

.topic-fact dd {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.topic-list-wrap {
  min-width: 0;
}

.topic-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.topic-entry {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.entry-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.entry-meta {
  font-size: 13px;
  color: var(--muted-soft);
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

.entry-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.topic-figure {
  margin-top: 20px;
}

.topic-figure img {
  aspect-ratio: 16 / 9;
}

/* 组织规则 */
.rules {
  padding: 52px 0;
  border-bottom: 1px solid var(--line);
}

.rules-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 26px;
}

.rules-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
}

.rules-col {
  min-width: 0;
  padding: 0 36px 0 0;
}

.rules-col + .rules-col {
  padding: 0 0 0 36px;
  border-left: 1px solid var(--line);
}

.rules-col-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 14px;
}

.rules-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rules-list li {
  position: relative;
  padding-left: 16px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

.rules-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 1px;
  background: var(--accent);
}

/* 入口带 */
.entry-band {
  padding: 52px 0 8px;
}

.entry-band-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 26px;
}

.entry-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.entry-col {
  min-width: 0;
  padding-top: 18px;
  border-top: 2px solid var(--accent);
}

.entry-col-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.entry-col-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 14px;
}

/* ============ pages: channels ============ */
.container {
  min-width: 0;
}

.page-head {
  margin-bottom: 36px;
}

.page-lead {
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 18px;
}

.channel-criteria {
  margin-bottom: 44px;
}

.criteria-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.criteria-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.criteria-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.criteria-text {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}

.criteria-note {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.channel-list-section {
  margin-bottom: 44px;
}

.channel-list-section .channel-list {
  border-top: 1px solid var(--line);
}

.channel-list-section .channel-item {
  display: block;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.channel-item-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 8px;
}

.channel-item-head .channel-num {
  font-size: 16px;
  color: var(--muted-soft);
  min-width: 28px;
}

.channel-item-head .channel-name {
  font-size: 17px;
  margin-bottom: 0;
}

.channel-item-body {
  padding-left: 44px;
  min-width: 0;
}

.channel-item-body .channel-scope {
  margin-bottom: 8px;
}

.channel-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-bottom: 8px;
}

.channel-field {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted-soft);
}

.channel-exclude {
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted-soft);
  padding-left: 12px;
  border-left: 2px solid var(--line);
}

.channel-cross {
  margin-bottom: 8px;
}

.channel-cross-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
  margin-top: 20px;
}

.channel-cross-text {
  min-width: 0;
}

.cross-paragraph {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 14px;
}

.cross-paragraph:last-child {
  margin-bottom: 0;
}

.channel-cross-figure {
  margin: 0;
}

.channel-cross-figure img {
  aspect-ratio: 4 / 3;
}

/* ============ pages: topics ============ */
.section {
  margin-bottom: 48px;
}

.principles .principle-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.principle-item {
  min-width: 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.principle-num {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 6px;
}

.principle-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.principle-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.topic-archive .archive-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 0;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.topic-archive .archive-item:last-child {
  border-bottom: 1px solid var(--line);
}

.archive-field {
  min-width: 0;
  padding: 0 28px;
}

.archive-field:first-child {
  padding-left: 0;
}

.archive-field:last-child {
  padding-right: 0;
}

.archive-field + .archive-field {
  border-left: 1px solid var(--line);
}

.archive-theme {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.archive-status {
  margin-bottom: 10px;
}

.archive-theme-note {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.archive-field-title {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted-soft);
  margin-bottom: 10px;
}

.archive-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.archive-entry {
  position: relative;
  padding-left: 14px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.archive-entry::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--line);
}

.archive-reason {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
  margin-top: 20px;
}

.map-text {
  min-width: 0;
}

.map-intro {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 18px;
}

.map-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.map-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.map-topic {
  font-weight: 500;
  color: var(--ink);
}

.map-arrow {
  color: var(--muted-soft);
}

.map-channel {
  color: var(--accent);
}

.map-note {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.map-figure {
  margin: 0;
}

.map-figure img {
  aspect-ratio: 4 / 3;
}

/* ============ pages: guide ============ */
.page-title-block {
  padding: 8px 0 20px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.page-title-block .page-lead {
  margin-bottom: 16px;
}

.guide-steps {
  margin-bottom: 44px;
}

.step-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.step-item {
  border-bottom: 1px solid var(--line);
}

.step-block {
  padding: 20px 0;
}

.step-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 8px;
}

.step-num {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--accent);
  line-height: 1.3;
}

.step-title {
  font-size: 17px;
  font-weight: 600;
}

.step-desc {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 8px;
}

.step-note {
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted-soft);
  padding: 8px 12px;
  background: var(--accent-soft);
  border-radius: var(--radius);
}

.card-check {
  margin-bottom: 44px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 520px;
}

.data-table th,
.data-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 1.75;
}

.data-table thead th {
  background: var(--accent-soft);
  font-weight: 600;
  font-size: 13px;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody th {
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}

.data-table td {
  color: var(--muted);
}

.guide-figure {
  margin-top: 8px;
}

.guide-figure .content-figure {
  margin-top: 16px;
}

.guide-figure .content-figure img {
  aspect-ratio: 16 / 9;
  max-height: 420px;
}

/* ============ pages: glossary ============ */
.page-hero {
  padding: 4px 0 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.glossary-section {
  margin-bottom: 48px;
}

.glossary-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.glossary-caption {
  caption-side: top;
  text-align: left;
  font-size: 13px;
  color: var(--muted-soft);
  padding-bottom: 10px;
}

.glossary-table thead th {
  padding: 10px 14px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  background: var(--accent-soft);
  border-bottom: 1px solid var(--line);
}

.glossary-table thead th:first-child {
  border-top-left-radius: var(--radius);
}

.glossary-table thead th:last-child {
  border-top-right-radius: var(--radius);
}

.glossary-col-term {
  width: 22%;
}

.glossary-col-mean {
  width: 54%;
}

.glossary-col-place {
  width: 24%;
}

.glossary-row th,
.glossary-row td {
  padding: 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 1.8;
}

.glossary-term {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.glossary-mean {
  color: var(--muted);
}

.glossary-place {
  color: var(--muted-soft);
  font-size: 13px;
}

.glossary-link {
  color: var(--accent);
}

.glossary-link:hover {
  border-bottom: 1px solid var(--accent);
}

.confuse-section {
  margin-bottom: 48px;
}

.glossary-figure {
  margin: 20px 0 26px;
}

.glossary-figure img {
  aspect-ratio: 16 / 9;
  max-height: 380px;
}

.confuse-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.confuse-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.confuse-side {
  min-width: 0;
  padding: 16px 18px;
}

.confuse-wrong {
  background: #F3E7DC;
}

.confuse-right {
  background: #FBFAF6;
  border-left: 1px solid var(--line);
}

.confuse-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.confuse-wrong .confuse-name {
  color: var(--warm);
}

.confuse-right .confuse-name {
  color: var(--accent);
}

.confuse-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.glossary-entry-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.glossary-entry {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #FBFAF6;
}

.glossary-entry-link {
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 6px;
}

.glossary-entry-desc {
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

/* ============ pages: feedback ============ */
.feedback-cases {
  margin-bottom: 44px;
}

.case-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.case-item {
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  background: #FBFAF6;
}

.case-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.case-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.feedback-points {
  margin-bottom: 44px;
}

.point-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.point-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.point-index {
  font-size: 16px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.02em;
  line-height: 1.6;
}

.point-body {
  min-width: 0;
}

.point-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.point-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.feedback-summary {
  margin-bottom: 8px;
}

.summary-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px;
  background: var(--accent-soft);
  border-radius: var(--radius);
}

.summary-item {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.summary-label {
  color: var(--ink);
  font-weight: 600;
  margin-right: 6px;
}

/* ============ pages: 404 ============ */
.error-main {
  padding-top: 56px;
  padding-bottom: 72px;
}

.error-panel {
  max-width: 720px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.error-code {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--warm);
  margin-bottom: 12px;
}

.error-title {
  font-size: 34px;
  line-height: 1.3;
  margin-bottom: 14px;
}

.error-text {
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 26px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.error-home-link,
.error-side-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  color: var(--ink);
}

.error-home-link {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.error-home-link:hover,
.error-home-link:focus-visible {
  background: #245448;
  border-color: #245448;
  color: #fff;
}

.error-side-link:hover,
.error-side-link:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.error-hints {
  margin-top: 40px;
}

.error-hints-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
}

.error-hint-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.error-hint-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

.error-inline-link {
  color: var(--accent);
  border-bottom: 1px solid var(--line);
}

.error-inline-link:hover {
  border-bottom-color: var(--accent);
}

/* ============ responsive ============ */
@media (max-width: 1080px) {
  .hero {
    gap: 36px;
  }

  .featured-topic {
    gap: 36px;
  }

  .channel-cross-layout,
  .map-layout {
    gap: 32px;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr) 268px;
    gap: 32px;
  }

  .topic-archive .archive-item {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    row-gap: 18px;
  }

  .topic-archive .archive-field {
    padding: 0;
  }

  .topic-archive .archive-field + .archive-field {
    border-left: 0;
  }

  .archive-field-reason {
    grid-column: 1 / -1;
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 960px) {
  .nav-group-left,
  .nav-group-right {
    display: none;
  }

  .header-inner {
    grid-template-columns: 44px 1fr 44px;
    gap: 12px;
    padding: 10px 16px;
  }

  .nav-toggle {
    display: inline-flex;
    grid-column: 1;
    grid-row: 1;
  }

  .brand {
    grid-column: 2;
    grid-row: 1;
  }

  .header-inner::after {
    content: "";
    grid-column: 3;
    grid-row: 1;
  }

  .principles .principle-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .glossary-entry-list,
  .related-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-main {
    padding: 0 16px 56px;
  }

  .inner-main {
    padding-top: 12px;
  }

  .notice-bar {
    margin: 0 -16px;
    padding: 0 16px;
  }

  .hero,
  .featured-topic,
  .rules-columns,
  .channel-cross-layout,
  .map-layout,
  .page-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding: 36px 0 40px;
    gap: 28px;
  }

  .hero-text h1 {
    font-size: 27px;
  }

  .hero-figure {
    order: 2;
  }

  .hero-text {
    order: 1;
  }

  .channel-index,
  .featured-topic,
  .rules,
  .entry-band {
    padding: 36px 0;
  }

  .rules-col {
    padding: 0;
  }

  .rules-col + .rules-col {
    padding: 24px 0 0;
    margin-top: 24px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .entry-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .entry-band {
    padding-bottom: 0;
  }

  .topic-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .principles .principle-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .topic-archive .archive-item {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 20px;
  }

  .archive-field-reason {
    padding-top: 16px;
  }

  .page-layout {
    gap: 32px;
  }

  .page-aside {
    padding-top: 0;
  }

  .confuse-item {
    grid-template-columns: minmax(0, 1fr);
  }

  .confuse-right {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .glossary-entry-list,
  .related-list,
  .case-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .glossary-table,
  .glossary-table thead,
  .glossary-table tbody,
  .glossary-table tr,
  .glossary-table th,
  .glossary-table td {
    display: block;
    width: 100%;
  }

  .glossary-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .glossary-row {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }

  .glossary-row th,
  .glossary-row td {
    padding: 0;
    border-bottom: 0;
  }

  .glossary-term {
    font-size: 16px;
    margin-bottom: 6px;
    white-space: normal;
  }

  .glossary-mean {
    margin-bottom: 6px;
  }

  .glossary-place {
    font-size: 13px;
  }

  .page-header {
    padding: 4px 0 16px;
    margin-bottom: 24px;
  }

  .page-title {
    font-size: 26px;
  }

  .error-main {
    padding-top: 32px;
    padding-bottom: 48px;
  }

  .error-title {
    font-size: 26px;
  }

  .footer-inner {
    padding: 32px 16px 20px;
  }

  .footer-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-boundary {
    text-align: left;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 15px;
  }

  .brand-name {
    font-size: 17px;
  }

  .brand-slogan {
    font-size: 11px;
  }

  .notice-inner {
    gap: 8px 16px;
    padding: 10px 0;
  }

  .notice-topic {
    flex-basis: 100%;
    order: 3;
    font-size: 13px;
  }

  .notice-link {
    order: 2;
  }

  .hero-text h1 {
    font-size: 24px;
  }

  .hero-actions {
    gap: 10px;
  }

  .btn {
    flex: 1 1 auto;
    padding: 10px 16px;
    font-size: 14px;
  }

  .channel-item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
  }

  .channel-num {
    font-size: 18px;
  }

  .channel-item-body {
    padding-left: 0;
  }

  .channel-item-head {
    gap: 10px;
  }

  .channel-item-head .channel-num {
    min-width: 22px;
  }

  .topic-facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .section-title {
    font-size: 19px;
  }

  .rules-title,
  .entry-band-title,
  .error-hints-title {
    font-size: 19px;
  }

  .step-head {
    gap: 10px;
  }

  .step-num {
    font-size: 18px;
  }

  .step-title {
    font-size: 16px;
  }

  .point-item {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px;
  }

  .footer-groups {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .related-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .error-actions {
    gap: 10px;
  }

  .error-home-link,
  .error-side-link {
    flex: 1 1 auto;
    justify-content: center;
  }

  .data-table {
    min-width: 480px;
  }
}

@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;
  }
}
