/* ==========================================================================
   麻豆高清影院 · lqsm.net 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. base
   -------------------------------------------------------------------------- */

:root {
  --paper: #f6f4ef;
  --ink: #1d1f1c;
  --moss: #2f4a3f;
  --ochre: #a8642f;
  --ash: #6d7568;
  --line: #d9d4c8;
  --stage: #eeece4;
  --white: #fdfcf9;
  --radius: 6px;
  --radius-sm: 4px;
  --shell: 1180px;
  --aside-w: 300px;
  --gap: 40px;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  --font-mono: "SFMono-Regular", "JetBrains Mono", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body.site-body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.85;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

h2 {
  font-size: 22px;
}

h3 {
  font-size: 17px;
}

h4 {
  font-size: 15px;
  color: var(--moss);
}

p {
  margin: 0 0 14px;
  max-width: 42em;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

dl {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--moss);
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease;
}

a:hover,
a:focus-visible {
  color: var(--ochre);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--ochre);
  outline-offset: 2px;
}

button {
  font-family: inherit;
  cursor: pointer;
}

figure {
  margin: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* 通用文本链接 */
.text-link {
  display: inline-block;
  font-size: 14px;
  color: var(--moss);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
}

.text-link:hover {
  border-bottom-color: var(--ochre);
}

/* 展签式说明 */
.caption-label,
.exhibit-caption,
.figure-caption,
.caption-tag {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ash);
  line-height: 1.6;
}

.caption-meta {
  display: inline-block;
  margin-left: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ash);
}

/* --------------------------------------------------------------------------
   2. layout —— 全站骨架
   -------------------------------------------------------------------------- */

/* 页头 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
  color: var(--ink);
}

.brand:hover {
  color: var(--ink);
}

.brand-name {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.2;
}

.brand-slogan {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ash);
  line-height: 1.3;
}

.site-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-list li {
  display: block;
}

.nav-list a {
  display: inline-block;
  padding: 8px 12px;
  font-size: 15px;
  color: var(--ink);
  border-radius: var(--radius-sm);
  line-height: 1.4;
}

.nav-list a:hover {
  color: var(--moss);
  background: var(--stage);
}

.nav-list a.is-current {
  color: var(--moss);
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--moss);
}

.index-entry {
  flex-shrink: 0;
  font-size: 14px;
  color: var(--moss);
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  line-height: 1.4;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.index-entry:hover {
  border-color: var(--moss);
}

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 移动菜单 */
.mobile-menu {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-nav-list {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 8px 24px 16px;
}

.mobile-nav-list li {
  border-bottom: 1px solid var(--line);
}

.mobile-nav-list li:last-child {
  border-bottom: 0;
}

.mobile-nav-list a {
  display: flex;
  align-items: center;
  min-height: 48px;
  font-size: 16px;
  color: var(--ink);
}

.mobile-nav-list a:hover {
  color: var(--moss);
}

/* 主内容 */
.site-main {
  display: block;
}

.home-main,
.inner-main {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px 64px;
}

.inner-main {
  padding-top: 24px;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ash);
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--ash);
}

.breadcrumb a:hover {
  color: var(--moss);
}

.breadcrumb-sep {
  color: var(--line);
}

.breadcrumb-current {
  color: var(--ink);
}

/* 页面标题区 */
.page-header {
  margin-bottom: 28px;
}

.page-title {
  font-size: 34px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--ink);
  max-width: 22em;
}

.page-title-block {
  margin-bottom: 26px;
}

.page-deck,
.page-lede,
.page-lead,
.page-kicker,
.page-subtitle {
  max-width: 46em;
}

.page-kicker {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ash);
  margin-bottom: 8px;
}

.page-deck,
.page-lede,
.page-lead,
.page-subtitle {
  font-size: 16px;
  color: var(--ink);
  line-height: 1.85;
}

.page-batch,
.page-meta {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ash);
  letter-spacing: 0.04em;
}

.meta-batch,
.batch-tag {
  display: inline-block;
  padding: 1px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ash);
}

.meta-sep {
  display: inline-block;
  margin: 0 8px;
  color: var(--line);
}

/* 两栏布局：正文在前，aside 在后 */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--aside-w);
  gap: var(--gap);
  align-items: start;
}

.page-layout > .page-content,
.page-layout > .content-main,
.page-layout > .page-primary,
.page-layout > .field-main,
.page-layout > .layout-main {
  min-width: 0;
}

.page-layout > .page-aside,
.page-layout > .field-aside {
  min-width: 0;
}

/* 页脚 */
.site-footer {
  background: var(--stage);
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
}

.footer-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 44px 24px 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
}

.footer-about {
  min-width: 0;
}

.footer-brand {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.footer-position {
  color: var(--moss);
  margin-bottom: 8px;
  max-width: 34em;
}

.footer-scope {
  color: var(--ash);
  font-size: 13px;
  max-width: 34em;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.footer-col {
  min-width: 0;
}

.footer-col-title {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ash);
  font-weight: 600;
  margin-bottom: 10px;
}

.footer-col ul li {
  margin-bottom: 6px;
}

.footer-col ul li a {
  display: inline-block;
  padding: 4px 0;
  min-height: 28px;
  color: var(--ink);
  font-size: 14px;
}

.footer-col ul li a:hover {
  color: var(--moss);
}

.footer-bottom {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 18px 24px 32px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--ash);
}

.footer-boundary,
.footer-copy {
  max-width: 60em;
  margin: 0;
}

/* --------------------------------------------------------------------------
   3. components —— 通用模块
   -------------------------------------------------------------------------- */

/* 模块标题组 */
.section-head {
  margin-bottom: 22px;
}

.section-title {
  font-size: 22px;
  line-height: 1.35;
  margin-bottom: 8px;
}

.section-desc,
.section-intro,
.section-lead,
.section-note,
.module-intro {
  font-size: 15px;
  color: var(--ash);
  max-width: 52em;
  line-height: 1.8;
}

/* aside 通用 */
.aside-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--moss);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.aside-list {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink);
}

.aside-list li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 8px;
}

.aside-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 5px;
  height: 5px;
  background: var(--ochre);
  border-radius: 50%;
}

.aside-links {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.aside-links-title,
.aside-subtitle {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ash);
  font-weight: 600;
  margin-bottom: 8px;
}

.aside-links ul li,
.aside-link-list li {
  margin-bottom: 6px;
}

.aside-links a,
.aside-link-list a {
  font-size: 14px;
  color: var(--moss);
  display: inline-block;
  padding: 4px 0;
}

.aside-links a:hover,
.aside-link-list a:hover {
  color: var(--ochre);
}

.aside-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--ash);
  line-height: 1.7;
}

/* 折叠问答 */
.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  position: relative;
  padding: 16px 40px 16px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  line-height: 1.6;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 400;
  color: var(--moss);
  line-height: 1;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-item[open] .faq-question {
  color: var(--moss);
}

.faq-answer {
  padding: 0 0 18px;
  font-size: 15px;
  color: var(--ink);
}

.faq-answer p {
  max-width: 44em;
}

.faq-tag {
  display: inline-block;
  margin-top: 8px;
  padding: 1px 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ash);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

/* 表格通用 */
.field-table,
.map-table,
.data-table,
.record-table {
  width: 100%;
  font-size: 14px;
  border-top: 1px solid var(--line);
}

.field-table caption,
.map-table caption,
.data-table caption,
.record-table caption,
.field-caption,
.map-caption,
.table-caption {
  text-align: left;
  font-size: 13px;
  color: var(--ash);
  padding: 0 0 8px;
  letter-spacing: 0.04em;
}

.field-table th,
.field-table td,
.map-table th,
.map-table td,
.data-table th,
.data-table td,
.record-table th,
.record-table td {
  padding: 11px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 1.7;
}

.field-table thead th,
.map-table thead th,
.data-table thead th,
.record-table thead th {
  font-size: 13px;
  font-weight: 600;
  color: var(--ash);
  letter-spacing: 0.04em;
  background: var(--stage);
}

.field-table tbody th,
.data-table tbody th,
.record-table tbody th {
  font-weight: 600;
  color: var(--ink);
  width: 32%;
}

.map-table tbody th {
  font-weight: 600;
  color: var(--ink);
}

/* 图片容器通用 */
.content-figure,
.check-figure,
.guide-figure,
.role-figure {
  margin: 0 0 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
}

.content-figure img,
.check-figure img,
.guide-figure img,
.role-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--stage);
}

/* 流程条 */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0 26px;
}

.flow-step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  min-width: 0;
}

.flow-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ochre);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.flow-name {
  font-size: 16px;
  margin-bottom: 6px;
}

.flow-out,
.flow-desc {
  font-size: 14px;
  color: var(--ash);
  line-height: 1.7;
  margin: 0;
}

/* --------------------------------------------------------------------------
   4. pages
   -------------------------------------------------------------------------- */

/* ===== 首页 ===== */

.home-main {
  padding-top: 36px;
}

/* 首屏编辑层级 */
.hero-editorial {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 44px;
  align-items: start;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.hero-lead {
  min-width: 0;
}

.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ash);
  margin-bottom: 12px;
}

.hero-title {
  font-size: 38px;
  line-height: 1.28;
  font-weight: 600;
  margin-bottom: 16px;
  max-width: 16em;
}

.hero-intro {
  font-size: 16px;
  color: var(--ink);
  line-height: 1.85;
  max-width: 34em;
  margin-bottom: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  line-height: 1.4;
}

.btn-primary {
  background: var(--moss);
  color: var(--white);
  border: 1px solid var(--moss);
}

.btn-primary:hover {
  background: var(--ochre);
  border-color: var(--ochre);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--moss);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--moss);
  color: var(--moss);
}

/* 头条条目 */
.headline-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}

.headline-figure {
  margin: 0;
  min-width: 0;
}

.headline-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--stage);
}

.headline-body {
  min-width: 0;
}

.headline-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ochre);
  margin-bottom: 8px;
}

.headline-title {
  font-size: 19px;
  line-height: 1.4;
  margin-bottom: 10px;
}

.headline-body p:not(.headline-tag) {
  font-size: 14px;
  color: var(--ash);
  line-height: 1.75;
  margin-bottom: 12px;
}

/* 首屏右侧 */
.hero-side {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.side-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 20px 18px;
}

.side-block-title {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ash);
  font-weight: 600;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.brief-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.brief-item {
  min-width: 0;
}

.brief-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ash);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.brief-title {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 4px;
}

.brief-text {
  font-size: 13px;
  color: var(--ash);
  line-height: 1.7;
  margin: 0;
}

.side-block-deep {
  background: var(--stage);
}

.deep-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 12px;
}

/* 频道陈列行 */
.channel-row-section {
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}

.channel-row-wrap {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.row-btn {
  flex-shrink: 0;
  width: 44px;
  min-height: 44px;
  align-self: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 18px;
  color: var(--moss);
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.row-btn:hover {
  border-color: var(--moss);
  color: var(--ochre);
}

.channel-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 6px;
  flex: 1 1 auto;
  min-width: 0;
}

.channel-item {
  flex: 0 0 216px;
  min-width: 216px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.channel-item:hover {
  border-color: var(--moss);
}

.channel-no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ash);
}

.channel-swatch {
  display: block;
  width: 100%;
  height: 8px;
  border-radius: 2px;
}

.channel-swatch-a {
  background: #8a9b8a;
}

.channel-swatch-b {
  background: #a8927a;
}

.channel-swatch-c {
  background: #7f8a96;
}

.channel-swatch-d {
  background: #9a8679;
}

.channel-swatch-e {
  background: #8f9583;
}

.channel-name {
  font-size: 16px;
  line-height: 1.4;
}

.channel-name a {
  color: var(--ink);
}

.channel-name a:hover {
  color: var(--moss);
}

.channel-dir {
  font-size: 13px;
  color: var(--ash);
  line-height: 1.65;
  margin: 0;
  flex: 1 1 auto;
}

.channel-link {
  font-size: 13px;
  color: var(--moss);
  border-bottom: 1px solid var(--line);
  align-self: flex-start;
  padding-bottom: 1px;
}

.channel-link:hover {
  border-bottom-color: var(--ochre);
}

/* 条目说明字段区 */
.field-layout {
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}

.field-main {
  min-width: 0;
}

.field-table {
  margin-top: 4px;
}

.field-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--ash);
}

.field-aside {
  position: sticky;
  top: 88px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

/* 专题片单推荐 */
.collection-section {
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.collection-card {
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.collection-card:hover {
  border-color: var(--moss);
}

.collection-figure {
  margin: 0;
}

.collection-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--stage);
}

.collection-title {
  font-size: 17px;
  line-height: 1.4;
}

.collection-title a {
  color: var(--ink);
}

.collection-title a:hover {
  color: var(--moss);
}

.collection-order {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ash);
  letter-spacing: 0.04em;
  margin: 0;
}

.collection-dir {
  font-size: 14px;
  color: var(--ash);
  line-height: 1.7;
  margin: 0;
  flex: 1 1 auto;
}

/* 浏览路径与核验提示 */
.path-section {
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}

.path-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}

.path-step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  min-width: 0;
}

.path-no {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ochre);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.path-name {
  font-size: 16px;
  margin-bottom: 6px;
}

.path-out {
  font-size: 14px;
  color: var(--ash);
  line-height: 1.7;
  margin: 0;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.check-block {
  min-width: 0;
  background: var(--stage);
  border-radius: var(--radius);
  padding: 18px;
}

.check-name {
  font-size: 15px;
  margin-bottom: 8px;
}

.check-standard {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.75;
  margin-bottom: 10px;
}

/* 常见问题摘录 */
.faq-excerpt {
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}

.faq-scope {
  margin-top: 16px;
  font-size: 13px;
  color: var(--ash);
  line-height: 1.75;
}

.faq-excerpt > .text-link {
  margin-top: 12px;
}

/* 全站索引入口条 */
.index-strip {
  margin: 40px 0 0;
  padding: 22px 24px;
  background: var(--moss);
  border-radius: var(--radius);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.index-strip-text {
  color: var(--white);
  font-size: 15px;
  margin: 0;
  max-width: 60em;
}

.index-strip a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  background: var(--white);
  color: var(--moss);
  border-radius: var(--radius-sm);
  font-size: 15px;
  white-space: nowrap;
}

.index-strip a:hover {
  background: var(--ochre);
  color: var(--white);
}

/* ===== 频道索引 ===== */

.channel-catalog {
  margin-bottom: 44px;
}

.channel-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}

.channel-list .channel-item {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 20px;
  padding: 16px;
  flex: initial;
  min-width: 0;
  align-items: start;
}

.channel-figure {
  margin: 0;
  min-width: 0;
}

.channel-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--stage);
}

.channel-body {
  min-width: 0;
}

.channel-body .channel-no {
  display: inline-block;
  margin-bottom: 4px;
}

.channel-body .channel-name {
  margin-bottom: 6px;
}

.channel-desc {
  font-size: 14px;
  color: var(--ash);
  line-height: 1.75;
  margin-bottom: 8px;
}

.channel-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ash);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.channel-caption {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ash);
}

.field-defs,
.channel-topic-map,
.choose-tips {
  margin-bottom: 44px;
}

.field-defs .field-table,
.channel-topic-map .map-table {
  margin-top: 16px;
}

.tip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.tip-block {
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.tip-title {
  font-size: 16px;
  margin-bottom: 8px;
}

.tip-text {
  font-size: 14px;
  color: var(--ash);
  line-height: 1.75;
  margin: 0;
}

/* 内页 aside 卡片 */
.aside-box,
.aside-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}

.aside-box:last-child,
.aside-card:last-child {
  margin-bottom: 0;
}

.page-aside {
  position: sticky;
  top: 88px;
}

/* ===== 专题片单 ===== */

.module {
  margin-bottom: 44px;
}

.module > h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.archive-item {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.archive-item:first-of-type {
  border-top: 1px solid var(--line);
  margin-top: 18px;
}

.archive-figure {
  margin: 0;
  min-width: 0;
}

.archive-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--stage);
}

.archive-body {
  min-width: 0;
}

.archive-no {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ochre);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.archive-name {
  font-size: 18px;
  margin-bottom: 8px;
}

.archive-desc {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.8;
  margin-bottom: 10px;
}

.archive-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ash);
  letter-spacing: 0.04em;
}

.archive-meta dt {
  display: inline;
  color: var(--ash);
}

.archive-meta dd {
  display: inline;
  margin: 0 0 0 6px;
  color: var(--ink);
}

.archive-meta > div {
  display: inline-flex;
  align-items: baseline;
}

.order-list {
  margin: 18px 0 16px;
  border-top: 1px solid var(--line);
}

.order-step {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.order-no {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ochre);
  letter-spacing: 0.04em;
  padding-top: 2px;
}

.order-body {
  min-width: 0;
  font-size: 15px;
  line-height: 1.8;
}

.order-reason {
  font-size: 14px;
  color: var(--ash);
  line-height: 1.75;
  padding-left: 14px;
  border-left: 2px solid var(--line);
  margin-bottom: 12px;
}

.order-next {
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.table-wrap {
  overflow-x: auto;
}

.rule-list {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rule-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.rule-item h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.rule-item p {
  font-size: 14px;
  color: var(--ash);
  line-height: 1.75;
  margin: 0;
}

/* ===== 入口核验 ===== */

.check-figure {
  margin-bottom: 30px;
}

.check-points,
.check-levels,
.check-record,
.check-division {
  margin-bottom: 40px;
}

.check-point {
  position: relative;
  padding: 18px 0 18px 0;
  border-bottom: 1px solid var(--line);
}

.check-point:first-of-type {
  border-top: 1px solid var(--line);
  margin-top: 18px;
}

.check-point-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ochre);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.check-point-name {
  font-size: 17px;
  margin-bottom: 8px;
}

.check-point-standard {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 6px;
}

.field-label {
  display: inline-block;
  margin-right: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ash);
  letter-spacing: 0.04em;
}

.check-point-action {
  font-size: 14px;
  margin: 0;
}

.level-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.level-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--ochre);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.level-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--moss);
  margin: 0;
}

.level-desc {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.75;
  margin: 0 0 4px;
}

.level-order {
  font-size: 13px;
  color: var(--ash);
  line-height: 1.7;
  margin: 0;
  grid-column: 2;
}

.record-table {
  margin-top: 18px;
}

.division-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.division-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.division-item a {
  font-weight: 600;
}

.division-desc {
  font-size: 14px;
  color: var(--ash);
  line-height: 1.7;
}

/* ===== 观看指南 ===== */

.content-main {
  min-width: 0;
}

.guide-flow,
.guide-detail,
.guide-summary-diff,
.guide-issues,
.guide-labels {
  margin-bottom: 40px;
}

.guide-block {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.guide-block:first-of-type {
  border-top: 1px solid var(--line);
  margin-top: 18px;
}

.guide-block h3 {
  font-size: 17px;
  margin-bottom: 12px;
}

.guide-figure {
  margin-bottom: 14px;
}

.guide-list {
  margin: 12px 0;
}

.guide-list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.75;
}

.guide-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  background: var(--moss);
  border-radius: 50%;
}

.guide-next {
  font-size: 14px;
  margin: 0;
}

.diff-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 16px 0;
}

.diff-col {
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.diff-col h3 {
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--moss);
}

.diff-col p {
  font-size: 14px;
  color: var(--ash);
  line-height: 1.75;
  margin: 0;
}

.issue-table {
  margin: 16px 0;
  border-top: 1px solid var(--line);
}

.issue-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.7;
}

.issue-head {
  background: var(--stage);
  font-size: 13px;
  font-weight: 600;
  color: var(--ash);
  letter-spacing: 0.04em;
}

.label-defs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.label-def {
  min-width: 0;
  background: var(--stage);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.label-def h3 {
  font-size: 15px;
  margin-bottom: 6px;
}

.label-def p {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.75;
  margin: 0;
}

/* ===== 编务职能 ===== */

.roles-section {
  margin-bottom: 44px;
}

.roles-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.role-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.role-duty,
.role-links {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.role-links {
  background: var(--stage);
  flex: 1 1 auto;
}

.role-index {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ochre);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.role-name {
  font-size: 18px;
  margin-bottom: 8px;
}

.role-desc {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.8;
  margin-bottom: 12px;
}

.role-subtitle {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ash);
  font-weight: 600;
  margin-bottom: 8px;
}

.role-output-list li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
}

.role-output-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  background: var(--moss);
  border-radius: 50%;
}

.role-link-list li {
  margin-bottom: 6px;
}

.role-link-list a {
  font-size: 14px;
  display: inline-block;
  padding: 4px 0;
}

.role-figure {
  margin-top: 24px;
}

.flow-section {
  margin-bottom: 44px;
}

.flow-section .flow-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mapping-section {
  margin-bottom: 44px;
}

.layout-main {
  min-width: 0;
}

.content-section {
  margin-bottom: 36px;
}

.content-section:last-child {
  margin-bottom: 0;
}

.content-section p {
  margin-bottom: 14px;
}

.aside-inner {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.aside-inner .aside-title + .aside-list {
  margin-bottom: 20px;
}

.aside-inner .aside-title:last-of-type {
  margin-top: 4px;
}

.handover-list li {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 6px;
}

/* ===== 常见问题 ===== */

.page-hero {
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.page-primary {
  min-width: 0;
}

.faq-section {
  margin-bottom: 40px;
}

.faq-section > h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.faq-section .faq-list {
  margin-top: 16px;
}

.content-figure {
  margin: 32px 0;
}

.scope-section {
  margin-bottom: 36px;
}

.scope-subtitle {
  font-size: 16px;
  margin: 16px 0 10px;
}

.scope-list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink);
}

.scope-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  background: var(--ochre);
  border-radius: 50%;
}

.next-section {
  margin-bottom: 32px;
}

.next-links {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.next-links li a {
  font-size: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
}

.next-links li a:hover {
  border-bottom-color: var(--ochre);
}

/* ===== 全站索引 ===== */

.index-catalog {
  margin-bottom: 44px;
}

.catalog-head {
  margin-bottom: 20px;
}

.catalog-head h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.catalog-figure {
  margin: 0 0 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
}

.catalog-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--stage);
}

.catalog-list {
  border-top: 1px solid var(--line);
}

.catalog-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.catalog-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ochre);
  letter-spacing: 0.04em;
  padding-top: 3px;
}

.catalog-body {
  min-width: 0;
}

.catalog-name {
  font-size: 17px;
  margin-bottom: 6px;
}

.catalog-name a {
  color: var(--ink);
}

.catalog-name a:hover {
  color: var(--moss);
}

.catalog-focus {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.75;
  margin-bottom: 4px;
}

.catalog-scene {
  font-size: 13px;
  color: var(--ash);
  line-height: 1.7;
  margin: 0;
}

.scene-paths,
.link-relations {
  margin-bottom: 44px;
}

.scene-paths h2,
.link-relations h2,
.index-scope h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.scene-col {
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.scene-name {
  font-size: 16px;
  margin-bottom: 8px;
}

.scene-judge {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.75;
  margin-bottom: 6px;
}

.scene-order {
  font-size: 13px;
  color: var(--ash);
  line-height: 1.7;
  margin-bottom: 10px;
}

.scene-links {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.scene-links a {
  font-size: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
}

.scene-links a:hover {
  border-bottom-color: var(--ochre);
}

.relations-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.relations-col {
  min-width: 0;
  background: var(--stage);
  border-radius: var(--radius);
  padding: 18px;
}

.relations-name {
  font-size: 15px;
  margin-bottom: 10px;
  color: var(--moss);
}

.relations-list li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink);
}

.relations-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  background: var(--ochre);
  border-radius: 50%;
}

.index-scope {
  margin-bottom: 24px;
}

.scope-body p {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.8;
  margin-bottom: 10px;
}

.scope-batch {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ash);
  letter-spacing: 0.04em;
}

/* ===== 404 ===== */

.error-main {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 60px 24px 72px;
}

.error-hero {
  border-bottom: 1px solid var(--line);
  padding-bottom: 36px;
  margin-bottom: 36px;
}

.error-code {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--ochre);
  margin-bottom: 12px;
}

.error-hero h1 {
  font-size: 34px;
  line-height: 1.3;
  margin-bottom: 14px;
  max-width: 20em;
}

.error-lead {
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
  max-width: 40em;
  margin-bottom: 20px;
}

.error-home-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 22px;
  background: var(--moss);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 15px;
}

.error-home-link:hover {
  background: var(--ochre);
  color: var(--white);
}

.error-paths {
  margin-bottom: 36px;
}

.error-paths h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.error-paths-intro {
  font-size: 15px;
  color: var(--ash);
  margin-bottom: 18px;
}

.error-path-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.error-path-item {
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.error-path-item h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.error-path-item p {
  font-size: 14px;
  color: var(--ash);
  line-height: 1.75;
  margin: 0;
}

.error-note {
  background: var(--stage);
  border-radius: var(--radius);
  padding: 20px 22px;
}

.error-note h2 {
  font-size: 17px;
  margin-bottom: 8px;
}

.error-note p {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.8;
  margin-bottom: 8px;
}

/* --------------------------------------------------------------------------
   5. responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  :root {
    --gap: 32px;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr) 268px;
  }

  .field-aside,
  .page-aside {
    position: static;
  }

  .hero-editorial {
    gap: 32px;
  }

  .hero-title {
    font-size: 32px;
  }

  .flow-section .flow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    order: 3;
  }

  .index-entry {
    margin-left: auto;
    order: 2;
  }

  .brand {
    order: 1;
  }

  .hero-editorial {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-title {
    font-size: 30px;
  }

  .collection-grid,
  .path-steps,
  .check-grid,
  .tip-grid,
  .scene-grid,
  .roles-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-layout > .page-aside,
  .page-layout > .field-aside {
    order: 2;
  }

  .page-layout > .page-content,
  .page-layout > .content-main,
  .page-layout > .page-primary,
  .page-layout > .field-main,
  .page-layout > .layout-main {
    order: 1;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
}

@media (max-width: 760px) {
  body.site-body {
    font-size: 15px;
  }

  .header-inner {
    padding: 10px 16px;
    gap: 12px;
    flex-wrap: nowrap;
  }

  .brand-name {
    font-size: 17px;
  }

  .brand-slogan {
    font-size: 11px;
  }

  .index-entry {
    display: none;
  }

  .nav-toggle {
    margin-left: auto;
  }

  .mobile-nav-list {
    padding: 4px 16px 12px;
  }

  .home-main,
  .inner-main {
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 44px;
  }

  .inner-main {
    padding-top: 16px;
  }

  .home-main {
    padding-top: 22px;
  }

  .page-title,
  .error-hero h1 {
    font-size: 24px;
  }

  .hero-title {
    font-size: 24px;
  }

  .hero-editorial {
    gap: 24px;
    padding-bottom: 28px;
  }

  .hero-intro {
    font-size: 15px;
  }

  .headline-item {
    grid-template-columns: minmax(0, 1fr);
  }

  .channel-row-section,
  .field-layout,
  .collection-section,
  .path-section,
  .faq-excerpt {
    padding: 28px 0;
  }

  .collection-grid,
  .path-steps,
  .check-grid,
  .tip-grid,
  .scene-grid,
  .roles-columns,
  .relations-grid,
  .error-path-list,
  .diff-columns,
  .label-defs {
    grid-template-columns: minmax(0, 1fr);
  }

  .channel-list .channel-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .channel-figure img {
    aspect-ratio: 16 / 9;
  }

  .archive-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .archive-figure img {
    aspect-ratio: 16 / 9;
  }

  .level-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .level-order {
    grid-column: 1;
  }

  .issue-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .issue-head span:first-child {
    font-weight: 600;
  }

  .order-step {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
  }

  .catalog-item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
  }

  .flow-steps,
  .flow-section .flow-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .channel-row-wrap {
    gap: 8px;
  }

  .channel-item {
    flex: 0 0 190px;
    min-width: 190px;
  }

  .row-btn {
    width: 40px;
  }

  .field-table,
  .map-table,
  .data-table,
  .record-table {
    font-size: 13px;
  }

  .field-table th,
  .field-table td,
  .map-table th,
  .map-table td,
  .data-table th,
  .data-table td,
  .record-table th,
  .record-table td {
    padding: 9px 8px;
  }

  .field-table tbody th,
  .data-table tbody th,
  .record-table tbody th {
    width: 36%;
  }

  .table-wrap {
    margin: 0 -4px;
  }

  .index-strip {
    margin-top: 28px;
    padding: 18px;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    padding: 32px 16px 24px;
  }

  .footer-nav {
    gap: 20px;
  }

  .footer-bottom {
    padding: 14px 16px 28px;
    flex-direction: column;
  }

  .error-main {
    padding: 36px 16px 52px;
  }

  .content-figure,
  .check-figure,
  .guide-figure,
  .role-figure {
    padding: 8px;
  }

  .aside-box,
  .aside-card,
  .aside-inner,
  .side-block {
    padding: 16px;
  }
}

@media (max-width: 400px) {
  .brand-slogan {
    display: none;
  }

  .channel-item {
    flex: 0 0 172px;
    min-width: 172px;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    flex: 1 1 auto;
    padding: 0 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
