/* ==========================================================================
   九九热在线视频 · 全站样式表
   校园刊物风：暖白纸感底、栏目色标识、紧凑但留呼吸的编辑版面
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* ==========================================================================
   base —— 变量、重置、排版基线
   ========================================================================== */

:root {
  --paper: #FBF9F4;
  --paper-deep: #F4F1E8;
  --ink: #23201C;
  --ink-soft: #6B655C;
  --line: #E3DED3;
  --accent-channel: #C24A3A;
  --accent-topic: #2F6E5B;
  --accent-guide: #B07A1E;
  --radius: 6px;
  --shell-width: 1120px;
  --read-width: 720px;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "SFMono-Regular", "Menlo", "Consolas", "Liberation Mono", monospace;
}

*,
*::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.75;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  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-channel);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent-guide);
  outline-offset: 2px;
}

img {
  max-width: 100%;
  height: auto;
}

button {
  font: inherit;
  color: inherit;
}

time {
  font-variant-numeric: tabular-nums;
}

table {
  border-collapse: collapse;
  width: 100%;
}

caption {
  text-align: left;
}

/* ==========================================================================
   layout —— 全站骨架：页头、导航、主容器、面包屑、页脚
   ========================================================================== */

.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* --- 顶部信息条（仅首页） --- */

.topbar {
  background-color: var(--paper-deep);
  border-bottom: 1px solid var(--line);
}

.topbar-text {
  max-width: var(--shell-width);
  margin: 0 auto;
  padding: 8px 24px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* --- 页头与主导航 --- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background-color: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--shell-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 62px;
}

.brand {
  flex: 0 0 auto;
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  padding: 8px 0;
  border-bottom: 3px solid var(--accent-channel);
  line-height: 1.3;
}

.brand:hover,
.brand:focus-visible {
  text-decoration: none;
  color: var(--accent-channel);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background-color: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
}

.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background-color: var(--ink);
}

.nav-toggle::before {
  top: 15px;
  box-shadow: 0 6px 0 var(--ink);
}

.nav-toggle::after {
  bottom: 14px;
}

.site-nav {
  flex: 1 1 auto;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
}

.nav-list li {
  display: flex;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: 15px;
  color: var(--ink);
  border-bottom: 2px solid transparent;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--accent-channel);
  text-decoration: none;
  border-bottom-color: var(--line);
}

.nav-list a.is-current {
  color: var(--accent-channel);
  font-weight: 600;
  border-bottom-color: var(--accent-channel);
}

.lang-entry {
  flex: 0 0 auto;
  font-size: 13px;
  color: var(--ink-soft);
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--paper-deep);
}

/* --- 主内容容器 --- */

.site-main {
  flex: 1 0 auto;
  width: 100%;
}

.inner-main {
  max-width: var(--shell-width);
  margin: 0 auto;
  padding: 24px 24px 56px;
}

/* --- 面包屑 --- */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.breadcrumb a {
  color: var(--ink-soft);
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--accent-channel);
}

.breadcrumb-sep {
  color: var(--line);
  font-size: 12px;
}

.breadcrumb-current {
  color: var(--ink);
  font-weight: 600;
}

/* --- 内页标题区 --- */

.page-header {
  max-width: var(--read-width);
  padding-bottom: 18px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.page-title {
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 10px;
}

.page-description {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* --- 页脚 --- */

.site-footer {
  background-color: var(--paper-deep);
  border-top: 1px solid var(--line);
  margin-top: auto;
}

.footer-inner {
  max-width: var(--shell-width);
  margin: 0 auto;
  padding: 36px 24px 24px;
}

.footer-brand {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  padding-bottom: 8px;
  display: inline-block;
  border-bottom: 3px solid var(--accent-channel);
}

.footer-desc {
  max-width: 640px;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.footer-groups {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 28px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.footer-group-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  padding-bottom: 6px;
  margin-bottom: 10px;
  border-bottom: 2px solid var(--accent-topic);
  display: inline-block;
}

.footer-group:nth-child(1) .footer-group-title {
  border-bottom-color: var(--accent-channel);
}

.footer-group:nth-child(2) .footer-group-title {
  border-bottom-color: var(--accent-topic);
}

.footer-group:nth-child(3) .footer-group-title {
  border-bottom-color: var(--accent-guide);
}

.footer-group:nth-child(4) .footer-group-title {
  border-bottom-color: var(--ink-soft);
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-list a {
  display: inline-block;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.footer-list a:hover,
.footer-list a:focus-visible {
  color: var(--accent-channel);
}

.footer-bottom {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.footer-copy {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ==========================================================================
   components —— 通用按钮、卡片、表格、折叠、图片框
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
  text-decoration: none;
}

.btn-primary {
  background-color: var(--accent-channel);
  color: #FDFBF7;
  border-color: var(--accent-channel);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: #A93C2D;
  border-color: #A93C2D;
}

.btn-ghost {
  background-color: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--accent-topic);
  color: var(--accent-topic);
}

/* --- 内页 section 基础节奏 --- */

.section {
  margin-bottom: 44px;
}

.section-title {
  font-size: 22px;
  line-height: 1.35;
  padding-bottom: 8px;
  margin-bottom: 12px;
  display: inline-block;
  border-bottom: 3px solid var(--accent-channel);
}

.section-lead,
.section-intro {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: var(--read-width);
  margin-bottom: 20px;
}

.section-lead a,
.section-intro a,
.section-footer-note a,
.paths-note a,
.guide-note a {
  color: var(--accent-topic);
  border-bottom: 1px solid rgba(47, 110, 91, 0.35);
}

.section-lead a:hover,
.section-intro a:hover,
.section-footer-note a:hover,
.paths-note a:hover,
.guide-note a:hover {
  text-decoration: none;
  border-bottom-color: var(--accent-topic);
}

/* --- 图片框 --- */

.media,
.guide-visual,
.records-figure,
.section-media {
  margin: 0 0 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--paper-deep);
  overflow: hidden;
}

.media img,
.guide-visual img,
.records-figure img,
.section-media img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.media figcaption,
.guide-visual figcaption,
.records-figure figcaption,
.section-media figcaption {
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  background-color: var(--paper);
}

.media-channel img {
  height: 240px;
}

/* --- 通用数据表 --- */

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: #FFFDF8;
}

.data-table {
  min-width: 640px;
  font-size: 15px;
}

.data-table caption,
.table-caption,
.map-caption,
.symptom-caption,
.field-caption {
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-soft);
  background-color: var(--paper-deep);
  border-bottom: 1px solid var(--line);
}

.data-table th,
.data-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 1.7;
}

.data-table thead th {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background-color: var(--paper-deep);
  white-space: nowrap;
}

.data-table tbody th {
  font-weight: 600;
  color: var(--ink);
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover {
  background-color: #FCFAF4;
}

/* --- 折叠组件 --- */

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: #FFFDF8;
}

summary {
  cursor: pointer;
  padding: 12px 16px;
  font-weight: 600;
  line-height: 1.6;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "＋";
  float: right;
  color: var(--accent-guide);
  font-weight: 600;
}

details[open] > summary::after {
  content: "－";
}

details > p {
  margin: 0;
  padding: 0 16px 14px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* --- 栏目色标签 --- */

.tag {
  display: inline-block;
  padding: 1px 8px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--accent-channel);
  background-color: rgba(194, 74, 58, 0.08);
  border: 1px solid rgba(194, 74, 58, 0.25);
  border-radius: var(--radius);
  white-space: nowrap;
}

/* --- 通用横向卡片网格（专题） --- */

.topic-cards,
.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.topic-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: #FFFDF8;
  overflow: hidden;
  transition: border-color 0.18s ease;
}

.topic-card:hover {
  border-color: var(--accent-topic);
}

.topic-media,
.topic-figure {
  margin: 0;
  background-color: var(--paper-deep);
}

.topic-media img,
.topic-figure img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.topic-figure-caption {
  padding: 8px 12px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}

.topic-name {
  font-size: 18px;
  line-height: 1.4;
  padding: 12px 14px 0;
}

.topic-name a {
  color: var(--ink);
}

.topic-name a:hover,
.topic-name a:focus-visible {
  color: var(--accent-topic);
}

.topic-scope {
  padding: 6px 14px 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.topic-count,
.topic-meta {
  padding: 10px 14px 14px;
  margin-top: auto;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.topic-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

/* ==========================================================================
   pages —— 首页
   ========================================================================== */

.home-main {
  display: block;
}

/* --- 首屏地图式信息区 --- */

.hero {
  border-bottom: 1px solid var(--line);
  background-color: var(--paper);
}

.hero-inner {
  max-width: var(--shell-width);
  margin: 0 auto;
  padding: 36px 24px 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "intro media"
    "map   map";
  gap: 26px 32px;
}

.hero-intro {
  grid-area: intro;
  min-width: 0;
}

.hero-title {
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 12px;
}

.hero-lead {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 520px;
}

.hero-points {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-points li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background-color: var(--accent-channel);
}

.hero-points li:nth-child(2)::before {
  background-color: var(--accent-topic);
}

.hero-points li:nth-child(3)::before {
  background-color: var(--accent-guide);
}

.hero-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-media {
  grid-area: media;
  margin: 0;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--paper-deep);
  overflow: hidden;
}

.hero-media img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.hero-media figcaption {
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  background-color: var(--paper);
}

.hero-map {
  grid-area: map;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.map-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 14px 16px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent-channel);
  border-radius: var(--radius);
  background-color: #FFFDF8;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.map-card:nth-child(2) {
  border-top-color: var(--accent-topic);
}

.map-card:nth-child(3) {
  border-top-color: var(--accent-guide);
}

.map-card:nth-child(4) {
  border-top-color: var(--ink-soft);
}

.map-card-topic {
  border-top-color: var(--accent-topic);
  background-color: #F6F8F4;
}

.map-card:hover,
.map-card:focus-visible {
  text-decoration: none;
  border-color: var(--accent-channel);
  background-color: #FCF7F2;
}

.map-card-topic:hover,
.map-card-topic:focus-visible {
  border-color: var(--accent-topic);
  background-color: #F1F5F0;
}

.map-name {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}

.map-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* --- 首页 section 头部 --- */

.section-head {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.section-head h2 {
  font-size: 22px;
  line-height: 1.35;
  padding-bottom: 8px;
  display: inline-block;
  border-bottom: 3px solid var(--accent-channel);
  margin-bottom: 8px;
}

.topics-entry .section-head h2 {
  border-bottom-color: var(--accent-topic);
}

.guide-summary .section-head h2 {
  border-bottom-color: var(--accent-guide);
}

.records-glance .section-head h2 {
  border-bottom-color: var(--ink-soft);
}

.site-index .section-head h2 {
  border-bottom-color: var(--accent-topic);
}

.section-note {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: var(--read-width);
}

.section-more {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.7;
}

.section-more a {
  color: var(--accent-topic);
  border-bottom: 1px solid rgba(47, 110, 91, 0.35);
}

.section-more a:hover,
.section-more a:focus-visible {
  text-decoration: none;
  border-bottom-color: var(--accent-topic);
}

/* --- 频道分区总览 --- */

.channel-rows {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.channel-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  gap: 8px 24px;
  align-items: start;
  padding: 16px 0 16px 14px;
  border-bottom: 1px solid var(--line);
  border-left: 3px solid var(--accent-channel);
}

.channel-row:nth-child(2) {
  border-left-color: var(--accent-topic);
}

.channel-row:nth-child(3) {
  border-left-color: var(--accent-guide);
}

.channel-row:nth-child(4) {
  border-left-color: var(--ink-soft);
}

.channel-row-main {
  min-width: 0;
}

.channel-name {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 4px;
}

.channel-name a {
  color: var(--ink);
}

.channel-name a:hover,
.channel-name a:focus-visible {
  color: var(--accent-channel);
}

.channel-direction {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.channel-org {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.channel-fields {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  padding-top: 4px;
}

/* --- 观看指引与收录边界摘要 --- */

.guide-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
}

.guide-col {
  min-width: 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: #FFFDF8;
}

.guide-col:first-child {
  border-top: 3px solid var(--accent-guide);
}

.guide-col:last-child {
  border-top: 3px solid var(--accent-topic);
}

.col-title {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 10px;
}

.guide-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.guide-list li {
  position: relative;
  padding-left: 16px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.guide-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-guide);
}

/* --- 整理记录速览 --- */

.record-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.record-group {
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: #FFFDF8;
}

.record-month {
  font-size: 17px;
  line-height: 1.4;
  padding-bottom: 8px;
  margin-bottom: 10px;
  border-bottom: 2px solid var(--accent-guide);
  display: inline-block;
}

.record-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.record-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 6px 12px;
  align-items: baseline;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.record-date {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink);
  white-space: nowrap;
}

.record-type {
  display: inline-block;
  align-self: start;
  padding: 1px 8px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--accent-topic);
  background-color: rgba(47, 110, 91, 0.08);
  border: 1px solid rgba(47, 110, 91, 0.25);
  border-radius: var(--radius);
  white-space: nowrap;
}

.record-scope {
  grid-column: 2;
}

/* --- 站内页面索引 --- */

.index-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 24px;
}

.index-col {
  min-width: 0;
  padding-top: 12px;
  border-top: 2px solid var(--line);
}

.index-col:nth-child(1) {
  border-top-color: var(--accent-channel);
}

.index-col:nth-child(2) {
  border-top-color: var(--accent-topic);
}

.index-col:nth-child(3) {
  border-top-color: var(--accent-guide);
}

.index-col:nth-child(4) {
  border-top-color: var(--ink-soft);
}

.index-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.index-list a {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.index-list a:hover,
.index-list a:focus-visible {
  color: var(--accent-channel);
}

/* ==========================================================================
   pages —— 频道分类
   ========================================================================== */

.channel-table .channel-name {
  width: 150px;
  font-size: 16px;
  margin: 0;
}

.channel-table .channel-direction {
  width: 180px;
}

.channel-table .channel-organize {
  min-width: 200px;
}

.channel-table .channel-fields {
  width: 170px;
}

.field-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.field-item {
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent-channel);
  border-radius: var(--radius);
  background-color: #FFFDF8;
}

.field-name {
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 6px;
}

.field-meaning {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.field-judge {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  padding-top: 6px;
  border-top: 1px dashed var(--line);
}

.link-notes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-bottom: 20px;
}

.link-note {
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: #FFFDF8;
}

.link-note-title {
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 6px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--accent-topic);
  display: inline-block;
}

.link-note p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.cross-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.cross-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.7;
}

.cross-label {
  color: var(--ink);
  font-weight: 600;
}

.cross-arrow {
  text-align: center;
  color: var(--accent-channel);
}

.cross-target {
  color: var(--ink-soft);
}

.section-foot {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 14px;
  line-height: 1.7;
}

.section-foot a {
  color: var(--accent-topic);
  border-bottom: 1px solid rgba(47, 110, 91, 0.35);
}

.section-foot a:hover,
.section-foot a:focus-visible {
  text-decoration: none;
  border-bottom-color: var(--accent-topic);
}

/* ==========================================================================
   pages —— 专题片单
   ========================================================================== */

.plan-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  counter-reset: plan;
}

.plan-item {
  position: relative;
  min-width: 0;
  padding: 18px 20px 18px 22px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent-topic);
  border-radius: var(--radius);
  background-color: #FFFDF8;
  counter-increment: plan;
}

.plan-title {
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 6px;
}

.plan-title::before {
  content: counter(plan) ".";
  color: var(--accent-topic);
  margin-right: 6px;
  font-family: var(--font-mono);
  font-size: 15px;
}

.plan-text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: start;
}

.map-main {
  min-width: 0;
}

.map-table {
  font-size: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: #FFFDF8;
  overflow: hidden;
}

.map-table th,
.map-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 1.7;
}

.map-table thead th {
  font-size: 14px;
  background-color: var(--paper-deep);
}

.map-table tbody tr:last-child th,
.map-table tbody tr:last-child td {
  border-bottom: 0;
}

.map-aside {
  min-width: 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent-topic);
  border-radius: var(--radius);
  background-color: var(--paper-deep);
}

.aside-title {
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 8px;
}

.aside-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.aside-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aside-links a {
  display: inline-block;
  font-size: 14px;
  line-height: 1.7;
  color: var(--accent-topic);
}

.aside-links a:hover,
.aside-links a:focus-visible {
  color: var(--accent-channel);
}

/* ==========================================================================
   pages —— 观看指引
   ========================================================================== */

.guide-visual img {
  height: 280px;
}

.symptom-table {
  font-size: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: #FFFDF8;
  overflow: hidden;
}

.symptom-table th,
.symptom-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 1.7;
}

.symptom-table thead th {
  font-size: 14px;
  background-color: var(--paper-deep);
}

.symptom-table tbody tr:last-child td {
  border-bottom: 0;
}

.symptom-details {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.symptom-detail summary {
  font-size: 15px;
}

.prepare-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.prepare-group {
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent-guide);
  border-radius: var(--radius);
  background-color: #FFFDF8;
}

.prepare-group-title {
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 10px;
}

.prepare-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prepare-list li {
  position: relative;
  padding-left: 16px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.prepare-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-guide);
}

.field-table {
  font-size: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: #FFFDF8;
  overflow: hidden;
}

.field-table th,
.field-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 1.7;
}

.field-table thead th {
  font-size: 14px;
  background-color: var(--paper-deep);
}

.field-table tbody tr:last-child td {
  border-bottom: 0;
}

.guide-note {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item summary {
  font-size: 16px;
}

.next-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.next-item {
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: #FFFDF8;
  font-size: 15px;
  line-height: 1.7;
}

.next-item a {
  color: var(--accent-topic);
}

.next-item a:hover,
.next-item a:focus-visible {
  color: var(--accent-channel);
}

/* ==========================================================================
   pages —— 整理记录
   ========================================================================== */

.records-section > h2 {
  font-size: 22px;
  line-height: 1.35;
  padding-bottom: 8px;
  margin-bottom: 12px;
  display: inline-block;
  border-bottom: 3px solid var(--accent-guide);
}

.record-month {
  margin-bottom: 20px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: #FFFDF8;
}

.record-month-title {
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.month-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0;
  background: none;
  border: 0;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink);
}

.month-toggle::after {
  content: "－";
  font-size: 15px;
  color: var(--accent-guide);
}

.month-toggle[aria-expanded="false"]::after {
  content: "＋";
}

.records-section .record-list {
  gap: 14px;
}

.records-section .record-item {
  grid-template-columns: 104px 96px minmax(0, 1fr);
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}

.records-section .record-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.records-section .record-scope {
  grid-column: 3;
}

.change-type-section > h2,
.record-link-section > h2 {
  font-size: 22px;
  line-height: 1.35;
  padding-bottom: 8px;
  margin-bottom: 12px;
  display: inline-block;
  border-bottom: 3px solid var(--accent-topic);
}

.change-type-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.change-type-item {
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent-topic);
  border-radius: var(--radius);
  background-color: #FFFDF8;
}

.change-type-name {
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 6px;
}

.change-type-desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.record-link-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.record-link-item {
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent-channel);
  border-radius: var(--radius);
  background-color: #FFFDF8;
}

.record-link-name {
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 6px;
}

.record-link-desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.section-footer-note {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.records-figure {
  margin-top: 8px;
}

.records-figure img {
  height: 240px;
}

/* ==========================================================================
   pages —— 问题反馈
   ========================================================================== */

.content-shell {
  display: block;
}

.feedback-categories > h2,
.feedback-prepare > h2,
.feedback-paths > h2 {
  font-size: 22px;
  line-height: 1.35;
  padding-bottom: 8px;
  margin-bottom: 12px;
  display: inline-block;
  border-bottom: 3px solid var(--accent-channel);
}

.feedback-prepare > h2 {
  border-bottom-color: var(--accent-guide);
}

.feedback-paths > h2 {
  border-bottom-color: var(--accent-topic);
}

.category-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.category-item {
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent-channel);
  border-radius: var(--radius);
  background-color: #FFFDF8;
}

.category-name {
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.category-meta {
  margin: 0;
}

.category-meta dt {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-channel);
  line-height: 1.7;
}

.category-meta dd {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.category-meta dd:last-child {
  margin-bottom: 0;
}

.prepare-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  counter-reset: prep;
}

.prepare-step {
  position: relative;
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent-guide);
  border-radius: var(--radius);
  background-color: #FFFDF8;
  counter-increment: prep;
}

.step-title {
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 6px;
}

.step-title::before {
  content: counter(prep) ".";
  color: var(--accent-guide);
  margin-right: 6px;
  font-family: var(--font-mono);
  font-size: 15px;
}

.prepare-step p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.prepare-note {
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--paper-deep);
}

.note-title {
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 8px;
}

.prepare-note p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.prepare-note p + p {
  margin-top: 8px;
}

.prepare-note a {
  color: var(--accent-topic);
  border-bottom: 1px solid rgba(47, 110, 91, 0.35);
}

.prepare-note a:hover,
.prepare-note a:focus-visible {
  text-decoration: none;
  border-bottom-color: var(--accent-topic);
}

.path-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.path-item {
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent-topic);
  border-radius: var(--radius);
  background-color: #FFFDF8;
}

.path-name {
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 6px;
}

.path-item p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.path-item a {
  color: var(--accent-topic);
}

.path-item a:hover,
.path-item a:focus-visible {
  color: var(--accent-channel);
}

.paths-note {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ==========================================================================
   pages —— 404
   ========================================================================== */

.error-main {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 24px 72px;
}

.error-block {
  max-width: 640px;
  width: 100%;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent-channel);
  border-radius: var(--radius);
  background-color: #FFFDF8;
}

.error-code {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--accent-channel);
  margin-bottom: 8px;
}

.error-block h1 {
  font-size: 28px;
  line-height: 1.35;
  margin-bottom: 12px;
}

.error-text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.error-paths {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.error-paths li {
  position: relative;
  padding-left: 16px;
  font-size: 15px;
  line-height: 1.7;
}

.error-paths li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-topic);
}

.error-paths a {
  color: var(--accent-topic);
}

.error-paths a:hover,
.error-paths a:focus-visible {
  color: var(--accent-channel);
}

.error-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   responsive —— 960px / 768px / 420px
   ========================================================================== */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "intro"
      "media"
      "map";
  }

  .hero-map {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .map-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .index-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .topbar-text {
    padding: 8px 16px;
  }

  .header-inner {
    padding: 0 16px;
    flex-wrap: wrap;
    gap: 8px 12px;
    min-height: 58px;
  }

  .brand {
    font-size: 17px;
    margin-right: auto;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    flex: 1 0 100%;
    order: 3;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    padding: 6px 0 12px;
    border-top: 1px solid var(--line);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li {
    display: block;
  }

  .nav-list a {
    display: flex;
    width: 100%;
    min-height: 44px;
    padding: 0 4px;
    border-bottom: 1px solid var(--line);
  }

  .nav-list a.is-current {
    border-bottom-color: var(--accent-channel);
  }

  .lang-entry {
    font-size: 12px;
    padding: 5px 8px;
  }

  .inner-main {
    padding: 18px 16px 44px;
  }

  .page-header {
    margin-bottom: 22px;
    padding-bottom: 14px;
  }

  .page-title {
    font-size: 24px;
  }

  .hero-inner {
    padding: 26px 16px 32px;
    gap: 20px;
  }

  .hero-title {
    font-size: 24px;
  }

  .hero-media img {
    height: 220px;
  }

  .hero-map {
    grid-template-columns: minmax(0, 1fr);
  }

  .section {
    margin-bottom: 34px;
  }

  .section-title,
  .section-head h2,
  .records-section > h2,
  .change-type-section > h2,
  .record-link-section > h2,
  .feedback-categories > h2,
  .feedback-prepare > h2,
  .feedback-paths > h2 {
    font-size: 19px;
  }

  .channel-row {
    grid-template-columns: minmax(0, 1fr);
    padding: 14px 0 14px 12px;
  }

  .channel-fields {
    padding-top: 0;
  }

  .guide-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .record-item {
    grid-template-columns: minmax(0, 1fr);
  }

  .record-scope {
    grid-column: 1;
  }

  .records-section .record-item {
    grid-template-columns: minmax(0, 1fr);
  }

  .records-section .record-scope {
    grid-column: 1;
  }

  .cross-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .cross-arrow {
    display: none;
  }

  .index-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .table-wrap {
    border: 0;
    background: none;
    overflow: visible;
  }

  .data-table {
    min-width: 0;
    display: block;
    font-size: 14px;
  }

  .data-table caption {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 12px;
  }

  .data-table thead {
    display: none;
  }

  .data-table tbody,
  .data-table tr,
  .data-table th,
  .data-table td {
    display: block;
    width: auto;
  }

  .data-table tr {
    padding: 12px 14px;
    margin-bottom: 12px;
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent-channel);
    border-radius: var(--radius);
    background-color: #FFFDF8;
  }

  .data-table tbody th,
  .data-table tbody td {
    padding: 4px 0;
    border-bottom: 0;
  }

  .channel-table .channel-name,
  .channel-table .channel-direction,
  .channel-table .channel-organize,
  .channel-table .channel-fields {
    width: auto;
  }

  .symptom-table,
  .field-table,
  .map-table {
    display: block;
    font-size: 14px;
  }

  .symptom-table thead,
  .field-table thead,
  .map-table thead {
    display: none;
  }

  .symptom-table tbody,
  .field-table tbody,
  .map-table tbody,
  .symptom-table tr,
  .field-table tr,
  .map-table tr,
  .symptom-table td,
  .field-table td,
  .map-table th,
  .map-table td {
    display: block;
    width: auto;
  }

  .symptom-table tr,
  .field-table tr,
  .map-table tr {
    padding: 12px 14px;
    margin-bottom: 12px;
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent-guide);
    border-radius: var(--radius);
    background-color: #FFFDF8;
  }

  .symptom-table td,
  .field-table td,
  .map-table th,
  .map-table td {
    padding: 4px 0;
    border-bottom: 0;
  }

  .map-table tbody tr {
    border-left-color: var(--accent-topic);
  }

  .media img,
  .guide-visual img,
  .records-figure img,
  .section-media img,
  .media-channel img {
    height: 200px;
  }

  .topic-media img,
  .topic-figure img {
    height: 150px;
  }

  .footer-inner {
    padding: 28px 16px 20px;
  }

  .footer-groups {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .error-main {
    padding: 36px 16px 52px;
  }

  .error-block {
    padding: 24px 20px;
  }

  .error-block h1 {
    font-size: 24px;
  }
}

@media (max-width: 420px) {
  .hero-actions .btn,
  .error-actions .btn {
    flex: 1 1 100%;
  }

  .record-date {
    white-space: normal;
  }
}

/* ==========================================================================
   动效增强 —— 尊重用户偏好，不影响初始可见性
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
  .map-card,
  .topic-card,
  .btn {
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  }
}
