/* =========================================================
   天美免费 · 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================= */

/* ---------------------------------------------------------
   base
   --------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body.site-body {
  margin: 0;
  background: #f5f6f7;
  color: #16202a;
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  font-size: 15px;
  line-height: 1.75;
  font-weight: 400;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: #16697a;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid #16697a;
  outline-offset: 2px;
}

.mono,
.batch-num,
.step-num,
.step-number,
.column-num,
.scene-num,
.error-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 60;
  padding: 10px 16px;
  background: #16202a;
  color: #ffffff;
  border-radius: 4px;
  transition: top 0.18s ease;
}

.skip-link:focus {
  top: 12px;
}

/* ---------------------------------------------------------
   layout · 骨架
   --------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #ffffff;
  border-bottom: 1px solid #d8dde2;
}

.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
  color: #16202a;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  font-size: 19px;
  font-weight: 700;
  color: #16697a;
  letter-spacing: 0;
}

.brand-slogan {
  font-size: 12px;
  color: #5b6875;
  padding-left: 10px;
  border-left: 1px solid #d8dde2;
}

.primary-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: stretch;
  gap: 2px;
}

.nav-item a {
  display: flex;
  align-items: center;
  height: 62px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 500;
  color: #3d4a56;
  border-bottom: 2px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.nav-item a:hover,
.nav-item a:focus-visible {
  color: #16697a;
  background: #f0f6f7;
  text-decoration: none;
}

.nav-item.is-current a,
.nav-item a.is-current {
  color: #16697a;
  font-weight: 700;
  border-bottom-color: #16697a;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #d8dde2;
  border-radius: 4px;
  background: #ffffff;
  position: relative;
}

.nav-toggle-bar {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: #16202a;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-bar:nth-child(1) { top: 14px; }
.nav-toggle-bar:nth-child(2) { top: 21px; }
.nav-toggle-bar:nth-child(3) { top: 28px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-main {
  display: block;
}

.inner-main {
  max-width: 1160px;
  margin: 0 auto;
  padding: 22px 24px 56px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #5b6875;
  margin-bottom: 16px;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.breadcrumb a {
  color: #16697a;
}

.breadcrumb-sep {
  color: #b3bcc4;
}

.breadcrumb-current,
.breadcrumb-item.is-current {
  color: #5b6875;
}

.page-header {
  margin-bottom: 22px;
}

.page-title {
  font-size: 30px;
  line-height: 1.3;
  font-weight: 700;
  color: #16202a;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}

.content-main,
.page-main,
.page-content,
.page-primary {
  min-width: 0;
}

.content-aside,
.conclusion,
.conclusion-panel {
  min-width: 0;
}

.site-footer {
  background: #ffffff;
  border-top: 1px solid #d8dde2;
  margin-top: 8px;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 40px 24px 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  gap: 32px;
}

.footer-brand-name {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: #16697a;
  margin-bottom: 8px;
}

.footer-brand-desc {
  font-size: 13px;
  line-height: 1.7;
  color: #5b6875;
  max-width: 280px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.footer-col-title {
  font-size: 14px;
  font-weight: 700;
  color: #16202a;
  margin-bottom: 10px;
}

.footer-col ul {
  display: grid;
  gap: 6px;
}

.footer-col a {
  font-size: 13px;
  color: #5b6875;
  line-height: 1.6;
}

.footer-col a:hover {
  color: #16697a;
}

.footer-bottom {
  border-top: 1px solid #d8dde2;
  padding: 14px 24px 20px;
}

.footer-bottom p {
  max-width: 1160px;
  margin: 0 auto;
  font-size: 12px;
  color: #5b6875;
  line-height: 1.7;
}

/* ---------------------------------------------------------
   components · 通用
   --------------------------------------------------------- */
.section-title {
  font-size: 20px;
  line-height: 1.45;
  font-weight: 700;
  color: #16202a;
  padding-left: 12px;
  border-left: 3px solid #16697a;
  margin-bottom: 8px;
}

.section-lead,
.section-intro,
.section-desc {
  font-size: 14px;
  line-height: 1.75;
  color: #5b6875;
  margin-bottom: 18px;
}

.section-desc a {
  color: #16697a;
}

.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  font-size: 12px;
  line-height: 1.6;
  border: 1px solid #d8dde2;
  border-radius: 3px;
  background: #ffffff;
  color: #3d4a56;
  white-space: nowrap;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5b6875;
  flex-shrink: 0;
}

.status-ok .status-dot,
.status-tag--ok .status-dot,
.status-available .status-dot {
  background: #2f7d4f;
}

.status-ok,
.status-tag--ok,
.status-available {
  border-color: #bcd9c7;
  color: #2f7d4f;
}

.status-wip .status-dot,
.status-tag--warn .status-dot,
.status-sorting .status-dot {
  background: #c9731a;
}

.status-wip,
.status-tag--warn,
.status-sorting {
  border-color: #e6cbaa;
  color: #a75c10;
}

.status-todo .status-dot,
.status-tag--muted .status-dot,
.status-pending .status-dot {
  background: #8a949d;
}

.status-todo,
.status-tag--muted,
.status-pending {
  border-color: #d8dde2;
  color: #5b6875;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  background: #ffffff;
  border: 1px solid #d8dde2;
  border-radius: 6px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.6;
}

.table-caption {
  caption-side: top;
  text-align: left;
  padding: 12px 16px 10px;
  font-size: 13px;
  color: #5b6875;
  border-bottom: 1px solid #d8dde2;
  background: #fafbfb;
}

.data-table thead th {
  text-align: left;
  font-weight: 500;
  font-size: 13px;
  color: #16202a;
  background: #eef1f3;
  padding: 11px 16px;
  border-bottom: 1px solid #d8dde2;
  white-space: nowrap;
}

.data-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid #eceff1;
  color: #3d4a56;
  vertical-align: top;
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover {
  background: #f0f6f7;
}

.table-note {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: #5b6875;
}

.content-figure,
.section-media,
.media-figure,
.faq-media {
  margin: 0 0 20px;
  background: #ffffff;
  border: 1px solid #d8dde2;
  border-radius: 6px;
  overflow: hidden;
}

.content-figure img,
.section-media img,
.media-figure img,
.faq-media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  background: #eef1f3;
}

.content-figure figcaption,
.section-media figcaption,
.media-figure figcaption,
.faq-media figcaption {
  padding: 10px 14px;
  font-size: 12px;
  line-height: 1.7;
  color: #5b6875;
  border-top: 1px solid #eceff1;
}

.content-section,
.section-block {
  margin-bottom: 34px;
}

.content-section:last-child,
.section-block:last-child {
  margin-bottom: 0;
}

.step-list {
  display: grid;
  gap: 14px;
}

.step-list .step-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  background: #ffffff;
  border: 1px solid #d8dde2;
  border-radius: 6px;
  padding: 16px 18px;
}

.step-list .step-num,
.step-list .step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 15px;
  font-weight: 700;
  color: #16697a;
  background: #eef5f6;
  border: 1px solid #cfe0e3;
  border-radius: 4px;
}

.step-body {
  min-width: 0;
}

.step-name,
.step-list .step-title {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #16202a;
  margin-bottom: 6px;
}

.step-detail,
.step-list .step-desc {
  font-size: 14px;
  line-height: 1.75;
  color: #3d4a56;
}

.step-check {
  display: block;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #d8dde2;
  font-size: 13px;
  line-height: 1.7;
  color: #5b6875;
}

.conclusion,
.conclusion-panel,
.content-aside {
  background: #ffffff;
  border: 1px solid #d8dde2;
  border-radius: 6px;
  padding: 20px;
}

.conclusion-title,
.content-aside > h2 {
  font-size: 17px;
  line-height: 1.5;
  font-weight: 700;
  color: #16202a;
  margin-bottom: 10px;
  padding-left: 10px;
  border-left: 3px solid #16697a;
}

.conclusion-text,
.conclusion-lead,
.aside-conclusion {
  font-size: 14px;
  line-height: 1.75;
  color: #3d4a56;
  margin-bottom: 12px;
}

.conclusion-points,
.aside-points {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  counter-reset: concl;
}

.conclusion-points li,
.aside-points li {
  position: relative;
  padding-left: 22px;
  font-size: 13.5px;
  line-height: 1.7;
  color: #3d4a56;
  counter-increment: concl;
}

.conclusion-points li::before,
.aside-points li::before {
  content: counter(concl);
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  font-size: 11px;
  line-height: 16px;
  text-align: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #16697a;
  background: #eef5f6;
  border-radius: 3px;
}

.conclusion-links,
.aside-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid #eceff1;
}

.conclusion-links a,
.aside-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  font-size: 13px;
  color: #16697a;
  background: #f0f6f7;
  border: 1px solid #cfe0e3;
  border-radius: 4px;
}

.conclusion-links a:hover,
.aside-link:hover {
  background: #e2eef0;
  text-decoration: none;
}

.conclusion-links li {
  display: flex;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid #d8dde2;
  border-radius: 6px;
}

.related-links-label {
  font-size: 13px;
  font-weight: 700;
  color: #16202a;
}

.related-links-item {
  font-size: 13px;
  color: #16697a;
  padding: 4px 10px;
  border: 1px solid #cfe0e3;
  border-radius: 4px;
  background: #f0f6f7;
}

.related-links-item:hover {
  text-decoration: none;
  background: #e2eef0;
}

/* 本页目录 */
.page-toc {
  min-width: 0;
}

.toc-panel,
.page-toc,
.toc-details {
  background: #ffffff;
  border: 1px solid #d8dde2;
  border-radius: 6px;
  padding: 16px 18px;
}

.toc-title,
.toc-summary {
  font-size: 14px;
  font-weight: 700;
  color: #16202a;
  margin-bottom: 10px;
}

.toc-summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 22px;
}

.toc-summary::-webkit-details-marker {
  display: none;
}

.toc-summary::after {
  content: "＋";
  position: absolute;
  right: 0;
  top: 0;
  color: #16697a;
  font-size: 14px;
}

.toc-details[open] .toc-summary::after {
  content: "－";
}

.toc-list {
  display: grid;
  gap: 6px;
  counter-reset: toc;
}

.toc-list li {
  counter-increment: toc;
}

.toc-list a {
  display: block;
  padding: 5px 0 5px 26px;
  position: relative;
  font-size: 13px;
  line-height: 1.6;
  color: #3d4a56;
  border-bottom: 1px dashed #eceff1;
}

.toc-list a::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  color: #16697a;
}

.toc-list a:hover {
  color: #16697a;
  text-decoration: none;
}

/* ---------------------------------------------------------
   pages · 首页
   --------------------------------------------------------- */
.home-main {
  max-width: 1160px;
  margin: 0 auto;
  padding: 26px 24px 56px;
}

.hero-section {
  margin-bottom: 34px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 26px;
  align-items: start;
}

.scene-panel {
  min-width: 0;
}

.hero-title {
  font-size: 34px;
  line-height: 1.28;
  font-weight: 700;
  color: #16202a;
  margin-bottom: 10px;
}

.hero-lead {
  font-size: 15px;
  line-height: 1.8;
  color: #5b6875;
  margin-bottom: 20px;
  max-width: 660px;
}

.scene-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.scene-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 18px 16px;
  background: #ffffff;
  border: 1px solid #d8dde2;
  border-radius: 6px;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.scene-card:hover {
  border-color: #a9cbd1;
  background: #f8fbfb;
}

.scene-num {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #16697a;
  background: #eef5f6;
  border: 1px solid #cfe0e3;
  border-radius: 3px;
  padding: 1px 7px;
  align-self: flex-start;
}

.scene-title {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
  color: #16202a;
}

.scene-desc {
  font-size: 13.5px;
  line-height: 1.72;
  color: #5b6875;
  flex: 1 1 auto;
}

.scene-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 34px;
  margin-top: 4px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
  background: #16697a;
  border-radius: 4px;
}

.scene-link:hover {
  background: #125663;
  text-decoration: none;
}

.hero-visual {
  min-width: 0;
  display: grid;
  gap: 14px;
}

.hero-figure {
  margin: 0;
  background: #ffffff;
  border: 1px solid #d8dde2;
  border-radius: 6px;
  overflow: hidden;
}

.hero-figure img {
  width: 100%;
  height: 236px;
  object-fit: cover;
  background: #eef1f3;
}

.hero-figure figcaption {
  padding: 10px 14px;
  font-size: 12px;
  line-height: 1.7;
  color: #5b6875;
  border-top: 1px solid #eceff1;
}

.status-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid #d8dde2;
  border-radius: 6px;
}

.section {
  margin-bottom: 38px;
}

.section-inner {
  min-width: 0;
}

.column-index {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.column-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "num name"
    "num desc";
  column-gap: 10px;
  row-gap: 2px;
  align-items: start;
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid #d8dde2;
  border-radius: 6px;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.column-item:hover {
  border-color: #a9cbd1;
  background: #f8fbfb;
}

.column-num {
  grid-area: num;
  font-size: 12px;
  font-weight: 700;
  color: #16697a;
  padding-top: 2px;
}

.column-name {
  grid-area: name;
  font-size: 14px;
  font-weight: 700;
  color: #16202a;
  line-height: 1.5;
}

.column-name:hover {
  color: #16697a;
}

.column-desc {
  grid-area: desc;
  font-size: 12.5px;
  line-height: 1.65;
  color: #5b6875;
}

.channel-table {
  min-width: 720px;
}

.topics-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin-top: 16px;
}

.topic-list {
  min-width: 0;
  background: #ffffff;
  border: 1px solid #d8dde2;
  border-radius: 6px;
  padding: 8px;
}

.topic-items {
  display: grid;
  gap: 4px;
}

.topic-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 4px;
  border-bottom: 1px solid #eceff1;
}

.topic-item:last-child {
  border-bottom: 0;
}

.topic-item:hover {
  background: #f0f6f7;
}

.topic-name {
  font-size: 14px;
  font-weight: 500;
  color: #16202a;
  min-width: 0;
}

.topic-summary {
  min-width: 0;
  display: grid;
  gap: 12px;
}

.summary-item {
  padding: 16px 18px;
  background: #ffffff;
  border: 1px solid #d8dde2;
  border-radius: 6px;
  border-left: 3px solid #16697a;
}

.summary-title {
  font-size: 15px;
  font-weight: 700;
  color: #16202a;
  margin-bottom: 6px;
}

.summary-desc {
  font-size: 13.5px;
  line-height: 1.75;
  color: #3d4a56;
  margin-bottom: 8px;
}

.summary-link {
  font-size: 13px;
  font-weight: 500;
  color: #16697a;
}

.steps-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
  margin-top: 16px;
}

.step-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
}

.step-strip .step-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  align-content: start;
  padding: 18px;
  background: #ffffff;
  border: 1px solid #d8dde2;
  border-radius: 6px;
}

.step-strip .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  font-size: 14px;
  font-weight: 700;
  color: #16697a;
  background: #eef5f6;
  border: 1px solid #cfe0e3;
  border-radius: 4px;
}

.step-strip .step-title {
  font-size: 15px;
  line-height: 1.5;
  font-weight: 700;
  color: #16202a;
}

.step-strip .step-desc {
  font-size: 13.5px;
  line-height: 1.75;
  color: #3d4a56;
  min-width: 0;
  overflow-wrap: anywhere;
}

.media-figure {
  margin-top: 16px;
}

.media-figure img {
  height: 300px;
}

.batch-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.batch-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "num range"
    "num count"
    "num link";
  column-gap: 12px;
  row-gap: 3px;
  align-content: start;
  padding: 16px 18px;
  background: #ffffff;
  border: 1px solid #d8dde2;
  border-radius: 6px;
}

.batch-num {
  grid-area: num;
  align-self: start;
  font-size: 12px;
  font-weight: 700;
  color: #16697a;
  background: #eef5f6;
  border: 1px solid #cfe0e3;
  border-radius: 3px;
  padding: 2px 8px;
}

.batch-range {
  grid-area: range;
  font-size: 13.5px;
  font-weight: 500;
  color: #16202a;
}

.batch-count {
  grid-area: count;
  font-size: 13px;
  color: #5b6875;
}

.batch-link {
  grid-area: link;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 500;
  color: #16697a;
}

/* ---------------------------------------------------------
   pages · 频道分类
   --------------------------------------------------------- */
.page-channels .page-title {
  margin-bottom: 0;
}

.title-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid #d8dde2;
  border-radius: 6px;
  margin-bottom: 22px;
}

.title-text {
  min-width: 0;
}

.title-summary {
  font-size: 14px;
  line-height: 1.75;
  color: #5b6875;
  margin-top: 8px;
}

.title-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.channel-table {
  min-width: 700px;
}

.channel-item {
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid #d8dde2;
  border-radius: 6px;
  margin-bottom: 12px;
}

.channel-item:last-child {
  margin-bottom: 0;
}

.channel-item h3 {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
  color: #16202a;
  margin-bottom: 6px;
}

.channel-item p {
  font-size: 14px;
  line-height: 1.75;
  color: #3d4a56;
  margin-bottom: 8px;
}

.channel-points {
  display: grid;
  gap: 6px;
}

.channel-points li {
  position: relative;
  padding-left: 16px;
  font-size: 13.5px;
  line-height: 1.7;
  color: #5b6875;
}

.channel-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background: #16697a;
  border-radius: 1px;
}

/* ---------------------------------------------------------
   pages · 专题片单
   --------------------------------------------------------- */
.page-shell {
  min-width: 0;
}

.page-topics .page-toc {
  margin-bottom: 20px;
}

.page-header-main {
  min-width: 0;
}

.page-lead {
  font-size: 14px;
  line-height: 1.75;
  color: #5b6875;
  margin-top: 8px;
}

.page-header-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.criteria-list {
  display: grid;
  gap: 12px;
}

.criteria-item {
  padding: 16px 18px;
  background: #ffffff;
  border: 1px solid #d8dde2;
  border-radius: 6px;
}

.criteria-item dt {
  font-size: 15px;
  font-weight: 700;
  color: #16202a;
  margin-bottom: 6px;
}

.criteria-desc {
  font-size: 14px;
  line-height: 1.75;
  color: #3d4a56;
  margin-bottom: 6px;
}

.criteria-example {
  font-size: 13px;
  line-height: 1.7;
  color: #5b6875;
  padding: 8px 12px;
  background: #f5f6f7;
  border-left: 2px solid #cfe0e3;
  border-radius: 0 3px 3px 0;
}

.status-legend {
  display: grid;
  gap: 12px;
}

.status-legend-item {
  padding: 14px 18px;
  background: #ffffff;
  border: 1px solid #d8dde2;
  border-radius: 6px;
}

.status-legend-item dt {
  font-size: 14px;
  font-weight: 700;
  color: #16202a;
  margin-bottom: 4px;
}

.legend-basis,
.legend-action {
  font-size: 13.5px;
  line-height: 1.7;
  color: #3d4a56;
}

.legend-action {
  color: #5b6875;
  margin-top: 4px;
}

/* ---------------------------------------------------------
   pages · 观看指南
   --------------------------------------------------------- */
.page-guide .page-layout {
  grid-template-columns: minmax(0, 1fr) 320px;
}

.page-hero {
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid #d8dde2;
  border-radius: 6px;
  margin-bottom: 20px;
}

.page-hero-text {
  min-width: 0;
}

.page-hero-summary {
  font-size: 14.5px;
  line-height: 1.8;
  color: #3d4a56;
}

.page-guide .toc-panel {
  margin-bottom: 20px;
}

.prepare-table {
  min-width: 560px;
}

.stop-list {
  display: grid;
  gap: 12px;
}

.stop-item {
  padding: 16px 18px;
  background: #ffffff;
  border: 1px solid #d8dde2;
  border-radius: 6px;
  border-left: 3px solid #c9731a;
}

.stop-term {
  font-size: 15px;
  font-weight: 700;
  color: #16202a;
  margin-bottom: 6px;
}

.stop-desc {
  font-size: 14px;
  line-height: 1.75;
  color: #3d4a56;
  margin-bottom: 6px;
}

.stop-ref {
  font-size: 13px;
  line-height: 1.7;
  color: #5b6875;
}

/* ---------------------------------------------------------
   pages · 入口核验
   --------------------------------------------------------- */
.page-head {
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid #d8dde2;
  border-radius: 6px;
  margin-bottom: 22px;
}

.page-summary,
.page-head-summary {
  font-size: 14.5px;
  line-height: 1.8;
  color: #3d4a56;
}

.status-inline,
.page-head-tags,
.page-head-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.page-check .page-toc {
  margin-bottom: 20px;
}

.page-check .section {
  margin-bottom: 30px;
}

.change-block {
  padding: 16px 18px;
  background: #ffffff;
  border: 1px solid #d8dde2;
  border-radius: 6px;
  margin-bottom: 12px;
}

.change-block:last-child {
  margin-bottom: 0;
}

.change-title {
  font-size: 15px;
  font-weight: 700;
  color: #16202a;
  margin-bottom: 6px;
}

.change-block p {
  font-size: 14px;
  line-height: 1.75;
  color: #3d4a56;
}

/* ---------------------------------------------------------
   pages · 常见问题
   --------------------------------------------------------- */
.page-faq .page-head {
  margin-bottom: 20px;
}

.faq-media {
  margin-bottom: 24px;
}

.faq-media img {
  height: 240px;
}

.layout-single {
  display: block;
}

.faq-group {
  margin-bottom: 32px;
}

.faq-group:last-child {
  margin-bottom: 0;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #d8dde2;
  border-radius: 6px;
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 500;
  color: #16202a;
  cursor: pointer;
  list-style: none;
  min-height: 48px;
  transition: background 0.16s ease;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:hover {
  background: #f0f6f7;
}

.faq-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  position: relative;
  transition: transform 0.2s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: #16697a;
  border-radius: 1px;
}

.faq-icon::before {
  left: 0;
  right: 0;
  top: 7px;
  height: 2px;
}

.faq-icon::after {
  top: 0;
  bottom: 0;
  left: 7px;
  width: 2px;
}

.faq-item[open] .faq-icon {
  transform: rotate(90deg);
}

.faq-item[open] .faq-icon::after {
  opacity: 0;
}

.faq-answer {
  padding: 0 18px 16px 46px;
  border-top: 1px solid #eceff1;
  padding-top: 12px;
}

.faq-answer p {
  font-size: 14px;
  line-height: 1.8;
  color: #3d4a56;
  margin-bottom: 8px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.related-entry {
  margin-top: 34px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #d8dde2;
  border-radius: 6px;
}

.related-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.related-item {
  display: grid;
  gap: 4px;
  align-content: start;
  padding: 14px 16px;
  border: 1px solid #d8dde2;
  border-radius: 6px;
  background: #fafbfb;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.related-item:hover {
  border-color: #a9cbd1;
  background: #f0f6f7;
}

.related-item a {
  font-size: 14px;
  font-weight: 700;
  color: #16697a;
}

.related-note {
  font-size: 12.5px;
  line-height: 1.65;
  color: #5b6875;
}

/* ---------------------------------------------------------
   pages · 更新说明
   --------------------------------------------------------- */
.page-updates .page-toc {
  margin-bottom: 20px;
}

.page-head-text {
  min-width: 0;
}

.change-types {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.change-type {
  padding: 16px 18px;
  background: #ffffff;
  border: 1px solid #d8dde2;
  border-radius: 6px;
}

.change-type dt {
  font-size: 15px;
  font-weight: 700;
  color: #16202a;
  margin-bottom: 6px;
}

.change-type dd {
  font-size: 13.5px;
  line-height: 1.75;
  color: #3d4a56;
}

.notes-list {
  display: grid;
  gap: 10px;
}

.notes-list li {
  position: relative;
  padding: 12px 16px 12px 34px;
  background: #ffffff;
  border: 1px solid #d8dde2;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.75;
  color: #3d4a56;
}

.notes-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 20px;
  width: 7px;
  height: 7px;
  background: #16697a;
  border-radius: 1px;
}

/* ---------------------------------------------------------
   pages · 404
   --------------------------------------------------------- */
.error-main {
  max-width: 1160px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.error-panel {
  max-width: 640px;
  margin: 0 auto;
  padding: 32px 28px;
  background: #ffffff;
  border: 1px solid #d8dde2;
  border-radius: 6px;
  text-align: left;
}

.error-code {
  font-size: 13px;
  font-weight: 700;
  color: #c9731a;
  margin-bottom: 8px;
}

.error-panel h1 {
  font-size: 28px;
  line-height: 1.3;
  font-weight: 700;
  color: #16202a;
  margin-bottom: 10px;
}

.error-lead {
  font-size: 14.5px;
  line-height: 1.8;
  color: #5b6875;
  margin-bottom: 20px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: #16697a;
  color: #ffffff;
}

.btn-primary:hover {
  background: #125663;
}

.btn-ghost {
  background: #ffffff;
  border-color: #d8dde2;
  color: #16202a;
}

.btn-ghost:hover {
  border-color: #a9cbd1;
  background: #f0f6f7;
}

.error-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.error-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  font-size: 13.5px;
  color: #16697a;
  background: #f0f6f7;
  border: 1px solid #cfe0e3;
  border-radius: 4px;
}

.error-links a:hover {
  background: #e2eef0;
  text-decoration: none;
}

.error-note {
  font-size: 12.5px;
  line-height: 1.7;
  color: #5b6875;
  padding-top: 14px;
  border-top: 1px solid #eceff1;
}

/* ---------------------------------------------------------
   responsive
   --------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-figure img {
    height: 260px;
  }

  .column-index {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .topics-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .topic-summary {
    order: -1;
  }

  .steps-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .step-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-guide .page-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-main,
  .content-main,
  .page-content,
  .page-primary {
    min-width: 0;
  }

  .related-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .footer-brand-desc {
    max-width: none;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-left: 0;
    background: #ffffff;
    border-bottom: 1px solid #d8dde2;
    box-shadow: 0 8px 18px rgba(22, 32, 42, 0.08);
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 12px 12px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-item a {
    height: auto;
    min-height: 48px;
    padding: 10px 12px;
    border-bottom: 1px solid #eceff1;
    border-left: 2px solid transparent;
    font-size: 15px;
  }

  .nav-item.is-current a,
  .nav-item a.is-current {
    border-bottom-color: #eceff1;
    border-left-color: #16697a;
    background: #f0f6f7;
  }

  .header-inner {
    position: relative;
    flex-wrap: wrap;
  }

  .brand-slogan {
    display: none;
  }

  .column-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .batch-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .change-types {
    grid-template-columns: minmax(0, 1fr);
  }

  .related-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .title-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .title-tags {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  body.site-body {
    font-size: 14.5px;
  }

  .header-inner {
    padding: 0 16px;
    min-height: 58px;
  }

  .inner-main,
  .home-main {
    padding: 18px 16px 44px;
  }

  .hero-title {
    font-size: 26px;
    line-height: 1.32;
  }

  .page-title {
    font-size: 24px;
    line-height: 1.34;
  }

  .section-title {
    font-size: 18px;
  }

  .hero-inner {
    gap: 18px;
  }

  .hero-visual {
    order: -1;
  }

  .hero-figure img {
    height: 200px;
  }

  .scene-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .column-index {
    grid-template-columns: minmax(0, 1fr);
  }

  .step-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .step-list .step-item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .step-list .step-num,
  .step-list .step-number {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .content-figure img,
  .section-media img,
  .media-figure img,
  .faq-media img {
    height: 190px;
  }

  .media-figure img {
    height: 200px;
  }

  .table-wrap {
    border-radius: 4px;
  }

  .data-table {
    font-size: 13px;
    min-width: 0;
  }

  .channel-table,
  .prepare-table {
    min-width: 0;
  }

  .data-table thead {
    display: none;
  }

  .data-table tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    padding: 12px 14px;
    border-bottom: 1px solid #eceff1;
  }

  .data-table tbody tr:last-child {
    border-bottom: 0;
  }

  .data-table tbody td {
    padding: 3px 0;
    border-bottom: 0;
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 8px;
  }

  .data-table tbody td::before {
    content: attr(data-label);
    font-size: 12px;
    color: #5b6875;
    font-weight: 500;
  }

  .table-caption {
    padding: 10px 14px;
  }

  .conclusion,
  .conclusion-panel,
  .content-aside {
    padding: 16px;
  }

  .conclusion-links a,
  .aside-link {
    min-height: 40px;
  }

  .related-links {
    padding: 12px;
  }

  .footer-inner {
    padding: 28px 16px 20px;
  }

  .footer-nav {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .footer-bottom {
    padding: 12px 16px 18px;
  }

  .error-main {
    padding: 28px 16px 44px;
  }

  .error-panel {
    padding: 24px 18px;
  }

  .error-panel h1 {
    font-size: 22px;
  }

  .error-links {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-answer {
    padding-left: 18px;
  }

  .page-head {
    padding: 14px 16px;
  }

  .title-inner {
    padding: 14px 16px;
  }

  .change-block,
  .channel-item,
  .criteria-item,
  .status-legend-item,
  .change-type,
  .stop-item,
  .summary-item {
    padding: 14px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
