
/* 悬浮功能按钮 */
/* 容器：fixed，占满视口，pointer-events:none 避免遮挡页面 */
#floatRoot {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
}

#floatRoot .float-bar {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  box-shadow: -2px 0 12px rgba(0, 0, 0, 0.12);
  pointer-events: all;
  z-index: 1002;
}
#floatRoot .float-item {
  width: 72px;
  height: 72px;
  position: relative;
  cursor: pointer;
}
#floatRoot .float-item .position-img {
  width: 72px;
  height: 72px;
  background-image: url(../images/mydzc2.png);
}
#floatRoot .float-item:hover .position-img {
  width: 72px;
  height: 72px;
  background-image: url(../images/mydzcHover2.png);
}
#floatRoot .float-item.item-1 .position-img {
  background-position: 0 0;
}
#floatRoot .float-item.item-2 .position-img {
  background-position: 0 -71px;
}
#floatRoot .float-item.item-3 .position-img {
  background-position: 0 -142px;
}
#floatRoot .float-item.item-4 .position-img {
  background-position: 0 -213px;
}
#floatRoot .float-item.item-5 .position-img {
  background-position: 0 -284px;
}

/* 遮罩 */
#floatRoot #floatOverlay {
  display: none; position: absolute; inset: 0;
  pointer-events: all;
}
#floatRoot #floatOverlay.show { display: block; }

#floatRoot .float-popup {
    display: none;
    position: absolute;
    right: 110px;
    max-width: 300px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.14);
    padding: 18px 18px 14px;
    z-index: 1003;
    font-size: 13px;
    color: #444;
    line-height: 1.75;
    pointer-events: auto;
}
#floatRoot .float-popup.show {
    display: block;
}
#floatRoot .float-popup p {
    margin-bottom: 10px;
}
#floatRoot .float-popup > a {
    position: relative;
    z-index: 1;
    display: inline-block;
    color: #4182e1;
    text-decoration: none;
    word-break: break-all;
    font-size: 13px;
}
#floatRoot .float-popup > a:hover {
    text-decoration: underline;
}

#floatRoot .popup-wechat-box {
  width: 120px;
  height: 120px;
  margin-top: 12px;
  background: #f7f9ff;
  border-radius: 6px;
  padding: 10px 12px;
}
#floatRoot .popup-wechat-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#floatRoot .popup-mail-box {
  margin-top: 12px;
  background: #f7f9ff;
  border-radius: 6px;
  padding: 10px 12px;
  border: 1px solid #dce8ff;
}
#floatRoot .popup-mail-label {
  color: #999;
  font-size: 12px;
  margin-bottom: 3px;
}
#floatRoot .popup-mail-link {
  font-size: 14px;
  color: #4182e1;
  font-weight: 500;
  display: block;
}
#floatRoot .popup-mail-note {
  font-size: 12px;
  color: #4182e1;
  cursor: pointer;
  display: block;
  margin-top: 4px;
}
/* 箭头 */
#floatRoot .float-popup::after {
  content: "";
  position: absolute;
  right: -7px;
  top: var(--arrow-top, 50%);
  transform: translateY(-50%);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 7px solid #fff;
  filter: drop-shadow(1px 0 1px rgba(0, 0, 0, 0.08));
}
