/* =========================================================
   欧乐影院 · 站点样式
   分组：base / layout / components / pages / responsive
   ========================================================= */

/* ---------- base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body.site-body {
  margin: 0;
  background-color: #f7f6f4;
  color: #2c2f33;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  overflow-wrap: break-word;
  word-break: normal;
}

body.site-body.site-home,
body.site-body.site-inner,
body.site-body.site-error {
  background-color: #f7f6f4;
  color: #2c2f33;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

h1 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
  color: #2c2f33;
}

h2 {
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.35;
  color: #2c2f33;
}

h3 {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
  color: #2c2f33;
}

p {
  max-width: 72ch;
}

a {
  color: #8a5a3b;
  text-decoration: none;
}

a:hover {
  color: #6d452c;
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid #8a5a3b;
  outline-offset: 2px;
  border-radius: 3px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}

figure {
  margin: 0;
}

figcaption {
  margin-top: 8px;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #6b7075;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th,
td {
  text-align: left;
  vertical-align: top;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.num,
.data-table,
.compare-table,
.pick-index,
.step-num,
.step-nav-index,
.step-block-index,
.block-num,
.closing-index,
.topic-index,
.review-step-num {
  font-variant-numeric: tabular-nums;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- layout ---------- */

.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #d9d6d0;
  position: relative;
  z-index: 30;
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  color: #2c2f33;
  flex-shrink: 0;
}

.brand:hover {
  text-decoration: none;
  color: #2c2f33;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.brand-slogan {
  font-size: 0.75rem;
  line-height: 1.3;
  color: #6b7075;
  letter-spacing: 0.04em;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid #d9d6d0;
  border-radius: 6px;
  background-color: #ffffff;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #2c2f33;
  border-radius: 1px;
}

.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 22px;
}

.nav-link {
  display: inline-block;
  padding: 6px 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #2c2f33;
  border-bottom: 2px solid transparent;
  text-decoration: none;
}

.nav-link:hover {
  color: #8a5a3b;
  text-decoration: none;
}

.nav-link.is-current {
  border-bottom-color: #8a5a3b;
  color: #8a5a3b;
  font-weight: 600;
}

.site-main {
  display: block;
}

.home-main,
.inner-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px 64px;
}

.inner-main {
  padding-top: 20px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #6b7075;
  padding: 4px 0 14px;
}

.breadcrumb a {
  color: #6b7075;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #8a5a3b;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumb-sep {
  color: #b8b3aa;
}

.breadcrumb-current {
  color: #2c2f33;
  font-weight: 600;
}

.page-header {
  margin-bottom: 16px;
}

.page-title {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
  color: #2c2f33;
}

.page-head {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-lede,
.page-definition,
.page-def {
  font-size: 1rem;
  line-height: 1.75;
  color: #2c2f33;
  max-width: 68ch;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #6b7075;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.meta-item::before {
  content: "";
  width: 6px;
  height: 6px;
  background-color: #b8b3aa;
  border-radius: 1px;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.section-desc,
.section-note {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #6b7075;
  max-width: 68ch;
}

.section-title {
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.35;
  color: #2c2f33;
  margin-bottom: 12px;
}

.section-intro {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #6b7075;
  max-width: 68ch;
  margin-bottom: 18px;
}

.section-more {
  margin-top: 18px;
  font-size: 0.9375rem;
}

/* footer shell */

.site-footer {
  background-color: #ffffff;
  border-top: 1px solid #d9d6d0;
  margin-top: 24px;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 24px 36px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.footer-back {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid #d9d6d0;
}

.footer-back a {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #3f4a5a;
  text-decoration: none;
  padding: 4px 0;
}

.footer-back a:hover {
  color: #8a5a3b;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 32px;
}

.footer-col-title {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #6b7075;
  margin-bottom: 10px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-col a {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #2c2f33;
  text-decoration: none;
  display: inline-block;
  padding: 2px 0;
}

.footer-col a:hover {
  color: #8a5a3b;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-about {
  padding-top: 18px;
  border-top: 1px solid #d9d6d0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-brand {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #2c2f33;
}

.footer-about p {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: #6b7075;
  max-width: 80ch;
}

.footer-copy {
  color: #8b8880;
}

/* ---------- components ---------- */

/* 链接与按钮 */

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #8a5a3b;
  text-decoration: none;
  min-height: 32px;
}

.link-arrow::after {
  content: "→";
  font-size: 0.875rem;
  line-height: 1;
  transition: transform 0.15s ease;
}

.link-arrow:hover {
  color: #6d452c;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.link-arrow:hover::after {
  transform: translateX(2px);
}

.text-link {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #8a5a3b;
  text-decoration: none;
  padding: 4px 0;
  min-height: 28px;
}

.text-link:hover {
  color: #6d452c;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background-color: #3f4a5a;
  color: #ffffff;
  border-color: #3f4a5a;
}

.btn-primary:hover {
  background-color: #333d4a;
  border-color: #333d4a;
  color: #ffffff;
  text-decoration: none;
}

.btn-ghost {
  background-color: transparent;
  color: #3f4a5a;
  border-color: #b8b3aa;
}

.btn-ghost:hover {
  background-color: #eceae6;
  border-color: #8a5a3b;
  color: #6d452c;
  text-decoration: none;
}

/* 色标 */

.swatch {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 2px;
  flex-shrink: 0;
  vertical-align: middle;
}

.swatch-1 {
  background-color: #3f4a5a;
}

.swatch-2 {
  background-color: #5c6b52;
}

.swatch-3 {
  background-color: #8a6a4f;
}

.swatch-4 {
  background-color: #6d5a72;
}

.swatch-5 {
  background-color: #8b7a45;
}

.swatch-6 {
  background-color: #7a5a5a;
}

/* 表格通用 */

.table-wrap,
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background-color: #ffffff;
  border: 1px solid #d9d6d0;
  border-radius: 6px;
}

.table-caption {
  caption-side: top;
  text-align: left;
  padding: 12px 16px;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #6b7075;
  border-bottom: 1px solid #d9d6d0;
  background-color: #fbfaf8;
}

.data-table,
.compare-table {
  width: 100%;
  font-size: 0.875rem;
  line-height: 1.6;
}

.data-table thead th,
.compare-table thead th {
  padding: 10px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #6b7075;
  letter-spacing: 0.04em;
  background-color: #fbfaf8;
  border-bottom: 1px solid #d9d6d0;
  white-space: nowrap;
}

.data-table tbody th,
.compare-table tbody th {
  padding: 12px 14px;
  font-weight: 600;
  color: #2c2f33;
  border-bottom: 1px solid #eceae6;
  background-color: #ffffff;
  position: relative;
}

.data-table tbody td,
.compare-table tbody td {
  padding: 12px 14px;
  color: #2c2f33;
  border-bottom: 1px solid #eceae6;
  background-color: #ffffff;
}

.data-table tbody tr:nth-child(even) th,
.data-table tbody tr:nth-child(even) td,
.compare-table tbody tr:nth-child(even) th,
.compare-table tbody tr:nth-child(even) td {
  background-color: #eceae6;
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td,
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody th::before,
.compare-table tbody th::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 2px;
  background-color: #3f4a5a;
  vertical-align: middle;
}

.data-table tbody tr:nth-child(6n + 2) th::before,
.compare-table tbody tr:nth-child(6n + 2) th::before {
  background-color: #5c6b52;
}

.data-table tbody tr:nth-child(6n + 3) th::before,
.compare-table tbody tr:nth-child(6n + 3) th::before {
  background-color: #8a6a4f;
}

.data-table tbody tr:nth-child(6n + 4) th::before,
.compare-table tbody tr:nth-child(6n + 4) th::before {
  background-color: #6d5a72;
}

.data-table tbody tr:nth-child(6n + 5) th::before,
.compare-table tbody tr:nth-child(6n + 5) th::before {
  background-color: #8b7a45;
}

.data-table tbody tr:nth-child(6n) th::before,
.compare-table tbody tr:nth-child(6n) th::before {
  background-color: #7a5a5a;
}

.data-table .num,
.compare-table .num {
  white-space: nowrap;
}

/* 步骤徽标 */

.badge,
.step-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  line-height: 1.6;
  letter-spacing: 0.04em;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid transparent;
}

.step-badge-start,
.badge-start {
  background-color: #eceae6;
  color: #5c6b52;
  border-color: #d9d6d0;
}

.step-badge-current,
.badge-current {
  background-color: #3f4a5a;
  color: #ffffff;
  border-color: #3f4a5a;
}

.step-badge-next,
.badge-next {
  background-color: #fbfaf8;
  color: #8a6a4f;
  border-color: #d9d6d0;
}

.badge-main {
  background-color: #8a5a3b;
  color: #ffffff;
  border-color: #8a5a3b;
}

.badge-sub {
  background-color: #ffffff;
  color: #6b7075;
  border-color: #d9d6d0;
}

/* 相关入口条 */

.related,
.related-bar {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid #d9d6d0;
}

.related-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 12px;
}

.related-list li {
  flex: 1 1 240px;
  min-width: 0;
}

.related-list a,
.related-link {
  display: block;
  padding: 12px 14px;
  background-color: #ffffff;
  border: 1px solid #d9d6d0;
  border-radius: 6px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #2c2f33;
  text-decoration: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.related-list a:hover,
.related-link:hover {
  border-color: #8a5a3b;
  background-color: #fbfaf8;
  color: #8a5a3b;
  text-decoration: none;
}

.related-title {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
  color: #2c2f33;
}

/* ---------- pages ---------- */

/* 首页：首屏 */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 36px;
  align-items: end;
  padding: 36px 0 40px;
  border-bottom: 1px solid #d9d6d0;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.hero-text h1 {
  max-width: 20ch;
}

.hero-lede {
  font-size: 1rem;
  line-height: 1.8;
  color: #2c2f33;
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.hero-scope {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: #6b7075;
  padding-top: 12px;
  border-top: 1px solid #eceae6;
  max-width: 52ch;
}

.hero-figure {
  min-width: 0;
}

.hero-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #d9d6d0;
  background-color: #eceae6;
}

/* 首页：四字段摘要表 */

.lede-table {
  padding: 36px 0 8px;
}

.lede-data thead th:first-child,
.lede-data tbody th:first-child {
  width: 22%;
}

.lede-data tbody th {
  white-space: nowrap;
}

/* 首页：主推与次推 */

.pick {
  padding: 36px 0 8px;
}

.pick-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  background-color: #ffffff;
  border: 1px solid #d9d6d0;
  border-radius: 6px;
  padding: 20px;
  min-width: 0;
}

.pick-figure {
  min-width: 0;
}

.pick-figure img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #eceae6;
  background-color: #eceae6;
}

.pick-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.pick-label {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  font-weight: 600;
  color: #8a5a3b;
}

.pick-title {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
}

.pick-title a {
  color: #2c2f33;
  text-decoration: none;
}

.pick-title a:hover {
  color: #8a5a3b;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pick-body p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: #2c2f33;
  max-width: 60ch;
}

.pick-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border: 1px solid #d9d6d0;
  border-radius: 6px;
}

.pick-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid #eceae6;
}

.pick-item:last-child {
  border-bottom: 0;
}

.pick-index {
  font-size: 0.875rem;
  font-weight: 600;
  color: #6b7075;
}

.pick-item-body {
  min-width: 0;
}

.pick-item-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 2px;
}

.pick-item-title a {
  color: #2c2f33;
  text-decoration: none;
}

.pick-item-title a:hover {
  color: #8a5a3b;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pick-item-body p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: #6b7075;
}

/* 首页：频道精简表 */

.channel-brief {
  padding: 36px 0 8px;
}

.channel-data thead th:first-child,
.channel-data tbody th:first-child {
  width: 20%;
}

.channel-data tbody th {
  white-space: nowrap;
}

/* 首页：场景卡 */

.scene-cards {
  padding: 36px 0 8px;
}

.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.scene-cards .scene-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background-color: #ffffff;
  border: 1px solid #d9d6d0;
  border-radius: 6px;
  padding: 18px;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.scene-cards .scene-card:hover {
  border-color: #b8b3aa;
  background-color: #fbfaf8;
}

.scene-cards .scene-name {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
}

.scene-budget {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #6b7075;
  padding-bottom: 8px;
  border-bottom: 1px solid #eceae6;
}

.scene-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 4px 0 6px;
}

.scene-list li {
  position: relative;
  padding-left: 16px;
  font-size: 0.875rem;
  line-height: 1.65;
  color: #2c2f33;
}

.scene-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background-color: #b8b3aa;
}

.scene-cards .scene-card .link-arrow {
  margin-top: auto;
}

/* 首页：标注摘要 */

.term-brief {
  padding: 36px 0 8px;
}

.term-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.term-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background-color: #ffffff;
  border: 1px solid #d9d6d0;
  border-left: 3px solid #3f4a5a;
  border-radius: 6px;
  padding: 16px 18px;
  min-width: 0;
}

.term-card:nth-child(2) {
  border-left-color: #5c6b52;
}

.term-card:nth-child(3) {
  border-left-color: #8a6a4f;
}

.term-name {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.45;
  color: #2c2f33;
}

.term-def {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #2c2f33;
}

.term-where {
  font-size: 0.75rem;
  line-height: 1.6;
  color: #6b7075;
  padding-top: 6px;
  border-top: 1px solid #eceae6;
}

/* 首页：三步概览 */

.steps-brief {
  padding: 36px 0 8px;
}

.step-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  background-color: #ffffff;
  border: 1px solid #d9d6d0;
  border-radius: 6px;
  overflow: hidden;
}

.step-strip-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  border-right: 1px solid #eceae6;
  min-width: 0;
}

.step-strip-item:last-child {
  border-right: 0;
}

.step-num {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #6b7075;
}

.step-name {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

.step-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #6b7075;
}

.step-strip-item .step-badge {
  align-self: flex-start;
  margin-top: 4px;
}

/* 首页：编排摘录 */

.editorial-brief {
  padding: 36px 0 8px;
}

.editorial-body {
  background-color: #ffffff;
  border: 1px solid #d9d6d0;
  border-radius: 6px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.editorial-body p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: #2c2f33;
  max-width: 72ch;
}

.editorial-body .link-arrow {
  align-self: flex-start;
}

/* 频道对照页 */

.legend {
  margin-bottom: 32px;
}

.legend-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding: 14px 16px;
  background-color: #ffffff;
  border: 1px solid #d9d6d0;
  border-radius: 6px;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #2c2f33;
  white-space: nowrap;
}

.legend-name {
  color: #2c2f33;
}

.table-main {
  margin-bottom: 40px;
}

.table-figure {
  margin-bottom: 18px;
  max-width: 720px;
}

.table-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #d9d6d0;
  background-color: #eceae6;
}

.compare-table {
  min-width: 760px;
}

.compare-table thead th:first-child,
.compare-table tbody th:first-child {
  width: 16%;
}

.compare-table tbody th {
  white-space: nowrap;
}

.tag {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: #ffffff;
  white-space: nowrap;
}

.tag-1 {
  background-color: #3f4a5a;
}

.tag-2 {
  background-color: #5c6b52;
}

.tag-3 {
  background-color: #8a6a4f;
}

.tag-4 {
  background-color: #6d5a72;
}

.tag-5 {
  background-color: #8b7a45;
}

.tag-6 {
  background-color: #7a5a5a;
}

.group-advice {
  margin-bottom: 40px;
}

.advice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.advice-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background-color: #ffffff;
  border: 1px solid #d9d6d0;
  border-radius: 6px;
  padding: 18px;
  min-width: 0;
}

.advice-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

.advice-fit {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #2c2f33;
}

.advice-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.advice-list li {
  position: relative;
  padding-left: 16px;
  font-size: 0.875rem;
  line-height: 1.65;
  color: #6b7075;
}

.advice-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background-color: #b8b3aa;
}

.advice-item .text-link {
  margin-top: auto;
}

.field-notes {
  margin-bottom: 40px;
}

.field-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  background-color: #ffffff;
  border: 1px solid #d9d6d0;
  border-radius: 6px;
  overflow: hidden;
}

.field-item {
  padding: 16px 18px;
  border-bottom: 1px solid #eceae6;
  min-width: 0;
}

.field-item:nth-child(odd) {
  border-right: 1px solid #eceae6;
}

.field-item:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.field-name {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.5;
  color: #2c2f33;
  margin-bottom: 4px;
}

.field-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #6b7075;
}

.pitfalls {
  margin-bottom: 40px;
}

.pitfall-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  background-color: #ffffff;
  border: 1px solid #d9d6d0;
  border-radius: 6px;
  counter-reset: pitfall;
}

.pitfall-item {
  padding: 16px 18px 16px 52px;
  border-bottom: 1px solid #eceae6;
  position: relative;
  counter-increment: pitfall;
}

.pitfall-item:last-child {
  border-bottom: 0;
}

.pitfall-item::before {
  content: counter(pitfall, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #8a6a4f;
  font-variant-numeric: tabular-nums;
}

.pitfall-name {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 4px;
}

.pitfall-fix {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #6b7075;
}

/* 场景选片页 */

.page-scene-picks .scene-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-scene-picks .scene-grid > .section-title {
  margin-bottom: 0;
}

.page-scene-picks .scene-grid .scene-card {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 22px;
  background-color: #ffffff;
  border: 1px solid #d9d6d0;
  border-radius: 6px;
  padding: 20px;
  min-width: 0;
}

.scene-media {
  min-width: 0;
}

.scene-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #eceae6;
  background-color: #eceae6;
}

.scene-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.page-scene-picks .scene-name {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.4;
}

.page-scene-picks .scene-budget {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #8a5a3b;
  font-weight: 600;
  padding-bottom: 0;
  border-bottom: 0;
}

.scene-desc {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: #2c2f33;
  max-width: 62ch;
}

.page-scene-picks .scene-list {
  counter-reset: scene-item;
  gap: 8px;
  margin: 4px 0;
  padding: 0;
}

.page-scene-picks .scene-list li {
  counter-increment: scene-item;
  position: relative;
  padding-left: 30px;
  font-size: 0.875rem;
  line-height: 1.7;
  color: #2c2f33;
}

.page-scene-picks .scene-list li::before {
  content: counter(scene-item, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.9;
  color: #8a6a4f;
  background: none;
  width: auto;
  height: auto;
  border-radius: 0;
}

.scene-item-title {
  display: inline;
}

.scene-order {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: #6b7075;
  padding: 10px 12px;
  background-color: #fbfaf8;
  border-left: 2px solid #d9d6d0;
  border-radius: 0 4px 4px 0;
}

.scene-link {
  align-self: flex-start;
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #8a5a3b;
  text-decoration: none;
}

.scene-link::after {
  content: "→";
  line-height: 1;
}

.scene-link:hover {
  color: #6d452c;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.switch-note {
  margin-top: 40px;
}

.switch-intro {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: #2c2f33;
  max-width: 68ch;
  margin-bottom: 14px;
}

.switch-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.switch-item {
  padding: 14px 16px;
  background-color: #ffffff;
  border: 1px solid #d9d6d0;
  border-radius: 6px;
  font-size: 0.875rem;
  line-height: 1.7;
  color: #6b7075;
  min-width: 0;
}

.switch-item strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #2c2f33;
  margin-bottom: 2px;
}

.page-scene-picks .compare-table {
  margin-top: 40px;
  min-width: 0;
}

.page-scene-picks .compare-table thead th:first-child,
.page-scene-picks .compare-table tbody th:first-child {
  width: 22%;
}

.page-scene-picks .compare-table tbody th {
  white-space: nowrap;
}

/* 专题解读页 */

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 40px;
  align-items: start;
}

.content-column {
  min-width: 0;
}

.page-aside {
  min-width: 0;
  position: sticky;
  top: 20px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.aside-toc,
.aside-terms {
  background-color: #ffffff;
  border: 1px solid #d9d6d0;
  border-radius: 6px;
  padding: 16px;
}

.aside-title {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #6b7075;
  margin-bottom: 10px;
}

.toc-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toc-link {
  display: block;
  padding: 6px 8px;
  border-left: 2px solid #eceae6;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #2c2f33;
  text-decoration: none;
}

.toc-link:hover,
.toc-link.is-active {
  border-left-color: #8a5a3b;
  color: #8a5a3b;
  background-color: #fbfaf8;
  text-decoration: none;
}

.aside-term-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.aside-term-list a {
  display: block;
  padding: 4px 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #8a5a3b;
  text-decoration: none;
}

.aside-term-list a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.aside-note {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #eceae6;
  font-size: 0.75rem;
  line-height: 1.65;
  color: #6b7075;
}

.topic-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.topic-item {
  background-color: #ffffff;
  border: 1px solid #d9d6d0;
  border-radius: 6px;
  padding: 22px;
  min-width: 0;
}

.topic-item-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid #eceae6;
}

.topic-index {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #8a6a4f;
}

.topic-title {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.4;
}

.topic-figure {
  margin-bottom: 18px;
}

.topic-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #eceae6;
  background-color: #eceae6;
}

.topic-block {
  margin-bottom: 16px;
}

.topic-block:last-child {
  margin-bottom: 0;
}

.topic-block-title {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #6b7075;
  margin-bottom: 6px;
}

.topic-definition {
  padding: 12px 14px;
  background-color: #fbfaf8;
  border-left: 3px solid #3f4a5a;
  border-radius: 0 4px 4px 0;
}

.topic-definition p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: #2c2f33;
  max-width: 62ch;
}

.topic-explain p,
.topic-example p {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: #2c2f33;
  max-width: 64ch;
}

.topic-explain p + p {
  margin-top: 8px;
}

.topic-example {
  padding: 12px 14px;
  background-color: #f7f6f4;
  border: 1px dashed #d9d6d0;
  border-radius: 4px;
}

.term-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.term-link-list li {
  min-width: 0;
}

.term-link-list a {
  display: inline-block;
  padding: 3px 10px;
  background-color: #fbfaf8;
  border: 1px solid #d9d6d0;
  border-radius: 4px;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #3f4a5a;
  text-decoration: none;
}

.term-link-list a:hover {
  border-color: #8a5a3b;
  color: #8a5a3b;
  text-decoration: none;
}

.closing {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid #d9d6d0;
}

.closing-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  background-color: #ffffff;
  border: 1px solid #d9d6d0;
  border-radius: 6px;
  overflow: hidden;
}

.closing-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 4px 12px;
  padding: 16px 18px;
  border-bottom: 1px solid #eceae6;
  min-width: 0;
}

.closing-item:last-child {
  border-bottom: 0;
}

.closing-index {
  grid-row: 1 / span 2;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #8a6a4f;
  line-height: 1.6;
}

.closing-title {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.5;
}

.closing-item p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #6b7075;
}

/* 观看自查页 */

.step-nav {
  margin-bottom: 32px;
  padding: 16px;
  background-color: #ffffff;
  border: 1px solid #d9d6d0;
  border-radius: 6px;
}

.step-nav-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.step-nav-item {
  min-width: 0;
}

.step-nav-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 12px 14px;
  border: 1px solid #eceae6;
  border-radius: 6px;
  background-color: #fbfaf8;
  text-decoration: none;
  color: #2c2f33;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.step-nav-link:hover {
  border-color: #b8b3aa;
  background-color: #f7f6f4;
  text-decoration: none;
}

.step-nav-item.is-current .step-nav-link {
  border-color: #3f4a5a;
  background-color: #ffffff;
}

.step-nav-index {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #6b7075;
}

.step-nav-name {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
}

.step-nav-note {
  font-size: 0.75rem;
  line-height: 1.6;
  color: #6b7075;
}

.step-nav-link .step-badge {
  align-self: flex-start;
}

.step-nav-hint {
  margin-top: 12px;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: #6b7075;
  max-width: 72ch;
}

.step-block {
  padding: 24px 0 28px;
  border-bottom: 1px solid #d9d6d0;
  min-width: 0;
}

.step-block:last-of-type {
  border-bottom: 0;
}

.step-block-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 16px;
}

.step-block-index {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #8a6a4f;
  padding: 2px 8px;
  background-color: #fbfaf8;
  border: 1px solid #d9d6d0;
  border-radius: 4px;
}

.step-block-title {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
}

.step-figure {
  margin-bottom: 18px;
  max-width: 720px;
}

.step-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #d9d6d0;
  background-color: #eceae6;
}

.step-block-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 72ch;
}

.step-subtitle {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.5;
  color: #2c2f33;
}

.step-checklist {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.step-checklist li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: #2c2f33;
}

.step-checklist li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.6em;
  width: 10px;
  height: 10px;
  border: 1px solid #b8b3aa;
  border-radius: 2px;
  background-color: #ffffff;
}

.step-checklist li a {
  color: #8a5a3b;
  text-decoration: none;
}

.step-checklist li a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.step-standard {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #6b7075;
  padding: 10px 12px;
  background-color: #fbfaf8;
  border-left: 2px solid #5c6b52;
  border-radius: 0 4px 4px 0;
}

.step-standard-label {
  font-weight: 600;
  color: #5c6b52;
  margin-right: 4px;
}

.step-standard a {
  color: #8a5a3b;
  text-decoration: none;
}

.step-standard a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* FAQ */

.faq-block {
  margin-top: 40px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.faq-item {
  background-color: #ffffff;
  border: 1px solid #d9d6d0;
  border-radius: 6px;
  padding: 0 16px;
  min-width: 0;
}

.faq-item[open] {
  border-color: #b8b3aa;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.5;
  color: #2c2f33;
  cursor: pointer;
  list-style: none;
  min-height: 44px;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1;
  color: #8a5a3b;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-answer {
  padding: 0 0 14px;
  font-size: 0.875rem;
  line-height: 1.75;
  color: #6b7075;
  max-width: 60ch;
}

/* 术语标注页 */

.define-table {
  margin-bottom: 40px;
}

.term-figure {
  margin-bottom: 18px;
  max-width: 720px;
}

.term-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #d9d6d0;
  background-color: #eceae6;
}

.define-table .data-table thead th:first-child,
.define-table .data-table tbody th:first-child {
  width: 22%;
}

.define-table .data-table tbody th.term-name {
  font-size: 0.875rem;
  font-weight: 600;
  white-space: normal;
}

.swatch-demo {
  margin-bottom: 40px;
}

.swatch-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  background-color: #ffffff;
  border: 1px solid #d9d6d0;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 20px;
}

.swatch-item {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 2px 10px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid #eceae6;
  border-right: 1px solid #eceae6;
  min-width: 0;
}

.swatch-item:nth-child(3n) {
  border-right: 0;
}

.swatch-item:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.swatch-dot {
  grid-row: 1 / span 2;
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 2px;
}

.swatch-one {
  background-color: #3f4a5a;
}

.swatch-two {
  background-color: #5c6b52;
}

.swatch-three {
  background-color: #8a6a4f;
}

.swatch-four {
  background-color: #6d5a72;
}

.swatch-five {
  background-color: #8b7a45;
}

.swatch-six {
  background-color: #7a5a5a;
}

.swatch-name {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5;
  color: #2c2f33;
}

.swatch-use {
  font-size: 0.75rem;
  line-height: 1.6;
  color: #6b7075;
}

.recommend-demo {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 16px;
}

.demo-main,
.demo-sub {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border-radius: 6px;
  min-width: 0;
}

.demo-main {
  background-color: #ffffff;
  border: 1px solid #d9d6d0;
  border-top: 3px solid #8a5a3b;
}

.demo-sub {
  background-color: #fbfaf8;
  border: 1px solid #eceae6;
}

.demo-main .badge,
.demo-sub .badge {
  align-self: flex-start;
}

.demo-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
}

.demo-main p,
.demo-sub p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #6b7075;
}

.demo-main .text-link,
.demo-sub .text-link {
  margin-top: auto;
}

.confusion {
  margin-bottom: 40px;
}

.confusion-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  padding: 16px 0;
  border-bottom: 1px solid #eceae6;
}

.confusion-row:first-of-type {
  border-top: 1px solid #eceae6;
}

.confusion-side {
  background-color: #ffffff;
  border: 1px solid #d9d6d0;
  border-radius: 6px;
  padding: 12px 14px;
  min-width: 0;
}

.confusion-label {
  display: inline-block;
  margin-bottom: 4px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #3f4a5a;
}

.confusion-side p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #6b7075;
}

.confusion-diff {
  align-self: center;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: #8a5a3b;
  padding: 10px 12px;
  background-color: #fbfaf8;
  border-left: 2px solid #8a5a3b;
  border-radius: 0 4px 4px 0;
  min-width: 0;
}

/* 编排说明页 */

.page-figure {
  margin-bottom: 32px;
  max-width: 820px;
}

.page-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #d9d6d0;
  background-color: #eceae6;
}

.editorial-block {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  padding: 28px 0;
  border-top: 1px solid #d9d6d0;
  min-width: 0;
}

.editorial-block:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.block-index {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.block-num {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #8a6a4f;
}

.block-index h2 {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.4;
}

.block-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.block-body > p {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: #2c2f33;
  max-width: 66ch;
}

.rule-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rule-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: #6b7075;
}

.rule-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background-color: #8a6a4f;
}

.rule-list strong {
  color: #2c2f33;
  font-weight: 600;
}

.review-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  counter-reset: review;
  background-color: #ffffff;
  border: 1px solid #d9d6d0;
  border-radius: 6px;
  overflow: hidden;
}

.review-steps li {
  position: relative;
  counter-increment: review;
  padding: 14px 16px 14px 52px;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: #2c2f33;
  border-bottom: 1px solid #eceae6;
}

.review-steps li:last-child {
  border-bottom: 0;
}

.review-step-num {
  position: absolute;
  left: 16px;
  top: 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #8a6a4f;
}

.review-steps li .review-step-num::after {
  content: "";
}

.review-exit {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #6b7075;
  padding: 10px 12px;
  background-color: #fbfaf8;
  border-left: 2px solid #5c6b52;
  border-radius: 0 4px 4px 0;
  max-width: 66ch;
}

.errata-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px;
  background-color: #ffffff;
  border: 1px solid #d9d6d0;
  border-radius: 6px;
}

.errata-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: #6b7075;
}

.errata-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background-color: #b8b3aa;
}

.errata-list strong {
  color: #2c2f33;
  font-weight: 600;
}

.errata-note {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: #6b7075;
  max-width: 66ch;
}

.block-body p a {
  color: #8a5a3b;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 404 */

.error-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}

.error-panel {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.error-code {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #8a6a4f;
}

.error-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  line-height: 1.3;
  color: #2c2f33;
}

.error-lead {
  font-size: 1rem;
  line-height: 1.8;
  color: #2c2f33;
  max-width: 52ch;
}

.error-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  background-color: #ffffff;
  border: 1px solid #d9d6d0;
  border-radius: 6px;
}

.error-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.875rem;
  line-height: 1.7;
  color: #6b7075;
}

.error-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background-color: #b8b3aa;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.error-action-primary,
.error-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.error-action-primary {
  background-color: #3f4a5a;
  color: #ffffff;
  border-color: #3f4a5a;
}

.error-action-primary:hover {
  background-color: #333d4a;
  color: #ffffff;
  text-decoration: none;
}

.error-action {
  background-color: transparent;
  color: #3f4a5a;
  border-color: #b8b3aa;
}

.error-action:hover {
  background-color: #eceae6;
  border-color: #8a5a3b;
  color: #6d452c;
  text-decoration: none;
}

.error-note {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: #6b7075;
  max-width: 56ch;
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .header-inner {
    padding: 12px 20px;
    gap: 10px 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    flex-basis: 100%;
    margin-left: 0;
    order: 3;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 0 4px;
    border-top: 1px solid #eceae6;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 4px;
    border-bottom: 1px solid #f1efeb;
    font-size: 1rem;
  }

  .nav-link.is-current {
    border-bottom-color: #f1efeb;
    border-left: 2px solid #8a5a3b;
    padding-left: 10px;
    color: #8a5a3b;
  }

  .home-main,
  .inner-main {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    padding: 24px 0 32px;
  }

  .hero-figure img {
    aspect-ratio: 16 / 10;
  }

  .pick-feature {
    grid-template-columns: minmax(0, 1fr);
    padding: 16px;
  }

  .pick-figure img {
    aspect-ratio: 16 / 9;
    height: auto;
  }

  .scene-grid,
  .scene-cards .scene-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scene-cards .scene-grid > :nth-child(3) {
    grid-column: 1 / -1;
  }

  .term-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .term-grid > :nth-child(3) {
    grid-column: 1 / -1;
  }

  .step-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .step-strip-item {
    border-right: 0;
    border-bottom: 1px solid #eceae6;
  }

  .step-strip-item:last-child {
    border-bottom: 0;
  }

  .advice-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .field-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .field-item:nth-child(odd) {
    border-right: 0;
  }

  .field-item:nth-last-child(-n + 2) {
    border-bottom: 1px solid #eceae6;
  }

  .field-item:last-child {
    border-bottom: 0;
  }

  .page-scene-picks .scene-grid .scene-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 16px;
  }

  .scene-media img {
    aspect-ratio: 16 / 9;
  }

  .switch-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .page-aside {
    position: static;
  }

  .step-nav-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .swatch-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .swatch-item:nth-child(3n) {
    border-right: 1px solid #eceae6;
  }

  .swatch-item:nth-child(2n) {
    border-right: 0;
  }

  .swatch-item:nth-last-child(-n + 3) {
    border-bottom: 1px solid #eceae6;
  }

  .swatch-item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .recommend-demo {
    grid-template-columns: minmax(0, 1fr);
  }

  .confusion-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .confusion-diff {
    align-self: stretch;
  }

  .editorial-block {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body.site-body {
    font-size: 15.5px;
  }

  .header-inner {
    padding: 12px 16px;
  }

  .brand-name {
    font-size: 1.125rem;
  }

  .home-main,
  .inner-main {
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 48px;
  }

  .inner-main {
    padding-top: 16px;
  }

  .error-main {
    padding: 32px 16px 56px;
  }

  .page-header {
    margin-bottom: 12px;
  }

  .page-head {
    margin-bottom: 24px;
  }

  .hero {
    padding: 16px 0 28px;
  }

  .hero-text h1 {
    max-width: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .lede-table,
  .pick,
  .channel-brief,
  .scene-cards,
  .term-brief,
  .steps-brief,
  .editorial-brief {
    padding-top: 28px;
  }

  .scene-grid,
  .scene-cards .scene-grid,
  .term-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .scene-cards .scene-grid > :nth-child(3),
  .term-grid > :nth-child(3) {
    grid-column: auto;
  }

  .pick-item {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 4px 12px;
    padding: 14px;
  }

  .pick-item .link-arrow {
    grid-column: 2;
    justify-self: start;
  }

  .editorial-body {
    padding: 16px;
  }

  .legend-list {
    gap: 8px 16px;
    padding: 12px 14px;
  }

  .legend-item {
    font-size: 0.75rem;
  }

  /* 表格转字段卡：不隐藏列 */
  .table-wrap,
  .table-scroll {
    overflow-x: visible;
    border: 0;
    background-color: transparent;
    border-radius: 0;
  }

  .data-table,
  .compare-table {
    display: block;
    width: 100%;
    min-width: 0;
    font-size: 0.875rem;
  }

  .data-table .table-caption,
  .compare-table .table-caption {
    display: block;
    padding: 0 0 10px;
    border: 0;
    background-color: transparent;
  }

  .data-table thead,
  .compare-table thead {
    display: none;
  }

  .data-table tbody,
  .compare-table tbody {
    display: block;
    width: 100%;
  }

  .data-table tbody tr,
  .compare-table tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    background-color: #ffffff;
    border: 1px solid #d9d6d0;
    border-radius: 6px;
    margin-bottom: 12px;
    padding: 4px 0;
    overflow: hidden;
  }

  .data-table tbody tr:last-child,
  .compare-table tbody tr:last-child {
    margin-bottom: 0;
  }

  .data-table tbody th,
  .compare-table tbody th,
  .data-table tbody td,
  .compare-table tbody td {
    display: block;
    width: 100%;
    border-bottom: 1px solid #f1efeb;
    background-color: transparent;
    padding: 8px 14px;
    white-space: normal;
  }

  .data-table tbody tr:nth-child(even) th,
  .data-table tbody tr:nth-child(even) td,
  .compare-table tbody tr:nth-child(even) th,
  .compare-table tbody tr:nth-child(even) td {
    background-color: transparent;
  }

  .data-table tbody th,
  .compare-table tbody th {
    background-color: #fbfaf8;
    border-bottom: 1px solid #eceae6;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .data-table tbody th::before,
  .compare-table tbody th::before {
    width: 8px;
    height: 8px;
  }

  .data-table tbody tr > *:last-child,
  .compare-table tbody tr > *:last-child {
    border-bottom: 0;
  }

  .data-table tbody td.num,
  .compare-table tbody td.num {
    white-space: normal;
  }

  .page-scene-picks .compare-table {
    margin-top: 28px;
  }

  .switch-note {
    margin-top: 28px;
  }

  .swatch-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .swatch-item,
  .swatch-item:nth-child(3n),
  .swatch-item:nth-child(2n) {
    border-right: 0;
  }

  .swatch-item:nth-last-child(-n + 2) {
    border-bottom: 1px solid #eceae6;
  }

  .swatch-item:last-child {
    border-bottom: 0;
  }

  .topic-item {
    padding: 16px;
  }

  .topic-item-head {
    gap: 8px;
  }

  .closing-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .closing-index {
    grid-row: auto;
  }

  .step-nav {
    padding: 12px;
  }

  .step-block {
    padding: 20px 0 24px;
  }

  .step-block-title {
    font-size: 1.1rem;
  }

  .faq-item {
    padding: 0 14px;
  }

  .pitfall-item {
    padding: 14px 14px 14px 46px;
  }

  .pitfall-item::before {
    left: 14px;
    top: 14px;
  }

  .review-steps li {
    padding: 12px 14px 12px 46px;
  }

  .review-step-num {
    left: 14px;
    top: 12px;
  }

  .footer-inner {
    padding: 22px 16px 30px;
    gap: 20px;
  }

  .footer-back {
    gap: 6px 16px;
  }

  .footer-back a {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
  }

  .footer-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .footer-col a {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
  }

  .related-list li {
    flex-basis: 100%;
  }

  .error-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .error-action-primary,
  .error-action {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .link-arrow::after,
  .btn,
  .related-list a,
  .related-link,
  .scene-cards .scene-card,
  .step-nav-link,
  .error-action-primary,
  .error-action {
    transition: none;
  }

  .link-arrow:hover::after {
    transform: none;
  }
}

/* 程序验收反馈：修复网格孤项 */
@media (min-width: 769px) {
  .scene-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 程序验收反馈：移动端防溢出 */
@media (max-width: 768px) {
  .site-main,
  .site-main * {
    min-width: 0;
    max-width: 100%;
  }

  .site-main :is(h1, h2, h3, h4, p, a, span) {
    overflow-wrap: anywhere;
  }
}
