/* ==========================================================================
   天美影院入口 · 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base
   -------------------------------------------------------------------------- */

:root {
  --paper: #F7F4EC;
  --ink: #1F2A26;
  --forest: #2E4A3D;
  --ochre: #B4692F;
  --muted: #6B6F68;
  --rule: #DCD6C8;
  --quote-bg: #EFEAD9;
  --serif: "Songti SC", "SimSun", "Source Han Serif SC", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", "Menlo", "Consolas", monospace;
  --w-page: 1080px;
  --w-read: 720px;
  --gap: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body.site-body {
  margin: 0;
  padding: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

a {
  color: var(--forest);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--ochre);
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  color: var(--forest);
  line-height: 1.35;
}

button {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--ochre);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  padding: 10px 18px;
  background-color: var(--forest);
  color: var(--paper);
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.5;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
  color: var(--paper);
}

/* --------------------------------------------------------------------------
   layout · 全站骨架
   -------------------------------------------------------------------------- */

.site-header {
  border-bottom: 1px solid var(--rule);
  background-color: var(--paper);
}

.header-inner {
  max-width: var(--w-page);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  flex-wrap: wrap;
}

.site-brand {
  flex: 0 0 auto;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--forest);
  letter-spacing: 0.02em;
  padding: 8px 0;
}

.site-brand:hover,
.site-brand:focus-visible {
  color: var(--ochre);
}

.site-nav.primary-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 22px;
}

.nav-item {
  margin: 0;
}

.nav-link {
  display: inline-block;
  padding: 10px 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--ochre);
  border-bottom-color: var(--ochre);
}

.nav-link.is-current {
  color: var(--forest);
  font-weight: 700;
  border-bottom-color: var(--forest);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background-color: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--forest);
}

.site-main {
  display: block;
}

.inner-main {
  max-width: var(--w-page);
  margin: 0 auto;
  padding: 0 32px 72px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 20px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--ochre);
}

.breadcrumb-sep {
  color: var(--rule);
}

.breadcrumb-current {
  color: var(--ink);
}

.page-header {
  padding: 18px 0 20px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 40px;
}

.page-title {
  font-size: 32px;
  line-height: 1.3;
  color: var(--ink);
  font-weight: 700;
}

/* 内页标题区下方导语与信息栏 */

.page-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
}

.page-head-main {
  min-width: 0;
  max-width: var(--w-read);
}

.page-lead {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
  margin: 0;
}

.page-head-aside,
.page-head-meta {
  min-width: 0;
  padding: 16px 18px;
  background-color: var(--quote-bg);
  border-left: 3px solid var(--forest);
  border-radius: 4px;
}

.aside-label {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.aside-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.aside-list li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
}

.meta-list {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.meta-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 8px;
  margin: 0;
}

.meta-list dt {
  font-size: 13px;
  color: var(--muted);
}

.meta-list dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
}

/* 内页通用段落容器 */

.prose {
  max-width: var(--w-read);
}

.prose p {
  font-size: 16px;
  line-height: 1.8;
}

.section-intro {
  max-width: var(--w-read);
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 24px;
}

.site-footer {
  border-top: 1px solid var(--rule);
  background-color: var(--quote-bg);
}

.footer-inner {
  max-width: var(--w-page);
  margin: 0 auto;
  padding: 48px 32px 32px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.footer-col {
  min-width: 0;
}

.footer-heading {
  font-size: 15px;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 12px;
  font-family: var(--sans);
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-list li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.footer-list a {
  color: var(--ink);
}

.footer-list a:hover,
.footer-list a:focus-visible {
  color: var(--ochre);
}

.footer-bottom {
  max-width: var(--w-page);
  margin: 0 auto;
  padding: 20px 32px 40px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: baseline;
}

.footer-brand {
  margin: 0;
  font-family: var(--serif);
  font-size: 15px;
  color: var(--forest);
}

.footer-copy {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   components · 共用组件
   -------------------------------------------------------------------------- */

.section {
  margin-bottom: 56px;
}

.section:last-child {
  margin-bottom: 0;
}

.section-title {
  font-size: 22px;
  line-height: 1.4;
  color: var(--forest);
  margin-bottom: 12px;
}

.section-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  max-width: var(--w-read);
  margin: 0;
}

.section-head {
  margin-bottom: 28px;
}

.section-eyebrow {
  margin: 0 0 6px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ochre);
}

.section-more {
  margin: 20px 0 0;
  font-size: 15px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--forest);
  font-weight: 600;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.text-link::after {
  content: "→";
  font-size: 14px;
  transition: transform 0.2s ease;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--ochre);
  border-bottom-color: var(--ochre);
}

.text-link:hover::after,
.text-link:focus-visible::after {
  transform: translateX(4px);
}

/* 图片容器通用约束 */

.hero-figure,
.channel-figure,
.collection-figure,
.figure-media,
.guide-figure,
.stage-figure,
.feedback-figure {
  overflow: hidden;
  border-radius: 6px;
  background-color: var(--quote-bg);
  border: 1px solid var(--rule);
}

.hero-figure img,
.channel-figure img,
.collection-figure img,
.figure-media img,
.guide-figure img,
.stage-figure img,
.feedback-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-caption,
.channel-caption,
.figure-caption,
.hero-figure figcaption,
.figure-media figcaption,
.guide-figure figcaption,
.stage-figure figcaption,
.feedback-figure figcaption {
  padding: 8px 12px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  border-top: 1px solid var(--rule);
  background-color: var(--paper);
}

/* 折叠问答 */

.faq-details {
  border-bottom: 1px solid var(--rule);
}

.faq-question {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 16px 32px 16px 0;
  position: relative;
  cursor: pointer;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  line-height: 1;
  color: var(--ochre);
}

.faq-details[open] .faq-question::after {
  content: "−";
}

.faq-question:hover,
.faq-question:focus-visible {
  color: var(--ochre);
}

.faq-answer {
  padding: 0 32px 20px 0;
  max-width: var(--w-read);
}

.faq-answer p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 10px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-stage {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ochre);
  padding: 2px 8px;
  border: 1px solid var(--rule);
  border-radius: 3px;
  background-color: var(--quote-bg);
}

/* 数据表格 */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background-color: var(--paper);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.7;
}

.table-caption {
  caption-side: top;
  text-align: left;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid var(--rule);
}

.data-table th,
.data-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--rule);
}

.data-table thead th {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--forest);
  background-color: var(--quote-bg);
}

.data-table tbody th {
  font-weight: 600;
  color: var(--ink);
  width: 26%;
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover {
  background-color: var(--quote-bg);
}

/* 下一步入口 */

.next-step {
  margin-top: 48px;
  padding: 24px 28px;
  border: 1px solid var(--rule);
  border-left: 4px solid var(--ochre);
  border-radius: 6px;
  background-color: var(--quote-bg);
}

.next-step-title,
.next-title,
.next-step-title {
  font-size: 18px;
  color: var(--forest);
  margin-bottom: 8px;
}

.next-step-text,
.next-text,
.next-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
  margin: 0 0 12px;
}

.next-step-links,
.next-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.next-link,
.next-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--forest);
  border-bottom: 1px solid var(--rule);
}

.next-link:hover,
.next-link:focus-visible,
.next-links a:hover,
.next-links a:focus-visible {
  color: var(--ochre);
  border-bottom-color: var(--ochre);
}

.next-bar {
  margin-top: 48px;
  padding: 24px 28px;
  border: 1px solid var(--rule);
  border-left: 4px solid var(--ochre);
  border-radius: 6px;
  background-color: var(--quote-bg);
}

/* --------------------------------------------------------------------------
   pages · 首页
   -------------------------------------------------------------------------- */

.home-main {
  max-width: var(--w-page);
  margin: 0 auto;
  padding: 0 32px 72px;
}

.hero {
  padding: 40px 0 56px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 56px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.hero-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.hero-figure img {
  aspect-ratio: 16 / 10;
  width: 100%;
  height: auto;
}

.hero-side {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-title {
  font-size: 34px;
  line-height: 1.3;
  color: var(--ink);
}

.hero-lead {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
  margin: 0;
}

.channel-index {
  border-top: 1px solid var(--rule);
  padding-top: 12px;
}

.channel-index-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.channel-index-item {
  border-bottom: 1px solid var(--rule);
}

.channel-index-link {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 8px 0;
  font-size: 15px;
  color: var(--ink);
  transition: color 0.2s ease;
}

.channel-index-link:hover,
.channel-index-link:focus-visible {
  color: var(--ochre);
}

.index-num {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ochre);
}

.index-name {
  flex: 1 1 auto;
}

.hero-boundary {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}

/* 六类频道总览 */

.channels-overview {
  margin-bottom: 56px;
}

.channel-block {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding: 28px 0;
  border-top: 1px solid var(--rule);
}

.channel-block:last-of-type {
  border-bottom: 1px solid var(--rule);
}

.channel-media {
  min-width: 0;
  position: relative;
}

.channel-num,
.channel-index {
  display: inline-block;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--ochre);
  margin-bottom: 10px;
}

.channel-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--rule);
  background-color: var(--quote-bg);
}

.channel-body {
  min-width: 0;
}

.channel-name {
  font-size: 20px;
  line-height: 1.4;
  color: var(--forest);
  margin-bottom: 8px;
  transition: color 0.2s ease;
}

.channel-block:hover .channel-name {
  color: var(--ochre);
}

.channel-block:hover .channel-num,
.channel-block:hover .channel-index {
  color: var(--forest);
}

.channel-text,
.channel-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
  margin: 0 0 10px;
}

.channel-exclude {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 12px;
  padding-left: 12px;
  border-left: 2px solid var(--rule);
}

.channel-enter,
.channel-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--forest);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--rule);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.channel-enter::after,
.link-arrow::after {
  content: "→";
  font-size: 14px;
  transition: transform 0.2s ease;
}

.channel-enter:hover,
.channel-enter:focus-visible,
.channel-link:hover,
.channel-link:focus-visible {
  color: var(--ochre);
  border-bottom-color: var(--ochre);
}

.channel-block:hover .channel-enter::after,
.channel-block:hover .link-arrow::after {
  transform: translateX(4px);
}

/* 收录脉络概览 */

.timeline-overview {
  margin-bottom: 56px;
}

.timeline-brief {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--rule);
}

.timeline-brief-item {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 24px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}

.timeline-mark {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--forest);
  letter-spacing: 0.02em;
}

.timeline-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
  margin: 0;
}

/* 专题片单摘要 */

.collections-brief {
  margin-bottom: 56px;
}

.collection-rows {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
}

.collection-row {
  border-bottom: 1px solid var(--rule);
}

.collection-link {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) 140px;
  gap: 24px;
  align-items: baseline;
  padding: 18px 0;
  color: var(--ink);
  transition: color 0.2s ease;
}

.collection-link:hover,
.collection-link:focus-visible {
  color: var(--ochre);
}

.collection-name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--forest);
}

.collection-link:hover .collection-name,
.collection-link:focus-visible .collection-name {
  color: var(--ochre);
}

.collection-basis {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.collection-tag,
.channel-tag {
  display: inline-block;
  justify-self: start;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--forest);
  padding: 2px 8px;
  border: 1px solid var(--rule);
  border-radius: 3px;
  background-color: var(--quote-bg);
  white-space: nowrap;
}

/* 观看准备三步 */

.prep-brief {
  margin-bottom: 56px;
}

.prep-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.prep-col {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--rule);
  border-top: 3px solid var(--forest);
  border-radius: 6px;
  background-color: var(--paper);
}

.prep-name {
  font-size: 17px;
  color: var(--forest);
  margin-bottom: 8px;
}

.prep-text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink);
  margin: 0;
}

/* 分阶段问答摘要 */

.faq-brief {
  margin-bottom: 56px;
}

.faq-group {
  border-top: 1px solid var(--rule);
  max-width: var(--w-read);
}

.faq-item {
  border-bottom: 1px solid var(--rule);
}

/* 纠错反馈入口条 */

.feedback-strip {
  margin-bottom: 8px;
}

.feedback-strip-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px 32px;
  align-items: center;
  padding: 28px 32px;
  border: 1px solid var(--rule);
  border-left: 4px solid var(--ochre);
  border-radius: 6px;
  background-color: var(--quote-bg);
}

.feedback-title {
  font-size: 18px;
  color: var(--forest);
  margin-bottom: 6px;
  grid-column: 1;
}

.feedback-text {
  grid-column: 1;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink);
  margin: 0;
}

.feedback-link {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--paper);
  background-color: var(--forest);
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.feedback-link::after {
  content: "→";
  font-size: 14px;
  transition: transform 0.2s ease;
}

.feedback-link:hover,
.feedback-link:focus-visible {
  color: var(--paper);
  background-color: var(--ochre);
}

.feedback-link:hover::after,
.feedback-link:focus-visible::after {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   pages · 频道目录
   -------------------------------------------------------------------------- */

.section-basis {
  margin-bottom: 56px;
}

.section-inner {
  min-width: 0;
}

.basis-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
  max-width: var(--w-read);
}

.basis-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}

.basis-index {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--ochre);
}

.basis-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
  margin: 0;
}

.section-channels {
  margin-bottom: 56px;
}

.section-channels .channel-block {
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 36px;
  padding: 32px 0;
}

.channel-figure {
  display: flex;
  flex-direction: column;
}

.channel-figure img {
  aspect-ratio: 4 / 3;
  width: 100%;
  height: auto;
}

.channel-caption {
  font-size: 12px;
}

.section-mapping {
  margin-bottom: 8px;
}

.mapping-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.7;
  border-top: 1px solid var(--rule);
}

.mapping-table caption {
  text-align: left;
  padding: 0 0 12px;
  font-size: 13px;
  color: var(--muted);
}

.mapping-table th,
.mapping-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--rule);
}

.mapping-table thead th {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--forest);
  background-color: var(--quote-bg);
}

.mapping-table tbody th {
  font-weight: 600;
  color: var(--ink);
  width: 30%;
}

/* --------------------------------------------------------------------------
   pages · 专题片单
   -------------------------------------------------------------------------- */

.page-container {
  min-width: 0;
}

.page-title-block {
  margin-bottom: 32px;
  max-width: var(--w-read);
}

.section-organize {
  margin-bottom: 56px;
}

.organize-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: var(--w-read);
  margin-top: 16px;
}

.organize-points li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
  padding-left: 16px;
  border-left: 2px solid var(--rule);
}

.organize-points strong {
  color: var(--forest);
  margin-right: 6px;
}

.section-collection-list {
  margin-bottom: 8px;
}

.section-collection-list .collection-row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 0;
}

.section-collection-list .collection-row:last-of-type {
  border-bottom: 1px solid var(--rule);
}

.collection-main {
  min-width: 0;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 6px 20px;
  align-items: start;
}

.collection-figure {
  grid-row: 1 / span 2;
  grid-column: 1;
  display: flex;
  flex-direction: column;
}

.collection-figure img {
  aspect-ratio: 4 / 3;
  width: 100%;
  height: auto;
}

.collection-figure figcaption {
  padding: 6px 10px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  border-top: 1px solid var(--rule);
  background-color: var(--paper);
}

.collection-main .collection-name {
  grid-column: 2;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--forest);
  margin: 0;
}

.collection-topic {
  grid-column: 2;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink);
  margin: 0;
}

.collection-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 20px;
  border-left: 1px solid var(--rule);
}

.collection-meta p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink);
}

.meta-label {
  display: inline-block;
  min-width: 68px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-right: 8px;
}

.collection-channel {
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   pages · 收录脉络
   -------------------------------------------------------------------------- */

.section-timeline-read {
  margin-bottom: 56px;
}

.section-timeline-read .figure-media {
  max-width: var(--w-read);
  margin-top: 20px;
}

.figure-media img {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
}

.section-timeline {
  margin-bottom: 56px;
}

.timeline-list {
  position: relative;
  border-left: 2px solid var(--rule);
  padding-left: 32px;
  margin-left: 8px;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 32px;
  padding: 0 0 32px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.timeline-marker::before {
  content: "";
  position: absolute;
  left: -41px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--ochre);
  border: 2px solid var(--paper);
  box-shadow: 0 0 0 2px var(--rule);
}

.timeline-batch {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--forest);
  line-height: 1.3;
}

.timeline-tag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.timeline-body {
  min-width: 0;
  max-width: var(--w-read);
}

.timeline-body h3 {
  font-size: 18px;
  color: var(--forest);
  margin-bottom: 6px;
}

.timeline-body p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
  margin: 0 0 8px;
}

.timeline-note {
  font-size: 14px;
  color: var(--muted);
  padding-left: 12px;
  border-left: 2px solid var(--rule);
}

.section-adjust {
  margin-bottom: 8px;
}

.adjust-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.adjust-item {
  min-width: 0;
  padding: 18px 20px;
  border: 1px solid var(--rule);
  border-top: 3px solid var(--forest);
  border-radius: 6px;
  background-color: var(--paper);
}

.adjust-item h3 {
  font-size: 16px;
  color: var(--forest);
  margin-bottom: 6px;
}

.adjust-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   pages · 观看准备指南
   -------------------------------------------------------------------------- */

.guide-section {
  margin-bottom: 56px;
}

.guide-section .section-title {
  margin-bottom: 10px;
}

.guide-figure {
  max-width: var(--w-read);
  margin: 0 0 28px;
}

.guide-figure img {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--rule);
  max-width: var(--w-read);
}

.step-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-family: var(--mono);
  font-size: 15px;
  color: var(--paper);
  background-color: var(--forest);
  border-radius: 50%;
}

.step-body {
  min-width: 0;
}

.step-title {
  font-size: 17px;
  color: var(--forest);
  margin-bottom: 6px;
}

.step-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
  margin: 0 0 8px;
}

.step-result {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
  padding-left: 12px;
  border-left: 2px solid var(--ochre);
}

.timing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 8px;
}

.timing-col {
  min-width: 0;
  padding: 20px 22px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background-color: var(--paper);
}

.timing-title {
  font-size: 17px;
  color: var(--forest);
  margin-bottom: 10px;
}

.timing-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.timing-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink);
}

.timing-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--ochre);
}

/* --------------------------------------------------------------------------
   pages · 分阶段问答
   -------------------------------------------------------------------------- */

.page-shell {
  min-width: 0;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}

.page-meta .meta-label {
  min-width: 0;
  margin: 0;
}

.page-meta .meta-value {
  color: var(--ink);
}

.faq-stage {
  padding: 40px 0;
  border-top: 1px solid var(--rule);
}

.faq-stage:first-of-type {
  border-top: 0;
  padding-top: 8px;
}

.stage-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 16px;
  align-items: baseline;
  margin-bottom: 20px;
  max-width: var(--w-read);
}

.stage-index {
  grid-row: 1;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--ochre);
}

.stage-title {
  grid-row: 1;
  font-size: 22px;
  color: var(--forest);
}

.stage-desc {
  grid-column: 1 / -1;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}

.stage-figure {
  max-width: var(--w-read);
  margin-bottom: 24px;
}

.stage-figure img {
  aspect-ratio: 21 / 9;
  width: 100%;
  height: auto;
}

.faq-list {
  max-width: var(--w-read);
  border-top: 1px solid var(--rule);
}

.stage-next {
  margin: 20px 0 0;
  font-size: 15px;
}

.stage-next a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--forest);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
}

.stage-next a::after {
  content: "→";
  font-size: 14px;
}

.stage-next a:hover,
.stage-next a:focus-visible {
  color: var(--ochre);
  border-bottom-color: var(--ochre);
}

.stage-next a + a {
  margin-left: 20px;
}

/* --------------------------------------------------------------------------
   pages · 纠错反馈
   -------------------------------------------------------------------------- */

.feedback-check {
  margin-bottom: 56px;
}

.feedback-figure {
  max-width: var(--w-read);
  margin: 0 0 28px;
}

.feedback-figure img {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: var(--w-read);
}

.check-item {
  min-width: 0;
  padding: 18px 20px;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--forest);
  border-radius: 6px;
  background-color: var(--paper);
}

.check-name {
  font-size: 16px;
  color: var(--forest);
  margin-bottom: 6px;
}

.check-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink);
}

.feedback-elements {
  margin-bottom: 56px;
}

.element-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.element-col {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--rule);
  border-top: 3px solid var(--ochre);
  border-radius: 6px;
  background-color: var(--paper);
}

.element-title {
  font-size: 17px;
  color: var(--forest);
  margin-bottom: 8px;
}

.element-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink);
}

.feedback-flow {
  margin-bottom: 8px;
}

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: var(--w-read);
  border-top: 1px solid var(--rule);
  margin-top: 8px;
}

.flow-step {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}

.flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--forest);
  border: 1px solid var(--forest);
  border-radius: 50%;
}

.flow-body {
  min-width: 0;
}

.flow-title {
  font-size: 16px;
  color: var(--forest);
  margin-bottom: 4px;
}

.flow-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
}

.next-link-item {
  min-width: 0;
}

/* --------------------------------------------------------------------------
   pages · 404
   -------------------------------------------------------------------------- */

.error-main {
  max-width: var(--w-page);
  margin: 0 auto;
  padding: 64px 32px 96px;
}

.error-panel {
  max-width: 640px;
  padding: 40px;
  border: 1px solid var(--rule);
  border-top: 4px solid var(--ochre);
  border-radius: 6px;
  background-color: var(--paper);
}

.error-code {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.16em;
  color: var(--ochre);
}

.error-title {
  font-size: 28px;
  line-height: 1.35;
  color: var(--forest);
  margin-bottom: 12px;
}

.error-lead {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 20px;
}

.error-reasons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  padding-left: 16px;
  border-left: 2px solid var(--rule);
}

.error-reasons li {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-bottom: 20px;
}

.error-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--paper);
  background-color: var(--forest);
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.error-button:hover,
.error-button:focus-visible {
  color: var(--paper);
  background-color: var(--ochre);
}

.error-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--forest);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
}

.error-link:hover,
.error-link:focus-visible {
  color: var(--ochre);
  border-bottom-color: var(--ochre);
}

.error-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.error-note a {
  color: var(--forest);
  border-bottom: 1px solid var(--rule);
}

.error-note a:hover,
.error-note a:focus-visible {
  color: var(--ochre);
}

/* --------------------------------------------------------------------------
   responsive
   -------------------------------------------------------------------------- */

@media (max-width: 960px) {
  .header-inner,
  .footer-inner,
  .footer-bottom,
  .home-main,
  .inner-main,
  .error-main {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 28px;
  }

  .hero-title {
    font-size: 30px;
  }

  .channel-block {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 24px;
  }

  .section-channels .channel-block {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 28px;
  }

  .collection-link {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) 120px;
    gap: 16px;
  }

  .page-head {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 28px;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .adjust-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .element-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline-item {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    min-height: 60px;
    gap: 12px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .site-brand {
    font-size: 18px;
    padding: 4px 0;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav.primary-nav {
    flex: 1 1 100%;
    order: 3;
    justify-content: flex-start;
    display: block;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4px 0 12px;
    border-top: 1px solid var(--rule);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-item {
    border-bottom: 1px solid var(--rule);
  }

  .nav-item:last-child {
    border-bottom: 0;
  }

  .nav-link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 12px 4px;
    font-size: 16px;
    border-bottom: 0;
  }

  .nav-link.is-current {
    border-bottom: 0;
    color: var(--forest);
  }

  .nav-link.is-current::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 16px;
    margin-right: 8px;
    background-color: var(--ochre);
    border-radius: 2px;
  }

  .inner-main {
    padding-bottom: 56px;
  }

  .breadcrumb {
    padding-top: 14px;
    font-size: 12px;
  }

  .page-header {
    padding: 14px 0 16px;
    margin-bottom: 28px;
  }

  .page-title {
    font-size: 24px;
  }

  .page-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin-bottom: 32px;
  }

  .page-head-main {
    max-width: none;
  }

  .page-head-aside,
  .page-head-meta {
    padding: 14px 16px;
  }

  .section,
  .channels-overview,
  .timeline-overview,
  .collections-brief,
  .prep-brief,
  .faq-brief,
  .section-basis,
  .section-channels,
  .section-organize,
  .section-timeline-read,
  .section-timeline,
  .guide-section,
  .feedback-check,
  .feedback-elements {
    margin-bottom: 40px;
  }

  .section-title {
    font-size: 20px;
  }

  .hero {
    padding: 24px 0 36px;
    margin-bottom: 40px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .hero-title {
    font-size: 24px;
  }

  .hero-figure img {
    aspect-ratio: 16 / 11;
  }

  .channel-index-list {
    flex-direction: row;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .channel-index-item {
    flex: 0 0 auto;
    border-bottom: 0;
  }

  .channel-index-link {
    padding: 8px 12px;
    border: 1px solid var(--rule);
    border-radius: 4px;
    background-color: var(--paper);
    white-space: nowrap;
    min-height: 44px;
    align-items: center;
  }

  .channel-block,
  .section-channels .channel-block {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 24px 0;
  }

  .channel-media {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: start;
  }

  .channel-num,
  .channel-index {
    margin-bottom: 0;
    padding-top: 6px;
  }

  .channel-media img {
    aspect-ratio: 16 / 9;
  }

  .channel-name {
    font-size: 18px;
  }

  .timeline-brief-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding: 16px 0;
  }

  .timeline-mark {
    font-size: 18px;
  }

  .collection-link {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding: 16px 0;
  }

  .collection-tag {
    margin-top: 4px;
  }

  .prep-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .prep-col {
    padding: 16px 18px;
  }

  .faq-question {
    padding: 14px 30px 14px 0;
    font-size: 15px;
    gap: 8px;
    flex-wrap: wrap;
  }

  .faq-answer {
    padding: 0 0 16px;
  }

  .feedback-strip-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 20px;
  }

  .feedback-title,
  .feedback-text {
    grid-column: 1;
  }

  .feedback-link {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    min-height: 44px;
  }

  .section-collection-list .collection-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 24px 0;
  }

  .collection-main {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    gap: 8px;
  }

  .collection-figure {
    grid-row: auto;
    grid-column: 1;
  }

  .collection-figure img {
    aspect-ratio: 16 / 9;
  }

  .collection-main .collection-name,
  .collection-topic {
    grid-column: 1;
  }

  .collection-meta {
    padding-left: 0;
    padding-top: 12px;
    border-left: 0;
    border-top: 1px solid var(--rule);
  }

  .meta-label {
    min-width: 0;
    display: block;
    margin: 0 0 2px;
  }

  .basis-item {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
    padding: 14px 0;
  }

  .timeline-list {
    padding-left: 22px;
    margin-left: 6px;
  }

  .timeline-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding-bottom: 28px;
  }

  .timeline-marker::before {
    left: -31px;
    top: 6px;
    width: 10px;
    height: 10px;
  }

  .timeline-batch {
    font-size: 18px;
  }

  .adjust-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .step-item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 14px;
    padding: 16px 0;
  }

  .step-index {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .timing-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .timing-col {
    padding: 16px 18px;
  }

  .table-wrap {
    overflow-x: visible;
    border: 0;
    background-color: transparent;
  }

  .data-table,
  .mapping-table {
    display: block;
    border: 0;
  }

  .data-table .table-caption,
  .mapping-table caption {
    display: block;
    padding: 0 0 10px;
    border: 0;
  }

  .data-table thead,
  .mapping-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .data-table tbody,
  .data-table tr,
  .data-table th,
  .data-table td,
  .mapping-table tbody,
  .mapping-table tr,
  .mapping-table th,
  .mapping-table td {
    display: block;
    width: auto;
  }

  .data-table tbody tr,
  .mapping-table tbody tr {
    margin-bottom: 14px;
    border: 1px solid var(--rule);
    border-radius: 6px;
    background-color: var(--paper);
    overflow: hidden;
  }

  .data-table tbody th,
  .mapping-table tbody th {
    width: auto;
    font-size: 15px;
    color: var(--forest);
    background-color: var(--quote-bg);
    border-bottom: 1px solid var(--rule);
    padding: 10px 14px;
  }

  .data-table tbody td,
  .mapping-table tbody td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--rule);
  }

  .data-table tbody tr:last-child,
  .mapping-table tbody tr:last-child {
    margin-bottom: 0;
  }

  .data-table tbody tr:last-child td:last-child,
  .mapping-table tbody tr:last-child td:last-child {
    border-bottom: 0;
  }

  .faq-stage {
    padding: 28px 0;
  }

  .stage-head {
    gap: 4px 10px;
    margin-bottom: 16px;
  }

  .stage-title {
    font-size: 20px;
  }

  .stage-figure img {
    aspect-ratio: 16 / 9;
  }

  .stage-next a + a {
    margin-left: 0;
    display: flex;
    margin-top: 10px;
  }

  .check-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .element-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .element-col {
    padding: 18px;
  }

  .flow-step {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 14px;
    padding: 16px 0;
  }

  .flow-num {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }

  .next-step,
  .next-bar {
    margin-top: 36px;
    padding: 20px;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    padding-top: 36px;
  }

  .footer-bottom {
    padding-bottom: 32px;
    flex-direction: column;
    gap: 4px;
  }

  .error-main {
    padding-top: 40px;
    padding-bottom: 64px;
  }

  .error-panel {
    padding: 24px 20px;
  }

  .error-title {
    font-size: 22px;
  }
}

@media (max-width: 390px) {
  .header-inner,
  .footer-inner,
  .footer-bottom,
  .home-main,
  .inner-main,
  .error-main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-title {
    font-size: 22px;
  }

  .page-title {
    font-size: 22px;
  }

  .section-title {
    font-size: 19px;
  }

  .channel-index-link {
    padding: 8px 10px;
    font-size: 14px;
  }

  .feedback-link {
    width: 100%;
    justify-content: center;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .error-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .error-button {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
