
#linkWarnMask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999998;
    background: rgba(0, 0, 0, 0.5);
    transition: all 0.2s ease-in-out;
    pointer-events: auto;
}

/* 弹窗容器：居中显示，适配小屏设备 */
#customLinkWarn {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999999;
    background: #2d3748;
    color: #ffffff;
    padding: 24px 28px;
    border-radius: 8px;
    min-width: 320px;
    max-width: 90%;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
    text-align: center;
    box-sizing: border-box;
    pointer-events: auto;
}


#customLinkWarn .warn-text {
    margin: 0 0 20px 0;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 400;
    word-wrap: break-word;


#customLinkWarn .warn-btns {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}


#customLinkWarn .warn-btn {
    padding: 7px 18px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s ease;
    box-sizing: border-box;
    min-width: 80px;
}

/* 确认按钮：主题强调色，hover加深 */
#warnConfirm {
    background: #e53e3e;
    color: #ffffff!important;
}
#warnConfirm:hover {
    background: #c53030;

}


#warnCancel {
    background: #6c757d;
    color: #ffffff!important;
}
#warnCancel:hover {
    background: #5a6268;
}

#warn-title{
    color: #ffffff!important;
}
#warn-btn


.link-warn-hidden {
    display: none !important;
}


@media (max-width: 480px) {
    #customLinkWarn {
        padding: 20px 24px;
        min-width: 280px;
    }
    #customLinkWarn .warn-text {
        font-size: 14px;
        line-height: 1.6;
    }
    #customLinkWarn .warn-btn {
        padding: 6px 16px;
        font-size: 13px;
        min-width: 70px;
    }
}
