﻿/* 核心动画保留 */
@-webkit-keyframes swal2-show {
    0% { -webkit-transform: scale(.7); transform: scale(.7) }
    45% { -webkit-transform: scale(1.05); transform: scale(1.05) }
    80% { -webkit-transform: scale(.95); transform: scale(.95) }
    100% { -webkit-transform: scale(1); transform: scale(1) }
}
@keyframes swal2-show {
    0% { -webkit-transform: scale(.7); transform: scale(.7) }
    45% { -webkit-transform: scale(1.05); transform: scale(1.05) }
    80% { -webkit-transform: scale(.95); transform: scale(.95) }
    100% { -webkit-transform: scale(1); transform: scale(1) }
}
@-webkit-keyframes swal2-hide {
    0% { -webkit-transform: scale(1); transform: scale(1); opacity: 1 }
    100% { -webkit-transform: scale(.5); transform: scale(.5); opacity: 0 }
}
@keyframes swal2-hide {
    0% { -webkit-transform: scale(1); transform: scale(1); opacity: 1 }
    100% { -webkit-transform: scale(.5); transform: scale(.5); opacity: 0 }
}

/* 基础弹窗容器样式 */
.swal2-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 10px;
    background-color: transparent;
    z-index: 1060;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
    background: left top no-repeat rgba(0, 0, 123, 0.4);
}
.swal2-container.swal2-shown { background-color: rgba(0, 0, 0, .4) }

/* 弹窗主体样式 */
.swal2-popup {
    display: none;
    position: relative;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 32em;
    max-width: 100%;
    padding: 1.25em;
    border-radius: .3125em;
    background: #fff;
    font-family: inherit;
    font-size: 1rem;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.swal2-popup.swal2-show { -webkit-animation: swal2-show .3s; animation: swal2-show .3s }
.swal2-popup.swal2-hide { -webkit-animation: swal2-hide .15s forwards; animation: swal2-hide .15s forwards }

/* 弹窗内部元素样式 */
.swal2-title {
    display: block;
    max-width: 100%;
    margin: 0 0 .4em;
    padding: 0;
    color: #595959;
    font-size: 1.725em;
    font-weight: 600;
    text-align: center;
    word-wrap: break-word;
}
.swal2-input {
    display: flex;
    width: 320px;
    height: 2.625em;
    margin: 1em auto;
    padding: .75em;
    -webkit-transition: border-color .3s, -webkit-box-shadow .3s;
    transition: border-color .3s, box-shadow .3s;
    border: 1px solid #d9d9d9;
    border-radius: .1875em;
    font-size: 1.0625em;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .06);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .06);
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.swal2-inputerror, .swal2-input.swal2-inputerror {
    border-color: #f27474 !important;
    -webkit-box-shadow: 0 0 2px #f27474 !important;
    box-shadow: 0 0 2px #f27474 !important;
}
.swal2-validation-message {
    display: none;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 1em 0 0;
    padding: .625em;
    background: #f0f0f0;
    color: #666;
    font-size: 0.9625em;
    font-weight: 300;
    overflow: hidden;
    text-align: center;
}
.swal2-validation-message::before {
    content: "!";
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    margin: 0 .625em;
    border-radius: 50%;
    background-color: #f27474;
    color: #fff;
    font-weight: 600;
    line-height: 1.5em;
    text-align: center;
}
.swal2-actions {
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 1.25em auto 0;
}
.swal2-confirm {
    margin: 0 .3125em;
    padding: .625em 2em;
    border: 0;
    border-radius: .25em;
    background-color: #3085d6;
    color: #fff;
    font-size: 1.0375em;
    font-weight: 500;
    cursor: pointer;
    -webkit-box-shadow: none;
    box-shadow: none;
}
/* 占位文字“强烈建议发给你的好朋友们~”颜色调浅 */
.swal2-input::placeholder {
    color: #d0d0d0; /* 极浅灰色，比输入文字更淡，避免混淆 */
    -webkit-text-fill-color: #d0d0d0; /* 适配Safari */
    opacity: 1; /* 确保清晰可见 */
}

/* 内容展示区样式 */
.load {
    display: none;
    height: 100vh;
    background-color: #fefefe;
    color: #333;
    animation: fadeInAnimation ease 3s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}
@keyframes fadeInAnimation {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
#imgban, #videos {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
}
.sptp {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 45vh;
}
.sps {
    width: 80%;
    max-width: 450px;
    height: 35vh;
    position: absolute;
    bottom: -92px;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow-wrap: break-word;
    word-break: break-all;
    text-align: center;
    font-size: 1.3em;
}
#toptext {
    width: 80%;
    max-width: 450px;
    position: absolute;
    top: 23px;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow-wrap: break-word;
    word-break: break-all;
    text-align: center;
    font-size: 1.3em;
    font-weight: 700;
}

/* 更多按钮样式 */
.div_btn {
    display: none;
    position: fixed;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border: 2px solid #fff;
    border-radius: 50%;
    font-size: .9em;
    line-height: 38px;
    text-align: center;
    z-index: 999;
}
.div_btn a {
    color: #fff;
    text-decoration: none;
    text-shadow: 1px 1px 1px #000;
}
#div_support {
    bottom: 80px;
    right: 15px;
    background-color: rgba(0,0,0,.3);
}

/* 响应式样式 */
@media screen and (max-width: 600px) {
    .swal2-popup { width: 90%; }
}
@media screen and (min-width: 600px) {
    .load p { top: 610px; }
}

/* 基础样式重置 */
html, body, div, h1, * {
    margin: 0;
    padding: 0;
}
body {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    /* IOS禁止微信调整字体大小 */
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
    -moz-text-size-adjust: 100% !important;
}