/* ==========================================================================
   天美影业 · 站点样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. base — 变量、重置、排版
   -------------------------------------------------------------------------- */

:root {
  --ink: #17324D;
  --ink-soft: #1F2933;
  --malt: #FFC94A;
  --coral: #FF6B5A;
  --teal: #2BB3A3;
  --cream: #FFF7E8;
  --white: #FFFFFF;
  --line: #DDE4EC;
  --line-strong: #C4D0DD;
  --muted: #5A6B7B;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 2px rgba(23, 50, 77, 0.08);
  --shadow-md: 0 4px 14px rgba(23, 50, 77, 0.10);
  --shadow-lg: 0 10px 26px rgba(23, 50, 77, 0.14);
  --container: 1180px;
  --gutter: 24px;
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Heiti SC", sans-serif;
  --font-mono: "SFMono-Regular", "Consolas", "Menlo", "Courier New", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body.site-body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  line-height: 1.35;
  font-weight: 700;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

dl,
dd,
dt,
figure,
figcaption {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--ink);
  text-decoration: none;
}

a:hover {
  color: var(--teal);
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

/* 跳到正文 */
.skip-link {
  position: absolute;
  top: -60px;
  left: 12px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
}

.skip-link:focus {
  top: 10px;
  color: var(--white);
}

/* --------------------------------------------------------------------------
   2. layout — 页头、主容器、内页外壳、页脚
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px var(--gutter);
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  display: inline-block;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  background: var(--ink);
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform: translate(-40%, -50%);
  border-left: 11px solid var(--malt);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.site-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-link {
  display: inline-block;
  padding: 9px 13px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.nav-link:hover {
  background: var(--cream);
  color: var(--ink);
}

.nav-link.is-current {
  background: var(--malt);
  color: var(--ink);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
}

.menu-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
}

.mobile-menu {
  border-top: 1px solid var(--line);
  background: var(--white);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-nav-list {
  max-width: var(--container);
  margin: 0 auto;
  padding: 8px var(--gutter) 16px;
}

.mobile-nav-list li + li {
  border-top: 1px solid var(--line);
}

.mobile-nav-list a {
  display: block;
  padding: 13px 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.mobile-nav-list a:hover {
  color: var(--teal);
}

/* 主内容容器 */
.site-main {
  display: block;
}

.home-main,
.inner-main,
.error-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter) 64px;
}

.inner-main {
  padding-top: 20px;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  padding: 4px 0 14px;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: var(--teal);
  text-underline-offset: 3px;
}

.breadcrumb a:hover {
  color: var(--ink);
}

.breadcrumb-sep {
  color: var(--line-strong);
}

.breadcrumb-current {
  color: var(--ink);
  font-weight: 600;
}

/* 内页标题区 */
.page-header {
  padding: 4px 0 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}

.page-title {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 700;
  color: var(--ink);
}

.page-hero {
  padding: 0 0 26px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: var(--malt);
  border-radius: var(--radius-sm);
}

.page-lead {
  max-width: 780px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.page-head {
  padding: 4px 0 20px;
}

.page-title-block {
  max-width: 820px;
}

/* 通用分节 */
.section,
.section-block {
  padding: 40px 0 0;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-head {
  margin-bottom: 22px;
}

.section-title {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.section-sub,
.section-desc,
.section-lead {
  max-width: 760px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

/* 页脚 */
.site-footer {
  background: var(--ink);
  color: #E4EAF1;
  margin-top: 48px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px var(--gutter) 36px;
}

.footer-col {
  min-width: 0;
}

.footer-brand {
  font-size: 19px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-text {
  font-size: 14px;
  line-height: 1.8;
  color: #B9C6D4;
}

.footer-text + .footer-text {
  margin-top: 10px;
}

.footer-heading {
  font-size: 14px;
  font-weight: 700;
  color: var(--malt);
  margin-bottom: 14px;
}

.footer-links li + li {
  margin-top: 2px;
}

.footer-links a {
  display: inline-block;
  padding: 5px 0;
  font-size: 14px;
  color: #D3DDE7;
  border-bottom: 1px solid transparent;
}

.footer-links a:hover {
  color: var(--white);
  border-bottom-color: var(--teal);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px var(--gutter) 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-note {
  font-size: 13px;
  line-height: 1.7;
  color: #9FB0C1;
  max-width: 720px;
}

.back-top {
  display: inline-block;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: var(--malt);
  border-radius: var(--radius-md);
  white-space: nowrap;
}

.back-top:hover {
  color: var(--ink);
  background: #FFD873;
}

/* --------------------------------------------------------------------------
   3. components — 按钮、标签、卡片、流程、列表、FAQ
   -------------------------------------------------------------------------- */

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  border: 1px solid transparent;
  transition: background-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: #22456A;
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  background: var(--cream);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.btn-secondary {
  background: var(--malt);
  color: var(--ink);
}

.btn-secondary:hover {
  background: #FFD873;
  color: var(--ink);
  box-shadow: var(--shadow-md);
}

/* 标签 */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
}

/* 图片容器 */
.hero-media,
.channel-media,
.overview-media,
.preview-card img,
.video-card img,
.guide-figure,
.collab-figure,
.aside-figure {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #E7EDF3;
}

.hero-media img,
.channel-media img,
.overview-media img,
.preview-card img,
.video-card img,
.guide-figure img,
.collab-figure img,
.aside-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 步骤流程（通用） */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.flow-step {
  position: relative;
  padding: 20px 20px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.flow-num {
  display: inline-block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
}

.flow-step h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.flow-step p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

/* 相关链接 */
.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.related-links a,
.related-link {
  display: inline-block;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.related-links a:hover,
.related-link:hover {
  background: var(--cream);
  border-color: var(--teal);
  color: var(--ink);
}

/* 链接样式 */
.link-inline {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--teal);
  text-underline-offset: 3px;
}

.link-inline:hover {
  color: var(--teal);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.link-arrow::after {
  content: "\2192";
  color: var(--teal);
}

.link-arrow:hover {
  color: var(--teal);
}

/* 手风琴 */
.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.faq-question {
  position: relative;
  display: block;
  padding: 16px 44px 16px 18px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 400;
  color: var(--teal);
  line-height: 1;
}

.faq-item[open] .faq-question::after {
  content: "\2212";
}

.faq-question:hover {
  background: var(--cream);
}

.faq-answer {
  padding: 0 18px 18px;
}

.faq-answer p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   4. pages — 首页
   -------------------------------------------------------------------------- */

/* 首屏工具面 */
.hero {
  padding: 34px 0 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr);
  gap: 28px;
  align-items: start;
}

.hero-lead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.hero-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 22px;
  box-shadow: var(--shadow-md);
}

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: var(--malt);
  border-radius: var(--radius-sm);
}

.hero-title {
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

.hero-desc {
  max-width: 640px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* 右侧工具面板 */
.hero-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.panel-block {
  min-width: 0;
}

.panel-block + .panel-block {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.panel-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.pick-list li + li {
  margin-top: 10px;
}

.pick-item {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "title link"
    "meta link";
  gap: 2px 10px;
  padding: 8px 10px;
  border-radius: var(--radius-md);
  transition: background-color 0.18s ease;
}

.pick-item:hover {
  background: var(--cream);
}

.pick-body {
  display: contents;
}

.pick-item .pick-body {
  display: contents;
}

.pick-item .pick-link {
  grid-area: link;
  align-self: center;
}

.pick-item h3,
.pick-item .pick-title {
  grid-area: title;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.pick-meta {
  grid-area: meta;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

.pick-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  white-space: nowrap;
}

.update-list li + li {
  margin-top: 8px;
}

.update-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
  line-height: 1.6;
}

.update-type {
  flex-shrink: 0;
  padding: 1px 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.update-link {
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line-strong);
}

.update-link:hover {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

/* 核心事实条 */
.fact-bar {
  margin-top: 34px;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.fact-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.fact-item {
  min-width: 0;
  padding-left: 14px;
  border-left: 3px solid var(--malt);
}

.fact-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.fact-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

/* 频道栏与内容流 */
.page-layout.sidebar-left {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.channel-rail {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.rail-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.rail-list li + li {
  margin-top: 2px;
}

.rail-link {
  display: block;
  padding: 9px 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  border-radius: var(--radius-md);
  transition: background-color 0.18s ease, color 0.18s ease;
}

.rail-link:hover {
  background: var(--cream);
  color: var(--ink);
}

.rail-more {
  display: block;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
}

.rail-more:hover {
  color: var(--ink);
}

.content-stream {
  min-width: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.video-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.video-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.video-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 0;
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 14px 16px 16px;
}

.card-channel {
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 4px;
}

.card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.card-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 10px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.card-meta li {
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--cream);
  border-radius: var(--radius-sm);
}

.card-link {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--teal);
  text-underline-offset: 3px;
}

.card-link:hover {
  color: var(--teal);
}

/* 专题路径与预告 */
.path-section {
  padding-top: 44px;
}

.path-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 26px;
}

.path-step {
  position: relative;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.step-index {
  display: inline-block;
  margin-bottom: 10px;
  padding: 2px 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  background: var(--malt);
  border-radius: var(--radius-sm);
}

.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.preview-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
}

.preview-card:hover {
  box-shadow: var(--shadow-md);
}

.preview-card img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  border-radius: 0;
}

.preview-body {
  display: flex;
  flex-direction: column;
  padding: 16px 18px;
  min-width: 0;
}

.preview-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.preview-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 12px;
}

.preview-link {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--teal);
  text-underline-offset: 3px;
}

.preview-link:hover {
  color: var(--teal);
}

/* 编排记录摘要 */
.notes-section {
  padding-top: 44px;
}

.notes-list {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.notes-row {
  display: grid;
  grid-template-columns: 90px 110px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
}

.notes-row + .notes-row {
  border-top: 1px solid var(--line);
}

.record-no {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.notes-type {
  justify-self: start;
  padding: 2px 9px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.notes-scope {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  min-width: 0;
}

.notes-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  white-space: nowrap;
}

.notes-link:hover {
  color: var(--ink);
}

.notes-more {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--teal);
  text-underline-offset: 3px;
}

.notes-more:hover {
  color: var(--teal);
}

/* 首页相关链接条 */
.related-links[aria-label="相关内容"] {
  margin-top: 40px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.related-links-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-right: 6px;
}

.related-links-item {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--teal);
  text-underline-offset: 3px;
}

.related-links-item:hover {
  color: var(--teal);
}

/* --------------------------------------------------------------------------
   5. pages — 频道索引
   -------------------------------------------------------------------------- */

.tag-panel {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  margin-bottom: 8px;
}

.tag-group + .tag-group {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.tag-group-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 10px;
}

.tag-chip {
  display: inline-block;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.tag-chip:hover {
  background: var(--malt);
  border-color: var(--malt);
  color: var(--ink);
}

.tag-chip-alt {
  background: var(--white);
}

.channel-grid-section {
  padding-top: 34px;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 22px;
}

.channel-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.channel-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.channel-media {
  border-radius: 0;
}

.channel-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
}

.channel-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 18px 18px;
}

.channel-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.channel-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 12px;
}

.channel-meta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 12px;
  padding: 12px 0;
  margin-bottom: 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.channel-meta dt {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.channel-meta dd {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
  min-width: 0;
}

.channel-link {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--teal);
  text-underline-offset: 3px;
}

.channel-link:hover {
  color: var(--teal);
}

.choose-flow {
  padding-top: 44px;
}

.choose-flow .flow-steps {
  margin-top: 22px;
}

.flow-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
}

.flow-note a {
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--teal);
  text-underline-offset: 3px;
}

.flow-note a:hover {
  color: var(--teal);
}

/* --------------------------------------------------------------------------
   6. pages — 专题片单
   -------------------------------------------------------------------------- */

.specials-overview .overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.overview-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
}

.overview-card:hover {
  box-shadow: var(--shadow-md);
}

.overview-media {
  border-radius: 0;
}

.overview-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.overview-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px 20px;
}

.tag-label {
  align-self: flex-start;
  margin-bottom: 8px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  background: var(--malt);
  border-radius: var(--radius-sm);
}

.overview-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.overview-body p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.overview-meta {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
}

.overview-body .link-arrow {
  margin-top: 14px;
}

/* 片单顺序表 */
.sequence-list {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.sequence-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 20px;
  padding: 20px 22px;
}

.sequence-row + .sequence-row {
  border-top: 1px solid var(--line);
}

.sequence-index {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 16px;
  border-right: 1px solid var(--line);
}

.sequence-num {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.sequence-time {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
}

.sequence-body {
  min-width: 0;
}

.sequence-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.sequence-body p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 8px;
}

.specials-flow {
  padding-top: 44px;
}

.specials-flow .flow-steps {
  margin-top: 22px;
}

.specials-related {
  padding-top: 40px;
}

.specials-related .related-links {
  margin-top: 16px;
}

/* --------------------------------------------------------------------------
   7. pages — 编排记录
   -------------------------------------------------------------------------- */

.page-editorial-notes .page-head {
  padding-top: 6px;
}

.layout-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: start;
}

.content-main {
  min-width: 0;
}

.content-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.aside-card {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.aside-card h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.aside-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 14px;
}

.type-list li + li {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.type-item h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.type-item p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.aside-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
}

.aside-figure figcaption {
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
}

/* 时间线 */
.timeline-list {
  position: relative;
  padding-left: 22px;
  border-left: 2px solid var(--line-strong);
}

.timeline-item {
  position: relative;
}

.timeline-item + .timeline-item {
  margin-top: 20px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 22px;
  left: -30px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--malt);
  border: 2px solid var(--ink);
}

.timeline-card {
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.timeline-card-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.timeline-card-head .record-no {
  font-size: 14px;
}

.record-type {
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.timeline-reason {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.timeline-impact {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  padding: 10px 12px;
  background: var(--cream);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
}

.timeline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.timeline-links a {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--teal);
  text-underline-offset: 3px;
}

.timeline-links a:hover {
  color: var(--teal);
}

/* 影响范围 */
.impact-section {
  padding-top: 44px;
}

.impact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.impact-item {
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.impact-item h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.impact-item p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 8px;
}

.impact-item a {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
}

.impact-item a:hover {
  color: var(--ink);
}

/* 阅读指引 */
.read-guide-section {
  padding-top: 44px;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.step-item {
  position: relative;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.step-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.step-item p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.read-guide-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
}

.read-guide-note a {
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--teal);
  text-underline-offset: 3px;
}

.read-guide-note a:hover {
  color: var(--teal);
}

/* --------------------------------------------------------------------------
   8. pages — 观看与品质说明
   -------------------------------------------------------------------------- */

.checklist-section {
  padding-top: 8px;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.check-card {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.check-index {
  display: inline-block;
  margin-bottom: 8px;
  padding: 2px 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  background: var(--malt);
  border-radius: var(--radius-sm);
}

.check-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.check-action,
.check-standard,
.check-next {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.check-standard {
  margin-top: 6px;
  padding-left: 12px;
  border-left: 3px solid var(--teal);
  color: var(--muted);
}

.check-next {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

.guide-figure {
  margin-top: 22px;
}

.guide-figure img {
  width: 100%;
  aspect-ratio: 21 / 9;
}

.guide-figure figcaption {
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
}

/* 标识读法 */
.reading-section {
  padding-top: 44px;
}

.reading-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.reading-item {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.reading-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.reading-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

/* FAQ */
.faq-section {
  padding-top: 44px;
}

.faq-section .faq-list {
  margin-top: 22px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

/* 反馈说明 */
.feedback-section {
  padding-top: 40px;
}

.feedback-card {
  padding: 26px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--malt);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.feedback-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.feedback-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 760px;
}

.feedback-text + .feedback-text {
  margin-top: 8px;
}

.feedback-card .btn {
  margin-top: 18px;
}

.related-section {
  padding-top: 40px;
}

.related-section .related-links {
  margin-top: 16px;
}

/* --------------------------------------------------------------------------
   9. pages — 合作说明
   -------------------------------------------------------------------------- */

.collab-intro {
  padding-top: 8px;
}

.collab-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.collab-col {
  min-width: 0;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.collab-col h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.collab-col .section-lead {
  margin-bottom: 16px;
}

.collab-type-list li + li {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.collab-type h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.collab-type p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.material-list li + li {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.material-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.material-index {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.material-body {
  min-width: 0;
}

.material-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.material-body p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.collab-figure {
  margin-top: 24px;
}

.collab-figure img {
  width: 100%;
  aspect-ratio: 21 / 9;
}

.collab-figure figcaption {
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.collab-flow {
  padding-top: 44px;
}

.collab-flow h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.collab-flow .section-lead {
  margin-bottom: 20px;
}

.collab-flow .flow-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.collab-boundary {
  padding-top: 44px;
}

.collab-boundary h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
}

.boundary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.boundary-card {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.boundary-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.boundary-card p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.collab-related {
  padding-top: 40px;
}

.collab-related h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.collab-related .section-lead {
  margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   10. pages — 404
   -------------------------------------------------------------------------- */

.error-main {
  padding-top: 40px;
}

.error-block {
  padding: 40px 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  max-width: 780px;
}

.error-title {
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

.error-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.error-paths {
  padding-top: 40px;
}

.error-path-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.error-path-list a {
  display: block;
  padding: 16px 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.error-path-list a:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
  color: var(--ink);
}

.error-note {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   11. responsive — 1024px / 760px / 480px
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .hero-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 24px;
  }

  .panel-block + .panel-block {
    padding-top: 0;
    border-top: 0;
  }

  .panel-block:nth-child(3) {
    grid-column: 1 / -1;
    padding-top: 16px;
    border-top: 1px solid var(--line);
  }

  .fact-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .page-layout.sidebar-left {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 22px;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .channel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .layout-shell {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 26px;
  }

  .collab-flow .flow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .error-path-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 16px;
  }

  body.site-body {
    font-size: 15px;
  }

  .header-inner {
    min-height: 60px;
    padding: 10px var(--gutter);
  }

  .brand-name {
    font-size: 18px;
  }

  .home-main,
  .inner-main,
  .error-main {
    padding-bottom: 40px;
  }

  .inner-main {
    padding-top: 14px;
  }

  .page-header {
    padding-bottom: 16px;
    margin-bottom: 20px;
  }

  .page-title {
    font-size: clamp(1.45rem, 5.6vw, 1.9rem);
  }

  .section,
  .section-block {
    padding-top: 30px;
  }

  .hero {
    padding-top: 20px;
  }

  .hero-title {
    font-size: clamp(1.6rem, 6.4vw, 2.1rem);
  }

  .hero-media {
    margin-bottom: 18px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .hero-panel {
    grid-template-columns: minmax(0, 1fr);
    padding: 16px;
  }

  .panel-block:nth-child(3) {
    padding-top: 14px;
  }

  .fact-bar {
    padding: 18px;
    margin-top: 26px;
  }

  .fact-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .page-layout.sidebar-left {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .channel-rail {
    padding: 14px;
  }

  .rail-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .rail-list li {
    margin-top: 0 !important;
  }

  .rail-link {
    padding: 8px 12px;
    font-size: 13px;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 999px;
  }

  .rail-more {
    margin-top: 10px;
    padding-top: 10px;
  }

  .card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .path-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .preview-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .preview-card {
    grid-template-columns: 128px minmax(0, 1fr);
  }

  .preview-card img {
    min-height: 128px;
  }

  .notes-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "no type"
      "scope scope"
      "link link";
    gap: 8px 12px;
    padding: 14px 16px;
  }

  .notes-row .record-no {
    grid-area: no;
  }

  .notes-row .notes-type {
    grid-area: type;
    justify-self: end;
  }

  .notes-row .notes-scope {
    grid-area: scope;
  }

  .notes-row .notes-link {
    grid-area: link;
  }

  .related-links[aria-label="相关内容"] {
    padding: 14px 16px;
  }

  .tag-panel {
    padding: 18px;
  }

  .channel-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .channel-meta {
    padding: 10px 0;
  }

  .flow-steps,
  .collab-flow .flow-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .overview-grid,
  .specials-overview .overview-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .sequence-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 16px 18px;
  }

  .sequence-index {
    flex-direction: row;
    align-items: baseline;
    gap: 12px;
    padding-right: 0;
    padding-bottom: 8px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .sequence-num {
    font-size: 18px;
  }

  .layout-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .timeline-list {
    padding-left: 16px;
  }

  .timeline-item::before {
    left: -24px;
    width: 10px;
    height: 10px;
  }

  .timeline-card {
    padding: 16px;
  }

  .impact-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .step-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .checklist-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .reading-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .guide-figure img,
  .collab-figure img {
    aspect-ratio: 16 / 9;
  }

  .feedback-card {
    padding: 20px;
  }

  .collab-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .collab-col {
    padding: 20px;
  }

  .boundary-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .error-block {
    padding: 28px 20px;
  }

  .error-path-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .error-path-list a {
    padding: 14px 16px;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 34px var(--gutter) 26px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px var(--gutter) 24px;
  }

  .back-top {
    align-self: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .preview-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .preview-card img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .nav-link {
    padding: 8px 10px;
    font-size: 14px;
  }

  .related-links a,
  .related-link {
    padding: 7px 13px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .video-card,
  .channel-card,
  .overview-card,
  .preview-card,
  .btn,
  .nav-link,
  .rail-link {
    transition: none;
  }

  .video-card:hover,
  .channel-card:hover {
    transform: none;
  }
}
