/*
 * 北海明珠桌面 / 平板右侧悬浮服务栏
 * 手机端保持原底部栏，不显示此组件。
 */
.bhmz-floating-tools{
  position:fixed;
  right:18px;
  top:53%;
  z-index:82;
  display:flex;
  flex-direction:column;
  width:82px;
  overflow:visible;
  border:1px solid rgba(18,48,87,.13);
  border-radius:15px;
  background:rgba(255,255,255,.96);
  box-shadow:0 20px 55px rgba(8,28,57,.2);
  backdrop-filter:blur(16px);
  transform:translateY(-50%);
  transition:opacity .2s ease,transform .2s ease;
}
.bhmz-float-wrap{position:relative}
.bhmz-float-item{
  appearance:none;
  position:relative;
  width:100%;
  min-height:75px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:9px 5px;
  border:0;
  border-bottom:1px solid #e6ebf1;
  background:transparent;
  color:#173457;
  text-align:center;
  text-decoration:none;
  font:inherit;
  cursor:pointer;
  transition:background .2s ease,color .2s ease,transform .2s ease;
}
.bhmz-floating-tools>.bhmz-float-item:first-child{border-radius:14px 14px 0 0}
.bhmz-floating-tools>.bhmz-float-item:last-child{border-bottom:0;border-radius:0 0 14px 14px}
.bhmz-float-wrap .bhmz-float-item{border-radius:0}
.bhmz-float-item:hover,.bhmz-float-item:focus-visible,.bhmz-float-item[aria-expanded="true"]{
  z-index:2;
  background:#0d376b;
  color:#fff;
  outline:none;
}
.bhmz-float-item:focus-visible{box-shadow:inset 0 0 0 2px #ddb96f}
.bhmz-float-icon{width:29px;height:29px;display:grid;place-items:center;color:#b17a2d}
.bhmz-float-item:hover .bhmz-float-icon,.bhmz-float-item:focus-visible .bhmz-float-icon,.bhmz-float-item[aria-expanded="true"] .bhmz-float-icon{color:#e5c47f}
.bhmz-float-icon .site-icon{width:25px;height:25px}
.bhmz-float-item strong{display:block;font-size:12px;line-height:1.25;font-weight:750;white-space:nowrap}
.bhmz-float-activity::before{content:"";position:absolute;right:10px;top:9px;width:6px;height:6px;border-radius:50%;background:#ec4c5d;box-shadow:0 0 0 4px rgba(236,76,93,.13)}
.bhmz-float-top{opacity:.55}
.bhmz-float-top.is-visible{opacity:1}

.bhmz-float-panel{
  position:absolute;
  right:calc(100% + 14px);
  top:50%;
  z-index:5;
  display:none;
  opacity:0;
  color:#172b47;
  border:1px solid rgba(25,55,91,.12);
  border-radius:18px;
  background:#fff;
  box-shadow:0 28px 70px rgba(5,25,52,.27);
  transform:translateY(-50%) translateX(10px);
}
.bhmz-float-panel.is-open{display:block;animation:bhmzFloatPanelIn .2s ease forwards}
@keyframes bhmzFloatPanelIn{to{opacity:1;transform:translateY(-50%) translateX(0)}}
.bhmz-float-panel::after{content:"";position:absolute;right:-8px;top:50%;width:16px;height:16px;border-top:1px solid rgba(25,55,91,.12);border-right:1px solid rgba(25,55,91,.12);background:#fff;transform:translateY(-50%) rotate(45deg)}
.bhmz-float-panel-close{position:absolute;right:12px;top:10px;z-index:2;width:31px;height:31px;border:0;border-radius:50%;background:#eef2f7;color:#3c4b60;font-size:21px;line-height:1;cursor:pointer}

.bhmz-phone-panel{width:330px;padding:28px 28px 25px}
.bhmz-phone-panel>span{display:block;padding-right:30px;color:#8a6530;font-size:11px;font-weight:850;letter-spacing:.08em}
.bhmz-phone-panel>a{display:block;margin:8px 0 7px;color:#123d73;font-family:Georgia,"Times New Roman",serif;font-size:31px;font-weight:700;letter-spacing:.025em}
.bhmz-phone-panel>p{margin:0;color:#708096;font-size:12px;line-height:1.75}

.bhmz-qr-panel{width:430px;padding:27px}
.bhmz-qr-panel header{padding:0 35px 19px 0;border-bottom:1px solid #e7ebf0}
.bhmz-qr-panel header>span{color:#b27c31;font-size:9px;font-weight:900;letter-spacing:.15em}
.bhmz-qr-panel h3{margin:5px 0 4px;font-size:23px;line-height:1.35}
.bhmz-qr-panel header p{margin:0;color:#79869a;font-size:11px}
.bhmz-qr-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 14px;padding-top:20px;text-align:center}
.bhmz-qr-grid>a,.bhmz-qr-grid>div{display:flex;flex-direction:column;align-items:center;min-width:0;color:#172b47;text-decoration:none}
.bhmz-qr-code{position:relative;width:132px;height:132px;display:grid;place-items:center;padding:7px;border:1px solid #e2e7ed;border-radius:10px;background:#fff;overflow:hidden}
.bhmz-qr-code img{position:relative;z-index:2;width:100%;height:100%;object-fit:contain;background:#fff}
.bhmz-qr-code i{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(145deg,#f1f4f8,#e8edf3);color:#9ba8b8;font-style:normal}
.bhmz-qr-code i .site-icon{width:40px;height:40px}
.bhmz-qr-grid strong{margin-top:9px;font-size:13px}
.bhmz-qr-grid small{max-width:150px;margin-top:2px;overflow:hidden;color:#8793a3;font-size:9px;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}

body.modal-open .bhmz-floating-tools,body.ai-panel-open .bhmz-floating-tools{opacity:0;pointer-events:none;transform:translateY(-50%) translateX(20px)}

@media(max-width:1100px) and (min-width:769px){
  .bhmz-floating-tools{right:10px;width:70px}
  .bhmz-float-item{min-height:67px}
  .bhmz-float-icon{width:25px;height:25px}.bhmz-float-icon .site-icon{width:22px;height:22px}
  .bhmz-float-item strong{font-size:10px}
  .bhmz-qr-panel{width:390px}.bhmz-qr-code{width:116px;height:116px}
}
@media(max-width:768px){
  .bhmz-floating-tools{display:none!important}
}
@media(prefers-reduced-motion:reduce){
  .bhmz-floating-tools,.bhmz-float-item{transition:none!important}
  .bhmz-float-panel.is-open{animation:none;opacity:1;transform:translateY(-50%)}
}
