@font-face {
    font-family: 'pmzd';
    src: url('https://yunyingcdn.thecover.cn/2024hongbao/static/font/pmzd.ttf');
}

body, html, h1, h2, h3, h4, h5, h6, ul, li, p {
    padding: 0;
    margin: 0;
}

img {
    width: 100%;
    outline: none;
    -webkit-touch-callout: none;
}

body {
    font-family: Helvetica,Tahoma,Arial,"PingFang SC","Hiragino Sans GB","Heiti SC","Microsoft YaHei","WenQuanYi Micro Hei";
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-text-size-adjust: none;
    position: relative;
    background: #bd0e12;
}

a:focus,
input:focus,
p:focus,
img:focus,
div:focus {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.loading-wrap {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 20;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, .7);
    font-family: 'pmzd';
}
.loading-wrap .loading-img {
    width: 44.7222vmin;
    height: 43.8889vmin;
    background: url('https://yunyingcdn.thecover.cn/2024hongbao/static/img/loading.png') no-repeat center center;
    background-size: 100% 100%;
    animation: rotate 3s infinite linear;
}
.loading-wrap p {
    font-size: 6.4815vw;
    color: #fff;
    position: absolute;
    line-height: 1.4;
    left: 50%;
    top: 50%;
    -webkit-transform: translate3d(-50%, -50%, 0);
    transform: translate3d(-50%, -50%, 0);
}
.loading-wrap p i {
    display: inline-block;
    height: 1em;
    line-height: 1em;
    text-align: left;
    vertical-align: -0.2em;
    overflow: hidden;
}
.loading-wrap p i::before{
    display: block;
    content: '...\A..\A.';
    white-space: pre-wrap;
    animation: dot 3s infinite step-start both;
    -webkit-animation: dot 3s infinite step-start both;
}


.load-error {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 21;
    display: none;
    font-size: 0;
    background-color: #fff;
}
.load-error-inner {
    width: 40vmin;
    position: relative;
    left: 30vmin;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    text-align: center;
}
.load-error-inner p {
    font-size: 4vmin;
    color: #333;
    text-align: center;
    line-height: 1.4;
    padding: 3.704vmin 0 2.778vmin;
}
.reload-btn {
    font-size: 4vmin;
    color: #fff;
    background-color: #bd0e12;
    border-radius: 1vmin;
    display: inline-block;
    width: 25vmin;
    height: 7.87vmin;
    line-height: 7.87vmin;
    cursor: pointer;
    letter-spacing: 1vmin;
}

@-webkit-keyframes rotate {
    100% {
        -webkit-transform: rotateZ(360deg);
    }
}

@keyframes rotate {
    100% {
        transform: rotateZ(360deg);
    }
}

@keyframes dot {
    25% { 
        transform: translateY(-3em);
    }
    50% { 
        transform: translateY(-2em);
    }
    75% {
        transform: translateY(-1em);
    }
}

@-webkit-keyframes dot {
    25% { 
        -webkit-transform: translateY(-3em);
    }
    50% { 
        -webkit-transform: translateY(-2em);
    }
    75% {
        -webkit-transform: translateY(-1em);
    }
}
