html {
    -ms-touch-action: none;
}

body,
canvas,
div {
    display: block;
    outline: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);

    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

body {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    margin: 0;

    cursor: default;
    color: #888;
    background-color: #000;

    text-align: center;
    font-family: Helvetica, Verdana, Arial, sans-serif;

    display: flex;
    flex-direction: column;
    overflow: hidden;
}

canvas {
    background-color: rgba(0, 0, 0, 0);
}

a:link,
a:visited {
    color: #666;
}

a:active,
a:hover {
    color: #666;
}

p.header {
    font-size: small;
}

p.footer {
    font-size: x-small;
}

.splash {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: 0 0;
    background-size: 100% 100%;
    z-index: 1;
}

.splash-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: 0 0;
    background-size: 100% 100%;
}

.splash-content {
    display: flex;
    position: absolute;
    width: 100%;
    height: 100%;

    color: yellow;

    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 6vh;

    font-size: 4vh;
}

.splash-load {
    display: none;
    top: 50%;
    width: 100%;
    color: yellow;

    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 6vh;

    font-size: 4vh;
}

.progress {
    width: 70%;
    height: 1vh;
    background-color: #888888;

    border-radius: 1vh;
}

.progressBar {
    width: 0%; /* 进度条宽度为50% */
    height: 100%;
    background-color: yellow; /* 进度条颜色为绿色 */

    border-radius: 1vh;
}

.progress-retry-button {
    text-decoration-line: underline;
    color: red;
    display: none;
    font-size: 6vh;
}

@keyframes donut-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.splash-icon-load-label {
    color: #c6c6c6;
    font-size: 2em;
    width: 100%;
    text-align: center;
    font-weight: 200;
}

.icon-loading {
    display: inline-block;
    width: 5em;
    height: 5em;
    background: url(../loading.png) no-repeat center center;
    background-size: 100%;
    vertical-align: text-bottom;
    white-space: nowrap;
    animation: donut-spin 1.2s linear infinite;
}

.loading_wrap {
    width: 100%;
    text-align: center;
    margin: 5em 0;
}

.splash-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.35);
    z-index: -1;
}
.progress-view {
    display: none;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.progress-page {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70%;
    padding: 3px;
    background: #2b2d3b;
    border-radius: 6px;
    border: 2px solid #e1c099;
    height: 1.5vh;

    position: relative;
    top: 90%; /* 以父节点上边界为基准垂直居中 */
    left: 50%; /* 以父节点左边界为基准水平居中 */
    transform: translate(-50%, -50%); /* 调整子节点自身位置，以实现居中 */
}
.progress-page-parent-bar {
    height: 100%;
    width: calc(100% - 1px);
}
.progress-page-bar {
    height: 100%;
    border-radius: 4px;
    background-color: #e7585b;
    width: 0%;
    transition: width 0.2s;
}

/* 元素缩小的动画 */
@keyframes scaledown {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}
/* 定义元素放大的动画 */
@keyframes scaleup {
    0% {
        transform: scale(0);
    }
    90% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}
/* 定义元素放大的类 */
.popup-scaleup {
    animation: scaleup 0.2s;
}
/* 定义元素缩小的类 */
.popup-scaledown {
    animation: scaledown 0.2s;
}

.popup-alert {
    position: absolute;
    display: none;
    /* display: flex; */
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0);
    color: black;
}
.popup-alert-content {
    display: block;
    width: 795px;
    height: 488px;
    background-size: contain; 
    background-repeat: no-repeat;
    background-position: center;
}

.popup-alert-content-v {
    display: block;
    width: 676px;
    height: 906px;
    background-size: contain; 
    background-repeat: no-repeat;
    background-position: center;
}


.popup-alert-aclose {
    /* width: 567px; */
    width: 100%;
    height: 67px;
    display: flex;
    justify-content: center;
    /* min-height: 30px; */
    text-align: center;
    /* background-size: 80% 100%;  */
    background-repeat: no-repeat;
    background-position: center;

    transform: translate(0px, 20px );
}


.popup-alert-aclose span {
    line-height: 30px;
    font-size: 30px;
    position: relative;
    top: 10px;
    color: #DCBF68;
    
    
    font-weight: bold;
    text-shadow: 
        -1px -1px 0 #4B2917EC,   /* 左上 */
         1px -1px 0 #4B2917EC,   /* 右上 */
        -1px  1px 0 #4B2917EC,   /* 左下 */
        1px  1px 0 #4B2917EC;   /* 右下 */
}

.popup-alert-aclose-v {
    /* width: 567px; */
    width: 100%;
    height: 83px;
    display: flex;
    justify-content: center;
    /* min-height: 30px; */
    text-align: center;
    /* background-size: 80% 100%;  */
    background-repeat: no-repeat;
    background-position: center;

    transform: translate(0px, 0px );
}


.popup-alert-aclose-v span {
    line-height: 30px;
    font-size: 30px;
    position: relative;
    top: 20px; 
    color: #DCBF68;
    
    
    font-weight: bold;
    text-shadow: 
        -1px -1px 0 #4B2917EC,   /* 左上 */
         1px -1px 0 #4B2917EC,   /* 右上 */
        -1px  1px 0 #4B2917EC,   /* 左下 */
        1px  1px 0 #4B2917EC;   /* 右下 */
}

.popup-alert-contain {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    width: 80%;
    height: calc(100% - 65px);
    font-size: 15px;
    text-align: center;
    margin-left:  10%;
    position: relative;

    transform: translateY(-10%);

}
.popup-alert-button-container {
    height: 35px;
    display: inline-flex;
    width: 100%;
    justify-content: space-evenly;
    position: relative;
    bottom: 120px;
}
/* 按钮点击效果1 */
.popup-alert-button {
    /* width:30%; */
    width: 286px;
    height: 73px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-repeat: no-repeat;
    background-position: center;

    font-size: 30px;

}
.popup-alert-button:active {
    transform: scale(0.97);
}

.font-color-button1 {
    color: #FFDCD3;
}

.font-color-button2 {
    color: #E2FFEA;
}


.font-bold {
    font-weight: bold;
}


/* 横版


@media screen and (orientation: portrait) {
    .splash {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(90deg);
        width: 100vh;
        height: 100vw;
    }
    .splash-content {
        row-gap: 6vw;
        font-size: 4vw;
    }
    .splash-load {
        row-gap: 6vw;
        font-size: 4vw;
    }
    .progress {
        height: 1vw;
        border-radius: 1vw;
    }
    .progressBar {
        border-radius: 1vw;
    }
    .progress-retry-button {
        font-size: 6vw;
    }
}

@media screen and (orientation: landscape) {
    .splash {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    .splash-content {
        row-gap: 6vh;
        font-size: 4vh;
    }
    .splash-load {
        row-gap: 6vh;
        font-size: 4vh;
    }
    .progress {
        height: 1vh;
        border-radius: 1vh;
    }
    .progressBar {
        border-radius: 1vh;
    }
    .progress-retry-button {
        font-size: 6vh;
    }

}
*/
/* 竖版
@media screen and (orientation: portrait) {
    .splash {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    .splash-content {
        row-gap: 6vh;
        font-size: 4vh;
    }
    .splash-load {
        row-gap: 6vh;
        font-size: 4vh;
    }
    .progress {
        height: 1vh;
        border-radius: 1vh;
    }
    .progressBar {
        border-radius: 1vh;
    }
    .progress-retry-button {
        font-size: 6vh;
    }
}

@media screen and (orientation: landscape) {
    .splash {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(90deg);
        width: 100vh;
        height: 100vw;
    }
    .splash-content {
        row-gap: 6vw;
        font-size: 4vw;
    }
    .splash-load {
        row-gap: 6vw;
        font-size: 4vw;
    }
    .progress {
        height: 1vw;
        border-radius: 1vw;
    }
    .progressBar {
        border-radius: 1vw;
    }
    .progress-retry-button {
        font-size: 6vw;
    }
} 
*/
.content-span
{
    display: inline-block;
    word-wrap: break-word; 
    word-break: normal;
    white-space: pre-wrap;
}

