/* ==========================================================================
   香蕉视频 · 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base：变量、重置、排版基线
   -------------------------------------------------------------------------- */

:root {
  --paper: #f6f3ec;
  --ink: #1d1a16;
  --ink-strong: #12100e;
  --ink-soft: #6f675d;
  --ochre: #8f6a3c;
  --line: #d9d3c7;
  --surface: #fbf9f4;
  --surface-alt: #efece4;
  --serif: "Noto Serif SC", "Songti SC", SimSun, serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --container: 1120px;
  --reading: 720px;
  --gap: 28px;
  --radius: 6px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  line-height: 1.3;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

a:hover {
  color: var(--ochre);
  border-bottom-color: var(--ochre);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--ochre);
  outline-offset: 3px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 60;
  padding: 10px 16px;
  background: var(--ink-strong);
  color: var(--paper);
  border-radius: var(--radius);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
  color: var(--paper);
  border-bottom-color: transparent;
}

/* 暗色主题：跟随系统，手动切换以 data-theme 覆盖 */
:root[data-theme="dark"] {
  --paper: #12100e;
  --ink: #efece4;
  --ink-strong: #f6f3ec;
  --ink-soft: #a49b8d;
  --ochre: #c79a63;
  --line: #332e27;
  --surface: #191612;
  --surface-alt: #1f1b16;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #12100e;
    --ink: #efece4;
    --ink-strong: #f6f3ec;
    --ink-soft: #a49b8d;
    --ochre: #c79a63;
    --line: #332e27;
    --surface: #191612;
    --surface-alt: #1f1b16;
  }
}

/* --------------------------------------------------------------------------
   layout：页头、导航、主容器、页脚骨架
   -------------------------------------------------------------------------- */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 24px 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.brand-block {
  min-width: 0;
}

.brand-name {
  display: inline-block;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}

.brand-slogan {
  margin-top: 6px;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  transition: border-color 0.18s ease, color 0.18s ease;
}

.theme-toggle:hover {
  border-color: var(--ochre);
  color: var(--ochre);
}

.theme-toggle-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.menu-toggle-bar {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--ink);
}

.site-nav {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  border-top: 1px solid var(--line);
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 26px;
}

.nav-list > li {
  display: flex;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  font-size: 15px;
  color: var(--ink-soft);
  border-bottom: 2px solid transparent;
}

.nav-link:hover {
  color: var(--ochre);
  border-bottom-color: var(--ochre);
}

.nav-link.is-current {
  color: var(--ink);
  border-bottom-color: var(--ochre);
}

.site-main {
  display: block;
}

.inner-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 26px 24px 72px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  margin-bottom: 22px;
}

.breadcrumb a {
  color: var(--ink-soft);
}

.breadcrumb-sep {
  color: var(--line);
}

.breadcrumb-current {
  color: var(--ink);
}

.page-header {
  margin-bottom: 22px;
}

.page-title {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
  max-width: 22em;
}

.page-head,
.page-title-block,
.page-intro,
.page-title,
.page-hero-inner {
  max-width: var(--reading);
}

.page-lead {
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
}

.page-meta,
.meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

.meta-sep {
  color: var(--line);
}

.meta-archive {
  color: var(--ochre);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 24px 32px;
}

.footer-brand {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.footer-brand-name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}

.footer-slogan {
  margin-top: 6px;
  font-size: 14px;
  color: var(--ink-soft);
}

.footer-note {
  margin-top: 20px;
  max-width: 640px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.footer-nav {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 40px;
  max-width: 640px;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-nav-col a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  color: var(--ink-soft);
}

.footer-nav-col a:hover {
  color: var(--ochre);
}

.footer-feedback {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  max-width: 720px;
}

.footer-feedback-title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

.footer-feedback p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.footer-feedback a {
  color: var(--ink);
  border-bottom-color: var(--line);
}

.footer-feedback a:hover {
  color: var(--ochre);
  border-bottom-color: var(--ochre);
}

.footer-copy {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   components：通用区块、按钮、卡片、时间轴、折叠、表格
   -------------------------------------------------------------------------- */

.section {
  padding: 56px 0;
  border-top: 1px solid var(--line);
}

.section:first-child {
  border-top: 0;
}

.section-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 26px;
}

.section-head .section-title {
  margin-bottom: 0;
}

.section-more {
  font-size: 14px;
  color: var(--ochre);
  border-bottom-color: var(--ochre);
  white-space: nowrap;
}

.section-intro,
.section-lead {
  margin-top: 12px;
  max-width: var(--reading);
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.section-intro a,
.section-lead a {
  color: var(--ink);
  border-bottom-color: var(--line);
}

.section-intro a:hover,
.section-lead a:hover {
  color: var(--ochre);
  border-bottom-color: var(--ochre);
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--radius);
  font-size: 15px;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--ink-strong);
  color: var(--paper);
  border: 1px solid var(--ink-strong);
}

.btn-primary:hover {
  background: var(--ochre);
  border-color: var(--ochre);
  color: #fff;
}

.btn-ghost {
  border: 1px solid var(--ink);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ochre);
  color: var(--ochre);
}

/* 图片容器统一约束 */
.hero-media img,
.channel-card-media img,
.collection-card-media img,
.channel-figure img,
.collection-cover img,
.guide-figure img,
.page-media img,
.media-figure img,
.page-figure img,
.editorial-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 卡片：频道卡 */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}

.channel-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.channel-card:hover {
  border-color: var(--ochre);
  transform: translateY(-2px);
}

.channel-card-link {
  display: block;
  padding: 0 0 18px;
  border-bottom: 0;
  color: var(--ink);
}

.channel-card-link:hover {
  color: var(--ink);
  border-bottom-color: transparent;
}

.channel-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-alt);
}

.channel-card-link:hover .channel-card-media img {
  transform: scale(1.02);
}

.channel-card-media img {
  transition: transform 0.35s ease;
}

.channel-card-title {
  margin: 16px 18px 0;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
}

.channel-card-desc {
  margin: 8px 18px 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.channel-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 18px 0;
}

.channel-card-tags li {
  padding: 2px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

/* 卡片：专题卡 */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}

.collection-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.collection-card:hover {
  border-color: var(--ochre);
  transform: translateY(-2px);
}

.collection-card-link {
  display: block;
  padding-bottom: 16px;
  color: var(--ink);
}

.collection-card-link:hover {
  color: var(--ink);
  border-bottom-color: transparent;
}

.collection-card-media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--surface-alt);
}

.collection-card-media img {
  transition: transform 0.35s ease;
}

.collection-card-link:hover .collection-card-media img {
  transform: scale(1.02);
}

.collection-card-title {
  margin: 16px 18px 0;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
}

.collection-card-desc {
  margin: 8px 18px 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.collection-card-count {
  margin: 14px 18px 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ochre);
}

/* 时间轴（首页） */
.timeline-list {
  display: grid;
  gap: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.timeline-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.timeline-year {
  font-family: var(--serif);
  font-size: 56px;
  line-height: 1;
  color: var(--ochre);
}

.timeline-body {
  min-width: 0;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.timeline-summary {
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
}

.timeline-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  color: var(--ochre);
  border-bottom-color: var(--ochre);
}

/* 步骤条（首页） */
.step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}

.step-item {
  min-width: 0;
  padding: 20px 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.step-item .step-number {
  display: block;
  font-family: var(--serif);
  font-size: 56px;
  line-height: 1;
  color: var(--ochre);
}

.step-item .step-title {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
}

.step-item p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.path-more,
.check-more {
  margin-top: 22px;
  font-size: 14px;
}

.path-more a,
.check-more a {
  color: var(--ochre);
  border-bottom-color: var(--ochre);
}

/* 核验清单（首页） */
.check-items {
  display: grid;
  gap: 0;
}

.check-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.check-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.check-item .check-index {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.4;
  color: var(--ochre);
}

.check-item .check-text {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink);
}

/* 问答折叠 */
.faq-list {
  display: grid;
  gap: 0;
}

.faq-item {
  border-top: 1px solid var(--line);
  padding: 4px 0;
}

.faq-item:first-child {
  border-top: 0;
}

.faq-item summary {
  position: relative;
  padding: 14px 34px 14px 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -6px;
  border-right: 1px solid var(--ochre);
  border-bottom: 1px solid var(--ochre);
  transform: rotate(45deg);
}

.faq-item[open] summary::after {
  margin-top: -2px;
  transform: rotate(-135deg);
}

.faq-item summary:hover {
  color: var(--ochre);
}

.faq-item > p {
  padding: 0 34px 16px 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
}

/* 延伸阅读三列 */
.further-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}

.further-col {
  min-width: 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.further-col h3 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
}

.further-col h3 a {
  color: var(--ink);
  border-bottom-color: var(--line);
}

.further-col h3 a:hover {
  color: var(--ochre);
  border-bottom-color: var(--ochre);
}

.further-col p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* 相关链接列表（内页通用） */
.related-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.related-item {
  min-width: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.related-item a {
  font-size: 16px;
  color: var(--ink);
  border-bottom-color: var(--line);
}

.related-item a:hover {
  color: var(--ochre);
  border-bottom-color: var(--ochre);
}

.related-desc {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* 表格（入口核验） */
.exception-table {
  width: 100%;
  margin-top: 22px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.75;
  text-align: left;
}

.exception-table th,
.exception-table td {
  padding: 14px 16px;
  border: 1px solid var(--line);
  vertical-align: top;
}

.exception-table thead th {
  background: var(--surface-alt);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.exception-table tbody th {
  font-weight: 600;
  color: var(--ink);
  background: var(--surface);
  white-space: normal;
  width: 22%;
}

.exception-table td {
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   pages：首页
   -------------------------------------------------------------------------- */

.home-main {
  display: block;
}

/* 影像首屏 */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: var(--container);
  margin: 0 auto;
  padding: 26px 24px 0;
}

.hero-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 21 / 9;
  background: var(--surface-alt);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  max-width: 640px;
  padding: 28px 0 0;
}

#hero-title {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}

.hero-lead {
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* 频道标签条 */
.channel-tags {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: thin;
}

.channel-tag {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  white-space: nowrap;
}

.channel-tag:hover {
  border-color: var(--ochre);
  color: var(--ochre);
}

/* 站点导读 */
.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 26px;
}

.intro-col {
  min-width: 0;
  padding: 0 26px;
  border-left: 1px solid var(--line);
}

.intro-col:first-child {
  padding-left: 0;
  border-left: 0;
}

.intro-col:last-child {
  padding-right: 0;
}

.intro-col h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
}

.intro-col p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   pages：频道导览
   -------------------------------------------------------------------------- */

.section-basis .basis-body {
  max-width: var(--reading);
  margin-top: 16px;
}

.basis-body p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
}

.basis-body p + p {
  margin-top: 14px;
}

.basis-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.basis-point {
  min-width: 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.channel-section {
  padding: 40px 0;
}

.channel-layout {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.channel-figure {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-alt);
}

.channel-text {
  min-width: 0;
}

.channel-name {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
}

.channel-scope,
.channel-organize {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink);
}

.channel-organize {
  color: var(--ink-soft);
}

.channel-list {
  margin-top: 18px;
  display: grid;
  gap: 0;
}

.channel-list-item {
  padding: 10px 0 10px 16px;
  border-top: 1px solid var(--line);
  position: relative;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.channel-list-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  width: 6px;
  height: 1px;
  background: var(--ochre);
}

.cross-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  margin-top: 24px;
}

.cross-step {
  min-width: 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.cross-step .step-index {
  display: block;
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
  color: var(--ochre);
}

.cross-step .step-title {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

.cross-step p {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   pages：专题片单（主列 + 右侧 aside）
   -------------------------------------------------------------------------- */

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: start;
  margin-top: 8px;
}

.layout-main-aside {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: start;
  margin-top: 8px;
}

.content-main {
  min-width: 0;
}

.content-aside {
  min-width: 0;
  position: sticky;
  top: 24px;
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.collection-block {
  padding: 36px 0;
  border-top: 1px solid var(--line);
}

.collection-block:first-of-type {
  border-top: 0;
  padding-top: 8px;
}

.collection-head {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.collection-cover {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-alt);
}

.collection-intro {
  min-width: 0;
}

.collection-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

.collection-note {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink);
}

.collection-source {
  margin-top: 10px;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

.collection-list {
  margin-top: 24px;
  display: grid;
  gap: 0;
  counter-reset: none;
}

.collection-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 6px 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

.collection-item .item-index {
  grid-row: 1 / span 2;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.4;
  color: var(--ochre);
}

.collection-item .item-title {
  margin: 0;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

.collection-item .item-desc {
  grid-column: 2;
  min-width: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.aside-block {
  padding: 0 0 28px;
}

.aside-block + .aside-block {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.aside-title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

.criteria-list {
  margin-top: 14px;
  display: grid;
  gap: 16px;
}

.criteria-item {
  min-width: 0;
}

.criteria-name {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.criteria-desc {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.aside-link-list {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.aside-link-item {
  min-width: 0;
}

.aside-link-item a {
  font-size: 14px;
  color: var(--ink);
  border-bottom-color: var(--line);
}

.aside-link-item a:hover {
  color: var(--ochre);
  border-bottom-color: var(--ochre);
}

.aside-link-desc {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   pages：观看指南
   -------------------------------------------------------------------------- */

.guide-figure {
  max-width: var(--reading);
  margin: 24px 0 8px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-alt);
}

.guide-figure img {
  aspect-ratio: 16 / 9;
}

.guide-figure figcaption {
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.guide-section {
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.guide-section h2 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
}

.path-steps {
  display: grid;
  gap: 0;
  margin-top: 20px;
  max-width: var(--reading);
}

.path-steps .path-step {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 4px 18px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

.path-steps .path-step:first-child {
  border-top: 0;
  padding-top: 0;
}

.path-steps .path-step-num {
  grid-row: 1 / span 3;
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
  color: var(--ochre);
}

.path-steps .path-step h3 {
  grid-column: 2;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
}

.path-steps .path-step p {
  grid-column: 2;
  min-width: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.path-steps .path-step p + p {
  margin-top: 4px;
}

.path-steps .path-step a {
  color: var(--ink);
  border-bottom-color: var(--line);
}

.path-steps .path-step a:hover {
  color: var(--ochre);
  border-bottom-color: var(--ochre);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 32px;
  margin-top: 22px;
  max-width: var(--reading);
}

.feature-item {
  min-width: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.feature-item h3 {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

.feature-item p {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink);
}

.feature-item .feature-note {
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.check-steps {
  display: grid;
  gap: 0;
  margin-top: 20px;
  max-width: var(--reading);
}

.check-step {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.check-step:first-child {
  border-top: 0;
  padding-top: 0;
}

.check-step h3 {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

.check-step p {
  margin-top: 6px;
  min-width: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.further-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.further-item {
  min-width: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.further-item a {
  font-size: 16px;
  color: var(--ink);
  border-bottom-color: var(--line);
}

.further-item a:hover {
  color: var(--ochre);
  border-bottom-color: var(--ochre);
}

.further-item p {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   pages：入口核验
   -------------------------------------------------------------------------- */

.page-intro,
.page-media {
  max-width: var(--reading);
}

.page-media {
  margin-top: 22px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-alt);
}

.page-media img {
  aspect-ratio: 16 / 9;
}

.page-media figcaption {
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.check-section,
.exception-section,
.feedback-section,
.related-section,
.section-related {
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.check-section h2,
.exception-section h2,
.feedback-section h2,
.related-section h2,
.section-related h2 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
}

.check-section .check-list {
  margin-top: 20px;
  display: grid;
  gap: 0;
  max-width: var(--reading);
}

.check-section .check-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

.check-section .check-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.check-section .check-index {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.4;
  color: var(--ochre);
}

.check-body {
  min-width: 0;
}

.check-title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

.check-body p {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.exception-section .exception-table {
  max-width: 100%;
}

.feedback-section {
  max-width: var(--reading);
}

.feedback-section p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink);
}

.feedback-section p + p {
  color: var(--ink-soft);
}

.feedback-section a {
  color: var(--ink);
  border-bottom-color: var(--line);
}

.feedback-section a:hover {
  color: var(--ochre);
  border-bottom-color: var(--ochre);
}

/* --------------------------------------------------------------------------
   pages：更新归档
   -------------------------------------------------------------------------- */

.page-hero {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
  margin-top: 4px;
}

.page-hero-inner {
  max-width: var(--reading);
}

.page-layout > .page-main {
  min-width: 0;
}

.page-aside {
  min-width: 0;
  position: sticky;
  top: 24px;
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.archive-block {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.archive-block:first-child {
  border-top: 0;
  padding-top: 0;
}

.archive-block-head {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 8px 24px;
  align-items: baseline;
}

.archive-year {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.1;
  color: var(--ochre);
}

.archive-year-sep {
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--ochre);
}

.archive-summary {
  min-width: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink);
}

.archive-record-list {
  display: grid;
  gap: 0;
  margin-top: 18px;
  padding-left: 174px;
}

.archive-record {
  min-width: 0;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.archive-record-title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

.archive-record-desc {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.archive-record-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 14px;
  color: var(--ochre);
  border-bottom-color: var(--ochre);
}

.anchor-list {
  margin-top: 14px;
  display: grid;
  gap: 4px;
}

.anchor-list li {
  min-width: 0;
}

.anchor-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  color: var(--ink-soft);
  border-bottom-color: transparent;
}

.anchor-link:hover {
  color: var(--ochre);
}

.rule-list {
  margin-top: 14px;
  display: grid;
  gap: 14px;
}

.rule-item {
  min-width: 0;
}

.rule-item-title {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.rule-item p {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.archive-media {
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.section-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.media-figure {
  margin-top: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-alt);
}

.media-figure img {
  aspect-ratio: 21 / 9;
}

.media-caption {
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--surface);
  border-top: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   pages：常见问题
   -------------------------------------------------------------------------- */

.page-figure {
  max-width: var(--reading);
  margin-top: 22px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-alt);
}

.page-figure img {
  aspect-ratio: 16 / 9;
}

.page-figure figcaption {
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.faq-body {
  max-width: var(--reading);
  margin-top: 8px;
}

.faq-group {
  padding: 36px 0;
  border-top: 1px solid var(--line);
}

.faq-group h2 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
}

.faq-group-intro {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.faq-group .faq-item {
  border-top: 1px solid var(--line);
  padding: 2px 0;
}

.faq-group .faq-item:first-of-type {
  margin-top: 16px;
}

.faq-group .faq-item summary {
  padding: 14px 34px 14px 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
}

.faq-answer {
  padding: 0 34px 16px 0;
}

.faq-answer p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.faq-answer p + p {
  margin-top: 8px;
}

.related-links {
  padding: 36px 0 0;
  border-top: 1px solid var(--line);
}

.related-links h2 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   pages：编辑说明
   -------------------------------------------------------------------------- */

.editorial-hero {
  max-width: var(--reading);
  margin-top: 22px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-alt);
}

.editorial-hero img {
  aspect-ratio: 21 / 9;
}

.editorial-hero figcaption {
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.editorial-body {
  max-width: var(--reading);
  margin-top: 8px;
}

.editorial-section {
  padding: 36px 0;
  border-top: 1px solid var(--line);
}

.editorial-section h2 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
}

.editorial-section p {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
}

.editorial-section p + p {
  color: var(--ink-soft);
}

.editorial-list {
  margin-top: 16px;
  display: grid;
  gap: 0;
}

.editorial-list li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.editorial-list strong {
  color: var(--ink);
  font-weight: 600;
}

.editorial-steps {
  margin-top: 16px;
  display: grid;
  gap: 0;
}

.editorial-steps li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.editorial-steps strong {
  color: var(--ink);
  font-weight: 600;
}

.editorial-boundary {
  margin: 36px 0 0;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.editorial-boundary h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
}

.editorial-boundary > p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.boundary-list {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.boundary-list li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
}

.boundary-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 8px;
  height: 1px;
  background: var(--ochre);
}

/* --------------------------------------------------------------------------
   pages：404
   -------------------------------------------------------------------------- */

.error-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.error-inner {
  max-width: 640px;
}

.error-code {
  font-family: var(--serif);
  font-size: 56px;
  line-height: 1;
  color: var(--ochre);
}

.error-title {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.error-lead {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.error-list {
  margin-top: 24px;
  display: grid;
  gap: 0;
}

.error-list li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.error-list a {
  font-size: 16px;
  color: var(--ink);
  border-bottom-color: var(--line);
}

.error-list a:hover {
  color: var(--ochre);
  border-bottom-color: var(--ochre);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.error-home-link,
.error-guide-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--radius);
  font-size: 15px;
  letter-spacing: 0.02em;
}

.error-home-link {
  background: var(--ink-strong);
  color: var(--paper);
  border: 1px solid var(--ink-strong);
}

.error-home-link:hover {
  background: var(--ochre);
  border-color: var(--ochre);
  color: #fff;
}

.error-guide-link {
  border: 1px solid var(--ink);
  color: var(--ink);
}

.error-guide-link:hover {
  border-color: var(--ochre);
  color: var(--ochre);
}

/* --------------------------------------------------------------------------
   responsive：768px / 480px 断点
   -------------------------------------------------------------------------- */

@media (max-width: 960px) {
  .page-layout,
  .layout-main-aside {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 36px;
  }

  .channel-layout {
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    gap: 28px;
  }

  .archive-block-head {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .archive-record-list {
    padding-left: 144px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 16px 18px 12px;
    align-items: center;
  }

  .brand-name {
    font-size: 21px;
  }

  .brand-slogan {
    font-size: 12px;
  }

  .theme-toggle-text {
    display: none;
  }

  .theme-toggle {
    width: 44px;
    justify-content: center;
    padding: 0;
  }

  .menu-toggle {
    display: flex;
  }

  .site-nav {
    padding: 0 18px;
    border-top: 1px solid var(--line);
  }

  .nav-list {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 6px 0 12px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list > li {
    display: block;
  }

  .nav-link {
    display: flex;
    width: 100%;
    min-height: 48px;
    border-bottom: 1px solid var(--line);
  }

  .nav-link.is-current {
    color: var(--ochre);
    border-bottom-color: var(--line);
  }

  .inner-main {
    padding: 20px 18px 56px;
  }

  .page-title {
    font-size: 30px;
  }

  #hero-title {
    font-size: 30px;
  }

  .hero {
    padding: 18px 18px 0;
  }

  .hero-media {
    aspect-ratio: 16 / 10;
  }

  .hero-content {
    padding-top: 22px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 22px;
  }

  .intro-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .intro-col {
    padding: 18px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .intro-col:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .intro-col:last-child {
    padding-bottom: 0;
  }

  .channel-grid,
  .collection-grid,
  .step-list,
  .further-grid,
  .related-list,
  .basis-points,
  .cross-steps,
  .further-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .timeline-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .timeline-year {
    font-size: 40px;
  }

  .timeline-body {
    padding-left: 0;
    border-left: 0;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }

  .step-item .step-number {
    font-size: 40px;
  }

  .check-item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
  }

  .check-item .check-index {
    font-size: 18px;
  }

  .footer-inner {
    padding: 36px 18px 26px;
  }

  .footer-nav {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  /* 内页布局：全部单列，主内容在 aside 之前 */
  .page-layout,
  .layout-main-aside {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .content-aside,
  .page-aside {
    position: static;
    padding-left: 0;
    border-left: 0;
    padding-top: 24px;
    border-top: 1px solid var(--line);
  }

  .channel-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .channel-figure {
    aspect-ratio: 16 / 10;
  }

  .channel-name {
    font-size: 22px;
  }

  .collection-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .collection-cover {
    aspect-ratio: 16 / 10;
  }

  .collection-title {
    font-size: 21px;
  }

  .collection-item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 4px 12px;
  }

  .collection-item .item-index {
    font-size: 18px;
  }

  .feature-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .path-steps .path-step {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 4px 14px;
  }

  .path-steps .path-step-num {
    font-size: 30px;
  }

  .check-section .check-item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
  }

  .check-section .check-index {
    font-size: 18px;
  }

  .archive-block-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .archive-year {
    font-size: 28px;
  }

  .archive-record-list {
    padding-left: 0;
  }

  .error-main {
    padding: 44px 18px 64px;
  }

  .error-title {
    font-size: 26px;
  }

  .error-code {
    font-size: 40px;
  }

  .editorial-boundary {
    padding: 20px 18px;
  }

  .faq-group h2,
  .related-links h2,
  .editorial-section h2,
  .check-section h2,
  .exception-section h2,
  .feedback-section h2,
  .related-section h2,
  .section-related h2,
  .guide-section h2 {
    font-size: 22px;
  }

  .exception-table,
  .exception-table thead,
  .exception-table tbody,
  .exception-table tr,
  .exception-table th,
  .exception-table td {
    display: block;
    width: 100%;
  }

  .exception-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .exception-table tbody tr {
    margin-top: 16px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
  }

  .exception-table tbody tr:first-child {
    margin-top: 0;
  }

  .exception-table tbody th,
  .exception-table tbody td {
    border: 0;
    padding: 4px 0;
    background: transparent;
  }

  .exception-table tbody th {
    font-family: var(--serif);
    font-size: 16px;
    color: var(--ink);
  }

  .exception-table tbody td {
    font-size: 14px;
    color: var(--ink-soft);
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 19px;
  }

  .brand-slogan {
    font-size: 11px;
  }

  .page-title,
  #hero-title {
    font-size: 27px;
  }

  .hero-actions {
    gap: 10px;
  }

  .btn-primary,
  .btn-ghost {
    flex: 1 1 100%;
  }

  .channel-tags {
    gap: 8px;
  }

  .channel-tag {
    padding: 0 13px;
    font-size: 13px;
  }

  .timeline-year {
    font-size: 34px;
  }

  .step-item .step-number,
  .cross-step .step-index {
    font-size: 34px;
  }

  .path-steps .path-step-num {
    font-size: 26px;
  }

  .archive-year {
    font-size: 24px;
  }

  .collection-item,
  .check-item {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .error-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .error-home-link,
  .error-guide-link {
    width: 100%;
  }

  .footer-nav-col a {
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
