
.md-tips {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  display: none;
}

.md-tips .tips-mask {
  position: absolute;
  background: #000;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: .7;
}

.md-tips .tips-inner {
  border-radius: 40px;
  color: #000;
  font-weight: bold;
  font-size: 12px;
  position: absolute;
  top: 27.5%;
  left: 20vw;
  width: 58vw;
  height: 790px;
  background-color: none;
  padding-bottom: 2vh;
}

.md-tips .tips-title {
  margin-top: 20px;
  text-align: center;
  height: 5vh;
}

.md-tips .tips-desc {
  font-size: 16px;
  line-height: 2;
  /*max-height: 503px;*/
  max-height: 75%;
  overflow-x: auto;
  margin-top: -70px;
}

.tips-desc-text p{
  margin-bottom: 20px;
  text-align: justify;
  width: 53vw;
}

.md-tips .tips-desc::-webkit-scrollbar {
  width: 12px;
  height: 0px;
  display: none;
}

.md-tips .tips-desc::-webkit-scrollbar-thumb {
  background-color: #ffcc00;
  -webkit-border-radius: 2em;
  -moz-border-radius: 2em;
  border-radius: 2em;
}

.md-tips .tips-close {
  position: absolute;
  right: 50px;
  top: -100px;
  width: 0;
  height: 0;
  cursor: pointer;
  max-width: 100%;
  z-index: 20;
}

.restriction-text {
  display: block;
  line-height: 3.4rem;
  margin-left: 2.5rem;
  margin-top: 0;
  margin-bottom: 1rem !important;
}

.age-tips-title {
  position: relative;
  top: -130px;
  z-index: 20;
  width: 350px;
}

.age-tips-bg {
  position: absolute;
  top: -8vh;
  z-index: 10;
  width: 58.5vw;
  height: 800px;
}

.tips-desc-text {
  position: relative;
  z-index: 15;
  width: 54vw;
  padding-left: 3vw;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  color: #bf5a3b;
  font-size: 2.5rem;
}

@media (max-width: 2100px) {
    .age-tips-title {
        width: 300px;
        top: -120px;
    }
    .tips-close img {
        width: 70px;
    }
    .md-tips .tips-close {
        top: -80px
    }
    .tips-desc-text {
        padding-left: 3vw;
    }
}

@media (max-width: 1650px) {
    .tips-desc-text p {
        line-height: 4rem;
        font-size: 2.2rem;
    }
}

@media (min-width: 1366px) and (max-height: 900px) {
    .md-tips .tips-inner {
        top: 10%;
        height: 850px;
    }
    .age-tips-title {
        width: 250px;
        top: -80px
    }
    .md-tips .tips-desc {
        margin-top: -50px;
    }
    .md-tips .tips-close {
        top: -60px;
    }
    .tips-close img {
        width: 70px;
    }
    .tips-desc-text {
        width: 34vw;
    }
}

@media (min-width: 1366px) and (max-height: 768px) {
    .md-tips .tips-inner {
        top: 15%;
        height: 580px;
        width: 50vw;
        left: 25vw;
    }
    .age-tips-bg {
        height: 550px;
        width: 50.3vw;
    }
    .tips-desc-text {
        padding-left: 2.5vw;
    }
    .tips-desc-text p {
        width: 46vw;
        font-size: 2rem;
    }
}

@media (min-width: 1366px) and (max-height: 600px) {
    .md-tips .tips-inner {
        top: 18%;
        height: 370px;
        width: 35vw;
        left: 32.5vw;
    }
    .md-tips .tips-close {
        top: -40px;
        right: 30px;
    }
    .tips-close img {
        width: 40px;
    }
    .age-tips-bg {
        height: 350px;
        width: 35.3vw;
    }
    .age-tips-title {
        width: 200px;
    }
    .tips-desc-text {
        padding-left: 2vw;
        width: 29vw;
    }
    .md-tips .tips-desc {
        margin-top: -40px;
    }
    .tips-desc-text p {
        margin-bottom: 10px;
    }
    .restriction-text {
        line-height: 2.7rem;
    }
    .tips-desc-text p {
        width: 32vw;
        font-size: 1.5rem;
        line-height: 2.7rem;
    }
}
@media (min-width: 1366px) and (max-height: 430px) {
    .md-tips .tips-inner {
        left: 35vw;
        width: 30vw;
        height: 300px;
    }
    .age-tips-bg {
        height: 280px;
        width: 30.2vw;
    }
    .tips-desc-text p {
        width: 26.5vw;
        font-size: 1.4rem;
        line-height: 2.4rem;
    }
    .tips-desc-text {
        width: 28vw;
        padding-left: 2vw;
    }
    .restriction-text {
        line-height: 2.4rem;
    }
}

@media (max-width: 1366px){
    .md-tips .tips-inner{
        width: 70vw;
        left: 13vw;
    }
    .age-tips-bg {
        width: 71vw;
        height: 800px;
    }
    .tips-desc-text {
        height: 100%;
        padding-left: 3.5vw;
    }
    .tips-desc-text p{
        width: 64.5vw;
        font-size: 2.2rem;
        line-height: 3.5rem;
    }
    .age-tips-title {
        width: 300px;
        top: -110px;
    }
    .tips-close img {
        width: 80px;
    }
}

@media (max-width: 1366px) and (max-height: 768px) {
    .md-tips .tips-inner {
        top: 120px;
        height: 580px;;
    }
    .md-tips .tips-desc {
        margin-top: -70px;
    }
    .age-tips-bg {
        height: 550px;
        top: -80px;
    }
    .age-tips-title {
        width: 220px;
    }
    .tips-desc-text p {
        font-size: 2rem;
        line-height: 3.2rem;
    }
    .md-tips .tips-close {
        right: 30px;
        top: -60px;
    }
    .tips-close img { 
        width: 50px;
    }
}
@media (max-width: 1366px) and (max-height: 600px) {
    .md-tips .tips-inner {
        height: 400px;
    }
    .age-tips-bg {
        height: 400px;
        top: -80px;
    }
    .md-tips .tips-close {
        top: -80px;
    }
} 

@media (max-width: 1366px) and (max-height: 430px) {
    .md-tips .tips-inner {
        left: 25vw;
        width: 50vw;
        height: 280px;
        top: 110px;
    }
    .age-tips-bg {
        height: 280px;
        width: 50.4vw;
    }
    .tips-desc-text {
        padding-left: 2.5vw;
        width: 48vw;
    }
    .tips-desc-text p {
        width: 45.5vw;
        font-size: 1.5rem;
        line-height: 2.5rem;
    }
    .age-tips-title {
        width: 180px;
    }
    .tips-close img {
        width: 40px;
    }
} 

/* ipad portrait */
@media (max-width: 1024px) {
    .md-tips .tips-close {
        left: 66vw;
        top: -100px
    }
    .tips-close img {
        width: 60px;
    }
    .md-tips .tips-desc {
        height: 90%;
        margin-top: -100px;
    }
    .tips-desc-text p {
        font-size: 2rem;
        padding-left: 1vw;
        width: 64vw;
    }
    .age-tips-bg {
        width: 74vw;
        height: 720px;
        top: -80px;
    }
    .md-tips .tips-inner {
        width: 70vw;
        left: 12vw;
        top: 170px;
        height: 790px;
    }
    .age-tips-title{
        width: 220px;
        top: -130px;
        left: 20px;
    }
}
@media (max-height: 1024px) and (min-height: 768px) and (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {
    .md-tips .tips-inner {
        top: 15%;
        width: 70vw;
        height: 700px;
        left: 15vw;
    }
    .age-tips-title {
        width: 250px;
        top: -100px;
    }
    .age-tips-bg {
        width: 70.5vw;
        height: 700px;
    }
    .md-tips .tips-close {
        top: -70px;
        left: 66.5vw;
    }
    .tips-close img {
        width: 60px;
    }
    .md-tips .tips-desc {
        margin-top: -60px;
    }
    .tips-desc-text {
        padding-left: 4vw;
        margin-top: 10px;
    }
    .tips-desc-text p {
        width: 63vw;
        font-size: 2rem;
        line-height: 3.3rem;
    }
}

@media (max-height: 1366px) and (min-height: 1024px) and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .md-tips .tips-inner {
        top: 20%;
        width: 67vw;
        height: 900px;
        left: 15vw;
    }
    .age-tips-title {
        width: 250px;
        top: -140px;
        margin-left: 0;
    }
    .age-tips-bg {
        width: 70vw;
        height: 800px;
    }
    .md-tips .tips-close {
        top: -100px;
        left: 63.5vw;
    }
    .tips-close img {
        width: 50px;
    }
    .md-tips .tips-desc {
        margin-top: -100px;
    }
    .tips-desc-text {
        padding-left: 3vw;
        margin-top: 10px;
    }
    .tips-desc-text p {
        width: 61.5vw;
        font-size: 2rem;
        line-height: 3.3rem;
    }
}

@media (max-width: 1024px) and (max-height: 768px) {
    .md-tips .tips-inner {
        height: 550px;
    }
    .age-tips-bg {
        height: 500px;
    }
    .tips-desc p {
        font-size: 1.5rem;
    }
}

@media (max-width: 1024px) and (max-height: 600px) {
    .md-tips .tips-inner {
        height: 460px;
        top: 25%;
    }
    .age-tips-bg {
        height: 400px;
    }
    .age-tips-title {
        width: 200px;
    }
}

@media (max-width: 1024px) and (max-height: 430px) {
    .md-tips .tips-inner {
        height: 320px;
        top: 110px;
    }
    .md-tips .tips-desc{
        margin-top: -90px;
    }
    .age-tips-bg {
        height: 280px;
    }
    .age-tips-title {
        width: 180px;
    }
    .tips-desc-text {
        padding-left: 3vw;
    }
    .tips-desc-text p {
        width: 64.5vw;
    }
    .tips-close img {
        width: 40px;
    }
    .md-tips .tips-close { 
        left: 68vw;
        top: -95px;
    }
}

@media (max-width: 767px) {
    .md-tips .tips-inner{
        height: 900px;
        top: 30%;
    }
    .age-tips-bg {
        height: 600px;
    }
    .md-tips .tips-close {
        top: -70px;
        left: 60vw;
    }
    .tips-close img {
        width: 45px;
    }
    .tips-desc-text {
        height: 360px;
        width: 75vw;
        padding-left: 2vw;
    }
    .tips-desc-text p {
        font-size: 1.6rem;
        line-height: 2.7rem;
        width: 72vw;
        margin-left: 2.5vw;
    }
    .restriction-text {
        line-height: 2.5rem;
    }
    .md-tips .tips-desc {
        margin-top: -60px;
        margin-left: 0;
        height: 54%;
    }
    .age-tips-title {
        width: 200px;
        top: -90px;
    }
}

@media (max-width: 767px) and (min-height: 768px) {
    .md-tips .tips-close {
        top: -100px;
        left: 67vw;
    }
    .md-tips .tips-inner {
        height: 950px;
    }
    .tips-desc-text p {
        width: 62vw;
    }
    .age-tips-title {
        top: -125px;
    }
    .md-tips .tips-desc {
        margin-top: -110px;
    }
    .tips-desc-text {
        height: 600px;
        width: 66vw;
    }
}
@media (max-width: 767px) and (max-height: 768px) {
    .md-tips .tips-close {
        top: -100px;
        left: 67vw;
    }
    .md-tips .tips-inner {
        height: 860px;
    }
    .age-tips-bg {
        height: 520px;
    }
    .tips-desc-text p {
        width: 62vw;
        font-size: 1.5rem;
    }
    .age-tips-title {
        top: -125px;
        width: 180px;
    }
    .md-tips .tips-desc {
        margin-top: -110px;
    }
    .tips-desc-text {
        height: 600px;
        width: 67vw;
    }
}

@media (max-width: 767px) and (max-height: 600px) {
    .md-tips .tips-close {
        top: -90px;
        left: 71vw;
    }
    .md-tips .tips-inner {
        width: 80vw;
        left: 10vw;
    }
    .age-tips-bg {
        height: 400px;
        width: 80vw;
    }
    .tips-desc-text {
        height: 330px;
    }
    .tips-desc-text p{
        width: 69vw;
    }
    .md-tips .tips-inner {
        height: 600px;
        width: 77vw;
    }
    .md-tips .tips-desc {
        margin-top: -90px;
    }
    .age-tips-title {
        top: -120px;
        left: 0;
    }
}

@media (max-width: 767px) and (max-height: 430px) {
    .md-tips .tips-inner {
        height: 420px;
        top: 120px;
    }
    .md-tips .tips-desc{
        margin-top: -90px;
    }
    .age-tips-bg {
        height: 280px;
        width: 81vw;
    }
    .age-tips-title {
        width: 160px;
        left: 5px;
    }
    .tips-desc-text p {
        width: 69.5vw;
    }
    .tips-close img {
        width: 30px;
    }
    .md-tips .tips-close { 
        left: 74vw;
        top: -90px;
    }
}


@media screen and (max-width: 600px){
    .tips-desc-text p {
        width: 61vw;
    }
    .tips-desc-text {
        width: 64vw;
    }
    .age-tips-title {
        left: 0;
    }
}

@media screen and (max-width: 600px) and (max-height: 600px){
    .md-tips .tips-inner {
        width: 77vw;
    }
    .tips-desc-text p {
        width: 68vw;
    }
}

@media screen and (max-width: 430px){
    .md-tips .tips-inner { 
        height: 740px;
    }
    .age-tips-bg {
        width: 77vw;
        height: 450px;
    }
    .tips-desc-text {
        width: 70vw;
    }
    .tips-desc-text p {
        font-size: 1.2rem;
        line-height: 2.3rem;
        margin-bottom: 10px;
        width: 64vw;
    }
    .restriction-text {
        line-height: 2.3rem;
    }
    .age-tips-title {
        width: 150px;
        left: 10px;
        top: -120px;
    }
    .md-tips .tips-close {
        top: -90px
    }
    .tips-close img {
        width: 35px;
    }
}

@media screen and (max-width: 340px){
    .md-tips .tips-inner {
        width: 85vw;
        left: 8vw;
    }
    .age-tips-bg {
        width: 85vw;
    }
    .age-tips-title {
        left: 0;
    }
    .md-tips .tips-desc {
        margin-top: -100px;
    }
    .tips-desc-text p {
        line-height: 2.1rem;
        width: 73vw;
    }
}