.toast {
  position: fixed;
  left: 50%;
  top: 50%;
  height: 0.35rem;
  line-height: 0.35rem;
  font-size: 0.16rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 0.04rem;
  transform: translate(-50%, -50%);
  padding: 0 0.3rem;
  z-index: 999;
}

.active-modal-box {
  position: fixed;
  height: 100vh;
  width: 100vw;
  top: 0;
  left: 0;
  z-index: 996;
  display: flex;
  align-items: center;
  justify-content: center;
}
.active-modal-box .active-mask {
  position: absolute;
  background: rgba(0, 0, 0, 0.7);
  height: 100vh;
  width: 100vw;
  z-index: 1;
}
.active-modal-box .active-img-box {
  position: relative;
  z-index: 2;
  max-width: 8rem;
  padding: 0 1rem;
}
.active-modal-box .active-img-wrapper {
  position: relative;
  z-index: 2;
}
.active-modal-box .active-img {
  width: 100%;
}
.active-modal-box .active-close {
  width: 0.8rem;
  height: 0.8rem;
  background-image: url(../images/pop-close3.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  cursor: pointer;
  position: absolute;
  right: 0.3rem;
  transition: 0.2s;
}
.active-modal-box .active-close:hover {
  transform: rotate(90deg);
}

@media (min-width: 1360px) {
  .active-modal-box .active-img-box {
    max-width: 12rem;
  }
  .spr {
    background-image: url(../images/sprite.png);
    background-repeat: no-repeat;
    background-size: 2.5rem 11.73rem;
  }
  .center-content {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 19.2rem;
    margin: 0 auto;
  }
  .cookie-box {
    position: fixed;
    left: 0;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 0.5rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.08rem 0.4rem 0.08rem 0.25rem;
    line-height: 0.5rem;
    font-size: 0.14rem;
    line-height: 0.34rem;
    color: #E1E1E1;
    z-index: 99;
  }
  .cookie-box .link {
    font-size: 0.14rem;
    color: #E1E1E1;
    text-decoration: underline;
  }
  .cookie-box .btn-box {
    display: flex;
  }
  .cookie-box .btn-box .btn-accept {
    height: 0.34rem;
    font-size: 0.14rem;
    color: #302A22;
    line-height: 0.34rem;
    margin-right: 0.16rem;
    padding: 0 0.12rem;
    background: #fff;
    border-radius: 0.04rem;
  }
  .cookie-box .btn-box .btn-accept:hover {
    background: #03FCFF;
  }
  .cookie-box .btn-box .btn-set {
    height: 0.34rem;
    font-size: 0.14rem;
    color: #E1E1E1;
    line-height: 0.34rem;
    padding: 0 0.12rem;
    background: #000;
    border-radius: 0.04rem;
    border: 1px solid #E1E1E1;
  }
  .cookie-box .btn-box .btn-set:hover {
    color: #03FCFF;
    border-color: #03FCFF;
  }
  .btn-backtop {
    position: fixed;
    left: 50%;
    bottom: 0.8rem;
    width: 1.3rem;
    height: 0.68rem;
    background-position: 0 -5.88rem;
    padding-top: 0.42rem;
    margin-left: 7.4rem;
    font-size: 0.14rem;
    color: #fff;
    line-height: 0.16rem;
    text-align: center;
    z-index: 99;
    display: none;
  }
  .btn-backtop:hover {
    background-position: 0 -6.59rem;
    color: #03FCFF;
  }
  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 1rem;
    background: linear-gradient(180deg, #181511 0%, rgba(0, 0, 0, 0.76) 42%, rgba(0, 0, 0, 0) 100%);
    z-index: 99;
  }
  .header .center-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.4rem 0 0.9rem;
  }
  .header .left-box {
    display: flex;
  }
  .header .left-box .logo {
    width: 2.7rem;
    height: 0.85rem;
    background: url(../images/logo.png) no-repeat center/100% 100%;
  }
  .header .left-box .nav-open {
    display: none;
  }
  .header .nav {
    display: flex;
    align-items: center;
    margin-left: 0.66rem;
  }
  .header .nav .nav-item {
    position: relative;
    font-size: 0.2rem;
    color: #D7CEC2;
    height: 0.32rem;
    line-height: 0.32rem;
    margin-right: 0.3rem;
    cursor: pointer;
  }
  .header .nav .nav-item a {
    font-size: 0.2rem;
    color: #D7CEC2;
  }
  .header .nav .nav-item a:hover {
    color: #03FCFF;
  }
  .header .nav .nav-item .icon-bottom {
    display: block;
    position: absolute;
    left: 50%;
    bottom: -0.16rem;
    width: 0.12rem;
    height: 0.12rem;
    background: url(../images/icon-nav-star.png) no-repeat center/100% 100%;
    margin-left: -0.06rem;
    display: none;
  }
  .header .nav .nav-item .icon-bottom::before, .header .nav .nav-item .icon-bottom::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 0.18rem;
    height: 1px;
    background: #03FCFF;
    opacity: 0;
    overflow: hidden;
  }
  .header .nav .nav-item .icon-bottom::before {
    left: -0.2rem;
  }
  .header .nav .nav-item .icon-bottom::after {
    right: -0.185rem;
  }
  .header .nav .nav-item:last-child {
    margin-right: 0;
  }
  .header .nav .nav-item:hover {
    color: #03FCFF;
  }
  .header .nav .nav-item.active {
    position: relative;
    font-size: 0.28rem;
    color: #03FCFF;
    font-weight: bold;
  }
  .header .nav .nav-item.active .icon-bottom {
    display: block;
    animation: circle 0.3s ease-in-out;
  }
  .header .nav .nav-item.active .icon-bottom::before {
    animation: lineToRight 0.3s 0.5s linear forwards;
  }
  .header .nav .nav-item.active .icon-bottom::after {
    animation: lineToLeft 0.3s 0.5s linear forwards;
  }
  .header .right-box {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
  }
  .header .right-box .icon-topup-box {
    position: relative;
    height: 0.36rem;
    width: 1.2rem;
    margin-left: 0.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 0.02rem;
    background-color: #f4dead;
    border: 1px solid #5a3e03;
  }
  .header .right-box .icon-topup-box:hover {
    background-color: #fff;
  }
  .header .right-box .icon-topup-box .top-up__text {
    font-size: 14px;
  }
  .header .right-box .icon-topup {
    margin-left: 0.1rem;
    margin-right: 0.1rem;
    width: 0.2rem;
    height: 0.18rem;
    background: url(../images/icon-topup.png) no-repeat center/100% 100%;
    background-size: 100% 100%;
  }
  .header .lang-box {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
  }
  .header .lang-box .current-lang {
    position: relative;
    display: flex;
    min-width: 1.6rem;
    font-size: 0.16rem;
    color: #D7CEC2;
    line-height: 0.36rem;
    cursor: pointer;
  }
  .header .lang-box .current-lang .icon {
    width: 0.36rem;
    height: 0.36rem;
    background-position: -1.06rem -5.05rem;
    margin-right: 0.1rem;
  }
  .header .lang-box .current-lang:hover {
    color: #03FCFF;
  }
  .header .lang-box .current-lang:hover .icon {
    width: 0.36rem;
    height: 0.36rem;
    background-position: -1.45rem -5.05rem;
  }
  .header .lang-box .lang-list {
    position: absolute;
    left: 50%;
    top: 0.8rem;
    width: 1.9rem;
    background: #1A1D26;
    transform: translateX(-50%);
    text-align: center;
    padding: 0.12rem 0 0.14rem;
    font-size: 0.16rem;
    color: #D7CEC2;
    line-height: 0.18rem;
    display: none;
  }
  .header .lang-box .lang-list:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-top: 0.1rem solid transparent;
    border-left: 0.1rem solid transparent;
    border-right: 0.1rem solid #03FCFF;
    border-bottom: 0.1rem solid #03FCFF;
    pointer-events: none;
  }
  .header .lang-box:hover .lang-list {
    display: block;
  }
  .header .lang-box .lang-item {
    position: relative;
    margin-bottom: 0.16rem;
    cursor: pointer;
  }
  .header .lang-box .lang-item:last-child {
    margin-bottom: 0;
  }
  .header .lang-box .lang-item:hover {
    color: #03FCFF;
  }
  .header .lang-box .lang-item:hover::before {
    content: "";
    position: absolute;
    left: 0.13rem;
    top: 50%;
    width: 0.16rem;
    height: 0.16rem;
    background: url(../images/icon-right-small.png) no-repeat center/100% 100%;
    margin-top: -0.08rem;
  }
  .footer {
    padding: 0.07rem 0 0.2rem;
    text-align: center;
    font-size: 0.2rem;
    line-height: 0.16rem;
  }
  .footer .icon-estar {
    display: block;
    width: 3rem;
    height: 0.6rem;
    background: url(../images/logo-estar.png) no-repeat center/100% 100%;
    margin: 0 auto 0.02rem;
  }
  .footer .copy-right {
    color: #8C8C8C;
    margin-bottom: 0.2rem;
  }
  .footer .agreement {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #03FCFF;
  }
  .footer .agreement .link {
    font-size: 0.2rem;
    color: #03FCFF;
  }
  .dia {
    position: fixed;
    left: 50%;
    top: 50%;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    transform: translate(-50%, -50%);
    z-index: 100;
  }
  .dia .dia-body {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 4.4rem;
    height: 2.6rem;
    background: url(../images/dia-bg.png) no-repeat center/100% 100%;
    transform: translate(-50%, -50%);
    padding-top: 0.5rem;
    text-align: center;
  }
  .dia .icon-close {
    position: absolute;
    top: 0.19rem;
    right: 0.11rem;
    width: 0.16rem;
    height: 0.16rem;
    background: url(../images/icon-close.png) no-repeat center/100% 100%;
  }
  .dia .icon-close:hover {
    background: url(../images/icon-close-hover.png) no-repeat center/100% 100%;
  }
  .dia .dia-title {
    font-size: 0.24rem;
    color: #FFF;
    line-height: 0.28rem;
  }
  .dia .input-text {
    width: 3.3rem;
    height: 0.36rem;
    border: 1px solid #474747;
    background: #272727;
    text-align: center;
    margin: 0.3rem auto 0.4rem;
    font-size: 0.14rem;
    color: #fff;
    border-radius: 0.02rem;
  }
  .dia .input-text::placeholder {
    font-size: 0.14rem;
    color: #7b7b7b;
  }
  .dia .input-text:focus, .dia .input-text.active {
    color: #E1E1E1;
    border-color: #03FCFF;
  }
  .dia .tip-text {
    font-size: 0.14rem;
    color: #A5A5A5;
    line-height: 0.2rem;
    margin: 0.3rem auto 0.4rem;
  }
  .dia .btn-ok {
    display: block;
    width: 1rem;
    height: 0.35rem;
    text-align: center;
    line-height: 0.35rem;
    font-size: 0.14rem;
    font-weight: 600;
    color: #e1e1e1;
    border: 1px solid #e1e1e1;
    border-radius: 0.04rem;
    margin: 0 auto;
  }
  .dia .btn-ok:hover {
    color: #03FCFF;
    border-color: #03FCFF;
  }
}
@media (max-width: 1360px) {
  .btn-backtop {
    position: fixed;
    right: 0.2rem;
    bottom: 0.8rem;
    width: 0.96rem;
    height: 0.68rem;
    background: url(../images/m/btn-backtop.png) no-repeat center/100% 100%;
    padding-top: 0.42rem;
    font-size: 0.2rem;
    color: #C3C3C3;
    line-height: 0.22rem;
    text-align: center;
    z-index: 99;
    display: none;
  }
  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 1rem;
    background: linear-gradient(180deg, #181511 0%, rgba(0, 0, 0, 0.76) 42%, rgba(0, 0, 0, 0) 100%);
    z-index: 99;
    padding: 0 0.16rem;
  }
  .header .center-content {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .header .left-box {
    width: 0.64rem;
    height: 0.64rem;
  }
  .header .left-box .logo {
    display: none;
  }
  .header .left-box .nav-open {
    position: absolute;
    width: 0.8rem;
    height: 0.8rem;
    z-index: 3;
    transition: 0.3s;
  }
  .header .left-box .nav-open .nav-open__item {
    position: absolute;
    left: 0.1rem;
    width: 0.5rem;
    height: 0.05rem;
    background-color: #fff;
    transition: 0.2s;
    pointer-events: none;
    border-radius: 0.3rem;
  }
  .header .left-box .nav-open .nav-open__item:nth-child(1) {
    top: 0.15rem;
  }
  .header .left-box .nav-open .nav-open__item:nth-child(2) {
    top: 0.33rem;
    width: 0.35rem;
  }
  .header .left-box .nav-open .nav-open__item:nth-child(3) {
    top: 0.51rem;
  }
  .header .nav {
    position: absolute;
    left: -3.5rem;
    top: 0;
    bottom: 0;
    height: 100vh;
    width: 3.2rem;
    background: #000;
    z-index: 2;
    padding: 1.2rem 0 0 0.2rem;
    transition: left 0.3s;
  }
  .header .nav .nav-item {
    position: relative;
    font-size: 0.3rem;
    color: #D7CEC2;
    line-height: 0.4rem;
    margin-bottom: 0.8rem;
  }
  .header .nav .nav-item:last-child {
    margin-bottom: 0;
  }
  .header .nav .nav-item a {
    font-size: 0.3rem;
    color: #D7CEC2;
  }
  .header .nav .nav-item a:hover {
    color: #03FCFF;
  }
  .header .nav .nav-item.active {
    position: relative;
    color: #03FCFF;
    font-weight: bold;
  }
  .header .nav .nav-item.active .icon-bottom {
    position: absolute;
    right: 0.16rem;
    top: 50%;
    width: 0.48rem;
    height: 0.48rem;
    background: url(../images/m/icon-circle.png) no-repeat center/100% 100%;
    margin-top: -0.24rem;
  }
  .header .nav-open.open {
    transform: rotate(90deg);
  }
  .header .nav-open.open .nav-open__item {
    background-color: #03FCFF;
  }
  .header .nav-open.open + .nav {
    left: 0;
  }
  .header .nav-open.close {
    transform: none;
  }
  .header .nav-open.close .nav-open__item {
    background-color: #fff;
  }
  .header .nav-open.close + .nav {
    left: -3.5rem;
  }
  .header .right-box {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
  }
  .header .right-box .icon-topup-box {
    position: relative;
    height: 0.44rem;
    width: 1.2rem;
    margin-left: 0.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 0.04rem;
    background-color: #f4dead;
  }
  .header .right-box .icon-topup-box:hover {
    background-color: #fff;
  }
  .header .right-box .icon-topup-box .top-up__text {
    font-size: 0.14rem;
  }
  .header .right-box .icon-topup {
    margin-left: 0.1rem;
    margin-right: 0.1rem;
    width: 0.2rem;
    height: 0.18rem;
    background: url(../images/icon-topup.png) no-repeat center/100% 100%;
    background-size: 100% 100%;
  }
  .header .lang-box {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
  }
  .header .lang-box .current-lang {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 1.6rem;
    height: 0.48rem;
    font-size: 0.24rem;
    color: #D7CEC2;
    line-height: 0.48rem;
    cursor: pointer;
  }
  .header .lang-box .current-lang .icon {
    width: 0.48rem;
    height: 0.48rem;
    background: url(../images/m/icon-lang.png) no-repeat center/100% 100%;
    margin-right: 0.1rem;
  }
  .header .lang-box .current-lang:hover {
    color: #03FCFF;
  }
  .header .lang-box .lang-list {
    position: absolute;
    right: 0;
    top: 0.8rem;
    width: 2.3rem;
    background: #1A1D26;
    text-align: center;
    font-size: 0.24rem;
    color: #D7CEC2;
    line-height: 0.3rem;
    font-weight: 700;
    display: none;
  }
  .header .lang-box .lang-list:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-top: 0.1rem solid transparent;
    border-left: 0.1rem solid transparent;
    border-right: 0.1rem solid #03FCFF;
    border-bottom: 0.1rem solid #03FCFF;
    pointer-events: none;
  }
  .header .lang-box:hover .lang-list {
    display: block;
  }
  .header .lang-box .lang-item {
    position: relative;
    height: 0.7rem;
    line-height: 0.7rem;
  }
  .header .lang-box .lang-item:last-child {
    font-size: 0.22rem;
    margin-bottom: 0;
    background: #030303;
  }
  .footer {
    padding: 0.1rem 0 0.2rem;
    text-align: center;
    font-size: 0.2rem;
    line-height: 0.16rem;
  }
  .footer .icon-estar {
    display: block;
    width: 3rem;
    height: 0.6rem;
    background: url(../images/logo-estar.png) no-repeat center/100% 100%;
    margin: 0 auto 0.02rem;
  }
  .footer .copy-right {
    color: #8C8C8C;
    margin-bottom: 0.2rem;
  }
  .footer .agreement {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #03FCFF;
  }
  .footer .agreement .link {
    font-size: 0.2rem;
    color: #03FCFF;
  }
  .dia {
    position: fixed;
    left: 50%;
    top: 50%;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    transform: translate(-50%, -50%);
    z-index: 100;
  }
  .dia .dia-body {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 6.6rem;
    height: 3.9rem;
    background: url(../images/dia-bg.png) no-repeat center/100% 100%;
    transform: translate(-50%, -50%);
    padding-top: 0.7rem;
    text-align: center;
  }
  .dia .icon-close {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    width: 0.34rem;
    height: 0.34rem;
    background: url(../images/icon-close-hover.png) no-repeat center/100% 100%;
  }
  .dia .dia-title {
    font-size: 0.32rem;
    color: #FFF;
    line-height: 0.36rem;
  }
  .dia .input-text {
    width: 5.6rem;
    height: 0.6rem;
    border: 1px solid #474747;
    background: #272727;
    text-align: center;
    margin: 0.58rem auto 0.64rem;
    font-size: 0.24rem;
    color: #fff;
    border-radius: 0.02rem;
  }
  .dia .input-text::placeholder {
    font-size: 0.24rem;
    color: #7b7b7b;
  }
  .dia .input-text:focus, .dia .input-text.active {
    color: #E1E1E1;
    border-color: #03FCFF;
  }
  .dia .tip-text {
    font-size: 0.26rem;
    color: #A5A5A5;
    line-height: 0.4rem;
    margin: 0.5rem auto 0.6rem;
  }
  .dia .btn-ok {
    display: block;
    width: 2rem;
    height: 0.64rem;
    text-align: center;
    line-height: 0.64rem;
    font-size: 0.28rem;
    font-weight: bold;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 0.04rem;
    margin: 0 auto;
  }
  .cookie-box {
    position: fixed;
    left: 50%;
    bottom: 0.2rem;
    width: 6.86rem;
    background: rgba(0, 0, 0, 0.7);
    transform: translateX(-50%);
    padding: 0.26rem 0.56rem 0.34rem;
    font-size: 0.28rem;
    line-height: 0.34rem;
    color: #E1E1E1;
    z-index: 101;
    border-radius: 0.16rem;
  }
  .cookie-box .btn-box {
    margin-top: 0.34rem;
  }
  .cookie-box .btn-box .btn-accept,
  .cookie-box .btn-box .btn-set {
    display: block;
    width: 5.48rem;
    height: 0.64rem;
    font-size: 0.28rem;
    line-height: 0.64rem;
    text-align: center;
    border-radius: 0.08rem;
  }
  .cookie-box .btn-box .btn-accept {
    color: #302A22;
    background: #fff;
    margin-bottom: 0.2rem;
  }
  .cookie-box .btn-box .btn-set {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: 1px solid #8C8C8C;
  }
}
.arabic-wrap .footer .agreement {
  direction: rtl;
  flex-direction: row-reverse;
}
.arabic-wrap .header .left-box .logo {
  background: url(../images/logo-a.png) no-repeat center/100% 100%;
}
.arabic-wrap .nav .nav-item {
  text-align: right;
  margin-right: 0.6rem;
}
.arabic-wrap .nav .nav-item.active .icon-bottom {
  transform: scaleX(-1);
}
.arabic-wrap .cookie-box p {
  text-align: right;
}
