/* TIP 弹窗 按钮 css */
.box {
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    position: absolute;
    pointer-events: none;
}

.layer {
    width: 331.7px;
    height: 198.7px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    display: flex;
    flex-direction: column;
}

.tips {
    left: 50%;
    top: 10%;
    transform: translate(-50%, -50%);
    color: #FFE536;
    font-size: 20px;
    position: absolute;
}

.text-tips {
    position: absolute;
    top: 30%;
    color: #ffffff;
    font-size: 18px;
    max-width: 300px;
    align-self: center;
    word-break: break-word;
    text-align: center;
}

/* .btn {
    position: absolute;
    width: 40%;
    height: 20%;
    left: 5%;
    top: 70%;
    border: none;
    background-color: transparent;
    pointer-events: all;
}

.btn-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
} */

.btn-node {
    position: absolute;
    height: 50px;
    width: 50px;
    top: 40px;
    left: 40px;
}

.web-button {
    position: absolute;
    height: 50px;
    width: 50px;
    border: none;
    /* background-color: #272636; */
    background-color: transparent;
    background-size: 100%;
    background-position: center;
}

.btn-menu {
    left: 0px;
    background-image: url("./image/sf_btn_menu1.png");
}

.btn-back {
    left: 0px;
    background-image: url("./image/sf_btn_back1.png");
}

.btn-home {
    background-image: url("./image/sf_btn_home1.png");
}

.btn-shop {
    background-image: url("./image/sf_btn_shop1.png");
}

/* .btn-menu:hover {
    background-image: url("./image/sf_btn_menu2.png");
}

.btn-menu:active {
    background-image: url("./image/sf_btn_menu2.png");
}

.btn-menu:focus {
    background-image: url("./image/sf_btn_menu2.png");
}

.btn-back:hover {
    background-image: url("./image/sf_btn_back2.png");
}

.btn-back:active {
    background-image: url("./image/sf_btn_back2.png");
}

.btn-back:focus {
    background-image: url("./image/sf_btn_back2.png");
}

.btn-home:hover {
    background-image: url("./image/sf_btn_home2.png");
}

.btn-home:active {
    background-image: url("./image/sf_btn_home2.png");
}

.btn-home:focus {
    background-image: url("./image/sf_btn_home2.png");
}

.btn-shop:hover {
    background-image: url("./image/sf_btn_shop2.png");
}

.btn-shop:active {
    background-image: url("./image/sf_btn_shop2.png");
}

.btn-shop:focus {
    background-image: url("./image/sf_btn_shop2.png");
} */

/* webview loading */

.webview-node {
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    position: absolute;
    pointer-events: none;
}

.webview-loading {
    width: 30px;
    height: 30px;
    left: 50%;
    top: 50%;
    /* 居中位置 宽度和长度的一半 */
    margin-left: -15px;
    margin-top: -15px;
    position: absolute;

    animation: animationContainer 2s ease infinite;
}

.shape {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    position: absolute;
}

.shape-1 {
    background-color: #1875e5;
    left: 0;
    animation: animationShape1 1s ease infinite alternate;
}

.shape-2 {
    background-color: #c5523f;
    right: 0;
    animation: animationShape2 1s ease infinite alternate;
}

.shape-3 {
    background-color: #499255;
    bottom: 0;
    animation: animationShape3 1s ease infinite alternate;
}

.shape-4 {
    background-color: #f2b736;
    right: 0;
    bottom: 0;
    animation: animationShape4 1s ease infinite alternate;
}

@keyframes animationContainer {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes animationShape1 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(20px, 20px);
    }
}

@keyframes animationShape2 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-20px, 20px);
    }
}

@keyframes animationShape3 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(20px, -20px);
    }
}

@keyframes animationShape4 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-20px, -20px);
    }
}

/* ------------------loading index 初始加载特效-------------------- */

.sk-circle {
    display: inline-block;
    width: 100px;
    height: 100px;

    left: 50%;
    top: 50%;
    /* 居中位置 宽度和长度的一半 */
    margin-left: -50px;
    margin-top: -50px;
    position: absolute;
}

.sk-circle .sk-child {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.sk-circle .sk-child:before {
    content: '';
    display: block;
    margin: 0 auto;
    width: 15%;
    height: 15%;
    background-color: #61E8EA;
    border-radius: 100%;
    -webkit-animation: sk-circleBounceDelay 1.2s infinite ease-in-out both;
    animation: sk-circleBounceDelay 1.2s infinite ease-in-out both;
}

.sk-circle .sk-circle2 {
    -webkit-transform: rotate(30deg);
    -ms-transform: rotate(30deg);
    transform: rotate(30deg);
}

.sk-circle .sk-circle3 {
    -webkit-transform: rotate(60deg);
    -ms-transform: rotate(60deg);
    transform: rotate(60deg);
}

.sk-circle .sk-circle4 {
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.sk-circle .sk-circle5 {
    -webkit-transform: rotate(120deg);
    -ms-transform: rotate(120deg);
    transform: rotate(120deg);
}

.sk-circle .sk-circle6 {
    -webkit-transform: rotate(150deg);
    -ms-transform: rotate(150deg);
    transform: rotate(150deg);
}

.sk-circle .sk-circle7 {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

.sk-circle .sk-circle8 {
    -webkit-transform: rotate(210deg);
    -ms-transform: rotate(210deg);
    transform: rotate(210deg);
}

.sk-circle .sk-circle9 {
    -webkit-transform: rotate(240deg);
    -ms-transform: rotate(240deg);
    transform: rotate(240deg);
}

.sk-circle .sk-circle10 {
    -webkit-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    transform: rotate(270deg);
}

.sk-circle .sk-circle11 {
    -webkit-transform: rotate(300deg);
    -ms-transform: rotate(300deg);
    transform: rotate(300deg);
}

.sk-circle .sk-circle12 {
    -webkit-transform: rotate(330deg);
    -ms-transform: rotate(330deg);
    transform: rotate(330deg);
}

.sk-circle .sk-circle2:before {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
}

.sk-circle .sk-circle3:before {
    -webkit-animation-delay: -1s;
    animation-delay: -1s;
}

.sk-circle .sk-circle4:before {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}

.sk-circle .sk-circle5:before {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
}

.sk-circle .sk-circle6:before {
    -webkit-animation-delay: -0.7s;
    animation-delay: -0.7s;
}

.sk-circle .sk-circle7:before {
    -webkit-animation-delay: -0.6s;
    animation-delay: -0.6s;
}

.sk-circle .sk-circle8:before {
    -webkit-animation-delay: -0.5s;
    animation-delay: -0.5s;
}

.sk-circle .sk-circle9:before {
    -webkit-animation-delay: -0.4s;
    animation-delay: -0.4s;
}

.sk-circle .sk-circle10:before {
    -webkit-animation-delay: -0.3s;
    animation-delay: -0.3s;
}

.sk-circle .sk-circle11:before {
    -webkit-animation-delay: -0.2s;
    animation-delay: -0.2s;
}

.sk-circle .sk-circle12:before {
    -webkit-animation-delay: -0.1s;
    animation-delay: -0.1s;
}

@-webkit-keyframes sk-circleBounceDelay {

    0%,
    80%,
    100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    40% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes sk-circleBounceDelay {

    0%,
    80%,
    100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    40% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

/* -----------------横版输入框--------------------------------- */

.postbird-box-container {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
}

.postbird-box-content {
    width: 400px;
    max-width: 90%;
    min-height: 150px;
    background-color: #fff;
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, 0%);
    border-radius: 16px;
}

.postbird-box-footer {
    width: 100%;
    position: absolute;
    bottom: 0;
    display: flex;
    border-top: solid 1px #dfdfdf;
}

.postbird-box-footer .btn-footer {
    line-height: 44px;
    border: 0;
    background-color: #fff;
    font-size: 1.1em;
    transition: background-color .5s;
    -webkit-transition: background-color .5s;
    -o-transition: background-color .5s;
    -moz-transition: background-color .5s;
}

.postbird-box-footer .btn-footer:hover {
    background-color: #e5e5e5;
}

.postbird-box-footer .btn-left-footer {
    position: relative;
    width: 100%;
    color: #010101;
    border-radius: 16px;
}

.postbird-box-footer .btn-right-footer {
    position: relative;
    width: 100%;
    color: #0e90d2;
    border-radius: 16px;
}

.postbird-box-footer .btn-left-footer::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    background-color: #e5e5e5;
    height: 100%;
    width: 1px;
}

.postbird-prompt-input {
    position: absolute;
    left: 10px;
    right: 10px;
    top: 30px;
    font-size: 20px;
    border: 2px solid #e5e5e5;
    outline-color: #0e90d2;
    padding: 10px 10px 10px 10px;
    border-radius: 18px;
}

/* 第三方登录 */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    animation: fadeInOverlay 0.3s ease;
}

@keyframes fadeInOverlay {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal {
    position: relative;
    background-color: white;
    border-radius: 16px;
    padding: 30px 40px;
    width: 360px;
    max-width: 70%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.modal h2 {
    text-align: center;
    margin-bottom: 12px;
    color: black;
}

.close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #e6e6e6;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.close-btn:hover {
    background-color: #ccc;
}

.close-btn svg {
    width: 16px;
    height: 16px;
    stroke: #333;
}

.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
}