.image-dialog-mask {
    position: fixed;
    top: auto;
    /* 取消顶部定位 */
    bottom: 10px;
    /* 距离底部20px */
    left: auto;
    /* 取消左侧定位 */
    right: 50px;
    /* 距离右侧20px */
    width: auto;
    /* 宽度自适应内容 */
    height: auto;
    /* 高度自适应内容 */
    z-index: 1000;
    display: block;
    /* 改为block布局 */
}

/*图片容器样式（限制最大尺寸）*/
.image-container {
    position: relative;
    max-width: 300px;
    /* 最大宽度300px */
    max-height: 300px;
    /* 最大高度300px */
}

/*图片样式（匹配容器尺寸）*/
.dialog-image {
    max-width: 300px;
    /* 图片最大宽度300px */
    max-height: 300px;
    /* 图片最大高度300px */
    border-radius: 8px;
    background-color: transparent;
    outline: none;
    border: none;
}

/*中间提示文字样式*/
.dialog-text {
    width: 80%;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    color: #FF0000;
    text-align: left;
    font-family: 'Inter', sans-serif;
    z-index: 1;
    line-height: 1.6;
}

/*关闭按钮样式*/
.close-btn {
    position: absolute;
    top: -40px;
    /* 距离容器顶部10px */
    right: 0px;
    /* 距离容器右侧10px */
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: #333;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;

    &:hover {
        background: #666;
    }
}