
/* 固定侧边栏 */
.sidebar {
    position: fixed;
    right: 0px;
    top: 40%;
    transform: translateY(-50%);
    z-index: 9999;
    text-align: right;
  }
  
  /* 每个按钮容器 */
  .sidebar-item {
    position: relative;
    margin-bottom: 15px;
  }
  
  /* 按钮样式 */
  .sidebar-btn {
    width: 120px;
    height: 40px;
    background: rgb(5, 102, 255);
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s;
    padding: 5px 10px;
  }
  
  .sidebar-btn:hover {
    background: rgba(5, 102, 255, .80);
  }
  
  /* 二维码浮层 */
  .qrcode {
    display: none;
    position: absolute;
    right: 130px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid #eee;
    padding: 6px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  }
  
  .qrcode img {
    width: 120px;
    height: 120px;
  }
  
  /* 悬浮按钮时显示二维码 */
  .sidebar-item:hover .qrcode {
    display: block;
  }
  