/* ==========================================================================
   九九在线视频 · 全站样式表
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base
   -------------------------------------------------------------------------- */

:root {
  --c-primary: #1f3a68;
  --c-primary-dark: #162a4d;
  --c-accent: #b5482f;
  --c-accent-dark: #94381f;
  --c-bg: #f5f6f8;
  --c-card: #ffffff;
  --c-text: #2b2f36;
  --c-muted: #6b7280;
  --c-line: #dfe3ea;
  --c-line-soft: #eceff4;
  --c-tint: #eef2f8;
  --radius: 6px;
  --radius-sm: 4px;
  --wrap: 1160px;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --shadow-card: 0 1px 2px rgba(31, 58, 104, 0.06);
  --shadow-raise: 0 6px 18px rgba(31, 58, 104, 0.10);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--c-primary-dark);
  font-weight: 700;
  line-height: 1.35;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--c-primary);
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

a:hover,
a:focus-visible {
  color: var(--c-accent);
}

a:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

figcaption {
  color: var(--c-muted);
  font-size: 13px;
  line-height: 1.6;
}

table {
  border-collapse: collapse;
  width: 100%;
}

button {
  font: inherit;
  color: inherit;
}

/* --------------------------------------------------------------------------
   layout · 全站骨架
   -------------------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.site-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
}

/* 顶部信息条 */

.top-bar {
  background: var(--c-primary-dark);
  color: #d3dced;
  font-size: 13px;
  line-height: 1.6;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  min-height: 38px;
}

.top-bar-text {
  margin: 0;
}

/* 页头 */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--c-card);
  border-bottom: 1px solid var(--c-line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--c-primary-dark);
}

.brand:hover,
.brand:focus-visible {
  color: var(--c-primary-dark);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--c-primary);
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-name {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
}

.brand-slogan {
  padding-left: 10px;
  border-left: 1px solid var(--c-line);
  color: var(--c-muted);
  font-size: 12.5px;
  line-height: 1.3;
}

/* 主导航 */

.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  color: var(--c-text);
  font-size: 15px;
  font-weight: 500;
}

.nav-link:hover,
.nav-link:focus-visible {
  background: var(--c-tint);
  color: var(--c-primary);
}

.nav-link.is-current {
  background: var(--c-tint);
  color: var(--c-primary);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  margin-left: auto;
  padding: 0 11px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  background: var(--c-card);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--c-primary-dark);
}

/* 主内容 */

.site-main {
  flex: 1 1 auto;
  display: block;
}

.inner-main {
  padding-bottom: 8px;
}

/* 面包屑 */

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 18px 20px 0;
  color: var(--c-muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.breadcrumb a {
  color: var(--c-muted);
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--c-accent);
}

.breadcrumb-sep {
  color: #b9c0cc;
}

.breadcrumb-current {
  color: var(--c-text);
}

/* 页面标题区 */

.page-header {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 14px 20px 22px;
  border-bottom: 1px solid var(--c-line);
}

.page-title {
  font-size: 30px;
  font-weight: 700;
  color: var(--c-primary-dark);
  line-height: 1.35;
}

.page-description {
  max-width: 780px;
  margin-top: 10px;
  color: var(--c-muted);
  font-size: 15.5px;
  line-height: 1.75;
}

/* 通用区块 */

.section {
  padding: 40px 0;
  border-top: 1px solid var(--c-line-soft);
}

.section:first-of-type {
  border-top: 0;
}

.section-head {
  margin-bottom: 20px;
}

.section-title {
  font-size: 21px;
  font-weight: 700;
  color: var(--c-primary-dark);
}

.section-desc,
.section-intro {
  max-width: 780px;
  margin-top: 8px;
  color: var(--c-muted);
  font-size: 15px;
  line-height: 1.75;
}

.section-note {
  margin-top: 16px;
  color: var(--c-muted);
  font-size: 14.5px;
}

.section-note a {
  color: var(--c-primary);
  border-bottom: 1px solid rgba(31, 58, 104, 0.3);
}

.section-note a:hover,
.section-note a:focus-visible {
  color: var(--c-accent);
  border-bottom-color: rgba(181, 72, 47, 0.4);
}

.section-more {
  margin-top: 18px;
  font-size: 14.5px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--c-accent);
  font-weight: 600;
  border-bottom: 1px solid rgba(181, 72, 47, 0.35);
}

.text-link::after {
  content: "→";
  font-size: 13px;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--c-accent-dark);
  border-bottom-color: var(--c-accent-dark);
}

/* 页脚 */

.site-footer {
  margin-top: 24px;
  background: var(--c-primary-dark);
  color: #c8d3e6;
  font-size: 14px;
  line-height: 1.7;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  padding-top: 36px;
  padding-bottom: 26px;
}

.footer-brand-name {
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
}

.footer-brand-desc {
  margin-top: 8px;
  color: #a9b6cd;
  font-size: 13.5px;
  line-height: 1.7;
}

.footer-group-title {
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 700;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-list a {
  display: inline-block;
  color: #c8d3e6;
  font-size: 13.5px;
}

.footer-list a:hover,
.footer-list a:focus-visible {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 14px;
  padding-bottom: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-copy {
  color: #9aa8c1;
  font-size: 13px;
}

/* --------------------------------------------------------------------------
   components · 通用组件
   -------------------------------------------------------------------------- */

/* 表格 */

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-card);
  box-shadow: var(--shadow-card);
}

.data-table {
  min-width: 720px;
  font-size: 14.5px;
}

.table-caption {
  padding: 14px 16px 0;
  color: var(--c-muted);
  font-size: 13px;
  text-align: left;
}

.data-table thead th {
  padding: 13px 16px;
  background: var(--c-tint);
  border-bottom: 1px solid var(--c-line);
  color: var(--c-primary-dark);
  font-size: 13.5px;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}

.data-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--c-line-soft);
  vertical-align: top;
  line-height: 1.7;
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover {
  background: #fafbfd;
}

.cell-strong {
  color: var(--c-primary-dark);
  font-weight: 700;
}

/* 字段含义简表 */

.field-legend {
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid var(--c-line);
  border-left: 3px solid var(--c-accent);
  border-radius: var(--radius);
  background: var(--c-card);
}

.field-legend-title {
  font-size: 16px;
  color: var(--c-primary-dark);
}

.field-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
  margin: 12px 0 0;
}

.field-term {
  color: var(--c-accent);
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 700;
}

.field-desc {
  margin: 0;
  color: var(--c-muted);
  font-size: 14px;
}

/* 卡片基础 */

.special-card,
.video-card,
.type-card,
.issue-item,
.scope-item {
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

/* 按钮 */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--c-accent-dark);
  border-color: var(--c-accent-dark);
  color: #ffffff;
}

.btn-ghost {
  background: transparent;
  border-color: var(--c-primary);
  color: var(--c-primary);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: var(--c-tint);
  color: var(--c-primary-dark);
}

/* 步骤流程条（通用） */

.flow-bar,
.step-flow,
.process-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.flow-step,
.process-step {
  position: relative;
  padding: 20px 20px 22px;
  border: 1px solid var(--c-line);
  border-top: 3px solid var(--c-primary);
  border-radius: var(--radius);
  background: var(--c-card);
  box-shadow: var(--shadow-card);
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--c-tint);
  color: var(--c-primary);
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 700;
}

.step-name,
.flow-title {
  font-size: 16px;
  color: var(--c-primary-dark);
}

.step-desc,
.flow-text {
  margin-top: 8px;
  color: var(--c-muted);
  font-size: 14.5px;
  line-height: 1.75;
}

/* 关系列表 */

.relation-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.relation-item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 11px 14px;
  border: 1px solid var(--c-line-soft);
  border-radius: var(--radius-sm);
  background: var(--c-card);
  font-size: 14.5px;
}

.relation-channel,
.relation-special {
  color: var(--c-primary-dark);
  font-weight: 600;
}

.relation-arrow {
  color: #b9c0cc;
  font-size: 13px;
}

.relation-link,
.relation-channel {
  color: var(--c-accent);
}

.relation-link:hover,
.relation-link:focus-visible,
.relation-channel:hover,
.relation-channel:focus-visible {
  color: var(--c-accent-dark);
}

/* 入口条 */

.entry-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.entry-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-card);
  box-shadow: var(--shadow-card);
}

.entry-link:hover,
.entry-link:focus-visible {
  border-color: var(--c-primary);
  color: var(--c-primary-dark);
}

.entry-name {
  color: var(--c-primary-dark);
  font-size: 16px;
  font-weight: 700;
}

.entry-desc {
  color: var(--c-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* 侧栏区块 */

.side-block {
  padding: 20px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-card);
  box-shadow: var(--shadow-card);
}

.side-block + .side-block {
  margin-top: 18px;
}

.side-title {
  font-size: 17px;
  color: var(--c-primary-dark);
}

.side-text {
  margin-top: 10px;
  color: var(--c-muted);
  font-size: 14.5px;
  line-height: 1.75;
}

.side-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.side-list li {
  position: relative;
  padding-left: 16px;
  color: var(--c-muted);
  font-size: 14px;
  line-height: 1.7;
}

.side-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
}

.side-links {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.side-links a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--c-line-soft);
  border-radius: var(--radius-sm);
  background: #fafbfd;
  color: var(--c-primary);
  font-size: 14px;
}

.side-links a:hover,
.side-links a:focus-visible {
  border-color: var(--c-primary);
  color: var(--c-primary-dark);
}

/* --------------------------------------------------------------------------
   pages · 首页
   -------------------------------------------------------------------------- */

.home-main {
  display: block;
}

/* 首屏问题导向区 */

.hero {
  padding: 36px 0 40px;
  background: var(--c-card);
  border-bottom: 1px solid var(--c-line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 32px;
  align-items: start;
}

.hero-lead {
  min-width: 0;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: var(--c-tint);
  color: var(--c-primary);
  font-size: 13px;
  font-weight: 600;
}

.hero-title {
  font-size: 34px;
  font-weight: 700;
  color: var(--c-primary-dark);
  line-height: 1.3;
}

.hero-desc {
  margin-top: 12px;
  color: var(--c-muted);
  font-size: 16px;
  line-height: 1.8;
}

.hero-figure {
  margin-top: 20px;
}

.hero-figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--c-line);
}

.hero-figure figcaption {
  margin-top: 8px;
}

.hero-needs {
  min-width: 0;
  padding: 20px 22px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: #fafbfd;
}

.hero-needs-title {
  font-size: 18px;
  color: var(--c-primary-dark);
}

.need-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
}

.need-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--c-line);
}

.need-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.need-text {
  color: var(--c-text);
  font-size: 14.5px;
  line-height: 1.7;
}

.need-link {
  flex-shrink: 0;
  color: var(--c-accent);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.need-link::after {
  content: " →";
  font-size: 12px;
}

.need-link:hover,
.need-link:focus-visible {
  color: var(--c-accent-dark);
}

/* 频道分类总览 */

.home-channels .data-table {
  min-width: 760px;
}

/* 专题片单入口 */

.special-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.special-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.special-card:hover {
  border-color: var(--c-primary);
  box-shadow: var(--shadow-raise);
}

.special-media,
.special-figure {
  overflow: hidden;
  border-bottom: 1px solid var(--c-line-soft);
}

.special-media img,
.special-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
}

.special-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px 20px;
}

.special-name {
  font-size: 17px;
  color: var(--c-primary-dark);
}

.special-theme {
  color: var(--c-accent);
  font-size: 14px;
  font-weight: 600;
}

.special-scope,
.special-meta,
.special-count {
  color: var(--c-muted);
  font-size: 14px;
  line-height: 1.7;
}

.special-meta {
  font-family: var(--font-mono);
  font-size: 13px;
}

.card-link,
.special-link {
  margin-top: 4px;
  align-self: flex-start;
  color: var(--c-primary);
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid rgba(31, 58, 104, 0.28);
}

.card-link::after,
.special-link::after {
  content: " →";
  font-size: 12px;
}

.card-link:hover,
.card-link:focus-visible,
.special-link:hover,
.special-link:focus-visible {
  color: var(--c-accent);
  border-bottom-color: rgba(181, 72, 47, 0.4);
}

/* 视频卡片示例区 */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.video-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.video-card:hover {
  border-color: var(--c-primary);
  box-shadow: var(--shadow-raise);
}

.video-media {
  overflow: hidden;
  border-bottom: 1px solid var(--c-line-soft);
}

.video-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
}

.video-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px 18px;
}

.video-name {
  font-size: 16px;
  color: var(--c-primary-dark);
}

.video-field {
  color: var(--c-muted);
  font-size: 13.5px;
  line-height: 1.7;
}

/* 观看指引与收录边界摘要 */

.brief-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.brief-col {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-card);
  box-shadow: var(--shadow-card);
}

.brief-title {
  font-size: 17px;
  color: var(--c-primary-dark);
}

.prep-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.prep-item {
  padding-left: 14px;
  border-left: 2px solid var(--c-tint);
  color: var(--c-text);
  font-size: 14.5px;
  line-height: 1.75;
}

.prep-name {
  color: var(--c-primary-dark);
  font-weight: 600;
}

.prep-text {
  color: var(--c-muted);
  font-size: 14px;
}

.brief-more {
  margin-top: 14px;
  font-size: 14.5px;
}

.brief-text {
  margin-top: 10px;
  color: var(--c-muted);
  font-size: 14.5px;
  line-height: 1.75;
}

/* 站内页面索引 */

.index-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.index-col {
  padding: 18px 20px;
  border: 1px solid var(--c-line);
  border-left: 3px solid var(--c-primary);
  border-radius: var(--radius);
  background: var(--c-card);
  box-shadow: var(--shadow-card);
}

.index-col:hover {
  border-left-color: var(--c-accent);
}

.index-name {
  font-size: 16px;
}

.index-name a {
  color: var(--c-primary-dark);
}

.index-name a:hover,
.index-name a:focus-visible {
  color: var(--c-accent);
}

.index-desc {
  margin-top: 8px;
  color: var(--c-muted);
  font-size: 13.5px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   pages · 频道分类
   -------------------------------------------------------------------------- */

.channel-table-section .data-table {
  min-width: 780px;
}

.section-figure {
  margin-top: 20px;
}

.section-figure img {
  width: 100%;
  aspect-ratio: 21 / 9;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}

.figure-caption {
  margin-top: 8px;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.channel-criteria,
.channel-specials {
  min-width: 0;
}

.criteria-group {
  padding: 16px 18px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-card);
  box-shadow: var(--shadow-card);
}

.criteria-group + .criteria-group {
  margin-top: 14px;
}

.subsection-title {
  font-size: 15.5px;
  color: var(--c-primary-dark);
}

.criteria-desc {
  margin-top: 6px;
  color: var(--c-muted);
  font-size: 14.5px;
  line-height: 1.75;
}

.next-step-section .entry-bar {
  grid-template-columns: repeat(2, 1fr);
}

/* --------------------------------------------------------------------------
   pages · 专题片单
   -------------------------------------------------------------------------- */

.section-special-list {
  border-top: 0;
}

.section-order {
  border-top: 1px solid var(--c-line-soft);
}

.layout-shell {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 28px;
  align-items: start;
}

.order-main {
  min-width: 0;
}

.order-aside {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-card);
  box-shadow: var(--shadow-card);
}

.order-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.order-item {
  padding: 16px 18px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-card);
  box-shadow: var(--shadow-card);
}

.order-name {
  font-size: 15.5px;
  color: var(--c-primary-dark);
}

.order-dim {
  margin-top: 6px;
  color: var(--c-accent);
  font-size: 13.5px;
  font-weight: 600;
}

.order-reason {
  margin-top: 6px;
  color: var(--c-muted);
  font-size: 14.5px;
  line-height: 1.75;
}

.aside-desc {
  margin-top: 8px;
  color: var(--c-muted);
  font-size: 14.5px;
  line-height: 1.75;
}

.order-aside .relation-list {
  margin-top: 14px;
}

.section-feedback-entry {
  border-top: 1px solid var(--c-line-soft);
}

.entry-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 26px 28px;
  border: 1px solid var(--c-line);
  border-left: 4px solid var(--c-accent);
  border-radius: var(--radius);
  background: var(--c-card);
  box-shadow: var(--shadow-card);
}

.entry-text h2 {
  font-size: 19px;
  color: var(--c-primary-dark);
}

.entry-text p {
  margin-top: 8px;
  color: var(--c-muted);
  font-size: 14.5px;
  line-height: 1.75;
}

.entry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   pages · 观看指引
   -------------------------------------------------------------------------- */

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: start;
  padding-top: 32px;
}

.guide-main {
  min-width: 0;
}

.guide-side {
  min-width: 0;
}

.content-section {
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--c-line-soft);
}

.content-section:last-child {
  margin-bottom: 0;
  border-bottom: 0;
  padding-bottom: 0;
}

.section-media {
  margin-bottom: 18px;
}

.section-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}

.section-media figcaption {
  margin-top: 8px;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.check-item {
  padding: 16px 18px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-card);
  box-shadow: var(--shadow-card);
}

.check-title {
  font-size: 15.5px;
  color: var(--c-primary-dark);
}

.check-text {
  margin-top: 6px;
  color: var(--c-muted);
  font-size: 14.5px;
  line-height: 1.75;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  counter-reset: guide-step;
}

.step-list .step-item {
  position: relative;
  padding: 16px 18px 16px 58px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-card);
  box-shadow: var(--shadow-card);
  counter-increment: guide-step;
}

.step-list .step-item::before {
  content: counter(guide-step, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: 16px;
  color: var(--c-accent);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
}

.step-list .step-title {
  font-size: 15.5px;
  color: var(--c-primary-dark);
}

.step-list .step-text {
  margin-top: 6px;
  color: var(--c-muted);
  font-size: 14.5px;
  line-height: 1.75;
}

.flow-bar {
  margin-top: 6px;
}

.issue-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.issue-item {
  padding: 16px 18px;
}

.issue-title {
  font-size: 15.5px;
  color: var(--c-primary-dark);
}

.issue-text {
  margin-top: 6px;
  color: var(--c-muted);
  font-size: 14.5px;
  line-height: 1.75;
}

.entry-bar[aria-label="相关入口"] {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 8px;
}

/* --------------------------------------------------------------------------
   pages · 问题反馈
   -------------------------------------------------------------------------- */

.feedback-types {
  border-top: 0;
}

.type-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.type-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
}

.type-card:hover {
  border-color: var(--c-primary);
  box-shadow: var(--shadow-raise);
}

.type-name {
  font-size: 16px;
  color: var(--c-primary-dark);
}

.type-desc {
  color: var(--c-muted);
  font-size: 14px;
  line-height: 1.75;
}

.type-link {
  margin-top: auto;
  font-size: 14px;
}

.type-link a {
  color: var(--c-accent);
  font-weight: 600;
  border-bottom: 1px solid rgba(181, 72, 47, 0.3);
}

.type-link a::after {
  content: " →";
  font-size: 12px;
}

.type-link a:hover,
.type-link a:focus-visible {
  color: var(--c-accent-dark);
}

.elements-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.elements-col {
  min-width: 0;
  padding: 20px 22px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-card);
  box-shadow: var(--shadow-card);
}

.col-title {
  font-size: 16px;
  color: var(--c-primary-dark);
}

.element-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.element-item {
  padding-left: 14px;
  border-left: 2px solid var(--c-tint);
  font-size: 14.5px;
  line-height: 1.75;
}

.element-name {
  color: var(--c-primary-dark);
  font-weight: 600;
}

.element-text {
  color: var(--c-muted);
  font-size: 14px;
}

.elements-figure {
  margin-top: 16px;
}

.elements-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}

.elements-sample {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px dashed var(--c-line);
  border-radius: var(--radius-sm);
  background: #fafbfd;
  color: var(--c-muted);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.8;
}

.process-track {
  counter-reset: process-step;
}

.process-track .process-step {
  padding: 20px 20px 22px;
  border-top: 3px solid var(--c-accent);
  counter-increment: process-step;
}

.process-track .process-step .step-index {
  background: #fbeae5;
  color: var(--c-accent);
}

.scope-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.scope-item {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 15px 18px;
  align-items: baseline;
}

.scope-name {
  flex-shrink: 0;
  min-width: 148px;
  color: var(--c-primary-dark);
  font-weight: 700;
  font-size: 15px;
}

.scope-text {
  color: var(--c-muted);
  font-size: 14.5px;
  line-height: 1.75;
}

.link-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.link-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-card);
  box-shadow: var(--shadow-card);
}

.link-card:hover,
.link-card:focus-visible {
  border-color: var(--c-primary);
  color: var(--c-primary-dark);
}

.link-card-name {
  color: var(--c-primary-dark);
  font-size: 16px;
  font-weight: 700;
}

.link-card-desc {
  color: var(--c-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   pages · 404
   -------------------------------------------------------------------------- */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0 70px;
}

.error-inner {
  max-width: 720px;
  text-align: left;
}

.error-code {
  color: var(--c-accent);
  font-family: var(--font-mono);
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
}

.error-title {
  margin-top: 12px;
  font-size: 30px;
  color: var(--c-primary-dark);
}

.error-desc {
  margin-top: 12px;
  color: var(--c-muted);
  font-size: 16px;
  line-height: 1.8;
}

.error-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.error-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  background: var(--c-card);
  color: var(--c-primary);
  font-size: 14.5px;
  font-weight: 600;
}

.error-links a:hover,
.error-links a:focus-visible {
  border-color: var(--c-primary);
  color: var(--c-accent);
}

.error-note {
  margin-top: 20px;
  color: var(--c-muted);
  font-size: 14px;
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .hero-title {
    font-size: 30px;
  }

  .index-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .type-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 26px;
  }
}

@media (max-width: 900px) {
  .wrap {
    padding: 0 16px;
  }

  .breadcrumb,
  .page-header {
    padding-left: 16px;
    padding-right: 16px;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
    min-height: 62px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .brand-slogan {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    flex-basis: 100%;
    margin-left: 0;
    order: 3;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 0 10px;
    border-top: 1px solid var(--c-line);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-link {
    min-height: 48px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
  }

  .hero {
    padding: 26px 0 30px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-title {
    font-size: 27px;
  }

  .hero-needs {
    padding: 18px;
  }

  .special-grid,
  .card-grid,
  .brief-grid,
  .split-layout,
  .elements-layout,
  .link-bar {
    grid-template-columns: 1fr;
  }

  .layout-shell {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .page-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 26px;
  }

  .flow-bar,
  .step-flow,
  .process-track {
    grid-template-columns: 1fr;
  }

  .entry-panel {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px;
  }

  .entry-bar,
  .next-step-section .entry-bar,
  .entry-bar[aria-label="相关入口"] {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    padding-top: 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 15.5px;
  }

  .top-bar-text {
    font-size: 12.5px;
    line-height: 1.55;
  }

  .brand-name {
    font-size: 17px;
  }

  .page-title,
  .error-title {
    font-size: 24px;
  }

  .hero-title {
    font-size: 24px;
  }

  .hero-desc {
    font-size: 15px;
  }

  .section {
    padding: 30px 0;
  }

  .section-title {
    font-size: 19px;
  }

  .field-list {
    grid-template-columns: 1fr;
    gap: 4px 0;
  }

  .field-desc {
    margin-bottom: 8px;
  }

  .index-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .type-grid {
    grid-template-columns: 1fr;
  }

  .index-col {
    padding: 16px;
  }

  .scope-name {
    min-width: 0;
  }

  .entry-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .error-links a {
    width: 100%;
    justify-content: center;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
