html,
body {
    -ms-touch-action: none;
    /* background: #0089d7; */
    background: #fff;
    padding: 0;
    border: 0;
    margin: 0;
    /* height: 100%; */
    /* 
    自动广告插入会给body设置overflow：hidden 
    fungameloft 有看到这种现象，但是958好像并没有这种现象，加上双保险吧
    */
    overflow: auto!important; 
    width: 100vw;
    position: relative;
}

#gameFrameContainer {
  position: absolute;
  width: 100%;
  height: 80vh; /*浏览器地址栏会导致这个值变化*/
  /* height: auto; */
  left: 9999px; 
  top: 0;
  /* visibility: hidden; */
  /* display: none; */ /*导致游戏不会提前加载*/
  margin-bottom: 3px;
}

#gameFrameContainer .back-btn {
  width: 45px;
  height: 45px;
  position: absolute;
  left: 60px;
  top: 15px;
}
#gdt_1 {
  position:absolute;
  top:0px;
  width:100%;
  height: 100px;
  text-align: center;
}
.loading-page #view1 {
  min-height: 100vh;
}
#view1  {
  position: relative;
  /* color: #fff;
  background: #ba8c50; */
  /* height: 100vh; */
  width: 100vw;
  /* min-height: 100vh; */
}
#view1 .top-info {
  /* padding-top: 3.1481vw;
  margin-bottom: 4.3519vw; */
  color: #333333;
  text-align: center;
  background: url('../imgs/top-bg.png') center top no-repeat;
  background-size: 100vw 81.8519vw;
  padding-top: 9.2593vw;
  padding-bottom: 6.5741vw;
}
.top-info-part1 {
  /* display: flex;
  justify-content: flex-start;
  padding: 0 3.1481vw; */
}

.view1-inner {
  /* background: url(../imgs/bg-v2.png); */
  /* background: #ba8c50; */
  /* min-height: 100vh; */
  box-sizing: border-box;
}


#view1 .top-info .icon-wrapper {

  width: 22.963vw;
  height: 22.963vw;
  border-radius: 4.1667vw;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0px 0.463vw 1.8519vw 1px rgba(0, 7, 48, 0.45);

}
#view1 .top-info .icon-wrapper .icon {
  width: 20.0926vw;
  height: 20.0926vw;
  border-radius: 3.2407vw;
  display: block;
}
#view1 .top-info .name {
  font-size: 4.6296vw;
  font-weight: bold;
  color: #000000;
  line-height: 1;
  margin-top: 9.2593vw;
}
#view1 .top-info .players {
  font-size: 2.7778vw;
}

#view1 .top-info .rate-wrapper .rate {
  font-size: 3.7037vw;
  font-weight: normal;
  color: #505050;
  line-height: 1;
}

.rate-wrapper {
  margin-top: 2.7778vw;
  margin-bottom: 2.7778vw;
}
#view1 .stars {
  /* vertical-align: top; */
  /* padding-left: 3.1128vw; */
  display: inline-block;
}
#view1 .stars .star {
  background-size: 2.2222vw 2.2222vw;
  background-position: center center;
  background-repeat: no-repeat;
  /* display: inline-block; */
  float: left;
  width: 3.3333vw;
  height: 3.1481vw;
  margin-right: 1px;
  line-height: 1;
}
#view1 .stars .star.full {
  background-image: url('../imgs/star3-full.png');
}
#view1 .stars .star.empty {
  background-image: url('../imgs/star3-empty.png');
}
#view1 .stars .star.half {
  background-image: url('../imgs/star3-half.png');
}
.play-btn {
  width: 88.3333vw;
  height: 10.8333vw;
  line-height: 10.8333vw;
  text-align: center;
  margin: 0 auto;
  background: #0287FE;
  border-radius: 0.9259vw;
  font-size: 4.6296vw;
  color: #fff;
  /* margin-top: 9.2593vw; */
  position: relative;
  box-shadow: 0px 0.7407vw 3.3333vw 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 2.6852vw;
}
.scale-in-out {
  animation: scaleInOut 1s linear infinite;
}
.arrow {
  display: inline-block;
  width: 2.963vw;
  height: 3.1481vw;
  margin-right: 4.8148vw;
  background: url('../imgs/arrow.png') center center no-repeat;
  background-size: 100% 100%;
  animation: moveLR 1s linear infinite;
}
@keyframes moveLR {
  0% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(4px);
  }
  50% {
    transform: translateX(0);
  }
  75% {
    transform: translateX(-4px);
  }
  100% {
    transform: translateX(0);
  }
}
@keyframes scaleInOut {
  0% {
    transform: scale(0.9, 0.9);
  }
  50% {
    transform: scale(1.0, 1.0);
  }
  100% {
    transform: scale(0.9, 0.9);
  }
}
.desc-title {
  padding-left: 2.6852vw;
  height: 6.7593vw;
  font-size: 4.8148vw;
  line-height: 6.7593vw;
  margin-top: 7.8704vw;
  margin-bottom: 5.2778vw;
}

#view1__ad {
  background: #fff;
  /* width: calc(100vw - 15.5642vw); */
  margin: 0 auto;
} 
#view1 ins {
  display: block;
  /* width: inherit; */
  height: 300px;
  box-shadow: 0px 4px 20px 4px rgba(0, 0, 0, 0.07);
}


#view1 .desc {
  font-size: 3.0556vw;
  font-weight: normal;
  color: #484848;
  line-height: 5.5556vw;
  background: #F2F2F2;
  border-radius: 3.7037vw;
  margin: 9.2593vw 5.8333vw;
  padding: 4.3519vw 5.5556vw;
}

#view1 .loading-bar {
  position: relative;
  display: none;
}

#view1 .loading-bar .loading-btn {
  width: 77.3%;
  margin: 0 auto;
  margin-top: 7.7821vw;
  border: 1.0376vw solid #fde6b9;
  padding: 0.5188vw;
  /* border-radius: 2px; */
}
#view1 .loading-bar .loading-btn .loading-btn-inner {
  background: #fde6b9;
  height: 8.69vw;
  /* border-radius: 2px; */

  box-sizing: border-box;
}
#view1 .loading-bar .loading-text {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 7.1336vw;
  pointer-events: none;
}

#view1 .loading-bar .loading-btn.completed {
  border-color: #5f4627;
}
#view1 .loading-bar .loading-btn.completed .loading-btn-inner {
  background: #5f4627;
}



#view1 .recommend-block .recommend-title {
  position: relative;
  font-size: 4.6296vw;
  font-weight: bold;
  color: #000000;
  line-height: 1;
  padding-left: 10px;
  margin-bottom: 4.6296vw;
}
#view1 .recommend-block .recommend-title::before {
  position: absolute;
  top: 4px;
  left: 0;
  content: "";
  width: 4px;
  height: 13px;
  background: #0287FE;
  border-radius: 4px;
}

#view1 .recommend-block {
  margin: 0 6.4851vw;
  margin-top: 9.2593vw;
  /* display: none; */
}
.recommend-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.recommend-line {
  /* background: rgb(125 90 50 / 74%); */
  border-radius: 1.5564vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4267vw;
}
.recommend-item {
  background: #fff;
  flex-basis: 20.7407vw;
  /* height: 22.0493vw;  */
  
  border-radius: 2.7778vw;
  box-shadow: 0px 4px 20px 4px rgba(0, 0, 0, 0.07);
  /* padding: 1.9444vw; */
  box-sizing: border-box;
  margin-bottom: 3.8889vw;
}
a {
  color: inherit;
  text-decoration: none;
}
.players-desc {
  font-size: 3.0556vw;
  font-weight: bold;
  color: #484848;
  line-height: 4.1667vw;
  text-align: center;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 20.7407vw;
  box-sizing: border-box;
  padding: 0 1.0185vw;
  padding-bottom: 1.3889vw;
}
.recommend-item img {
  width: 20.7407vw;
  height: 20.7407vw;
  /* border-radius: 3.2407vw; */
}
.recommend-line-descs {
  color: #fff;
  padding: 3.1128vw 0;
  font-size: 0;
}
.recommend-line-desc-item {
  display: inline-block;
  width: 50%;
  font-size: 3.4241vw;
  padding-left: 2.594vw;
  box-sizing: border-box;
}





/* #view1 .title {
  padding: 0 9px;
  padding-top: 16vh;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4.1vh;
}
#view1 .title .icon {
  flex: 0;
  width: 68px;
  height: 68px;
  margin-right: 21px;
}
#view1 .title .game-info {
  flex: 1; 
}

#view1 .title .game-info .name-wrapper {
  display: flex;
  justify-content: space-between;
}
#view1 .title .game-info .name {
  font-size: 21px;
  word-break: break-all;
}
#view1 .title .game-info .rate {
  font-size: 18px;
}
#view1 .title .game-info .good {
  width: 15px;
  height: 19px;
}

#view1 .title .good-tips {
  margin-top: 2.34375vh;
}
#view1 .title .game-info .like {
  font-size: 18px;
} */


#view1 .loading-tips {
  margin-top: 8px;
  text-align: center;
  margin-bottom: 14px;
}



@keyframes spCircRot {
  0% {
      transform: rotate(0)
  }

  to {
      transform: rotate(359deg)
  }
}



#gdt_3 {
  position:fixed;
  width: 100%; 
  height:100%;
  z-index: 9999;
  background-color: #000000;
  display: none;
  top: 0;
  left: 0;
}
#gdt_3 .afg-wrapper {
  position:absolute;
  top: 80px;
  width: 100%; 
  bottom: 0px
}

#gdt_3 .afc-wrapper {
  position:absolute;
  top: 0px;
  width: 100%; 
  bottom: 0px;
  text-align: center;
}

#gdt_3 .dynamic-afc {
  width: 100%;
  top: 50%;
  left:50%;
  transform: translateX(-50%) translateY(-50%);
  font-size: 20.7px;
  position: absolute;
  text-align: center;
  background: #eee;
}

.afc-wrapper__play {
  width: 30%;
  height: 32px;
  line-height: 32px; 
  border: 3px solid #fff;
  border-radius: 8px;
  position: absolute;
  top: 0;
  margin-top: 40px;
  margin-left: 35%;
  text-align: center; 
}

.afc-wrapper #progress {
  display: block;
  width: 100%;
  height: 100%;
  background: #76af2b;
  border-radius: 4px;
  box-shadow: 0 0 6px 0 #8435d9;
  transition: width .5s; 
  color: white;
  text-align: center;
  font-size: 20px;
}

.interstitial-root {
  position: fixed;
  top: 0;
  bottom: 0;
  overflow-y: scroll;
  left: 0;
  width: 100vw;
  background: url('../imgs/bg-part.jpeg') repeat;
  background-size: 40px 41px;
  z-index: 99999;
}

.interstitial-root .ir-header {
  height: 18.5185vw;
  background: url('../imgs/ir-header.png') center center no-repeat;
  background-size: 62.963vw 5.3704vw;
}
.interstitial-root .ad-container-wrapper {
  background: #fff;
  padding: 2.5926vw 0;
}
.interstitial-root .ad-container {
  margin: 0 auto;
  height: 300px;
  background: #eee;
}
.interstitial-root .btn.continue {
  margin-top: 4.6296vw;
}
.interstitial-root .btn {
  width: 36.8519vw;
  height: 12.1296vw;
  margin: 0 auto;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  background: linear-gradient(180deg, #FFDB15, #EDB700);
  border: 1.3889vw solid #FFFFFF;
  box-shadow: 0px 0.5556vw 2.8704vw 0.8333vw #BF7700;
  font-size: 3.7037vw;
  font-weight: bold;
  color: #FFFFFF;
  /* line-height: 1.1111vw; */
  /* padding: 4.1667vw 3.3333vw; */
  border: 1.3889vw solid #fff;
  border-radius: 2.7778vw;
}

.interstitial-root .more-games .more-game-header {
  height: 4.8148vw;
  background: url('../imgs/more-title.png') center center no-repeat;
  background-size: 43.8889vw 4.8148vw;
  margin: 8.3333vw 0 4.2593vw 0;
}

.interstitial-root .more-game-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background: #000;
  background: rgb(0 0 0 / 15%);
  padding: 2.6852vw 3.3333vw;
  padding-bottom: 0;
  margin-bottom: 6.0185vw;
}
.interstitial-root .more-game-item {
  width: 29.4444vw;
  height: 34.7222vw;
  position: relative;
  margin-bottom: 2.6852vw;
}
.interstitial-root .more-game-item .game-icon {
  width: 100%;
  height: 100%;
  border-radius: 3.7037vw;
}


.interstitial-root .more-game-item .game-name {
  position: absolute;
  width: 81.1%;
  bottom: 2.5vw;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #fff;
  font-size: 3.7037vw;
  line-height: 3.9815vw;
  text-align: center;
}

.interstitial-root .ir-textarea {
  width: 93.5185vw;
  height: 44.537vw;
  border-radius: 2.7778vw;
  background: #fff;
  margin: 0 auto;
  border: none;
  display: block;
  resize: none;
  padding: 1em;
  box-sizing: border-box;
}

.interstitial-root .submit-btn.btn {
  margin: 5.5556vw auto 22.2222vw auto;
}

.toast-root {
  position: fixed;
  left: 50vw;
  top: 50vh;
  transform: translate(-50%, -50%);
  padding: 0.25em 1em;
  border-radius: 4px;
  color: #fff;
  max-width: 80vw;
  min-width: 40px;
  text-align: center;
  background: rgb(0 0 0 / 65%);
  font-size: 14px;
  z-index: 9999999;
  animation: fadeInOut 2s ease-in-out forwards;
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}




.lds-spinner {
  color: official;
  display: inline-block;
  position: absolute;
  width: 30px;
  height: 30px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.lds-spinner div {
  transform-origin: 15px 15px;
  animation: lds-spinner 1.2s linear infinite;
}
.lds-spinner div:after {
  content: " ";
  display: block;
  position: absolute;
  top: 6px;
  left: 15px;
  width: 2px;
  height: 5px;
  border-radius: 20%;
  background: #fff;
}
.lds-spinner div:nth-child(1) {
  transform: rotate(0deg);
  animation-delay: -1.1s;
}
.lds-spinner div:nth-child(2) {
  transform: rotate(30deg);
  animation-delay: -1s;
}
.lds-spinner div:nth-child(3) {
  transform: rotate(60deg);
  animation-delay: -0.9s;
}
.lds-spinner div:nth-child(4) {
  transform: rotate(90deg);
  animation-delay: -0.8s;
}
.lds-spinner div:nth-child(5) {
  transform: rotate(120deg);
  animation-delay: -0.7s;
}
.lds-spinner div:nth-child(6) {
  transform: rotate(150deg);
  animation-delay: -0.6s;
}
.lds-spinner div:nth-child(7) {
  transform: rotate(180deg);
  animation-delay: -0.5s;
}
.lds-spinner div:nth-child(8) {
  transform: rotate(210deg);
  animation-delay: -0.4s;
}
.lds-spinner div:nth-child(9) {
  transform: rotate(240deg);
  animation-delay: -0.3s;
}
.lds-spinner div:nth-child(10) {
  transform: rotate(270deg);
  animation-delay: -0.2s;
}
.lds-spinner div:nth-child(11) {
  transform: rotate(300deg);
  animation-delay: -0.1s;
}
.lds-spinner div:nth-child(12) {
  transform: rotate(330deg);
  animation-delay: 0s;
}
@keyframes lds-spinner {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}



.clearfix:before, .clearfix:after{
  content: " "; 
  display: table; 
}
.clearfix:after{
  display: block;
  clear: both;
  height: 1px;
  margin-top: -1px;
  visibility: hidden;
}

.clearfix {
  *zoom: 1;
}



.ad-break-item {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
}

.ad-break-item__header {
  position: relative;
  text-align: center;
  flex-grow: 0;
  width: 100%;
  font-family: 'Roboto', arial, sans-serif;
  display: table;
  /* height: 30px; */
  font-size: 18px;
  background-color: #424242;
}

.ad-break-item__header .title {
  height: 30px;
  line-height: 30px;
  padding-top: 15px;
  padding-bottom: 15px;
  background: transparent;
  padding-right: 0.25em;
  color: #FFF;
}
.ad-break-item__header .close {
  position: absolute;
  right: 1em;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
}

.ad-break-item__ad-wrapper {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #eee;
}

.afc-container {
  position: relative;
  width: 100%;
}

.afc-container .sk {
  position: absolute;
  top: 0; 
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
}

.afc-container .inner {
  background: #ddd;
  margin: 0 auto;
}
.afc-container .inner > ins {
  display: block;
  height: 300px;
}

.flat-wrapper {
  width: 64px;
  height: 64px;
  position: fixed;
  right: 10px;
  top: 68px;
  z-index: 10;
  animation: flatBtnAni linear 2s infinite 2s;
}
@keyframes flatBtnAni {
  0% {
    transform: rotate(0);
  }
  20% {
    transform: rotate(25deg);
  }
  40% {
    transform: rotate(0);
  }
  60% {
    transform: rotate(-25deg);
  }
  80% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(0);
  }
}
.flat-wrapper a img {
  width: 64px;
  height: 64px;
}

.oafg-container {
  display: flex;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999999;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  background: #000;
  position: fixed;
}
.oafg-inner {
  width: 100%;
  min-height: 300px;
}
.oafg-container .foot-action-wrapper {
  position: absolute;
  right: 0;
  bottom: 0;
  /* padding-right: 20px; */
  padding-bottom: 20px;
  text-align: right;
}
.click-counter {
  padding-right: 20px;
  font-size: 14px;
}
.click-btn {
  border: 1px solid #ddd;
  border-right: none;
  /* display: inline-block; */
  display: none;
  font-weight: bold;
  padding: 10px 0 10px 20px;
  font-size: 16px;
}
.close-counter {
  font-size: 14px;
  color: #ddd;
  margin-top: 5px;
  margin-right: 20px;
}
.click-btn-inner {
  padding-right: 20px;
}