.floating-element {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 70px;
    height: 70px;
    background-color: #3498db;
    color: white;
  font-size: 1.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
}

.floating-buttons {
    position: fixed;
    bottom: 80px; /* 距离触发按钮一定距离 */
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    pointer-events: none; /* 初始状态不可点击 */
    opacity: 0;

    transform: translateY(100%);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.floating-buttons.visible {
    transform: translateY(0);
    pointer-events: auto; /* 显示时变为可点击 */

    opacity: 1;

}

.btn {
    margin-bottom: 1px;
    padding: 3px 20px;
    background-color: #3498db;
  font-size: 1.5em;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}