/* 固定在右下角 */
.floating-btn {
    position: fixed;
    bottom: 36%;
    right: 40px;
    z-index: 1000; /* 确保按钮在其他元素之上 */
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

.floating-btn img {
    width: 60px;
    height: auto;
}


.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    width: 46%;
    height: 66%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    border-radius: 4px;
    overflow: hidden;
}

.modal-close {
    cursor: pointer;
    width: 30px;
    height: 30px;
    font-size: 16px;
    background: white;
    display: flex;
    justify-content: center;
    line-height: 28px;
}

.modal-content {
    position: relative;
    width: 100%;
    /*height: calc(100% - 40px);*/
    height: 100%;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

#draggable-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    position: fixed;
    bottom: 36%;
    right: 40px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    user-select: none;
    cursor: pointer;
    z-index: 1000;
    border-radius: 50%;
    border: none;
}

#draggable-icon:active {
    cursor: grabbing;
}