/* ==========================================================================
   天美麻花果冻视频大全 · 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body.site-body {
  margin: 0;
  padding: 0;
  background-color: #F7F5EF;
  color: #2A3342;
  font-family: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
p,
figure,
figcaption,
ul,
ol,
dl,
dd,
dt {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  color: #0B1220;
  font-weight: 700;
  line-height: 1.35;
}

a {
  color: #0F5E6B;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
  transition: color 0.18s ease, text-decoration-thickness 0.18s ease;
}

a:hover {
  color: #0B1220;
  text-decoration-thickness: 2px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #FF6B2C;
  outline-offset: 2px;
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

code {
  font-family: "SFMono-Regular", "Menlo", "Consolas", "Liberation Mono", monospace;
  font-size: 0.9em;
  background-color: #E8E2D6;
  color: #0B1220;
  padding: 0.1em 0.4em;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 200;
  display: inline-block;
  padding: 10px 18px;
  background-color: #FF6B2C;
  color: #0B1220;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
  color: #0B1220;
}

/* --------------------------------------------------------------------------
   2. layout · 全站骨架
   -------------------------------------------------------------------------- */

/* 页头 */
.site-header {
  background-color: #0B1220;
  border-bottom: 1px solid #1E2939;
  position: relative;
  z-index: 100;
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #F7F5EF;
  flex-shrink: 0;
}

.brand:hover {
  color: #F7F5EF;
  text-decoration: none;
}

.brand-mark {
  display: inline-block;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background-color: #FF6B2C;
  position: relative;
  flex-shrink: 0;
}

.brand-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform: translate(-40%, -50%);
  border-style: solid;
  border-width: 7px 0 7px 11px;
  border-color: transparent transparent transparent #0B1220;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-name {
  font-size: 17px;
  font-weight: 700;
  color: #F7F5EF;
}

.brand-tagline {
  font-size: 12px;
  color: #A9B4C4;
  letter-spacing: 0.02em;
}

/* 主导航 */
.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-block;
  padding: 10px 12px;
  color: #E4E8EF;
  font-size: 15px;
  text-decoration: none;
  border-radius: 6px;
  white-space: nowrap;
}

.nav-link:hover {
  color: #FFFFFF;
  background-color: #1A2436;
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.nav-link.is-current {
  color: #FF6B2C;
  font-weight: 700;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  color: #E4E8EF;
  font-size: 15px;
  border-radius: 6px;
  white-space: nowrap;
}

.nav-dropdown-trigger::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 4px 0 4px;
  border-color: #A9B4C4 transparent transparent transparent;
  transition: transform 0.18s ease;
}

.nav-dropdown-trigger:hover {
  color: #FFFFFF;
  background-color: #1A2436;
}

.nav-dropdown-trigger[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  padding: 8px;
  background-color: #FFFFFF;
  border: 1px solid #E8E2D6;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(11, 18, 32, 0.18);
  display: none;
  z-index: 120;
}

.nav-dropdown.is-open {
  display: block;
}

.nav-dropdown li {
  margin: 0;
}

.nav-dropdown a {
  display: block;
  padding: 9px 12px;
  color: #0F5E6B;
  font-size: 15px;
  border-radius: 6px;
  text-decoration: none;
}

.nav-dropdown a:hover {
  background-color: #F7F5EF;
  color: #0B1220;
  text-decoration: underline;
}

/* 汉堡按钮（桌面隐藏） */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 6px;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #F7F5EF;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.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;
  width: 100%;
}

.home-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 64px;
}

.inner-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px 64px;
}

/* 面包屑 */
.breadcrumb {
  font-size: 14px;
  color: #4A5568;
  padding: 20px 0 0;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.breadcrumb-list li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb-list li + li::before {
  content: "›";
  color: #8A94A6;
  margin-right: 2px;
}

.breadcrumb a {
  color: #0F5E6B;
}

.breadcrumb-current {
  color: #2A3342;
  font-weight: 600;
}

.breadcrumb-sep {
  color: #8A94A6;
  margin: 0 2px;
}

/* 页面标题区 */
.page-title {
  padding: 16px 0 8px;
}

.page-kicker,
.section-kicker,
.section-label,
.page-label {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: #0F5E6B;
  background-color: #E8E2D6;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.page-lead {
  font-size: 16px;
  color: #3A4555;
  max-width: 760px;
}

.page-header {
  padding: 12px 0 20px;
}

.page-header .page-title,
.page-title-section .page-title {
  margin: 0;
}

h1,
.page-title,
#page-heading,
#page-h1,
#hero-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: #0B1220;
}

.page-title-section {
  padding: 16px 0 8px;
}

/* 页脚 */
.site-footer {
  margin-top: 64px;
  border-top: 1px solid #E8E2D6;
  background-color: #0B1220;
  color: #C9D2DF;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-col {
  min-width: 0;
}

.footer-brand-name {
  font-size: 18px;
  font-weight: 700;
  color: #F7F5EF;
  margin-bottom: 10px;
}

.footer-brand-desc {
  font-size: 14px;
  color: #B4BFCE;
  line-height: 1.7;
  margin-bottom: 10px;
}

.footer-brand-note {
  font-size: 13px;
  color: #8A94A6;
  line-height: 1.65;
}

.footer-title {
  font-size: 14px;
  font-weight: 700;
  color: #F7F5EF;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #C9D2DF;
  font-size: 14px;
  text-decoration: none;
}

.footer-links a:hover {
  color: #FF6B2C;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid #1E2939;
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 24px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.footer-bottom p {
  font-size: 13px;
  color: #8A94A6;
  margin: 0;
}

.footer-copy {
  color: #6B7688 !important;
}

/* --------------------------------------------------------------------------
   3. components · 通用组件
   -------------------------------------------------------------------------- */

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 22px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background-color: #FF6B2C;
  color: #0B1220;
  border-color: #FF6B2C;
}

.btn-primary:hover {
  background-color: #E85A1C;
  border-color: #E85A1C;
  color: #0B1220;
  text-decoration: none;
}

.btn-ghost {
  background-color: transparent;
  color: #0B1220;
  border-color: #0B1220;
}

.btn-ghost:hover {
  background-color: #0B1220;
  color: #F7F5EF;
  text-decoration: none;
}

/* 箭头链接 */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: #0F5E6B;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.link-arrow::after {
  content: "→";
  font-family: inherit;
  transition: transform 0.18s ease;
}

.link-arrow:hover {
  color: #0B1220;
  text-decoration-thickness: 2px;
}

.link-arrow:hover::after {
  transform: translateX(3px);
}

/* 区块标题 */
.section-head {
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 20px;
}

.section-head h2 {
  font-size: 1.75rem;
  margin: 0;
}

.section-head p {
  font-size: 15px;
  color: #4A5568;
  margin: 0;
  max-width: 620px;
}

.section-title {
  font-size: 1.5rem;
  margin: 0 0 12px;
}

.section-intro {
  font-size: 16px;
  color: #3A4555;
  margin-bottom: 20px;
  max-width: 720px;
}

.section-note {
  font-size: 14px;
  color: #4A5568;
  margin-top: 16px;
  padding: 12px 16px;
  background-color: #F7F5EF;
  border-left: 3px solid #0F5E6B;
  border-radius: 4px;
}

.content-block,
.content-section {
  margin-bottom: 48px;
  scroll-margin-top: 88px;
}

.content-block > h2,
.content-section > h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.content-block > p,
.content-section > p {
  margin-bottom: 18px;
  color: #3A4555;
}

/* figure 通用 */
figure {
  margin: 0;
}

figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
  background-color: #E8E2D6;
}

figcaption {
  font-size: 13px;
  color: #4A5568;
  margin-top: 8px;
  line-height: 1.6;
}

.content-figure,
.media-figure,
.section-figure,
.sitemap-figure,
.question-media {
  margin: 0 0 24px;
  max-width: 100%;
}

.content-figure img,
.media-figure img,
.section-figure img,
.sitemap-figure img,
.question-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* 表格 */
.table-wrap,
.checklist-table-wrap,
.table-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #E8E2D6;
  border-radius: 8px;
  background-color: #FFFFFF;
  margin-bottom: 16px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

table caption {
  text-align: left;
}

thead th {
  background-color: #E8E2D6;
  color: #0B1220;
  font-weight: 700;
  text-align: left;
  padding: 12px 14px;
  white-space: nowrap;
  border-bottom: 1px solid #D4CCBC;
}

tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid #EFEBE2;
  color: #2A3342;
  vertical-align: top;
  line-height: 1.65;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr:hover {
  background-color: #FBFAF6;
}

/* 通用列表 */
.plain-list {
  list-style: none;
  padding: 0;
}

.plain-list li {
  padding: 8px 0 8px 22px;
  position: relative;
  border-bottom: 1px dashed #E8E2D6;
}

.plain-list li:last-child {
  border-bottom: 0;
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 18px;
  width: 6px;
  height: 6px;
  background-color: #0F5E6B;
  border-radius: 50%;
}

.plain-list li strong {
  color: #0B1220;
  margin-right: 6px;
}

/* 编号列表 */
.number-list {
  counter-reset: numlist;
  list-style: none;
  padding: 0;
}

.number-list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #E8E2D6;
}

.number-list li:last-child {
  border-bottom: 0;
}

.number-tag {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #0B1220;
  color: #FF6B2C;
  font-family: "SFMono-Regular", "Menlo", "Consolas", monospace;
  font-size: 14px;
  font-weight: 700;
  border-radius: 6px;
}

.number-body {
  flex: 1;
  min-width: 0;
}

.number-body strong {
  display: block;
  color: #0B1220;
  margin-bottom: 4px;
}

/* 顺序列表（三步/四步） */
.order-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 16px;
}

.order-item {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  background-color: #FFFFFF;
  border: 1px solid #E8E2D6;
  border-radius: 8px;
}

.order-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #0F5E6B;
  color: #FFFFFF;
  font-family: "SFMono-Regular", "Menlo", "Consolas", monospace;
  font-size: 16px;
  font-weight: 700;
  border-radius: 6px;
}

.order-body {
  flex: 1;
  min-width: 0;
}

.order-body h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.order-body p {
  font-size: 15px;
  color: #3A4555;
  margin-bottom: 6px;
}

.order-expect {
  color: #0F5E6B !important;
  font-size: 14px !important;
  font-weight: 600;
}

/* 相关内容 */
.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding: 20px 0;
  margin-top: 24px;
  border-top: 1px solid #E8E2D6;
}

.related-links-label {
  font-size: 13px;
  font-weight: 700;
  color: #4A5568;
  letter-spacing: 0.04em;
}

.related-links-item {
  font-size: 14px;
  color: #0F5E6B;
}

/* 内页双栏布局 */
.page-layout {
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.page-layout.sidebar-left {
  grid-template-columns: 240px minmax(0, 1fr);
}

.page-content,
.page-main {
  min-width: 0;
}

/* 页内目录（侧栏） */
.page-directory {
  position: sticky;
  top: 88px;
  align-self: start;
  padding: 16px;
  background-color: #FFFFFF;
  border: 1px solid #E8E2D6;
  border-radius: 8px;
  font-size: 14px;
}

.directory-progress {
  position: relative;
  width: 100%;
  height: 4px;
  background-color: #E8E2D6;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 14px;
}

.directory-progress-fill,
.directory-progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background-color: #FF6B2C;
  transition: width 0.12s linear;
}

.directory-title {
  font-size: 13px;
  font-weight: 700;
  color: #4A5568;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.directory-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.directory-list li {
  margin: 0;
}

.directory-link {
  display: block;
  padding: 8px 10px;
  font-size: 14px;
  color: #3A4555;
  text-decoration: none;
  border-left: 3px solid transparent;
  border-radius: 0 4px 4px 0;
  line-height: 1.5;
}

.directory-link:hover {
  background-color: #F7F5EF;
  color: #0B1220;
  text-decoration: underline;
}

.directory-link.is-active {
  border-left-color: #FF6B2C;
  color: #0B1220;
  font-weight: 700;
  background-color: #F7F5EF;
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   4. pages · 首页
   -------------------------------------------------------------------------- */

/* 首屏 */
.hero {
  padding: 32px 0 40px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero-media {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #E8E2D6;
  background-color: #E8E2D6;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #0F5E6B;
  background-color: #E8E2D6;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 14px;
}

#hero-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 17px;
  color: #3A4555;
  margin-bottom: 22px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
}

.hero-tags li {
  margin: 0;
}

.hero-tags a {
  display: inline-block;
  padding: 6px 12px;
  font-size: 13px;
  color: #0F5E6B;
  background-color: #FFFFFF;
  border: 1px solid #C9D2DF;
  border-radius: 999px;
  text-decoration: none;
}

.hero-tags a:hover {
  border-color: #0F5E6B;
  color: #0B1220;
  text-decoration: underline;
}

/* 频道标签轨道 */
.channel-rail {
  padding: 32px 0;
  border-top: 1px solid #E8E2D6;
  border-bottom: 1px solid #E8E2D6;
}

.rail-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
}

.rail-item {
  margin: 0;
  min-width: 0;
}

.rail-item a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 14px;
  background-color: #FFFFFF;
  border: 1px solid #E8E2D6;
  border-radius: 8px;
  text-decoration: none;
  height: 100%;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.rail-item a:hover {
  border-color: #0F5E6B;
  transform: translateY(-2px);
}

.rail-num {
  font-family: "SFMono-Regular", "Menlo", "Consolas", monospace;
  font-size: 13px;
  font-weight: 700;
  color: #FF6B2C;
}

.rail-name {
  font-size: 15px;
  font-weight: 700;
  color: #0B1220;
  line-height: 1.4;
}

.rail-desc {
  font-size: 13px;
  color: #4A5568;
  line-height: 1.55;
}

/* 主题片单精选 */
.topic-feature {
  padding: 48px 0;
}

.topic-strip {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  padding: 20px;
  background-color: #FFFFFF;
  border: 1px solid #E8E2D6;
  border-radius: 8px;
  margin-bottom: 16px;
  align-items: start;
}

.topic-strip:last-child {
  margin-bottom: 0;
}

.topic-cover {
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  background-color: #E8E2D6;
}

.topic-cover img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.topic-body {
  min-width: 0;
}

.topic-body h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.topic-desc {
  font-size: 15px;
  color: #3A4555;
  margin-bottom: 12px;
}

.topic-points {
  list-style: none;
  padding: 0;
  margin-bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.topic-points li {
  font-size: 13px;
  color: #0F5E6B;
  background-color: #F7F5EF;
  border: 1px solid #E8E2D6;
  padding: 4px 10px;
  border-radius: 4px;
}

/* 内容结构目录 */
.structure-index {
  padding: 48px 0;
  border-top: 1px solid #E8E2D6;
}

.index-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid #E8E2D6;
}

.index-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #E8E2D6;
}

.index-num {
  font-family: "SFMono-Regular", "Menlo", "Consolas", monospace;
  font-size: 20px;
  font-weight: 700;
  color: #FF6B2C;
}

.index-body {
  min-width: 0;
}

.index-body h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.index-body p {
  font-size: 15px;
  color: #3A4555;
  margin: 0;
}

/* 观看前判断四步 */
.watch-steps {
  padding: 48px 0;
  border-top: 1px solid #E8E2D6;
}

.step-row {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.step-cell {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 18px;
  background-color: #FFFFFF;
  border: 1px solid #E8E2D6;
  border-radius: 8px;
  border-top: 3px solid #0F5E6B;
  min-width: 0;
}

.step-label {
  font-family: "SFMono-Regular", "Menlo", "Consolas", monospace;
  font-size: 13px;
  font-weight: 700;
  color: #FF6B2C;
  letter-spacing: 0.02em;
}

.step-cell h3 {
  font-size: 1.05rem;
  margin: 0;
}

.step-cell p {
  font-size: 14px;
  color: #3A4555;
  margin: 0;
  flex: 1;
}

/* 入口自查提示条 */
.entry-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  background-color: #FFD166;
  color: #0B1220;
  border-radius: 8px;
  border-left: 6px solid #0B1220;
  margin: 24px 0 48px;
}

.entry-note-text {
  flex: 1 1 320px;
  min-width: 0;
}

.entry-note-text h2 {
  font-size: 1.2rem;
  margin-bottom: 6px;
  color: #0B1220;
}

.entry-note-text p {
  font-size: 15px;
  color: #0B1220;
  margin: 0;
}

.entry-note-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.entry-note .link-arrow {
  color: #0B1220;
}

.entry-note .link-arrow:hover {
  color: #0B1220;
  text-decoration-thickness: 2px;
}

/* 疑问清单摘录 */
.question-preview {
  padding: 48px 0;
  border-top: 1px solid #E8E2D6;
}

.question-rows {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.question-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid #E8E2D6;
}

.question-row:first-child {
  border-top: 1px solid #E8E2D6;
}

.q-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #0F5E6B;
  background-color: #E8E2D6;
  padding: 4px 8px;
  border-radius: 4px;
  text-align: center;
  white-space: nowrap;
}

.q-body {
  min-width: 0;
}

.q-body h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.q-body p {
  font-size: 14px;
  color: #4A5568;
  margin: 0;
}

/* 内容边界三列 */
.boundary-note {
  padding: 48px 0;
  border-top: 1px solid #E8E2D6;
}

.boundary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.boundary-col {
  padding: 22px 20px;
  background-color: #FFFFFF;
  border: 1px solid #E8E2D6;
  border-radius: 8px;
  min-width: 0;
}

.boundary-col h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid #0F5E6B;
}

.boundary-col ul {
  list-style: none;
  padding: 0;
}

.boundary-col li {
  position: relative;
  padding: 6px 0 6px 18px;
  font-size: 14px;
  color: #3A4555;
  line-height: 1.65;
}

.boundary-col li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: #FF6B2C;
  font-weight: 700;
}

/* 最后引导区 */
.start-here {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 40px 36px;
  background-color: #0B1220;
  color: #F7F5EF;
  border-radius: 8px;
  margin: 32px 0 0;
}

.start-copy {
  min-width: 0;
}

.start-copy h2 {
  font-size: 1.55rem;
  color: #F7F5EF;
  margin-bottom: 10px;
}

.start-copy p {
  font-size: 15px;
  color: #C9D2DF;
  margin: 0;
}

.start-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.start-here .btn-ghost {
  color: #F7F5EF;
  border-color: #F7F5EF;
}

.start-here .btn-ghost:hover {
  background-color: #F7F5EF;
  color: #0B1220;
}

/* --------------------------------------------------------------------------
   5. pages · 频道图谱
   -------------------------------------------------------------------------- */

.page-channel-atlas .channel-table {
  min-width: 720px;
}

.page-channel-atlas .channel-table td:first-child {
  font-weight: 700;
  color: #0B1220;
  white-space: nowrap;
}

.table-note {
  font-size: 14px;
  color: #4A5568;
  margin-top: 8px;
}

.choice-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.choice-item {
  padding: 20px 18px;
  background-color: #FFFFFF;
  border: 1px solid #E8E2D6;
  border-radius: 8px;
  min-width: 0;
}

.choice-item h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.choice-question {
  font-size: 14px;
  color: #3A4555;
  margin-bottom: 8px;
  padding-left: 14px;
  position: relative;
}

.choice-question::before {
  content: "?";
  position: absolute;
  left: 0;
  color: #FF6B2C;
  font-weight: 700;
}

.choice-action {
  font-size: 14px;
  color: #0F5E6B;
  font-weight: 600;
  margin: 0;
  padding-left: 14px;
  position: relative;
}

.choice-action::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #0F5E6B;
}

.topic-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.topic-map-item {
  padding: 18px 20px;
  background-color: #FFFFFF;
  border: 1px solid #E8E2D6;
  border-radius: 8px;
  border-left: 4px solid #0F5E6B;
  min-width: 0;
}

.topic-map-item h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.topic-map-item p {
  font-size: 14px;
  color: #3A4555;
  margin: 0;
}

.next-links {
  margin-top: 28px;
  padding: 20px 22px;
  background-color: #FFFFFF;
  border: 1px solid #E8E2D6;
  border-radius: 8px;
}

.next-links-title {
  font-size: 14px;
  font-weight: 700;
  color: #4A5568;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}

.next-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
  padding: 0;
}

.next-link-list li {
  margin: 0;
}

.next-link-list a {
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   6. pages · 主题片单
   -------------------------------------------------------------------------- */

.page-theme-lists .topic-item {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 22px;
  padding: 20px;
  background-color: #FFFFFF;
  border: 1px solid #E8E2D6;
  border-radius: 8px;
  margin-bottom: 16px;
  align-items: start;
}

.page-theme-lists .topic-item:last-child {
  margin-bottom: 0;
}

.page-theme-lists .topic-cover {
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  background-color: #E8E2D6;
}

.page-theme-lists .topic-cover img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-theme-lists .topic-body {
  min-width: 0;
}

.page-theme-lists .topic-body h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.topic-composition {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.topic-composition li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: #3A4555;
  line-height: 1.6;
}

.topic-composition li::before {
  content: "▸";
  position: absolute;
  left: 4px;
  color: #FF6B2C;
  font-weight: 700;
}

.topic-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: #0F5E6B;
}

.topic-link::after {
  content: "→";
}

.topic-link:hover {
  color: #0B1220;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 16px;
}

.compare-col {
  padding: 20px;
  background-color: #FFFFFF;
  border: 1px solid #E8E2D6;
  border-radius: 8px;
  min-width: 0;
}

.compare-col h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #0F5E6B;
}

.compare-list {
  list-style: none;
  padding: 0;
}

.compare-list li {
  position: relative;
  padding: 6px 0 6px 20px;
  font-size: 14px;
  color: #3A4555;
  line-height: 1.65;
}

.compare-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1F7A4D;
  font-weight: 700;
}

.compare-note {
  font-size: 14px;
  color: #4A5568;
  margin: 0;
}

.page-theme-lists .boundary-note {
  padding: 20px 22px;
  background-color: #FFFFFF;
  border: 1px solid #E8E2D6;
  border-left: 4px solid #FF6B2C;
  border-radius: 8px;
}

.page-theme-lists .boundary-note p {
  font-size: 15px;
  color: #3A4555;
  margin: 0 0 8px;
}

.page-theme-lists .boundary-note p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   7. pages · 观看路径
   -------------------------------------------------------------------------- */

.prepare-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.prepare-item {
  padding: 16px 18px;
  background-color: #FFFFFF;
  border: 1px solid #E8E2D6;
  border-radius: 8px;
  min-width: 0;
}

.prepare-item h3 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: #0F5E6B;
}

.prepare-item p {
  font-size: 14px;
  color: #3A4555;
  margin: 0;
}

.step-card {
  padding: 22px 24px;
  background-color: #FFFFFF;
  border: 1px solid #E8E2D6;
  border-radius: 8px;
  margin-bottom: 16px;
  border-left: 4px solid #0F5E6B;
}

.step-card:last-child {
  margin-bottom: 0;
}

.step-card .step-number {
  display: inline-block;
  font-family: "SFMono-Regular", "Menlo", "Consolas", monospace;
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
  background-color: #0B1220;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.step-card h3 {
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.step-block {
  padding: 12px 0;
  border-top: 1px dashed #E8E2D6;
}

.step-block:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.step-block h4 {
  font-size: 13px;
  font-weight: 700;
  color: #0F5E6B;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}

.step-block p {
  font-size: 15px;
  color: #3A4555;
  margin: 0;
}

.page-watch-path .data-table {
  min-width: 640px;
}

.escalation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.escalation-card {
  padding: 22px 22px;
  background-color: #FFFFFF;
  border: 1px solid #E8E2D6;
  border-radius: 8px;
  min-width: 0;
}

.escalation-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.escalation-card p {
  font-size: 15px;
  color: #3A4555;
  margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   8. pages · 入口自查
   -------------------------------------------------------------------------- */

.precheck-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.precheck-item {
  padding: 18px 18px;
  background-color: #FFFFFF;
  border: 1px solid #E8E2D6;
  border-radius: 8px;
  border-top: 3px solid #FF6B2C;
  min-width: 0;
}

.precheck-title {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.precheck-item p {
  font-size: 14px;
  color: #3A4555;
  margin: 0;
}

.page-entry-selfcheck .checklist-table {
  min-width: 680px;
}

.checklist-mobile {
  display: none;
}

.checklist-def {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  background-color: #FFFFFF;
  border: 1px solid #E8E2D6;
  border-radius: 8px;
  padding: 4px 16px;
}

.checklist-def dt {
  font-weight: 700;
  color: #0B1220;
  font-size: 15px;
  padding-top: 12px;
}

.checklist-def dd {
  font-size: 14px;
  color: #3A4555;
  padding: 4px 0 12px;
  border-bottom: 1px dashed #E8E2D6;
  line-height: 1.65;
}

.checklist-def dd:last-child {
  border-bottom: 0;
}

.symptom-row {
  padding: 18px 20px;
  background-color: #FFFFFF;
  border: 1px solid #E8E2D6;
  border-radius: 8px;
  margin-bottom: 14px;
}

.symptom-row:last-child {
  margin-bottom: 0;
}

.symptom-title {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: #0B1220;
}

.symptom-cause,
.symptom-action {
  font-size: 14px;
  color: #3A4555;
  margin-bottom: 6px;
  line-height: 1.65;
}

.symptom-action {
  margin-bottom: 0;
}

.symptom-cause .label,
.symptom-action .label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #0F5E6B;
  background-color: #E8E2D6;
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 8px;
  letter-spacing: 0.03em;
}

.action-steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.action-step {
  padding: 18px 18px;
  background-color: #FFFFFF;
  border: 1px solid #E8E2D6;
  border-radius: 8px;
  min-width: 0;
}

.action-step .step-number {
  display: inline-block;
  font-family: "SFMono-Regular", "Menlo", "Consolas", monospace;
  font-size: 13px;
  font-weight: 700;
  color: #FF6B2C;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}

.action-step .step-title {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.action-step .step-body {
  font-size: 14px;
  color: #3A4555;
  margin-bottom: 6px;
}

.action-step .step-result {
  font-size: 14px;
  color: #1F7A4D;
  font-weight: 600;
  margin: 0;
}

.upgrade-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.upgrade-col {
  padding: 20px 22px;
  background-color: #0B1220;
  color: #F7F5EF;
  border-radius: 8px;
  min-width: 0;
}

.upgrade-title {
  font-size: 1.1rem;
  color: #F7F5EF;
  margin-bottom: 8px;
}

.upgrade-col p {
  font-size: 14px;
  color: #C9D2DF;
  margin-bottom: 12px;
}

.upgrade-col .link-arrow {
  color: #FF6B2C;
}

.upgrade-col .link-arrow:hover {
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   9. pages · 疑问清单
   -------------------------------------------------------------------------- */

.page-question-index .page-header {
  padding: 12px 0 16px;
}

.page-question-index .page-title {
  padding: 0;
}

.page-question-index .page-title .page-kicker {
  margin-top: 4px;
}

.mobile-directory {
  display: none;
  margin: 0 0 20px;
  background-color: #FFFFFF;
  border: 1px solid #E8E2D6;
  border-radius: 8px;
}

.mobile-directory-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 700;
  color: #0B1220;
  text-align: left;
  min-height: 48px;
}

.mobile-directory-toggle::after {
  content: "▾";
  font-size: 13px;
  color: #0F5E6B;
  transition: transform 0.18s ease;
}

.mobile-directory-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.mobile-directory-panel {
  display: none;
  border-top: 1px solid #E8E2D6;
  padding: 8px 10px 12px;
}

.mobile-directory-panel.is-open {
  display: block;
}

.mobile-directory-list {
  list-style: none;
  padding: 0;
}

.mobile-directory-list li {
  margin: 0;
}

.mobile-directory-list a {
  display: block;
  padding: 10px 8px;
  font-size: 14px;
  color: #0F5E6B;
  text-decoration: none;
  border-bottom: 1px dashed #EFEBE2;
}

.mobile-directory-list li:last-child a {
  border-bottom: 0;
}

.question-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 32px;
  align-items: start;
}

.question-main {
  min-width: 0;
}

.question-figure {
  margin-bottom: 32px;
}

.question-figure .section-title {
  margin-bottom: 12px;
}

.question-media {
  margin: 0;
}

.question-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.question-list {
  margin-bottom: 32px;
}

.question-list > .section-note {
  margin-top: 0;
  margin-bottom: 20px;
}

.question-group {
  margin-bottom: 24px;
  scroll-margin-top: 96px;
}

.question-group:last-child {
  margin-bottom: 0;
}

.question-group-title {
  font-size: 1.1rem;
  margin-bottom: 10px;
  padding: 6px 0 6px 12px;
  border-left: 4px solid #FF6B2C;
  background-color: #FBFAF6;
}

.question-item {
  background-color: #FFFFFF;
  border: 1px solid #E8E2D6;
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
}

.question-item:last-child {
  margin-bottom: 0;
}

.question-button {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 600;
  color: #0B1220;
  text-align: left;
  line-height: 1.5;
  min-height: 48px;
  cursor: pointer;
  list-style: none;
}

.question-button::-webkit-details-marker {
  display: none;
}

.question-button::after {
  content: "+";
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 400;
  color: #0F5E6B;
  line-height: 1.2;
  transition: transform 0.18s ease;
}

.question-item[open] .question-button::after {
  content: "−";
}

.question-button:hover {
  background-color: #FBFAF6;
  color: #0F5E6B;
}

.question-answer {
  padding: 0 18px 16px;
  font-size: 14px;
  color: #3A4555;
  line-height: 1.75;
  border-top: 1px solid #E8E2D6;
  padding-top: 12px;
}

.question-answer p {
  margin-bottom: 8px;
}

.question-answer p:last-child {
  margin-bottom: 0;
}

.question-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #0F5E6B;
}

.question-link::after {
  content: "→";
}

.feedback-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  background-color: #0B1220;
  color: #F7F5EF;
  border-radius: 8px;
}

.feedback-cta-text {
  flex: 1 1 300px;
  min-width: 0;
}

.feedback-cta-text h2 {
  font-size: 1.2rem;
  color: #F7F5EF;
  margin-bottom: 6px;
}

.feedback-cta-text p {
  font-size: 14px;
  color: #C9D2DF;
  margin: 0;
}

.feedback-cta-action {
  flex-shrink: 0;
}

.feedback-cta-action .btn-primary {
  min-height: 46px;
}

/* 疑问清单侧栏 */
.question-sidebar {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-block {
  padding: 16px;
  background-color: #FFFFFF;
  border: 1px solid #E8E2D6;
  border-radius: 8px;
}

.sidebar-title {
  font-size: 14px;
  font-weight: 700;
  color: #4A5568;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}

.reading-progress {
  position: relative;
  width: 100%;
  height: 4px;
  background-color: #E8E2D6;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 12px;
}

.reading-progress-fill {
  display: block;
  height: 100%;
  width: 0;
  background-color: #FF6B2C;
  transition: width 0.12s linear;
}

.sidebar-directory-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-directory-list li {
  margin: 0;
}

.sidebar-directory-list a {
  display: block;
  padding: 8px 10px;
  font-size: 14px;
  color: #3A4555;
  text-decoration: none;
  border-left: 3px solid transparent;
  border-radius: 0 4px 4px 0;
}

.sidebar-directory-list a:hover {
  background-color: #F7F5EF;
  color: #0B1220;
  text-decoration: underline;
}

.sidebar-directory-list a.is-active {
  border-left-color: #FF6B2C;
  color: #0B1220;
  font-weight: 700;
  background-color: #F7F5EF;
  text-decoration: underline;
}

.topic-tag-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.topic-tag-list li {
  margin: 0;
}

.topic-tag {
  display: inline-block;
  padding: 6px 12px;
  font-size: 13px;
  color: #0F5E6B;
  background-color: #F7F5EF;
  border: 1px solid #C9D2DF;
  border-radius: 999px;
  text-decoration: none;
  min-height: 32px;
  line-height: 1.4;
}

.topic-tag:hover {
  border-color: #0F5E6B;
  color: #0B1220;
  text-decoration: underline;
}

.pending-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pending-item {
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px dashed #E8E2D6;
}

.pending-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.pending-text {
  font-size: 14px;
  color: #3A4555;
  margin-bottom: 6px;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   10. pages · 反馈指南
   -------------------------------------------------------------------------- */

.page-feedback-guide .page-title-inner {
  max-width: 760px;
}

.page-feedback-guide .page-title .page-kicker {
  margin-bottom: 12px;
}

.scope-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.scope-col {
  padding: 20px 22px;
  background-color: #FFFFFF;
  border: 1px solid #E8E2D6;
  border-radius: 8px;
  min-width: 0;
}

.scope-col h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #1F7A4D;
}

.scope-col-decline h3 {
  border-bottom-color: #C0392B;
}

.scope-col .plain-list li {
  font-size: 14px;
}

.process-steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.process-step {
  padding: 18px 16px;
  background-color: #FFFFFF;
  border: 1px solid #E8E2D6;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.process-step .step-index {
  font-family: "SFMono-Regular", "Menlo", "Consolas", monospace;
  font-size: 13px;
  font-weight: 700;
  color: #FF6B2C;
  letter-spacing: 0.03em;
}

.process-step h3 {
  font-size: 1.02rem;
  margin: 0;
}

.process-step p {
  font-size: 14px;
  color: #3A4555;
  margin: 0;
  flex: 1;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #0F5E6B;
}

.text-link::after {
  content: "→";
}

.text-link:hover {
  color: #0B1220;
}

.site-path {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.site-path-col {
  padding: 20px 22px;
  background-color: #0F5E6B;
  color: #F7F5EF;
  border-radius: 8px;
  min-width: 0;
}

.site-path-col h3 {
  font-size: 1.1rem;
  color: #F7F5EF;
  margin-bottom: 8px;
}

.site-path-col p {
  font-size: 14px;
  color: #DCE7E9;
  margin-bottom: 12px;
}

.site-path-col .text-link {
  color: #FFD166;
}

.site-path-col .text-link:hover {
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   11. pages · 站点地图
   -------------------------------------------------------------------------- */

.page-site-map .sitemap-section {
  margin-bottom: 40px;
  scroll-margin-top: 88px;
}

.page-site-map .sitemap-section h2 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #0F5E6B;
}

.page-site-map .sitemap-section > p {
  font-size: 15px;
  color: #3A4555;
  margin-bottom: 16px;
}

.sitemap-figure {
  margin: 0 0 20px;
}

.sitemap-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.sitemap-group-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.sitemap-group-item {
  margin: 0;
  padding: 16px 18px;
  background-color: #FFFFFF;
  border: 1px solid #E8E2D6;
  border-radius: 8px;
  min-width: 0;
}

.sitemap-group-link {
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  color: #0F5E6B;
  margin-bottom: 6px;
}

.sitemap-group-desc {
  font-size: 14px;
  color: #4A5568;
  margin: 0;
  line-height: 1.65;
}

.path-table {
  min-width: 620px;
}

.path-note {
  font-size: 14px;
  color: #4A5568;
  margin-top: 12px;
}

/* --------------------------------------------------------------------------
   12. pages · 404
   -------------------------------------------------------------------------- */

.error-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 24px;
}

.error-panel {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 32px;
  background-color: #FFFFFF;
  border: 1px solid #E8E2D6;
  border-radius: 8px;
  text-align: center;
}

.error-code {
  font-family: "SFMono-Regular", "Menlo", "Consolas", monospace;
  font-size: 64px;
  font-weight: 700;
  color: #FF6B2C;
  line-height: 1;
  margin-bottom: 12px;
}

.error-panel h1 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin-bottom: 14px;
}

.error-lead {
  font-size: 16px;
  color: #3A4555;
  margin-bottom: 8px;
}

.error-hint {
  font-size: 14px;
  color: #4A5568;
  margin-bottom: 24px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 28px;
}

.error-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: center;
  border-top: 1px solid #E8E2D6;
  padding-top: 20px;
}

.error-links li {
  margin: 0;
}

.error-links a {
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   13. responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .home-main,
  .inner-main {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-inner {
    gap: 28px;
  }

  .rail-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .step-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .boundary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .choice-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .precheck-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .action-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 24px;
  }

  .page-layout.sidebar-left {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
  }

  .question-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 24px;
  }
}

@media (max-width: 900px) {
  /* 内页双栏：先把侧栏移到正文之后，再按需折叠 */
  .page-layout.sidebar-left {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-layout.sidebar-left .page-directory {
    order: 2;
  }

  .page-layout.sidebar-left .page-content,
  .page-layout.sidebar-left .page-main {
    order: 1;
  }

  .page-directory {
    position: static;
    top: auto;
  }

  .question-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .question-sidebar {
    order: 2;
  }

  .question-main {
    order: 1;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .start-here {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .start-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  body.site-body {
    font-size: 16px;
  }

  .header-inner {
    height: 64px;
    padding: 0 16px;
    gap: 12px;
  }

  .brand-name {
    font-size: 15px;
  }

  .brand-tagline {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #0B1220;
    border-top: 1px solid #1E2939;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
    padding: 8px 16px 16px;
    z-index: 110;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: 100%;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link,
  .nav-dropdown-trigger {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    font-size: 16px;
    border-radius: 6px;
  }

  .nav-dropdown {
    position: static;
    min-width: 0;
    width: 100%;
    margin-top: 4px;
    box-shadow: none;
    border: 1px solid #1E2939;
    background-color: #141C2B;
    padding: 6px;
  }

  .nav-dropdown a {
    color: #E4E8EF;
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 10px 12px;
  }

  .nav-dropdown a:hover {
    background-color: #1A2436;
    color: #FFFFFF;
  }

  .home-main,
  .inner-main {
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 48px;
  }

  .breadcrumb {
    font-size: 13px;
    padding-top: 14px;
  }

  .page-title {
    padding: 12px 0 6px;
  }

  .page-header {
    padding: 8px 0 16px;
  }

  .page-lead {
    font-size: 15px;
  }

  .hero {
    padding: 20px 0 28px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .hero-media img {
    aspect-ratio: 16 / 10;
  }

  .hero-lead {
    font-size: 16px;
    margin-bottom: 18px;
  }

  .hero-actions {
    margin-bottom: 18px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .hero-tags a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
  }

  .channel-rail {
    padding: 24px 0;
  }

  .rail-list {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 6px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .rail-item {
    flex: 0 0 200px;
    scroll-snap-align: start;
  }

  .topic-feature,
  .structure-index,
  .watch-steps,
  .question-preview,
  .boundary-note {
    padding: 32px 0;
  }

  .section-head {
    margin-bottom: 18px;
    gap: 6px;
  }

  .section-head h2 {
    font-size: 1.4rem;
  }

  .section-head p {
    font-size: 14px;
  }

  .topic-strip {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
  }

  .topic-cover img {
    aspect-ratio: 16 / 9;
  }

  .index-row {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 16px 0;
  }

  .index-num {
    font-size: 17px;
    padding-top: 2px;
  }

  .index-row .link-arrow {
    grid-column: 2;
    justify-self: start;
    margin-top: 4px;
  }

  .step-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .entry-note {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
    margin: 16px 0 32px;
  }

  .entry-note-links {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .entry-note .link-arrow {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .question-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 16px 0;
  }

  .q-tag {
    justify-self: start;
  }

  .question-row .link-arrow {
    justify-self: start;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .boundary-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .start-here {
    padding: 26px 20px;
    margin-top: 24px;
  }

  .start-copy h2 {
    font-size: 1.3rem;
  }

  .start-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .start-actions .btn {
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    padding: 32px 16px 24px;
    gap: 24px;
  }

  .footer-bottom {
    padding: 16px 16px 28px;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
  }

  .related-links {
    padding: 16px 0;
  }

  .related-links-item {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }

  /* 内页侧栏：折叠为正文之后的独立块 */
  .page-layout.sidebar-left {
    gap: 24px;
  }

  .page-directory {
    padding: 14px;
  }

  .directory-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }

  .directory-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 8px 10px;
    font-size: 13px;
    line-height: 1.4;
  }

  .content-block,
  .content-section {
    margin-bottom: 32px;
  }

  .content-block > h2,
  .content-section > h2 {
    font-size: 1.3rem;
  }

  .choice-list,
  .topic-map,
  .precheck-list,
  .action-steps,
  .prepare-list,
  .compare-grid,
  .escalation-grid,
  .upgrade-panel,
  .site-path,
  .scope-matrix,
  .process-steps,
  .sitemap-group-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .page-theme-lists .topic-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
  }

  .page-theme-lists .topic-cover img {
    aspect-ratio: 16 / 9;
  }

  .page-theme-lists .topic-link,
  .topic-link,
  .text-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .step-card {
    padding: 18px;
  }

  .symptom-row {
    padding: 16px;
  }

  .checklist-table-wrap {
    display: none;
  }

  .checklist-mobile {
    display: block;
  }

  .checklist-def {
    padding: 4px 14px;
  }

  .action-step .step-number,
  .process-step .step-index {
    font-size: 13px;
  }

  /* 疑问清单页 */
  .mobile-directory {
    display: block;
  }

  .question-layout {
    gap: 24px;
  }

  .question-button {
    padding: 14px 16px;
    font-size: 15px;
  }

  .question-answer {
    padding: 12px 16px 16px;
  }

  .feedback-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .feedback-cta-action {
    width: 100%;
  }

  .feedback-cta-action .btn {
    width: 100%;
  }

  .question-sidebar {
    gap: 16px;
  }

  .sidebar-directory-list a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .topic-tag {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }

  /* 站点地图 */
  .page-site-map .sitemap-section {
    margin-bottom: 28px;
  }

  .page-site-map .sitemap-section h2 {
    font-size: 1.25rem;
  }

  /* 404 */
  .error-main {
    padding: 40px 16px;
  }

  .error-panel {
    padding: 28px 20px;
  }

  .error-code {
    font-size: 52px;
  }

  .error-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .error-actions .btn {
    width: 100%;
  }

  .error-links {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  .error-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

@media (max-width: 480px) {
  body.site-body {
    font-size: 16px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .brand-name {
    font-size: 14px;
  }

  h1,
  .page-title,
  #page-heading,
  #page-h1,
  #hero-title {
    font-size: 1.7rem;
  }

  .hero-lead {
    font-size: 15px;
  }

  .section-head h2 {
    font-size: 1.25rem;
  }

  .content-block > h2,
  .content-section > h2 {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 1.2rem;
  }

  .rail-item {
    flex: 0 0 176px;
  }

  .index-row {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
  }

  .index-num {
    font-size: 15px;
  }

  .index-body h3 {
    font-size: 1.02rem;
  }

  .q-body h3 {
    font-size: 1rem;
  }

  .directory-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .entry-note-text h2 {
    font-size: 1.08rem;
  }

  .feedback-cta-text h2 {
    font-size: 1.08rem;
  }

  .start-copy h2 {
    font-size: 1.15rem;
  }

  .error-code {
    font-size: 44px;
  }

  .step-card h3,
  .action-step .step-title,
  .process-step h3,
  .precheck-title,
  .symptom-title,
  .escalation-card h3,
  .upgrade-title,
  .scope-col h3,
  .site-path-col h3,
  .compare-col h3,
  .boundary-col h3,
  .choice-item h3,
  .topic-map-item h3,
  .prepare-item h3 {
    font-size: 1rem;
  }
}

/* 动效偏好 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .rail-item a:hover,
  .link-arrow:hover::after,
  .nav-dropdown-trigger[aria-expanded="true"]::after {
    transform: none;
  }
}

/* 程序验收反馈：移动端正文优先 */
@media (max-width: 768px) {
  .site-main :is(.page-content, .main-content, .content-main) {
    order: 1;
  }

  .site-main :is(aside, .sidebar) {
    order: 2;
  }
}
