/**
 * 康评助手 · 全站统一页顶 (Header) 与统一页尾 (Footer) 规范样式表
 * 
 * 核心设计原则：
 * 1. 结构统一：页顶（品牌 Wordmark + 排除本页的全站主导航 + 边框操作按钮）
 *             页尾（COMPLIANCE 全站导航与合规行 + 品牌声明行 + 细分隔线 + 居中备案号）
 * 2. 行为统一：只排除自己点开的本页，其他所有页面均显示对应跳转，且全部为本地跳转（./*.html）
 * 3. 边框与文字对齐：各页面采用统一的边框半径 (8px)、粗细 (1px)、内边距与字体层级
 * 4. 颜色适配：通过 .theme-navy（官网主站）、.theme-sage（宣传页）、.theme-paper（关于/申请/申诉/法务）分别映射各自页面的色彩基调
 */

/* ============================================================
   一、统一变量系统与主题色盘
   ============================================================ */
:root {
  --unf-font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --unf-font-serif: "Fraunces", "Noto Serif SC", "Source Han Serif SC", serif;
  --unf-radius-sm: 6px;
  --unf-radius-md: 8px;
  --unf-radius-pill: 9999px;
  --unf-trans: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 1. 官网主站主题（Navy 深蓝灰） */
.unified-header.theme-navy {
  --uh-bg: rgba(8, 20, 38, 0.88);
  --uh-border: rgba(255, 255, 255, 0.12);
  --uh-text: #F1F5F9;
  --uh-text-subtle: #94A3B8;
  --uh-text-active: #38BDF8;
  --uh-btn-border: rgba(255, 255, 255, 0.22);
  --uh-btn-bg: rgba(255, 255, 255, 0.06);
  --uh-btn-hover-border: #38BDF8;
  --uh-btn-hover-bg: rgba(56, 189, 248, 0.12);
  --uh-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.unified-footer.theme-navy {
  --uf-bg: #071526;
  --uf-border: rgba(255, 255, 255, 0.10);
  --uf-text: #E2E8F0;
  --uf-text-muted: #94A3B8;
  --uf-accent: #38BDF8;
  --uf-kicker: #64748B;
  --uf-badge-bg: rgba(56, 189, 248, 0.12);
  --uf-badge-text: #7DD3FC;
}

/* 2. 宣传页主题（Sage 墨玉/薄荷） */
.unified-header.theme-sage {
  --uh-bg: rgba(192, 208, 196, 0.92);
  --uh-border: rgba(15, 81, 50, 0.18);
  --uh-text: #143526;
  --uh-text-subtle: #3D614F;
  --uh-text-active: #0F766E;
  --uh-btn-border: rgba(15, 81, 50, 0.28);
  --uh-btn-bg: rgba(255, 255, 255, 0.65);
  --uh-btn-hover-border: #0F766E;
  --uh-btn-hover-bg: #FFFFFF;
  --uh-shadow: 0 4px 20px rgba(15, 81, 50, 0.08);
}
.unified-footer.theme-sage {
  --uf-bg: #05291E;
  --uf-border: rgba(255, 255, 255, 0.11);
  --uf-text: #E8F5EE;
  --uf-text-muted: #9EC4B2;
  --uf-accent: #34D399;
  --uf-kicker: #5D8F79;
  --uf-badge-bg: rgba(52, 211, 153, 0.14);
  --uf-badge-text: #6EE7B7;
}

/* 3. 关于 / 申请 / 申诉 / 法务主题（Paper / Warm Sage） */
.unified-header.theme-paper {
  --uh-bg: rgba(232, 237, 230, 0.92);
  --uh-border: rgba(20, 50, 35, 0.15);
  --uh-text: #17382B;
  --uh-text-subtle: #4A6B5C;
  --uh-text-active: #0D9488;
  --uh-btn-border: rgba(20, 50, 35, 0.24);
  --uh-btn-bg: rgba(255, 255, 255, 0.7);
  --uh-btn-hover-border: #0D9488;
  --uh-btn-hover-bg: #FFFFFF;
  --uh-shadow: 0 4px 18px rgba(20, 50, 35, 0.06);
}
.unified-footer.theme-paper {
  --uf-bg: #082117;
  --uf-border: rgba(255, 255, 255, 0.10);
  --uf-text: #E5EFE9;
  --uf-text-muted: #9ABCB0;
  --uf-accent: #2DD4BF;
  --uf-kicker: #5B8878;
  --uf-badge-bg: rgba(45, 212, 191, 0.14);
  --uf-badge-text: #5EEAD4;
}

/* ============================================================
   二、统一页顶 (Unified Header)
   ============================================================ */
.unified-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--uh-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--uh-border);
  box-shadow: var(--uh-shadow);
  font-family: var(--unf-font-sans);
  color: var(--uh-text);
  transition: var(--unf-trans);
}

.unified-header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* 品牌字标 Wordmark */
.unified-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  text-decoration: none;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: inherit;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.unified-wordmark:hover {
  opacity: 0.85;
}
.unified-wordmark .wm-brand {
  color: inherit;
}
.unified-wordmark .wm-accent {
  color: var(--uh-text-active);
  margin-left: 2px;
}

/* 导航链接集合 (只排除当前本页) */
.unified-header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.unified-header-nav::-webkit-scrollbar {
  display: none;
}
.unified-nav-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: var(--unf-radius-sm);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  color: var(--uh-text-subtle);
  transition: var(--unf-trans);
  white-space: nowrap;
}
.unified-nav-link:hover {
  color: var(--uh-text);
  background: rgba(255, 255, 255, 0.08);
}
.unified-nav-link.is-current {
  color: var(--uh-text-active);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.12);
}

/* 右侧统一边框操作按钮 */
.unified-header-action {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.unified-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 7px 16px;
  border: 1px solid var(--uh-btn-border);
  background: var(--uh-btn-bg);
  border-radius: var(--unf-radius-md);
  color: var(--uh-text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: var(--unf-trans);
  white-space: nowrap;
}
.unified-btn-outline:hover {
  border-color: var(--uh-btn-hover-border);
  background: var(--uh-btn-hover-bg);
  color: var(--uh-text);
  transform: translateY(-0.5px);
}
.unified-btn-outline:active {
  transform: translateY(0);
}

/* ============================================================
   三、统一页尾 (Unified Footer)
   ============================================================ */
.unified-footer {
  background: var(--uf-bg);
  color: var(--uf-text);
  font-family: var(--unf-font-sans);
  border-top: 1px solid var(--uf-border);
  padding: 48px 0 32px;
  position: relative;
  overflow: hidden;
}

.unified-footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 1. 顶层：合规与全站导航区 */
.uf-compliance-block {
  text-align: center;
  margin-bottom: 32px;
}
.uf-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--uf-kicker);
  margin-bottom: 8px;
}
.uf-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  color: var(--uf-text);
}

/* 全站导航链接网格/行 (只排除本页，其他全部显示并提供跳转) */
.uf-nav-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding: 0;
  margin: 0 auto 16px;
  list-style: none;
}
.uf-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  text-decoration: none;
  font-size: 13.5px;
  color: var(--uf-text-muted);
  font-weight: 500;
  transition: var(--unf-trans);
  padding: 4px 6px;
  border-radius: var(--unf-radius-sm);
}
.uf-nav-link:hover {
  color: var(--uf-accent);
  text-decoration: none;
}
.uf-nav-link.is-active-dot::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--uf-accent);
  margin-right: 2px;
}

/* 2. 中层：细线分隔与品牌及免责声明 */
.uf-divider {
  width: 100%;
  height: 1px;
  background: var(--uf-border);
  margin: 28px 0;
  border: none;
}

.uf-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.uf-brand-left {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.uf-brand-wordmark {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--uf-text);
  text-decoration: none;
}
.uf-brand-wordmark span:last-child {
  color: var(--uf-accent);
}
.uf-badge {
  display: none !important;
}

.uf-disclaimer {
  font-size: 13px;
  line-height: 1.6;
  color: var(--uf-text-muted);
  max-width: 680px;
  text-align: right;
  margin: 0;
}

/* 3. 底层：细线分隔与居中备案号 */
.uf-beian-row {
  text-align: center;
  margin-top: 24px;
}
.uf-icp {
  font-size: 12.5px;
  color: var(--uf-kicker);
  letter-spacing: 0.04em;
  margin: 0;
  text-decoration: none;
  transition: color 0.2s;
}
.uf-icp:hover {
  color: var(--uf-text-muted);
}

/* ============================================================
   四、移动端与窄屏响应式 (<= 768px)
   ============================================================ */
@media (max-width: 768px) {
  .unified-header-inner {
    padding: 0 16px;
    height: 56px;
    gap: 12px;
  }
  .unified-header-nav {
    display: none; /* 移动端隐藏冗余链接，保留右侧按钮与左侧Wordmark */
  }
  .unified-btn-outline {
    padding: 5px 12px;
    font-size: 12px;
  }
  
  .unified-footer {
    padding: 36px 0 24px;
  }
  .unified-footer-inner {
    padding: 0 16px;
  }
  .uf-nav-row {
    gap: 8px 16px;
  }
  .uf-nav-link {
    font-size: 12.5px;
  }
  .uf-brand-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
  }
  .uf-disclaimer {
    text-align: center;
    font-size: 12px;
  }
}

/* ============================================================
   五、导航项本页焦点与激活高亮交互 (Active Focus Indicators)
   ============================================================ */
/* 顶栏激活态 */
.unified-nav-link.is-current,
.unified-nav-link[aria-current="page"] {
  color: var(--uh-text-active) !important;
  font-weight: 700 !important;
  background: rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  position: relative;
}
.unified-nav-link.is-current::after,
.unified-nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 12px;
  right: 12px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--uh-text-active);
  box-shadow: 0 0 10px var(--uh-text-active);
}

/* 底栏激活态：完全取消底栏定位药丸与圆点，还原为无药丸平整链接风格 */
.uf-nav-link.is-current,
.uf-nav-link[aria-current="page"] {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 4px 6px !important;
  color: var(--uf-text) !important;
}
.uf-nav-link.is-current::before,
.uf-nav-link[aria-current="page"]::before {
  display: none !important;
  content: none !important;
}

/* 彻底隐藏 legal.css 中旧版的重复侧边栏进度条，消除侧边栏双轨现象 */
body.doc-page::before,
.doc-reading-rail {
  display: none !important;
  content: none !important;
  visibility: hidden !important;
}

/* ============================================================
   六、全站统一右侧固定阅读进度条 (Global Reading Rail)
   ============================================================ */
.unified-reading-rail-bg {
  position: fixed;
  z-index: 999;
  top: 28vh;
  right: clamp(10px, 2.4vw, 32px);
  width: 2.5px;
  height: 44vh;
  border-radius: 9999px;
  background: rgba(120, 140, 130, 0.20);
  pointer-events: none;
  opacity: 0.85;
}

.unified-reading-rail-thumb {
  position: fixed;
  z-index: 1000;
  top: 28vh;
  right: clamp(10px, 2.4vw, 32px);
  width: 2.5px;
  height: 44vh;
  border-radius: 9999px;
  transform: scaleY(0);
  transform-origin: top;
  pointer-events: none;
  background: linear-gradient(180deg, #38BDF8, #818CF8);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
  will-change: transform;
}

/* 轨道主题色彩自适应 */
.theme-sage ~ .unified-reading-rail-thumb,
body.theme-sage .unified-reading-rail-thumb {
  background: linear-gradient(180deg, #34D399, #059669);
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.6);
}
.theme-paper ~ .unified-reading-rail-thumb,
body.theme-paper .unified-reading-rail-thumb {
  background: linear-gradient(180deg, #2DD4BF, #D97706);
  box-shadow: 0 0 10px rgba(45, 212, 191, 0.5);
}

@media (max-width: 768px) {
  .unified-reading-rail-bg,
  .unified-reading-rail-thumb {
    right: 6px;
    width: 2px;
    top: 32vh;
    height: 36vh;
  }
}

/* ============================================================
   七、正序向下滚动渐入动效体系 (Scroll-Driven Reveal)
   ============================================================ */
/* 1. 纯文字章节/卡片平滑上浮渐入 */
.scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.52s cubic-bezier(0.16, 1, 0.3, 1), transform 0.52s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.scroll-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* 2. 宣传介绍页 16PM 手机图片与文字侧滑入场动效 */
.reveal-phone-left {
  opacity: 0;
  transform: translateX(-32px) scale(0.975);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-phone-left.is-revealed {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.reveal-phone-right {
  opacity: 0;
  transform: translateX(32px) scale(0.975);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-phone-right.is-revealed {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.reveal-copy-stagger {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
  will-change: opacity, transform;
}
.reveal-copy-stagger.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   八、官网联系与支持申诉 (Support) 高级交互卡片表单
   ============================================================ */
.support-form-card {
  max-width: 820px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(20, 50, 35, 0.15);
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 16px 40px rgba(10, 35, 25, 0.06), 0 1px 4px rgba(10, 35, 25, 0.04);
}
.support-form-card .form-group {
  margin-bottom: 24px;
}
.support-form-card .form-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  font-weight: 700;
  color: #17382B;
  margin-bottom: 8px;
}
.support-form-card .form-hint {
  font-size: 12px;
  font-weight: 400;
  color: #5B8878;
}
.support-form-card .form-control {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1.5px solid rgba(20, 50, 35, 0.20);
  background: #FFFFFF;
  font-family: inherit;
  font-size: 14px;
  color: #143526;
  outline: none;
  box-sizing: border-box;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.support-form-card .form-control:focus {
  border-color: #0D9488;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.18);
}
.support-form-card textarea.form-control {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}
.support-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}
.support-type-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border: 1px solid rgba(20, 50, 35, 0.18);
  border-radius: 8px;
  background: #FFFFFF;
  font-size: 13px;
  font-weight: 500;
  color: #17382B;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.support-type-chip:hover {
  border-color: #0D9488;
  background: rgba(13, 148, 136, 0.05);
}
.support-type-chip.is-selected {
  border-color: #0D9488;
  background: #E6F4EA;
  color: #0F5132;
  font-weight: 700;
  box-shadow: 0 0 0 1px #0D9488;
}
.support-upload-box {
  border: 2px dashed rgba(20, 50, 35, 0.22);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
}
.support-upload-box:hover, .support-upload-box.is-dragover {
  border-color: #0D9488;
  background: rgba(13, 148, 136, 0.04);
}
.support-upload-box input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.support-file-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.support-file-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: #E6F4EA;
  border: 1px solid rgba(13, 148, 136, 0.24);
  border-radius: 6px;
  font-size: 12px;
  color: #0F5132;
}
.support-file-chip button {
  background: none;
  border: none;
  color: #DC2626;
  font-weight: bold;
  cursor: pointer;
  padding: 0 2px;
}
.support-code-row {
  display: flex;
  gap: 12px;
  align-items: stretch;
}
.support-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 24px;
  background: #0F5132;
  color: #FFFFFF;
  border: 1px solid #0F5132;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(15, 81, 50, 0.2);
}
.support-submit-btn:hover {
  background: #143526;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(15, 81, 50, 0.28);
}
.support-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.support-status-msg {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13.5px;
  line-height: 1.5;
  margin-top: 16px;
  display: none;
}
.support-status-msg.is-visible {
  display: block;
}
.support-status-msg.is-success {
  background: #E6F4EA;
  color: #0F5132;
  border: 1px solid rgba(15, 81, 50, 0.2);
}
.support-status-msg.is-error {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid rgba(220, 38, 38, 0.2);
}
.support-status-msg.is-info {
  background: #EFF6FF;
  color: #1E40AF;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

/* ============================================================
   九、全站统一高规格子页面 Hero 模块 (Unified Subpage Hero)
   解决色调不一致、死板生硬外框，赋予高级灵动呼吸光晕 (Ambient Optical Halos)
   ============================================================ */
.subpage-hero,
.download-hero {
  position: relative;
  overflow: clip;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  /* 统一与测试版申请高度一致的深墨玉/矿物晶石渐变 */
  background: linear-gradient(138deg, #071912 0%, #0d281f 48%, #14382c 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14),
              inset 0 -1px 0 rgba(0, 0, 0, 0.45),
              0 24px 50px rgba(4, 18, 13, 0.18) !important;
  padding: 68px 0 56px !important;
}

/* 彻底覆盖并移除旧版 legal.css 中死板生硬的圆形线圈边框 */
.subpage-hero::after,
.download-hero::after {
  display: none !important;
  content: none !important;
}

/* 高级双层光学微光光晕 (Ambient Breathing Halos) */
.subpage-hero::before,
.download-hero::before {
  content: "" !important;
  position: absolute !important;
  inset: -15% !important;
  pointer-events: none !important;
  background: radial-gradient(circle at 82% 26%, rgba(52, 211, 153, 0.24) 0%, rgba(13, 148, 136, 0.08) 36%, transparent 68%),
              radial-gradient(circle at 14% 78%, rgba(56, 189, 248, 0.16) 0%, rgba(16, 185, 129, 0.06) 40%, transparent 64%),
              radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.08) 0%, transparent 50%) !important;
  animation: haloAmbientPulse 9s ease-in-out infinite alternate !important;
  will-change: transform, opacity;
}

@keyframes haloAmbientPulse {
  0% {
    transform: scale(0.97) translate(0, 0);
    opacity: 0.82;
  }
  50% {
    transform: scale(1.03) translate(-14px, 8px);
    opacity: 1;
  }
  100% {
    transform: scale(0.97) translate(0, 0);
    opacity: 0.82;
  }
}

.subpage-hero-inner,
.download-hero .doc-main {
  position: relative;
  z-index: 2;
  width: min(100% - 48px, 1080px);
  margin: 0 auto;
  padding: 0 !important;
}

.subpage-hero-copy,
.download-copy {
  position: relative;
  z-index: 2;
  max-width: 980px !important;
}

.subpage-kicker,
.download-copy .doc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: #6EE7B7 !important;
  font-family: var(--unf-font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.95;
}

.subpage-kicker::before,
.download-copy .doc-kicker::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.35), 0 0 12px #34D399;
}

.subpage-hero h1,
.download-copy h1 {
  max-width: none;
  margin: 0;
  color: #F8FAF8 !important;
  font-family: var(--unf-font-serif);
  font-size: clamp(2.2rem, 4.6vw, 3.6rem) !important;
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.25);
}

.subpage-lead,
.download-copy .doc-lead {
  max-width: 980px !important;
  margin-top: 18px;
  margin-left: 0 !important;
  text-align: left !important;
  color: rgba(235, 245, 240, 0.88) !important;
  font-family: var(--unf-font-sans);
  font-size: 1.05rem;
  line-height: 1.72;
  text-wrap: pretty;
}

/* 下载页专用状态胶囊与下载链接条 */
.download-copy .status-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.30);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #E6F4EA !important;
  font-size: 13.5px;
  font-weight: 600;
}
.download-copy .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.28), 0 0 10px #34D399;
}

/* ============================================================
   十、支持申诉界面输入框与卡片居中强化 (Support Form Centering)
   ============================================================ */
.support-main-wrap {
  width: min(100% - 48px, 1080px);
  margin: 0 auto !important;
  padding: 56px 0 72px !important;
}

.support-body {
  max-width: 760px !important;
  margin: 0 auto !important;
  width: 100%;
}

.support-form-card {
  max-width: 760px !important;
  margin: 0 auto !important;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(20, 50, 35, 0.16);
  border-radius: 18px;
  padding: 40px;
  box-shadow: 0 20px 48px rgba(10, 35, 25, 0.08), 0 1px 3px rgba(10, 35, 25, 0.04);
}

.support-submit-btn {
  max-width: 380px !important;
  margin: 0 auto !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   八、法务与阅读型页面舒展排版规范 (提升阅读性，拉开层级间距)
   ============================================================ */
/* 页面主容器留足充裕呼吸空间 */
.doc-main {
  padding-top: clamp(40px, 5vw, 68px) !important;
  padding-bottom: clamp(56px, 7vw, 88px) !important;
}

.doc-body {
  max-width: 860px !important;
  padding-top: 0 !important;
}

/* 小标题与小标题块之间：间距拉开（空行一行以上），消除拥挤感 */
.doc-body section {
  padding: 38px 0 34px !important;
  border-bottom: 1px solid rgba(20, 50, 35, 0.12) !important;
}
.doc-body section:first-of-type {
  padding-top: 12px !important;
}
.doc-body section:last-of-type {
  border-bottom: none !important;
}

/* 大标题/章节标题基础样式（一、二、三...）：留足与正文之间两行空行 */
.doc-body h2 {
  display: block !important;
  margin: 0 0 24px !important;
  font-size: 1.32rem !important;
  font-weight: 700 !important;
  line-height: 1.38 !important;
  letter-spacing: -0.01em !important;
}

/* 正文圆点列表：条款前圆点，两点之间空行一行拉开，清晰易读 */
.doc-bullet-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.doc-bullet-list > li {
  position: relative !important;
  padding-left: 24px !important;
  margin-top: 18px !important;
  line-height: 1.88 !important;
  font-size: 15.5px !important;
}

.doc-bullet-list > li:first-child {
  margin-top: 0 !important;
}

.doc-bullet-list > li::before {
  content: "" !important;
  position: absolute !important;
  left: 6px !important;
  top: 0.72em !important;
  width: 6.5px !important;
  height: 6.5px !important;
  border-radius: 50% !important;
}

/* 常规段落与加粗文本布局 */
.doc-body p {
  margin: 18px 0 0 !important;
  line-height: 1.88 !important;
  font-size: 15.5px !important;
}
.doc-body p:first-of-type {
  margin-top: 0 !important;
}

/* ------------------------------------------------------------
   A. 深色矿物琉璃/墨玉背景页 (terms / privacy / disclaimer 等 .doc-page)
      提供高对比白亮文字与发光薄荷绿圆点，彻底解决文字发黑发暗问题
   ------------------------------------------------------------ */
body.doc-page .doc-body section {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

body.doc-page .doc-body h2 {
  color: #F8FAFC !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

body.doc-page .doc-bullet-list > li {
  color: rgba(241, 245, 249, 0.90) !important;
}

body.doc-page .doc-bullet-list > li strong {
  color: #FFFFFF !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

body.doc-page .doc-bullet-list > li::before {
  background: #34D399 !important;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.75) !important;
}

body.doc-page .doc-body p {
  color: rgba(241, 245, 249, 0.88) !important;
}

body.doc-page .doc-body strong {
  color: #FFFFFF !important;
  font-weight: 700 !important;
}

/* ------------------------------------------------------------
   B. 暖素纸质背景页 (about.html / 404.html 等浅色页面)
      提供舒适柔和的深墨色高对比文本，杜绝发白不可见
   ------------------------------------------------------------ */
body:not(.doc-page) .doc-body section {
  border-bottom: 1px solid rgba(20, 50, 35, 0.12) !important;
}

body:not(.doc-page) .doc-body h2 {
  color: #142820 !important;
}

body:not(.doc-page) .doc-bullet-list > li {
  color: #334b40 !important;
}

body:not(.doc-page) .doc-bullet-list > li strong {
  color: #142820 !important;
  font-weight: 650 !important;
}

body:not(.doc-page) .doc-bullet-list > li::before {
  background: #0D9488 !important;
  box-shadow: 0 0 6px rgba(13, 148, 136, 0.45) !important;
}

body:not(.doc-page) .doc-body p {
  color: #334b40 !important;
}

body:not(.doc-page) .doc-body strong {
  color: #142820 !important;
  font-weight: 650 !important;
}



