/* ============================================================
   大象传媒 · nanshasu.com · 整站样式表
   视觉方向：物流运营风（深蓝导航 + 浅灰内容 + 橙色强调）
   分组：base / layout / components / pages / responsive
   ============================================================ */

/* ============================================================
   Base —— 重置、字体、色彩、通用元素
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #2b3440;
  background-color: #f5f7fa;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #0b5cad;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #ff7a1a;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.35;
  color: #0b192c;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 0.75rem;
}

/* 阅读区字号调整基准（A-/A+ 只影响此范围内的字号） */
.site-main,
.site-main p,
.site-main h1,
.site-main h2,
.site-main h3,
.site-main li,
.site-main figcaption,
.site-main .section-intro,
.site-main .page-description,
.site-main .channel-desc,
.site-main .channel-note,
.site-main .feature-context,
.site-main .feature-reason,
.site-main .feature-points,
.site-main .tag-meta,
.site-main .rule-text,
.site-main .faq-answer,
.site-main .step-content,
.site-main .entry-status-item p,
.site-main .status-card p,
.site-main .related-intro {
  transition: font-size 0.15s ease;
}

body.font-small .site-main {
  font-size: 15px;
}

body.font-small .site-main h1 {
  font-size: 1.85rem;
}

body.font-small .site-main h2 {
  font-size: 1.4rem;
}

body.font-small .site-main h3 {
  font-size: 1.15rem;
}

body.font-large .site-main {
  font-size: 17.5px;
}

body.font-large .site-main h1 {
  font-size: 2.15rem;
}

body.font-large .site-main h2 {
  font-size: 1.6rem;
}

body.font-large .site-main h3 {
  font-size: 1.35rem;
}

/* ============================================================
   Layout —— 全站骨架：页头、页脚、主容器、面包屑、页标题
   ============================================================ */

.site-header {
  background-color: #0b192c;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(11, 25, 44, 0.18);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.brand-tag {
  font-size: 0.75rem;
  color: #8fa3b8;
  border-left: 1px solid #2a3a4f;
  padding-left: 10px;
  line-height: 1.4;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list li a {
  display: block;
  padding: 8px 14px;
  font-size: 0.95rem;
  color: #c3d0de;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-list li a:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.08);
}

.nav-list li a.is-current {
  color: #ffffff;
  background-color: rgba(255, 122, 26, 0.18);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.font-size-control {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.font-btn {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background-color: transparent;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.font-btn:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
}

.font-btn:active {
  background-color: rgba(255, 122, 26, 0.35);
  border-color: #ff7a1a;
}

/* 主容器 */
.site-main {
  flex: 1;
  width: 100%;
}

.site-main.inner-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 56px;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 20px 0 12px;
  font-size: 0.9rem;
  color: #5a6b7b;
}

.breadcrumb a {
  color: #5a6b7b;
}

.breadcrumb a:hover {
  color: #ff7a1a;
}

.breadcrumb-sep {
  color: #a0aebc;
  user-select: none;
}

.breadcrumb-current {
  color: #0b192c;
  font-weight: 600;
}

/* 页面标题区（内页统一） */
.page-header {
  padding: 8px 0 28px;
  border-bottom: 1px solid #e2e8ef;
  margin-bottom: 32px;
}

.page-title {
  font-size: 2rem;
  color: #0b192c;
  margin-bottom: 8px;
}

.page-description {
  font-size: 1rem;
  color: #5a6b7b;
  max-width: 780px;
  line-height: 1.7;
}

/* 页脚 */
.site-footer {
  background-color: #0b192c;
  color: #a0aebc;
  margin-top: auto;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 44px 24px 28px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer-brand-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #8fa3b8;
  max-width: 360px;
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #8fa3b8;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: #ff7a1a;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 24px;
  text-align: center;
  font-size: 0.85rem;
  color: #6b7d90;
}

/* ============================================================
   Components —— 通用组件：按钮、状态点、卡片、时间轴、FAQ
   ============================================================ */

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  min-height: 44px;
}

.btn-primary {
  background-color: #ff7a1a;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #e66a0a;
  color: #ffffff;
}

.btn-secondary {
  background-color: #0b192c;
  color: #ffffff;
}

.btn-secondary:hover {
  background-color: #1a2c42;
  color: #ffffff;
}

.btn-outline {
  background-color: transparent;
  border-color: #0b192c;
  color: #0b192c;
}

.btn-outline:hover {
  background-color: #0b192c;
  color: #ffffff;
}

/* 状态点 */
.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-running {
  background-color: #ff7a1a;
}

.status-pending {
  background-color: #5a6b7b;
}

.status-warning {
  background-color: #e53935;
}

.status-stable {
  background-color: #2e9e5b;
}

.status-adjusting {
  background-color: #ff7a1a;
}

/* 通用 section 标题与说明 */
.section-intro,
.section-desc,
.related-intro {
  color: #5a6b7b;
  line-height: 1.7;
  margin-bottom: 24px;
}

.section-title {
  margin-bottom: 16px;
}

/* ============================================================
   Pages —— 首页
   ============================================================ */

.home-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 56px;
}

/* 首屏 Hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 48px 0 40px;
}

.hero-media {
  order: 1;
}

.hero-media img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 8px;
}

.hero-content {
  order: 2;
}

.hero-content h1 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: #0b192c;
}

.hero-content p {
  color: #4a5a6a;
  line-height: 1.75;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions .btn {
  min-width: 140px;
}

.content-media {
  margin-top: 40px;
}

.content-media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 8px;
}

.content-media figcaption {
  font-size: 0.9rem;
  color: #5a6b7b;
  padding: 10px 4px 0;
  text-align: center;
}

/* 标签说明区 */
.label-guide {
  margin: 48px 0;
}

.label-guide h2 {
  margin-bottom: 8px;
}

.label-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.label-item {
  background-color: #ffffff;
  border: 1px solid #e2e8ef;
  border-radius: 8px;
  padding: 24px 20px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.label-item:hover {
  box-shadow: 0 4px 16px rgba(11, 25, 44, 0.08);
  transform: translateY(-2px);
}

.label-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background-color: rgba(255, 122, 26, 0.12);
  color: #ff7a1a;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.label-item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.label-item p {
  font-size: 0.9rem;
  color: #5a6b7b;
  line-height: 1.65;
  margin-bottom: 12px;
}

.label-item a {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0b5cad;
}

.label-item a:hover {
  color: #ff7a1a;
}

/* 更新时间轴 */
.update-timeline {
  margin: 48px 0;
  background-color: #ffffff;
  border: 1px solid #e2e8ef;
  border-radius: 8px;
  padding: 32px;
}

.timeline-list {
  margin-top: 24px;
  position: relative;
}

.timeline-list::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background-color: #e2e8ef;
}

.timeline-item {
  position: relative;
  padding-left: 28px;
  padding-bottom: 28px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item .status-dot {
  position: absolute;
  left: 0;
  top: 6px;
  width: 12px;
  height: 12px;
}

.timeline-content h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.timeline-content p {
  font-size: 0.92rem;
  color: #5a6b7b;
  line-height: 1.65;
  margin-bottom: 8px;
}

.timeline-content a {
  font-size: 0.9rem;
  font-weight: 600;
}

/* 观看路径三步 */
.path-steps {
  margin: 48px 0;
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}

.step-item {
  background-color: #ffffff;
  border: 1px solid #e2e8ef;
  border-radius: 8px;
  padding: 28px 24px;
  position: relative;
  transition: box-shadow 0.2s ease;
}

.step-item:hover {
  box-shadow: 0 4px 16px rgba(11, 25, 44, 0.08);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #0b192c;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 14px;
}

.step-item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.step-item p {
  font-size: 0.92rem;
  color: #5a6b7b;
  line-height: 1.65;
  margin-bottom: 12px;
}

.step-item a {
  font-size: 0.9rem;
  font-weight: 600;
}

/* 帮助反馈条 */
.help-banner {
  background-color: #0b192c;
  border-radius: 8px;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.banner-content h2 {
  color: #ffffff;
  margin-bottom: 8px;
}

.banner-content p {
  color: #8fa3b8;
  font-size: 0.95rem;
}

.banner-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.banner-actions .btn-primary {
  background-color: #ff7a1a;
}

.banner-actions .btn-outline {
  border-color: #8fa3b8;
  color: #ffffff;
}

.banner-actions .btn-outline:hover {
  background-color: #ffffff;
  color: #0b192c;
  border-color: #ffffff;
}

/* ============================================================
   Pages —— 频道目录（channels）
   ============================================================ */

.layout-shell {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}

.layout-main {
  min-width: 0;
}

.channel-list {
  margin-bottom: 32px;
}

.channel-list h2 {
  margin-bottom: 8px;
}

.channel-list .section-desc {
  margin-bottom: 20px;
}

.channel-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  background-color: #ffffff;
  border: 1px solid #e2e8ef;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 16px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.channel-card:hover {
  box-shadow: 0 4px 16px rgba(11, 25, 44, 0.08);
  border-color: #c8d4e0;
}

.channel-media img {
  width: 200px;
  height: 130px;
  object-fit: cover;
  border-radius: 6px;
}

.channel-info h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.channel-status {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 10px;
  background-color: rgba(255, 122, 26, 0.12);
  color: #d85f0a;
  margin-bottom: 10px;
}

.channel-desc {
  font-size: 0.92rem;
  color: #4a5a6a;
  line-height: 1.65;
  margin-bottom: 8px;
}

.channel-note {
  font-size: 0.85rem;
  color: #8a99a8;
  line-height: 1.6;
}

.channel-tip {
  background-color: #ffffff;
  border: 1px solid #e2e8ef;
  border-radius: 8px;
  padding: 24px;
}

.channel-tip h2 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.channel-tip p {
  font-size: 0.92rem;
  color: #5a6b7b;
  line-height: 1.7;
  margin-bottom: 12px;
}

.channel-tip a {
  font-weight: 600;
  margin-right: 16px;
}

/* 频道侧栏 */
.layout-aside {
  min-width: 0;
}

.aside-block {
  background-color: #ffffff;
  border: 1px solid #e2e8ef;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
}

.aside-block h2 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eef2f6;
}

.status-legend li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: #4a5a6a;
}

.legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-running {
  background-color: #ff7a1a;
}

.dot-waiting {
  background-color: #5a6b7b;
}

.dot-alert {
  background-color: #e53935;
}

.aside-figure {
  margin-bottom: 24px;
}

.aside-figure img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
}

.aside-figure figcaption {
  font-size: 0.85rem;
  color: #8a99a8;
  padding: 8px 4px 0;
  text-align: center;
}

.aside-links li {
  padding: 6px 0;
}

.aside-links li a {
  font-size: 0.92rem;
  font-weight: 600;
}

/* ============================================================
   Pages —— 内容分类（categories）
   ============================================================ */

.tag-guide {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: center;
  margin-bottom: 48px;
  background-color: #ffffff;
  border: 1px solid #e2e8ef;
  border-radius: 8px;
  padding: 32px;
}

.tag-guide-text h2 {
  margin-bottom: 12px;
}

.tag-guide-text p {
  color: #5a6b7b;
  line-height: 1.7;
  margin-bottom: 10px;
}

.tag-guide-media img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
}

.tag-guide-media figcaption {
  font-size: 0.85rem;
  color: #8a99a8;
  padding: 8px 4px 0;
  text-align: center;
}

.tag-list {
  margin-bottom: 48px;
}

.tag-list h2 {
  margin-bottom: 8px;
}

.tag-list .section-desc {
  margin-bottom: 24px;
}

.tag-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  background-color: #ffffff;
  border: 1px solid #e2e8ef;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 16px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.tag-item:hover {
  box-shadow: 0 4px 16px rgba(11, 25, 44, 0.08);
  border-color: #c8d4e0;
}

.tag-item-media img {
  width: 180px;
  height: 110px;
  object-fit: cover;
  border-radius: 6px;
}

.tag-item-body h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.tag-item-body p {
  font-size: 0.92rem;
  color: #4a5a6a;
  line-height: 1.65;
  margin-bottom: 10px;
}

.tag-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tag-status {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 10px;
}

.tag-hot {
  background-color: rgba(255, 122, 26, 0.12);
  color: #d85f0a;
}

.tag-medium {
  background-color: rgba(11, 25, 44, 0.08);
  color: #0b192c;
}

.tag-normal {
  background-color: rgba(90, 107, 123, 0.12);
  color: #5a6b7b;
}

.tag-note {
  font-size: 0.85rem;
  color: #8a99a8;
}

.tag-rank-note {
  background-color: #ffffff;
  border: 1px solid #e2e8ef;
  border-radius: 8px;
  padding: 24px 32px;
}

.tag-rank-note h2 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.tag-rank-note p {
  color: #5a6b7b;
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

/* ============================================================
   Pages —— 专题精选（features）
   ============================================================ */

.feature-list {
  margin-bottom: 48px;
}

.feature-list .section-title {
  margin-bottom: 24px;
}

.feature-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  background-color: #ffffff;
  border: 1px solid #e2e8ef;
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 24px;
  transition: box-shadow 0.2s ease;
}

.feature-card:hover {
  box-shadow: 0 4px 16px rgba(11, 25, 44, 0.08);
}

.feature-media img {
  width: 320px;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
}

.feature-body h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.feature-context {
  font-size: 0.92rem;
  color: #5a6b7b;
  line-height: 1.7;
  margin-bottom: 12px;
}

.feature-reason {
  font-size: 0.92rem;
  color: #4a5a6a;
  line-height: 1.65;
  margin-bottom: 12px;
  padding-left: 14px;
  border-left: 3px solid #ff7a1a;
}

.feature-points {
  font-size: 0.92rem;
  color: #4a5a6a;
  line-height: 1.65;
  margin-bottom: 14px;
}

.feature-body a {
  font-weight: 600;
}

.related-reading {
  background-color: #ffffff;
  border: 1px solid #e2e8ef;
  border-radius: 8px;
  padding: 28px 32px;
}

.related-reading .section-title {
  margin-bottom: 8px;
}

.related-intro {
  margin-bottom: 20px;
}

.related-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.related-list li a {
  display: block;
  padding: 14px 18px;
  background-color: #f5f7fa;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #0b192c;
  border: 1px solid transparent;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.related-list li a:hover {
  border-color: #ff7a1a;
  background-color: #fff5ec;
  color: #d85f0a;
}

/* ============================================================
   Pages —— 使用说明（guide）
   ============================================================ */

.step-guide {
  margin-bottom: 48px;
}

.step-guide h2 {
  margin-bottom: 8px;
}

.step-guide .section-intro {
  margin-bottom: 28px;
}

.step-list {
  position: relative;
  padding-left: 0;
}

.step-list .step-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  background-color: #ffffff;
  border: 1px solid #e2e8ef;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
}

.step-list .step-number {
  width: 48px;
  height: 48px;
  font-size: 1.1rem;
  margin-bottom: 0;
}

.step-content h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.step-content p {
  font-size: 0.92rem;
  color: #4a5a6a;
  line-height: 1.7;
}

.step-content strong {
  color: #0b192c;
  font-weight: 700;
}

.step-content a {
  font-weight: 600;
}

/* 导航结构示意 */
.nav-structure {
  margin-bottom: 48px;
  background-color: #ffffff;
  border: 1px solid #e2e8ef;
  border-radius: 8px;
  padding: 28px 32px;
}

.nav-structure h2 {
  margin-bottom: 8px;
}

.nav-structure > p {
  color: #5a6b7b;
  margin-bottom: 20px;
}

.nav-diagram img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 8px;
}

.nav-diagram figcaption {
  font-size: 0.85rem;
  color: #8a99a8;
  text-align: center;
  margin-bottom: 20px;
}

.nav-relation-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.relation-item {
  background-color: #f5f7fa;
  border-radius: 6px;
  padding: 20px;
}

.relation-item h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.relation-item p {
  font-size: 0.9rem;
  color: #5a6b7b;
  line-height: 1.65;
  margin-bottom: 0;
}

/* 入口核验 */
.entry-check {
  margin-bottom: 48px;
}

.entry-check h2 {
  margin-bottom: 8px;
}

.entry-check > p {
  color: #5a6b7b;
  margin-bottom: 24px;
}

.entry-status-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.entry-status-item {
  background-color: #ffffff;
  border: 1px solid #e2e8ef;
  border-radius: 8px;
  padding: 24px;
}

.entry-status-item .status-dot {
  width: 12px;
  height: 12px;
  margin-bottom: 12px;
}

.entry-status-item h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.entry-status-item p {
  font-size: 0.9rem;
  color: #5a6b7b;
  line-height: 1.65;
  margin-bottom: 0;
}

.entry-status-item p a {
  font-weight: 600;
}

.check-tip {
  background-color: #fff5ec;
  border: 1px solid #f0d9c4;
  border-radius: 8px;
  padding: 20px 24px;
}

.check-tip h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: #d85f0a;
}

.check-tip p {
  font-size: 0.9rem;
  color: #5a4a3a;
  line-height: 1.65;
  margin-bottom: 0;
}

/* ============================================================
   Pages —— 更新记录（updates）
   ============================================================ */

.update-rules {
  background-color: #ffffff;
  border: 1px solid #e2e8ef;
  border-radius: 8px;
  padding: 28px 32px;
  margin-bottom: 48px;
}

.update-rules h2 {
  margin-bottom: 8px;
}

.update-rules > p {
  color: #5a6b7b;
  margin-bottom: 24px;
}

.rules-list {
  margin-bottom: 24px;
}

.rule-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #eef2f6;
}

.rule-item:last-child {
  border-bottom: none;
}

.rule-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  padding: 4px 12px;
  background-color: #0b192c;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 4px;
}

.rule-text {
  font-size: 0.92rem;
  color: #4a5a6a;
  line-height: 1.65;
  margin-bottom: 0;
}

.update-illustration img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 6px;
}

.update-illustration figcaption {
  font-size: 0.85rem;
  color: #8a99a8;
  text-align: center;
  padding-top: 8px;
}

.current-status {
  margin-bottom: 48px;
}

.current-status h2 {
  margin-bottom: 8px;
}

.current-status > p {
  color: #5a6b7b;
  margin-bottom: 24px;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.status-card {
  background-color: #ffffff;
  border: 1px solid #e2e8ef;
  border-radius: 8px;
  padding: 24px;
}

.status-card .status-dot {
  width: 12px;
  height: 12px;
  margin-bottom: 12px;
}

.status-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.status-card p {
  font-size: 0.88rem;
  color: #5a6b7b;
  line-height: 1.6;
  margin-bottom: 0;
}

.archive-note {
  background-color: #ffffff;
  border: 1px solid #e2e8ef;
  border-radius: 8px;
  padding: 24px 32px;
}

.archive-note h2 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.archive-note p {
  color: #5a6b7b;
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

/* ============================================================
   Pages —— 帮助中心（help）
   ============================================================ */

.faq-group {
  margin-bottom: 48px;
}

.faq-group .section-intro {
  margin-bottom: 28px;
}

.faq-category {
  margin-bottom: 28px;
}

.faq-category-title {
  font-size: 1.2rem;
  padding-bottom: 10px;
  border-bottom: 2px solid #0b192c;
  margin-bottom: 16px;
  display: inline-block;
}

.faq-item {
  background-color: #ffffff;
  border: 1px solid #e2e8ef;
  border-radius: 6px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 20px;
  font-size: 0.98rem;
  font-weight: 600;
  color: #0b192c;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background-color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 400;
  color: #ff7a1a;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary {
  background-color: #fff5ec;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  background-color: #f5f7fa;
}

.faq-item[open] summary:hover {
  background-color: #fff5ec;
}

.faq-answer {
  padding: 0 20px 18px;
  border-top: 1px solid #eef2f6;
}

.faq-answer p {
  padding-top: 14px;
  font-size: 0.92rem;
  color: #4a5a6a;
  line-height: 1.7;
  margin-bottom: 8px;
}

.faq-answer a {
  font-weight: 600;
}

/* 反馈区 */
.feedback {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: center;
  background-color: #ffffff;
  border: 1px solid #e2e8ef;
  border-radius: 8px;
  padding: 32px;
}

.feedback-text h2 {
  margin-bottom: 12px;
}

.feedback-text p {
  color: #5a6b7b;
  line-height: 1.7;
  margin-bottom: 10px;
}

.feedback-text a {
  font-weight: 600;
}

.feedback-figure img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
}

.feedback-figure figcaption {
  font-size: 0.85rem;
  color: #8a99a8;
  text-align: center;
  padding-top: 8px;
}

/* ============================================================
   Pages —— 404
   ============================================================ */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
}

.error-panel {
  text-align: center;
  max-width: 560px;
  background-color: #ffffff;
  border: 1px solid #e2e8ef;
  border-radius: 8px;
  padding: 48px 40px;
}

.error-code {
  font-size: 4rem;
  font-weight: 800;
  color: #ff7a1a;
  line-height: 1;
  margin-bottom: 16px;
}

.error-panel h1 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.error-desc {
  color: #5a6b7b;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.error-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.error-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid #0b192c;
  color: #0b192c;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.error-btn:hover {
  background-color: #0b192c;
  color: #ffffff;
}

.error-btn-home {
  background-color: #ff7a1a;
  border-color: #ff7a1a;
  color: #ffffff;
}

.error-btn-home:hover {
  background-color: #e66a0a;
  border-color: #e66a0a;
  color: #ffffff;
}

/* ============================================================
   Responsive —— 断点 1024px / 768px / 390px
   ============================================================ */

@media (max-width: 1024px) {
  .header-inner {
    padding: 0 20px;
  }

  .site-main.inner-main {
    padding: 0 20px 48px;
  }

  .home-main {
    padding: 0 20px 48px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-media {
    order: 1;
  }

  .hero-content {
    order: 2;
  }

  .hero-media img {
    height: 300px;
  }

  .label-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .layout-shell {
    grid-template-columns: 1fr 280px;
    gap: 24px;
  }

  .channel-card {
    grid-template-columns: 1fr;
  }

  .channel-media img {
    width: 100%;
    height: 180px;
  }

  .tag-guide {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .tag-guide-media img {
    height: 180px;
  }

  .feature-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-media img {
    width: 100%;
    height: 220px;
  }

  .nav-relation-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .entry-status-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .status-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feedback {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feedback-figure img {
    height: 180px;
  }

  .related-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 60px;
    padding: 0 16px;
    gap: 12px;
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .brand-tag {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    order: 3;
  }

  .nav-list {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: #0b192c;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 16px;
    gap: 2px;
    display: none;
    box-shadow: 0 8px 16px rgba(11, 25, 44, 0.3);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li a {
    padding: 12px 14px;
    border-radius: 4px;
  }

  .font-size-control {
    order: 2;
  }

  .site-main.inner-main {
    padding: 0 16px 40px;
  }

  .home-main {
    padding: 0 16px 40px;
  }

  .breadcrumb {
    padding: 16px 0 10px;
    font-size: 0.85rem;
    flex-wrap: wrap;
  }

  .page-header {
    padding: 6px 0 20px;
    margin-bottom: 24px;
  }

  .page-title {
    font-size: 1.6rem;
  }

  .hero {
    padding: 32px 0 24px;
  }

  .hero-media img {
    height: 220px;
  }

  .hero-content h1 {
    font-size: 1.6rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .content-media img {
    height: 200px;
  }

  .label-guide {
    margin: 32px 0;
  }

  .label-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .update-timeline {
    margin: 32px 0;
    padding: 24px 20px;
  }

  .path-steps {
    margin: 32px 0;
  }

  .steps-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .help-banner {
    padding: 28px 24px;
    flex-direction: column;
    align-items: flex-start;
  }

  .banner-actions {
    width: 100%;
  }

  .banner-actions .btn {
    flex: 1;
    min-width: 140px;
  }

  .layout-shell {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .channel-card {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .channel-media img {
    height: 160px;
  }

  .tag-item {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
  }

  .tag-item-media img {
    width: 100%;
    height: 160px;
  }

  .feature-card {
    padding: 20px;
  }

  .feature-media img {
    height: 180px;
  }

  .step-list .step-item {
    grid-template-columns: 40px 1fr;
    gap: 14px;
    padding: 18px;
  }

  .step-list .step-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .status-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .update-rules {
    padding: 20px;
  }

  .rule-item {
    flex-direction: column;
    gap: 8px;
  }

  .rule-badge {
    align-self: flex-start;
  }

  .feedback {
    padding: 24px 20px;
  }

  .error-panel {
    padding: 32px 24px;
  }

  .error-code {
    font-size: 3rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 20px 24px;
  }

  .footer-brand {
    margin-bottom: 8px;
  }
}

@media (max-width: 390px) {
  .header-inner {
    padding: 0 12px;
    gap: 8px;
  }

  .font-btn {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }

  .site-main.inner-main {
    padding: 0 12px 32px;
  }

  .home-main {
    padding: 0 12px 32px;
  }

  .hero-media img {
    height: 190px;
  }

  .hero-content h1 {
    font-size: 1.45rem;
  }

  .hero-content p {
    font-size: 0.92rem;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .label-item {
    padding: 18px 16px;
  }

  .timeline-item {
    padding-left: 24px;
  }

  .timeline-content p {
    font-size: 0.88rem;
  }

  .step-item {
    padding: 20px 16px;
  }

  .channel-card {
    padding: 14px;
  }

  .channel-media img {
    height: 140px;
  }

  .tag-item {
    padding: 14px;
  }

  .tag-item-media img {
    height: 140px;
  }

  .feature-card {
    padding: 16px;
  }

  .feature-media img {
    height: 150px;
  }

  .related-reading {
    padding: 20px 16px;
  }

  .nav-relation-list .relation-item {
    padding: 16px;
  }

  .entry-status-item {
    padding: 18px 16px;
  }

  .status-card {
    padding: 18px 16px;
  }

  .faq-item summary {
    padding: 14px 16px;
    font-size: 0.92rem;
  }

  .faq-answer {
    padding: 0 16px 14px;
  }

  .error-actions {
    flex-direction: column;
  }

  .error-btn {
    width: 100%;
  }

  .footer-bottom {
    padding: 14px 12px;
    font-size: 0.8rem;
  }
}

/* ============================================================
   Print —— 打印样式
   ============================================================ */

@media print {
  .site-header,
  .site-footer,
  .font-size-control,
  .nav-toggle,
  .breadcrumb,
  .hero-actions,
  .banner-actions,
  .error-actions {
    display: none !important;
  }

  body {
    background-color: #ffffff;
    color: #000000;
    font-size: 12pt;
  }

  .site-main {
    padding: 0;
    max-width: 100%;
  }

  .site-main.inner-main,
  .home-main {
    padding: 0;
    max-width: 100%;
  }

  .page-header {
    border-bottom: 1px solid #cccccc;
    margin-bottom: 20px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 0 0 20px;
  }

  .hero-media {
    order: 1;
  }

  .hero-content {
    order: 2;
  }

  .hero-media img,
  .content-media img,
  .channel-media img,
  .tag-item-media img,
  .feature-media img,
  .tag-guide-media img,
  .feedback-figure img,
  .update-illustration img,
  .nav-diagram img,
  .aside-figure img {
    max-width: 100%;
    height: auto;
    page-break-inside: avoid;
  }

  .channel-card,
  .tag-item,
  .feature-card,
  .step-list .step-item,
  .entry-status-item,
  .status-card,
  .faq-item,
  .rule-item {
    break-inside: avoid;
    page-break-inside: avoid;
    box-shadow: none;
    border: 1px solid #dddddd;
  }

  .layout-shell {
    display: block;
  }

  .layout-aside {
    margin-top: 24px;
  }

  .footer-inner {
    display: block;
    padding: 20px 0;
  }

  .footer-col {
    margin-bottom: 16px;
  }
}
