* {
    margin: 0;
    padding: 0;
}

html {
    font-size: 37.5px;
}

body {
    /* font-size: 24px; */
    font-family: 'Times New Roman', Times, serif;
    color: #474747;
}

a {
    text-decoration: none;
}

a:link,
a:visited {
    color: inherit;
}

.pos_rela {
    position: relative;
}

.blue {
    background: linear-gradient(to top, rgba(52, 114, 255, 1), rgba(52, 114, 255, 0)) !important;
}

.yellow {
    background: linear-gradient(to top, rgba(255, 213, 52, 1), rgba(255, 213, 52, 0)) !important;
}

.green {
    background: linear-gradient(to top, rgba(108, 191, 42, 1), rgba(108, 191, 42, 0)) !important;
}

.pink {
    background: linear-gradient(to top, rgba(236, 39, 124, 1), rgba(236, 39, 124, 0)) !important;
}

.purple {
    background: linear-gradient(to top, rgba(152, 19, 160, 1), rgba(152, 19, 160, 0)) !important;
}

.overflow {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -999;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .7);
}

.dialog {
    z-index: 2000;
    position: fixed;
    top: 45%;
    left: 50%;

    width: 90%;
    max-width: 420px;
    /* 限制最大宽度，适配PC */
    height: auto;
    max-height: 90vh;
    /* 避免太高超出视口 */
    overflow: hidden;
    font-size: 4.08163vw;
    background-color: #fff;
    border-radius: 2vw;
    transform: translate3d(-50%, -50%, 0);
    backface-visibility: hidden;
    transition: .3s;
    transition-property: transform, opacity;
}

.ads-close {
    display: flex;
    justify-content: right;
    margin-right: 3.06122vw;
    color: #dbdbdb;
    font-size: 1rem;
    width: 8%;
    float: right;
}

/* 移动端专用调整 */
@media screen and (max-width: 768px) {
    .dialog {
        width: 100%;
        border-radius: 2vw;
    }
}