@charset "UTF-8";
/* 全局样式重置 */
:root {
  --primary-color: #3498db;
  --secondary-color: #2980b9;
  --accent-color: #e74c3c;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --gray-color: #6c757d;
  --success-color: #28a745;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --content-width: 68vw;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
    font-family: Arial, sans-serif;
}
/*2025年6月20日14:43:47 ↓*/
body {
    margin: 0;
    padding: 0;
    padding-bottom: clamp(30px, 5vh, 90px);
    font-family: Arial, sans-serif;
    background-color: #f8fafc;
  }
html {
  scroll-behavior: smooth;
}

/* Help body follows the Home page content proportions and typography. */
.help-content {
    width: var(--content-width);
    margin: 0 auto;
    padding: clamp(16px, 2vw, 40px) clamp(16px, 2vw, 40px) clamp(32px, 4vw, 80px);
}

.help-article {
    width: 88%;
    margin: 0 auto;
    color: var(--dark-color);
    font-size: clamp(0.9rem, 1.1vw, 2.2rem);
    line-height: 1.75;
    text-align: left;
}

.help-label {
    color: var(--dark-color);
    font-size: clamp(1.2rem, 1.6vw, 3rem);
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 clamp(0.8rem, 1vw, 1.8rem);
    text-align: left;
}

.help-link {
    color: var(--secondary-color);
    text-decoration: none;
}

.help-link:hover {
    text-decoration: underline;
}

.help-article [id] {
    scroll-margin-top: clamp(70px, 8vh, 120px);
}

.help-article h2 {
    color: var(--dark-color);
    font-size: clamp(1.1rem, 1.4vw, 2.6rem);
    line-height: 1.35;
    margin: clamp(1.8rem, 2.5vw, 4rem) 0 clamp(0.8rem, 1vw, 1.8rem);
}

.help-article h3 {
    color: var(--dark-color);
    font-size: clamp(1rem, 1.2vw, 2.2rem);
    line-height: 1.4;
    margin: clamp(1.4rem, 2vw, 3rem) 0 clamp(0.7rem, 0.9vw, 1.5rem);
}

.help-article p {
    margin: 0 0 clamp(0.8rem, 1vw, 1.8rem);
}

.mutation-formats {
    padding-left: clamp(1rem, 2vw, 3rem);
}

.help-article figure {
    margin: clamp(1.2rem, 2vw, 3rem) auto;
    text-align: center;
}

.help-article figure img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.help-article .help-figure-compact img {
    width: 60%;
}

.help-article figcaption {
    width: 80%;
    margin: clamp(0.5rem, 0.7vw, 1.2rem) auto 0;
    color: var(--gray-color);
    font-size: 0.85em;
    line-height: 1.5;
    text-align: center;
}

/*以下为头部设置*/
.header {
    background-color: #2989d8;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: clamp(12px, 2.5vh, 54px) clamp(20px, 3vw, 64px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 添加阴影增强悬浮效果 */
    position: sticky; /* 关键属性 */
    top: 0; /* 固定在顶部 */
    z-index: 1000; /* 确保在其他内容之上 */
    transition: background-color 0.3s ease; /* 可选：添加过渡效果 */
}

.header:hover {
    background-color: #1a69a4;
}

/* logo*/
.logo-container {
      display: flex;
      align-items: center;
    }
    .logo {
      width: clamp(28px, 3.8vh, 65px);
      height: clamp(28px, 3.8vh, 65px);
      margin-right: clamp(6px, 0.8vw, 16px);
      transition: transform 0.3s ease;
    }
    .logo-text {
  font-size: clamp(16px, 2.3vh, 50px);
      font-weight: bold;
    }
    .logo-text_2 {
      font-size: clamp(12px, 1.6vh, 35px);
      font-weight: bold;
      white-space: nowrap;
    }
    .logo:hover {
      transform: rotate(15deg);
    }

/* nav*/
.nav {
      margin-top: clamp(6px, 1.2vh, 26px);
    }
    .nav-list {
      display: flex;
      list-style: none;
      margin: 0;
      padding: 0;
      flex-wrap: wrap;
    }
    .nav-item {
      margin-right: clamp(8px, 1vw, 24px);
      margin-bottom: 5px;
    }
    .nav-link {
      color: white;
      text-decoration: none;
      font-size: clamp(14px, 1.6vh, 32px);
      padding: clamp(4px, 0.8vh, 18px) clamp(8px, 1vw, 20px);
      border-radius: 4px;
      transition: all 0.3s;
      display: inline-block;
      white-space: nowrap;
    }
    .nav-link:hover {
      background-color: rgba(255, 255, 255, 0.2);
      transform: translateY(-1px);
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    .active {
      background-color: rgba(255, 255, 255, 0.2);
      font-weight: 500;
    }
/*              */
/* 链接和增粗显示 */
/*              */
.module-link {
    color: #00a8ff; /* 天蓝色 */
    text-decoration: none; /* 去掉下划线 */
    white-space: normal;        /* 允许换行 */
    word-break: break-all;      /* 强制所有字符可断行 */
}
.module-link:hover {
    color: #0077cc;           /* 悬停时稍深的蓝色（可选） */
    text-decoration: underline; /* 悬停时显示下划线（可选，提升可访问性） */
}
.module-link strong {
    /*display: inline-block;*/ /* 无法更好的展示 */
    display: inline;
    max-width: 100%;
    word-wrap: break-word;      /* 旧属性，兼容性 */
    word-break: break-all;      /* 强制所有字符可断行 */
    /*overflow-wrap: break-word; */
                                /* 标准属性 */
    overflow-wrap: anywhere; /* 更灵活的断行 */
    white-space: normal;        /* 允许换行 */
    line-height: 1.4;
    hyphens: auto; /* 允许连字符断字（可选） */
}

/* 确保 strong 在链接中仍为加粗（通常默认就是） */
.module-link strong {
    font-weight: bold;
}

/*         */
/* 底部样式 */
/*         */
#bottom {
    background-color: #2989d8;
    color: #ccc7d5;
    font-size: clamp(10px, 1.5vh, 32px);
    padding: clamp(5px, 1.2vh, 26px) 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.1);
    z-index: 100;
    transition: background-color 0.3s ease;
}

#bottom:hover {
    background-color: #1a69a4;
}
/* 打印时取消固定定位 */
@media print {
    .header, #bottom { position: static; }
}

/* 左侧导航栏 */
.help-sidebar {
  position: fixed;
  top: 80px; /* 避开顶部 header */
  left: 20px;
  width: 260px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  background: #ffffff;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 16px 0;
  font-size: 14px;
  z-index: 999;
}

.help-sidebar ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.help-sidebar li {
  margin: 0;
}

/* 一级导航 */
.help-sidebar > ul > li > a {
  display: block;
  padding: 10px 20px;
  color: var(--dark-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.help-sidebar > ul > li > a:hover,
.help-sidebar > ul > li > a.active {
  color: var(--primary-color);
  background-color: rgba(52, 152, 219, 0.08);
  border-left-color: var(--primary-color);
}

/* 二级导航 */
.help-sidebar ul ul {
  padding-left: 16px;
  margin-top: 4px;
}

.help-sidebar ul ul a {
  display: block;
  padding: 6px 20px 6px 36px;
  color: var(--gray-color);
  text-decoration: none;
  font-weight: normal;
  font-size: 13px;
  border-left: 2px solid transparent;
  transition: all 0.2s ease;
}

.help-sidebar ul ul a:hover,
.help-sidebar ul ul a.active {
  color: var(--secondary-color);
  background-color: rgba(41, 128, 185, 0.06);
  border-left-color: var(--secondary-color);
}

/* 滚动条美化（可选） */
.help-sidebar::-webkit-scrollbar {
  width: 6px;
}
.help-sidebar::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}
.help-sidebar::-webkit-scrollbar-thumb {
  background: var(--gray-color);
  border-radius: 3px;
}

/* info相关格式 */

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
    font-size: 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.info-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0; /* 添加完整的边框 */
}

.info-table td:first-child {
    /*width: 40%;*/
    /*width: 350px;*/
    font-weight: 500;
    color: #555;
    background-color: #f8f9fa; /* 为标签列添加浅色背景 */
}

.info-table tr:last-child td {
    border-bottom: none;
}

.info-table tr:hover {
    background-color: #f5f5f5;
}

/* 为表格添加顶部和底部的阴影效果 */
.info-table tbody tr:first-child td {
    border-top: 2px solid #ddd;
}

.info-table tbody tr:last-child td {
    border-bottom: 2px solid #ddd;
}


