:root {
  --brand-green: #07B062; /* 小熊绿 */
  --brand-blue: #2196f3; /* 蓝色 */
  --brand-cyan: #00B8D4; /* 跨界青 */
  --brand-orange: #ff9800;
  --brand-green-light: #35B058; /* 浅绿（悬停态） */
  --brand-green-bright: #B2F951; /* 亮绿（渐变） */
  /* 悬停态：深 10% */
  --brand-green-deep: #388E3C;
  --brand-blue-deep: #1976D2;
  --brand-cyan-deep: #0097A7;
  /* 浅色背景态：用于标签背景、卡片高亮、Hover 遮罩 */
  --brand-green-surface: rgba(76, 175, 80, 0.1);
  --brand-blue-surface: rgba(33, 150, 243, 0.1);
  --brand-cyan-surface: rgba(0, 184, 212, 0.1);

  --text-dark: #2c3e50;
  --text-muted: #7f8c8d;
  --text-gray: #828282;
  --text-light-gray: #666;
  --text-black: #333;
  --text-white: #fff;
  --bg-body: #f4f7fa;
  --card-bg: #ffffff;
  --border-soft: #edf2f7;
  --border-gray: #cdcdcd;
  --border-light: #E0E0E0;
  --bg-black: #000;
  --bg-green-light: rgba(209, 249, 153, 0.2);
  --bg-green-soft: #F6FEEB;
  --text-green-bright: #5AFE4F;
  --text-brown: #653d00;
  --text-cyan-deep: #1b7678;
  --text-gray-soft: #F2F2F2;
  --text-gray-mid: #999;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.logo-wrapper picture {
  line-height: 0;
  font-size: 0;
}

.logo-wrapper .logo {
  vertical-align: middle;
}

html body a,
html body a:focus,
html body a:active,
html body a:visited,
html body a:hover,
html body button,
html body button:focus,
html body button:active,
html body input,
html body input:focus,
html body input:active,
html body textarea,
html body textarea:focus,
html body textarea:active,
html body select,
html body select:focus,
html body select:active,
html body [tabindex],
html body [tabindex]:focus {
  outline: 0 !important;
  outline-width: 0 !important;
  outline-style: none !important;
  outline-color: transparent !important;
  outline-offset: 0 !important;
  -webkit-focus-ring-color: transparent !important;
  box-shadow: none !important;
}

html body a:focus-visible,
html body button:focus-visible,
html body input:focus-visible,
html body textarea:focus-visible,
html body select:focus-visible,
html body [tabindex]:focus-visible {
  outline: 0 !important;
  outline-width: 0 !important;
  outline-style: none !important;
  outline-color: transparent !important;
  outline-offset: 0 !important;
  -webkit-focus-ring-color: transparent !important;
  box-shadow: none !important;
}

.app-container {
  /* padding: 20px 0; */
}
.head-mobile {
  display: flex;
  flex-direction: column;
  padding: 0 8px;
  background-color: var(--card-bg);
  border-bottom: 1px solid var(--border-soft);
}

.logo-wrapper {
  padding: 6px 8px;
  text-align: center;
}

.logo {
  height: 23px !important;
  width: auto !important;
}

.logo-slogan {
  font-size: 12px;
  color: var(--text-light-gray);
  margin-top: 8px;
  text-align: center;
  display: none;
}


.search {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 6px;

}

.search .search-input {
  width: 100%;
  height: 28px;
  background-color: var(--text-white);
  border-radius: 14px;
  border: 1px solid var(--border-gray);
  padding: 0 10px;
  box-sizing: border-box;
  position: relative;
}

.search .search-input input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 14px;
  color: var(--text-black);
  background-color: transparent;
  padding-left: 20px;
  padding-right: 60px;
  height: 100%;
}

.search .search-input input::placeholder {
  color: var(--border-gray);
}

.search .search-input .search-button {
  width: 60px;
  height: 28px;
  background-color: var(--brand-green);
  border-radius: 24px;
  color: var(--text-white);
  font-size: 14px;
  text-align: center;
  line-height: 28px;
  position: absolute;
  right: 0;
  top: 0;
}

.search .search-input .search-icon {
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
}

.search .login {
  white-space: nowrap;
  font-size: 14px;
  text-align: center;
  line-height: 28px;
  right: 0;
  top: 0;
  height: 28px;
  cursor: pointer;
  color: var(--text-black);
  margin-left: 20px;
  padding-right: 10px;
}

.search .login:hover {
  color: var(--brand-green);
}

.banner-item-wrap {
  width: 100%;
  background-color: var(--brand-green-bright);
  padding: 22px 8px 14px 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.banner-item-wrap img {
  max-width: 1360px;
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.info-detail {
  margin-top: 16px;
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  gap: 10px;
  padding: 0 10px;
  max-width: 1068px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.info-detail .info-detail-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.info-detail .info-detail-item .number {
  color: var(--brand-green-light);
  font-size: 20px;
  font-weight: bold;
}

.info-detail .info-detail-item .desc {
  font-size: 10px;
  min-height: 45px;
}

.info-detail .info-detail-item .btn {
  /* width: 64px; */
  /* height: 18px; */
  padding: 4px 13px;
  color: var(--text-green-bright);
  background-color: var(--bg-black);
  font-weight: bold;
  font-size: 10px;
  line-height: 12px;
  border-radius: 10px;
  margin-top: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-detail .info-detail-item .btn img {
  width: 14px;
  height: 14px;
  margin-right: 4px;
}


.charts-module {
  margin-top: 25px;
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.charts-wrap {
  max-width: 380px;
  width: 100%;
  margin: 0 auto;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding-bottom: 10px;
  box-sizing: border-box;
}


.canvas-wrap {
  width: 100%;
  height: 264px;
  text-align: center;
  background-color: var(--text-white);
  border-radius: 10px;
  overflow: visible;
}

.canvas-wrap img {
  width: 90%;
  height: 100%;
  object-fit: contain;
}

.charts-text {
  padding: 0 10px;
}

.charts-text-title {
  font-size: 24px;
  font-weight: bold;
  line-height: 34px;
  margin-top: 10px;
}

.charts-text-desc {
  font-size: 12px;
  color: var(--text-gray);
  line-height: 18px;
}

.rank-module-container {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 10px;
}

.rank-module {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.rank-module-title {
  margin: 0;
  font-size: 24px;
  line-height: 34px;
}
.rank-module-title1 {
  margin: 0;
  line-height: 68px;
  font-size: 48px;
}
.rank-module-desc {
  font-size: 12px;
  color: var(--text-gray);
  line-height: 21px;
}

.rank-module .btn {
  /* width: 182px; */
  /* height: 34px; */
  font-size: 14px;
  padding: 10px 24px;
  line-height: 18px;
  border-radius: 20px;
  color: var(--text-white);
  background-color: var(--bg-black);
  font-weight: bold;
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rank-module .btn img {
  width: 18px;
  height: 18px;
  margin-right: 7px;
}
.group-btns {
  display: flex;
  align-items: center;
  margin-top: 14px;
  gap: 12px;
}

.btn-white {
  padding: 6px 12px;
  border: 1px solid var(--bg-black);
  border-radius: 15px;
  box-sizing: border-box;
  font-size: 10px;
  line-height: 12px;
  font-weight: bold;
}

/* 根据不同屏幕适配 */
.box-module {
  margin: 0 auto;
  margin-top: 10px;
  /* position: relative; */
  box-sizing: border-box;

}
.box-module-item {
  position: relative;

}

.box-module .bg-img {
  height: 100%;
  max-width: 360px;
  margin: 0 auto;
  display: block;
}

.box-module .text-content {
  position: absolute;
  padding-right: 10px;
  top: 0;
  height: 100%;
  width: 100%;
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 公共测试模块标题样式 */
.public-test .text-content .public-test-title,
.public-test .text-content .public-test-subtitle {
  color: var(--text-brown);
}

/* 续航力排行模块标题样式 */
.continue-rank .text-content .continue-rank-title,
.continue-rank .text-content .continue-rank-subtitle {
  color: var(--text-cyan-deep);
}
.public-test-title, .continue-rank-title {
  font-size: 42px;
  line-height: 60px;
}
.public-test-content, .continue-rank-content {
  margin-top: 21px;
}
.avatars {
  margin-top: 48px;
}

.public-test-desc, .continue-rank-desc {
  white-space: nowrap;
}
.public-test-number, .continue-rank-number {
  font-size: 52px;
  line-height: 60px;
  /* 原 h3 标签的浏览器默认粗体，改为 div 后显式声明以保持视觉一致 */
  font-weight: bold;
}
.public-test-number .unit, .continue-rank-number .unit {
  font-size: 24px;
  font-weight: bold;
  line-height: 34px;
  margin-left: 4px;
}
.public-test-desc1 .unit, .continue-rank-desc1 .unit {
  font-weight: bold;
}
.public-test-subtitle img, .continue-rank-subtitle img {
  width: 16px;
  height: 16px;
  margin-left: 4px;
}
.public-test-subtitle, .continue-rank-subtitle {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}



.avatars {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 8px;
}

.avatars .avatars-stack {
  display: flex;
  align-items: center;
}

.avatars .avatars-stack img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--text-white);
}

.avatars .avatars-stack img:not(:first-child) {
  margin-left: -12px;
}

.avatars span {
  font-size: 14px;
}

.app-modules {
  width: 100%;
  background-color: var(--bg-green-light);
  margin-top: 16px;
  padding: 10px;
  box-sizing: border-box;
}

.app-modules-item {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.app-modules-item .apps-item {
  background-color: var(--text-white);
  height: 44px;
  flex: 0 0 calc(33.333% - 6px);
  max-width: 104px;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  color: var(--text-black);
}


.app-modules .apps-item img {
  width: 23px;
  height: 23px;
  display: block;
  margin-right: 4px;
}

.app-modules .apps-item .title {
  font-size: 9px;
  font-weight: bold;
}

.app-modules .apps-item .sub-title {
  font-size: 8px;
  color: var(--text-gray);
}



.footer {
  width: 100%;
  padding: 32px 20px;
  background-color: var(--bg-black);
  color: var(--text-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.footer-link {
  font-size: 14px;
  color: var(--text-gray-mid);
  text-decoration: none;
  transition: color var(--transition);
  min-width: 80px;
  text-align: center;
}

.footer-link:hover {
  color: var(--brand-green);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

.footer-copyright {
  font-size: 12px;
  color: var(--text-gray-mid);
}

.footer-beian {
  font-size: 12px;
  color: var(--text-gray-mid);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-beian:hover {
  color: var(--text-white);
}


/* 轮播图样式 */
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-items {
  display: flex;
  transition: transform 0.3s ease;
  width: 100%;
  touch-action: pan-y;
  user-select: none;
}

.carousel-items.dragging {
  transition: none;
}

.carousel-item {
  flex: 0 0 100%;
  width: 100%;
}


/* 导航栏激活状态 */
.navi-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  min-height: 34px;
  margin-top: 8px;
}

.navi-bar-item {
  text-align: center;
  line-height: 100%;
  height: 100%;
  min-height: 34px;
  font-size: 12px;
  color: var(--text-black);
  /* 不允许换行 */
  white-space: nowrap;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.navi-bar-item a {
  text-decoration: none;
  color: inherit;
}

.navi-bar-item a:hover {
  color: var(--brand-green);
  text-decoration: none;
}

.navi-bar-item.active {
  color: var(--brand-green);
}

.navi-bar-item.active::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--brand-green);
  position: absolute;
  bottom: 0;
}


/* MapContainer 样式 */
.map-module {
  width: 100%;
  padding: 0 10px;
  box-sizing: border-box;
}

.map-container {
  max-width: 1300px;
  margin: 20px auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.map-item {
  flex: 0 0 calc(50% - 5px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  /* gap: 14px; */
  margin-bottom: 24px;
}


.map-item-text {
  font-size: 12px;
}

.map-item-text span {
  font-size: 34px;
  font-weight: bold;
}

.map-item img {
  display: block;
  width: 108px;
  height: 108px;
}

/* 底部模块 */
.instructions-module {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.instruction1 {
  height: 224px;
  width: 100%;
  background-color: var(--bg-black);
  color: var(--text-white);
  padding: 25px 16px;
  box-sizing: border-box;
}

.instruction1-title {
  font-size: 22px;
  font-weight: bold;
  line-height: 31px;
}
.instruction1-subtitle {
  font-size: 22px;
  line-height: 31px;
  font-weight: bold;
  margin-bottom: 10px;
}
.instruction1-stats {
  display: flex;
  gap: 10px;
}
.instruction1-stats div {
  font-size: 12px;
  line-height: 18px;
  color: var(--text-gray-soft);
  display: flex;
  align-items: center;
  margin-right: 6px;
}
.instruction1-stats div img {
  width: 16px;
  height: 16px;
  margin-right: 4px;
  margin-bottom: 2px;
}
.instruction1-btn {
  width: 152px;
  height: 40px;
  background-image: linear-gradient(45deg, var(--brand-green-light) 0%, var(--brand-green-bright) 100%);
  border-radius: 40px;
  color: var(--bg-black);
  font-size: 16px;
  line-height: 40px;
  font-weight: bold;
  text-align: center;
  margin-top: 28px;
}

.instruction2 {
  height: 256px;
  width: 100%;
  position: relative;
}
.instruction2-wrap {
  width: 100%;
  height: 100%;
  background-color: var(--bg-green-soft);
}
.instruction2-hi {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 112px;
  height: 185px;
}

.instruction2-content-title {
  color: var(--text-black);
  font-size: 22px;
  line-height: 31px;
  font-weight: bold;
  margin-bottom: 10px;
}
.instruction2-content {
  margin-left: 128px;
  padding-top: 24px;
  padding-right: 24px;
}
.instruction2-content-info {
  color: var(--text-gray);
}
.instruction2-content-info div {
  font-size: 12px;
  line-height: 18px;
  display: flex;
  align-items: center;
  margin-right: 6px;
  margin-bottom: 6px;
}
.instruction2-content-info div img {
  width: 12px;
  height: 12px;
  margin-right: 4px;
}
.instruction2-btn {
  width: 115px;
  height: 33px;
  background-color: var(--bg-black);
  border-radius: 33px;
  color: var(--text-white);
  font-size: 12px;
  line-height: 33px;
  font-weight: bold;
  text-align: center;
  margin-top: 24px;
}

/* instruction3 引文模块样式 */
.instruction3 {
  width: 100%;
  background-color: var(--card-bg);
  padding: 48px 50px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}
.instruction3-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.desc-wrap {
  position: relative;
}
.desc-wrap > img {
  width: 18px;
  height: 16px;
}
.desc-wrap > img:last-of-type {
  position: absolute;
  right: 16px;
  bottom: 6px;
}

.instruction3-content-text {
  order: 2;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-black);
  line-height: 22px;
  font-style: italic;
  margin: 0;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
  text-align: left;
}

.instruction3-content-desc {
  order: 3;
  font-size: 12px;
  color: var(--text-gray);
  line-height: 28px;
  font-weight: 400;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
  text-align: left;
}



.instruction3-author {
  margin-top: 20px;
  padding: 12px 10px;
  background-color: var(--bg-green-soft);
  border-radius: 3px;
  text-align: left;
  width: 100%;
  box-sizing: border-box;
}

.instruction3-author .name {
  font-size: 12px;
  font-weight: bold;
  color: var(--text-black);
  line-height: 24px;
  margin-bottom: 4px;
}

.instruction3-author .info {
  font-size: 8px;
  color: var(--text-gray);
  line-height: 12px;
  text-align: justify;
}
/* --- 夜间模式变量补充 --- */
@media (prefers-color-scheme: dark) {
  :root {
    /* 背景色：使用深黑色或深灰色 */
    --bg-body: #12141a;       /* 极深蓝黑背景 */
    --card-bg: #1c1f26;       /* 卡片背景，比底色稍浅，增加浮现感 */
    --bg-gray: #252932;       /* 搜索框、输入框、表头等次级背景 */

    /* 文字颜色 */
    --text-dark: #e2e8f0;     /* 主文字：浅灰白 */
    --text-muted: #94a3b8;    /* 辅助文字：中灰蓝 */
    --text-black: #e2e8f0;    /* 导航栏文字：浅灰白（原 #333） */

    /* 边框与装饰 */
    --border-soft: #2d333f;   /* 线条：深灰色 */

    /* 品牌色微调，在深色背景下，提升颜色的亮度和饱和度，防止“发闷” */
    --brand-green: #66BB6A;
    --brand-blue: #64B5F6;
    --brand-cyan: #26C6DA;
    --brand-orange: #fbbf24;

    /* 深色背景下的表面色，需要增加不透明度 */
    --brand-green-surface: rgba(102, 187, 106, 0.15);
    --brand-blue-surface: rgba(100, 181, 246, 0.15);
    --brand-cyan-surface: rgba(38, 198, 218, 0.15);

  }

  /* 夜间模式下的特殊处理 */
  body {
    background-color: var(--bg-body);
    color: var(--text-dark);
  }

  /* 阴影弱化：深色模式下不需要太重的阴影 */
  .hero-card, .data-card, .biz-card, .filter-sidebar, .rank-tab {
    box-shadow: 0 4px 20px rgba(0,0,0,0.5) !important;
  }
  .download-card, .text-card {
    background-color: var(--card-bg) !important;
    border-color: var(--border-soft) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4) !important;
  }
  .text-card h2 { color: var(--text-dark); }

  /* --- 2. 品牌与数据容器 (brand-group, data-card) --- */
  .brand-group, .data-card {
    background-color: var(--card-bg) !important;
    border-color: var(--border-soft) !important;
  }
  /* 针对品牌行的分割线 */
  .brand-group { border-bottom: 1px solid var(--border-soft) !important; }

  /* 表格行在深色模式下的 Hover 效果 */
  .rank-table tr:hover, .list-row:hover {
    background-color: var(--bg-gray) !important;
  }
  .rank-table th {
    background-color: var(--bg-gray) !important;
    color: var(--text-muted);
  }

  /* --- 3. 导航与侧边栏 (index-nav, sidebar) --- */
  .alphabet-nav, .index-nav {
    background: rgba(28, 31, 38, 0.85) !important; /* 使用 card-bg 配合透明度 */
    border-color: var(--border-soft) !important;
  }
  .sidebar {
    background-color: var(--card-bg) !important;
    border-color: var(--border-soft) !important;
  }
  .sidebar-title {
    border-bottom-color: var(--border-soft) !important;
  }

  /* --- 3.1 顶部导航栏 (head-mobile) --- */
  .head-mobile {
    background-color: var(--card-bg) !important;
    border-bottom-color: var(--border-soft) !important;
  }

  .head-mobile .navi-bar-item {
    color: var(--text-dark);
  }

  .navi-bar-item a {
    color: inherit;
    text-decoration: none;
  }

  .navi-bar-item a:hover {
    color: var(--brand-green);
    text-decoration: none;
  }

  .navi-bar-item.active {
    color: var(--brand-green);
  }

  .navi-bar-item.active::after {
    background-color: var(--brand-green);
  }

  .search .login {
    color: var(--text-dark);
  }

  .search .login:hover {
    color: var(--brand-green);
  }

  .search .search-input {
    background-color: var(--bg-gray) !important;
    border-color: var(--border-soft) !important;
  }

  .search .search-input input {
    color: var(--text-dark) !important;
  }

  .search .search-input input::placeholder {
    color: var(--text-muted) !important;
  }

  .search .search-input .search-icon {
    filter: brightness(0) invert(0.7);
    opacity: 0.7;
  }

  .search .search-input .search-button {
    background-color: var(--brand-green) !important;
    color: #fff !important;
  }

  .logo-slogan {
    color: var(--text-muted);
  }

  /* --- 4. 说明盒与筛选药丸 (intro-box, filter-pills) --- */
  .intro-box {
    background-color: var(--bg-gray) !important;
    border-color: var(--border-soft) !important;
    color: var(--text-muted) !important;
  }

  .filter-pills {
    background-color: var(--card-bg) !important;
    border-color: var(--border-soft) !important;
  }
  .pill {
    background-color: var(--bg-gray) !important;
    color: var(--text-muted) !important;
  }
  .pill.active {
    background-color: var(--brand-green-light) !important;
    color: var(--brand-green) !important;
    border-color: var(--brand-green) !important;
  }

  /* --- 5. 表单控件增强 --- */
  .form-control, .input-base {
    background-color: var(--bg-gray) !important;
    border-color: var(--border-soft) !important;
    color: var(--text-dark) !important;
  }
  .input-addon {
    background-color: #334155 !important;
    border-color: var(--border-soft) !important;
    color: var(--text-muted) !important;
  }

  /* --- 6. 图片与图标特殊处理 --- */
  /* Logo在黑底上稍微柔和处理，避免过于刺眼 */
  .brand-logo, .logo-icon img {
    filter: brightness(0.9) contrast(1.05);
  }
  .brand-logo-wrap, .logo-icon {
    background-color: #f0f0f0 !important;
  }

  /* box-module背景图片在暗色模式下加遮罩，避免浅色背景刺眼 */
  .box-module .bg-img {
    filter: brightness(0.4) saturate(0.6);
  }
  .box-module-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(18, 20, 26, 0.6) 0%, rgba(28, 31, 38, 0.4) 100%);
    pointer-events: none;
    border-radius: inherit;
  }

  /* 按钮暗色模式：深色底配绿色边框和文字，避免近纯黑+亮绿的刺眼组合 */
  .info-detail .info-detail-item .btn,
  .rank-module .btn {
    background-color: var(--brand-green-surface) !important;
    color: var(--brand-green) !important;
    border: 1px solid var(--brand-green);
  }
  .info-detail .info-detail-item .btn:hover,
  .rank-module .btn:hover {
    background-color: var(--brand-green) !important;
    color: #fff !important;
  }

  /* .instruction1-stats 文字在暗色模式下需要提高可见度 */
  .instruction1-stats div {
    color: var(--text-muted) !important;
  }

  /* footer暗色模式 */
  .footer {
    background-color: var(--bg-black) !important;
    border-top: 1px solid var(--border-soft);
  }
  .footer-bottom {
    border-top-color: var(--border-soft) !important;
  }
  .footer-link {
    color: var(--text-muted) !important;
  }
  .footer-link:hover {
    color: var(--brand-green) !important;
  }
  .footer-copyright,
  .footer-beian {
    color: var(--text-muted) !important;
  }
  .footer-beian:hover {
    color: var(--text-dark) !important;
  }

  /* 发送验证码按钮 */
  .send-code-btn {
    background-color: var(--brand-green) !important;
    color: #fff !important;
    border-color: var(--brand-green) !important;
  }
  .send-code-btn:disabled {
    background-color: var(--bg-gray) !important;
    color: var(--text-muted) !important;
    border-color: var(--border-soft) !important;
  }

  /* 第三方登录项 */
  .third-party-title {
    color: var(--text-muted);
  }
  .third-party-item {
    background-color: var(--bg-gray) !important;
    border: 1px solid var(--border-soft) !important;
    color: var(--text-dark) !important;
  }
  .third-party-item:hover {
    background-color: var(--border-soft) !important;
    border-color: var(--brand-green) !important;
  }
  .third-party-item span {
    color: var(--text-dark);
  }
  .third-party-icon {
    color: var(--text-dark) !important;
  }

  /* 登录分隔线 */
  .login-divider::before,
  .login-divider::after {
    background-color: var(--border-soft) !important;
  }

  /* 图表和地图截图不应用滤镜 */
  .canvas-wrap img {
    filter: none !important;
  }

  /* --- 7. 首页模块适配 --- */
  
  .canvas-wrap {
    background-color: var(--card-bg) !important;
    border-color: var(--border-soft) !important;
  }

  .charts-wrap {
    background-color: var(--card-bg) !important;
    border-color: var(--border-soft) !important;
  }

  .charts-text-title {
    color: var(--text-dark);
  }

  .app-modules {
    background-color: var(--bg-gray) !important;
  }

  .app-modules-item .apps-item {
    background-color: var(--card-bg) !important;
    border-color: var(--border-soft) !important;
    border: 1px solid var(--border-soft);
  }

  .app-modules .apps-item .title {
    color: var(--text-dark);
  }

  .app-modules .apps-item .sub-title {
    color: var(--text-muted);
  }

  .btn-white {
    border-color: var(--brand-green) !important;
    color: var(--brand-green) !important;
    background-color: transparent !important;
  }

  .btn-white:hover {
    background-color: var(--brand-green-surface) !important;
  }

  .instruction3-author {
    background-color: var(--bg-gray) !important;
  }

  .instruction3-author .name {
    color: var(--text-dark);
  }

  .instruction3-author .info {
    color: var(--text-muted);
  }

  .info-detail-item .desc {
    color: var(--text-muted);
  }

  .rank-module-title, .rank-module-title1 {
    color: var(--text-dark);
  }

  .avatars-stack img {
    border-color: var(--card-bg) !important;
  }

  .public-test-desc, .continue-rank-desc {
    color: var(--text-muted);
  }

  .public-test-number, .continue-rank-number {
    color: var(--text-dark);
  }

  .public-test-desc1, .continue-rank-desc1 {
    color: var(--text-muted);
  }

  .public-test-title, .continue-rank-title {
    color: var(--text-dark);
  }

  .public-test-subtitle, .continue-rank-subtitle {
    color: var(--text-muted);
  }

  .map-module {
    background-color: var(--card-bg) !important;
    border-color: var(--border-soft) !important;
  }

  .map-item-text {
    color: var(--text-muted);
  }

  .map-item-text span {
    color: var(--brand-green);
  }

  .instruction1 {
    background-color: var(--card-bg) !important;
    border-color: var(--border-soft) !important;
  }

  .instruction1-title {
    color: var(--text-dark);
  }

  .instruction1-subtitle {
    color: var(--text-muted);
  }

  .instruction2-wrap {
    background-color: var(--card-bg) !important;
    border-color: var(--border-soft) !important;
  }

  .instruction2-content-title {
    color: var(--text-dark);
  }

  .instruction2-content-info {
    color: var(--text-muted);
  }

  .instruction3-content-text {
    color: var(--text-dark);
  }

  .instruction3-content-desc {
    color: var(--text-muted);
  }

  /* --- 8. 登录弹窗适配 --- */
  .login-modal {
    background-color: rgba(0, 0, 0, 0.7) !important;
  }

  .login-modal-content {
    background-color: var(--card-bg) !important;
    border-color: var(--border-soft) !important;
  }

  .login-modal-header h2 {
    color: var(--text-dark);
  }

  .login-modal-close {
    color: var(--text-muted);
  }

  .login-form input {
    background-color: var(--bg-gray) !important;
    border-color: var(--border-soft) !important;
    color: var(--text-dark) !important;
  }

  .login-form input::placeholder {
    color: var(--text-muted) !important;
  }

  .login-submit-btn {
    background-color: var(--brand-green) !important;
    color: var(--text-white) !important;
  }

  .login-divider span {
    color: var(--text-muted);
    background-color: var(--card-bg) !important;
  }

  /* instruction1 按钮：清除渐变，使用纯色按钮避免刺眼 */
  .instruction1-btn {
    background-image: none !important;
    background-color: var(--brand-green) !important;
    color: #fff !important;
  }
  .instruction1-btn:hover {
    background-color: var(--brand-green-light) !important;
  }

  /* instruction2 按钮：同样使用纯色 */
  .instruction2-btn {
    background-color: var(--brand-green) !important;
    color: #fff !important;
  }
  .instruction2-btn:hover {
    background-color: var(--brand-green-light) !important;
  }

  /* .unit 单位文字颜色在暗色模式下使用柔和色 */
  .unit {
    color: var(--text-muted) !important;
  }

  /* 油价链接颜色 */
  .fprice_link {
    color: var(--brand-green) !important;
  }
  .fprice_link:hover {
    color: var(--brand-green-light) !important;
  }

  /* instruction2联系图标（邮件/微信/电话）：深色线条图标在深灰背景上需要反转 */
  .instruction2-content-info div img {
    filter: brightness(0) invert(0.7);
    opacity: 0.8;
  }

  /* 引文引号图标：深色图标在深色背景上需要反转提亮 */
  .desc-wrap > img {
    filter: brightness(0) invert(1);
    opacity: 0.35;
  }

  /* avatar头像保持正常 */
  .avatars-stack img {
    filter: none !important;
    border: 2px solid var(--card-bg);
  }

  /* Highcharts 油价图表暗色模式适配：只修改非数据元素（背景/网格/文字/按钮），数据线条保持JS原始颜色 */
  .highcharts-background {
    fill: var(--card-bg) !important;
  }

  /* 网格线：柔和深灰色，降低视觉干扰 */
  .highcharts-grid-line {
    stroke: var(--border-soft) !important;
    stroke-width: 1px !important;
    opacity: 0.5;
  }
  .highcharts-minor-grid-line {
    stroke: var(--border-soft) !important;
    stroke-width: 0.5px !important;
    opacity: 0.25;
  }

  /* 坐标轴线和刻度 */
  .highcharts-axis-line,
  .highcharts-tick {
    stroke: var(--border-soft) !important;
    opacity: 0.7;
  }

  /* 标题和副标题 */
  .highcharts-title {
    fill: var(--text-dark) !important;
    color: var(--text-dark) !important;
    font-weight: 600 !important;
  }
  .highcharts-subtitle {
    fill: var(--text-muted) !important;
    color: var(--text-muted) !important;
  }

  /* X轴标签文字（非彩色的普通标签） */
  .highcharts-xaxis-labels text {
    fill: var(--text-muted) !important;
    color: var(--text-muted) !important;
  }

  /* Y轴标题文字 */
  .highcharts-axis-title {
    fill: var(--text-muted) !important;
    color: var(--text-muted) !important;
  }

  /* 图例文字 */
  .highcharts-legend-item text {
    fill: var(--text-dark) !important;
    color: var(--text-dark) !important;
  }

  /* rangeSelector 时间切换按钮 */
  .highcharts-range-selector-buttons text {
    fill: var(--text-muted) !important;
  }
  .highcharts-button {
    fill: var(--bg-gray) !important;
    stroke: var(--border-soft) !important;
    stroke-width: 1px !important;
  }
  .highcharts-button text {
    fill: var(--text-muted) !important;
    font-weight: 500;
    transition: fill 0.2s;
  }
  .highcharts-button:hover {
    fill: var(--border-soft) !important;
  }
  .highcharts-button:hover text {
    fill: var(--text-dark) !important;
  }
  .highcharts-button-pressed {
    fill: var(--bg-gray) !important;
    stroke: var(--brand-green) !important;
    stroke-width: 2px !important;
  }
  .highcharts-button-pressed text {
    fill: var(--brand-green) !important;
    font-weight: 700 !important;
  }

  /* 十字线（crosshair） */
  .highcharts-crosshair,
  .highcharts-crosshair-thin {
    stroke: var(--border-soft) !important;
    opacity: 0.6;
  }

  /* 绘图区域背景和边框 */
  .highcharts-plot-background {
    fill: var(--card-bg) !important;
  }
  .highcharts-plot-border {
    stroke: var(--border-soft) !important;
    opacity: 0.5;
  }

  /* 数据标签 */
  .highcharts-data-label text {
    fill: var(--text-dark) !important;
    color: var(--text-dark) !important;
  }

  /* tooltip 暗色背景 */
  .highcharts-tooltip {
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
  }
  .highcharts-tooltip-box {
    fill: var(--bg-gray) !important;
    fill-opacity: 0.96 !important;
    stroke: var(--border-soft) !important;
    stroke-width: 1px !important;
  }
  .highcharts-tooltip text {
    fill: var(--text-dark) !important;
  }

  /* No data 文字 */
  .highcharts-no-data text {
    fill: var(--text-muted) !important;
  }

  /* 导航器和滚动条（如启用） */
  .highcharts-navigator-outline {
    stroke: var(--border-soft) !important;
  }
  .highcharts-scrollbar-rifles {
    stroke: var(--text-muted) !important;
  }
  .highcharts-scrollbar-button {
    fill: var(--bg-gray) !important;
    stroke: var(--border-soft) !important;
  }
  .highcharts-scrollbar-arrow {
    fill: var(--text-muted) !important;
  }

  /* 首页canvas-wrap容器暗色适配 */
  .canvas-wrap {
    background: var(--card-bg) !important;
    border-color: var(--border-soft) !important;
    border-radius: 10px;
    overflow: visible;
  }
  .canvas-wrap img {
    border-radius: 8px;
  }
  .charts-text-title {
    color: var(--text-dark) !important;
  }
  .charts-text-desc {
    color: var(--text-muted) !important;
  }
  .charts-text-desc a {
    color: var(--brand-green);
  }

  /* 轮播模块文字内容区确保在遮罩上可读 */
  .box-module .text-content {
    z-index: 1;
  }

  /* carousel 轮播项适配 */
  .carousel-item img {
    opacity: 0.92;
  }

}

/* ==========================================================================
   强制移除所有元素的焦点蓝色边框（覆盖Bootstrap默认样式）
   放在文件末尾确保最高优先级
   ========================================================================== */
a,
a:link,
a:visited,
a:focus,
a:hover,
a:active,
button,
button:focus,
button:active,
input,
input:focus,
input:active,
textarea,
textarea:focus,
textarea:active,
select,
select:focus,
select:active,
[tabindex],
[tabindex]:focus,
[tabindex]:active {
  outline: 0 !important;
  outline-width: 0 !important;
  outline-style: none !important;
  outline-color: transparent !important;
  outline-offset: 0 !important;
  -webkit-focus-ring-color: rgba(0, 0, 0, 0) !important;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 0 !important;
  outline-width: 0 !important;
  outline-style: none !important;
  outline-color: transparent !important;
  outline-offset: 0 !important;
  -webkit-focus-ring-color: rgba(0, 0, 0, 0) !important;
  box-shadow: none !important;
}