/* 板块切换按钮：大圣云推（国内）↔ 悟空跨境（外贸出海）
   2026-10-20 新增，2026-10-20 二次调整，2026-10-20 15:10 三次调整：
   1. 位置从 left:20/bottom:20 上移到 share.js 的分享圆钮上方，不再互相压住
      （分享钮 #ds-share-btn 固定 left:22 bottom:22，54x54，z-index 9998）。
   2. 图标换成对方的官方品牌图标。
   3. 去掉副标（原先「外贸出海」「国内」），只留品牌名，按钮更短。
      结构：图标 + 品牌名 + 右侧箭头。
   独立文件，全站 339 个页面共用，改样式只改这一处。 */

#bizSwitch {
  position: fixed;
  left: 22px;
  bottom: 86px;
  z-index: 57;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 7px;
  border-radius: 999px;
  background: rgba(10, 16, 34, 0.9);
  border: 1px solid rgba(34, 211, 238, 0.45);
  color: #a9e9ff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  text-decoration: none;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
  transition: border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

#bizSwitch:hover {
  border-color: #22d3ee;
  color: #eafaff;
  transform: translateY(-2px);
  box-shadow: 0 0 22px rgba(34, 211, 238, 0.45);
}

/* 对方品牌图标：白底方形，按 22px 显示，避免在小尺寸下发糊 */
#bizSwitch .bs-icon {
  width: 22px;
  height: 22px;
  flex: none;
  display: block;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.25), 0 2px 8px rgba(0, 0, 0, 0.45);
}

#bizSwitch .bs-arrow {
  width: 12px;
  height: 12px;
  flex: none;
  opacity: 0.5;
  transition: transform 0.2s, opacity 0.2s;
}

#bizSwitch:hover .bs-arrow {
  transform: translateX(2px);
  opacity: 0.9;
}

@media (max-width: 640px) {
  #bizSwitch {
    left: 22px;
    bottom: 86px;
    padding: 5px 10px 5px 5px;
    font-size: 12px;
    gap: 6px;
  }
  #bizSwitch .bs-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
  }
  #bizSwitch .bs-arrow {
    width: 11px;
    height: 11px;
  }
}
