:root {
    --from-opacity: 0;
    --to-opacity: 1;
    --from-bottom: 0;
    --to-bottom: 0;
    --from-scale: 0;
    --to-scale: 1;
    --from-x: 0;
    --to-x: 0;
}

@font-face {
    font-family: FZCuYuan;
    src: url("./../font/fzcy.ttf");
}

* {
    margin: 0;
    padding: 0;
    font-family: "Helvetica", "PingFangSC-Regular", "SourceHanSansCN-Normal";
    outline: none;
}

body {
    overflow: hidden;
}

img {
    image-rendering: optimizeQuality;    
    /* pointer-events: none; */
    -webkit-user-drag: none;
    user-select: none;
}

.div_flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.div_flex_right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 0 2.7%;
}

.div_flex_left {
    display: flex;
    align-items: center;
    margin: 0 3.2%;
}

.div_flex_center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.img_close {
    width: 32px;
    width: 32px;
}

.div_toast {
    width: fit-content;
    height: fit-content;
    font-size: 0.875rem;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%);
    margin: auto;
    z-index: 99999;
}

.p_toast_bg {
    position: absolute;
    border-radius: 10px;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #000;
    opacity: 0.8;
}

.p_toast {
    line-height: 2.5rem;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.div_loader {
    position: absolute;
    z-index: 9999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#loader {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #555;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: inline-block;
    animation: spin 2s linear infinite;
}