/* ==========================================================================
   九九影院大全 · 全站样式表
   结构：base → layout → components → pages → responsive
   ========================================================================== */

/* ==========================================================================
   base：变量、重置、排版、通用元素
   ========================================================================== */

:root {
  --bg-page: #f4f6f8;
  --bg-panel: #ffffff;
  --text-main: #1f2933;
  --text-sub: #5b6670;
  --accent-one: #2f6f6a;
  --accent-two: #b4763a;
  --accent-three: #4a5d8f;
  --line: #d8dee3;
  --line-soft: #e6ebef;
  --radius: 6px;
  --radius-sm: 4px;
  --shadow-panel: 0 1px 2px rgba(31, 41, 51, 0.05);
  --container: 1120px;
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

.site-body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-stack);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

figure {
  margin: 0;
}

a {
  color: var(--accent-one);
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease;
}

a:hover,
a:focus {
  color: #235450;
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent-three);
  outline-offset: 2px;
}

p {
  margin: 0 0 0.85em;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-main);
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 18px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

caption {
  caption-side: top;
  text-align: left;
  color: var(--text-sub);
  font-size: 13px;
  padding-bottom: 8px;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line-soft);
}

thead th {
  color: var(--text-sub);
  font-weight: 600;
  font-size: 14px;
  background-color: #eef2f5;
  border-bottom: 1px solid var(--line);
}

tbody th {
  font-weight: 600;
  color: var(--text-main);
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 60;
  padding: 10px 16px;
  background-color: var(--accent-three);
  color: #ffffff;
  border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
  left: 0;
  color: #ffffff;
  text-decoration: none;
}

/* ==========================================================================
   layout：页头、主导航、主容器、面包屑、页标题区、页脚
   ========================================================================== */

/* --- 页头 --- */

.site-header {
  background-color: var(--bg-panel);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--text-main);
  text-decoration: none;
  flex: 0 0 auto;
}

.brand:hover,
.brand:focus {
  text-decoration: none;
  color: var(--accent-one);
}

.brand-name {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
}

.brand-tagline {
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.4;
}

/* --- 主导航 --- */

.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-list li {
  flex: 0 0 auto;
}

.nav-list a {
  display: block;
  padding: 9px 14px;
  color: var(--text-main);
  font-size: 15px;
  border-radius: var(--radius-sm);
  border-bottom: 2px solid transparent;
  min-height: 44px;
  line-height: 1.6;
}

.nav-list a:hover,
.nav-list a:focus {
  background-color: #eef2f5;
  text-decoration: none;
  color: var(--accent-three);
}

.nav-list a.is-current {
  color: var(--accent-one);
  font-weight: 600;
  border-bottom-color: var(--accent-one);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 10px;
  background-color: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--text-main);
  border-radius: 1px;
}

/* --- 主容器 --- */

.site-main {
  display: block;
}

.home-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 28px 20px 56px;
}

.inner-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 20px 56px;
}

/* --- 面包屑 --- */

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: var(--text-sub);
  padding: 4px 0 12px;
}

.breadcrumb a {
  color: var(--text-sub);
}

.breadcrumb a:hover,
.breadcrumb a:focus {
  color: var(--accent-one);
}

.breadcrumb-sep {
  color: #9aa4ad;
}

.breadcrumb-current {
  color: var(--text-main);
  font-weight: 600;
}

/* --- 页标题区 --- */

.page-header {
  padding: 0 0 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-description {
  margin: 0;
  max-width: 780px;
  color: var(--text-sub);
  font-size: 15px;
}

/* --- 页脚 --- */

.site-footer {
  background-color: #1f2933;
  color: #c7cfd6;
  font-size: 14px;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 36px 20px 24px;
  display: grid;
  grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
  gap: 26px 24px;
}

.footer-brand {
  min-width: 0;
}

.footer-name {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
}

.footer-desc {
  margin: 0;
  color: #9aa4ad;
  font-size: 13px;
  line-height: 1.7;
}

.footer-title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.footer-list li {
  margin-bottom: 7px;
}

.footer-list a {
  color: #c7cfd6;
}

.footer-list a:hover,
.footer-list a:focus {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid #364250;
}

.footer-copy {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 20px;
  font-size: 13px;
  color: #8a949d;
}

/* ==========================================================================
   components：按钮、面板、卡片、表格、时间线、FAQ、侧栏
   ========================================================================== */

/* --- 按钮 --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn:hover,
.btn:focus {
  text-decoration: none;
}

.btn-primary {
  background-color: var(--accent-one);
  color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #235450;
  color: #ffffff;
}

.btn-ghost {
  background-color: transparent;
  color: var(--accent-one);
  border-color: var(--accent-one);
}

.btn-ghost:hover,
.btn-ghost:focus {
  background-color: #e7f0ef;
  color: #235450;
}

/* --- 首页区块标题 --- */

.home-section {
  margin-top: 44px;
}

.section-head {
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.section-title {
  font-size: 24px;
  margin-bottom: 6px;
}

.section-desc {
  margin: 0;
  color: var(--text-sub);
  font-size: 15px;
  max-width: 860px;
}

.section-desc a {
  font-weight: 600;
}

/* --- 内页通用 section --- */

.section {
  margin-bottom: 36px;
}

.section-intro,
.section-lead {
  margin: 0 0 16px;
  color: var(--text-sub);
  font-size: 15px;
  max-width: 820px;
}

/* --- 题材面板（首页 + 题材频道共用） --- */

.genre-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.genre-panel {
  background-color: var(--bg-panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent-one);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow-panel);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.genre-panel:hover {
  border-color: var(--accent-three);
  box-shadow: 0 2px 8px rgba(31, 41, 51, 0.08);
}

.genre-panel-drama {
  border-left-color: var(--accent-one);
}

.genre-panel-comedy {
  border-left-color: var(--accent-two);
}

.genre-panel-suspense {
  border-left-color: var(--accent-three);
}

.genre-panel-action {
  border-left-color: #8f4a4a;
}

.genre-panel-scifi {
  border-left-color: #3f6d8f;
}

.genre-panel-doc {
  border-left-color: #6a7a3a;
}

.genre-name {
  font-size: 17px;
  margin-bottom: 6px;
}

.genre-scope {
  margin: 0 0 10px;
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.7;
}

.genre-samples li,
.genre-items li {
  position: relative;
  padding-left: 14px;
  font-size: 14px;
  color: var(--text-main);
  margin-bottom: 5px;
  line-height: 1.65;
}

.genre-samples li::before,
.genre-items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--accent-two);
}

/* --- 专题卡片（首页 + 专题片单共用） --- */

.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.topic-card {
  background-color: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow-panel);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.topic-card:hover {
  border-color: var(--accent-two);
  box-shadow: 0 2px 8px rgba(31, 41, 51, 0.08);
}

.topic-name,
.topic-card-title {
  font-size: 17px;
  margin-bottom: 8px;
}

.topic-scope,
.topic-card-range {
  margin: 0 0 8px;
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.7;
}

.topic-direction,
.topic-card-note {
  margin: 0;
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.7;
}

.topic-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.topic-card-tags li {
  font-size: 12px;
  color: var(--accent-three);
  background-color: #eef1f7;
  border: 1px solid #dbe1ee;
  border-radius: 999px;
  padding: 2px 10px;
  line-height: 1.6;
}

/* --- 字段表格（首页摘要表） --- */

.fields-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.fields-table {
  background-color: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.fields-table th,
.fields-table td {
  padding: 11px 14px;
}

.fields-figure {
  background-color: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
}

.fields-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background-color: #eef2f5;
}

.fields-figure figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.65;
}

/* --- 路线提示条 --- */

.route-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.route-item {
  background-color: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow-panel);
}

.route-name {
  font-size: 16px;
  margin-bottom: 6px;
}

.route-path {
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--accent-three);
  word-break: break-word;
}

.route-note {
  margin: 0;
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
}

/* --- 范围说明块（首页 + 变动记录共用） --- */

.scope-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.scope-block {
  background-color: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.scope-include,
.scope-included {
  border-top: 3px solid var(--accent-one);
}

.scope-exclude,
.scope-excluded {
  border-top: 3px solid var(--accent-two);
}

.scope-title {
  font-size: 16px;
  margin-bottom: 10px;
}

.scope-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: var(--text-main);
  margin-bottom: 6px;
  line-height: 1.7;
}

.scope-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 2px;
  background-color: var(--accent-three);
}

/* --- 反馈说明块 --- */

.feedback-note {
  margin-top: 16px;
  background-color: #eef2f5;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.feedback-title {
  font-size: 16px;
  margin-bottom: 6px;
}

.feedback-text {
  margin: 0;
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.75;
}

/* --- 内页双栏布局：主内容在前，侧栏在后 --- */

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 30px;
  align-items: start;
}

.layout-main,
.layout-content {
  min-width: 0;
}

.layout-side,
.layout-aside {
  min-width: 0;
}

.sidebar-left .page-layout {
  grid-template-columns: 300px minmax(0, 1fr);
}

.sidebar-left .layout-main,
.sidebar-left .layout-content {
  order: 2;
}

.sidebar-left .layout-side,
.sidebar-left .layout-aside {
  order: 1;
}

/* --- 侧栏通用 --- */

.sidebar-title,
.aside-title {
  font-size: 16px;
  margin-bottom: 8px;
}

.sidebar-subtitle,
.aside-subtitle {
  font-size: 14px;
  margin: 16px 0 8px;
}

.sidebar-text,
.aside-intro {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.75;
}

.sidebar-links li,
.sidebar-list li,
.aside-list li,
.aside-links li {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.7;
}

.sidebar-links a,
.sidebar-list a,
.aside-list a,
.aside-links a {
  display: inline-block;
  min-height: 24px;
}

.section-scope-sidebar,
.topics-sidebar,
.guide-aside,
.layout-aside {
  background-color: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.topics-sidebar .sidebar-block + .sidebar-block,
.guide-aside .aside-block + .aside-block {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

.guide-aside .aside-top {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
}

/* --- 延伸入口链接组 --- */

.next-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.next-links li {
  flex: 1 1 200px;
}

.next-links a,
.next-link {
  display: block;
  background-color: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 16px;
  min-height: 44px;
  color: var(--text-main);
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.next-links a:hover,
.next-links a:focus,
.next-link:hover,
.next-link:focus {
  border-color: var(--accent-one);
  background-color: #f0f6f5;
  text-decoration: none;
}

.next-link-title {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}

.next-link-desc {
  display: block;
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.65;
}

/* --- 入口列表（专题片单延伸入口） --- */

.entry-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.entry-list a {
  display: block;
  background-color: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 11px 15px;
  min-height: 44px;
  color: var(--text-main);
}

.entry-list a:hover,
.entry-list a:focus {
  border-color: var(--accent-one);
  background-color: #f0f6f5;
  text-decoration: none;
}

/* --- 链接列表（变动记录延伸入口） --- */

.link-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}

.link-list a {
  display: block;
  background-color: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 11px 15px;
  min-height: 44px;
  color: var(--text-main);
}

.link-list a:hover,
.link-list a:focus {
  border-color: var(--accent-one);
  background-color: #f0f6f5;
  text-decoration: none;
}

/* --- 步骤（首页 hero 步骤 + 浏览指引步骤，各自限定作用域） --- */

.hero-steps {
  display: grid;
  gap: 12px;
  margin: 18px 0 20px;
}

.hero-step {
  position: relative;
  padding-left: 40px;
}

.hero-step .step-index {
  position: absolute;
  left: 0;
  top: 2px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--accent-one);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.hero-step .step-title {
  font-size: 16px;
  margin-bottom: 3px;
}

.hero-step .step-text {
  margin: 0;
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
}

.step-list {
  display: grid;
  gap: 14px;
}

.step-item {
  position: relative;
  background-color: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px 16px 56px;
}

.step-item .step-index {
  position: absolute;
  left: 16px;
  top: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--accent-three);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.step-item .step-title {
  font-size: 17px;
  margin-bottom: 6px;
}

.step-item .step-text {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.75;
}

.step-link {
  font-size: 14px;
  font-weight: 600;
}

/* --- 字段说明列表（题材频道 dl） --- */

.field-list {
  margin: 0;
  background-color: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.field-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft);
}

.field-row:last-child {
  border-bottom: 0;
}

.field-name {
  margin: 0;
  font-weight: 600;
  font-size: 14px;
  color: var(--accent-three);
}

.field-desc {
  margin: 0;
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.75;
}

/* --- 字段表（浏览指引三列表格） --- */

.field-table {
  background-color: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.field-table th,
.field-table td {
  padding: 11px 14px;
}

/* --- 边界说明（题材频道 + 浏览指引共用） --- */

.boundary-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.boundary-col,
.boundary-block {
  background-color: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.boundary-title {
  font-size: 16px;
  margin-bottom: 8px;
}

.boundary-text {
  margin: 0;
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.75;
}

.boundary-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: var(--text-main);
  margin-bottom: 6px;
  line-height: 1.7;
}

.boundary-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 2px;
  background-color: var(--accent-two);
}

.boundary-note {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.75;
}

/* --- FAQ 折叠项 --- */

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  background-color: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
}

.faq-question {
  cursor: pointer;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  min-height: 44px;
  list-style: none;
  position: relative;
  padding-right: 44px;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--accent-three);
  line-height: 1;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-item[open] .faq-question {
  border-bottom: 1px solid var(--line-soft);
}

.faq-answer {
  margin: 0;
  padding: 12px 18px 16px;
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.8;
}

/* --- 专题对比栏 --- */

.compare-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.compare-column {
  background-color: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.compare-title {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--accent-three);
}

.compare-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: var(--text-main);
  margin-bottom: 6px;
  line-height: 1.7;
}

.compare-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 2px;
  background-color: var(--accent-one);
}

/* --- 专题入选依据 --- */

.criteria-block {
  background-color: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 14px;
}

.criteria-title {
  font-size: 16px;
  margin-bottom: 8px;
}

.criteria-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 6px;
  line-height: 1.75;
}

.criteria-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 2px;
  background-color: var(--accent-two);
}

.criteria-list strong {
  color: var(--text-main);
  font-weight: 600;
}

.criteria-text {
  margin: 0;
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.75;
}

/* --- 图片 figure 通用 --- */

.genre-map,
.topic-figure,
.media-figure,
.page-figure,
.hero-figure {
  background-color: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
}

.genre-map img,
.topic-figure img,
.media-figure img,
.page-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background-color: #eef2f5;
}

.genre-map-caption,
.topic-figure figcaption,
.media-caption,
.figure-caption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.65;
}

/* --- 变动时间线 --- */

.change-months {
  display: grid;
  gap: 18px;
}

.change-month {
  background-color: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  border-left: 3px solid var(--accent-three);
}

.change-month-title {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--text-main);
}

.change-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.75;
}

.change-list li:last-child {
  margin-bottom: 0;
}

.change-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 2px solid var(--accent-two);
  background-color: var(--bg-panel);
}

.change-type {
  display: inline-block;
  font-size: 12px;
  color: var(--accent-three);
  background-color: #eef1f7;
  border: 1px solid #dbe1ee;
  border-radius: 999px;
  padding: 1px 9px;
  margin-right: 6px;
  line-height: 1.6;
}

.change-text {
  color: var(--text-main);
}

/* --- 变动类型表 --- */

.type-table {
  background-color: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.type-table th,
.type-table td {
  padding: 11px 14px;
}

/* ==========================================================================
   pages：首页专属模块与各内页业务模块
   ========================================================================== */

/* --- 首页首屏 --- */

.home-hero {
  background-color: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 22px;
  box-shadow: var(--shadow-panel);
}

.hero-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.hero-intro {
  min-width: 0;
}

.hero-eyebrow {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-two);
}

.hero-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero-lead {
  margin: 0;
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.8;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-quick {
  min-width: 0;
  background-color: #f0f3f6;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.quick-title {
  font-size: 16px;
  margin-bottom: 6px;
}

.quick-note {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.7;
}

.quick-group + .quick-group {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.quick-group-title {
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--accent-three);
}

.quick-links li {
  margin-bottom: 5px;
  font-size: 14px;
  line-height: 1.7;
}

.quick-links a {
  display: inline-block;
  min-height: 24px;
}

.hero-figure {
  margin-top: 22px;
}

.hero-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background-color: #eef2f5;
}

.hero-caption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.65;
}

/* --- 题材频道页 --- */

.page-timetable .section-genre-overview {
  margin-bottom: 30px;
}

.page-timetable .genre-map {
  margin-bottom: 36px;
}

.page-timetable .section-field-meaning .field-list {
  margin-top: 4px;
}

.page-timetable .section-genre-boundary {
  margin-bottom: 36px;
}

/* --- 专题片单页 --- */

.page-topics .topic-card-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.page-topics .topic-overview {
  margin-bottom: 36px;
}

.page-topics .topic-criteria {
  margin-bottom: 36px;
}

.page-topics .topic-figure {
  margin-top: 16px;
}

.page-topics .topic-compare {
  margin-bottom: 36px;
}

/* --- 浏览指引页 --- */

.page-guide .guide-steps {
  margin-bottom: 36px;
}

.page-guide .guide-figure {
  margin-bottom: 36px;
}

.page-guide .guide-fields {
  margin-bottom: 36px;
}

.page-guide .guide-faq {
  margin-bottom: 36px;
}

.page-guide .guide-boundary {
  margin-bottom: 36px;
}

/* --- 变动记录页 --- */

.page-updates .page-figure {
  margin-bottom: 36px;
}

.page-updates .section-types {
  margin-bottom: 36px;
}

.page-updates .section-scope {
  margin-bottom: 36px;
}

.page-updates .section-links {
  margin-bottom: 0;
}

/* --- 404 页 --- */

.site-error .error-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 20px 72px;
}

.error-panel {
  background-color: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  max-width: 720px;
  box-shadow: var(--shadow-panel);
}

.error-title {
  font-size: 32px;
  margin-bottom: 12px;
}

.error-text {
  margin: 0 0 10px;
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.8;
}

.error-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.error-links a {
  display: block;
  background-color: #f0f3f6;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 11px 15px;
  min-height: 44px;
  color: var(--text-main);
}

.error-links a:hover,
.error-links a:focus {
  border-color: var(--accent-one);
  background-color: #f0f6f5;
  text-decoration: none;
}

/* ==========================================================================
   responsive：960px 与 640px 断点
   ========================================================================== */

@media (max-width: 960px) {
  .header-inner {
    gap: 12px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    flex: 0 0 100%;
    width: 100%;
    margin-left: 0;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    border-top: 1px solid var(--line);
    padding-top: 6px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list a {
    border-bottom: 1px solid var(--line-soft);
    border-radius: 0;
    padding: 12px 6px;
    min-height: 44px;
  }

  .nav-list a.is-current {
    border-bottom-color: var(--line-soft);
    color: var(--accent-one);
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .sidebar-left .page-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .sidebar-left .layout-main,
  .sidebar-left .layout-content,
  .sidebar-left .layout-side,
  .sidebar-left .layout-aside {
    order: initial;
  }

  .hero-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .fields-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .site-body {
    font-size: 15px;
  }

  .header-inner {
    padding: 10px 16px;
  }

  .brand-name {
    font-size: 17px;
  }

  .home-main,
  .inner-main {
    padding: 18px 16px 44px;
  }

  .page-title,
  .hero-title,
  .error-title {
    font-size: 24px;
  }

  .section-title {
    font-size: 20px;
  }

  .home-hero {
    padding: 18px 16px 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-figure img {
    aspect-ratio: 16 / 9;
  }

  .field-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .step-item {
    padding: 14px 16px 14px 52px;
  }

  .change-month {
    padding: 14px 15px;
  }

  .error-panel {
    padding: 24px 18px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    padding: 28px 16px 18px;
  }

  .footer-copy {
    padding: 12px 16px;
  }

  .genre-grid,
  .topic-grid,
  .page-topics .topic-card-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .next-links li {
    flex: 1 1 100%;
  }

  .entry-list,
  .link-list,
  .error-links {
    grid-template-columns: minmax(0, 1fr);
  }

  table {
    font-size: 14px;
  }

  th,
  td {
    padding: 9px 10px;
  }
}
