/* ==========================================================================
   天美麻花果冻视频大全 · 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base
   -------------------------------------------------------------------------- */

:root {
  --c-primary: #0F3D33;
  --c-primary-soft: #2E7A63;
  --c-accent: #D2694A;
  --c-bg: #FBF9F4;
  --c-surface: #F1F4EF;
  --c-text: #22302B;
  --c-muted: #5A6B63;
  --c-line: #DDE3DA;
  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SFMono-Regular", "Menlo", "Consolas", "Liberation Mono", monospace;
  --content-max: 860px;
  --inner-max: 1080px;
  --radius: 6px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-base);
  font-size: 17px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
  color: var(--c-primary);
  line-height: 1.35;
}

p {
  margin: 0 0 18px;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--c-primary-soft);
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

a:hover,
a:focus-visible {
  color: var(--c-primary);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  cursor: pointer;
}

figure {
  margin: 0;
}

figcaption {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-muted);
}

/* 跳到正文 */
.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 200;
  padding: 10px 18px;
  background-color: var(--c-primary);
  color: #fff;
  border-radius: var(--radius);
  font-size: 15px;
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

/* --------------------------------------------------------------------------
   layout · 页头与导航
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--c-bg);
  border-bottom: 1px solid var(--c-line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 14px 24px;
}

.site-brand {
  flex: 0 0 auto;
  font-size: 19px;
  font-weight: 700;
  color: var(--c-primary);
  line-height: 1.4;
}

.site-brand:hover {
  color: var(--c-primary);
}

.site-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  align-items: center;
}

.nav-link {
  display: inline-block;
  padding: 6px 2px;
  font-size: 15px;
  color: var(--c-muted);
  border-bottom: 2px solid transparent;
  line-height: 1.5;
}

.nav-link:hover {
  color: var(--c-primary);
  border-bottom-color: var(--c-primary-soft);
}

.nav-link.is-current {
  color: var(--c-primary);
  font-weight: 700;
  border-bottom-color: var(--c-primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background-color: transparent;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background-color: var(--c-primary);
}

/* --------------------------------------------------------------------------
   layout · 主容器
   -------------------------------------------------------------------------- */

.site-main {
  display: block;
}

.home-main {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 24px 72px;
}

.inner-main {
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 0 24px 72px;
}

.page-layout {
  display: grid;
  gap: 48px;
}

.layout-shell {
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: start;
}

.content-column {
  max-width: 780px;
}

.page-shell {
  max-width: 760px;
}

.page-layout .page-head,
.page-shell .page-head {
  max-width: 760px;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 24px 0 8px;
  font-size: 14px;
  color: var(--c-muted);
}

.breadcrumb a {
  color: var(--c-muted);
}

.breadcrumb a:hover {
  color: var(--c-primary);
  text-decoration: underline;
}

.breadcrumb-sep {
  color: var(--c-line);
}

.breadcrumb-current {
  color: var(--c-text);
}

/* 页面标题区 */
.page-header {
  padding: 8px 0 20px;
  border-bottom: 1px solid var(--c-line);
  margin-bottom: 32px;
}

.page-title {
  font-size: 40px;
  font-weight: 700;
  color: var(--c-primary);
  line-height: 1.25;
}

.page-head {
  margin-bottom: 32px;
}

.page-lead,
.page-intro {
  font-size: 17px;
  line-height: 1.8;
  color: var(--c-text);
  max-width: 68ch;
}

/* 通用 section 间距 */
.inner-main section {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--c-line);
}

.inner-main section:last-of-type {
  border-bottom: none;
}

.inner-main section > h2 {
  font-size: 26px;
  margin-bottom: 12px;
}

.inner-main section > h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.section-note,
.section-lead {
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-muted);
  margin-bottom: 24px;
  max-width: 66ch;
}

/* 页脚 */
.site-footer {
  background-color: var(--c-surface);
  border-top: 1px solid var(--c-line);
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 48px 24px 32px;
}

.footer-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 14px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav a,
.footer-links a {
  font-size: 15px;
  color: var(--c-muted);
  line-height: 1.6;
}

.footer-nav a:hover,
.footer-links a:hover {
  color: var(--c-primary);
  text-decoration: underline;
}

.footer-col p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-muted);
  margin: 0;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 18px 24px 28px;
  border-top: 1px solid var(--c-line);
}

.footer-brand {
  font-size: 14px;
  color: var(--c-muted);
  margin: 0;
}

.back-to-top {
  font-size: 14px;
  color: var(--c-muted);
}

.back-to-top:hover {
  color: var(--c-primary);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   components · 通用按钮与文字链接
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 24px;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius);
  border: 1px solid transparent;
  line-height: 1.4;
  text-align: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 24px;
  font-size: 16px;
  font-weight: 700;
  background-color: var(--c-primary);
  color: #fff;
  border: 1px solid var(--c-primary);
  border-radius: var(--radius);
  line-height: 1.4;
  text-align: center;
  transition: background-color 160ms ease, color 160ms ease;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--c-primary-soft);
  border-color: var(--c-primary-soft);
  color: #fff;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 24px;
  font-size: 16px;
  font-weight: 700;
  background-color: transparent;
  color: var(--c-primary);
  border: 1px solid var(--c-primary);
  border-radius: var(--radius);
  line-height: 1.4;
  text-align: center;
  transition: background-color 160ms ease, color 160ms ease;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background-color: var(--c-primary);
  color: #fff;
}

.text-link {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-primary-soft);
  border-bottom: 1px solid var(--c-primary-soft);
  padding-bottom: 1px;
}

.text-link:hover {
  color: var(--c-primary);
  border-bottom-color: var(--c-primary);
}

.section-more {
  margin-top: 24px;
}

.section-link {
  margin-top: 20px;
}

/* 编号通用 */
.channel-num,
.special-num,
.step-num,
.special-no,
.channel-no,
.step-no,
.flow-index,
.check-index,
.trouble-rank {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--c-primary);
}

/* 通用图片容器 */
figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   pages · 首页
   -------------------------------------------------------------------------- */

.home-main .hero {
  display: grid;
  grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
  gap: 48px;
  align-items: center;
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--c-line);
  margin-bottom: 32px;
}

.hero-text h1 {
  font-size: 40px;
  line-height: 1.25;
  margin-bottom: 20px;
}

.hero-lead {
  font-size: 17px;
  line-height: 1.8;
  color: var(--c-muted);
  margin-bottom: 28px;
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-media {
  margin: 0;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.hero-media figcaption {
  font-size: 14px;
}

/* 频道快捷索引 */
.channel-quick-index {
  padding: 0 0 28px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--c-line);
}

.quick-index-label {
  font-size: 14px;
  color: var(--c-muted);
  margin-bottom: 12px;
}

.quick-index-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-index-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  font-size: 15px;
  color: var(--c-primary);
  background-color: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}

.quick-index-link:hover {
  background-color: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}

/* 近期焦点条目 */
.focus-entries {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--c-line);
}

.focus-entries > h2 {
  font-size: 26px;
  margin-bottom: 12px;
}

.focus-entries .section-lead {
  margin-bottom: 28px;
}

.focus-item {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 24px 0;
  border-top: 1px solid var(--c-line);
}

.focus-item:first-of-type {
  border-top: none;
  padding-top: 0;
}

.focus-media {
  margin: 0;
}

.focus-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: var(--radius);
}

.focus-body h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.focus-body p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-text);
  margin-bottom: 12px;
}

/* 频道索引编号列表 */
.channel-list {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--c-line);
}

.channel-list > h2 {
  font-size: 26px;
  margin-bottom: 12px;
}

.channel-list .section-lead {
  margin-bottom: 24px;
}

.channel-rows {
  counter-reset: channel;
}

.channel-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1.4fr) minmax(0, 1fr) 96px;
  gap: 20px;
  align-items: start;
  padding: 20px 0;
  border-top: 1px solid var(--c-line);
}

.channel-rows .channel-row:first-child {
  border-top: none;
  padding-top: 4px;
}

.channel-row .channel-num {
  padding-top: 2px;
}

.channel-row .channel-name h3 {
  font-size: 19px;
  margin-bottom: 6px;
}

.channel-row .channel-name p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-muted);
  margin: 0;
}

.channel-row .channel-fit {
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-text);
  margin: 0;
}

.channel-link {
  justify-self: end;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-primary-soft);
  border-bottom: 1px solid var(--c-primary-soft);
  padding-bottom: 1px;
  white-space: nowrap;
}

.channel-link:hover {
  color: var(--c-primary);
  border-bottom-color: var(--c-primary);
}

/* 专题片单摘要 */
.special-summary {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--c-line);
}

.special-summary > h2 {
  font-size: 26px;
  margin-bottom: 12px;
}

.special-summary .section-lead {
  margin-bottom: 24px;
}

.special-list {
  counter-reset: special;
}

.special-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 20px 0;
  border-top: 1px solid var(--c-line);
}

.special-list .special-row:first-child {
  border-top: none;
  padding-top: 4px;
}

.special-row .special-num {
  padding-top: 2px;
}

.special-row .special-body h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.special-row .special-body p {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 8px;
}

.special-row .special-channels {
  font-size: 15px;
  color: var(--c-muted);
  margin: 0;
}

/* 入口核验三步 */
.entry-check-steps {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--c-line);
}

.entry-check-steps > h2 {
  font-size: 26px;
  margin-bottom: 12px;
}

.entry-check-steps .section-lead {
  margin-bottom: 24px;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 20px 0;
  border-top: 1px solid var(--c-line);
}

.step-list > .step-item:first-child {
  border-top: none;
  padding-top: 4px;
}

.step-item .step-num {
  padding-top: 2px;
}

.step-item .step-body h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.step-item .step-body p {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 8px;
}

.step-item .step-rule {
  font-size: 15px;
  color: var(--c-muted);
  margin: 0;
}

/* 浏览顺序摘要 */
.reading-order {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--c-line);
}

.reading-order > h2 {
  font-size: 26px;
  margin-bottom: 12px;
}

.reading-order .section-lead {
  margin-bottom: 20px;
}

.order-list {
  counter-reset: order;
  padding-left: 0;
}

.order-list li {
  position: relative;
  padding: 8px 0 8px 32px;
  font-size: 16px;
  line-height: 1.75;
  border-top: 1px solid var(--c-line);
}

.order-list li:first-child {
  border-top: none;
}

.order-list li::before {
  counter-increment: order;
  content: counter(order, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 8px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--c-accent);
}

/* 疑问解答摘要 */
.question-summary {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--c-line);
}

.question-summary > h2 {
  font-size: 26px;
  margin-bottom: 12px;
}

.question-summary .section-lead {
  margin-bottom: 24px;
}

.question-list {
  display: flex;
  flex-direction: column;
}

.question-row {
  padding: 20px 0;
  border-top: 1px solid var(--c-line);
}

.question-list .question-row:first-child {
  border-top: none;
  padding-top: 4px;
}

.question-row h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.question-row p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-text);
  margin-bottom: 10px;
}

/* 反馈与纠错入口 */
.feedback-entry {
  margin-bottom: 24px;
  padding-bottom: 24px;
}

.feedback-entry > h2 {
  font-size: 26px;
  margin-bottom: 12px;
}

.feedback-entry .section-lead {
  margin-bottom: 20px;
}

.feedback-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.feedback-points li {
  position: relative;
  padding-left: 22px;
  font-size: 16px;
  line-height: 1.75;
}

.feedback-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  background-color: var(--c-accent);
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   pages · 频道索引
   -------------------------------------------------------------------------- */

.page-channels .page-figure {
  margin: 0 0 32px;
}

.page-channels .page-figure img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: var(--radius);
}

.channel-table > h2 {
  font-size: 26px;
  margin-bottom: 12px;
}

.channel-table .section-note {
  margin-bottom: 20px;
}

.channel-table .channel-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 96px;
  gap: 20px;
  align-items: start;
  padding: 22px 0;
  border-top: 1px solid var(--c-line);
}

.channel-table .channel-row:first-of-type {
  border-top: none;
  padding-top: 4px;
}

.channel-table .channel-no {
  padding-top: 2px;
}

.channel-table .channel-body h3 {
  font-size: 19px;
  margin-bottom: 6px;
}

.channel-table .channel-desc {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 6px;
}

.channel-table .channel-fit {
  font-size: 15px;
  color: var(--c-muted);
  margin: 0;
}

/* 题材分组 */
.topic-groups > h2 {
  font-size: 26px;
  margin-bottom: 12px;
}

.topic-group {
  padding: 20px 0;
  border-top: 1px solid var(--c-line);
}

.topic-group:first-of-type {
  border-top: none;
  padding-top: 4px;
}

.topic-group h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.topic-group .group-boundary {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 12px;
}

.group-points {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.group-points li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-text);
}

.group-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  background-color: var(--c-primary-soft);
  border-radius: 2px;
}

/* 相邻频道差异对照 */
.diff-compare > h2 {
  font-size: 26px;
  margin-bottom: 12px;
}

.compare-pair {
  padding: 20px 0;
  border-top: 1px solid var(--c-line);
}

.compare-pair:first-of-type {
  border-top: none;
  padding-top: 4px;
}

.compare-pair > h3 {
  font-size: 19px;
  margin-bottom: 14px;
}

.compare-col-a,
.compare-col-b {
  display: inline-block;
  vertical-align: top;
  width: calc(50% - 12px);
  padding: 16px 18px;
  background-color: var(--c-surface);
  border-radius: var(--radius);
}

.compare-col-a {
  margin-right: 20px;
}

.compare-col h4 {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--c-primary);
}

.compare-col ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.compare-col li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.7;
}

.compare-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  background-color: var(--c-accent);
  border-radius: 50%;
}

/* 频道与专题对应 */
.channel-special-map > h2 {
  font-size: 26px;
  margin-bottom: 12px;
}

.map-list {
  display: flex;
  flex-direction: column;
}

.map-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 20px;
  align-items: start;
  padding: 16px 0;
  border-top: 1px solid var(--c-line);
}

.map-list .map-item:first-child {
  border-top: none;
  padding-top: 4px;
}

.map-item p {
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

.map-channel {
  font-weight: 700;
  color: var(--c-primary);
}

.map-special {
  color: var(--c-primary-soft);
}

.map-note {
  color: var(--c-muted);
}

/* 侧栏 */
.page-aside {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 8px;
}

.aside-group {
  padding: 20px;
  background-color: var(--c-surface);
  border-radius: var(--radius);
}

.aside-group h2 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--c-primary);
}

.aside-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.aside-list li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-text);
}

.aside-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  background-color: var(--c-primary-soft);
  border-radius: 50%;
}

/* --------------------------------------------------------------------------
   pages · 专题片单
   -------------------------------------------------------------------------- */

.special-list > h2 {
  font-size: 26px;
  margin-bottom: 12px;
}

.special-item {
  padding: 28px 0;
  border-top: 1px solid var(--c-line);
}

.special-item:first-of-type {
  border-top: none;
  padding-top: 4px;
}

.special-item-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 14px;
}

.special-item-head .special-no {
  flex: 0 0 auto;
}

.special-item-head h3 {
  font-size: 22px;
  margin: 0;
}

.special-logic {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.field-label {
  display: inline-block;
  margin-right: 8px;
  padding: 1px 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-primary);
  background-color: var(--c-surface);
  border-radius: 4px;
  vertical-align: 1px;
}

.special-channels {
  margin-bottom: 16px;
}

.special-channels h4,
.special-order h4 {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--c-primary);
}

.channel-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.channel-chip-list li {
  padding: 5px 12px;
  font-size: 14px;
  color: var(--c-primary);
  background-color: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: 4px;
  line-height: 1.5;
}

.special-order {
  margin-bottom: 14px;
}

.special-item .order-list li {
  font-size: 15px;
}

.special-tip {
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-muted);
  padding: 12px 16px;
  background-color: var(--c-surface);
  border-left: 3px solid var(--c-accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 0;
}

.special-figure {
  margin: 24px 0 32px;
}

.special-figure img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: var(--radius);
}

.special-maintenance > h2,
.special-link-rule > h2,
.special-next > h2 {
  font-size: 26px;
  margin-bottom: 12px;
}

.plain-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.plain-list li {
  position: relative;
  padding-left: 22px;
  font-size: 16px;
  line-height: 1.75;
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  background-color: var(--c-primary-soft);
  border-radius: 2px;
}

.rule-item {
  padding: 18px 0;
  border-top: 1px solid var(--c-line);
}

.rule-item:first-of-type {
  border-top: none;
  padding-top: 4px;
}

.rule-item h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.rule-item p {
  font-size: 16px;
  line-height: 1.75;
  margin: 0;
}

/* --------------------------------------------------------------------------
   pages · 观看说明
   -------------------------------------------------------------------------- */

.flow-image {
  margin: 0 0 32px;
}

.flow-image img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: var(--radius);
}

.flow-steps > h2,
.misuse > h2,
.troubleshoot > h2,
.division > h2 {
  font-size: 26px;
  margin-bottom: 12px;
}

.flow-steps .step-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 22px 0;
  border-top: 1px solid var(--c-line);
}

.flow-steps .step-list > .step-item:first-child {
  border-top: none;
  padding-top: 4px;
}

.flow-steps .step-no {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-size: 16px;
  color: #fff;
  background-color: var(--c-primary);
  border-radius: var(--radius);
  padding-top: 0;
}

.flow-steps .step-body h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.flow-steps .step-action {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 6px;
}

.flow-steps .step-point {
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-muted);
  margin: 0;
}

/* 常见误操作 */
.misuse-list {
  display: flex;
  flex-direction: column;
}

.misuse-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--c-line);
}

.misuse-list .misuse-item:first-child {
  border-top: none;
  padding-top: 4px;
}

.misuse-what,
.misuse-fix {
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
  padding-left: 18px;
  position: relative;
}

.misuse-what {
  color: var(--c-text);
}

.misuse-fix {
  color: var(--c-muted);
}

.misuse-what::before,
.misuse-fix::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
}

.misuse-what::before {
  background-color: var(--c-accent);
}

.misuse-fix::before {
  background-color: var(--c-primary-soft);
}

/* 异常排查次序 */
.trouble-list {
  display: flex;
  flex-direction: column;
}

.trouble-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid var(--c-line);
}

.trouble-list .trouble-item:first-child {
  border-top: none;
  padding-top: 4px;
}

.trouble-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 14px;
  color: var(--c-primary);
  background-color: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: 50%;
}

.trouble-text {
  font-size: 16px;
  line-height: 1.75;
  margin: 0;
  padding-top: 4px;
}

/* 分工说明 */
.division-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.division-col {
  padding: 20px;
  background-color: var(--c-surface);
  border-radius: var(--radius);
}

.division-title {
  font-size: 17px;
  margin-bottom: 10px;
  color: var(--c-primary);
}

.division-col p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-text);
  margin: 0;
}

/* --------------------------------------------------------------------------
   pages · 入口核验
   -------------------------------------------------------------------------- */

.check-image > h2 {
  font-size: 26px;
  margin-bottom: 12px;
}

.media-figure {
  margin: 0 0 16px;
}

.media-figure img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: var(--radius);
}

.check-image > p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-muted);
}

.check-fields > h2,
.verdicts > h2,
.back-to-feedback > h2,
.cautions > h2 {
  font-size: 26px;
  margin-bottom: 12px;
}

.check-fields > p,
.verdicts > p,
.back-to-feedback > p,
.cautions > p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-muted);
  margin-bottom: 20px;
}

.field-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.field-item {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--c-line);
}

.field-list .field-item:first-child {
  border-top: none;
  padding-top: 4px;
}

.field-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-primary);
  line-height: 1.7;
}

.field-standard,
.field-record {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-text);
}

.field-record {
  margin: 0;
  color: var(--c-muted);
}

/* 三种结论 */
.verdict-list {
  display: flex;
  flex-direction: column;
}

.verdict-item {
  padding: 18px 0;
  border-top: 1px solid var(--c-line);
}

.verdict-list .verdict-item:first-child {
  border-top: none;
  padding-top: 4px;
}

.verdict-name {
  font-size: 18px;
  margin-bottom: 8px;
}

.verdict-desc {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 6px;
}

.verdict-trigger {
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-muted);
  margin: 0;
}

/* 结论回到反馈 */
.back-to-feedback .step-list {
  margin-top: 16px;
}

.back-to-feedback .step-item {
  grid-template-columns: 48px minmax(0, 1fr);
}

.back-to-feedback .step-body p {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 6px;
}

.back-to-feedback .step-note {
  font-size: 15px;
  color: var(--c-muted);
  margin: 0;
}

/* 注意事项 */
.caution-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.caution-item {
  position: relative;
  padding-left: 22px;
  font-size: 16px;
  line-height: 1.75;
}

.caution-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  background-color: var(--c-accent);
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   pages · 疑问解答
   -------------------------------------------------------------------------- */

.group-figure {
  margin: 0 0 32px;
}

.group-figure img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: var(--radius);
}

.qa-section > h2 {
  font-size: 26px;
  margin-bottom: 12px;
}

.view-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px;
  margin-bottom: 24px;
  background-color: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}

.view-tab {
  flex: 1 1 0;
  min-height: 44px;
  min-width: 100px;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-muted);
  background-color: transparent;
  border: none;
  border-radius: 4px;
  line-height: 1.4;
}

.view-tab:hover {
  color: var(--c-primary);
}

.view-tab.is-active {
  color: #fff;
  background-color: var(--c-primary);
}

.qa-panel[hidden] {
  display: none;
}

.panel-title {
  font-size: 18px;
  margin-bottom: 14px;
  color: var(--c-primary);
}

.qa-item {
  border-top: 1px solid var(--c-line);
}

.qa-panel .qa-item:first-of-type {
  border-top: none;
}

.qa-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--c-primary);
  cursor: pointer;
  list-style: none;
  line-height: 1.5;
}

.qa-item summary::-webkit-details-marker {
  display: none;
}

.qa-item summary::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--c-accent);
  line-height: 1;
}

.qa-item[open] summary::after {
  content: "−";
}

.qa-item summary:hover {
  color: var(--c-primary-soft);
}

.qa-answer {
  padding: 0 0 18px;
}

.qa-answer p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-text);
  margin: 0;
}

/* 未解决问题 */
.unsolved > h2,
.mapping > h2 {
  font-size: 26px;
  margin-bottom: 12px;
}

.unsolved-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.unsolved-list li {
  position: relative;
  padding-left: 22px;
  font-size: 16px;
  line-height: 1.75;
}

.unsolved-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  background-color: var(--c-primary-soft);
  border-radius: 2px;
}

.unsolved-list strong {
  color: var(--c-primary);
}

.unsolved-action {
  margin: 0;
}

/* 解答与页面对应表 */
.mapping-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.7;
}

.mapping-table caption {
  text-align: left;
  font-size: 14px;
  color: var(--c-muted);
  padding-bottom: 10px;
}

.mapping-table th,
.mapping-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--c-line);
  vertical-align: top;
}

.mapping-table thead th {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-primary);
  background-color: var(--c-surface);
  border-bottom: 1px solid var(--c-line);
}

.mapping-table tbody th {
  font-weight: 700;
  color: var(--c-primary);
  white-space: nowrap;
}

.mapping-table tbody tr:last-child th,
.mapping-table tbody tr:last-child td {
  border-bottom: none;
}

/* --------------------------------------------------------------------------
   pages · 反馈流程
   -------------------------------------------------------------------------- */

.prepare-list > h2,
.feedback-flow > h2,
.scope > h2,
.after-update > h2 {
  font-size: 26px;
  margin-bottom: 12px;
}

.check-list {
  display: flex;
  flex-direction: column;
}

.check-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid var(--c-line);
}

.check-list .check-item:first-child {
  border-top: none;
  padding-top: 4px;
}

.check-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: 14px;
  color: var(--c-primary);
  background-color: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: 50%;
}

.check-body h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.check-body p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-muted);
  margin: 0;
}

.content-figure {
  margin: 24px 0 32px;
}

.content-figure img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: var(--radius);
}

.flow-list {
  display: flex;
  flex-direction: column;
}

.flow-step {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 20px 0;
  border-top: 1px solid var(--c-line);
}

.flow-list .flow-step:first-child {
  border-top: none;
  padding-top: 4px;
}

.flow-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 15px;
  color: #fff;
  background-color: var(--c-primary);
  border-radius: var(--radius);
}

.flow-body h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.flow-body p {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 6px;
}

.flow-output {
  font-size: 15px;
  color: var(--c-muted);
  margin: 0;
}

/* 范围对照 */
.scope-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.scope-col {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--c-line);
}

.scope-in {
  background-color: var(--c-surface);
}

.scope-out {
  background-color: var(--c-bg);
}

.scope-heading {
  font-size: 17px;
  margin-bottom: 12px;
  color: var(--c-primary);
}

.scope-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.scope-list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.7;
}

.scope-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
}

.scope-in .scope-list li::before {
  background-color: var(--c-primary-soft);
}

.scope-out .scope-list li::before {
  background-color: var(--c-accent);
}

/* 站内更新方式 */
.update-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.update-list li {
  padding: 16px 0;
  border-top: 1px solid var(--c-line);
}

.update-list li:first-child {
  border-top: none;
  padding-top: 4px;
}

.update-name {
  font-size: 17px;
  margin-bottom: 6px;
}

.update-list p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-muted);
  margin: 0;
}

/* --------------------------------------------------------------------------
   components · 相关阅读
   -------------------------------------------------------------------------- */

.related-links {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--c-line);
}

.related-links h2,
.related-title {
  font-size: 20px;
  margin-bottom: 14px;
}

.related-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.related-links li {
  position: relative;
  padding-left: 20px;
}

.related-links li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  background-color: var(--c-primary-soft);
  border-radius: 50%;
}

.related-links a {
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-primary-soft);
  border-bottom: 1px solid transparent;
}

.related-links a:hover {
  color: var(--c-primary);
  border-bottom-color: var(--c-primary);
}

/* 反馈页无 nav 包裹的相关阅读 */
.related-links ul.related-list {
  margin: 0;
  padding: 0;
}

/* --------------------------------------------------------------------------
   pages · 404
   -------------------------------------------------------------------------- */

.error-main {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}

.error-inner {
  text-align: left;
}

.error-code {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--c-accent);
  margin-bottom: 12px;
}

.error-main h1 {
  font-size: 36px;
  margin-bottom: 16px;
}

.error-lead {
  font-size: 17px;
  line-height: 1.8;
  color: var(--c-muted);
  margin-bottom: 36px;
}

.error-block {
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--c-line);
}

.error-block h2 {
  font-size: 22px;
  margin-bottom: 14px;
}

.error-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.error-list li {
  position: relative;
  padding-left: 20px;
}

.error-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  background-color: var(--c-primary-soft);
  border-radius: 2px;
}

.error-list a {
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-primary-soft);
}

.error-list a:hover {
  color: var(--c-primary);
  text-decoration: underline;
}

.error-actions {
  margin: 0;
}

/* --------------------------------------------------------------------------
   responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .layout-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .page-aside {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 0;
  }

  .aside-group {
    flex: 1 1 260px;
  }

  .home-main .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding-top: 36px;
  }

  .hero-media {
    order: 2;
  }

  .hero-text {
    order: 1;
  }

  .hero-media img {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 18px;
  }

  .site-brand {
    font-size: 17px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    flex: 1 1 100%;
    justify-content: flex-start;
    order: 3;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    width: 100%;
    padding: 8px 0 4px;
    border-top: 1px solid var(--c-line);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-link {
    display: flex;
    align-items: center;
    min-height: 48px;
    width: 100%;
    padding: 8px 4px;
    font-size: 16px;
    border-bottom: 1px solid var(--c-line);
  }

  .nav-link.is-current {
    border-bottom-color: var(--c-line);
  }

  .home-main,
  .inner-main {
    padding: 0 18px 56px;
  }

  .page-title {
    font-size: 28px;
  }

  .page-header {
    padding-bottom: 16px;
    margin-bottom: 24px;
  }

  .inner-main section {
    margin-bottom: 32px;
    padding-bottom: 32px;
  }

  .inner-main section > h2,
  .focus-entries > h2,
  .channel-list > h2,
  .special-summary > h2,
  .entry-check-steps > h2,
  .reading-order > h2,
  .question-summary > h2,
  .feedback-entry > h2,
  .channel-table > h2,
  .topic-groups > h2,
  .diff-compare > h2,
  .channel-special-map > h2,
  .special-list > h2,
  .special-maintenance > h2,
  .special-link-rule > h2,
  .special-next > h2,
  .flow-steps > h2,
  .misuse > h2,
  .troubleshoot > h2,
  .division > h2,
  .check-image > h2,
  .check-fields > h2,
  .verdicts > h2,
  .back-to-feedback > h2,
  .cautions > h2,
  .qa-section > h2,
  .unsolved > h2,
  .mapping > h2,
  .prepare-list > h2,
  .feedback-flow > h2,
  .scope > h2,
  .after-update > h2 {
    font-size: 22px;
  }

  .home-main .hero {
    padding: 28px 0 32px;
    margin-bottom: 24px;
  }

  .hero-text h1 {
    font-size: 28px;
    margin-bottom: 14px;
  }

  .hero-lead {
    font-size: 16px;
    margin-bottom: 22px;
  }

  .hero-actions {
    gap: 12px;
  }

  .btn,
  .btn-primary,
  .btn-ghost {
    flex: 1 1 auto;
    min-width: 140px;
  }

  .quick-index-list {
    gap: 8px;
  }

  .quick-index-link {
    font-size: 14px;
    padding: 8px 14px;
  }

  .focus-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 20px 0;
  }

  .focus-media img {
    aspect-ratio: 16 / 9;
  }

  .channel-row {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px 14px;
    padding: 18px 0;
  }

  .channel-row .channel-name {
    grid-column: 2;
  }

  .channel-row .channel-fit {
    grid-column: 2;
    font-size: 14px;
  }

  .channel-row .channel-link {
    grid-column: 2;
    justify-self: start;
    margin-top: 4px;
  }

  .special-row {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px 14px;
    padding: 18px 0;
  }

  .step-item,
  .back-to-feedback .step-item,
  .check-item,
  .flow-step {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px 14px;
    padding: 18px 0;
  }

  .flow-steps .step-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .flow-steps .step-no {
    width: 40px;
    height: 40px;
    font-size: 15px;
  }

  .trouble-item {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
  }

  .trouble-rank {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

  .channel-table .channel-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 18px 0;
  }

  .channel-table .channel-no {
    padding-top: 0;
  }

  .channel-table .channel-link {
    justify-self: start;
  }

  .compare-col-a,
  .compare-col-b {
    display: block;
    width: 100%;
  }

  .compare-col-a {
    margin-right: 0;
    margin-bottom: 14px;
  }

  .map-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 14px 0;
  }

  .map-item p {
    font-size: 15px;
  }

  .special-item-head {
    gap: 10px;
  }

  .special-item-head h3 {
    font-size: 20px;
  }

  .misuse-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 14px 0;
  }

  .division-grid,
  .scope-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .field-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding: 16px 0;
  }

  .field-name {
    font-size: 17px;
  }

  .view-switch {
    gap: 6px;
  }

  .view-tab {
    flex: 1 1 0;
    min-width: 0;
    padding: 8px 6px;
    font-size: 14px;
  }

  .qa-item summary {
    font-size: 16px;
    padding: 14px 0;
  }

  .mapping-table {
    font-size: 14px;
  }

  .mapping-table th,
  .mapping-table td {
    padding: 10px 8px;
  }

  .mapping-table tbody th {
    white-space: normal;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 36px 18px 24px;
  }

  .footer-bottom {
    padding: 16px 18px 24px;
  }

  .error-main {
    padding: 40px 18px 56px;
  }

  .error-main h1 {
    font-size: 28px;
  }
}

@media (max-width: 390px) {
  .header-inner {
    padding: 10px 14px;
  }

  .home-main,
  .inner-main {
    padding: 0 14px 48px;
  }

  .site-brand {
    font-size: 16px;
    max-width: 220px;
  }

  .hero-text h1 {
    font-size: 25px;
  }

  .page-title {
    font-size: 25px;
  }

  .btn,
  .btn-primary,
  .btn-ghost {
    min-width: 0;
    width: 100%;
  }

  .quick-index-link {
    font-size: 13px;
    padding: 8px 12px;
  }

  .channel-row,
  .special-row,
  .step-item,
  .check-item,
  .flow-step,
  .trouble-item {
    grid-template-columns: minmax(0, 1fr);
  }

  .channel-row .channel-num,
  .special-row .special-num,
  .step-item .step-num {
    padding-top: 0;
  }

  .channel-row .channel-name,
  .channel-row .channel-fit,
  .channel-row .channel-link {
    grid-column: 1;
  }

  .field-item {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner,
  .footer-bottom {
    padding-left: 14px;
    padding-right: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
