/* 公共样式 */
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5); /* 背景颜色及透明度 */
        z-index: 999;
        display: none; /* 初始隐藏 */
    }
    .popup {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: transparent; /* 透明背景 */
        padding: 20px;
        z-index: 1000;
        display: none; /* 初始隐藏 */
    }
    .close {
        position: absolute;
        top: 5px;
        right: 5px;
        cursor: pointer;
        font-size: 24px;
        color: #fff;
    }