.wrap {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  overflow: hidden;
}

.wrap-inner {
  position: absolute;
  overflow: hidden;
  left: 0;
  width: 32rem;
  height: 61.9rem;
  top: 50%;
  transform: translate(0, -50%);
  -webkit-transform: translate(0, -50%);
}

/*消除ios点击阴影*/
html,
body {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  /* ios 滑动 */
  -webkit-overflow-scrolling: touch;
}

/*消除ios动画抖动*/
* {
  -webkit-backface-visibility: hidden;
}

.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.clearfix {
  *zoom: 1;
}

input {
  border: 0;
  outline: none;
}

input::-webkit-input-placeholder {
  /* placeholder颜色  */
  color: #222222;
}

.page {
  display: none;
  position: absolute;
}

.hd {
  background: rgba(0, 0, 0, 0.8);
}

/* page1 */
.page1 {
  z-index: 2;
}

.page1 .red-line {
  background: #c30101;
  transform: scaleX(0);
}

.page1 .red-line.animate {
  transform-origin: 0%;
  animation: scale 0.7s ease-in backwards;
  -webkit-animation: scale 0.7s ease-in backwards;
}

/* flag-page */
.flag-page {
  z-index: 1;
}

.flag-page .choose-num {
  text-align: center;
  font-size: 1.3rem;
  line-height: 0.85rem;
  color: #c30303;
}

.flag-page .flag-block {
  float: left;
  position: relative;
}

.flag-page .flag-block:nth-child(even) {
  margin-left: 1rem;
  width: 12.9rem;
}

.flag-page .flag-no {
  font-size: 1.3rem;
  color: #222222;
  line-height: 1.85rem;
  text-align: center;
  padding-left: 0.2rem;
}

.flag-page .flag-text {
  font-size: 1.2rem;
  color: #222222;
  line-height: 1.8rem;
  padding-left: 0.5rem;
  /* background: url('../image2/text-bottom.png') left bottom no-repeat;
  background-size: 12.35rem 1.1rem; */
  width: 12.35rem;
  height: auto;
}

.flag-page .flag-text div[class^=fly] {
  display: inline-block;
  animation: trans 2s 0s ease-out forwards;
}

.flag-page .flag-text .text-bottom {
  position: absolute;
  bottom: -.1rem;
  top: auto;
}

.flag-page input[name=customize-flag] {
  font-size: 1.4rem;
  color: #222222;
  padding-left: 1rem;
  padding-right: 5rem;
  width: 21.55rem;
  height: 103%;
}

.flag-page .checked-flag-list {
  border: 0.05rem solid #222222;
  transition: all linear .3s;
  -webkit-transition: all linear .3s;
  transform-origin: 0% 0%;
  background: #fcfcfd;
  transform: scale(0);
}

@keyframes trans {
  to {
    transform: translateY(0);
  }
}

@keyframes scale {
  0% {
    transform: scaleX(0);
  }

  100% {
    transform: scaleX(1);
  }
}

/* personal-page */
.personal-page {
  background: #e5382a;
  transition: all linear .3s;
  -webkit-transition: all linear .3s;
}

.personal-page .decorate-img {
  background: url('../image2/decorate1.png') left top no-repeat;
  background-size: 100% 100%;
}

.personal-page .flag-list {
  overflow: scroll;
}

.personal-page .flag-item {
  position: relative;
  display: flex;
  margin-top: 1rem;
}

.personal-page .flag-no {
  font-size: 1.2rem;
  text-align: center;
  line-height: 2rem;
  color: #222222;
  display: inline-block;
  width: 2.25rem;
  height: 2rem;
  background: url(../image2/flag-no.png) left top no-repeat;
  background-size: 100% 100%;
}

.personal-page .flag-text {
  font-size: 1.4rem;
  color: #222222;
  margin-left: 1rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  height: auto;
  display: inline-block;
  flex: 1;
  background: url(../image2/flag-redline.png) left bottom no-repeat;
  background-size: 100% auto;
}

.personal-page .colorbar {
  transition: all linear .3s;
  -webkit-transition: all linear .3s;
}

.personal-page .decorate-content {
  overflow-x: scroll;
  white-space: nowrap;
}

.personal-page .decorateImg {
  width: 12rem;
  height: 7.5rem;
  padding: 0 0.625rem 0 0.625rem;
}

.personal-page .decorateImg:first {
  padding-left: 0;
}