﻿/* 遮罩层：禁止背景点击 */
.popup-mask {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 998;
}

/* 弹窗 */
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    width: 80%;
    max-width: 380px;
    border-radius: 10px;
    z-index: 999;

    /* 温柔甜美渐变背景 */
background: linear-gradient(
    135deg,
    #fff2f4 0%,
    #ffe0e8 40%,
    #ffd4c8 75%,
    #ffe8da 100%
);

}
/* 关闭按钮 */
.close-btn {
    position: absolute;
    right: 12px;
    top: 12px;
    font-size: 22px;
    cursor: pointer;
}