/* ============================================================
   91麻豆天美蜜桃 · 视频频道导航与专题片单索引站
   样式分组：base / layout / components / pages / responsive
   ============================================================ */

/* ---------- base ---------- */

:root {
  --map-bg: #f5f2ea;
  --panel-bg: #ffffff;
  --ink: #1f2a30;
  --ink-soft: #4a565e;
  --ink-mute: #6d7a82;
  --brand: #17423b;
  --brand-soft: #245a50;
  --zone-a: #c8553d;
  --zone-b: #3d6b8f;
  --zone-c: #7d8f4e;
  --route: #d9a441;
  --line: #dcd6c8;
  --line-strong: #c9c2b1;
  --radius: 6px;
  --radius-sm: 4px;
  --shadow-card: 0 1px 2px rgba(31, 42, 48, 0.06);
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans SC", "Source Han Sans SC", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas,
    "Liberation Mono", monospace;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body.site-body {
  margin: 0;
  background-color: var(--map-bg);
  background-image:
    linear-gradient(to right, rgba(31, 42, 48, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(31, 42, 48, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  font-feature-settings: "tnum";
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  color: var(--zone-a);
  text-decoration: underline;
  text-underline-offset: 3px;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.35;
}

h2 {
  font-size: 21px;
}

h3 {
  font-size: 17px;
}

p {
  margin: 0 0 12px;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

figure {
  margin: 0;
}

code,
.field-key {
  font-family: var(--font-mono);
  font-size: 13px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 60;
  padding: 10px 16px;
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--route);
  outline-offset: 2px;
}

/* ---------- layout ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--brand);
  border-bottom: 3px solid var(--route);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  min-height: 62px;
}

.site-main {
  display: block;
}

.inner-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 22px 20px 56px;
}

.home-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 26px 20px 56px;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
}

.page-layout > .content-main,
.page-layout > .main-col,
.page-layout > .main-column,
.page-layout > .page-primary,
.page-layout > .page-content,
.page-layout > main {
  min-width: 0;
}

.page-layout > .sidebar,
.page-layout > .side-column,
.page-layout > .page-sidebar,
.page-layout > .page-aside,
.page-layout > .content-aside {
  min-width: 0;
}

.sidebar-left .page-layout {
  grid-template-columns: 300px minmax(0, 1fr);
}

.sidebar-left .page-layout > .sidebar,
.sidebar-left .page-layout > .side-column,
.sidebar-left .page-layout > .page-sidebar,
.sidebar-left .page-layout > .page-aside {
  order: -1;
}

.site-footer {
  background: #16352f;
  color: #d7e0da;
  border-top: 3px solid var(--route);
  font-size: 14px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
  gap: 28px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 20px 28px;
}

.footer-bottom {
  border-top: 1px solid rgba(215, 224, 218, 0.18);
}

.footer-bottom p {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 20px;
  font-size: 13px;
  color: #a9b9b1;
  letter-spacing: 0.02em;
}

/* ---------- components · 页头与导航 ---------- */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: #fff;
}

.brand:hover {
  color: #fff;
  text-decoration: none;
}

.brand-mark {
  width: 22px;
  height: 22px;
  border-radius: 3px;
  background-color: var(--route);
  box-shadow: inset 0 0 0 4px var(--brand), inset 0 0 0 6px var(--route);
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.site-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-list li {
  display: block;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 11px;
  border-radius: var(--radius-sm);
  color: #d9e6e0;
  font-size: 15px;
  white-space: nowrap;
}

.nav-list a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
}

.nav-list a.is-current {
  background: rgba(217, 164, 65, 0.22);
  color: #fff;
  box-shadow: inset 0 -2px 0 var(--route);
}

.nav-category {
  position: relative;
  flex-shrink: 0;
}

.category-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius-sm);
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
}

.category-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}

.category-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.18s ease;
}

.category-toggle[aria-expanded="true"] .category-caret {
  transform: rotate(180deg);
}

.category-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 55;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  width: 460px;
  max-width: calc(100vw - 32px);
  padding: 18px;
  background: var(--panel-bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(31, 42, 48, 0.16);
}

.category-panel[hidden] {
  display: none;
}

.category-col-title {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
}

.category-col ul {
  display: grid;
  gap: 2px;
}

.category-col a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 8px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 14px;
}

.category-col a:hover {
  background: var(--map-bg);
  color: var(--brand);
  text-decoration: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
}

.menu-bar {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 1px;
}

.mobile-menu {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: #143a34;
  padding: 14px 20px 20px;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu-title {
  margin: 10px 0 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #9fb8ae;
}

.mobile-menu-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 12px;
}

.mobile-menu-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 8px;
  border-radius: var(--radius-sm);
  color: #e2ece7;
  font-size: 15px;
}

.mobile-menu-list a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
}

.mobile-menu-list a.is-current {
  color: var(--route);
}

/* ---------- components · 面包屑与页面标题区 ---------- */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--ink-mute);
}

.breadcrumb a {
  color: var(--ink-mute);
}

.breadcrumb a:hover {
  color: var(--brand);
}

.breadcrumb-sep {
  color: var(--line-strong);
}

.breadcrumb-current {
  color: var(--ink);
}

.page-header {
  margin-bottom: 8px;
}

.page-title {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.page-heading,
.page-head,
.page-title-block {
  margin-bottom: 26px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.page-summary,
.page-lead {
  max-width: 62ch;
  margin: 0 0 12px;
  color: var(--ink-soft);
  font-size: 15.5px;
}

.page-tags,
.title-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-block;
  padding: 2px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--panel-bg);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

/* ---------- components · 通用区块 ---------- */

.section,
.home-main > section {
  margin-bottom: 40px;
}

.section-title {
  position: relative;
  margin: 0 0 6px;
  padding-left: 12px;
  font-size: 21px;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 2px;
  background: var(--brand);
}

.section-lead,
.section-intro {
  max-width: 68ch;
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: 15px;
}

.section-foot {
  margin-top: 16px;
  font-size: 14px;
  color: var(--ink-soft);
}

/* ---------- components · 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-soft);
  color: #fff;
}

.btn-ghost {
  background: var(--panel-bg);
  border-color: var(--line-strong);
  color: var(--brand);
}

.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}

/* ---------- components · 表格 ---------- */

.table-wrap,
.compare-table-wrap {
  overflow-x: auto;
  background: var(--panel-bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.compare-table,
.data-table,
.result-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.compare-table th,
.data-table th,
.result-table th {
  padding: 12px 14px;
  background: #eef0e6;
  border-bottom: 1px solid var(--line-strong);
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--brand);
  white-space: nowrap;
}

.compare-table td,
.data-table td,
.result-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--ink-soft);
}

.compare-table tbody tr:last-child td,
.data-table tbody tr:last-child td,
.result-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table tbody tr:hover td,
.data-table tbody tr:hover td,
.result-table tbody tr:hover td {
  background: #faf8f2;
}

.compare-table td:first-child,
.data-table td:first-child,
.result-table td:first-child {
  color: var(--ink);
  font-weight: 600;
}

.field-table .field-key {
  color: var(--brand);
}

/* ---------- components · 折叠问答 ---------- */

.accordion,
.faq-group {
  display: grid;
  gap: 10px;
}

.accordion-item,
.faq-item {
  background: var(--panel-bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.accordion-trigger,
.faq-item > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 16px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.accordion-trigger::-webkit-details-marker,
.faq-item > summary::-webkit-details-marker {
  display: none;
}

.accordion-trigger::before,
.faq-item > summary::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--zone-b);
  border-bottom: 2px solid var(--zone-b);
  transform: rotate(-45deg);
  transition: transform 0.18s ease;
}

details[open] > .accordion-trigger::before,
.faq-item[open] > summary::before {
  transform: rotate(45deg);
}

.accordion-trigger:hover,
.faq-item > summary:hover {
  color: var(--brand);
}

.accordion-panel,
.faq-answer {
  padding: 0 16px 16px 34px;
  color: var(--ink-soft);
  font-size: 15px;
}

.accordion-panel p:last-child,
.faq-answer p:last-child {
  margin-bottom: 0;
}

.accordion-link,
.faq-link {
  margin: 8px 0 0;
  font-size: 14px;
}

.faq-link a {
  font-weight: 600;
}

/* ---------- components · 步骤与流程 ---------- */

.step-track,
.step-list,
.step-flow,
.flow-list,
.rule-list,
.feedback-steps {
  display: grid;
  gap: 14px;
}

.step-node,
.step-item,
.flow-item {
  position: relative;
  background: var(--panel-bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 16px 18px 16px 56px;
  box-shadow: var(--shadow-card);
}

.step-num,
.step-index {
  position: absolute;
  left: 16px;
  top: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--route);
  color: #2a2410;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}

.step-node h3,
.step-item h3,
.flow-item h3 {
  margin-bottom: 4px;
}

.step-node p,
.step-item p,
.flow-item p {
  margin: 0 0 6px;
  color: var(--ink-soft);
  font-size: 15px;
}

.step-node p:last-child,
.step-item p:last-child,
.flow-item p:last-child {
  margin-bottom: 0;
}

.step-node a {
  font-size: 14px;
  font-weight: 600;
}

.step-body {
  min-width: 0;
}

/* ---------- components · 侧栏 ---------- */

.field-box,
.aside-box,
.sidebar-block,
.aside-block,
.side-block {
  padding: 18px;
  background: var(--panel-bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.sidebar,
.side-column,
.page-sidebar,
.page-aside,
.content-aside {
  display: grid;
  gap: 18px;
  align-content: start;
}

.field-box h3,
.aside-box h3,
.sidebar-title,
.aside-title,
.side-title {
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  color: var(--brand);
}

.field-list {
  margin: 0 0 14px;
}

.field-list dt {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--zone-b);
}

.field-list dt:first-child {
  margin-top: 0;
}

.field-list dd {
  margin: 2px 0 0;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.field-box-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
}

.aside-field-list,
.aside-link-list,
.side-field-list,
.side-link-list,
.side-list,
.sidebar-check-list,
.sidebar-link-list,
.sidebar-anchor-list,
.aside-links,
.quick-list {
  display: grid;
  gap: 2px;
}

.aside-field-list li,
.side-field-list li,
.sidebar-check-list li,
.quick-list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
  color: var(--ink-soft);
}

.aside-field-list li:last-child,
.side-field-list li:last-child,
.sidebar-check-list li:last-child,
.quick-list li:last-child {
  border-bottom: 0;
}

.aside-link-list a,
.side-link-list a,
.side-list a,
.sidebar-link-list a,
.sidebar-anchor-list a,
.aside-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  font-size: 14.5px;
}

.aside-link-list a:hover,
.side-link-list a:hover,
.side-list a:hover,
.sidebar-link-list a:hover,
.sidebar-anchor-list a:hover,
.aside-links a:hover {
  background: var(--map-bg);
  text-decoration: none;
}

.aside-more {
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 600;
}

.aside-note {
  background: #f7f4ea;
}

.quick-key {
  flex-shrink: 0;
  min-width: 88px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--brand);
}

/* ---------- pages · 首页 ---------- */

.hero-portal {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 40px;
}

.hero-portal-main {
  min-width: 0;
}

.hero-figure {
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--panel-bg);
}

.hero-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-portal-main h1 {
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.25;
  margin-bottom: 12px;
}

.hero-lead {
  max-width: 46ch;
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-size: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.route-panel {
  padding: 20px;
  background: var(--panel-bg);
  border: 1px solid var(--line-strong);
  border-top: 4px solid var(--route);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.route-panel-title {
  margin: 0 0 6px;
  font-size: 18px;
}

.route-panel-note {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--ink-mute);
}

.route-list {
  display: grid;
  gap: 0;
}

.route-item {
  position: relative;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 18px;
}

.route-item:last-child {
  padding-bottom: 0;
}

.route-item::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 16px;
  bottom: 0;
  border-left: 1px dashed var(--route);
}

.route-item:last-child::before {
  display: none;
}

.route-node {
  position: relative;
  z-index: 1;
  width: 12px;
  height: 12px;
  margin: 5px 0 0 4px;
  border-radius: 50%;
  background: var(--route);
  box-shadow: 0 0 0 3px #fbf6e8;
}

.route-body {
  min-width: 0;
}

.route-name {
  margin: 0 0 2px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.route-desc {
  margin: 0 0 4px;
  font-size: 14px;
  color: var(--ink-soft);
}

.route-body a {
  font-size: 14px;
  font-weight: 600;
}

.weight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.weight-card {
  display: flex;
  flex-direction: column;
  padding: 18px;
  background: var(--panel-bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.weight-card-primary {
  border-top: 4px solid var(--zone-a);
}

.weight-card-secondary {
  border-top: 4px solid var(--zone-b);
}

.weight-card-tertiary {
  border-top: 4px solid var(--zone-c);
}

.weight-tag {
  display: inline-block;
  align-self: flex-start;
  margin: 0 0 8px;
  padding: 1px 8px;
  border-radius: 3px;
  background: var(--map-bg);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
}

.weight-card h3 {
  margin-bottom: 6px;
}

.weight-card p {
  margin: 0 0 12px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.weight-card a {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
}

.map-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.map-cell {
  padding: 16px;
  background: var(--panel-bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: border-color 0.18s ease;
}

.map-cell:hover {
  border-color: var(--brand);
}

.map-swatch {
  display: block;
  width: 28px;
  height: 6px;
  margin-bottom: 10px;
  border-radius: 2px;
  background: var(--zone-b);
}

.map-cell-a .map-swatch,
.map-cell-b .map-swatch {
  background: var(--zone-a);
}

.map-cell-c .map-swatch,
.map-cell-d .map-swatch {
  background: var(--zone-b);
}

.map-cell-e .map-swatch,
.map-cell-f .map-swatch {
  background: var(--zone-c);
}

.map-cell h3 {
  margin-bottom: 4px;
}

.map-cell p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}

.compare-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
}

.compare-layout > .compare-table-wrap {
  min-width: 0;
}

.pick-list {
  display: grid;
  gap: 14px;
}

.pick-item {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  padding: 14px;
  background: var(--panel-bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: border-color 0.18s ease;
}

.pick-item:hover {
  border-color: var(--zone-b);
}

.pick-figure {
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--map-bg);
}

.pick-figure img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.pick-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pick-body h3 {
  margin-bottom: 6px;
}

.pick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 8px;
}

.pick-desc {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.watch-route .step-track {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.watch-route .step-node {
  padding: 18px 18px 18px 18px;
}

.watch-route .step-node .step-num {
  position: static;
  display: inline-flex;
  margin-bottom: 10px;
}

.watch-route .step-node h3 {
  margin-bottom: 4px;
}

.watch-route .step-node p {
  margin-bottom: 8px;
}

.change-list {
  display: grid;
  gap: 10px;
}

.change-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 12px 16px;
  background: var(--panel-bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}

.change-type {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-align: center;
  color: #fff;
}

.change-type-add {
  background: var(--zone-c);
}

.change-type-edit {
  background: var(--zone-b);
}

.change-type-archive {
  background: var(--ink-mute);
}

.change-scope {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.change-row > a {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.faq-brief-list {
  display: grid;
  gap: 10px;
}

.faq-brief-more {
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 600;
}

/* ---------- pages · 频道地图 ---------- */

.group-anchor-bar {
  margin-bottom: 26px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.anchor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.anchor-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  background: var(--panel-bg);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink);
}

.anchor-chip:hover {
  border-color: var(--brand);
  color: var(--brand);
  text-decoration: none;
}

.chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--zone-b);
}

.chip-a .chip-dot {
  background: var(--zone-a);
}

.chip-b .chip-dot {
  background: var(--zone-b);
}

.chip-c .chip-dot {
  background: var(--zone-c);
}

.map-legend {
  margin-bottom: 34px;
  padding: 18px;
  background: var(--panel-bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.map-legend h2 {
  margin-bottom: 14px;
  font-size: 19px;
}

.map-legend-inner {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.map-legend-figure {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.map-legend-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.map-legend-figure figcaption {
  padding: 8px 10px;
  font-size: 13px;
  color: var(--ink-mute);
  background: #faf8f2;
  border-top: 1px solid var(--line);
}

.map-legend-text {
  min-width: 0;
}

.map-legend-text > p {
  color: var(--ink-soft);
  font-size: 15px;
}

.legend-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.legend-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.legend-swatch {
  flex-shrink: 0;
  width: 18px;
  height: 8px;
  border-radius: 2px;
  background: var(--zone-b);
}

.group-section > h2 {
  margin-bottom: 6px;
}

.group-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 24px;
  padding: 20px;
  margin-bottom: 14px;
  background: var(--panel-bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  scroll-margin-top: 84px;
}

.group-block-main {
  min-width: 0;
}

.group-block-main h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.group-block-main p {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--ink-soft);
}

.group-block-main p:last-child {
  margin-bottom: 0;
}

.group-block-side {
  padding-left: 20px;
  border-left: 1px dashed var(--line-strong);
}

.group-swatch {
  display: block;
  width: 100%;
  height: 10px;
  margin-bottom: 12px;
  border-radius: 3px;
  background: var(--zone-b);
}

.swatch-a {
  background: var(--zone-a);
}

.swatch-b {
  background: var(--zone-b);
}

.swatch-c {
  background: var(--zone-c);
}

.group-field-label {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
}

.field-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.field-chip-list li {
  padding: 2px 8px;
  background: var(--map-bg);
  border: 1px solid var(--line);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
}

.next-step-section {
  margin-top: 34px;
  padding: 20px;
  background: #f7f4ea;
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--route);
  border-radius: var(--radius);
}

.next-step-section h2 {
  margin-bottom: 8px;
  font-size: 19px;
}

.next-step-section > p {
  color: var(--ink-soft);
  font-size: 15px;
}

.next-step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.next-step-list li a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  background: var(--panel-bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
}

.next-step-list li a:hover {
  border-color: var(--brand);
  text-decoration: none;
}

/* ---------- pages · 专题片单 ---------- */

.rules-section .rule-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.rule-item {
  padding: 16px 18px;
  background: var(--panel-bg);
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--zone-b);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.rule-item h3 {
  margin-bottom: 6px;
  font-size: 16px;
}

.rule-item p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.topic-list {
  display: grid;
  gap: 16px;
}

.topic-card {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 20px;
  padding: 16px;
  background: var(--panel-bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  scroll-margin-top: 84px;
  transition: border-color 0.18s ease;
}

.topic-card:hover {
  border-color: var(--zone-a);
}

.topic-cover {
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--map-bg);
}

.topic-cover img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.topic-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.topic-body h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.topic-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 10px;
}

.topic-order {
  margin: 0 0 8px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.topic-fields {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-mute);
}

.route-section .step-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.route-section .step-item {
  padding: 18px;
}

.route-section .step-item .step-index {
  position: static;
  display: inline-flex;
  margin-bottom: 10px;
}

.route-note {
  margin-top: 16px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.related-list {
  display: grid;
  gap: 2px;
}

.related-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 14.5px;
}

/* ---------- pages · 字段说明 ---------- */

.field-figure {
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--panel-bg);
}

.field-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.field-figure figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--ink-mute);
  background: #faf8f2;
  border-top: 1px solid var(--line);
}

.field-table-section,
.read-order-section,
.misread-section {
  margin-bottom: 36px;
}

.field-table-section > h2,
.read-order-section > h2,
.misread-section > h2 {
  margin-bottom: 6px;
  font-size: 20px;
}

.step-flow .step-item {
  padding: 16px 18px 16px 56px;
}

.step-flow .step-item .step-index {
  position: absolute;
  left: 16px;
  top: 16px;
}

/* ---------- pages · 观看准备 ---------- */

.checklist-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.checklist-group {
  padding: 18px;
  background: var(--panel-bg);
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--zone-c);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.checklist-network {
  border-top-color: var(--zone-b);
}

.checklist-group h3 {
  margin-bottom: 12px;
  font-size: 17px;
}

.check-list {
  display: grid;
  gap: 10px;
}

.check-item {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.check-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  border-radius: 3px;
  background: var(--zone-c);
  color: #fff;
  font-size: 12px;
  line-height: 1;
}

.checklist-network .check-mark {
  background: var(--zone-b);
}

.check-text {
  min-width: 0;
}

.prep-flow {
  margin-bottom: 36px;
}

.prep-flow-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  gap: 24px;
  align-items: start;
}

.prep-flow .step-track {
  grid-template-columns: minmax(0, 1fr);
}

.prep-flow .step-node {
  padding: 16px 18px 16px 56px;
}

.prep-figure {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--panel-bg);
}

.prep-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.prep-figure figcaption {
  padding: 10px 12px;
  font-size: 13px;
  color: var(--ink-mute);
  background: #faf8f2;
  border-top: 1px solid var(--line);
}

.trouble-branch {
  margin-bottom: 36px;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.related-links-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
}

.related-links-item {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  background: var(--panel-bg);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 14px;
}

.related-links-item:hover {
  border-color: var(--brand);
  text-decoration: none;
}

/* ---------- pages · 入口核验 ---------- */

.check-steps,
.result-table-section,
.fault-types,
.feedback-flow {
  margin-bottom: 36px;
}

.check-steps > h2,
.result-table-section > h2,
.fault-types > h2,
.feedback-flow > h2 {
  margin-bottom: 6px;
  font-size: 20px;
}

.check-figure {
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--panel-bg);
}

.check-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.check-figure figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--ink-mute);
  background: #faf8f2;
  border-top: 1px solid var(--line);
}

.check-steps .step-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.check-steps .step-item {
  padding: 16px 18px 16px 56px;
}

.check-steps .step-item .step-num {
  position: absolute;
  left: 16px;
  top: 16px;
}

.flow-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.flow-item {
  padding: 18px;
  border-top: 3px solid var(--route);
}

.flow-item h3 {
  font-size: 16px;
}

/* ---------- pages · 常见问答 ---------- */

.anchor-nav {
  margin-bottom: 28px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.anchor-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.anchor-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  background: var(--panel-bg);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink);
}

.anchor-nav a:hover {
  border-color: var(--brand);
  color: var(--brand);
  text-decoration: none;
}

.anchor-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--zone-b);
}

.anchor-count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-mute);
}

.page-figure {
  margin-bottom: 26px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--panel-bg);
}

.page-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.page-figure figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--ink-mute);
  background: #faf8f2;
  border-top: 1px solid var(--line);
}

.faq-group {
  margin-bottom: 32px;
  scroll-margin-top: 84px;
}

.faq-group > h2 {
  margin-bottom: 6px;
  font-size: 20px;
}

.feedback-path {
  padding: 20px;
  background: #f7f4ea;
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--route);
  border-radius: var(--radius);
}

.feedback-path > h2 {
  margin-bottom: 6px;
  font-size: 20px;
}

.feedback-steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.feedback-steps li {
  padding: 14px 16px;
  background: var(--panel-bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}

.feedback-steps h3 {
  margin-bottom: 6px;
  font-size: 16px;
}

.feedback-steps p {
  margin: 0 0 6px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* ---------- pages · 404 ---------- */

.error-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 52px 20px 64px;
}

.error-panel {
  padding: 32px;
  background: var(--panel-bg);
  border: 1px solid var(--line-strong);
  border-top: 4px solid var(--zone-a);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.error-code {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--zone-a);
}

.error-panel h1 {
  margin-bottom: 12px;
  font-size: clamp(24px, 3.4vw, 32px);
}

.error-lead {
  margin-bottom: 8px;
  font-size: 16px;
  color: var(--ink);
}

.error-desc {
  margin-bottom: 22px;
  font-size: 15px;
  color: var(--ink-soft);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.error-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  background: var(--panel-bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  color: var(--brand);
}

.error-btn:hover {
  border-color: var(--brand);
  text-decoration: none;
}

.error-btn-primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.error-btn-primary:hover {
  background: var(--brand-soft);
  color: #fff;
}

.error-guide {
  margin-top: 28px;
}

.error-guide h2 {
  margin-bottom: 12px;
  font-size: 19px;
}

.error-guide-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.error-guide-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  background: var(--panel-bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 600;
}

.error-guide-list a:hover {
  border-color: var(--brand);
  text-decoration: none;
}

/* ---------- components · 页脚 ---------- */

.footer-brand-name {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

.footer-brand-desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: #a9b9b1;
}

.footer-col-title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

.footer-col ul {
  display: grid;
  gap: 2px;
}

.footer-col a {
  display: flex;
  align-items: center;
  min-height: 40px;
  font-size: 14px;
  color: #c3d2ca;
}

.footer-col a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ---------- components · 返回顶部 ---------- */

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--panel-bg);
  color: var(--brand);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(31, 42, 48, 0.16);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  border-color: var(--brand);
}

.back-to-top[hidden] {
  display: none;
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .hero-portal {
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 1fr);
    gap: 22px;
  }

  .compare-layout {
    grid-template-columns: minmax(0, 1fr) 270px;
  }

  .footer-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 900px) {
  .header-inner {
    gap: 12px;
  }

  .site-nav,
  .nav-category {
    display: none;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .page-layout,
  .sidebar-left .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .sidebar-left .page-layout > .sidebar,
  .sidebar-left .page-layout > .side-column,
  .sidebar-left .page-layout > .page-sidebar,
  .sidebar-left .page-layout > .page-aside {
    order: 0;
  }

  .hero-portal {
    grid-template-columns: minmax(0, 1fr);
  }

  .weight-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .map-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compare-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .watch-route .step-track,
  .route-section .step-list,
  .next-step-list,
  .flow-list,
  .feedback-steps,
  .error-guide-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .map-legend-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .group-block {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .group-block-side {
    padding-left: 0;
    padding-top: 14px;
    border-left: 0;
    border-top: 1px dashed var(--line-strong);
  }

  .prep-flow-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .check-steps .step-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body.site-body {
    font-size: 15.5px;
    background-size: 36px 36px;
  }

  .header-inner {
    padding: 0 14px;
    min-height: 56px;
  }

  .brand-name {
    font-size: 16px;
  }

  .inner-main,
  .home-main {
    padding: 18px 14px 44px;
  }

  .home-main > section {
    margin-bottom: 32px;
  }

  .section-title {
    font-size: 19px;
  }

  .hero-portal {
    margin-bottom: 32px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .map-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pick-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .pick-figure img {
    aspect-ratio: 16 / 9;
  }

  .topic-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .topic-cover img {
    aspect-ratio: 16 / 9;
  }

  .change-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .change-row > a {
    white-space: normal;
  }

  .rules-section .rule-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .checklist-pair {
    grid-template-columns: minmax(0, 1fr);
  }

  .anchor-list,
  .anchor-nav ul {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .anchor-chip,
  .anchor-nav a {
    flex: 0 0 auto;
  }

  .compare-table,
  .data-table,
  .result-table {
    font-size: 14px;
  }

  .compare-table th,
  .data-table th,
  .result-table th,
  .compare-table td,
  .data-table td,
  .result-table td {
    padding: 10px 12px;
  }

  .error-panel {
    padding: 22px 18px;
  }

  .error-actions .error-btn {
    flex: 1 1 auto;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 30px 14px 22px;
  }

  .footer-bottom p {
    padding: 12px 14px;
  }

  .mobile-menu-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .back-to-top {
    right: 14px;
    bottom: 16px;
  }
}

@media (max-width: 390px) {
  .brand-name {
    font-size: 15px;
  }

  .page-title {
    font-size: 22px;
  }

  .hero-portal-main h1 {
    font-size: 24px;
  }

  .step-node,
  .step-item,
  .flow-item {
    padding-left: 50px;
  }

  .step-num,
  .step-index {
    left: 12px;
    width: 24px;
    height: 24px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
