/* ==========================================================================
   秋霞电影网 · 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base
   -------------------------------------------------------------------------- */

:root {
  --ink: #1f2933;
  --ink-soft: #4a5568;
  --ink-mute: #6b7280;
  --paper: #f7f5f2;
  --paper-alt: #ffffff;
  --panel: #e8e3dc;
  --line: #d8d2c9;
  --accent: #8a5a2b;
  --accent-dark: #6f4620;
  --radius: 6px;
  --radius-sm: 4px;
  --shell: 1120px;
  --gap: 32px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body.site-body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: break-word;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.35;
  color: var(--ink);
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--accent-dark);
  text-decoration: underline;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

caption {
  text-align: left;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   layout · 全站骨架
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper-alt);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--ink);
  text-decoration: none;
  min-height: 44px;
  justify-content: center;
}

.brand:hover,
.brand:focus-visible {
  color: var(--ink);
  text-decoration: none;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.brand-sub {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
  line-height: 1.3;
}

.site-nav {
  display: block;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list > li {
  display: block;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  font-size: 15px;
  color: var(--ink-soft);
  border-radius: var(--radius-sm);
  border-bottom: 2px solid transparent;
  text-decoration: none;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--ink);
  background: var(--panel);
  text-decoration: none;
}

.nav-link.is-current {
  color: var(--ink);
  font-weight: 600;
  border-bottom-color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-main {
  display: block;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px 64px;
}

.home-main {
  padding-top: 0;
}

.inner-main {
  padding-top: 28px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-mute);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--ink-soft);
  text-decoration: none;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

.breadcrumb-sep {
  color: var(--line);
}

.breadcrumb-current {
  color: var(--ink);
}

.page-header {
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.page-title {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.25;
  color: var(--ink);
}

.page-description {
  margin-top: 14px;
  max-width: 780px;
  font-size: 16px;
  color: var(--ink-soft);
}

.page-description a {
  color: var(--accent);
}

.site-footer {
  background: var(--ink);
  color: #e6e2dc;
  margin-top: 40px;
}

.footer-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 48px 24px 24px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(320px, 1.2fr);
  gap: 40px;
}

.footer-brand-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.footer-desc {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.8;
  color: #b8b2aa;
  max-width: 420px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.footer-group-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #ffffff;
  margin-bottom: 14px;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-list a {
  display: inline-block;
  min-height: 24px;
  font-size: 14px;
  color: #c9c3ba;
  text-decoration: none;
}

.footer-list a:hover,
.footer-list a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
}

.footer-copy {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 18px 24px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  color: #948e86;
}

/* --------------------------------------------------------------------------
   components · 通用模块
   -------------------------------------------------------------------------- */

.section {
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}

.section:last-of-type {
  border-bottom: 0;
}

.section-head {
  margin-bottom: 32px;
  max-width: 760px;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.3;
}

.section-intro,
.section-desc,
.section-lead {
  margin-top: 12px;
  font-size: 16px;
  color: var(--ink-soft);
}

.section-lead a {
  color: var(--accent);
}

.section-note,
.section-more,
.section-foot {
  margin-top: 24px;
  font-size: 14px;
  color: var(--ink-mute);
}

.section-more {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.section-more a {
  color: var(--accent);
}

.section-foot-text {
  font-size: 14px;
  color: var(--ink-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #ffffff;
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--panel);
  border-color: var(--ink-soft);
  color: var(--ink);
  text-decoration: none;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.link-arrow::after {
  content: "→";
  margin-left: 6px;
  transition: transform 0.2s ease;
}

.link-arrow:hover,
.link-arrow:focus-visible {
  color: var(--accent-dark);
  text-decoration: underline;
}

.link-arrow:hover::after,
.link-arrow:focus-visible::after {
  transform: translateX(3px);
}

/* 细线字段表格 */

.field-table-wrap,
.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.field-table {
  min-width: 560px;
  border-top: 2px solid var(--ink);
  font-size: 14px;
}

.field-table caption,
.field-table-caption,
.table-caption {
  padding-bottom: 12px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
}

.field-table th,
.field-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.field-table thead th {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: var(--panel);
  white-space: nowrap;
}

.field-table tbody th {
  width: 22%;
  font-weight: 600;
  color: var(--ink);
  background: var(--paper-alt);
}

.field-table tbody td {
  color: var(--ink-soft);
  line-height: 1.7;
}

.field-table tbody tr:hover th,
.field-table tbody tr:hover td {
  background: #fbfaf8;
}

/* 编号要点清单 */

.point-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 8px;
}

.point-item {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.point-index {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  background: var(--accent);
  border-radius: 50%;
}

.point-body {
  flex: 1 1 auto;
  min-width: 0;
}

.point-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.point-body p {
  font-size: 15px;
  color: var(--ink-soft);
}

/* 步骤列表 */

.step-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 8px;
  counter-reset: step-counter;
}

.step-item {
  position: relative;
  padding: 22px 24px 22px 66px;
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  counter-increment: step-counter;
}

.step-item::before {
  content: counter(step-counter);
  position: absolute;
  top: 22px;
  left: 22px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.step-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.step-goal,
.step-action,
.step-result,
.step-text {
  font-size: 15px;
  color: var(--ink-soft);
  margin-top: 6px;
}

.step-goal {
  color: var(--ink);
  font-weight: 600;
}

.step-goal::before {
  content: "目标 · ";
  color: var(--accent);
  font-weight: 600;
}

.step-action::before {
  content: "操作 · ";
  color: var(--accent);
  font-weight: 600;
}

.step-result::before {
  content: "结果 · ";
  color: var(--accent);
  font-weight: 600;
}

/* FAQ 展开收起 */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.faq-item {
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  position: relative;
  padding: 16px 52px 16px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
}

.faq-item[open] .faq-question::after {
  content: "–";
}

.faq-question:hover {
  color: var(--accent);
}

.faq-answer {
  padding: 14px 20px 18px;
  font-size: 15px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}

.faq-answer p + p {
  margin-top: 10px;
}

/* 图片容器 */

.hero-figure img,
.scope-figure img,
.collection-media img,
.collection-figure img,
.channel-media img,
.guide-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--panel);
}

.figure-caption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-mute);
}

/* --------------------------------------------------------------------------
   pages · 首页
   -------------------------------------------------------------------------- */

.hero-section {
  padding: 48px 0 56px;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero-title {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.hero-lead {
  margin-top: 18px;
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 560px;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-figure {
  min-width: 0;
}

.hero-figure img {
  aspect-ratio: 4 / 3;
}

.hero-figure figcaption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-mute);
}

/* 题材频道方向总览 */

.channel-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.channel-row {
  display: grid;
  grid-template-columns: minmax(160px, 0.9fr) minmax(0, 2.2fr) minmax(140px, 0.7fr);
  gap: 24px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.channel-name {
  font-size: 18px;
  font-weight: 600;
}

.channel-scope {
  min-width: 0;
}

.channel-scope p {
  font-size: 15px;
  color: var(--ink-soft);
}

.channel-entry {
  text-align: right;
}

/* 本期专题片单速览 */

.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}

.collection-card {
  display: flex;
  flex-direction: column;
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.collection-media {
  height: 200px;
  background: var(--panel);
}

.collection-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  flex: 1 1 auto;
}

.collection-body h3 {
  font-size: 18px;
  font-weight: 600;
}

.collection-body p {
  font-size: 15px;
  color: var(--ink-soft);
}

.collection-meta {
  font-size: 13px;
  color: var(--ink-mute);
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}

.collection-body .link-arrow {
  margin-top: auto;
}

/* 条目字段与收录边界摘要 */

.fields-section .section-note a {
  color: var(--accent);
}

/* 查阅前需要了解的事项 */

.note-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  counter-reset: note-counter;
}

.note-item {
  position: relative;
  padding: 22px 24px 22px 64px;
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  counter-increment: note-counter;
}

.note-item::before {
  content: "0" counter(note-counter);
  position: absolute;
  top: 22px;
  left: 22px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.note-item h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.note-item p {
  font-size: 15px;
  color: var(--ink-soft);
}

/* 收录边界与反馈入口 */

.scope-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.scope-copy {
  min-width: 0;
}

.scope-copy p {
  margin-top: 14px;
  font-size: 15px;
  color: var(--ink-soft);
}

.scope-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.scope-figure {
  min-width: 0;
}

.scope-figure img {
  aspect-ratio: 3 / 2;
}

/* --------------------------------------------------------------------------
   pages · 题材频道
   -------------------------------------------------------------------------- */

.channel-overview .section-lead,
.channel-fields .section-lead,
.channel-boundary .section-lead {
  margin-bottom: 28px;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}

.channel-card {
  display: flex;
  flex-direction: column;
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.channel-media {
  height: 180px;
  background: var(--panel);
}

.channel-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  flex: 1 1 auto;
}

.channel-body .channel-name {
  font-size: 18px;
  font-weight: 600;
}

.channel-body .channel-scope {
  font-size: 15px;
  color: var(--ink-soft);
}

.channel-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.channel-link::after {
  content: "→";
  margin-left: 6px;
}

.channel-fields .field-table {
  margin-top: 4px;
}

.boundary-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.boundary-item {
  padding: 20px 22px;
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-left: 3px solid var(--ink);
  border-radius: var(--radius);
}

.boundary-name {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.boundary-item p {
  font-size: 15px;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   pages · 专题片单
   -------------------------------------------------------------------------- */

.collection-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.collection-item {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
  padding: 22px;
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.collection-figure {
  min-width: 0;
  height: 210px;
  background: var(--panel);
}

.collection-item .collection-body {
  padding: 0;
  gap: 12px;
}

.collection-name {
  font-size: 20px;
  font-weight: 600;
}

.collection-theme {
  font-size: 15px;
  color: var(--ink-soft);
}

.collection-item .collection-meta {
  font-size: 13px;
  color: var(--ink-mute);
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.collection-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.collection-link::after {
  content: "→";
  margin-left: 6px;
}

.scope-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.scope-item {
  padding: 20px 22px;
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.scope-name {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.scope-range {
  font-size: 15px;
  color: var(--ink-soft);
}

.field-list {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.field-item {
  display: inline-flex;
}

.field-key {
  display: inline-block;
  padding: 4px 10px;
  font-size: 13px;
  color: var(--ink);
  background: var(--panel);
  border-radius: var(--radius-sm);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

.relation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}

.relation-item {
  padding: 22px;
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  min-width: 0;
}

.relation-name {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
}

.relation-text {
  font-size: 15px;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   pages · 查阅指引
   -------------------------------------------------------------------------- */

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 48px;
  align-items: start;
}

.guide-body {
  min-width: 0;
}

.guide-section {
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.guide-section:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.guide-section .section-lead {
  margin-bottom: 22px;
}

.guide-figure {
  margin: 8px 0 26px;
  min-width: 0;
}

.guide-figure img {
  aspect-ratio: 16 / 9;
}

.guide-aside {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.aside-block {
  padding: 22px;
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.aside-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.aside-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.aside-item {
  min-width: 0;
}

.aside-item a {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
}

.aside-item p {
  margin-top: 4px;
  font-size: 13px;
  color: var(--ink-mute);
}

.aside-step-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  counter-reset: aside-step;
}

.aside-step {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  color: var(--ink-soft);
  counter-increment: aside-step;
}

.aside-step::before {
  content: counter(aside-step) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   pages · 收录边界与反馈
   -------------------------------------------------------------------------- */

.scope-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
}

.scope-column {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper-alt);
  min-width: 0;
}

.scope-column-in {
  border-top: 3px solid var(--accent);
}

.scope-column-out {
  border-top: 3px solid var(--ink-mute);
}

.scope-column-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.scope-column-in .scope-column-title {
  color: var(--accent);
}

.scope-column-out .scope-column-title {
  color: var(--ink-soft);
}

.scope-column .scope-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.scope-column .scope-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 0 12px;
  background: transparent;
  border: 0;
  border-bottom: 1px dashed var(--line);
  border-radius: 0;
}

.scope-column .scope-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.scope-item-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.scope-item-note {
  font-size: 14px;
  color: var(--ink-mute);
}

.section-scope-compare .scope-figure {
  margin-top: 32px;
}

.section-scope-compare .scope-figure img {
  aspect-ratio: 21 / 9;
}

.section-feedback-path .step-list {
  margin-top: 0;
}

.section-feedback-path .step-item {
  border-left-color: var(--ink);
}

.section-feedback-path .step-item::before {
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   pages · 404
   -------------------------------------------------------------------------- */

.error-main {
  padding-top: 72px;
}

.error-block {
  max-width: 720px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}

.error-code {
  font-size: 14px;
  letter-spacing: 0.24em;
  color: var(--accent);
  margin-bottom: 16px;
}

.error-title {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.25;
}

.error-desc {
  margin-top: 16px;
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 560px;
}

.error-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 28px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  background: var(--accent);
  border-radius: var(--radius);
  text-decoration: none;
}

.error-action:hover,
.error-action:focus-visible {
  background: var(--accent-dark);
  color: #ffffff;
  text-decoration: none;
}

.error-paths {
  padding-top: 48px;
}

.error-paths-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
}

.error-path-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.error-path-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px;
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.error-path-item a {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
}

.error-path-note {
  font-size: 14px;
  color: var(--ink-mute);
}

/* --------------------------------------------------------------------------
   responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .collection-grid,
  .channel-grid,
  .relation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-inner,
  .scope-inner {
    gap: 32px;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 280px);
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 20px;
    min-height: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    width: 100%;
    order: 3;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px 0 4px;
    border-top: 1px solid var(--line);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list > li {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    min-height: 48px;
    padding: 0 12px;
    border-bottom: 0;
    border-left: 2px solid transparent;
  }

  .nav-link.is-current {
    border-bottom: 0;
    border-left-color: var(--accent);
    background: var(--panel);
  }

  .site-main {
    padding: 0 20px 48px;
  }

  .inner-main {
    padding-top: 20px;
  }

  .hero-section {
    padding: 32px 0 40px;
  }

  .hero-inner,
  .scope-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .hero-title,
  .page-title,
  .error-title {
    font-size: 28px;
  }

  .section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 22px;
  }

  .hero-actions .btn,
  .scope-actions .btn {
    flex: 1 1 auto;
  }

  .channel-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 20px 0;
  }

  .channel-entry {
    text-align: left;
  }

  .collection-grid,
  .channel-grid,
  .relation-grid,
  .note-list,
  .scope-list,
  .scope-compare-grid,
  .error-path-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .collection-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 18px;
  }

  .collection-figure {
    height: 200px;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .guide-aside {
    position: static;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 36px 20px 20px;
  }

  .footer-copy {
    padding: 16px 20px 28px;
  }

  .field-table {
    min-width: 480px;
  }
}

@media (max-width: 480px) {
  .header-inner,
  .site-main,
  .footer-inner,
  .footer-copy {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand-name {
    font-size: 18px;
  }

  .field-table {
    min-width: 420px;
  }

  .field-table th,
  .field-table td {
    padding: 12px 12px;
  }

  .point-item,
  .step-item,
  .note-item,
  .boundary-item,
  .scope-item,
  .relation-item,
  .aside-block {
    padding: 18px 16px;
  }

  .note-item,
  .step-item {
    padding-left: 52px;
  }

  .note-item::before,
  .step-item::before {
    left: 16px;
  }

  .footer-nav {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .faq-question {
    padding: 14px 44px 14px 16px;
    font-size: 15px;
  }

  .faq-answer {
    padding: 12px 16px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
