/* ==========================================================================
   泡芙短视频 · 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base：变量、重置、排版、通用元素
   -------------------------------------------------------------------------- */

:root {
  --bg-page: #F7F5F1;
  --bg-panel: #FFFFFF;
  --text-main: #1C2431;
  --text-sub: #5A6474;
  --brand: #24406E;
  --accent: #D9662F;
  --confirm: #2E7A6B;
  --warn-text: #B4700A;
  --warn-bg: #FBF0DC;
  --line: #DCE0E7;
  --radius: 4px;
  --shell: 1120px;
  --read: 760px;
  --gap: 40px;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-main);
  background-color: var(--bg-page);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--text-main);
  font-weight: 600;
  line-height: 1.45;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

strong {
  font-weight: 600;
}

table {
  border-collapse: collapse;
  width: 100%;
}

figure {
  margin: 0;
}

figcaption {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-sub);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   layout：页面骨架、容器、页头、导航、页脚、内页外壳
   -------------------------------------------------------------------------- */

.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-sans);
}

/* 页头 */
.site-header {
  background-color: var(--bg-panel);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
  min-width: 0;
}

.brand-mark {
  font-size: 19px;
  font-weight: 600;
  color: var(--brand);
  line-height: 1.4;
  letter-spacing: 0;
}

.brand-mark:hover {
  text-decoration: none;
  color: var(--accent);
}

.brand-tagline {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-sub);
}

/* 主导航 */
.site-nav {
  margin-left: auto;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list > li {
  display: flex;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 11px;
  font-size: 15px;
  color: var(--text-main);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--accent);
  text-decoration: none;
}

.nav-link.is-current {
  font-weight: 600;
  color: var(--brand);
  border-bottom-color: var(--accent);
}

/* 菜单按钮 */
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--bg-panel);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--brand);
}

/* 主内容区 */
.site-main {
  flex: 1 1 auto;
  width: 100%;
}

.site-main.inner-main {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px 64px;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 20px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-sub);
}

.breadcrumb a {
  color: var(--text-sub);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  color: var(--line);
}

.breadcrumb-current {
  color: var(--text-main);
}

/* 内页标题区 */
.page-header {
  padding: 20px 0 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--gap);
}

.page-title {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-main);
  letter-spacing: 0;
}

.page-summary {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-sub);
  max-width: var(--read);
}

.page-meta-bar,
.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--text-sub);
}

.meta-item {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.meta-item strong {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-main);
}

.page-description {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-sub);
  max-width: var(--read);
}

/* 页脚 */
.site-footer {
  margin-top: 48px;
  background-color: var(--bg-panel);
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--text-sub);
}

.footer-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 32px 24px 24px;
}

.footer-scope {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  line-height: 1.8;
}

.footer-inline-link {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-inline-link:hover {
  color: var(--accent);
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 28px 0;
}

.footer-brand {
  font-size: 16px;
  font-weight: 600;
  color: var(--brand);
  line-height: 1.5;
}

.footer-slogan {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-sub);
}

.footer-heading {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-main);
  margin-bottom: 12px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.6;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.7;
}

.footer-copy {
  color: var(--text-sub);
}

/* --------------------------------------------------------------------------
   components：按钮、链接、列表、表格、步骤、折叠、警示、页内目录
   -------------------------------------------------------------------------- */

/* 按钮与文字链接 */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--brand);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: #1B3050;
  text-decoration: none;
}

.btn-secondary {
  background-color: var(--bg-panel);
  color: var(--brand);
  border-color: var(--brand);
}

.btn-secondary:hover {
  background-color: #EEF1F6;
  text-decoration: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 32px;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
}

.text-link:hover {
  text-decoration: underline;
}

.text-link::after {
  content: "→";
  font-size: 14px;
}

.inline-link {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 区块通用 */
.section-title {
  position: relative;
  padding-left: 12px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text-main);
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  border-radius: 2px;
  background-color: var(--brand);
}

.section-intro,
.section-lead {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-sub);
  max-width: var(--read);
}

.section-more {
  margin-top: 18px;
}

.section-note {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-sub);
}

/* 条目列表（首页节选 / 播放准备相关入口） */
.entry-list {
  display: flex;
  flex-direction: column;
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.entry-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.entry-link {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-main);
}

.entry-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-size: 13px;
  color: var(--text-sub);
}

.entry-duration {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--brand);
}

.entry-update {
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  min-height: 22px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--confirm);
  background-color: #EAF3F0;
  border: 1px solid #C6E0D9;
  border-radius: var(--radius);
}

.entry-summary {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-sub);
}

.entry-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-sub);
}

/* 步骤条（首页 / 播放准备） */
.step-list {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 4px 14px;
  align-items: start;
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-top: 2px;
  border-radius: 50%;
  background-color: var(--confirm);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1;
}

.step-title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-main);
  grid-column: 2;
}

.step-desc {
  grid-column: 2;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-main);
}

.step-check {
  grid-column: 2;
  font-size: 14px;
  line-height: 1.8;
  color: var(--confirm);
}

.step-check::before {
  content: "确认点：";
  font-weight: 600;
}

.step-figure {
  grid-column: 2;
  margin-top: 6px;
}

.step-figure img {
  width: 100%;
  max-width: 520px;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: #EEF1F6;
}

/* 折叠问答 */
.faq-list {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::before {
  content: "+";
  flex-shrink: 0;
  width: 20px;
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--accent);
}

.faq-item[open] .faq-question::before {
  content: "−";
}

.faq-question:hover {
  color: var(--accent);
}

.faq-answer {
  padding: 0 0 14px 30px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-sub);
}

/* 警示框 */
.warning-box {
  margin-top: 16px;
  padding: 14px 16px;
  border-left: 4px solid var(--warn-text);
  border-radius: var(--radius);
  background-color: var(--warn-bg);
}

.warning-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--warn-text);
}

.warning-text {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-main);
}

.warning-list {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.warning-list > li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-main);
}

.warning-list > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--warn-text);
}

/* 页内目录 */
.toc,
.page-toc {
  margin-bottom: var(--gap);
  padding: 14px 18px;
  background-color: #F0EEE9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.toc-label,
.page-toc-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-sub);
}

.toc-list,
.page-toc-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin-top: 8px;
}

.toc-list a,
.page-toc-list a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 14px;
  color: var(--brand);
}

.toc-list a:hover,
.page-toc-list a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* 锚点目标高亮 */
.section:target .section-title,
.content-section:target .section-title,
.qa-group:target h2,
.scene-group:target .scene-title {
  animation: anchor-flash 1.6s ease-out;
}

@keyframes anchor-flash {
  0% {
    background-color: #F6E6D8;
  }

  100% {
    background-color: transparent;
  }
}

/* 数据表格 */
.table-wrap {
  margin-top: 18px;
  overflow-x: auto;
}

.data-table {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.75;
  border: 1px solid var(--line);
  background-color: var(--bg-panel);
}

.table-wrap .data-table {
  margin-top: 0;
}

.data-table caption,
.table-caption {
  caption-side: top;
  padding: 0 0 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-sub);
  text-align: left;
}

.data-table th {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: left;
  color: #FFFFFF;
  background-color: var(--brand);
  border: 1px solid var(--brand);
}

.data-table td {
  padding: 10px 14px;
  vertical-align: top;
  color: var(--text-main);
  border: 1px solid var(--line);
}

.data-table tbody tr:nth-child(even) td {
  background-color: #F7F5F1;
}

/* 相关链接条 */
.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: var(--gap);
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.related-links-label {
  font-weight: 600;
  color: var(--text-sub);
}

.related-links-item {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--brand);
}

.related-links-item:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   pages：首页
   -------------------------------------------------------------------------- */

.home-main {
  width: 100%;
}

/* 首屏 */
.hero-section {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 40px 24px 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: var(--gap);
  align-items: start;
}

.hero-primary {
  min-width: 0;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  line-height: 1.6;
}

.hero-primary h1 {
  margin-top: 10px;
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-main);
  letter-spacing: 0;
}

.hero-lead {
  margin-top: 14px;
  max-width: 620px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-sub);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-figure {
  margin-top: 28px;
}

.hero-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: #EEF1F6;
}

/* 常用路线 */
.hero-routes {
  padding: 22px 22px 18px;
  background-color: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.routes-title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-main);
}

.route-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
}

.route-item {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.route-item:first-child {
  border-top: 0;
  padding-top: 4px;
}

.route-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 16px;
  font-weight: 600;
  color: var(--brand);
}

.route-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

.route-desc {
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-sub);
}

/* 使用摘要带 */
.summary-band {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 40px 24px 0;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.summary-col {
  padding: 20px 22px;
  min-width: 0;
}

.summary-col + .summary-col {
  border-left: 1px solid var(--line);
}

.summary-heading {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-main);
}

.summary-lead {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-main);
}

.summary-list {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.summary-list > li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-sub);
}

.summary-list > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--brand);
}

/* 不对称双栏主体 */
.page-layout {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 40px 24px 0;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: var(--gap);
  align-items: start;
}

.layout-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.layout-main > section {
  padding-bottom: var(--gap);
  border-bottom: 1px solid var(--line);
}

.layout-main > section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.layout-aside {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 目录节选配图 */
.catalog-figure-row {
  margin-top: 16px;
}

.catalog-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: #EEF1F6;
}

/* 选片场景预览 */
.scene-rows {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.scene-row {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(0, 2fr);
  gap: 8px 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.scene-label {
  min-width: 0;
}

.scene-name {
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-main);
}

.scene-duration {
  display: block;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--brand);
}

.scene-examples {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.scene-examples > li {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-sub);
}

.scene-link {
  color: var(--brand);
  font-weight: 600;
}

.scene-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* 右栏卡片 */
.aside-card {
  padding: 18px 18px 16px;
  background-color: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.aside-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-main);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.aside-note {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-sub);
}

.field-quick-list {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-quick-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
  font-size: 14px;
  line-height: 1.75;
}

.field-quick-item .field-name {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--brand);
  background-color: #EEF1F6;
  border-radius: 2px;
  padding: 0 5px;
}

.field-read {
  color: var(--text-sub);
  min-width: 0;
}

.selfcheck-list {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.selfcheck-item {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-main);
}

.selfcheck-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 13px;
  height: 13px;
  border: 1px solid var(--brand);
  border-radius: 2px;
  background-color: var(--bg-panel);
}

.aside-link-list {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.aside-link-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.aside-link-item > a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 15px;
  font-weight: 600;
  color: var(--brand);
}

.aside-link-item > a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.aside-link-desc {
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-sub);
}

.aside-more {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

/* 常见疑问摘要 */
.faq-summary {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 40px 24px 0;
}

/* 内容边界 */
.boundary-section {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 40px 24px 0;
}

.boundary-body {
  margin-top: 16px;
  max-width: var(--read);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.boundary-body > p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-main);
}

.boundary-check-list {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.boundary-check {
  position: relative;
  padding: 12px 14px 12px 34px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-main);
  background-color: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.boundary-check::before {
  content: "✓";
  position: absolute;
  left: 12px;
  top: 11px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--confirm);
}

/* --------------------------------------------------------------------------
   pages：内容目录
   -------------------------------------------------------------------------- */

.channel-overview,
.entry-group,
.grouping-rules,
.paging-archive,
.related-entry {
  padding-bottom: var(--gap);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--gap);
}

.related-entry {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.channel-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.channel-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 44px;
  padding: 14px 16px;
  background-color: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text-main);
}

.channel-cell:hover {
  border-color: var(--brand);
  background-color: #EEF1F6;
  text-decoration: none;
}

.channel-name {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--brand);
}

.channel-scope {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-sub);
}

.channel-figure {
  margin-top: 20px;
}

.channel-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: #EEF1F6;
}

/* 条目明细 */
.entry-group .entry-list {
  margin-top: 18px;
}

.entry-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.15s ease;
}

.entry-row:hover {
  background-color: #F0EEE9;
}

.entry-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}

.entry-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-main);
}

.entry-flag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  font-size: 12px;
  line-height: 1.6;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  color: var(--text-sub);
  background-color: #F7F5F1;
}

.entry-flag-new {
  color: var(--confirm);
  border-color: #C6E0D9;
  background-color: #EAF3F0;
}

.entry-detail-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.entry-detail-link:hover {
  text-decoration: underline;
}

/* 分组规则 */
.rule-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 18px;
}

.rule-item {
  padding: 16px 18px;
  background-color: var(--bg-panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
}

.rule-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-main);
}

.rule-text {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-sub);
}

/* 分页与归档 */
.paging-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.paging-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--brand);
  background-color: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.paging-link:hover {
  border-color: var(--brand);
  background-color: #EEF1F6;
  text-decoration: none;
}

.archive-note {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-sub);
}

.related-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 14px;
}

.related-list a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 15px;
  color: var(--brand);
}

.related-list a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   pages：选片场景
   -------------------------------------------------------------------------- */

.page-title-area {
  margin-bottom: var(--gap);
}

.scene-intro {
  padding-bottom: var(--gap);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--gap);
}

.duration-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.duration-tag {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 160px;
  padding: 10px 14px;
  background-color: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.duration-tag-name {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--brand);
}

.duration-tag-note {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-sub);
}

.scene-group {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding-bottom: var(--gap);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--gap);
}

.scene-group-b .scene-figure {
  order: 2;
}

.scene-group-b .scene-body {
  order: 1;
}

.scene-figure {
  min-width: 0;
}

.scene-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: #EEF1F6;
}

.scene-body {
  min-width: 0;
}

.scene-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text-main);
}

.scene-desc {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-main);
}

.scene-subtitle {
  margin-top: 16px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-sub);
}

.scene-reasons {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.scene-reasons > li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-sub);
}

.scene-reasons > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--confirm);
}

.scene-samples {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.scene-samples > li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
  font-size: 14px;
  line-height: 1.8;
}

.sample-link {
  font-weight: 600;
  color: var(--brand);
}

.sample-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

.sample-note {
  color: var(--text-sub);
}

.scene-switch {
  padding-bottom: var(--gap);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--gap);
}

.switch-table {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.75;
  border: 1px solid var(--line);
  background-color: var(--bg-panel);
}

.switch-table th {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: left;
  color: #FFFFFF;
  background-color: var(--brand);
  border: 1px solid var(--brand);
}

.switch-table td {
  padding: 10px 14px;
  vertical-align: top;
  color: var(--text-main);
  border: 1px solid var(--line);
}

.switch-table tbody tr:nth-child(even) td {
  background-color: #F7F5F1;
}

.scene-next {
  padding-bottom: var(--gap);
  border-bottom: 1px solid var(--line);
}

.next-links {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.next-links > li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
  font-size: 15px;
  line-height: 1.8;
}

.next-link {
  font-weight: 600;
  color: var(--brand);
}

.next-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

.next-note {
  color: var(--text-sub);
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   pages：播放准备
   -------------------------------------------------------------------------- */

.page-head {
  margin-bottom: var(--gap);
}

.content-section {
  padding-bottom: var(--gap);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--gap);
}

.content-section:last-of-type {
  border-bottom: 0;
}

.prose {
  max-width: var(--read);
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.prose > p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-main);
}

.tip-list {
  max-width: var(--read);
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tip-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  padding: 10px 14px;
  font-size: 15px;
  line-height: 1.8;
  background-color: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.tip-label {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--confirm);
  background-color: #EAF3F0;
  border: 1px solid #C6E0D9;
  border-radius: 2px;
  padding: 0 6px;
}

/* 播放准备步骤条 */
.content-section .step-list {
  max-width: var(--read);
}

.content-section .step-item {
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 0 14px;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--line);
}

.content-section .step-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--confirm);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1;
}

.step-body {
  min-width: 0;
}

.step-body .step-title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-main);
}

.step-body .step-desc {
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-main);
}

.step-body .step-check {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--confirm);
}

.step-body .step-check::before {
  content: "确认点：";
  font-weight: 600;
}

/* 异常排查表 */
.content-section .table-wrap {
  max-width: 100%;
}

/* 相关入口 */
.content-section .entry-list {
  max-width: var(--read);
}

/* --------------------------------------------------------------------------
   pages：字段与标注
   -------------------------------------------------------------------------- */

.page-container {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.field-table-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 18px;
}

.field-table-wrap {
  min-width: 0;
  overflow-x: auto;
}

.field-table-wrap .data-table {
  margin-top: 0;
}

.field-figure {
  min-width: 0;
}

.field-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: #EEF1F6;
}

.data-table .field-name {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--brand);
  padding: 0 5px;
  background-color: #EEF1F6;
  border-radius: 2px;
}

.tag-list {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tag-item {
  padding: 14px 16px;
  background-color: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.tag-name {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--brand);
}

.tag-scope {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-main);
}

.tag-note {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-sub);
}

.reading-steps {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: var(--read);
}

.reading-step {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 0 14px;
  align-items: start;
}

.reading-step .step-index {
  width: 30px;
  height: 30px;
  margin-top: 0;
}

.reading-step .step-body {
  min-width: 0;
}

.reading-step .step-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-main);
}

.reading-step .step-desc {
  margin-top: 2px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-sub);
}

.related-section .related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 14px;
  padding-top: 0;
  border-top: 0;
}

.related-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 15px;
  color: var(--brand);
}

.related-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   pages：问答集
   -------------------------------------------------------------------------- */

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding-bottom: var(--gap);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--gap);
}

.page-hero-text {
  min-width: 0;
}

.page-hero-media {
  min-width: 0;
}

.page-hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: #EEF1F6;
}

.qa-group {
  padding-bottom: var(--gap);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--gap);
}

.section-head {
  margin-bottom: 16px;
}

.section-head h2 {
  position: relative;
  padding-left: 12px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text-main);
}

.section-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  border-radius: 2px;
  background-color: var(--brand);
}

.qa-item {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.qa-question {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--text-main);
}

.qa-answer {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-main);
}

.qa-details {
  margin-top: 8px;
}

.qa-details summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  cursor: pointer;
  list-style: none;
}

.qa-details summary::-webkit-details-marker {
  display: none;
}

.qa-details summary::before {
  content: "+";
  font-family: var(--font-mono);
  color: var(--accent);
}

.qa-details[open] summary::before {
  content: "−";
}

.qa-details summary:hover {
  color: var(--accent);
}

.qa-details > p {
  margin-top: 6px;
  padding-left: 16px;
  border-left: 2px solid var(--line);
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-sub);
}

.qa-meta {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-sub);
}

.qa-meta a {
  color: var(--brand);
}

.qa-meta a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.next-step {
  padding-bottom: var(--gap);
}

.next-step-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.next-step-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
  font-size: 15px;
  line-height: 1.8;
}

.next-step-item > a {
  font-weight: 600;
  color: var(--brand);
}

.next-step-item > a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.next-step-desc {
  font-size: 14px;
  color: var(--text-sub);
}

/* --------------------------------------------------------------------------
   pages：反馈与纠错
   -------------------------------------------------------------------------- */

.page-heading {
  margin-bottom: var(--gap);
}

.section-block {
  padding-bottom: var(--gap);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--gap);
}

.section-block:last-of-type {
  border-bottom: 0;
}

.section-block > h2 {
  position: relative;
  padding-left: 12px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text-main);
}

.section-block > h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  border-radius: 2px;
  background-color: var(--brand);
}

.section-block > p {
  margin-top: 10px;
  max-width: var(--read);
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-sub);
}

.feedback-intro {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 16px;
}

.feedback-intro-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feedback-intro-text > p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-main);
}

.feedback-figure {
  min-width: 0;
}

.feedback-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: #EEF1F6;
}

.feedback-type-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feedback-type-item {
  padding: 16px 18px;
  background-color: var(--bg-panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
}

.feedback-type-item h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-main);
}

.feedback-type-fit {
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-main);
}

.feedback-type-example {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-sub);
}

.feedback-type-example::before {
  content: "示例：";
  font-weight: 600;
  color: var(--confirm);
}

.feedback-prepare-list {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.feedback-prepare-item {
  padding: 14px 16px;
  background-color: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.feedback-prepare-item h3 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--brand);
}

.feedback-prepare-item p {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-sub);
}

.feedback-step-list {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: var(--read);
}

.feedback-step-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 0 14px;
  align-items: start;
}

.feedback-step-item .step-index {
  width: 30px;
  height: 30px;
  margin-top: 0;
}

.feedback-step-item h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-main);
}

.feedback-step-item p {
  grid-column: 2;
  margin-top: 2px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-sub);
}

.section-block .warning-box {
  max-width: var(--read);
}

.related-link-list {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.related-link-list a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 15px;
  color: var(--brand);
}

.related-link-list a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   pages：404
   -------------------------------------------------------------------------- */

.error-main {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 56px 24px 64px;
}

.error-panel {
  width: 100%;
  max-width: var(--read);
  padding: 32px 32px 28px;
  background-color: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.error-code {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.error-panel h1 {
  margin-top: 8px;
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-main);
}

.error-lead {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-main);
}

.error-tip {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-sub);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 22px;
}

.error-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  background-color: var(--brand);
  border-radius: var(--radius);
}

.error-button:hover {
  background-color: #1B3050;
  text-decoration: none;
}

.error-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
}

.error-link:hover {
  text-decoration: underline;
}

.error-routes {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.error-routes a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 15px;
  color: var(--brand);
}

.error-routes a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   responsive：断点 960 / 760 / 480
   -------------------------------------------------------------------------- */

@media (max-width: 960px) {
  .hero-inner,
  .page-layout,
  .scene-group,
  .page-hero,
  .field-table-layout,
  .feedback-intro {
    grid-template-columns: minmax(0, 1fr);
  }

  .scene-group-b .scene-figure,
  .scene-group-b .scene-body {
    order: 0;
  }

  .summary-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .summary-col + .summary-col {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .channel-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .boundary-check-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-nav-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .field-figure img {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 760px) {
  .header-inner {
    position: relative;
    flex-wrap: wrap;
    padding: 10px 20px;
    gap: 10px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    padding-top: 6px;
    border-top: 1px solid var(--line);
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4px 0 8px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list > li {
    display: block;
  }

  .nav-link {
    width: 100%;
    padding: 0 4px;
    justify-content: flex-start;
    border-bottom: 1px solid var(--line);
  }

  .nav-link.is-current {
    border-bottom-color: var(--line);
    border-left: 3px solid var(--accent);
    padding-left: 10px;
  }

  .site-main.inner-main {
    padding: 0 20px 48px;
  }

  .hero-section,
  .summary-band,
  .page-layout,
  .faq-summary,
  .boundary-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-section {
    padding-top: 28px;
  }

  .summary-band,
  .page-layout,
  .faq-summary,
  .boundary-section {
    padding-top: 32px;
  }

  .scene-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .tag-list,
  .feedback-prepare-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    padding: 28px 20px 20px;
  }

  .footer-nav-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .error-main {
    padding: 36px 20px 48px;
  }

  .error-panel {
    padding: 24px 20px 22px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  .brand-mark {
    font-size: 17px;
  }

  .brand-tagline {
    font-size: 11px;
  }

  .hero-primary h1 {
    font-size: 26px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .channel-band {
    grid-template-columns: minmax(0, 1fr);
  }

  .duration-tags {
    flex-direction: column;
  }

  .duration-tag {
    min-width: 0;
  }

  .paging-links {
    flex-direction: column;
    align-items: stretch;
  }

  .paging-link {
    justify-content: center;
  }

  .step-item,
  .reading-step,
  .feedback-step-item {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 0 10px;
  }

  .step-index,
  .step-num,
  .reading-step .step-index,
  .feedback-step-item .step-index {
    width: 26px;
    height: 26px;
    font-size: 13px;
  }

  .data-table th,
  .data-table td,
  .switch-table th,
  .switch-table td {
    padding: 8px 10px;
    font-size: 14px;
  }

  .toc-list,
  .page-toc-list {
    flex-direction: column;
    gap: 2px;
  }

  .toc-list a,
  .page-toc-list a {
    min-height: 40px;
  }

  .error-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .error-button,
  .error-link {
    justify-content: center;
  }
}
