/* ==========================================================================
   樱花视频高清剧场 · 全站样式
   结构：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base · 变量与基础排版
   -------------------------------------------------------------------------- */
:root {
  --c-page: #ffffff;
  --c-soft: #f5f7fa;
  --c-line: #e3e7ed;
  --c-line-strong: #d3d9e2;
  --c-red: #e5484d;
  --c-amber: #f2a93b;
  --c-link: #2f6fed;
  --c-text: #1f2328;
  --c-muted: #5c6570;
  --c-green: #2f8f5b;
  --radius: 6px;
  --wrap: 1080px;
  --wrap-wide: 1180px;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", Arial, sans-serif;
  --font-mono: "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--c-page);
  color: var(--c-text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.75;
  font-weight: 400;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1.4;
  color: var(--c-text);
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

dl,
dd,
dt,
figure,
figcaption,
table,
caption,
thead,
tbody,
tr,
th,
td {
  margin: 0;
  padding: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--c-link);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: #1d55c4;
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid var(--c-link);
  outline-offset: 2px;
}

button {
  font: inherit;
  color: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   layout · 页头 / 主导航 / 主容器 / 页脚骨架
   -------------------------------------------------------------------------- */
.site-header {
  position: relative;
  z-index: 20;
  background: var(--c-page);
  border-bottom: 1px solid var(--c-line);
}

.header-inner {
  max-width: var(--wrap-wide);
  margin: 0 auto;
  padding: 0 20px;
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--c-text);
  font-size: 17px;
  font-weight: 600;
  white-space: nowrap;
}

.brand:hover,
.brand:focus-visible {
  color: var(--c-text);
  text-decoration: none;
}

.brand-mark {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: var(--c-red);
  box-shadow: inset 0 -8px 0 0 var(--c-amber);
  flex: none;
}

.brand-name {
  display: inline-block;
}

.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list li {
  display: block;
}

.nav-list a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius);
  color: var(--c-muted);
  font-size: 14.5px;
  line-height: 1.5;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  background: var(--c-soft);
  color: var(--c-text);
  text-decoration: none;
}

.nav-list a.is-current {
  color: var(--c-text);
  font-weight: 600;
  background: var(--c-soft);
  box-shadow: inset 0 -2px 0 0 var(--c-red);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  min-height: 44px;
  background: var(--c-page);
  border: 1px solid var(--c-line-strong);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle-icon {
  position: relative;
  width: 16px;
  height: 2px;
  background: var(--c-text);
  flex: none;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: var(--c-text);
}

.nav-toggle-icon::before {
  top: -5px;
}

.nav-toggle-icon::after {
  top: 5px;
}

.nav-toggle-text {
  font-size: 14px;
  color: var(--c-text);
}

.site-main {
  display: block;
  width: 100%;
}

.inner-main {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 22px 20px 56px;
}

.site-footer {
  border-top: 1px solid var(--c-line);
  background: var(--c-soft);
  color: var(--c-muted);
  font-size: 14px;
}

.footer-inner {
  max-width: var(--wrap-wide);
  margin: 0 auto;
  padding: 30px 20px 22px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 26px 30px;
}

.footer-about {
  min-width: 0;
}

.footer-brand {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 8px;
}

.footer-desc {
  line-height: 1.7;
  max-width: 34em;
}

.footer-col {
  min-width: 0;
}

.footer-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 10px;
}

.footer-col ul {
  display: block;
}

.footer-col li {
  margin-bottom: 6px;
}

.footer-col a {
  color: var(--c-muted);
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--c-link);
}

.footer-copy {
  max-width: var(--wrap-wide);
  margin: 0 auto;
  padding: 14px 20px 26px;
  font-size: 13px;
  color: var(--c-muted);
  border-top: 1px solid var(--c-line);
}

/* --------------------------------------------------------------------------
   layout · 内页外壳（面包屑 / 标题区）
   -------------------------------------------------------------------------- */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13.5px;
  color: var(--c-muted);
  margin-bottom: 14px;
}

.breadcrumb-sep {
  color: var(--c-line-strong);
}

.breadcrumb-current {
  color: var(--c-muted);
}

.page-header {
  padding-bottom: 18px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--c-line);
}

.page-title {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--c-text);
}

.page-description {
  margin-top: 10px;
  max-width: 46em;
  color: var(--c-muted);
  font-size: 15px;
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   components · 通用区块标题 / 按钮 / 链接 / 表格 / FAQ
   -------------------------------------------------------------------------- */
.section {
  padding: 34px 0;
  border-top: 1px solid var(--c-line);
}

.section:first-of-type {
  border-top: 0;
}

.section-head {
  margin-bottom: 20px;
}

.section-title {
  font-size: 22px;
  font-weight: 600;
}

.section-desc {
  margin-top: 8px;
  max-width: 48em;
  color: var(--c-muted);
  font-size: 14.5px;
  line-height: 1.75;
}

.section-intro,
.section-lead {
  margin-top: 8px;
  margin-bottom: 18px;
  max-width: 48em;
  color: var(--c-muted);
  font-size: 14.5px;
  line-height: 1.75;
}

.section-foot,
.section-note,
.section-tail,
.cross-index-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--c-muted);
}

.section-foot a,
.section-note a,
.section-tail a,
.cross-index-note a {
  margin-right: 14px;
}

.content-section {
  padding: 30px 0;
  border-top: 1px solid var(--c-line);
}

.content-section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.content-section h2 {
  font-size: 22px;
  font-weight: 600;
}

.text-link {
  font-weight: 500;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  border: 1px solid transparent;
}

.btn:hover,
.btn:focus-visible {
  text-decoration: none;
}

.btn-primary {
  background: var(--c-red);
  color: #ffffff;
  border-color: var(--c-red);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #cf3a3f;
  border-color: #cf3a3f;
  color: #ffffff;
}

.btn-ghost {
  background: var(--c-page);
  color: var(--c-text);
  border-color: var(--c-line-strong);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--c-text);
  color: var(--c-text);
}

.sub-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 12px;
}

.table-wrap,
.table-scroll {
  width: 100%;
  overflow-x: auto;
}

.table-caption {
  caption-side: top;
  text-align: left;
  font-size: 13.5px;
  color: var(--c-muted);
  padding-bottom: 8px;
}

.data-table,
.cross-table,
.index-table,
.channel-table {
  font-size: 14.5px;
}

.data-table th,
.data-table td,
.cross-table th,
.cross-table td,
.index-table th,
.index-table td,
.channel-table th,
.channel-table td {
  border: 1px solid var(--c-line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}

.data-table thead th,
.cross-table thead th,
.index-table thead th,
.channel-table thead th {
  background: var(--c-soft);
  font-weight: 600;
  color: var(--c-text);
  white-space: nowrap;
}

.data-table tbody th,
.cross-table tbody th,
.index-table tbody th {
  background: var(--c-soft);
  font-weight: 600;
  color: var(--c-text);
}

.faq-list {
  display: block;
}

.faq-item {
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-page);
  margin-bottom: 10px;
}

.faq-item summary,
.faq-question {
  cursor: pointer;
  padding: 12px 40px 12px 14px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--c-text);
  list-style: none;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after,
.faq-question::after {
  content: "+";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  font-weight: 400;
  color: var(--c-muted);
}

.faq-item[open] summary::after,
.faq-item[open] .faq-question::after {
  content: "–";
}

.faq-answer {
  padding: 0 14px 14px;
  color: var(--c-muted);
  font-size: 14.5px;
  line-height: 1.75;
}

.faq-answer p {
  margin-bottom: 8px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.check-list {
  display: block;
  margin: 10px 0;
}

.check-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 7px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--c-text);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--c-green);
  border-bottom: 2px solid var(--c-green);
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   pages · 首页
   -------------------------------------------------------------------------- */
.top-hint {
  background: var(--c-soft);
  border-bottom: 1px solid var(--c-line);
  color: var(--c-muted);
  font-size: 13.5px;
  line-height: 1.7;
  text-align: center;
  padding: 8px 20px;
}

.home-main {
  max-width: var(--wrap-wide);
  margin: 0 auto;
  padding: 0 20px 56px;
}

.home-hero {
  padding: 34px 0 26px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 32px;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero-title {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.35;
}

.hero-lead {
  margin-top: 14px;
  max-width: 34em;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--c-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--c-line);
}

.hero-fact {
  min-width: 0;
}

.hero-fact dt {
  font-size: 13px;
  color: var(--c-muted);
  margin-bottom: 4px;
}

.hero-fact dd {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text);
  font-family: var(--font-mono);
}

.hero-media {
  min-width: 0;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-soft);
}

.hero-media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.hero-media figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--c-muted);
  border-top: 1px solid var(--c-line);
  background: var(--c-page);
}

.channel-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 0 0;
  border-top: 1px solid var(--c-line);
}

.channel-strip li {
  min-width: 0;
}

.channel-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--c-line-strong);
  background: var(--c-page);
  color: var(--c-text);
  font-size: 14.5px;
  font-weight: 500;
  border-left-width: 4px;
}

.channel-chip:hover,
.channel-chip:focus-visible {
  text-decoration: none;
  background: var(--c-soft);
  border-color: var(--c-text);
}

.chip-a {
  border-left-color: var(--c-red);
}

.chip-b {
  border-left-color: var(--c-amber);
}

.chip-c {
  border-left-color: var(--c-link);
}

.chip-d {
  border-left-color: var(--c-green);
}

.chip-e {
  border-left-color: #8a63d2;
}

.index-list {
  display: block;
  border-top: 1px solid var(--c-line);
}

.index-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px 4px;
  border-bottom: 1px solid var(--c-line);
}

.index-no {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--c-red);
}

.index-body {
  min-width: 0;
}

.index-name {
  font-size: 17px;
  font-weight: 600;
}

.index-sample {
  margin-top: 4px;
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.7;
}

.index-link {
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
}

.channel-table {
  margin-top: 4px;
}

.channel-table .cell-no {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--c-red);
  white-space: nowrap;
  width: 90px;
}

.channel-table .cell-name {
  font-weight: 600;
  white-space: nowrap;
  width: 130px;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.collection-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-page);
  overflow: hidden;
  padding-bottom: 14px;
}

.collection-card:hover {
  border-color: var(--c-line-strong);
}

.collection-media,
.collection-cover {
  min-width: 0;
  background: var(--c-soft);
  border-bottom: 1px solid var(--c-line);
}

.collection-media img,
.collection-cover img {
  width: 100%;
  height: 168px;
  object-fit: cover;
}

.collection-name {
  font-size: 17px;
  font-weight: 600;
  padding: 12px 16px 0;
}

.collection-desc {
  padding: 6px 16px 0;
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.75;
}

.collection-meta {
  padding: 8px 16px 0;
  font-size: 13.5px;
  color: var(--c-muted);
  font-family: var(--font-mono);
}

.collection-link {
  margin: 12px 16px 0;
  font-size: 14.5px;
  font-weight: 500;
  align-self: flex-start;
}

.step-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.step-track .step-item {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-page);
}

.step-track .step-no {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  background: var(--c-red);
  border-radius: 4px;
  padding: 2px 8px;
  margin-bottom: 10px;
}

.step-track .step-name {
  font-size: 16px;
  font-weight: 600;
}

.step-note {
  margin-top: 6px;
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.7;
}

.fields-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.fields-col {
  min-width: 0;
}

.field-brief {
  display: block;
}

.field-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--c-line);
}

.field-row dt {
  font-weight: 600;
  font-size: 14px;
  color: var(--c-text);
}

.field-row dd {
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.7;
}

.boundary-list {
  display: block;
}

.boundary-item {
  position: relative;
  padding-left: 20px;
  margin-bottom: 9px;
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.75;
}

.boundary-item::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-amber);
}

.record-groups {
  display: block;
}

.record-group {
  margin-bottom: 20px;
}

.record-group:last-child {
  margin-bottom: 0;
}

.record-month {
  font-size: 16px;
  font-weight: 600;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--c-line);
  margin-bottom: 4px;
}

.record-list {
  display: block;
}

.record-item {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px dashed var(--c-line);
}

.record-date {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--c-muted);
  white-space: nowrap;
}

.record-text {
  font-size: 14.5px;
  color: var(--c-text);
  line-height: 1.7;
}

.record-type {
  font-size: 13px;
  color: var(--c-muted);
  border: 1px solid var(--c-line-strong);
  border-radius: 4px;
  padding: 1px 8px;
  white-space: nowrap;
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.sitemap-item {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-soft);
}

.sitemap-item a {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
}

.sitemap-note {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--c-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   pages · 频道分类
   -------------------------------------------------------------------------- */
.channels-overview .section-media {
  margin: 0 0 20px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-soft);
}

.channels-overview .section-media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.channels-overview .section-media figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--c-muted);
  background: var(--c-page);
  border-top: 1px solid var(--c-line);
}

.channel-table {
  display: block;
  border-top: 1px solid var(--c-line);
}

.channel-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--c-line);
}

.channel-code {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--c-red);
}

.channel-body {
  min-width: 0;
}

.channel-name {
  font-size: 17px;
  font-weight: 600;
}

.channel-topic {
  margin-top: 6px;
  font-size: 14.5px;
  color: var(--c-text);
  line-height: 1.75;
}

.channel-scope,
.channel-audience {
  margin-top: 4px;
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.75;
}

.channel-scope::before {
  content: "覆盖：";
  color: var(--c-text);
  font-weight: 500;
}

.channel-audience::before {
  content: "适合：";
  color: var(--c-text);
  font-weight: 500;
}

.field-list {
  display: block;
}

.field-list dt {
  font-size: 15.5px;
  font-weight: 600;
  margin-top: 14px;
}

.field-list dt:first-child {
  margin-top: 0;
}

.field-list dd {
  margin-top: 4px;
  font-size: 14.5px;
  color: var(--c-muted);
  line-height: 1.75;
}

.cross-table {
  margin-top: 4px;
}

.cross-table tbody th {
  white-space: nowrap;
}

.advice-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.advice-item {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-soft);
}

.advice-item h3 {
  font-size: 16px;
  font-weight: 600;
}

.advice-item p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   pages · 专题片单
   -------------------------------------------------------------------------- */
.section-collection-list .collection-meta {
  padding: 10px 16px 0;
  font-size: 13.5px;
  color: var(--c-muted);
  line-height: 1.7;
}

.meta-label {
  display: inline-block;
  margin-right: 6px;
  color: var(--c-text);
  font-weight: 600;
  font-family: var(--font-sans);
}

.section-collection-list .collection-meta a {
  margin-right: 8px;
}

.collection-range {
  padding: 8px 16px 0;
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.75;
}

.theme-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.theme-item {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}

.theme-item h3 {
  font-size: 16px;
  font-weight: 600;
}

.theme-item p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.75;
}

.index-table {
  min-width: 620px;
}

.index-table .is-included {
  color: var(--c-green);
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}

.index-table .is-empty {
  color: var(--c-line-strong);
  text-align: center;
}

.section-collection-order .step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  counter-reset: order-step;
}

.section-collection-order .step-item {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-soft);
}

.section-collection-order .step-item h3 {
  font-size: 16px;
  font-weight: 600;
}

.section-collection-order .step-item h3::before {
  counter-increment: order-step;
  content: counter(order-step) ". ";
  color: var(--c-red);
  font-family: var(--font-mono);
}

.section-collection-order .step-item p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   pages · 浏览指引
   -------------------------------------------------------------------------- */
.guide-steps,
.guide-detail,
.guide-faq,
.guide-checklist {
  padding: 30px 0;
  border-top: 1px solid var(--c-line);
}

.guide-steps {
  border-top: 0;
  padding-top: 0;
}

.guide-steps h2,
.guide-detail h2,
.guide-faq h2,
.guide-checklist h2 {
  font-size: 22px;
  font-weight: 600;
}

.step-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.step-bar .step-item {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-soft);
}

.step-bar .step-no {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  background: var(--c-link);
  border-radius: 4px;
  padding: 2px 8px;
  margin-bottom: 10px;
}

.step-bar .step-name {
  font-size: 16px;
  font-weight: 600;
}

.step-conclusion {
  margin-top: 6px;
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.7;
}

.guide-figure {
  margin: 0 0 20px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-soft);
}

.guide-figure img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.guide-figure figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--c-muted);
  background: var(--c-page);
  border-top: 1px solid var(--c-line);
}

.guide-block {
  padding: 16px 0;
  border-bottom: 1px solid var(--c-line);
}

.guide-block:last-child {
  border-bottom: 0;
}

.guide-block h3 {
  font-size: 17px;
  font-weight: 600;
}

.guide-block > p {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--c-muted);
  line-height: 1.75;
}

.guide-block .check-list {
  margin: 12px 0;
}

.check-list-final {
  margin-top: 14px;
}

/* --------------------------------------------------------------------------
   pages · 字段说明
   -------------------------------------------------------------------------- */
.fields-table {
  min-width: 640px;
}

.fields-sample-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 26px;
  align-items: start;
}

.fields-sample-figure {
  min-width: 0;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-soft);
}

.fields-sample-figure img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.fields-sample-figure figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--c-muted);
  background: var(--c-page);
  border-top: 1px solid var(--c-line);
}

.fields-sample-list {
  min-width: 0;
}

.fields-sample-item {
  padding: 12px 0;
  border-bottom: 1px dashed var(--c-line);
}

.fields-sample-item:first-child {
  padding-top: 0;
}

.fields-sample-item:last-child {
  border-bottom: 0;
}

.fields-sample-name {
  font-size: 15.5px;
  font-weight: 600;
}

.fields-sample-item p {
  margin-top: 4px;
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.75;
}

.related-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.related-item {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-soft);
}

.related-item a {
  display: block;
  font-size: 14.5px;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   pages · 整理记录
   -------------------------------------------------------------------------- */
.records-section,
.adjustment-section,
.column-index-section,
.reading-tips-section {
  padding: 30px 0;
  border-top: 1px solid var(--c-line);
}

.records-section {
  border-top: 0;
  padding-top: 0;
}

.records-section h2,
.adjustment-section h2,
.column-index-section h2,
.reading-tips-section h2 {
  font-size: 22px;
  font-weight: 600;
}

.records-section .record-group {
  margin-top: 22px;
}

.records-section .record-group:first-of-type {
  margin-top: 18px;
}

.records-section .record-item {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-line);
}

.records-section .record-thumb {
  min-width: 0;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-soft);
}

.records-section .record-thumb img {
  width: 100%;
  height: 84px;
  object-fit: cover;
}

.record-body {
  min-width: 0;
}

.record-body .record-date {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--c-muted);
}

.record-body .record-text {
  margin-top: 4px;
  font-size: 14.5px;
  color: var(--c-text);
  line-height: 1.75;
}

.record-meta {
  margin-top: 6px;
  font-size: 13px;
  color: var(--c-muted);
}

.adjustment-list {
  display: block;
}

.adjustment-list dt {
  font-size: 15.5px;
  font-weight: 600;
  margin-top: 14px;
}

.adjustment-list dt:first-child {
  margin-top: 0;
}

.adjustment-list dd {
  margin-top: 4px;
  font-size: 14.5px;
  color: var(--c-muted);
  line-height: 1.75;
}

.column-index-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.column-index-list li {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-soft);
}

.column-index-list a {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
}

.column-index-note {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--c-muted);
  line-height: 1.6;
}

.reading-tips-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  counter-reset: read-tip;
}

.reading-tips-list li {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.75;
}

.reading-tips-list li::before {
  counter-increment: read-tip;
  content: "建议 " counter(read-tip);
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-red);
  margin-bottom: 6px;
}

/* --------------------------------------------------------------------------
   pages · 404
   -------------------------------------------------------------------------- */
.error-main {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 20px 60px;
}

.error-block {
  text-align: center;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--c-line);
}

.error-code {
  font-family: var(--font-mono);
  font-size: 40px;
  font-weight: 600;
  color: var(--c-red);
  line-height: 1.2;
}

.error-block h1 {
  margin-top: 8px;
  font-size: 26px;
  font-weight: 600;
}

.error-text {
  margin-top: 12px;
  font-size: 15px;
  color: var(--c-muted);
  line-height: 1.8;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.error-home,
.error-channel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
}

.error-home {
  background: var(--c-red);
  color: #ffffff;
}

.error-home:hover,
.error-home:focus-visible {
  background: #cf3a3f;
  color: #ffffff;
  text-decoration: none;
}

.error-channel {
  border: 1px solid var(--c-line-strong);
  color: var(--c-text);
  background: var(--c-page);
}

.error-channel:hover,
.error-channel:focus-visible {
  border-color: var(--c-text);
  color: var(--c-text);
  text-decoration: none;
}

.error-hint {
  padding-top: 26px;
}

.error-hint h2 {
  font-size: 18px;
  font-weight: 600;
  text-align: center;
}

.error-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.error-links li {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-soft);
  text-align: center;
}

.error-links a {
  display: block;
  font-size: 14.5px;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   responsive · 平板与手机
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .hero-media img {
    height: 280px;
  }

  .sitemap-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .related-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  .header-inner {
    flex-wrap: wrap;
    padding: 10px 16px;
    gap: 10px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    order: 3;
    flex: 1 0 100%;
    margin-left: 0;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px 0 4px;
    border-top: 1px solid var(--c-line);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list a {
    padding: 12px 10px;
    min-height: 44px;
    display: flex;
    align-items: center;
    font-size: 15px;
  }

  .inner-main,
  .home-main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .home-main {
    padding-bottom: 40px;
  }

  .page-title {
    font-size: 24px;
  }

  .hero-title {
    font-size: 25px;
  }

  .hero-media img {
    height: 220px;
  }

  .hero-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .channel-strip {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .channel-chip {
    white-space: nowrap;
  }

  .index-item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
  }

  .index-link {
    grid-column: 2;
    white-space: normal;
  }

  .collection-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .step-track,
  .step-bar,
  .advice-list,
  .section-collection-order .step-list,
  .reading-tips-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .fields-layout,
  .fields-sample-layout,
  .theme-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .record-item,
  .records-section .record-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .record-type {
    justify-self: start;
  }

  .sitemap-grid,
  .column-index-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }

  .footer-about {
    grid-column: 1 / -1;
  }

  .channel-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .channel-code {
    display: inline-block;
    background: var(--c-soft);
    border-radius: 4px;
    padding: 1px 8px;
  }

  .advice-list {
    gap: 12px;
  }

  .records-section .record-thumb img {
    height: 140px;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 8px 12px;
  }

  .brand {
    font-size: 16px;
  }

  .inner-main,
  .home-main {
    padding-left: 12px;
    padding-right: 12px;
  }

  .page-title {
    font-size: 21px;
  }

  .hero-title {
    font-size: 22px;
  }

  .hero-media img {
    height: 180px;
  }

  .hero-facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-title,
  .content-section h2,
  .guide-steps h2,
  .guide-detail h2,
  .guide-faq h2,
  .guide-checklist h2,
  .records-section h2,
  .adjustment-section h2,
  .column-index-section h2,
  .reading-tips-section h2 {
    font-size: 19px;
  }

  .field-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .sitemap-grid,
  .column-index-list,
  .related-links,
  .error-links {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    padding: 24px 12px 18px;
  }

  .footer-copy {
    padding-left: 12px;
    padding-right: 12px;
  }

  .error-code {
    font-size: 34px;
  }
}
