/* ==========================================================================
   高清小姐姐 · 视频内容年鉴
   CSS 分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base
   -------------------------------------------------------------------------- */

:root {
  --paper: #f7f4ef;
  --paper-soft: #efeae1;
  --ink: #1a1917;
  --ink-soft: #3b3733;
  --moss: #4b5b46;
  --moss-deep: #38452f;
  --brick: #8b5a3c;
  --line: #ddd6ca;
  --line-strong: #c9c0b1;
  --mist: #6f6a62;
  --serif: "Noto Serif SC", "Songti SC", "SimSun", "Source Han Serif SC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", "Menlo", "Consolas", "Liberation Mono", monospace;
  --radius: 4px;
  --shell: 1080px;
  --reading: 760px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body.site-body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  font-feature-settings: "tnum" 1;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--moss);
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease;
}

a:hover,
a:focus-visible {
  color: var(--moss-deep);
}

a:focus-visible {
  outline: 2px solid var(--moss);
  outline-offset: 2px;
}

p {
  margin: 0 0 1em;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

h2 {
  font-size: 22px;
}

h3 {
  font-size: 17px;
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

li {
  margin-bottom: 0.4em;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th,
td {
  text-align: left;
  vertical-align: top;
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  cursor: pointer;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   layout · 骨架
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--ink);
  flex: 0 0 auto;
}

.brand:hover,
.brand:focus-visible {
  color: var(--ink);
}

.brand-name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.brand-sub {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--mist);
  line-height: 1.4;
}

.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list li {
  margin: 0;
}

.nav-link {
  display: inline-block;
  padding: 6px 0;
  font-size: 15px;
  color: var(--ink-soft);
  border-bottom: 2px solid transparent;
  line-height: 1.5;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--moss-deep);
  border-bottom-color: var(--line-strong);
}

.nav-link.is-current {
  color: var(--ink);
  font-weight: 600;
  border-bottom-color: var(--moss);
}

.version-badge {
  flex: 0 0 auto;
  margin: 0;
  padding: 5px 10px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  line-height: 1.3;
}

.version-no {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.version-note {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  margin-left: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background-color: transparent;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--ink);
}

.site-main {
  display: block;
}

.home-main,
.inner-main {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px 64px;
}

.inner-main {
  max-width: var(--reading);
  padding-top: 28px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background-color: var(--paper-soft);
}

.footer-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  flex: 0 0 auto;
  min-width: 200px;
}

.footer-name {
  margin: 0 0 2px;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.footer-desc {
  margin: 0;
  font-size: 13px;
  color: var(--mist);
  line-height: 1.6;
}

.footer-nav {
  flex: 1 1 320px;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav li {
  margin: 0;
  font-size: 13px;
}

.footer-nav li + li::before {
  content: "·";
  margin-right: 18px;
  color: var(--line-strong);
}

.footer-nav a {
  color: var(--ink-soft);
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--moss-deep);
}

.footer-note {
  flex: 1 1 100%;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--mist);
  line-height: 1.7;
}

.footer-copy {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px 22px;
  font-size: 12px;
  color: var(--mist);
}

/* --------------------------------------------------------------------------
   components · 通用部件
   -------------------------------------------------------------------------- */

.btn,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
  transition: background-color 0.18s ease, color 0.18s ease,
    border-color 0.18s ease;
}

.btn-primary,
.button-primary {
  background-color: var(--moss);
  border-color: var(--moss);
  color: #fbf9f5;
}

.btn-primary:hover,
.btn-primary:focus-visible,
.button-primary:hover,
.button-primary:focus-visible {
  background-color: var(--moss-deep);
  border-color: var(--moss-deep);
  color: #fbf9f5;
}

.btn-outline,
.button-ghost {
  background-color: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-outline:hover,
.btn-outline:focus-visible,
.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: var(--moss);
  color: var(--moss-deep);
}

.text-link {
  display: inline-block;
  font-size: 14px;
  color: var(--moss);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 1px;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--moss-deep);
  border-bottom-color: var(--moss);
}

.row-link {
  font-size: 14px;
  color: var(--moss);
  white-space: nowrap;
}

.row-link:hover,
.row-link:focus-visible {
  color: var(--moss-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 状态标记 */
.status {
  display: inline-block;
  padding: 1px 8px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: 13px;
  line-height: 1.6;
  color: var(--mist);
  white-space: nowrap;
}

.status-live,
.status-active {
  color: var(--moss-deep);
  border-color: var(--moss);
}

.status-review {
  color: var(--brick);
  border-color: var(--brick);
}

.status-archived {
  color: var(--mist);
  border-color: var(--line-strong);
}

.status-tag {
  display: inline-block;
  padding: 1px 8px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: 13px;
  line-height: 1.6;
  white-space: nowrap;
}

.status-tag.status-active {
  color: var(--moss-deep);
  border-color: var(--moss);
}

.status-tag.status-review {
  color: var(--brick);
  border-color: var(--brick);
}

.status-tag.status-archived {
  color: var(--mist);
}

/* 数据表 */
.data-table {
  width: 100%;
  margin: 0 0 1.5em;
  font-size: 15px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.data-table caption {
  caption-side: top;
  text-align: left;
  padding: 0 0 8px;
  font-size: 13px;
  color: var(--mist);
}

.data-table th,
.data-table td {
  padding: 12px 14px 12px 0;
  border-bottom: 1px solid var(--line);
  line-height: 1.7;
}

.data-table thead th {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--mist);
  border-bottom: 1px solid var(--line-strong);
  padding-top: 8px;
  padding-bottom: 8px;
}

.data-table tbody th {
  font-weight: 600;
  color: var(--ink);
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr {
  transition: background-color 0.16s ease, box-shadow 0.16s ease;
}

.data-table tbody tr:hover {
  background-color: var(--paper-soft);
  box-shadow: inset 3px 0 0 var(--moss);
}

.data-table .cell-name {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.data-table .cell-status {
  white-space: nowrap;
}

.data-table .cell-link {
  text-align: right;
  white-space: nowrap;
}

/* 注释块 */
.note-block {
  max-width: 300px;
  margin: 0 0 1.5em auto;
  padding: 14px 16px;
  background-color: var(--paper-soft);
  border-left: 3px solid var(--moss);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.note-block h2,
.note-block h3,
.note-block .note-title {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--ink);
}

.note-block p {
  margin: 0 0 8px;
}

.note-block p:last-child {
  margin-bottom: 0;
}

.note-block .note-link {
  font-size: 13px;
  color: var(--moss);
  border-bottom: 1px solid var(--line-strong);
}

.note-block .note-link:hover,
.note-block .note-link:focus-visible {
  color: var(--moss-deep);
  border-bottom-color: var(--moss);
}

/* 图片与图注 */
.hero-figure,
.wide-figure,
.content-figure,
.media-figure,
.page-figure {
  margin: 0 0 1.5em;
}

.hero-figure img,
.wide-figure img,
.content-figure img,
.media-figure img,
.page-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  object-fit: cover;
  background-color: var(--paper-soft);
}

.hero-figure figcaption,
.wide-figure figcaption,
.content-figure figcaption,
.media-figure figcaption,
.page-figure figcaption {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
}

.fig-line,
.fig-caption,
.fig-note,
.caption-line {
  display: block;
}

.fig-line + .fig-line,
.caption-line + .caption-line {
  margin-top: 2px;
}

.media-figure .fig-note {
  color: var(--mist);
  font-size: 12px;
}

/* 章节锚点行 */
.section-anchors {
  margin: 0 0 28px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-anchors ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.section-anchors li {
  margin: 0;
}

.section-anchors a {
  display: inline-block;
  padding: 4px 0;
  font-size: 14px;
  color: var(--mist);
  border-bottom: 1px solid transparent;
}

.section-anchors a:hover,
.section-anchors a:focus-visible {
  color: var(--moss-deep);
  border-bottom-color: var(--line-strong);
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 20px;
  font-size: 13px;
  color: var(--mist);
}

.breadcrumb a {
  color: var(--mist);
  border-bottom: 1px solid transparent;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--moss-deep);
  border-bottom-color: var(--line-strong);
}

.breadcrumb-sep {
  color: var(--line-strong);
}

.breadcrumb-current {
  color: var(--ink-soft);
}

/* 页面标题区 */
.page-header {
  margin: 0 0 18px;
}

.page-title {
  margin: 0;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

.page-head {
  margin: 0 0 28px;
}

.page-lead {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin: 0;
  font-size: 13px;
  color: var(--mist);
}

.page-meta .meta-item {
  margin: 0;
}

.page-meta dt {
  display: inline;
  color: var(--mist);
}

.page-meta dt::after {
  content: "：";
}

.page-meta dd {
  display: inline;
  margin: 0;
  color: var(--ink-soft);
}

.page-meta .meta-item + .meta-item::before {
  content: "·";
  margin-right: 22px;
  color: var(--line-strong);
}

/* 正文通用排版 */
.content-section,
.content-block,
.section,
.section-block {
  margin: 0 0 40px;
}

.content-section > h2,
.content-block > h2,
.section > h2,
.section-block > h2 {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}

.section-intro,
.section-lead {
  margin: 0 0 18px;
  color: var(--ink-soft);
}

.section-note {
  font-size: 13px;
  color: var(--mist);
}

/* 编号列表 */
.numbered-list,
.steps-list,
.step-list {
  margin: 0 0 1.5em;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.numbered-list > li,
.steps-list > li,
.step-list > li {
  position: relative;
  margin: 0 0 18px;
  padding-left: 44px;
  counter-increment: step;
}

.numbered-list > li::before,
.steps-list > li::before,
.step-list > li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--moss);
  font-variant-numeric: tabular-nums;
}

.numbered-list > li h3,
.steps-list > li h3,
.step-list > li h3 {
  margin: 0 0 4px;
}

.numbered-list > li p,
.steps-list > li p,
.step-list > li p {
  margin: 0 0 4px;
}

.numbered-list .list-note {
  font-size: 13px;
  color: var(--mist);
}

/* 继续阅读 */
.continue-reading,
.continue-nav,
.read-next {
  margin: 40px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.continue-reading h2,
.continue-nav h2,
.read-next h2,
.continue-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--mist);
  margin: 0 0 10px;
}

.continue-reading ul,
.continue-nav ul,
.read-next ul,
.continue-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.continue-reading li,
.continue-nav li,
.read-next li,
.continue-list li {
  margin: 0;
}

.continue-reading a,
.continue-nav a,
.read-next a,
.continue-list a {
  display: inline-block;
  padding: 4px 0;
  font-size: 15px;
  color: var(--moss);
  border-bottom: 1px solid var(--line-strong);
}

.continue-reading a:hover,
.continue-reading a:focus-visible,
.continue-nav a:hover,
.continue-nav a:focus-visible,
.read-next a:hover,
.read-next a:focus-visible,
.continue-list a:hover,
.continue-list a:focus-visible {
  color: var(--moss-deep);
  border-bottom-color: var(--moss);
}

/* 折叠问答 */
.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  position: relative;
  padding: 14px 34px 14px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  line-height: 1.6;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 18px;
  color: var(--moss);
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:hover,
.faq-item summary:focus-visible {
  color: var(--moss-deep);
}

.faq-item p {
  margin: 0 0 16px;
  padding-right: 24px;
  font-size: 15px;
  color: var(--ink-soft);
}

/* 复制块 */
.copy-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 0 0 1.5em;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--paper-soft);
}

.copy-label {
  margin: 0;
  font-size: 13px;
  color: var(--mist);
}

.copy-value {
  margin: 0;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.copy-button {
  min-height: 36px;
  padding: 4px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background-color: var(--paper);
  font-size: 13px;
  color: var(--ink-soft);
  transition: border-color 0.18s ease, color 0.18s ease;
}

.copy-button:hover,
.copy-button:focus-visible {
  border-color: var(--moss);
  color: var(--moss-deep);
}

/* --------------------------------------------------------------------------
   pages · 首页
   -------------------------------------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: start;
  padding: 56px 0 40px;
}

.hero-text {
  min-width: 0;
}

.hero-text h1 {
  font-size: 38px;
  line-height: 1.3;
  margin: 0 0 16px;
}

.hero-lead {
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink-soft);
  margin: 0 0 24px;
  max-width: 34em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 16px;
}

.hero-note {
  margin: 0;
  font-size: 13px;
  color: var(--mist);
  line-height: 1.7;
}

.hero-figure {
  margin: 0;
}

.hero-figure img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.next-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}

.next-bar p {
  margin: 0;
  font-size: 14px;
  color: var(--mist);
}

.next-link {
  display: inline-block;
  font-size: 14px;
  color: var(--moss);
  white-space: nowrap;
}

.next-link:hover,
.next-link:focus-visible {
  color: var(--moss-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.annual-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}

.summary-main {
  min-width: 0;
}

.summary-main h2 {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}

.summary-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.summary-list li {
  margin: 0 0 16px;
  padding-left: 14px;
  border-left: 2px solid var(--line-strong);
}

.summary-list li:last-child {
  margin-bottom: 0;
}

.summary-list h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.summary-list p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
}

.annual-summary .note-block {
  margin: 0;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}

.section-head h2 {
  margin: 0;
  font-size: 22px;
}

.channel-index,
.collection-preview,
.changelog-preview {
  margin-bottom: 48px;
}

.wide-figure {
  margin: 0 0 48px;
}

.wide-figure img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.wide-figure figcaption {
  padding-left: 2px;
}

.preview-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.preview-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr) auto auto;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.preview-name {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.preview-topic {
  font-size: 14px;
  color: var(--mist);
}

.guide-summary {
  margin-bottom: 48px;
}

.guide-summary .section-head {
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 6px;
}

.guide-summary .section-lead {
  margin: 0 0 18px;
  font-size: 15px;
  color: var(--ink-soft);
}

.guide-summary .step-list {
  margin-bottom: 22px;
}

.guide-summary .step-list > li {
  padding-left: 46px;
}

.guide-summary .step-no {
  position: absolute;
  left: 0;
  top: 1px;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--moss);
}

.guide-summary .step-list > li::before {
  content: none;
}

.guide-summary .step-list p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
}

.closing {
  margin: 0 0 56px;
  padding: 28px 0 0;
  border-top: 1px solid var(--line-strong);
}

.closing h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.closing p {
  margin: 0 0 20px;
  color: var(--ink-soft);
  max-width: 46em;
}

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   pages · 内页布局
   -------------------------------------------------------------------------- */

.page-layout {
  display: block;
}

.page-body,
.content-column,
.page-content {
  min-width: 0;
}

.page-shell {
  min-width: 0;
}

/* 年度概览 */
.coverage-table {
  margin-bottom: 1.5em;
}

.counting-list > li {
  padding-left: 48px;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 0 0 1.5em;
}

.compare-col {
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: #fbf9f5;
}

.compare-col h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.compare-included h3 {
  color: var(--moss-deep);
}

.compare-excluded h3 {
  color: var(--brick);
}

.compare-list {
  margin: 0;
  padding-left: 1.1em;
  font-size: 15px;
}

.compare-list li {
  margin-bottom: 6px;
  color: var(--ink-soft);
}

.compare-list li:last-child {
  margin-bottom: 0;
}

.record-list {
  margin: 0 0 1.5em;
  padding: 0;
  list-style: none;
}

.record-list li {
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.record-list li:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.record-list h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.record-list p {
  margin: 0 0 4px;
  font-size: 15px;
  color: var(--ink-soft);
}

.record-list .record-link {
  margin: 0;
  font-size: 14px;
}

.record-list .record-link a {
  color: var(--moss);
  border-bottom: 1px solid var(--line-strong);
}

.record-list .record-link a:hover,
.record-list .record-link a:focus-visible {
  color: var(--moss-deep);
  border-bottom-color: var(--moss);
}

/* 频道档案 */
.filter-bar {
  margin: 0 0 32px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: #fbf9f5;
}

.filter-title {
  margin: 0 0 6px;
  font-size: 16px;
}

.filter-note {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--mist);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  min-height: 40px;
  padding: 6px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background-color: transparent;
  font-size: 14px;
  color: var(--ink-soft);
  transition: border-color 0.18s ease, color 0.18s ease,
    background-color 0.18s ease;
}

.filter-btn:hover,
.filter-btn:focus-visible {
  border-color: var(--moss);
  color: var(--moss-deep);
}

.filter-btn.is-active {
  background-color: var(--moss);
  border-color: var(--moss);
  color: #fbf9f5;
}

.channel-table-section,
.status-legend,
.channel-mapping {
  margin-bottom: 36px;
}

.channel-table-section > h2,
.status-legend > h2,
.channel-mapping > h2 {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}

.status-table .cell-name {
  font-weight: 600;
  color: var(--ink);
}

.mapping-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mapping-item {
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: #fbf9f5;
}

.mapping-item:last-child {
  margin-bottom: 0;
}

.mapping-name {
  margin: 0 0 4px;
  font-size: 16px;
}

.mapping-desc {
  margin: 0 0 6px;
  font-size: 15px;
  color: var(--ink-soft);
}

.mapping-link {
  font-size: 14px;
  color: var(--moss);
  border-bottom: 1px solid var(--line-strong);
}

.mapping-link:hover,
.mapping-link:focus-visible {
  color: var(--moss-deep);
  border-bottom-color: var(--moss);
}

.channel-figure img {
  height: 280px;
  object-fit: cover;
}

.channels-page .note-block {
  margin-bottom: 0;
}

/* 专题片单 */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 0 0 1.5em;
}

.table-wrap .data-table {
  margin-bottom: 0;
  min-width: 520px;
}

.basis-item {
  margin: 0 0 18px;
  padding-left: 14px;
  border-left: 2px solid var(--line-strong);
}

.basis-item:last-child {
  margin-bottom: 0;
}

.basis-item h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.basis-item p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
}

.steps-list .step-item {
  padding-left: 48px;
}

.steps-list .step-item h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.steps-list .step-item p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
}

.media-figure img {
  height: 300px;
  object-fit: cover;
}

/* 观看须知 */
.flow-list {
  margin: 0 0 1.5em;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  counter-reset: flow;
}

.flow-list > li {
  position: relative;
  margin: 0;
  padding: 16px 16px 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: #fbf9f5;
  min-width: 0;
}

.flow-index {
  display: block;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--moss);
  margin-bottom: 6px;
}

.flow-list h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.flow-list p {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--ink-soft);
}

.flow-list .text-link {
  font-size: 13px;
}

.step-standard {
  margin: 0 0 1em;
  padding: 12px 16px;
  border-left: 3px solid var(--moss);
  background-color: var(--paper-soft);
  font-size: 14px;
  color: var(--ink-soft);
}

.guide-main .page-aside,
.page-aside {
  min-width: 0;
}

.page-aside {
  margin: 0 0 1.5em auto;
  max-width: 300px;
  padding: 14px 16px;
  background-color: var(--paper-soft);
  border-left: 3px solid var(--moss);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.page-aside h2 {
  font-size: 15px;
  margin: 0 0 6px;
  color: var(--ink);
}

.page-aside p {
  margin: 0 0 8px;
}

.page-aside p:last-child {
  margin-bottom: 0;
}

/* 版本记录 */
.batch-item {
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.batch-item:last-child {
  margin-bottom: 0;
  border-bottom: 0;
  padding-bottom: 0;
}

.batch-item h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.batch-item p {
  margin: 0 0 4px;
  font-size: 15px;
  color: var(--ink-soft);
}

.batch-item p:last-child {
  margin-bottom: 0;
}

.content-column .note-block {
  margin-bottom: 0;
}

/* 反馈说明 */
.feedback-type-list {
  margin: 0 0 1.5em;
  padding: 0;
  list-style: none;
}

.feedback-type-item {
  position: relative;
  margin: 0 0 16px;
  padding: 14px 16px 14px 56px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: #fbf9f5;
}

.feedback-type-item:last-child {
  margin-bottom: 0;
}

.type-index {
  position: absolute;
  left: 16px;
  top: 15px;
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 600;
  color: var(--moss);
  line-height: 1.4;
}

.type-name {
  margin: 0 0 4px;
  font-size: 16px;
}

.type-desc {
  margin: 0 0 6px;
  font-size: 15px;
  color: var(--ink-soft);
}

.type-link {
  margin: 0;
  font-size: 14px;
}

.type-link a {
  color: var(--moss);
  border-bottom: 1px solid var(--line-strong);
}

.type-link a:hover,
.type-link a:focus-visible {
  color: var(--moss-deep);
  border-bottom-color: var(--moss);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 1.5em;
}

.info-card {
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: #fbf9f5;
}

.info-card-title {
  margin: 0 0 8px;
  font-size: 15px;
}

.info-list {
  margin: 0;
  padding-left: 1.1em;
  font-size: 14px;
  color: var(--ink-soft);
}

.info-list li {
  margin-bottom: 4px;
}

.info-list li:last-child {
  margin-bottom: 0;
}

.scope-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 0 0 1.5em;
}

.scope-column {
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: #fbf9f5;
}

.scope-column-title {
  margin: 0 0 10px;
  font-size: 16px;
  color: var(--moss-deep);
}

.scope-list {
  margin: 0;
  padding-left: 1.1em;
  font-size: 15px;
  color: var(--ink-soft);
}

.scope-list li {
  margin-bottom: 6px;
}

.scope-list li:last-child {
  margin-bottom: 0;
}

.exclude-list {
  margin: 0 0 1.5em;
  padding: 0;
  list-style: none;
}

.exclude-item {
  margin: 0 0 10px;
  padding: 12px 16px;
  border-left: 3px solid var(--brick);
  background-color: var(--paper-soft);
  font-size: 15px;
  color: var(--ink-soft);
}

.exclude-item:last-child {
  margin-bottom: 0;
}

.exclude-item strong {
  display: block;
  color: var(--brick);
  margin-bottom: 2px;
  font-weight: 600;
}

.feedback-main .page-aside {
  margin-bottom: 0;
}

/* 404 */
.error-main {
  max-width: var(--reading);
  margin: 0 auto;
  padding: 64px 24px 80px;
}

.error-inner {
  min-width: 0;
}

.error-code {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.error-inner h1 {
  font-size: 32px;
  margin: 0 0 14px;
}

.error-lead {
  margin: 0 0 24px;
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 34em;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 36px;
}

.error-hints {
  margin: 0 0 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.error-hints h2 {
  font-size: 18px;
  margin: 0 0 12px;
}

.error-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.error-list li {
  margin: 0 0 10px;
  padding-left: 14px;
  border-left: 2px solid var(--line-strong);
  font-size: 15px;
}

.error-list li:last-child {
  margin-bottom: 0;
}

.error-list a {
  color: var(--moss);
  border-bottom: 1px solid var(--line-strong);
}

.error-list a:hover,
.error-list a:focus-visible {
  color: var(--moss-deep);
  border-bottom-color: var(--moss);
}

.error-note {
  margin: 0;
  font-size: 14px;
  color: var(--mist);
}

.error-note a {
  color: var(--moss);
  border-bottom: 1px solid var(--line-strong);
}

.error-note a:hover,
.error-note a:focus-visible {
  color: var(--moss-deep);
  border-bottom-color: var(--moss);
}

/* --------------------------------------------------------------------------
   responsive
   -------------------------------------------------------------------------- */

@media (max-width: 960px) {
  .header-inner {
    gap: 16px;
    padding: 12px 20px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    order: 4;
    flex: 1 1 100%;
    margin-left: 0;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 0 10px;
    border-top: 1px solid var(--line);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li {
    border-bottom: 1px solid var(--line);
  }

  .nav-list li:last-child {
    border-bottom: 0;
  }

  .nav-link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 4px;
    border-bottom: 0;
    font-size: 16px;
  }

  .nav-link.is-current {
    color: var(--moss-deep);
    border-bottom: 0;
  }

  .version-badge {
    margin-left: 0;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 36px 0 32px;
  }

  .hero-text h1 {
    font-size: 30px;
  }

  .hero-figure img {
    height: 260px;
  }

  .annual-summary {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .annual-summary .note-block,
  .note-block {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .page-aside {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .preview-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 16px;
  }

  .preview-name {
    grid-column: 1;
  }

  .preview-topic {
    grid-column: 1;
  }

  .preview-row .status {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .preview-row .row-link {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
  }

  .wide-figure img {
    height: 240px;
  }

  .flow-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  body.site-body {
    font-size: 15px;
  }

  .header-inner,
  .footer-inner,
  .footer-copy {
    padding-left: 16px;
    padding-right: 16px;
  }

  .home-main,
  .inner-main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .inner-main {
    padding-top: 20px;
  }

  .brand-name {
    font-size: 18px;
  }

  .version-badge {
    padding: 4px 8px;
  }

  .version-no {
    font-size: 11px;
  }

  .version-note {
    font-size: 9px;
  }

  .hero {
    padding: 28px 0 24px;
    gap: 22px;
  }

  .hero-text h1 {
    font-size: 26px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-figure img {
    height: 200px;
  }

  .next-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .page-title {
    font-size: 26px;
  }

  .page-lead {
    font-size: 16px;
  }

  .page-meta {
    flex-direction: column;
    gap: 4px;
  }

  .page-meta .meta-item + .meta-item::before {
    content: none;
    margin: 0;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .section-head h2 {
    font-size: 19px;
  }

  .hero-text h1,
  .page-title,
  .error-inner h1 {
    word-break: break-word;
  }

  /* 表格折为两行式条目 */
  .data-table thead {
    display: none;
  }

  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table th,
  .data-table td {
    display: block;
    width: 100%;
  }

  .data-table {
    border-top: 1px solid var(--line-strong);
  }

  .data-table tbody tr {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .data-table tbody tr:last-child {
    border-bottom: 0;
  }

  .data-table tbody tr:hover {
    box-shadow: none;
  }

  .data-table th,
  .data-table td {
    padding: 2px 0;
    border-bottom: 0;
    text-align: left;
    white-space: normal;
  }

  .data-table tbody th {
    font-size: 16px;
    margin-bottom: 2px;
  }

  .data-table .cell-link {
    text-align: left;
    padding-top: 6px;
  }

  .data-table .cell-name {
    white-space: normal;
  }

  .table-wrap .data-table {
    min-width: 0;
  }

  .compare-grid,
  .scope-columns,
  .info-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .preview-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 12px 0;
  }

  .preview-row .status,
  .preview-row .row-link {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }

  .wide-figure img,
  .channel-figure img,
  .media-figure img {
    height: 200px;
  }

  .numbered-list > li,
  .steps-list > li,
  .step-list > li,
  .guide-summary .step-list > li,
  .counting-list > li {
    padding-left: 38px;
  }

  .feedback-type-item {
    padding: 14px 14px 14px 48px;
  }

  .type-index {
    left: 14px;
    font-size: 16px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 14px;
  }

  .footer-nav {
    flex: 1 1 auto;
  }

  .footer-nav ul {
    gap: 6px 12px;
  }

  .footer-nav li + li::before {
    margin-right: 12px;
  }

  .footer-note {
    padding-top: 10px;
  }

  .continue-reading ul,
  .continue-nav ul,
  .read-next ul,
  .continue-list {
    flex-direction: column;
    gap: 4px;
  }

  .error-main {
    padding: 40px 16px 56px;
  }

  .error-inner h1 {
    font-size: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
