/* ==========================================================================
   国产天美 hkecg.com — 视频频道与专题片单导航站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. base — 令牌、重置、排版、通用元素
   -------------------------------------------------------------------------- */

:root {
  --bg: #0b0c0e;
  --panel: #15171b;
  --panel-soft: #1b1e23;
  --line: #262a31;
  --line-strong: #343a43;
  --text: #f2f4f7;
  --text-soft: #9aa1ad;
  --text-dim: #7c828d;
  --accent: #e5484d;
  --accent-deep: #c23a3f;
  --green: #2fa36b;
  --amber: #f0a13c;
  --radius: 6px;
  --radius-sm: 4px;
  --shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --w-wide: 1120px;
  --w-main: 760px;
  --w-side: 300px;
  --w-text: 720px;
  --pad-x: 24px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body.site-body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--text);
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

a:hover {
  color: #ffffff;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

figure {
  margin: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

/* 跳转链接（问题反馈页） */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 60;
  padding: 10px 16px;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 14px;
}

.skip-link:focus {
  top: 12px;
  color: var(--text);
}

/* --------------------------------------------------------------------------
   2. layout — 页头、导航、主容器、面包屑、页标题区、页脚
   -------------------------------------------------------------------------- */

/* 页头 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 12, 14, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: var(--w-wide);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  min-height: 44px;
}

.brand-mark {
  display: inline-block;
  padding: 3px 9px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.brand-slogan {
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.4;
  white-space: nowrap;
}

/* 主导航 */
.site-nav {
  margin-left: auto;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-bottom: 2px solid transparent;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.4;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav a.is-current {
  color: var(--text);
  border-bottom-color: var(--accent);
}

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: var(--text);
  border-radius: 1px;
}

/* 主容器 */
.site-main {
  display: block;
}

.inner-main {
  width: 100%;
  max-width: var(--w-wide);
  margin: 0 auto;
  padding: 28px var(--pad-x) 56px;
}

/* 面包屑 */
.breadcrumb {
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--text-dim);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.breadcrumb ol li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb a {
  color: var(--text-soft);
}

.breadcrumb a:hover {
  color: var(--text);
}

.breadcrumb-sep {
  color: var(--line-strong);
}

.breadcrumb-current {
  color: var(--text-soft);
}

/* 内页页标题区 */
.page-header {
  margin: 0 0 16px;
}

.page-title {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  max-width: var(--w-text);
}

.page-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: var(--w-text);
  margin: 0 0 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.page-tag,
.page-kicker {
  display: inline-block;
  align-self: flex-start;
  padding: 2px 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.7;
}

.page-kicker {
  color: var(--amber);
  border-color: rgba(240, 161, 60, 0.35);
}

.page-lead {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.75;
}

.site-brand-heading {
  font-size: 14px;
  color: var(--text-dim);
}

/* 页脚 */
.site-footer {
  margin-top: 24px;
  background: #0e1013;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  width: 100%;
  max-width: var(--w-wide);
  margin: 0 auto;
  padding: 40px var(--pad-x) 32px;
}

.footer-col {
  min-width: 0;
}

.footer-brand {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
}

.footer-desc {
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.7;
}

.footer-title {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.footer-nav ul,
.footer-guide ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-nav a,
.footer-guide a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: var(--text-soft);
  font-size: 14px;
}

.footer-nav a:hover,
.footer-guide a:hover {
  color: var(--text);
}

.footer-tips p {
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.7;
}

.footer-bottom {
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  width: 100%;
  max-width: var(--w-wide);
  margin: 0 auto;
  padding: 16px var(--pad-x);
  color: var(--text-dim);
  font-size: 12px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   3. components — 按钮、链接、卡片、表格、标签、状态点、折叠问答、步骤
   -------------------------------------------------------------------------- */

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--accent-deep);
  color: #ffffff;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--text-soft);
  color: #ffffff;
}

/* 更多链接 */
.link-more {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.link-more::after {
  content: "›";
  margin-left: 6px;
  font-size: 16px;
  line-height: 1;
}

.link-more:hover {
  color: #ff6a6e;
}

/* 状态点 */
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  vertical-align: middle;
}

.status-verified {
  background: var(--green);
}

.status-pending {
  background: var(--amber);
}

/* 频道色标（表格首列、标签） */
.channel-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 2px;
  vertical-align: middle;
}

.dot-red {
  background: var(--accent);
}

.dot-green {
  background: var(--green);
}

.dot-amber {
  background: var(--amber);
}

.dot-story {
  background: #6b7cf0;
}

.dot-short {
  background: #3fa9c9;
}

.dot-doc {
  background: #8a7ce0;
}

.dot-life {
  background: #4fb37a;
}

.dot-talk {
  background: #c9a13f;
}

.dot-mix {
  background: #9aa1ad;
}

/* 数据表格（首页与频道目录共用基础样式） */
.table-wrap,
.table-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.channel-table {
  min-width: 640px;
  font-size: 14px;
}

.channel-table caption {
  padding: 12px 16px;
  color: var(--text-dim);
  font-size: 13px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.channel-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 12px 16px;
  background: var(--panel-soft);
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}

.channel-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  line-height: 1.65;
  vertical-align: top;
}

.channel-table tbody tr:last-child td {
  border-bottom: 0;
}

.channel-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.015);
}

.channel-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.035);
}

.channel-table tbody td:first-child {
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
}

.table-footnote {
  margin-top: 12px;
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.7;
}

/* 折叠问答 */
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-item:last-of-type {
  margin-bottom: 0;
}

.faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 12px 44px 12px 16px;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-soft);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item summary:hover {
  color: #ffffff;
}

.faq-item > p,
.faq-body {
  padding: 0 16px 14px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.75;
}

.faq-body p {
  margin-bottom: 8px;
}

.faq-body p:last-child {
  margin-bottom: 0;
}

/* 步骤编号方块（首页路径、关于页流程共用） */
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

/* 相关链接条（首页底部） */
.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  width: 100%;
  max-width: var(--w-wide);
  margin: 0 auto;
  padding: 18px var(--pad-x);
  border-top: 1px solid var(--line);
}

.related-links-label {
  color: var(--text-dim);
  font-size: 13px;
}

.related-links-item {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
  color: var(--text-soft);
  font-size: 14px;
}

.related-links-item:hover {
  border-color: var(--line-strong);
  color: var(--text);
}

/* 内页底部相关入口（通用容器） */
.next-links {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.next-links h2,
.next-links-title {
  margin-bottom: 16px;
  font-size: 22px;
}

/* 图片容器统一约束 */
.hero-media img,
.entry-thumb img,
.feature-cover img,
.gallery-main img,
.gallery-thumb img,
.sample-figure img,
.verify-figure img,
.help-media img,
.section-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   4. pages — 各页业务模块
   -------------------------------------------------------------------------- */

/* ---------- 4.1 首页 ---------- */

/* 首屏上栏：品牌定位 */
.hero-brand {
  background: #0e1013;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  width: 100%;
  max-width: var(--w-wide);
  margin: 0 auto;
  padding: 44px var(--pad-x);
}

.hero-copy {
  min-width: 0;
}

.hero-eyebrow {
  margin-bottom: 12px;
  color: var(--amber);
  font-size: 13px;
  line-height: 1.6;
  font-weight: 700;
}

.hero-copy h1 {
  margin-bottom: 16px;
  font-size: 38px;
  line-height: 1.25;
  max-width: 520px;
}

.hero-lead {
  max-width: 520px;
  margin-bottom: 24px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-media {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  aspect-ratio: 16 / 10;
}

.hero-media figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 14px 10px;
  background: rgba(11, 12, 14, 0.82);
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.6;
}

/* 首屏下栏：频道标签 + 条目卡 */
.hero-library {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.section-inner {
  width: 100%;
  max-width: var(--w-wide);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.library-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 20px;
  margin-bottom: 18px;
}

.library-head h2 {
  font-size: 22px;
}

.section-note {
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.7;
}

.channel-tabs {
  margin-bottom: 22px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.channel-tabs ul {
  display: flex;
  gap: 8px;
  padding-bottom: 6px;
}

.channel-tab {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
  color: var(--text-soft);
  font-size: 14px;
  white-space: nowrap;
}

.channel-tab:hover {
  border-color: var(--line-strong);
  color: var(--text);
}

.channel-tab.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  font-weight: 700;
}

.entry-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.entry-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.entry-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.entry-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.entry-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--panel-soft);
  overflow: hidden;
}

.entry-thumb img {
  transition: transform 200ms ease;
}

.entry-card:hover .entry-thumb img {
  transform: scale(1.03);
}

.entry-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px 16px;
  min-width: 0;
}

.entry-channel {
  color: var(--text-dim);
  font-size: 12px;
  line-height: 1.6;
}

.entry-body h3 {
  font-size: 17px;
  line-height: 1.45;
}

.entry-desc {
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.7;
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 12px;
  line-height: 1.6;
}

.entry-duration {
  font-family: var(--font-mono);
  color: var(--text-soft);
}

/* 频道分类速览表 */
.channel-table {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.section-head {
  margin-bottom: 18px;
}

.section-head h2 {
  margin-bottom: 6px;
  font-size: 22px;
}

/* 本期编辑推荐专题 */
.feature-picks {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
  transition: transform 160ms ease, border-color 160ms ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

.feature-cover {
  aspect-ratio: 16 / 9;
  background: var(--panel-soft);
  overflow: hidden;
}

.feature-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px 18px;
  min-width: 0;
}

.feature-tag {
  align-self: flex-start;
  padding: 1px 8px;
  border: 1px solid rgba(229, 72, 77, 0.4);
  border-radius: var(--radius-sm);
  color: var(--accent);
  font-size: 12px;
  line-height: 1.7;
}

.feature-body h3 {
  font-size: 18px;
  line-height: 1.45;
}

.feature-desc {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.75;
}

.feature-meta {
  color: var(--text-dim);
  font-size: 12px;
  line-height: 1.7;
}

.feature-body .link-more {
  margin-top: 4px;
}

/* 四步路径 */
.watch-path {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.watch-path-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.path-step {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  min-width: 0;
}

.path-step .step-num {
  margin-bottom: 12px;
}

.path-step h3 {
  margin-bottom: 6px;
  font-size: 17px;
}

.path-step p {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.7;
}

/* 编辑原则与问答 */
.notes-faq {
  padding: 40px 0 8px;
}

.visually-plain {
  margin-bottom: 20px;
  font-size: 22px;
}

.notes-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.notes h3,
.faq h3 {
  margin-bottom: 14px;
  font-size: 17px;
}

.notes-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}

.notes-list li {
  position: relative;
  padding-left: 18px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.75;
}

.notes-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--green);
}

/* ---------- 4.2 频道目录（带侧栏） ---------- */

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--w-side);
  gap: 32px;
  width: 100%;
  max-width: var(--w-wide);
  margin: 0 auto;
  padding: 28px var(--pad-x) 56px;
  align-items: start;
}

.page-layout > .inner-main {
  max-width: none;
  margin: 0;
  padding: 0;
}

.filter-section,
.channel-table-section,
.channel-samples,
.scene-section,
.tradeoff-section {
  margin-bottom: 40px;
}

.filter-section h2,
.channel-table-section h2,
.channel-samples h2,
.scene-section h2,
.tradeoff-section h2 {
  margin-bottom: 6px;
  font-size: 22px;
}

.section-intro {
  max-width: var(--w-text);
  margin-bottom: 18px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.75;
}

.section-intro a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.filter-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.filter-card {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  min-width: 0;
}

.filter-card h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

.filter-card p {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.75;
}

.filter-example {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  color: var(--text-dim);
  font-size: 13px;
}

.channel-samples .sample-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.sample-figure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
  min-width: 0;
}

.sample-figure img {
  aspect-ratio: 16 / 9;
}

.sample-figure figcaption {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.7;
}

.scene-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.scene-card {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  min-width: 0;
}

.scene-card h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

.scene-card p {
  margin-bottom: 12px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.75;
}

.scene-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.scene-tags li {
  padding: 1px 9px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.8;
}

.tradeoff-list {
  counter-reset: tradeoff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: var(--w-text);
}

.tradeoff-list li {
  position: relative;
  padding: 12px 16px 12px 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.75;
}

.tradeoff-list li::before {
  counter-increment: tradeoff;
  content: counter(tradeoff);
  position: absolute;
  left: 14px;
  top: 13px;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-sm);
  background: var(--panel-soft);
  border: 1px solid var(--line-strong);
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 18px;
  text-align: center;
}

.tradeoff-list strong {
  color: var(--text);
}

/* 侧栏 */
.related {
  position: sticky;
  top: 88px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  min-width: 0;
}

.related h2 {
  margin-bottom: 12px;
  font-size: 17px;
}

.related ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.related a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.related a:hover {
  color: var(--accent);
}

.related p {
  margin-top: 4px;
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.7;
}

/* 频道目录页底部相关入口 */
.page-layout .next-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
  padding-top: 20px;
}

.page-layout .next-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
  color: var(--text-soft);
  font-size: 14px;
}

.page-layout .next-links a:hover {
  border-color: var(--line-strong);
  color: var(--text);
}

/* ---------- 4.3 专题片单 ---------- */

.feature-gallery,
.feature-list,
.selection-rules,
.update-note {
  margin-bottom: 40px;
}

.feature-gallery h2,
.feature-list h2,
.selection-rules h2,
.update-note h2 {
  margin-bottom: 6px;
  font-size: 22px;
}

.section-lead {
  max-width: var(--w-text);
  margin-bottom: 18px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.75;
}

.gallery-main {
  position: relative;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
  aspect-ratio: 16 / 8;
}

.gallery-main figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 16px 12px;
  background: rgba(11, 12, 14, 0.84);
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.gallery-thumb {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
  text-align: left;
  transition: border-color 160ms ease, transform 160ms ease;
}

.gallery-thumb:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.gallery-thumb img {
  aspect-ratio: 16 / 9;
}

.thumb-label {
  padding: 8px 10px 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.thumb-state {
  padding: 2px 10px 10px;
  color: var(--text-dim);
  font-size: 12px;
  line-height: 1.6;
}

.gallery-thumb.is-active {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.gallery-thumb.is-active .thumb-state {
  color: var(--accent);
  font-weight: 700;
}

.feature-item {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  margin-bottom: 16px;
  min-width: 0;
}

.feature-item:last-child {
  margin-bottom: 0;
}

.feature-item-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.feature-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 26px;
  padding: 0 8px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.feature-item-head h3 {
  flex: 1 1 220px;
  font-size: 17px;
  line-height: 1.45;
}

.feature-meta {
  color: var(--text-dim);
  font-size: 12px;
  line-height: 1.6;
}

.feature-thread {
  max-width: var(--w-text);
  margin-bottom: 14px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.8;
}

.feature-order {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel-soft);
  margin-bottom: 12px;
}

.feature-order-title {
  margin-bottom: 6px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.feature-order ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
  counter-reset: order;
}

.feature-order li {
  position: relative;
  padding-left: 24px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.7;
}

.feature-order li::before {
  counter-increment: order;
  content: counter(order) ".";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
}

.feature-scene {
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.7;
}

.rules-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.rule-item {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  min-width: 0;
}

.rule-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-bottom: 10px;
  border-radius: var(--radius-sm);
  background: var(--panel-soft);
  border: 1px solid var(--line-strong);
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.rule-item h3 {
  margin-bottom: 6px;
  font-size: 17px;
}

.rule-item p {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.75;
}

.update-note > p {
  max-width: var(--w-text);
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.8;
}

.update-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: var(--w-text);
  margin: 14px 0;
}

.update-points li {
  position: relative;
  padding-left: 18px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.75;
}

.update-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--amber);
}

.update-footnote {
  max-width: var(--w-text);
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.75;
}

.update-footnote a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.next-links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.next-card {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  min-width: 0;
}

.next-card h3 {
  margin-bottom: 6px;
  font-size: 17px;
}

.next-card h3 a {
  color: var(--text);
}

.next-card h3 a:hover {
  color: var(--accent);
}

.next-card p {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.7;
}

/* ---------- 4.4 观看指南 ---------- */

.pre-check,
.entry-verify,
.device-check,
.troubleshooting-order {
  margin-bottom: 40px;
}

.pre-check h2,
.entry-verify h2,
.device-check h2,
.troubleshooting-order h2 {
  margin-bottom: 6px;
  font-size: 22px;
}

.check-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.check-card {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: var(--radius);
  background: var(--panel);
  min-width: 0;
}

.check-card h3 {
  margin-bottom: 6px;
  font-size: 17px;
}

.check-card p {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.75;
}

.verify-figure {
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}

.verify-figure img {
  aspect-ratio: 16 / 7;
}

.verify-figure figcaption {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.7;
}

.verify-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: var(--w-text);
}

.verify-item {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  min-width: 0;
}

.verify-item h3 {
  margin-bottom: 6px;
  font-size: 16px;
}

.verify-item p {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.75;
}

.device-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.device-card {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  min-width: 0;
}

.device-card h3 {
  margin-bottom: 10px;
  font-size: 17px;
}

.device-card ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.device-card li {
  position: relative;
  padding-left: 18px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.7;
}

.device-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.device-note {
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  color: var(--amber);
  font-size: 13px;
  line-height: 1.7;
}

.order-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: var(--w-text);
  counter-reset: orderstep;
}

.order-item {
  display: flex;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  min-width: 0;
}

.order-num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.order-body {
  min-width: 0;
}

.order-body h3 {
  margin-bottom: 4px;
  font-size: 16px;
}

.order-body p {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.75;
}

.order-tail {
  max-width: var(--w-text);
  margin-top: 14px;
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.75;
}

.order-tail a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.next-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.next-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
  color: var(--text-soft);
  font-size: 14px;
}

.next-nav a:hover {
  border-color: var(--line-strong);
  color: var(--text);
}

/* ---------- 4.5 问题反馈 ---------- */

.problem-categories,
.self-help-faq,
.feedback-info,
.response-note {
  margin-bottom: 40px;
}

.problem-categories h2,
.self-help-faq h2,
.feedback-info h2,
.response-note h2 {
  margin-bottom: 6px;
  font-size: 22px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.category-card {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  min-width: 0;
}

.category-card h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

.category-sign {
  margin-bottom: 6px;
  color: var(--amber);
  font-size: 13px;
  line-height: 1.7;
}

.category-hint {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.75;
}

.help-media {
  margin: 0 0 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}

.help-media img {
  aspect-ratio: 16 / 6;
}

.help-media figcaption {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.7;
}

.feedback-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: var(--w-text);
}

.feedback-list li {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  min-width: 0;
}

.feedback-list h3 {
  margin-bottom: 4px;
  font-size: 16px;
}

.feedback-list p {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.75;
}

.response-note > p {
  max-width: var(--w-text);
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.8;
}

.response-note > p a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.note-caveat {
  margin-top: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(240, 161, 60, 0.3);
  border-radius: var(--radius-sm);
  background: rgba(240, 161, 60, 0.06);
  color: var(--amber);
  font-size: 13px;
}

.next-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  min-width: 0;
  transition: transform 160ms ease, border-color 160ms ease;
}

.next-link:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.next-link-name {
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.next-link-desc {
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.7;
}

/* ---------- 4.6 关于本站 ---------- */

.positioning,
.editorial-process,
.correction-policy,
.third-party-relation {
  margin-bottom: 40px;
}

.positioning h2,
.editorial-process h2,
.correction-policy h2,
.third-party-relation h2 {
  margin-bottom: 14px;
  font-size: 22px;
}

.positioning-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
  gap: 32px;
  align-items: start;
}

.positioning-text {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.positioning-text p {
  max-width: var(--w-text);
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.85;
}

.positioning-boundary {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  background: var(--panel);
  min-width: 0;
}

.positioning-boundary h3 {
  margin-bottom: 10px;
  font-size: 16px;
}

.boundary-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.boundary-list li {
  position: relative;
  padding-left: 16px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.7;
}

.boundary-list li::before {
  content: "×";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-size: 13px;
  line-height: 1.7;
}

.boundary-list strong {
  color: var(--text);
}

.section-media {
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}

.section-media img {
  aspect-ratio: 16 / 6;
}

.section-media figcaption {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.7;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.process-steps li {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  min-width: 0;
}

.process-steps .step-num {
  margin-bottom: 10px;
}

.process-steps h3 {
  margin-bottom: 6px;
  font-size: 16px;
}

.process-steps p {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.7;
}

.policy-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: var(--w-text);
}

.policy-list li {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  min-width: 0;
}

.policy-list h3 {
  margin-bottom: 4px;
  font-size: 16px;
}

.policy-list p {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.75;
}

.policy-note {
  max-width: var(--w-text);
  margin-top: 12px;
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.75;
}

.policy-note a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.third-party-text {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.third-party-text p {
  max-width: var(--w-text);
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.85;
}

.next-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.next-links ul a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
  color: var(--text-soft);
  font-size: 14px;
}

.next-links ul a:hover {
  border-color: var(--line-strong);
  color: var(--text);
}

/* ---------- 4.7 404 ---------- */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52vh;
  padding: 56px var(--pad-x);
}

.error-block {
  width: 100%;
  max-width: 560px;
  text-align: left;
}

.error-code {
  margin-bottom: 8px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
}

.error-block h1 {
  margin-bottom: 12px;
  font-size: 30px;
  line-height: 1.3;
}

.error-lead {
  margin-bottom: 22px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.8;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.error-tips {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.error-tips a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: var(--text-soft);
  font-size: 14px;
}

.error-tips a:hover {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   5. responsive — 960px / 640px 两档断点
   -------------------------------------------------------------------------- */

@media (max-width: 960px) {
  .header-inner {
    gap: 16px;
    min-height: 60px;
  }

  .brand-slogan {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-left: 0;
    background: #0e1013;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--pad-x) 16px;
  }

  .site-nav a {
    min-height: 48px;
    padding: 0 4px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }

  .site-nav li:last-child a {
    border-bottom: 0;
  }

  .site-nav a.is-current {
    border-bottom-color: var(--line);
    color: var(--accent);
    box-shadow: inset 3px 0 0 var(--accent);
    padding-left: 14px;
  }

  .site-header {
    position: sticky;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 32px var(--pad-x);
  }

  .hero-copy h1 {
    font-size: 30px;
  }

  .hero-media {
    aspect-ratio: 16 / 9;
  }

  .entry-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .entry-cards .entry-card:last-child {
    grid-column: 1 / -1;
  }

  .entry-cards .entry-card:last-child .entry-card-link {
    flex-direction: row;
  }

  .entry-cards .entry-card:last-child .entry-thumb {
    flex: 0 0 46%;
    aspect-ratio: auto;
  }

  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .watch-path-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .notes-faq-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-top: 24px;
  }

  .related {
    position: static;
  }

  .filter-cards,
  .scene-cards,
  .check-cards,
  .device-cards,
  .rules-list,
  .next-links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scene-cards .scene-card:last-child,
  .check-cards .check-card:last-child,
  .device-cards .device-card:last-child,
  .rules-list .rule-item:last-child,
  .next-links-grid .next-card:last-child {
    grid-column: 1 / -1;
  }

  .positioning-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 640px) {
  :root {
    --pad-x: 16px;
  }

  body.site-body {
    font-size: 15px;
  }

  .page-title {
    font-size: 26px;
  }

  .page-head {
    margin-bottom: 28px;
    padding-bottom: 16px;
  }

  .inner-main {
    padding-top: 20px;
    padding-bottom: 40px;
  }

  .hero-inner {
    padding: 26px var(--pad-x) 30px;
  }

  .hero-copy h1 {
    font-size: 26px;
  }

  .hero-lead {
    font-size: 14px;
  }

  .hero-actions .btn {
    flex: 1 1 140px;
  }

  .hero-library,
  .channel-table,
  .feature-picks,
  .watch-path,
  .notes-faq {
    padding: 28px 0;
  }

  .library-head h2,
  .section-head h2,
  .visually-plain,
  .feature-gallery h2,
  .feature-list h2,
  .selection-rules h2,
  .update-note h2,
  .pre-check h2,
  .entry-verify h2,
  .device-check h2,
  .troubleshooting-order h2,
  .problem-categories h2,
  .self-help-faq h2,
  .feedback-info h2,
  .response-note h2,
  .positioning h2,
  .editorial-process h2,
  .correction-policy h2,
  .third-party-relation h2,
  .filter-section h2,
  .channel-table-section h2,
  .channel-samples h2,
  .scene-section h2,
  .tradeoff-section h2,
  .next-links h2,
  .next-links-title {
    font-size: 20px;
  }

  .entry-cards {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .entry-cards .entry-card:last-child .entry-card-link {
    flex-direction: column;
  }

  .entry-cards .entry-card:last-child .entry-thumb {
    flex: none;
    aspect-ratio: 16 / 9;
  }

  .watch-path-list,
  .filter-cards,
  .scene-cards,
  .check-cards,
  .device-cards,
  .rules-list,
  .next-links-grid,
  .category-grid,
  .process-steps,
  .channel-samples .sample-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .scene-cards .scene-card:last-child,
  .check-cards .check-card:last-child,
  .device-cards .device-card:last-child,
  .rules-list .rule-item:last-child,
  .next-links-grid .next-card:last-child {
    grid-column: auto;
  }

  .gallery-main {
    aspect-ratio: 16 / 10;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-item {
    padding: 16px;
  }

  .feature-item-head h3 {
    flex-basis: 100%;
  }

  .order-item {
    padding: 12px 14px;
    gap: 10px;
  }

  .tradeoff-list li {
    padding-left: 42px;
  }

  .related-links {
    gap: 8px 12px;
  }

  .related-links-item {
    font-size: 13px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding-top: 30px;
    padding-bottom: 24px;
  }

  .footer-nav a,
  .footer-guide a {
    min-height: 40px;
  }

  .error-main {
    padding: 40px var(--pad-x);
    min-height: 46vh;
  }

  .error-code {
    font-size: 32px;
  }

  .error-block h1 {
    font-size: 24px;
  }

  .error-actions .btn {
    flex: 1 1 140px;
  }
}

/* 尊重减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .entry-card:hover,
  .feature-card:hover,
  .gallery-thumb:hover,
  .next-link:hover {
    transform: none;
  }

  .entry-card:hover .entry-thumb img {
    transform: none;
  }
}
