/* ==========================================================================
   捷华影视 · 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base：变量、重置、排版、通用元素
   -------------------------------------------------------------------------- */
:root {
  --bg-page: #f4f5f6;
  --bg-panel: #ffffff;
  --bg-tag: #e8eef6;
  --bg-notice: #fbf7ea;
  --text-main: #1c1f23;
  --text-sub: #5a626b;
  --link: #1a5fb4;
  --link-dark: #0f4478;
  --line: #dfe3e7;
  --radius: 4px;
  --radius-lg: 6px;
  --shadow-soft: 0 1px 2px rgba(28, 31, 35, 0.05);
  --font-base: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Hiragino Sans GB", sans-serif;
  --w-site: 1120px;
  --w-read: 720px;
  --pad-x: 24px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-base);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
}

h1,
h2,
h3,
h4,
p,
figure,
ul,
ol,
dl {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover,
a:focus-visible {
  color: var(--link-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 2px;
}

strong {
  font-weight: 600;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th,
td {
  text-align: left;
  vertical-align: top;
}

.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-header {
  background: var(--bg-panel);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 30;
}

.header-inner {
  max-width: var(--w-site);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand:hover,
.brand:focus-visible {
  color: var(--link);
  text-decoration: none;
}

/* 主导航 */
.primary-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-item > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: 15px;
  color: var(--text-main);
  border-radius: var(--radius);
}

.nav-item > a:hover,
.nav-item > a:focus-visible {
  color: var(--link);
  background: #f0f4fa;
  text-decoration: none;
}

.nav-item.is-current > a {
  color: var(--link);
  font-weight: 600;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 44px;
  padding: 0;
  margin-left: -6px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--text-sub);
}

.dropdown-caret {
  display: block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.15s ease;
}

.has-dropdown.is-open .dropdown-caret {
  transform: rotate(180deg);
}

.dropdown-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  padding: 8px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(28, 31, 35, 0.1);
}

.has-dropdown.is-open .dropdown-panel,
.has-dropdown:hover .dropdown-panel,
.has-dropdown:focus-within .dropdown-panel {
  display: block;
}

.dropdown-list li + li {
  margin-top: 2px;
}

.dropdown-list a {
  display: block;
  padding: 8px 10px;
  font-size: 14px;
  color: var(--text-main);
  border-radius: var(--radius);
}

.dropdown-list a:hover,
.dropdown-list a:focus-visible {
  background: #f0f4fa;
  color: var(--link);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-panel);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-main);
}

/* 主区通用 */
.site-main {
  display: block;
}

.inner-main {
  max-width: var(--w-site);
  margin: 0 auto;
  padding: 0 var(--pad-x) 56px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 18px 0 12px;
  font-size: 14px;
  color: var(--text-sub);
}

.breadcrumb a {
  color: var(--text-sub);
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--link);
}

.breadcrumb-sep {
  color: #9aa2ab;
}

.breadcrumb-current {
  color: var(--text-main);
}

.page-header {
  padding: 4px 0 18px;
  border-bottom: 1px solid var(--line);
}

.page-title {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-main);
}

/* 内页标题区导语块 */
.page-hero {
  background: #eef1f4;
  border-bottom: 1px solid var(--line);
}

.page-hero-inner {
  max-width: var(--w-site);
  margin: 0 auto;
  padding: 20px var(--pad-x) 22px;
}

.page-lead {
  max-width: var(--w-read);
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-sub);
}

/* 页脚 */
.site-footer {
  background: var(--bg-panel);
  border-top: 1px solid var(--line);
  margin-top: 8px;
}

.footer-inner {
  max-width: var(--w-site);
  margin: 0 auto;
  padding: 36px var(--pad-x) 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 40px;
}

.footer-logo {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-sub);
  max-width: 520px;
}

.footer-brand p + p {
  margin-top: 6px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.footer-col h2 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-main);
  margin-bottom: 10px;
}

.footer-col li + li {
  margin-top: 6px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-sub);
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--link);
}

.footer-bottom {
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  max-width: var(--w-site);
  margin: 0 auto;
  padding: 14px var(--pad-x);
  font-size: 13px;
  color: var(--text-sub);
}

/* --------------------------------------------------------------------------
   components：通用组件（按钮、标签、表格、清单、提示、折叠、卡片、图片）
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn:hover,
.btn:focus-visible {
  text-decoration: none;
}

.btn-primary {
  background: var(--link);
  border-color: var(--link);
  color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--link-dark);
  border-color: var(--link-dark);
  color: #ffffff;
}

.btn-secondary {
  background: var(--bg-panel);
  border-color: #b9c2cb;
  color: var(--text-main);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--link);
  color: var(--link);
}

.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--link);
  padding-left: 4px;
  padding-right: 4px;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  color: var(--link-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tag {
  display: inline-block;
  padding: 1px 8px;
  font-size: 13px;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  background: var(--bg-tag);
  color: var(--link-dark);
}

.tag-scale {
  background: #eef1f4;
  color: var(--text-sub);
}

.text-link {
  font-size: 15px;
  font-weight: 500;
}

.section-intro {
  max-width: var(--w-read);
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-sub);
}

.section-more {
  margin-top: 18px;
  font-size: 15px;
}

/* 表格 */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.index-table,
.data-table {
  min-width: 560px;
  font-size: 15px;
}

.index-table thead th,
.data-table thead th {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-sub);
  background: #f0f2f4;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.index-table tbody th,
.index-table tbody td,
.data-table tbody th,
.data-table tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  line-height: 1.7;
}

.index-table tbody tr:last-child th,
.index-table tbody tr:last-child td,
.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.index-table tbody th,
.data-table tbody th {
  font-weight: 500;
  color: var(--text-main);
  white-space: nowrap;
}

.index-table tbody td,
.data-table tbody td {
  color: var(--text-sub);
}

.index-table tbody tr:hover,
.data-table tbody tr:hover {
  background: #f7f9fb;
}

/* 图片容器 */
.media-figure,
.guide-figure,
.content-figure,
.archive-figure,
.faq-figure,
.about-figure {
  margin: 20px 0;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.media-figure img,
.guide-figure img,
.content-figure img,
.archive-figure img,
.faq-figure img,
.about-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #e6e9ec;
}

.media-figure figcaption,
.guide-figure figcaption,
.content-figure figcaption,
.archive-figure figcaption,
.faq-figure figcaption,
.about-figure figcaption {
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-sub);
  border-top: 1px solid var(--line);
}

/* 折叠问答 */
.faq-item {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.faq-item + .faq-item {
  margin-top: 10px;
}

.faq-item summary {
  padding: 14px 40px 14px 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-main);
  cursor: pointer;
  position: relative;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  font-weight: 400;
  color: var(--link);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:hover {
  color: var(--link);
}

.faq-item p,
.faq-answer {
  padding: 0 16px 16px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-sub);
}

.faq-answer p + p {
  margin-top: 8px;
}

/* 勾选清单 */
.checklist,
.check-list {
  display: grid;
  gap: 10px;
}

.check-item,
.checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-main);
}

.check-mark {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin-top: 6px;
  border: 2px solid var(--link);
  border-radius: 2px;
  background: #eef4fb;
}

.check-body h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 2px;
}

.check-body p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-sub);
}

/* 提示块 */
.notice-block {
  margin-top: 18px;
  padding: 16px 18px;
  background: var(--bg-notice);
  border: 1px solid #e6ddc2;
  border-radius: var(--radius);
  font-size: 15px;
  line-height: 1.8;
  color: #4a4436;
}

.notice-block h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-main);
}

.notice-block a {
  color: var(--link-dark);
}

/* 编号列表 / 步骤通用 */
.step-num,
.step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--link-dark);
  background: var(--bg-tag);
  border-radius: var(--radius);
}

/* 侧栏链接列表通用 */
.side-link-list li + li {
  margin-top: 6px;
}

.side-link-list a {
  display: block;
  padding: 6px 0;
  font-size: 15px;
}

/* --------------------------------------------------------------------------
   pages：首页
   -------------------------------------------------------------------------- */
.home-main {
  padding-bottom: 48px;
}

/* 频道快览条 */
.channel-strip {
  background: var(--bg-panel);
  border-bottom: 1px solid var(--line);
}

.channel-strip-inner {
  max-width: var(--w-site);
  margin: 0 auto;
  padding: 10px var(--pad-x);
  display: flex;
  align-items: center;
  gap: 14px;
  overflow-x: auto;
}

.strip-label {
  flex: 0 0 auto;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--text-sub);
}

.strip-list {
  display: flex;
  align-items: center;
  gap: 6px;
}

.strip-list li {
  flex: 0 0 auto;
}

.strip-list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 10px;
  font-size: 14px;
  color: var(--text-main);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  white-space: nowrap;
}

.strip-list a:hover,
.strip-list a:focus-visible {
  border-color: var(--link);
  color: var(--link);
  text-decoration: none;
}

.strip-count {
  font-size: 12px;
  color: var(--text-sub);
}

.strip-all {
  flex: 0 0 auto;
  margin-left: auto;
  font-size: 14px;
  white-space: nowrap;
}

/* 焦点区 */
.hero {
  background: var(--bg-panel);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  max-width: var(--w-site);
  margin: 0 auto;
  padding: 36px var(--pad-x);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 40px;
  align-items: start;
}

.hero-eyebrow {
  display: inline-block;
  padding: 2px 10px;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--link-dark);
  background: var(--bg-tag);
  border-radius: var(--radius);
  margin-bottom: 14px;
}

.hero-text h1 {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-main);
}

.hero-lead {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-main);
}

.hero-sub {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-sub);
}

.hero-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.hero-figure {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #e6e9ec;
}

.hero-figure figcaption {
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-sub);
  border-top: 1px solid var(--line);
}

/* 本期条目带 */
.entry-band {
  max-width: var(--w-site);
  margin: 0 auto;
  padding: 40px var(--pad-x) 8px;
}

.entry-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: 32px;
  align-items: start;
}

.entry-main h2,
.channel-index h2,
.topic-picks h2,
.watch-path h2,
.faq-pick h2,
.cross-ref h2 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-main);
}

.entry-list {
  margin-top: 18px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.entry-item {
  display: flex;
  gap: 14px;
  padding: 14px 16px;
}

.entry-item + .entry-item {
  border-top: 1px solid var(--line);
}

.entry-no {
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--link);
  padding-top: 2px;
}

.entry-body {
  min-width: 0;
}

.entry-body h3,
.entry-body a.entry-link {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-main);
}

.entry-body a.entry-link:hover,
.entry-body a.entry-link:focus-visible {
  color: var(--link);
}

.entry-summary {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-sub);
}

.entry-meta {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: var(--text-sub);
}

.entry-side {
  padding: 18px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.entry-side h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-main);
  margin-bottom: 12px;
}

.side-notes li {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-sub);
}

.side-notes li + li {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.side-notes strong {
  display: block;
  color: var(--text-main);
  margin-bottom: 2px;
}

.side-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 15px;
  font-weight: 500;
}

/* 频道目录索引表 */
.channel-index {
  max-width: var(--w-site);
  margin: 0 auto;
  padding: 40px var(--pad-x) 8px;
}

.channel-index .table-wrap {
  margin-top: 18px;
}

.table-note {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-sub);
}

/* 专题片单推荐 */
.topic-picks {
  max-width: var(--w-site);
  margin: 0 auto;
  padding: 40px var(--pad-x) 8px;
}

.topic-cards {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.topic-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.topic-card:hover,
.topic-card:focus-within {
  border-color: var(--link);
  box-shadow: var(--shadow-soft);
}

.topic-figure {
  margin: 0;
  border-bottom: 1px solid var(--line);
}

.topic-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #e6e9ec;
}

.topic-body {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.topic-body h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.topic-body h3 a {
  color: var(--text-main);
}

.topic-body h3 a:hover,
.topic-body h3 a:focus-visible {
  color: var(--link);
}

.topic-meta {
  font-size: 13px;
  color: var(--text-sub);
}

.topic-summary {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-sub);
}

/* 观看路径三步与核验清单 */
.watch-path {
  max-width: var(--w-site);
  margin: 0 auto;
  padding: 40px var(--pad-x) 8px;
}

.watch-inner {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 28px;
  align-items: start;
}

.watch-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.step-box {
  padding: 16px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step-box .step-no {
  margin-bottom: 10px;
}

.step-box h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 6px;
}

.step-box p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-sub);
}

.checklist-box {
  padding: 18px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.checklist-box h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 12px;
}

.checklist-note {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-sub);
}

/* 首页 FAQ 摘选 */
.faq-pick {
  max-width: var(--w-site);
  margin: 0 auto;
  padding: 40px var(--pad-x) 8px;
}

.faq-list {
  margin-top: 18px;
  max-width: 820px;
}

/* 交叉引用区 */
.cross-ref {
  max-width: var(--w-site);
  margin: 0 auto;
  padding: 40px var(--pad-x) 0;
}

.cross-ref-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.cross-ref-item {
  padding: 16px 18px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.cross-ref-item h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 6px;
}

.cross-ref-item p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-sub);
}

/* --------------------------------------------------------------------------
   pages：频道导航（侧栏在左）
   -------------------------------------------------------------------------- */
.page-layout {
  display: grid;
  gap: 32px;
  align-items: start;
}

.sidebar-left {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  margin-top: 24px;
}

.channel-anchor {
  padding: 16px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.aside-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-sub);
  margin-bottom: 10px;
}

.anchor-list li + li {
  margin-top: 2px;
}

.anchor-link {
  display: block;
  padding: 7px 10px;
  font-size: 14px;
  color: var(--text-main);
  border-left: 2px solid transparent;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.anchor-link:hover,
.anchor-link:focus-visible {
  background: #f0f4fa;
  color: var(--link);
  text-decoration: none;
}

.anchor-link.is-active {
  border-left-color: var(--link);
  background: #eef4fb;
  color: var(--link-dark);
  font-weight: 600;
}

.anchor-note {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-sub);
}

.layout-main {
  min-width: 0;
}

.content-section + .content-section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.content-section h2 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-main);
}

.content-section > p {
  max-width: var(--w-read);
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-sub);
}

.content-section .table-wrap {
  margin-top: 18px;
}

.channel-block {
  margin-top: 22px;
  padding: 18px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  scroll-margin-top: 80px;
}

.channel-block h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 6px;
}

.channel-block > p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-sub);
}

.point-list {
  margin-top: 10px;
  display: grid;
  gap: 6px;
}

.point-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-main);
}

.point-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--link);
}

.correspond-list {
  margin-top: 18px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.correspond-item {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 16px;
  padding: 12px 16px;
  font-size: 15px;
  line-height: 1.75;
}

.correspond-item + .correspond-item {
  border-top: 1px solid var(--line);
}

.correspond-channel {
  font-weight: 600;
  color: var(--text-main);
}

.correspond-topics {
  color: var(--text-sub);
}

.rule-list {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.rule-item {
  padding: 16px 18px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--link);
  border-radius: var(--radius);
}

.rule-item h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 4px;
}

.rule-item p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-sub);
}

.rule-example {
  color: var(--link-dark);
}

.section-note {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-sub);
}

/* --------------------------------------------------------------------------
   pages：专题归档（主内容在左，侧栏在右）
   -------------------------------------------------------------------------- */
.topics-layout {
  grid-template-columns: minmax(0, 760px) minmax(0, 320px);
  justify-content: space-between;
  margin-top: 0;
}

.content-main {
  min-width: 0;
}

.archive-intro {
  margin-top: 24px;
}

.archive-intro h2,
.archive-months > h2,
.archive-alternative h2 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-main);
}

.archive-intro > p,
.archive-months > p,
.archive-alternative > p {
  max-width: var(--w-read);
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-sub);
}

.tip-list {
  margin-top: 12px;
  display: grid;
  gap: 6px;
}

.tip-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-main);
}

.tip-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--link);
}

.archive-figure {
  margin: 18px 0 0;
}

.archive-months {
  margin-top: 36px;
}

.month-group {
  margin-top: 22px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  scroll-margin-top: 80px;
}

.month-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: #f0f2f4;
  border-bottom: 1px solid var(--line);
}

.month-header h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
}

.count-tag {
  font-size: 13px;
  color: var(--text-sub);
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1px 8px;
  white-space: nowrap;
}

.archive-entry {
  padding: 14px 16px;
}

.archive-entry + .archive-entry {
  border-top: 1px solid var(--line);
}

.archive-entry h4 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.archive-entry h4 a {
  color: var(--text-main);
}

.archive-entry h4 a:hover,
.archive-entry h4 a:focus-visible {
  color: var(--link);
}

.archive-entry .entry-summary {
  margin-top: 4px;
}

.archive-entry .entry-meta {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.archive-alternative {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.alternative-list {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.alternative-list li {
  padding: 12px 16px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-sub);
}

.alternative-list strong {
  display: block;
  color: var(--text-main);
  margin-bottom: 2px;
}

.content-aside {
  margin-top: 24px;
  display: grid;
  gap: 20px;
  align-content: start;
}

.aside-block {
  padding: 16px 18px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.aside-block h2 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-sub);
  margin-bottom: 10px;
}

.toc-list li + li {
  margin-top: 2px;
}

.toc-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
  font-size: 14px;
  color: var(--text-main);
  border-left: 2px solid transparent;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.toc-link:hover,
.toc-link:focus-visible {
  background: #f0f4fa;
  color: var(--link);
  text-decoration: none;
}

.toc-count {
  font-size: 12px;
  color: var(--text-sub);
}

.channel-link-list li {
  padding: 8px 0;
}

.channel-link-list li + li {
  border-top: 1px dashed var(--line);
}

.channel-link-list a {
  display: block;
  font-size: 15px;
  font-weight: 500;
}

.channel-hint {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-sub);
}

.aside-note {
  background: var(--bg-notice);
  border-color: #e6ddc2;
}

.aside-note p {
  font-size: 14px;
  line-height: 1.8;
  color: #4a4436;
}

/* --------------------------------------------------------------------------
   pages：观看指南
   -------------------------------------------------------------------------- */
.page-title-block {
  background: #eef1f4;
  border-bottom: 1px solid var(--line);
}

.page-title-inner {
  max-width: var(--w-site);
  margin: 0 auto;
  padding: 18px var(--pad-x) 20px;
}

.page-toc {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-toc a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  font-size: 14px;
  color: var(--link-dark);
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.page-toc a:hover,
.page-toc a:focus-visible {
  border-color: var(--link);
  text-decoration: none;
}

.guide-body {
  max-width: var(--w-read);
  margin: 0 auto;
  padding: 8px var(--pad-x) 0;
}

.guide-section {
  padding: 32px 0;
  scroll-margin-top: 80px;
}

.guide-section + .guide-section {
  border-top: 1px solid var(--line);
}

.guide-section h2 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-main);
}

.step-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.step-card {
  padding: 16px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.step-card .step-num {
  margin-bottom: 10px;
}

.step-card h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 6px;
}

.step-card p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-sub);
}

.step-card p + p {
  margin-top: 4px;
}

.step-card .text-link {
  margin-top: 10px;
  font-size: 14px;
}

.verify-layout {
  margin-top: 20px;
  display: grid;
  gap: 18px;
}

.verify-layout .guide-figure {
  margin: 0;
}

.verify-layout .check-list {
  margin-top: 0;
}

.order-list {
  margin-top: 20px;
  display: grid;
  gap: 10px;
  counter-reset: order;
}

.order-item {
  padding: 14px 16px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  counter-increment: order;
}

.order-item h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 4px;
}

.order-item h3::before {
  content: counter(order) ".";
  color: var(--link);
  margin-right: 6px;
}

.order-item p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-sub);
}

.section-foot {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-sub);
}

.section-foot a + a {
  margin-left: 14px;
}

.guide-body .table-wrap {
  margin-top: 18px;
}

.term-table {
  min-width: 0;
}

/* --------------------------------------------------------------------------
   pages：常见问题
   -------------------------------------------------------------------------- */
.faq-jump-list {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.faq-jump-list a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  font-size: 14px;
  color: var(--link-dark);
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.faq-jump-list a:hover,
.faq-jump-list a:focus-visible {
  border-color: var(--link);
  text-decoration: none;
}

.faq-layout {
  grid-template-columns: minmax(0, 1fr) 280px;
  margin-top: 32px;
}

.content-column {
  min-width: 0;
}

.faq-group {
  scroll-margin-top: 80px;
}

.faq-group + .faq-group {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.section-title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-main);
}

.faq-group .section-intro {
  margin-bottom: 14px;
}

.faq-map {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.faq-map-list {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.faq-map-list li {
  padding: 12px 16px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-sub);
}

.faq-map-list strong {
  display: block;
  color: var(--text-main);
  margin-bottom: 2px;
}

.side-column {
  display: grid;
  gap: 20px;
  align-content: start;
}

.side-block {
  padding: 16px 18px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.side-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-sub);
  margin-bottom: 10px;
}

.side-note {
  background: var(--bg-notice);
  border-color: #e6ddc2;
}

.side-note p {
  font-size: 14px;
  line-height: 1.8;
  color: #4a4436;
}

/* --------------------------------------------------------------------------
   pages：关于本站
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--w-site);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.about-position {
  max-width: var(--w-read);
  padding: 32px 0 8px;
}

.about-position h2,
.about-scope h2,
.about-standards h2,
.about-glossary h2,
.about-more h2 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-main);
}

.about-position-body {
  margin-top: 10px;
}

.about-position-body p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-main);
}

.about-position-body p + p {
  margin-top: 12px;
  color: var(--text-sub);
}

.about-figure {
  margin: 20px 0 0;
}

.about-scope {
  max-width: var(--w-read);
  padding: 32px 0 8px;
  border-top: 1px solid var(--line);
  margin-top: 24px;
}

.scope-columns {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.scope-col {
  padding: 16px 18px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.scope-col h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 10px;
}

.scope-col-in h3 {
  color: var(--link-dark);
}

.scope-col-out h3 {
  color: #7a4a2a;
}

.scope-list {
  display: grid;
  gap: 8px;
}

.scope-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-sub);
}

.scope-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--link);
}

.scope-col-out .scope-list li::before {
  background: #b07a4a;
}

.about-standards {
  max-width: var(--w-read);
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.standards-list {
  margin-top: 16px;
  display: grid;
  gap: 12px;
  counter-reset: standard;
}

.standards-list li {
  padding: 14px 16px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  counter-increment: standard;
}

.standards-list h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 4px;
}

.standards-list h3::before {
  content: counter(standard) ".";
  color: var(--link);
  margin-right: 6px;
}

.standards-list p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-sub);
}

.about-glossary {
  max-width: var(--w-read);
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.about-glossary .table-wrap {
  margin-top: 16px;
}

.glossary-table {
  min-width: 0;
}

.glossary-table tbody th {
  width: 130px;
}

.about-more {
  max-width: var(--w-read);
  margin-top: 32px;
  padding-top: 28px;
  padding-bottom: 8px;
  border-top: 1px solid var(--line);
}

.about-more-list {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.about-more-list li {
  padding: 12px 16px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.75;
}

.about-more-list a {
  font-weight: 500;
}

.about-more-list span {
  display: block;
  margin-top: 2px;
  color: var(--text-sub);
}

/* --------------------------------------------------------------------------
   pages：纠错与说明
   -------------------------------------------------------------------------- */
.page-kicker {
  display: inline-block;
  padding: 2px 10px;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--link-dark);
  background: var(--bg-tag);
  border-radius: var(--radius);
  margin-bottom: 10px;
}

.page-hero-meta {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-hero-meta li {
  padding: 2px 10px;
  font-size: 13px;
  color: var(--text-sub);
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.content-shell {
  max-width: var(--w-read);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.content-block {
  padding: 32px 0;
  scroll-margin-top: 80px;
}

.content-block + .content-block {
  border-top: 1px solid var(--line);
}

.content-block h2 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-main);
}

.content-block > p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-sub);
}

.content-block .table-wrap {
  margin-top: 18px;
}

.content-figure {
  margin: 18px 0 0;
}

.step-list {
  margin-top: 20px;
  display: grid;
  gap: 12px;
}

.step-item {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step-body {
  min-width: 0;
}

.step-body h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 4px;
}

.step-body p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-sub);
}

.step-body p + p {
  margin-top: 6px;
}

.step-result {
  padding: 6px 10px;
  background: #f0f4fa;
  border-left: 2px solid var(--link);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--link-dark);
}

.content-block .check-list {
  margin-top: 18px;
}

.content-block .notice-block {
  margin-top: 20px;
}

.ordered-list {
  margin-top: 8px;
  display: grid;
  gap: 6px;
  counter-reset: ordered;
}

.ordered-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.75;
  counter-increment: ordered;
}

.ordered-list li::before {
  content: counter(ordered) ".";
  position: absolute;
  left: 0;
  color: var(--link);
  font-weight: 600;
}

.notice-foot {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.75;
}

.cross-links {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.cross-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.cross-link:hover,
.cross-link:focus-visible {
  border-color: var(--link);
  text-decoration: none;
}

.cross-label {
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--text-sub);
}

.cross-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--link);
}

.cross-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-sub);
}

.related-block {
  padding-bottom: 40px;
}

.related-list {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}

.related-list li {
  padding: 12px 16px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.75;
}

.related-list a {
  font-weight: 500;
}

.related-list span {
  display: block;
  margin-top: 2px;
  color: var(--text-sub);
}

/* --------------------------------------------------------------------------
   pages：404
   -------------------------------------------------------------------------- */
.error-main {
  min-height: 52vh;
}

.error-panel {
  max-width: var(--w-site);
  margin: 0 auto;
  padding: 64px var(--pad-x) 24px;
}

.error-code {
  font-size: 64px;
  font-weight: 600;
  line-height: 1;
  color: var(--link);
}

.error-panel h1 {
  margin-top: 12px;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.35;
}

.error-lead {
  margin-top: 10px;
  max-width: var(--w-read);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-sub);
}

.error-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.error-help {
  max-width: var(--w-site);
  margin: 0 auto;
  padding: 8px var(--pad-x) 56px;
}

.error-help h2 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
}

.error-help > p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-sub);
}

.error-list {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.error-list li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-panel);
}

.error-list a {
  display: block;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   responsive：1080 / 780 / 520 三档
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .hero-figure {
    max-width: 640px;
  }

  .entry-band-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .watch-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .topics-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .content-aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .side-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sidebar-left {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
  }
}

@media (max-width: 780px) {
  :root {
    --pad-x: 18px;
  }

  .header-inner {
    height: 58px;
    gap: 12px;
  }

  .nav-toggle {
    display: flex;
  }

  .primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--bg-panel);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 18px rgba(28, 31, 35, 0.08);
    padding: 8px var(--pad-x) 14px;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border-bottom: 1px solid var(--line);
  }

  .nav-item:last-child {
    border-bottom: 0;
  }

  .nav-item > a {
    flex: 1 1 auto;
    min-height: 44px;
    padding: 0 4px;
    font-size: 16px;
  }

  .dropdown-toggle {
    width: 44px;
    height: 44px;
    margin-left: 0;
  }

  .dropdown-panel {
    position: static;
    flex: 1 1 100%;
    min-width: 0;
    border: 0;
    border-top: 1px dashed var(--line);
    border-radius: 0;
    box-shadow: none;
    padding: 6px 0 10px;
  }

  .dropdown-list a {
    padding: 10px 8px;
    font-size: 15px;
  }

  .page-title {
    font-size: 24px;
  }

  .hero-text h1 {
    font-size: 24px;
  }

  .entry-main h2,
  .channel-index h2,
  .topic-picks h2,
  .watch-path h2,
  .faq-pick h2,
  .cross-ref h2,
  .content-section h2,
  .archive-intro h2,
  .archive-months > h2,
  .archive-alternative h2,
  .guide-section h2,
  .section-title,
  .content-block h2,
  .about-position h2,
  .about-scope h2,
  .about-standards h2,
  .about-glossary h2,
  .about-more h2,
  .error-help h2 {
    font-size: 20px;
  }

  .topic-cards {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .watch-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .cross-ref-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .step-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .scope-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .cross-links {
    grid-template-columns: minmax(0, 1fr);
  }

  .error-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .sidebar-left {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .channel-anchor {
    padding: 12px 14px;
  }

  .anchor-list {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .anchor-list li {
    flex: 0 0 auto;
  }

  .anchor-link {
    white-space: nowrap;
    border-left: 0;
    border-bottom: 2px solid transparent;
    border-radius: var(--radius) var(--radius) 0 0;
    background: #f0f2f4;
  }

  .anchor-link.is-active {
    border-left-color: transparent;
    border-bottom-color: var(--link);
  }

  .anchor-note {
    margin-top: 8px;
  }

  .correspond-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .content-aside,
  .side-column {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    padding-top: 28px;
  }

  .footer-cols {
    gap: 20px;
  }

  .faq-item summary {
    padding: 12px 38px 12px 14px;
    font-size: 15px;
  }

  .error-panel {
    padding-top: 48px;
  }

  .error-code {
    font-size: 52px;
  }

  .error-panel h1 {
    font-size: 24px;
  }
}

@media (max-width: 520px) {
  :root {
    --pad-x: 14px;
  }

  body {
    font-size: 15px;
  }

  .brand {
    font-size: 18px;
  }

  .hero-inner {
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-actions .btn-ghost {
    border: 1px solid var(--line);
    padding: 0 18px;
  }

  .channel-strip-inner {
    padding: 8px var(--pad-x);
    gap: 10px;
  }

  .strip-all {
    margin-left: 0;
  }

  .entry-band,
  .channel-index,
  .topic-picks,
  .watch-path,
  .faq-pick,
  .cross-ref {
    padding-top: 28px;
  }

  .entry-item {
    padding: 12px 14px;
    gap: 10px;
  }

  .entry-side {
    padding: 14px;
  }

  .checklist-box {
    padding: 14px;
  }

  .step-box {
    padding: 14px;
  }

  .index-table,
  .data-table {
    min-width: 480px;
    font-size: 14px;
  }

  .index-table thead th,
  .data-table thead th {
    padding: 8px 10px;
  }

  .index-table tbody th,
  .index-table tbody td,
  .data-table tbody th,
  .data-table tbody td {
    padding: 10px;
  }

  .footer-cols {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .guide-body {
    padding-left: var(--pad-x);
    padding-right: var(--pad-x);
  }

  .content-shell {
    padding-left: var(--pad-x);
    padding-right: var(--pad-x);
  }

  .step-item {
    padding: 14px;
    gap: 10px;
  }

  .page-toc a,
  .faq-jump-list a {
    min-height: 36px;
  }

  .month-header {
    padding: 10px 12px;
  }

  .archive-entry {
    padding: 12px;
  }

  .error-panel {
    padding-top: 36px;
  }

  .error-code {
    font-size: 44px;
  }

  .error-actions .btn {
    width: 100%;
  }
}
