/* ==========================================================================
   秋霞电影在线观看 · 全站样式
   暗色视频库风 · 近黑底 + 状态红绿点缀
   ========================================================================== */

/* ==========================================================================
   base · 基础重置与全站变量
   ========================================================================== */

:root {
  --bg: #0d0f12;
  --bg-block: #15181d;
  --bg-card: #1b1f26;
  --bg-elev: #21262e;
  --line: #2a3038;
  --line-soft: #232931;
  --text: #e6e8eb;
  --text-sub: #9aa3ad;
  --text-dim: #7d858f;
  --red: #e5484d;
  --green: #30a46c;
  --gold: #f0b429;
  --radius: 6px;
  --radius-sm: 4px;
  --wrap: 1180px;
  --gap: 20px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Segoe UI", Roboto, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-weight: 600;
  line-height: 1.35;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover,
a:focus-visible {
  color: #ffd168;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

time {
  font-variant-numeric: tabular-nums;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   layout · 全站骨架：页头 / 主导航 / 主容器 / 面包屑 / 页标题 / 页脚
   ========================================================================== */

.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
}

/* --- 页头 --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: rgba(13, 15, 18, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(8px);
}

.header-bar {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  flex: 0 0 auto;
}

.brand:hover,
.brand:focus-visible {
  color: var(--text);
}

.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-sm);
  background-color: var(--red);
  box-shadow: inset 0 0 0 2px rgba(13, 15, 18, 0.55);
  position: relative;
  flex: 0 0 auto;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 8px 7px 8px 10px;
  background-color: #f6f7f8;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.brand-name {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background-color: var(--bg-card);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nav-toggle:hover {
  border-color: #39414c;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background-color: var(--text);
  border-radius: 2px;
}

/* --- 主导航 --- */
.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-sub);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--text);
  background-color: var(--bg-card);
}

.nav-link.is-current {
  color: var(--text);
  background-color: var(--bg-card);
  box-shadow: inset 0 -2px 0 var(--red);
}

.nav-sub {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 190px;
  padding: 8px;
  background-color: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
  display: none;
  z-index: 30;
}

.has-sub:hover .nav-sub,
.has-sub:focus-within .nav-sub {
  display: block;
}

.nav-sub li + li {
  margin-top: 2px;
}

.nav-sub a {
  display: block;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--text-sub);
}

.nav-sub a:hover,
.nav-sub a:focus-visible {
  color: var(--text);
  background-color: var(--bg-card);
}

.header-note {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px 10px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-dim);
}

/* --- 主容器 --- */
.site-main {
  flex: 1 1 auto;
  width: 100%;
}

.inner-main {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 22px 24px 56px;
}

/* --- 面包屑 --- */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 18px;
}

.breadcrumb a {
  color: var(--text-sub);
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--gold);
}

.breadcrumb-sep {
  color: #4a525c;
}

.breadcrumb-current {
  color: var(--text-sub);
}

/* --- 内页标题区 --- */
.page-header {
  margin-bottom: 36px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-soft);
}

.page-title {
  font-size: 27px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.page-description {
  margin-top: 12px;
  max-width: 860px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text-sub);
}

/* --- 通用 section 骨架 --- */
.section {
  margin-bottom: 46px;
}

.section-head {
  margin-bottom: 20px;
}

.section-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
}

.section-title-sm {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-sub);
  margin-bottom: 12px;
}

.section-desc {
  margin-top: 8px;
  max-width: 820px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-sub);
}

.section-intro,
.section-lead {
  margin-top: 8px;
  margin-bottom: 18px;
  max-width: 860px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-sub);
}

.section-lead {
  margin-top: -6px;
}

.section-more,
.section-note {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--text-sub);
}

.section-note a + a {
  margin-left: 16px;
}

.section-more a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
}

.section-more a::after {
  content: "→";
  font-size: 13px;
}

/* --- 页脚 --- */
.site-footer {
  margin-top: auto;
  background-color: var(--bg-block);
  border-top: 1px solid var(--line);
}

.footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 40px 24px 26px;
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) repeat(3, minmax(140px, 1fr)) minmax(160px, 1fr);
  gap: 28px 24px;
}

.footer-brand {
  max-width: 320px;
}

.footer-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.footer-slogan {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--gold);
}

.footer-desc {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-dim);
}

.footer-group {
  min-width: 0;
}

.footer-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-sub);
  margin-bottom: 12px;
}

.footer-list li + li {
  margin-top: 8px;
}

.footer-list a {
  font-size: 13px;
  color: var(--text-dim);
}

.footer-list a:hover,
.footer-list a:focus-visible {
  color: var(--gold);
}

.footer-copy {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 16px 24px 30px;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px;
  color: var(--text-dim);
}

/* ==========================================================================
   components · 通用组件
   ========================================================================== */

/* --- 按钮 --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn-primary {
  background-color: var(--red);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: #cf3b40;
  color: #fff;
}

.btn-ghost {
  background-color: transparent;
  border-color: var(--line);
  color: var(--text-sub);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: #3a424d;
  color: var(--text);
}

/* --- 通用专题卡片 --- */
.special-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--gap);
}

.special-card {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.special-card:hover,
.special-card:focus-within {
  border-color: #3a424d;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
}

.special-media,
.special-cover {
  margin: 0;
  aspect-ratio: 16 / 9;
  background-color: #101317;
  overflow: hidden;
}

.special-media img,
.special-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.special-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
}

.special-name {
  font-size: 16px;
  color: var(--text);
}

.special-desc {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-sub);
}

.special-channel {
  font-size: 12.5px;
  color: var(--green);
}

.special-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  font-size: 12.5px;
}

.special-meta dt {
  color: var(--text-dim);
}

.special-meta dd {
  color: var(--text-sub);
}

.special-meta .meta-label {
  color: var(--text-dim);
}

.special-link {
  margin-top: auto;
  padding-top: 6px;
  font-size: 13.5px;
  color: var(--gold);
}

.special-link::after {
  content: " →";
}

/* --- 通用清单列表（核验 / 边界） --- */
.check-list,
.boundary-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-list li,
.boundary-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-sub);
}

.check-list li::before,
.boundary-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background-color: var(--green);
}

.boundary-out .boundary-list li::before {
  background-color: var(--red);
}

/* ==========================================================================
   pages · 首页
   ========================================================================== */

.home-main {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 34px 24px 56px;
}

/* --- 时间线首屏 --- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
  gap: 34px;
  align-items: start;
  padding-bottom: 34px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line-soft);
}

.hero-intro {
  min-width: 0;
}

.hero-eyebrow {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  color: var(--text-sub);
  margin-bottom: 16px;
}

.hero-title {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
}

.hero-desc {
  margin-top: 16px;
  max-width: 640px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-sub);
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-media {
  margin: 26px 0 0;
  max-width: 640px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: #101317;
}

.hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-media figcaption {
  padding: 10px 14px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-dim);
  border-top: 1px solid var(--line-soft);
}

/* --- 首屏右侧时间线 --- */
.hero-timeline {
  background-color: var(--bg-block);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 20px;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.timeline-item {
  position: relative;
  padding-left: 18px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--green);
}

.timeline-item:first-child::before {
  background-color: var(--red);
}

.timeline-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 3.5px;
  top: 20px;
  bottom: -14px;
  width: 1px;
  background-color: var(--line);
}

.timeline-date {
  display: block;
  font-size: 12px;
  color: var(--text-dim);
}

.timeline-text {
  margin-top: 2px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-sub);
}

.timeline-more {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 13.5px;
}

/* --- 内容线索总览 --- */
.clue-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: var(--gap);
}

.clue-item {
  background-color: var(--bg-block);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.clue-item:hover {
  border-color: #3a424d;
  background-color: var(--bg-card);
}

.clue-name {
  font-size: 15.5px;
  color: var(--text);
}

.clue-desc {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-sub);
}

.clue-link {
  margin-top: auto;
  font-size: 13px;
  color: var(--gold);
}

.clue-link::after {
  content: " →";
}

/* --- 题材频道速览 --- */
.channel-strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: thin;
}

.channel-chip {
  flex: 0 0 216px;
  background-color: var(--bg-block);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 16px;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.channel-chip:hover {
  border-color: var(--green);
  background-color: var(--bg-card);
}

.channel-code {
  display: inline-block;
  font-size: 12px;
  color: var(--red);
  font-variant-numeric: tabular-nums;
}

.channel-name {
  margin-top: 6px;
  font-size: 15px;
  color: var(--text);
}

.channel-desc {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-sub);
}

/* --- 浏览路径与入口核验摘要 --- */
.check-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--gap);
}

.check-col {
  background-color: var(--bg-block);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 20px;
}

.check-subtitle {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 14px;
}

/* --- 站内页面索引 --- */
.page-index {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: 14px;
}

.index-item {
  background-color: var(--bg-block);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 16px;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.index-item:hover {
  border-color: #3a424d;
  background-color: var(--bg-card);
}

.index-name {
  font-size: 14.5px;
}

.index-name a {
  color: var(--text);
}

.index-name a:hover,
.index-name a:focus-visible {
  color: var(--gold);
}

.index-desc {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-sub);
}

/* ==========================================================================
   pages · 频道分类
   ========================================================================== */

.channel-table-section .channel-figure {
  margin: 0 0 20px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: #101317;
}

.channel-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.channel-figure figcaption {
  padding: 10px 14px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-dim);
  border-top: 1px solid var(--line-soft);
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background-color: var(--bg-block);
}

.data-table {
  min-width: 720px;
  font-size: 13.5px;
}

.data-table thead th {
  text-align: left;
  padding: 12px 14px;
  background-color: #12151a;
  color: var(--text-sub);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.data-table tbody th,
.data-table tbody td {
  text-align: left;
  padding: 12px 14px;
  vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text-sub);
  line-height: 1.65;
}

.data-table tbody th {
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover th,
.data-table tbody tr:hover td {
  background-color: #191d23;
}

/* --- 频道选择方法 --- */
.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--gap);
}

.method-card {
  background-color: var(--bg-block);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 18px;
}

.method-name {
  font-size: 15px;
  color: var(--text);
}

.method-text {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-sub);
}

.relation-table {
  min-width: 520px;
}

/* ==========================================================================
   pages · 专题片单
   ========================================================================== */

.special-list-section .special-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* --- 专题浏览顺序 --- */
.order-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.order-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 4px 16px;
  background-color: var(--bg-block);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.order-index {
  grid-row: span 2;
  align-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background-color: #12151a;
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.order-name {
  font-size: 15px;
  color: var(--text);
}

.order-desc {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-sub);
}

/* --- 专题与整理记录的关系 --- */
.relation-body {
  background-color: var(--bg-block);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 20px;
}

.relation-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-sub);
}

.relation-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.relation-item {
  display: flex;
  gap: 14px;
  padding: 12px 14px;
  background-color: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
}

.relation-date {
  flex: 0 0 auto;
  font-size: 12.5px;
  color: var(--green);
}

.relation-desc {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-sub);
}

.relation-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 13.5px;
}

.relation-link::after {
  content: " →";
}

/* ==========================================================================
   pages · 浏览指引
   ========================================================================== */

.guide-section {
  margin-bottom: 46px;
}

.guide-media {
  margin: 0 0 22px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: #101317;
}

.guide-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.guide-media figcaption {
  padding: 10px 14px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-dim);
  border-top: 1px solid var(--line-soft);
}

/* --- 三层路径 --- */
.path-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--gap);
}

.path-item {
  background-color: var(--bg-block);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 18px;
}

.path-index {
  display: inline-block;
  font-size: 12px;
  color: var(--red);
  font-variant-numeric: tabular-nums;
}

.path-name {
  margin-top: 6px;
  font-size: 15px;
  color: var(--text);
}

.path-desc {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-sub);
}

/* --- 执行细节 --- */
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.detail-item {
  background-color: var(--bg-block);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 18px;
}

.detail-name {
  font-size: 15px;
  color: var(--text);
}

.detail-text {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-sub);
}

/* --- 质量检查清单 --- */
.guide-quality .check-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background-color: var(--bg-block);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.check-box {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  border: 1px solid #3a424d;
  border-radius: 3px;
  background-color: #12151a;
  position: relative;
}

.check-box::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(42deg);
}

.check-text {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-sub);
}

/* --- 适用边界 --- */
.boundary-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-sub);
  max-width: 860px;
}

.guide-boundary .boundary-list {
  margin-top: 16px;
}

/* --- 常见问题 --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background-color: var(--bg-block);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item[open] {
  border-color: #3a424d;
}

.faq-question {
  cursor: pointer;
  padding: 15px 44px 15px 18px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  position: relative;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  font-weight: 400;
  color: var(--gold);
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-answer {
  padding: 0 18px 16px;
}

.faq-answer p {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--text-sub);
}

/* ==========================================================================
   pages · 字段说明
   ========================================================================== */

.field-visual {
  margin-bottom: 40px;
}

.field-figure {
  margin: 0 0 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: #101317;
}

.field-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.field-figure figcaption {
  padding: 10px 14px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-dim);
  border-top: 1px solid var(--line-soft);
}

.field-visual-note {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-sub);
  max-width: 860px;
}

.field-table-section,
.boundary-section,
.channel-field-section {
  margin-bottom: 46px;
}

.field-table,
.channel-field-table {
  width: 100%;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 13.5px;
  background-color: var(--bg-block);
}

.field-table thead th,
.channel-field-table thead th {
  text-align: left;
  padding: 12px 14px;
  background-color: #12151a;
  color: var(--text-sub);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.field-table tbody th,
.field-table tbody td,
.channel-field-table tbody th,
.channel-field-table tbody td {
  text-align: left;
  padding: 12px 14px;
  vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text-sub);
  line-height: 1.65;
}

.field-table tbody th,
.channel-field-table tbody th {
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}

.field-table tbody tr:last-child th,
.field-table tbody tr:last-child td,
.channel-field-table tbody tr:last-child th,
.channel-field-table tbody tr:last-child td {
  border-bottom: 0;
}

.field-table tbody tr:hover th,
.field-table tbody tr:hover td,
.channel-field-table tbody tr:hover th,
.channel-field-table tbody tr:hover td {
  background-color: #191d23;
}

/* --- 收录边界 --- */
.boundary-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--gap);
}

.boundary-col {
  background-color: var(--bg-block);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 20px;
}

.boundary-in {
  border-left: 3px solid var(--green);
}

.boundary-out {
  border-left: 3px solid var(--red);
}

.subsection-title {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 14px;
}

.boundary-note,
.channel-field-note {
  margin-top: 16px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-sub);
}

.boundary-note a,
.channel-field-note a {
  margin-right: 16px;
}

/* ==========================================================================
   pages · 整理记录
   ========================================================================== */

.record-timeline,
.record-reason,
.record-impact,
.record-related {
  margin-bottom: 46px;
}

.record-month {
  background-color: var(--bg-block);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 20px;
}

.record-month + .record-month {
  margin-top: 18px;
}

.record-month-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}

.record-month-title {
  font-size: 16px;
  color: var(--text);
}

.record-month-note {
  font-size: 12.5px;
  color: var(--text-dim);
}

.record-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.record-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.record-date {
  font-size: 12.5px;
  color: var(--green);
  padding-top: 2px;
}

.record-text {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-sub);
}

/* --- 调整原因 --- */
.reason-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.reason-item {
  background-color: var(--bg-block);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 18px;
}

.reason-name {
  font-size: 15px;
  color: var(--text);
}

.reason-text {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-sub);
}

/* --- 变更影响范围 --- */
.impact-table {
  width: 100%;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 13.5px;
  background-color: var(--bg-block);
}

.impact-table thead th {
  text-align: left;
  padding: 12px 14px;
  background-color: #12151a;
  color: var(--text-sub);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}

.impact-table tbody td {
  padding: 12px 14px;
  vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text-sub);
  line-height: 1.65;
}

.impact-table tbody tr:last-child td {
  border-bottom: 0;
}

.impact-table tbody tr:hover td {
  background-color: #191d23;
}

.table-caption {
  caption-side: top;
  text-align: left;
  padding: 12px 14px;
  font-size: 12.5px;
  color: var(--text-dim);
}

.impact-note {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--text-sub);
}

/* --- 记录配图 --- */
.record-figure {
  margin: 0 0 46px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: #101317;
}

.record-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.figure-caption {
  padding: 10px 14px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-dim);
  border-top: 1px solid var(--line-soft);
}

/* --- 相关入口 --- */
.related-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.related-item {
  background-color: var(--bg-block);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.related-item a {
  font-size: 14.5px;
  color: var(--text);
}

.related-item a:hover,
.related-item a:focus-visible {
  color: var(--gold);
}

.related-text {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-sub);
}

/* ==========================================================================
   pages · 404
   ========================================================================== */

.error-main {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 56px 24px 64px;
}

.error-hero {
  max-width: 720px;
  margin-bottom: 48px;
}

.error-code {
  font-size: 13px;
  color: var(--red);
  font-variant-numeric: tabular-nums;
}

.error-title {
  margin-top: 10px;
  font-size: 28px;
  font-weight: 600;
  color: var(--text);
}

.error-desc {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text-sub);
}

.error-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.error-clues {
  border-top: 1px solid var(--line-soft);
  padding-top: 32px;
}

.error-clue-list {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: var(--gap);
}

.error-clue-item {
  background-color: var(--bg-block);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 18px;
}

.error-clue-item .clue-name {
  font-size: 15px;
}

.error-clue-item .clue-name a {
  color: var(--text);
}

.error-clue-item .clue-name a:hover,
.error-clue-item .clue-name a:focus-visible {
  color: var(--gold);
}

.clue-text {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-sub);
}

/* ==========================================================================
   responsive · 平板与手机
   ========================================================================== */

@media (max-width: 1024px) {
  .footer-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 520px;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .hero-timeline {
    order: 2;
  }
}

@media (max-width: 768px) {
  .header-bar {
    padding: 10px 16px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px 0 12px;
    border-top: 1px solid var(--line-soft);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    justify-content: flex-start;
    min-height: 44px;
    padding: 0 12px;
    font-size: 15px;
  }

  .nav-link.is-current {
    box-shadow: inset 2px 0 0 var(--red);
  }

  .nav-sub {
    position: static;
    display: block;
    min-width: 0;
    padding: 4px 0 6px 12px;
    background-color: transparent;
    border: 0;
    box-shadow: none;
  }

  .nav-sub a {
    min-height: 44px;
    display: flex;
    align-items: center;
    font-size: 14px;
  }

  .header-note {
    padding: 0 16px 10px;
    font-size: 12px;
  }

  .home-main,
  .inner-main,
  .error-main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .home-main {
    padding-top: 24px;
    padding-bottom: 40px;
  }

  .inner-main {
    padding-top: 18px;
    padding-bottom: 44px;
  }

  .hero {
    padding-bottom: 26px;
    margin-bottom: 32px;
  }

  .hero-title {
    font-size: 25px;
  }

  .page-header {
    margin-bottom: 28px;
    padding-bottom: 18px;
  }

  .page-title {
    font-size: 22px;
  }

  .section,
  .guide-section,
  .field-table-section,
  .boundary-section,
  .channel-field-section,
  .record-timeline,
  .record-reason,
  .record-impact,
  .record-figure,
  .record-related {
    margin-bottom: 34px;
  }

  .section-title {
    font-size: 18px;
  }

  .footer-inner {
    padding: 30px 16px 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 18px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-copy {
    padding: 14px 16px 26px;
  }

  .record-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .order-item {
    grid-template-columns: 36px minmax(0, 1fr);
    padding: 14px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14.5px;
  }

  .brand-name {
    font-size: 15.5px;
  }

  .hero-title {
    font-size: 22px;
  }

  .hero-actions .btn,
  .error-actions .btn {
    flex: 1 1 auto;
  }

  .channel-chip {
    flex-basis: 200px;
  }

  .clue-list,
  .page-index,
  .check-columns,
  .method-grid,
  .special-grid,
  .path-list,
  .detail-list,
  .guide-quality .check-list,
  .boundary-columns,
  .reason-list,
  .related-list,
  .error-clue-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .special-meta {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .special-meta dt {
    margin-top: 6px;
  }

  .data-table {
    min-width: 640px;
  }

  .field-table,
  .channel-field-table,
  .impact-table {
    font-size: 13px;
  }
}

/* ==========================================================================
   motion · 轻量动效增强（不影响首屏可见性）
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
  .clue-item,
  .channel-chip,
  .special-card,
  .index-item,
  .method-card,
  .reason-item,
  .related-item {
    transition: border-color 0.18s ease, background-color 0.18s ease,
      transform 0.18s ease, box-shadow 0.18s ease;
  }

  .section-more a,
  .clue-link,
  .special-link,
  .relation-link {
    transition: color 0.18s ease;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}
