body,
html {
  width: 100%;
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  background: #fff;
  -webkit-user-select: none;
  /*禁止选中文本*/
  user-select: none;
}

body {
  /* font-family: "Helvetica Neue", Helvetica, STHeiTi, sans-serif; */
  /*使用无衬线字体*/
  font-family: "苹方";
  -webkit-text-size-adjust: 100% !important;
  /*禁止IOS调整字体大小*/
}

a,
img {
  -webkit-touch-callout: none;
  /*禁止长按链接与图片弹出菜单*/
}

button,
input,
optgroup,
select,
textarea {
  -webkit-appearance: none;
  /*去掉webkit默认的表单样式*/
}

a,
button,
input,
optgroup,
select,
textarea {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  /*去掉a、input和button点击时的蓝色外边框和灰色半透明背景*/
}

input::-webkit-input-speech-button {
  display: none;
  /*隐藏Android的语音输入按钮*/
}

* {
  margin: 0;
  padding: 0;
}

img {
  border: 0;
  width: 100%;
  vertical-align: middle; 
}

a,
a:hover {
  text-decoration: none;
}

li {
  list-style: none;
}

/* 修改input提示信息 */
input::-webkit-input-placeholder {
  /* WebKit browsers */
  color: #C3C3C3;
}

input:-moz-placeholder {
  /* Mozilla Firefox 4 to 18 */
  color: #C3C3C3;
}

input::-moz-placeholder {
  /* Mozilla Firefox 19+ */
  color: #C3C3C3;
}

input:-ms-input-placeholder {
  /* Internet Explorer 10+ */
  color: #C3C3C3;
}

.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
}

@-webkit-keyframes fadeInLeft {
  0% {
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }

  100% {
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInLeft {

  /* 动画开始 */
  0% {
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }

  /* 动画结束 */
  100% {
    -webkit-transform: none;
    transform: none;
  }
}

.fadeInLeft {
  -webkit-animation-name: fadeInLeft;
  animation-name: fadeInLeft;
}

@-webkit-keyframes fadeInRight {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  100% {
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInRight {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  100% {
    -webkit-transform: none;
    transform: none;
  }
}

.fadeInRight {
  -webkit-animation-name: fadeInRight;
  animation-name: fadeInRight;
}

.dn {
  display: none;
}

/* 外层盒子 */
.wrapper {
  width: 350px;
  /* 350 */
  height: auto;
  /* 326 */
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  margin: 0;
  background: #FFFFFF;
  border: 0.5px solid #cccccc;
  border-radius: 4px;
  /*padding: 12px 10px;*/
  padding: 30px 27.5px;
  /* 12 22 */
  box-sizing: border-box;
  letter-spacing: 1px;
  min-height: 260px;
  height: auto;
}

.wrapper.rock{
  animation: rock 0.8s 0s ease-in-out;
}

#register .wrapper{
  min-height: 315px;
}
@media screen and (max-width: 320px) and (max-height: 568px){
  .wrapper {
    transform: translate(-50%, -50%) scale(0.85);
  }
}

@media screen and (min-width: 768px) and (min-height: 768px){
  .wrapper {
    transform: translate(-50%, -50%) scale(1.8);
  }
}


/* 头部 */
.wrapper-head {
  width: 100%;
  height: 30px;
  /* 30px */
  position: relative;
  text-align: center;
  font-size: 15px;
}

.head-left-icon {
  width: 12px;
  /* 12px */
  height: 20px;
  /* 20px */
  display: inline-block;
  position: absolute;
  top: -20px;
  left: -10px;
}

.head-left-icon img {
  width: 16px;
  height: 16px;
}

.head-logo {
  width: 168px;
  /* 112 */
  height: 42px;
  /* 42px */
  position: absolute;
  top: 10%;
  left: 50%;
  margin-left: -84px
}

.head-right-icon {
  width: 17px;
  /* 18 */
  height: 17px;
  display: inline-block;
  position: absolute;
  top: -20px;
  right: -10px;
}
#bind-msg .head-right-icon{
  top: -26px;
}

.head-right-icon img {
  width: 17px;
  /* 18 */
  height: 17px;
}

/* 中部 */
.middle-container {
  width: 295px;
  /*padding: 12px;*/
  /* 12px */
}

/* 按钮 */
.btn {
  width: 100%;
  height: 39px;
  /* 50 */
  color: #FFFFFF;
  font-size: 15px;
  /* 18 */
  border: 0.5px solid #F89051;
  border-radius: 4px;
  background: #F8853F;
  cursor: pointer;
  letter-spacing: 1px;
}

/* 输入框 */
.game-input {
  width: 100%;
  height: 50px;
  /* 50 */
  font-size: 14px;
  /* 14 */
  border: 0.5px solid #E0E0E0;
  border-radius: 4px;
  box-sizing: border-box;
}

.right-icon {
  display: inline-block;
  position: absolute;
  top: 10%;
  right: 10px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
}
.right-icon img{
  width: 16px;
  height: 16px;
}

/* 公共样式 */
.wh100{
    width: 100%;
    height: 100%;
}
.color-blue{
  color: #00A8FF;
}
.color-gray{
  color: #D8D8D8;
}
.color-orange {
  color: #F8853F;
}

.font-10-gray{
  font-size: 10px;
  color: #C3C3C3;
}
.font-10-red{
  font-size: 10px;
  color: red;
}
.hide{
  display: none!important;
}
.show{
  display: block!important;
}
.fl {
  float: left;
}
.fr {
  float: right;
}

/*清除浮动样式*/
.clear {
  clear: both;
  height: 0;
  width: 100%;
}
.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}
.clearfix {
  zoom: 1;
  clear: both;
}
.mAuto {
  margin: 0 auto;
}

.p-a {
  position: absolute;
}
.text-center {
  text-align: center;
}
.p-r {
  position: relative;
}

.flex {
  display: flex;
}

.dir-col {
  flex-direction: column;
}
.dir-r {
  flex-direction: row;
}

.fw {
  flex-wrap: wrap
}

.a-self {
  align-self: flex-end;
}
.a-c{
  align-items: center;
}
.a-b{
  align-items: baseline;
}

.j-c{
  justify-content: center;
}
.j-b{
  justify-content: space-between;
}
.j-a{
  justify-content: space-around;
}
