/* ==========================================================================
   优视频 cnguomao.com — 全站样式表
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* ==========================================================================
   base — 变量、重置、排版、通用元素
   ========================================================================== */

:root {
  --paper: #f7f6f3;
  --ink: #22252a;
  --ink-soft: #5b6068;
  --line: #e2e0da;
  --brand: #3c4a5c;
  --brand-dark: #2e3947;
  --brand-tint: #eef0f2;

  --ch-life: #a9856b;
  --ch-tech: #7d979b;
  --ch-culture: #8b9674;
  --ch-family: #8c819c;
  --ch-outdoor: #b07a6e;

  --radius: 6px;
  --radius-sm: 4px;

  --w-page: 1120px;
  --w-wide: 1040px;
  --w-read: 720px;
  --pad-x: 24px;

  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;

  --shadow-soft: 0 1px 2px rgba(34, 37, 42, 0.06);
  --focus-ring: 0 0 0 3px rgba(60, 74, 92, 0.28);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body.site-body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.4;
}

p {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover {
  color: var(--brand-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-sm);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

strong {
  font-weight: 600;
}

.num,
.update-no,
.step-no,
.step-index,
.step-number,
.record-date,
.playlist-swatch-num,
.error-code {
  font-variant-numeric: tabular-nums;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
  color: #fff;
  text-decoration: none;
}

/* ==========================================================================
   layout — 页头、导航、主容器、面包屑、标题区、页脚
   ========================================================================== */

/* ---- 页头 ---- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 246, 243, 0.96);
  backdrop-filter: saturate(150%) blur(6px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--w-page);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: 64px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
  flex-shrink: 0;
  color: var(--ink);
}

.brand:hover {
  text-decoration: none;
  color: var(--ink);
}

.brand-name {
  font-size: 19px;
  font-weight: 700;
  color: var(--brand);
}

.brand-tagline {
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0;
  margin-top: 2px;
}

/* ---- 主导航 ---- */

.main-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-item > a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: 15px;
  color: var(--ink);
  border-radius: var(--radius-sm);
}

.nav-item > a:hover {
  background: var(--brand-tint);
  color: var(--brand);
  text-decoration: none;
}

.nav-item > a.is-current {
  color: var(--brand);
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--brand);
  border-radius: 0;
}

.nav-item.has-sub > a {
  padding-right: 6px;
}

.sub-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--ink-soft);
}

.sub-toggle::before {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.18s ease;
}

.sub-toggle:hover {
  color: var(--brand);
}

.sub-list {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 216px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(34, 37, 42, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}

.nav-item.has-sub:hover .sub-list,
.nav-item.has-sub:focus-within .sub-list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-list li a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 12px;
  font-size: 14px;
  color: var(--ink);
  border-radius: var(--radius-sm);
}

.sub-list li a:hover {
  background: var(--brand-tint);
  color: var(--brand);
  text-decoration: none;
}

/* ---- 汉堡按钮 ---- */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--brand);
  border-radius: 2px;
}

/* ---- 主内容 ---- */

.site-main {
  display: block;
  max-width: var(--w-page);
  margin: 0 auto;
  padding: 0 var(--pad-x) 64px;
}

.inner-main {
  padding-top: 0;
}

/* ---- 面包屑 ---- */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 14px;
  line-height: 44px;
  color: var(--ink-soft);
}

.breadcrumb a {
  color: var(--ink-soft);
}

.breadcrumb a:hover {
  color: var(--brand);
}

.breadcrumb-sep {
  color: var(--line);
}

.breadcrumb-sep::before {
  content: "/";
}

.breadcrumb-current {
  color: var(--ink);
}

/* ---- 页面标题区 ---- */

.page-header {
  padding: 8px 0 4px;
}

.page-title {
  font-size: 34px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--ink);
  max-width: var(--w-wide);
}

.page-hero {
  padding: 16px 0 8px;
}

.page-lead {
  max-width: var(--w-read);
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
}

.page-meta {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.page-hero-inner {
  max-width: var(--w-wide);
}

/* ---- 页脚 ---- */

.site-footer {
  margin-top: 24px;
  background: #f0efea;
  border-top: 1px solid var(--line);
}

.footer-inner {
  max-width: var(--w-page);
  margin: 0 auto;
  padding: 44px var(--pad-x) 28px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-col {
  min-width: 0;
}

.footer-brand {
  font-size: 17px;
  font-weight: 700;
  color: var(--brand);
}

.footer-desc {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.footer-boundary {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.footer-heading {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links li {
  min-width: 0;
}

.footer-links a {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.footer-links a:hover {
  color: var(--brand);
}

.footer-about .footer-links {
  margin-top: 14px;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
}

.footer-bottom {
  max-width: var(--w-page);
  margin: 0 auto;
  padding: 18px var(--pad-x) 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  align-items: baseline;
}

.footer-bottom-brand {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.footer-bottom-note {
  font-size: 13px;
  color: var(--ink-soft);
}

/* ==========================================================================
   components — 按钮、频道标签、表格、步骤、折叠、区块带
   ========================================================================== */

/* ---- 按钮 ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border-color: #c6c8c4;
  color: var(--brand);
}

.btn-outline:hover {
  border-color: var(--brand);
  background: var(--brand-tint);
  color: var(--brand-dark);
}

/* ---- 频道色标标签 ---- */

.channel-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
  white-space: nowrap;
}

.channel-tag::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  flex-shrink: 0;
}

.channel-tag-life::before { background: var(--ch-life); }
.channel-tag-tech::before { background: var(--ch-tech); }
.channel-tag-culture::before { background: var(--ch-culture); }
.channel-tag-family::before { background: var(--ch-family); }
.channel-tag-outdoor::before { background: var(--ch-outdoor); }

.channel-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
  flex-shrink: 0;
}

.channel-dot.dot-soft {
  background: var(--ch-tech);
}

.subcat-life .channel-dot { background: var(--ch-life); }
.subcat-tech .channel-dot { background: var(--ch-tech); }
.subcat-culture .channel-dot { background: var(--ch-culture); }
.subcat-family .channel-dot { background: var(--ch-family); }
.subcat-outdoor .channel-dot { background: var(--ch-outdoor); }

/* ---- 区块通用 ---- */

.section {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.section:first-of-type {
  border-top: 0;
}

.section > h2,
.section-wide > .container-wide > h2,
.section-reading > h2,
.section-narrow > .container-narrow > h2 {
  font-size: 22px;
  line-height: 1.4;
  margin-bottom: 10px;
}

.section-intro,
.section-note,
.section-desc {
  max-width: var(--w-read);
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.section-title {
  font-size: 22px;
  line-height: 1.4;
  margin-bottom: 14px;
}

.reading-block {
  max-width: var(--w-read);
}

.wide-block {
  max-width: var(--w-wide);
}

.wide-block,
.reading-block {
  margin-left: 0;
}

.reading-block > p,
.wide-block > p {
  margin-bottom: 14px;
  font-size: 16px;
  line-height: 1.8;
}

.reading-block > p:last-child,
.wide-block > p:last-child {
  margin-bottom: 0;
}

/* ---- 页内锚点目录 ---- */

.anchor-nav {
  margin: 20px 0 8px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.anchor-nav-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.anchor-list,
.anchor-nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.anchor-list li a,
.anchor-nav-list li a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 14px;
  font-size: 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 100px;
}

.anchor-list li a:hover,
.anchor-nav-list li a:hover {
  background: var(--brand-tint);
  border-color: #c6ccd4;
  color: var(--brand);
  text-decoration: none;
}

/* ---- 表格 ---- */

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.channel-table {
  font-size: 15px;
  min-width: 640px;
}

.channel-table th,
.channel-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 1.7;
}

.channel-table thead th {
  background: #f2f1ec;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
}

.channel-table tbody tr:last-child th,
.channel-table tbody tr:last-child td {
  border-bottom: 0;
}

.channel-table tbody th {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  border-left: 3px solid transparent;
  transition: border-color 0.18s ease;
}

.channel-table tbody tr:hover th {
  border-left-color: currentColor;
}

.channel-table tbody tr:hover {
  background: #fbfaf7;
}

.channel-table tbody td a {
  color: var(--brand);
}

.channel-table .channel-life th { color: var(--ch-life); }
.channel-table .channel-tech th { color: var(--ch-tech); }
.channel-table .channel-culture th { color: var(--ch-culture); }
.channel-table .channel-family th { color: var(--ch-family); }
.channel-table .channel-outdoor th { color: var(--ch-outdoor); }

.compare-table {
  font-size: 15px;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.compare-table caption {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--ink-soft);
  text-align: left;
  background: #f2f1ec;
  border-bottom: 1px solid var(--line);
}

.compare-table th,
.compare-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 1.7;
}

.compare-table thead th {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  background: #faf9f6;
}

.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

/* ---- 编号步骤清单 ---- */

.step-list,
.step-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step-item {
  position: relative;
  padding: 0 0 26px 52px;
}

.step-item:last-child {
  padding-bottom: 0;
}

.step-item::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 32px;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.step-item:last-child::before {
  display: none;
}

.step-no,
.step-index,
.step-number {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.step-title,
.step-item > h3 {
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: 6px;
}

.step-desc,
.step-item > p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 640px;
}

.step-check {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  padding-left: 12px;
  border-left: 3px solid var(--line);
}

.step-check::before {
  content: "判断标准：";
  color: var(--ink);
  font-weight: 600;
}

.step-links {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 15px;
}

.step-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* ---- 编号步骤时间线（内页专用变体） ---- */

.section-steps .step-timeline {
  max-width: var(--w-wide);
}

.section-steps .step-item {
  padding-left: 56px;
}

.section-steps .step-item::before {
  left: 17px;
}

.section-steps .step-index {
  width: 36px;
  height: 36px;
}

/* ---- 问答折叠 ---- */

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  position: relative;
  display: block;
  padding: 16px 48px 16px 18px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 24px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--ink-soft);
  border-bottom: 2px solid var(--ink-soft);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
  top: 26px;
}

.faq-item summary:hover {
  background: #fbfaf7;
}

.faq-item > p {
  padding: 0 18px 14px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.faq-item .faq-note {
  margin: 0 18px 16px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--paper);
  border-left: 3px solid var(--line);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ---- 定义列表（字段读法） ---- */

.field-list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.field-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 6px 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.field-item dt {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.field-item dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* ---- 相关任务带 ---- */

.related-band,
.task-band,
.related-tasks,
.section-related {
  margin-top: 40px;
  padding: 26px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.related-band h2,
.task-band h2,
.related-tasks h2,
.section-related h2 {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 8px;
}

.related-desc,
.related-note,
.related-text,
.task-band-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 16px;
  max-width: var(--w-read);
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
}

.related-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 500;
}

.related-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--w-wide);
}

.related-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.related-links-label {
  font-size: 14px;
  color: var(--ink-soft);
  margin-right: 6px;
}

.related-links-item {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
}

.task-band-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.task-band-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
}

/* ---- 图片 figure 通用约束 ---- */

.record-figure,
.media-figure,
.inline-figure,
.prepare-figure,
.cover-item,
.playlist-media,
.playlist-visual,
.hero-media {
  overflow: hidden;
  border-radius: var(--radius);
}

.record-figure img,
.media-figure img,
.inline-figure img,
.prepare-figure img,
.cover-item img,
.playlist-media img,
.playlist-visual img,
.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.record-figure figcaption,
.media-figure figcaption,
.inline-figure figcaption,
.prepare-figure figcaption,
.cover-item figcaption,
.playlist-caption {
  padding: 10px 4px 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ==========================================================================
   pages — 首页及各内页业务模块
   ========================================================================== */

/* ---------- 首页 ---------- */

.home-main {
  padding-top: 0;
}

/* 焦点区 */
.hero {
  padding: 40px 0 36px;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  gap: 48px;
  align-items: center;
}

.hero-text {
  min-width: 0;
}

.hero-text h1 {
  font-size: 38px;
  line-height: 1.28;
  font-weight: 700;
  color: var(--ink);
}

.hero-lead {
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: 560px;
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-note {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.hero-media {
  position: relative;
  border: 1px solid var(--line);
  background: #ecebe6;
  aspect-ratio: 4 / 3;
}

.hero-media figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 16px 12px;
  font-size: 13px;
  line-height: 1.6;
  color: #fff;
  background: linear-gradient(to top, rgba(20, 24, 30, 0.72), rgba(20, 24, 30, 0));
}

/* 常用入口带 */
.quick-entries {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--line);
}

.entry-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.entry-item {
  border-right: 1px solid var(--line);
}

.entry-item:last-child {
  border-right: 0;
}

.entry-item a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 18px;
  min-height: 44px;
  color: var(--ink);
}

.entry-item a:hover {
  background: #fff;
  text-decoration: none;
}

.entry-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--brand);
}

.entry-use {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* 区块通用结构 */
.section-inner {
  max-width: var(--w-page);
  margin: 0 auto;
}

.section-head {
  margin-bottom: 22px;
}

.section-head h2 {
  font-size: 22px;
  line-height: 1.4;
}

.section-head .section-desc {
  margin-top: 8px;
  margin-bottom: 0;
}

.section-more {
  margin-top: 20px;
  font-size: 15px;
}

.section-more a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.section-more a::after {
  content: "→";
  margin-left: 6px;
}

/* 最近编排 */
.recent-updates {
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}

.update-list {
  border-top: 1px solid var(--line);
}

.update-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.update-no {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  padding-top: 2px;
}

.update-target {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.update-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* 频道色标目录 */
.channel-directory {
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}

.channel-list {
  border-top: 1px solid var(--line);
}

.channel-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 12px 28px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.channel-row .channel-tag {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.channel-scope {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
}

.channel-fields {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* 场景片单导览 */
.playlist-guide {
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}

.playlist-block {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.playlist-guide .playlist-block:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.playlist-media {
  border: 1px solid var(--line);
  background: #ecebe6;
  aspect-ratio: 4 / 3;
}

.playlist-content {
  min-width: 0;
}

.playlist-content h3 {
  font-size: 19px;
  line-height: 1.45;
  margin-bottom: 8px;
}

.playlist-scene {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.playlist-reason {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 14px;
}

.playlist-order {
  counter-reset: pl-order;
  margin-bottom: 16px;
}

.playlist-order li {
  counter-increment: pl-order;
  position: relative;
  padding: 6px 0 6px 34px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  border-bottom: 1px dashed var(--line);
}

.playlist-order li:last-child {
  border-bottom: 0;
}

.playlist-order li::before {
  content: counter(pl-order, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

.playlist-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

/* 内容组织说明 */
.organize-note {
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}

.organize-lead {
  max-width: var(--w-read);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 22px;
}

.organize-table {
  max-width: var(--w-wide);
  font-size: 15px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.organize-table caption {
  padding: 10px 16px;
  font-size: 13px;
  color: var(--ink-soft);
  text-align: left;
  background: #f2f1ec;
  border-bottom: 1px solid var(--line);
}

.organize-table th,
.organize-table td {
  padding: 13px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 1.7;
}

.organize-table thead th {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  background: #faf9f6;
}

.organize-table tbody th {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  width: 200px;
}

.organize-table tbody td {
  color: var(--ink-soft);
}

.organize-table tbody tr:last-child th,
.organize-table tbody tr:last-child td {
  border-bottom: 0;
}

/* 观看前核验三步 */
.verify-steps {
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}

.verify-steps .step-list {
  max-width: var(--w-wide);
}

/* 首页相关任务带 */
.home-main .related-band {
  margin-top: 44px;
}

/* ---------- 快速开始 ysp/start.html ---------- */

.section-prepare {
  padding-top: 32px;
}

.prepare-layout {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  max-width: var(--w-wide);
}

.prepare-figure {
  border: 1px solid var(--line);
  background: #ecebe6;
  aspect-ratio: 4 / 3;
}

.prepare-list-container {
  min-width: 0;
}

.checklist {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.checklist-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.checklist-item h3 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
  margin-bottom: 4px;
}

.checklist-item p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.section-order .reading-block p {
  margin-bottom: 12px;
}

.section-order .compare-table {
  max-width: var(--w-wide);
}

.section-next .next-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: var(--w-wide);
}

.next-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 22px;
  min-height: 44px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  transition: border-color 0.18s ease, background 0.18s ease;
}

.next-link:hover {
  border-color: #c6ccd4;
  background: #fbfaf7;
  text-decoration: none;
}

.next-link-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--brand);
}

.next-link-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.section-related .related-links {
  margin-top: 4px;
}

/* ---------- 内容目录 ysp/catalog.html ---------- */

.page-catalog .page-hero {
  padding-bottom: 0;
}

.section-wide {
  padding: 32px 0;
}

.section-reading {
  padding: 32px 0;
}

.cover-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: var(--w-wide);
}

.cover-item {
  border: 1px solid var(--line);
  background: #fff;
  padding: 12px;
}

.cover-item img {
  aspect-ratio: 16 / 10;
  height: auto;
}

.cover-item figcaption {
  padding: 12px 4px 2px;
}

/* 二级分类说明 */
.subcat-group {
  padding: 20px 0;
  border-top: 1px solid var(--line);
  max-width: var(--w-read);
}

.subcat-group:first-of-type {
  border-top: 0;
  padding-top: 4px;
}

.subcat-group h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: 10px;
}

.subcat-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.subcat-list li {
  padding: 4px 12px;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 100px;
}

.subcat-rule {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.page-catalog .related-band {
  margin-top: 36px;
}

.page-catalog .related-links {
  max-width: var(--w-page);
  margin: 18px 0 0;
  padding: 0;
  font-size: 15px;
}

/* ---------- 场景片单 ysp/playlists.html ---------- */

.page-playlists .page-hero {
  padding-bottom: 0;
}

.playlist-index {
  margin: 24px 0 8px;
}

.playlist-index-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.playlist-index-list li a {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-height: 44px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
}

.playlist-index-list li a:hover {
  border-color: #c6ccd4;
  background: #fbfaf7;
  text-decoration: none;
}

.playlist-index-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--brand);
}

.playlist-index-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.page-playlists .playlist-block {
  display: block;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}

.playlist-inner {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.playlist-visual {
  border: 1px solid var(--line);
  background: #ecebe6;
  aspect-ratio: 4 / 3;
}

.playlist-visual img {
  aspect-ratio: 4 / 3;
  height: auto;
}

.playlist-visual-swatch {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
}

.playlist-visual-swatch.channel-tech {
  background: #e3e9ea;
}

.playlist-visual-swatch.channel-outdoor {
  background: #efe4e1;
}

.playlist-swatch-num {
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  color: rgba(60, 74, 92, 0.32);
}

.playlist-content .channel-tag {
  margin-bottom: 10px;
}

.playlist-content h2 {
  font-size: 24px;
  line-height: 1.35;
  margin-bottom: 8px;
}

.playlist-content h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  margin: 18px 0 8px;
}

.playlist-content > p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
}

.playlist-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.playlist-channels a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.section-division {
  padding: 36px 0;
  border-top: 1px solid var(--line);
}

.division-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 18px;
}

.division-col h3 {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 8px;
}

.division-col p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.division-note {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.page-playlists .related-tasks {
  margin-top: 32px;
}

.page-playlists .related-tasks .container {
  max-width: none;
}

/* ---------- 编排更新 ysp/changelog.html ---------- */

.page-changelog .page-hero {
  padding-bottom: 0;
}

.page-changelog .anchor-nav {
  margin-top: 24px;
}

.record-figure {
  max-width: 100%;
  margin: 0 0 24px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 12px;
}

.record-figure img {
  aspect-ratio: 16 / 9;
  height: auto;
}

.record-list {
  border-top: 1px solid var(--line);
}

.record-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1.1fr) minmax(0, 1fr) 88px;
  gap: 8px 20px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.7;
}

.record-date {
  font-size: 14px;
  color: var(--ink-soft);
}

.record-object {
  font-weight: 600;
  color: var(--ink);
}

.record-scope {
  color: var(--ink-soft);
}

.record-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 44px;
  font-size: 14px;
}

.section-narrow .field-list {
  margin-top: 16px;
}

.section-narrow h3 {
  font-size: 17px;
  line-height: 1.5;
  margin: 26px 0 8px;
}

.section-narrow p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.page-changelog .task-band {
  margin-top: 32px;
}

/* ---------- 问题排查 ysp/troubleshoot.html ---------- */

.page-troubleshoot .page-hero {
  padding-bottom: 0;
}

.symptom-group {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  max-width: var(--w-wide);
}

.symptom-group:first-of-type {
  border-top: 0;
  padding-top: 4px;
}

.symptom-group h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 16px;
}

.symptom-group .step-item {
  padding-left: 46px;
  padding-bottom: 20px;
}

.symptom-group .step-item::before {
  left: 12px;
}

.symptom-group .step-item .step-title {
  font-size: 16px;
  margin-bottom: 4px;
}

.symptom-group .step-list {
  counter-reset: sym-step;
}

.symptom-group .step-list > .step-item {
  counter-increment: sym-step;
}

.symptom-group .step-list > .step-item::after {
  content: counter(sym-step);
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-variant-numeric: tabular-nums;
}

.symptom-result {
  margin-top: 6px;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.symptom-result::before {
  content: "判断结果：";
  font-weight: 600;
  color: var(--brand);
}

.section-verify .verify-layout {
  display: grid;
  grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.media-figure {
  border: 1px solid var(--line);
  background: #fff;
  padding: 12px;
}

.media-figure img {
  aspect-ratio: 4 / 3;
  height: auto;
}

.verify-text h2 {
  font-size: 22px;
  line-height: 1.4;
  margin-bottom: 10px;
}

.verify-text > p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.verify-list {
  border-top: 1px solid var(--line);
}

.verify-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.verify-list li strong {
  display: block;
  color: var(--ink);
  margin-bottom: 2px;
}

.section-faq {
  padding: 32px 0;
}

.section-next .next-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 6px;
}

.next-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 44px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  transition: border-color 0.18s ease, background 0.18s ease;
}

.next-card:hover {
  border-color: #c6ccd4;
  background: #fbfaf7;
  text-decoration: none;
}

.next-card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--brand);
}

.next-card-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.section-related .related-band {
  margin-top: 0;
}

/* ---------- 更正与建议 ysp/revisions.html ---------- */

.page-revisions .page-title-section {
  padding: 16px 0 8px;
}

.title-inner {
  max-width: var(--w-wide);
}

.content-section {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.content-section:first-of-type {
  border-top: 0;
}

.content-section > .reading-block h2 {
  font-size: 22px;
  line-height: 1.4;
  margin-bottom: 10px;
}

.content-section > .reading-block p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.info-checklist > .wide-block {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.inline-figure {
  border: 1px solid var(--line);
  background: #fff;
  padding: 12px;
}

.inline-figure img {
  aspect-ratio: 4 / 3;
  height: auto;
}

.check-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.check-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.check-item h3 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
  margin-bottom: 4px;
}

.check-item p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.dimension-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: var(--w-wide);
  margin-top: 4px;
}

.dimension-item {
  padding: 18px 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.dimension-item h3 {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 8px;
  color: var(--brand);
}

.dimension-item p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.review-flow .step-timeline {
  max-width: var(--w-wide);
}

.review-flow .step-item {
  padding-left: 56px;
}

.review-flow .step-item::before {
  left: 17px;
}

.review-flow .step-number {
  width: 36px;
  height: 36px;
}

.step-body h3 {
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: 6px;
}

.step-body p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 640px;
}

.step-output {
  margin-top: 8px;
  padding-left: 12px;
  border-left: 3px solid var(--line);
  font-size: 14px;
  line-height: 1.7;
}

.step-output::before {
  content: "产出物：";
  font-weight: 600;
  color: var(--ink);
}

.compare-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: var(--w-wide);
  margin-top: 4px;
}

.compare-col {
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.compare-col h3 {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 12px;
}

.compare-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.compare-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.compare-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line);
}

.compare-link {
  font-size: 14px;
}

.compare-link a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.page-revisions .related-tasks {
  margin-top: 32px;
}

.page-revisions .related-desc {
  margin-bottom: 18px;
}

.page-revisions .related-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: var(--w-wide);
}

.link-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 44px;
  padding: 18px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
}

.link-block:hover {
  border-color: #c6ccd4;
  background: #fff;
  text-decoration: none;
}

.link-block-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--brand);
}

.link-block-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ---------- 404 ---------- */

.error-main {
  padding-top: 48px;
  padding-bottom: 64px;
}

.error-panel {
  max-width: var(--w-read);
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.error-code {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
}

.error-title {
  margin-top: 8px;
  font-size: 34px;
  line-height: 1.3;
  font-weight: 700;
}

.error-lead {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
}

.error-note {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.error-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.error-paths {
  padding-top: 32px;
  max-width: var(--w-wide);
}

.error-paths-title {
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 16px;
}

.error-path-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.error-path-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.error-path-item a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  font-size: 15px;
  font-weight: 600;
}

.error-path-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ==========================================================================
   responsive — 960px 与 680px 断点
   ========================================================================== */

@media (max-width: 960px) {
  :root {
    --pad-x: 20px;
  }

  .header-inner {
    height: 60px;
    gap: 12px;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 120;
    width: min(88vw, 360px);
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding: 76px 20px 32px;
    background: #fff;
    border-left: 1px solid var(--line);
    box-shadow: -12px 0 32px rgba(34, 37, 42, 0.12);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.24s ease;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-item {
    border-bottom: 1px solid var(--line);
  }

  .nav-item > a {
    padding: 0 4px;
    font-size: 16px;
    min-height: 48px;
  }

  .nav-item > a.is-current {
    box-shadow: inset 3px 0 0 var(--brand);
    padding-left: 12px;
  }

  .nav-item.has-sub > a {
    padding-right: 44px;
  }

  .sub-toggle {
    position: absolute;
    top: 2px;
    right: 0;
    width: 44px;
    height: 44px;
  }

  .sub-list {
    position: static;
    min-width: 0;
    padding: 0 0 8px 12px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .nav-item.has-sub.sub-open .sub-list {
    display: block;
  }

  .nav-item.has-sub:hover .sub-list,
  .nav-item.has-sub:focus-within .sub-list {
    display: none;
  }

  .nav-item.has-sub.sub-open:hover .sub-list,
  .nav-item.has-sub.sub-open:focus-within .sub-list {
    display: block;
  }

  .sub-list li a {
    min-height: 44px;
    padding: 6px 8px;
    font-size: 15px;
  }

  .hero {
    padding: 32px 0 28px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .hero-text h1 {
    font-size: 30px;
  }

  .hero-media {
    aspect-ratio: 16 / 10;
  }

  .entry-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .entry-item {
    border-bottom: 1px solid var(--line);
  }

  .entry-item:nth-child(2n) {
    border-right: 0;
  }

  .entry-item:last-child {
    border-right: 1px solid var(--line);
  }

  .channel-row {
    grid-template-columns: 130px minmax(0, 1fr);
  }

  .channel-fields {
    grid-column: 2 / -1;
  }

  .playlist-block {
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
    gap: 24px;
  }

  .prepare-layout,
  .playlist-inner,
  .section-verify .verify-layout,
  .info-checklist > .wide-block {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .prepare-figure,
  .playlist-visual,
  .media-figure,
  .inline-figure {
    max-width: 520px;
  }

  .dimension-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .record-row {
    grid-template-columns: 92px minmax(0, 1fr) 80px;
  }

  .record-scope {
    grid-column: 2 / -1;
    grid-row: 2;
  }

  .record-link {
    grid-row: 1;
    grid-column: 3;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
}

@media (max-width: 680px) {
  body.site-body {
    font-size: 15px;
  }

  .page-title {
    font-size: 26px;
  }

  .hero-text h1 {
    font-size: 26px;
  }

  .error-title {
    font-size: 26px;
  }

  .playlist-content h2 {
    font-size: 21px;
  }

  .entry-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .entry-item {
    border-right: 0;
  }

  .entry-item:last-child {
    border-right: 0;
  }

  .entry-item a {
    padding: 16px 4px;
  }

  .update-row {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
  }

  .channel-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .channel-fields {
    grid-column: auto;
  }

  .playlist-block,
  .playlist-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .playlist-media,
  .playlist-visual {
    aspect-ratio: 16 / 10;
  }

  .playlist-index-list,
  .section-next .next-links,
  .section-next .next-grid,
  .next-grid,
  .cover-grid,
  .division-columns,
  .compare-columns,
  .error-path-list,
  .page-revisions .related-links {
    grid-template-columns: minmax(0, 1fr);
  }

  .dimension-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .field-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .record-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .record-scope,
  .record-link {
    grid-column: auto;
    grid-row: auto;
  }

  .record-link {
    justify-content: flex-start;
  }

  .step-item,
  .section-steps .step-item,
  .review-flow .step-item,
  .symptom-group .step-item {
    padding-left: 46px;
  }

  .step-item::before,
  .section-steps .step-item::before,
  .review-flow .step-item::before,
  .symptom-group .step-item::before {
    left: 13px;
  }

  .section-steps .step-index,
  .review-flow .step-number {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }

  .organize-table tbody th {
    width: auto;
    white-space: normal;
  }

  .related-band,
  .task-band,
  .related-tasks,
  .section-related {
    padding: 20px 18px;
  }

  .related-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-top: 32px;
  }

  .footer-about .footer-links {
    flex-direction: column;
    gap: 6px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 4px;
  }

  .anchor-nav {
    padding: 14px 16px;
  }

  .anchor-list li a,
  .anchor-nav-list li a {
    min-height: 40px;
  }

  .page-lead {
    font-size: 16px;
  }

  .faq-item summary {
    padding: 14px 44px 14px 16px;
    font-size: 15px;
  }

  .faq-item summary::after {
    right: 16px;
    top: 21px;
  }

  .faq-item[open] summary::after {
    top: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
