/* ==========================================================================
   麻花高清 shuangguo168.com — 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base
   -------------------------------------------------------------------------- */
:root {
  --paper: #faf7f2;
  --panel: #ffffff;
  --ink: #1f2a26;
  --text: #3a352f;
  --muted: #6b665e;
  --pine: #2f6b58;
  --pine-dark: #245448;
  --clay: #c96a3f;
  --olive: #7a8f3a;
  --terracotta: #a8562f;
  --slateblue: #4a6d8c;
  --line: #e6dfd4;
  --soft: #f3eee5;
  --radius-card: 8px;
  --radius-tag: 6px;
  --shadow-card: 0 1px 2px rgba(31, 42, 38, 0.05);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--paper);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.35;
}

h1 {
  font-size: 32px;
  line-height: 1.3;
}

h2 {
  font-size: 22px;
}

h3 {
  font-size: 17px;
}

p {
  margin: 0 0 12px;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--pine);
  text-decoration: none;
}

a:hover {
  color: var(--pine-dark);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

time,
.record-date,
.update-date {
  font-variant-numeric: tabular-nums;
}

button {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--pine);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   layout · 全站骨架
   -------------------------------------------------------------------------- */
.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--pine);
  color: #fff;
  border-radius: var(--radius-tag);
  transition: top 0.18s ease;
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

/* 页头 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  min-height: 64px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  flex: 0 0 auto;
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  padding: 8px 0;
}

.brand:hover {
  color: var(--pine);
}

.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: 15px;
  color: var(--text);
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.nav-link:hover {
  color: var(--pine);
  border-bottom-color: var(--line);
}

.nav-link.is-current {
  color: var(--ink);
  font-weight: 700;
  border-bottom-color: var(--pine);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0 11px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-tag);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 1px;
}

/* 主内容容器 */
.site-main {
  flex: 1 0 auto;
  width: 100%;
}

.home-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 56px;
}

.inner-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 56px;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 0 4px;
  font-size: 14px;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--pine);
  text-decoration: underline;
}

.breadcrumb-sep {
  color: #b6ae9f;
}

.breadcrumb-current {
  color: var(--ink);
  font-weight: 600;
}

/* 内页标题 */
.page-header {
  padding: 8px 0 16px;
}

.page-title {
  font-size: 32px;
  line-height: 1.3;
  color: var(--ink);
  font-weight: 700;
}

/* 页脚 */
.site-footer {
  background: var(--panel);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 24px 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
}

.footer-col {
  min-width: 0;
}

.footer-brand-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.footer-slogan {
  color: var(--text);
  margin-bottom: 8px;
}

.footer-boundary {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 10px;
}

.footer-nav-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 16px;
}

.footer-nav-list a,
.footer-extra-list a {
  display: inline-block;
  padding: 5px 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-nav-list a:hover,
.footer-extra-list a:hover {
  color: var(--pine);
  text-decoration: underline;
}

.footer-extra-list {
  margin-bottom: 14px;
}

.footer-extra-list:last-child {
  margin-bottom: 0;
}

.footer-note {
  border-top: 1px solid var(--line);
  padding: 16px 24px;
}

.footer-note p {
  max-width: var(--container);
  margin: 0 auto;
  font-size: 13px;
  color: var(--muted);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 14px 24px 20px;
}

.footer-bottom p {
  max-width: var(--container);
  margin: 0 auto;
  font-size: 13px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   components · 通用
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-tag);
  border: 1px solid transparent;
  transition: background-color 0.18s ease, border-color 0.18s ease,
    color 0.18s ease;
}

.btn-primary {
  background: var(--pine);
  color: #fff;
  border-color: var(--pine);
}

.btn-primary:hover {
  background: var(--pine-dark);
  border-color: var(--pine-dark);
  color: #fff;
}

.btn-ghost {
  background: var(--panel);
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--pine);
  color: var(--pine);
}

/* 字段标签 */
.tag,
.field-tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-tag);
  line-height: 1.5;
}

.tag-strong {
  color: var(--pine);
  background: #eaf1ed;
  border-color: #cfe0d7;
}

.field-tag-olive {
  color: #4f5f22;
  background: #f0f2e3;
  border-color: #dbe0c4;
}

.field-tag-clay {
  color: #8c4527;
  background: #f8ece4;
  border-color: #efd6c6;
}

.field-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* 区块标题 */
.section-head {
  margin-bottom: 20px;
}

.section-head h2 {
  margin-bottom: 6px;
}

.section-head p {
  color: var(--muted);
  font-size: 15px;
  max-width: 760px;
}

.section-lead,
.section-intro,
.section-desc,
.page-lead,
.page-title-lead,
.form-note-lead {
  color: var(--muted);
  font-size: 15px;
  max-width: 780px;
}

.section-foot,
.table-note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
}

/* 编号步骤 */
.step-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}

.step-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  position: relative;
  padding-left: 0;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--pine);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.step-body {
  min-width: 0;
  padding-top: 3px;
}

.step-body h3,
.step-title {
  font-size: 17px;
  margin-bottom: 4px;
  color: var(--ink);
}

.step-body p,
.step-desc {
  color: var(--text);
  font-size: 15px;
}

/* 表格 */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--panel);
}

.data-table,
.record-table,
.channel-table {
  width: 100%;
  min-width: 560px;
  font-size: 15px;
  background: var(--panel);
}

.data-table th,
.data-table td,
.record-table th,
.record-table td,
.channel-table th,
.channel-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.data-table thead th,
.record-table thead th,
.channel-table thead th {
  background: #eef3ef;
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

.data-table tbody th,
.record-table tbody th {
  color: var(--ink);
  font-weight: 600;
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td,
.record-table tbody tr:last-child th,
.record-table tbody tr:last-child td,
.channel-table tbody tr:last-child th,
.channel-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover,
.record-table tbody tr:hover,
.channel-table tbody tr:hover {
  background: #fbf9f5;
}

.table-caption {
  caption-side: top;
  text-align: left;
  padding: 12px 16px 0;
  font-size: 14px;
  color: var(--muted);
}

/* 相关入口条 */
.related-bar {
  margin-top: 40px;
  padding: 20px 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
}

.related-bar-text,
.related-text {
  margin: 0;
  color: var(--text);
  font-size: 15px;
}

.related-bar-links,
.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.related-bar-links a,
.related-links a {
  font-weight: 600;
  font-size: 15px;
  color: var(--pine);
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s ease;
}

.related-bar-links a:hover,
.related-links a:hover {
  border-bottom-color: var(--pine);
}

.related-links-label {
  font-size: 14px;
  color: var(--muted);
}

.related-links-item {
  font-weight: 600;
  color: var(--pine);
}

/* --------------------------------------------------------------------------
   pages · 首页
   -------------------------------------------------------------------------- */
.hero {
  padding: 40px 0 48px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.hero-copy {
  min-width: 0;
  padding-top: 8px;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--clay);
  margin-bottom: 12px;
}

.hero-copy h1 {
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 20px;
  max-width: 520px;
}

.hero-copy .field-tags {
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-table {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-figure {
  width: 100%;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--soft);
}

.hero-figure img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.channel-table {
  min-width: 480px;
  font-size: 14px;
}

.channel-table caption {
  caption-side: top;
  text-align: left;
  padding: 12px 16px 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.channel-table td,
.channel-table th {
  padding: 10px 14px;
}

.table-source {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

/* 重点频道行 */
.channel-rows {
  padding: 16px 0 40px;
  border-top: 1px solid var(--line);
}

.channel-row-list {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.channel-rows .channel-row {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.18s ease;
}

.channel-rows .channel-row:last-child {
  border-bottom: 0;
}

.channel-rows .channel-row:hover {
  background: #fbf9f5;
}

.channel-swatch {
  display: block;
  width: 8px;
  height: 44px;
  border-radius: 4px;
}

.swatch-olive {
  background: var(--olive);
}

.swatch-terracotta {
  background: var(--terracotta);
}

.swatch-blue {
  background: var(--slateblue);
}

.channel-row-body {
  min-width: 0;
}

.channel-row-title {
  font-size: 17px;
  margin-bottom: 4px;
}

.channel-row-title a {
  color: var(--ink);
}

.channel-row-title a:hover {
  color: var(--pine);
}

.channel-row-desc {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 8px;
}

.channel-row-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.channel-row-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--pine);
  white-space: nowrap;
  padding: 8px 0;
}

.channel-row-link:hover {
  color: var(--pine-dark);
  text-decoration: underline;
}

/* 专题片单焦点区 */
.feature-collections {
  padding: 16px 0 40px;
  border-top: 1px solid var(--line);
}

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.collection-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.collection-card:hover {
  border-color: #cfc6b6;
  transform: translateY(-2px);
}

.collection-figure {
  width: 100%;
  overflow: hidden;
  background: var(--soft);
}

.collection-figure img {
  width: 100%;
  object-fit: cover;
}

.collection-card-main .collection-figure img {
  height: 260px;
}

.collection-body {
  padding: 18px 20px 20px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.collection-stage {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--clay);
  margin: 0;
}

.collection-title {
  font-size: 20px;
  margin: 0;
}

.collection-title a {
  color: var(--ink);
}

.collection-title a:hover {
  color: var(--pine);
}

.collection-desc {
  font-size: 15px;
  color: var(--text);
  margin: 0;
}

.collection-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.collection-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.collection-card-sub {
  flex: 1 1 0;
}

.collection-card-sub .collection-figure img {
  height: 128px;
}

.collection-card-sub .collection-body {
  padding: 14px 16px 16px;
  gap: 6px;
}

.collection-card-sub .collection-title {
  font-size: 17px;
}

.collection-card-sub .collection-desc {
  font-size: 14px;
  color: var(--muted);
}

/* 观看准备与字段 */
.prepare-fields {
  padding: 16px 0 40px;
  border-top: 1px solid var(--line);
}

.prepare-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.field-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 22px;
  min-width: 0;
}

.field-samples {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.field-sample {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
}

.field-sample:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.field-sample p {
  margin: 0;
  font-size: 15px;
  color: var(--text);
}

.field-panel-note {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

.field-panel-note a {
  font-weight: 600;
}

/* 入口核验要点 */
.entry-check-points {
  padding: 16px 0 40px;
  border-top: 1px solid var(--line);
}

.check-point-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 22px;
}

.check-point {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 6px 14px;
  align-items: start;
}

.check-num {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f8ece4;
  color: var(--clay);
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.check-title {
  font-size: 17px;
  margin: 0;
  padding-top: 4px;
}

.check-desc {
  font-size: 15px;
  color: var(--text);
  margin: 0;
}

.check-more {
  margin-top: 16px;
  font-size: 15px;
}

.check-more a {
  font-weight: 600;
}

/* 近期编排更新 */
.updates-brief {
  padding: 16px 0 40px;
  border-top: 1px solid var(--line);
}

.update-list {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.update-row {
  display: grid;
  grid-template-columns: 110px 90px minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 16px;
  align-items: baseline;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.update-row:last-child {
  border-bottom: 0;
}

.update-date {
  color: var(--muted);
  font-size: 14px;
}

.update-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 1px 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--pine);
  background: #eaf1ed;
  border: 1px solid #cfe0d7;
  border-radius: var(--radius-tag);
}

.update-target {
  color: var(--ink);
  font-weight: 600;
  min-width: 0;
}

.update-note {
  color: var(--muted);
  font-size: 14px;
  min-width: 0;
}

.update-more {
  margin-top: 14px;
  font-size: 15px;
}

.update-more a {
  font-weight: 600;
}

/* 常见问题 */
.faq {
  padding: 16px 0 40px;
  border-top: 1px solid var(--line);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 0 20px;
}

.faq-question {
  position: relative;
  padding: 16px 40px 16px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--pine);
  line-height: 1;
  transition: transform 0.18s ease;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-question:hover {
  color: var(--pine);
}

.faq-answer {
  padding: 0 0 18px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.faq-answer p {
  font-size: 15px;
  color: var(--text);
}

/* 反馈入口条 */
.feedback-bar {
  padding: 0 0 8px;
}

.feedback-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  background: #eef3ef;
  border: 1px solid #d7e3db;
  border-radius: var(--radius-card);
}

.feedback-bar-inner h2 {
  font-size: 19px;
  margin-bottom: 4px;
}

.feedback-bar-inner p {
  font-size: 15px;
  color: var(--text);
  margin: 0;
  max-width: 620px;
}

/* --------------------------------------------------------------------------
   pages · 内页标题区（全站统一）
   -------------------------------------------------------------------------- */
.page-title {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 32px;
  align-items: center;
  padding: 8px 0 32px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.page-title-copy,
.page-title-text {
  min-width: 0;
}

.page-title-lead,
.page-lead {
  margin: 0 0 14px;
  font-size: 16px;
  color: var(--text);
  max-width: 560px;
}

.page-title .field-tags {
  margin: 0;
}

.page-title-media {
  min-width: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--soft);
}

.page-title-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.page-title-media figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--muted);
  background: var(--panel);
  border-top: 1px solid var(--line);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   pages · 频道目录
   -------------------------------------------------------------------------- */
.anchor-index {
  padding: 4px 0 28px;
}

.anchor-index-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.anchor-pill {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color 0.18s ease, color 0.18s ease,
    background-color 0.18s ease;
}

.anchor-pill:hover {
  color: var(--pine);
  border-color: var(--pine);
  background: #f2f7f4;
}

.channel-group {
  padding: 8px 0 32px;
  scroll-margin-top: 84px;
}

.channel-group-head {
  margin-bottom: 16px;
}

.channel-group-head h2 {
  font-size: 22px;
  margin-bottom: 6px;
  padding-left: 12px;
  border-left: 3px solid var(--pine);
}

.channel-group-desc {
  color: var(--muted);
  font-size: 15px;
  max-width: 780px;
}

.channel-rows {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.channel-group .channel-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.18s ease;
}

.channel-group .channel-row:last-child {
  border-bottom: 0;
}

.channel-group .channel-row:hover {
  background: #fbf9f5;
}

.channel-row-body {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  min-width: 0;
}

.channel-mark {
  display: block;
  width: 8px;
  height: 40px;
  border-radius: 4px;
  margin-top: 4px;
}

.channel-mark-olive {
  background: var(--olive);
}

.channel-mark-terracotta {
  background: var(--terracotta);
}

.channel-mark-slateblue {
  background: var(--slateblue);
}

.channel-row-main {
  min-width: 0;
}

.channel-row-name {
  font-size: 17px;
  margin-bottom: 4px;
}

.channel-row-summary {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 8px;
}

.channel-row-main .field-tags {
  gap: 8px;
}

/* 频道目录底部说明卡 */
.form-note {
  padding: 24px 0 32px;
  border-top: 1px solid var(--line);
}

.form-note h2 {
  font-size: 22px;
  margin-bottom: 6px;
}

.form-note-lead {
  margin-bottom: 18px;
}

.form-note-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.form-note-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 18px 20px;
  min-width: 0;
}

.form-note-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.form-note-card p {
  font-size: 15px;
  color: var(--text);
  margin: 0;
}

/* --------------------------------------------------------------------------
   pages · 专题片单
   -------------------------------------------------------------------------- */
.stage-index {
  padding: 4px 0 32px;
}

.stage-index h2 {
  font-size: 20px;
  margin-bottom: 6px;
}

.stage-index .section-intro {
  margin-bottom: 16px;
}

.stage-index-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.stage-pill {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 16px 18px;
  min-width: 0;
  transition: border-color 0.18s ease;
}

.stage-pill:hover {
  border-color: #cfc6b6;
}

.stage-pill-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 16px;
  font-weight: 700;
  color: var(--pine);
  margin-bottom: 4px;
}

.stage-pill-note {
  display: block;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.stage-group {
  padding: 8px 0 32px;
  scroll-margin-top: 84px;
}

.stage-group-head {
  margin-bottom: 16px;
}

.stage-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 1px 10px;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #8c4527;
  background: #f8ece4;
  border: 1px solid #efd6c6;
  border-radius: var(--radius-tag);
}

.stage-group-head h2 {
  font-size: 22px;
  margin-bottom: 6px;
}

.stage-group-intro {
  font-size: 15px;
  color: var(--muted);
  max-width: 780px;
}

.collection-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.collection-row {
  min-width: 0;
}

.collection-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 18px 22px;
  min-width: 0;
  transition: border-color 0.18s ease;
}

.collection-item:hover {
  border-color: #cfc6b6;
}

.collection-name {
  font-size: 17px;
  margin-bottom: 10px;
}

.collection-item .collection-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 20px;
  margin: 0;
}

.field-pair {
  min-width: 0;
}

.field-pair dt {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 2px;
}

.field-pair dd {
  margin: 0;
  font-size: 15px;
  color: var(--text);
}

.usage-notes {
  padding: 8px 0 32px;
  scroll-margin-top: 84px;
}

.usage-notes h2 {
  font-size: 22px;
  margin-bottom: 6px;
}

.usage-notes .section-intro {
  margin-bottom: 18px;
}

.usage-media {
  max-width: 100%;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--soft);
  margin-bottom: 20px;
}

.usage-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.usage-media figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--muted);
  background: var(--panel);
  border-top: 1px solid var(--line);
}

.usage-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.usage-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 4px 14px;
  align-items: start;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 16px 20px;
}

.usage-item .step-num {
  grid-row: span 2;
}

.usage-item h3 {
  font-size: 16px;
  margin: 0;
  padding-top: 4px;
}

.usage-item p {
  font-size: 15px;
  color: var(--text);
  margin: 0;
}

/* --------------------------------------------------------------------------
   pages · 观看指南
   -------------------------------------------------------------------------- */
.field-table,
.prepare-list,
.troubleshoot-order,
.viewing-rhythm {
  padding: 8px 0 32px;
}

.field-table .section-head,
.prepare-list .section-head,
.troubleshoot-order .section-head,
.viewing-rhythm .section-head {
  margin-bottom: 18px;
}

.prepare-list .checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
}

.checklist-item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 14px 16px;
  min-width: 0;
}

.checklist-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 4px;
  border: 1px solid #cfe0d7;
  background: #eaf1ed;
  color: var(--pine);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.checklist-mark::before {
  content: "✓";
}

.checklist-item p {
  margin: 0;
  font-size: 15px;
  color: var(--text);
}

.checklist-item strong {
  color: var(--ink);
  font-weight: 600;
}

.rhythm-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.rhythm-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 18px 20px;
  min-width: 0;
}

.rhythm-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.rhythm-case {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--clay);
  margin-bottom: 8px;
}

.rhythm-card p:last-child {
  font-size: 15px;
  color: var(--text);
}

.related-links[aria-label="相关内容"] {
  margin-top: 8px;
  padding: 16px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  align-items: center;
}

/* --------------------------------------------------------------------------
   pages · 入口核验
   -------------------------------------------------------------------------- */
.checklist,
.fake-feature-table,
.handle-steps {
  padding: 8px 0 32px;
}

.checklist h2,
.fake-feature-table h2,
.handle-steps h2 {
  font-size: 22px;
  margin-bottom: 6px;
}

.checklist .section-lead,
.fake-feature-table .section-lead,
.handle-steps .section-lead {
  margin-bottom: 18px;
}

.checklist .step-list {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 22px;
  gap: 20px;
}

.handle-steps .step-list {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 22px;
  gap: 20px;
}

.section-action {
  margin-top: 18px;
  font-size: 15px;
}

.link-strong {
  font-weight: 600;
  color: var(--pine);
  border-bottom: 1px solid var(--pine);
}

.link-strong:hover {
  color: var(--pine-dark);
}

/* --------------------------------------------------------------------------
   pages · 更新记录
   -------------------------------------------------------------------------- */
.change-table-section,
.record-rules,
.feedback-location {
  padding: 8px 0 32px;
}

.change-table-section h2,
.record-rules h2,
.feedback-location h2 {
  font-size: 22px;
  margin-bottom: 6px;
}

.change-table-section .section-lead,
.record-rules .section-lead {
  margin-bottom: 18px;
}

.record-table {
  min-width: 680px;
  font-size: 15px;
}

.record-date {
  white-space: nowrap;
  color: var(--muted);
  font-size: 14px;
}

.record-type {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 1px 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius-tag);
  border: 1px solid transparent;
  white-space: nowrap;
}

.record-type-add {
  color: #4f5f22;
  background: #f0f2e3;
  border-color: #dbe0c4;
}

.record-type-adjust {
  color: #8c4527;
  background: #f8ece4;
  border-color: #efd6c6;
}

.record-type-field {
  color: #33536e;
  background: #eaf0f5;
  border-color: #cddbe6;
}

.record-type-text {
  color: var(--muted);
  background: var(--soft);
  border-color: var(--line);
}

.rule-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rule-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--pine);
  border-radius: var(--radius-card);
  padding: 16px 20px;
  min-width: 0;
}

.rule-item h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.rule-item p {
  font-size: 15px;
  color: var(--text);
  margin: 0;
}

.feedback-location p {
  font-size: 15px;
  color: var(--text);
  max-width: 820px;
  margin-bottom: 10px;
}

.inline-link-row {
  margin-top: 4px;
}

.text-link {
  font-weight: 600;
  color: var(--pine);
  border-bottom: 1px solid var(--pine);
}

.text-link:hover {
  color: var(--pine-dark);
}

/* --------------------------------------------------------------------------
   pages · 提交建议
   -------------------------------------------------------------------------- */
.feedback-types,
.process-steps,
.boundary-notes {
  padding: 8px 0 32px;
}

.feedback-types .section-head,
.process-steps .section-head,
.boundary-notes .section-head {
  margin-bottom: 18px;
}

.feedback-types .data-table {
  min-width: 640px;
}

.process-steps .step-list {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 22px;
  gap: 20px;
}

.note-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.note-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 16px 20px;
  min-width: 0;
}

.note-title {
  font-size: 16px;
  margin-bottom: 6px;
}

.note-item p {
  font-size: 15px;
  color: var(--text);
  margin: 0;
}

/* --------------------------------------------------------------------------
   pages · 404
   -------------------------------------------------------------------------- */
.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 24px 72px;
}

.error-panel {
  width: 100%;
  max-width: 640px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 40px 36px;
  text-align: left;
}

.error-code {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--clay);
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}

.error-title {
  font-size: 28px;
  margin-bottom: 14px;
}

.error-text {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 12px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 24px;
}

.error-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.error-links a {
  font-weight: 600;
  font-size: 15px;
  color: var(--pine);
}

.error-links a:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   responsive
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .header-inner {
    padding: 0 18px;
    gap: 12px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-left: 0;
    background: var(--panel);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 18px rgba(31, 42, 38, 0.08);
    padding: 8px 18px 16px;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    display: none;
  }

  .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;
    min-height: 48px;
    padding: 0 6px;
    border-bottom: 0;
  }

  .nav-link.is-current {
    border-bottom: 0;
    color: var(--pine);
  }

  .home-main,
  .inner-main {
    padding: 0 18px 44px;
  }

  .hero {
    padding: 24px 0 32px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .hero-figure img {
    height: 220px;
  }

  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .collection-card-main .collection-figure img {
    height: 220px;
  }

  .prepare-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .page-title {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding-bottom: 24px;
  }

  .page-title-media img {
    height: 200px;
  }

  .form-note-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stage-index-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .collection-item .collection-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .prepare-list .checklist {
    grid-template-columns: minmax(0, 1fr);
  }

  .rhythm-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
    padding: 32px 18px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-note,
  .footer-bottom {
    padding-left: 18px;
    padding-right: 18px;
  }

  .update-row {
    grid-template-columns: 96px 82px minmax(0, 1fr);
    gap: 12px;
  }

  .update-note {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  h1,
  .page-title {
    font-size: 24px;
  }

  h2 {
    font-size: 20px;
  }

  .header-inner {
    padding: 0 14px;
  }

  .brand {
    font-size: 17px;
  }

  .home-main,
  .inner-main {
    padding: 0 14px 40px;
  }

  .breadcrumb {
    padding: 14px 0 2px;
    font-size: 13px;
    gap: 6px;
  }

  .page-header {
    padding: 6px 0 12px;
  }

  .page-title {
    padding: 6px 0 22px;
  }

  .page-title-lead,
  .page-lead {
    font-size: 15px;
  }

  .page-title-media img {
    height: 170px;
  }

  .hero {
    padding: 18px 0 28px;
  }

  .hero-figure img {
    height: 180px;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .btn {
    flex: 1 1 140px;
    min-height: 48px;
  }

  .channel-rows .channel-row {
    grid-template-columns: 6px minmax(0, 1fr);
    gap: 14px;
    padding: 16px 16px;
    align-items: start;
  }

  .channel-swatch {
    height: 100%;
    min-height: 40px;
  }

  .channel-row-link {
    grid-column: 2 / -1;
    padding: 4px 0 0;
  }

  .channel-group .channel-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 16px;
    align-items: start;
  }

  .channel-row-body {
    grid-template-columns: 6px minmax(0, 1fr);
    gap: 12px;
  }

  .channel-mark {
    height: 100%;
    min-height: 36px;
  }

  .channel-group .channel-row-link {
    padding: 0;
    padding-left: 18px;
  }

  .collection-body {
    padding: 16px 16px 18px;
  }

  .collection-card-main .collection-figure img {
    height: 190px;
  }

  .collection-card-sub .collection-figure img {
    height: 150px;
  }

  .field-panel,
  .check-point-list {
    padding: 18px 16px;
  }

  .check-point {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 4px 12px;
  }

  .check-num {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }

  .update-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 12px;
    padding: 14px 16px;
  }

  .update-date {
    grid-column: 1;
  }

  .update-type {
    grid-column: 2;
    justify-self: end;
  }

  .update-target {
    grid-column: 1 / -1;
  }

  .update-note {
    grid-column: 1 / -1;
  }

  .faq-item {
    padding: 0 16px;
  }

  .faq-question {
    font-size: 15px;
    padding-right: 34px;
  }

  .feedback-bar-inner {
    padding: 18px 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .feedback-bar-inner .btn {
    width: 100%;
  }

  .anchor-pill {
    padding: 0 14px;
    font-size: 14px;
  }

  .anchor-index-list {
    gap: 8px;
  }

  .form-note-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .stage-index-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .collection-item {
    padding: 16px;
  }

  .collection-item .collection-fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .usage-media img {
    height: 170px;
  }

  .usage-item {
    grid-template-columns: 30px minmax(0, 1fr);
    padding: 14px 16px;
  }

  .usage-item .step-num {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }

  .rhythm-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .checklist .step-list,
  .handle-steps .step-list,
  .process-steps .step-list {
    padding: 16px;
    gap: 16px;
  }

  .step-item {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 12px;
  }

  .step-num {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }

  .rule-item,
  .note-item {
    padding: 14px 16px;
  }

  .related-bar {
    padding: 16px;
    margin-top: 32px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .related-links[aria-label="相关内容"] {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px 16px;
  }

  .error-main {
    padding: 32px 14px 48px;
  }

  .error-panel {
    padding: 26px 20px;
  }

  .error-title {
    font-size: 23px;
  }

  .error-actions .btn {
    flex: 1 1 140px;
    min-height: 48px;
  }

  .footer-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding: 28px 14px 22px;
  }

  .footer-nav-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-note,
  .footer-bottom {
    padding-left: 14px;
    padding-right: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .site-header,
  .skip-link,
  .related-bar,
  .related-links,
  .feedback-bar,
  .footer-main,
  .footer-note {
    display: none;
  }

  body {
    background: #fff;
  }

  .footer-bottom {
    border-top: 0;
  }
}
