@import '../../common/style/gp-match/palette.scss';



.press__create-game {
  // --switch-width: 2em;
  // --switch-node-size: 1em;
  // --switch-node-left: 0px;

  // width: 100%;
  // min-height: 100vh;
  // background: #fcfcfc url(https://image-1251917893.file.myqcloud.com/tip-project/pubg/pubg-match/create-vert-bg.png) center top;
  // background-size: cover;
  // background-repeat: no-repeat;
  // padding-bottom: 1.6rem;
  height: 100vh;
  padding-bottom: 1.2rem;
  overflow-y: auto;
  position: relative;

}

.press_create-game-bg {
  --switch-width: 2em;
  --switch-node-size: 1em;
  --switch-node-left: 0px;

  width: 100%;
  min-height: 100vh;
  background: #fcfcfc url(https://image-1251917893.file.myqcloud.com/tip-project/pubg/pubg-match/create-vert-bg.png) center top;
  // background-size: cover;
  background-size: 100% auto;
  background-repeat: no-repeat;
  padding-bottom: 1.6rem;
}


.press__tips-box {
  position: fixed;
  top: 3.86rem;
  right: 0;
  display: flex;
  align-items: center;
  height: .48rem;
  padding: 0 .16rem;
  background: rgba(0, 0, 0, .8);
  z-index: 2;

  .press__tips-icon {
    width: .28rem;
    height: .28rem;
    margin-right: .16rem;
    background: url(https://image-1251917893.file.myqcloud.com/tip-project/pubg/pubg-match/font/icon/icon-warn.png) no-repeat;
    background-size: 100%;
  }

  .press__tips-text {
    font-size: .18rem;
    color: #fff;
  }
}

.press__create-meta {
  position: relative;
  width: 100%;
  height: auto;
  padding-top: 1rem;
  box-sizing: border-box;
  // background: url(https://image-1251917893.file.myqcloud.com/gp-match-h5/img/selfmatch/create-top-banner.png) no-repeat;
  // background-size: 100%;
  flex-shrink: 0;
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  align-items: center;

  .press_meta-title {
    color: #fff;
    text-align: center;
    font-size: .36rem;
    font-weight: 500;
    max-width: 5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .press__logo-wrap {
    // width: 1.5rem;
    height: 1.92rem;
    // border: 1px solid rgba(128, 126, 134, .34);
    // background: rgba(196, 196, 196, .00);
    // box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, .25);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: .52rem;

    .press__logo {
      height: 1.92rem;
      max-width: 1.92rem;
      object-fit: cover;
    }

    .press-upload {
      flex: inherit;
    }

    .press__icon-exchange-wrap {
      width: .36rem;
      height: .36rem;
      position: absolute;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, .8);
      display: flex;
      justify-content: center;
      align-items: center;
      border-radius: 50%;

      .icon-exchange {
        font-size: .2rem;
        color: rgba(255, 255, 255, .75);
      }
    }
  }

  .press__create-name {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: .16rem;
  }

  .press__input-text,
  .press__input-text ::v-deep .uni-input-input {
    color: #212124;
    font-size: .32rem;
    line-height: .44rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    max-width: 3rem;
    font-weight: 600;
  }

  .press__match-name {
    color: #212124;
    font-size: .32rem;
    line-height: .44rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: right;
  }

  .icon-edit {
    margin-left: .08rem;
    font-size: .28rem;
    color: #212124;
  }
}


.press__content-box {
  height: 6.8rem;
  width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.press_content-more {
  height: auto;
}

.press__button-box {
  position: relative;
  width: 7.1rem;
  // min-height: .88rem;
  // background: linear-gradient(89deg,
  // rgba(230, 234, 239, .7) 10.72%,
  // rgba(252, 252, 252, .7) 94.4%);
  // box-shadow: 0 0 .2rem 0 rgba(196, 193, 205, .77);
  // margin: 0 auto;
  padding: .28rem;
  box-sizing: border-box;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;

  
  .press_down-icon {
    width: .24rem;
    height: .24rem;
    background: url(https://image-1251917893.file.myqcloud.com/tip-project/pubg/pubg-match/icon-down.png) no-repeat;
    background-size: 100% 100%;
    flex-shrink: 0;
  }

  .press_up-icon {
    width: .24rem;
    height: .24rem;
    background: url(https://image-1251917893.file.myqcloud.com/tip-project/pubg/pubg-match/icon-down.png) no-repeat;
    background-size: 100% 100%;
    transform: rotate(180deg);
    flex-shrink: 0;
  }

}

.press_button-text {
  color: #212124;
  text-align: center;
  font-size: .24rem;
  margin-right: .08rem;
  white-space: nowrap;
  position: relative;
  width: 7.1rem;
  margin: .28rem auto;

  &::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: auto;
    width: .24rem;
    height: .24rem;
    background: url(https://image-1251917893.file.myqcloud.com/tip-project/pubg/pubg-match/icon-down.png) no-repeat;
    background-size: 100% 100%;
    flex-shrink: 0;
    margin-left: .1rem;
  }
}

.press_button-text-active {
  &::after {
    content: '';
    position: absolute;
    top: 50%;
    right: auto;
    width: .24rem;
    height: .24rem;
    background: url(https://image-1251917893.file.myqcloud.com/tip-project/pubg/pubg-match/icon-down.png) no-repeat;
    background-size: 100% 100%;
    transform: rotate(180deg) translateY(50%);
    flex-shrink: 0;
    margin-left: .1rem;
  }
}


.press_button-text-more {
  min-width: 3.85rem !important;
}

// 基本信息
.press__basic-info,
.press__prize-info {
  position: relative;
  width: 7.5rem;
  height: 100%;
  // border: 1px solid rgba(252, 252, 252, .6);
  // background: linear-gradient(89deg,
  // rgba(230, 234, 239, .7) 10.72%,
  // rgba(252, 252, 252, .7) 94.4%);
  // box-shadow: 0 0 .2rem 0 rgba(196, 193, 205, .77);
  // margin: .24rem auto 0;
  padding: .32rem;
  padding-bottom: 0;
  box-sizing: border-box;
  margin: 0 auto;
}

.press__basic-title-wrap {
  display: flex;

  .press__basic-title {
    color: #212124;
    font-size: .28rem;
    // font-weight: 600;
  }

  .press__basic-title-icon {
    width: .4rem;
    height: .4rem;
    background: url(https://image-1251917893.file.myqcloud.com/gp-match-h5/img/selfmatch/chat-message-icon.png) no-repeat;
    background-size: 100%;
    margin-right: .08rem;
  }
}

.press__form-box {
  padding: .22rem 0;
  border-bottom: 1px solid rgba(33, 33, 36, .08);

  .press__form-wran-tips {
    text-align: right;
    font-size: .22rem;
    color: #e54545;
    margin-top: .12rem;
  }

  &:last-child {
    border-bottom: 0;
  }
}

.press__form {
  display: flex;
  justify-content: space-between;
  align-items: center;

  .press__form-label {
    color: #212124;
    font-size: .28rem;
    text-align: left;
    flex-shrink: 0;
  }

  .press__form-value-wrap {
    display: flex;
    align-items: center;
    // flex: 1;
    width: 4.2rem;

    .press__form-value {
      color: rgba(33, 33, 36, .5);
      font-size: .28rem;
      text-align: right;
      display: block;
      width: 100%;
    }

    .icon-back {
      font-size: .2rem;
      color: rgba(33, 33, 36, .5);
      transform: rotate(180deg);
    }

  }
}

.press_form-hori {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.press__form-icon-back {
  width: .1rem;
  height: .22rem;
  background: url(https://image-1251917893.file.myqcloud.com/gp-match-h5/img/selfmatch/right-back.png) no-repeat;
  background-size: 100%;
  margin-left: .2rem;
  flex-shrink: 0;
}
// 奖品配置
.press__prize-item {
  padding: .4rem 0;
  display: flex;
  box-sizing: border-box;
}

.press__prize-image {
  position: relative;
  width: 1.3rem;
  height: 1.3rem;
  object-fit: cover;
  border: .5px solid rgba(0, 0, 0, .1);

  img {
    width: 100%;
    height: 100%;
  }

  .press__prize-edit-icon {
    width: .4rem;
    height: .4rem;
    background: url(https://image-1251917893.file.myqcloud.com/gp-match-h5/img/selfmatch/edit-icon.png) no-repeat;
    background-size: 100%;
    position: absolute;
    bottom: 0;
    right: 0;
  }
}

// 输入框
::v-deep .press__prize-input-box {
  margin-left: .24rem;
  flex: 1;
  width: auto;

  .press__prize-option {
    position: relative;
    display: flex;
    align-items: center;
    height: .72rem;
    width: auto;
    padding: 0 .16rem;
    margin-bottom: .16rem;

    input,
    .press__prize-input,
    .uni-input-input {
      width: 100%;
      height: 100%;
      font-size: .24rem;
      color: #212124;
    }
  }

  .press__prize-name {
    position: relative;
    height: .72rem;
    width: auto;
    padding: 0 .16rem;

    .press__prize-name-input {
      position: relative;
      // display: flex;
      // align-items: center;
      // justify-content: center;
      color: #212124;
      font-size: .24rem;
      height: .74rem;
      width: 100%;
      resize: none;
    }
  }

  .press__prize-name::after,
  .press__prize-option::after,
  .text-black::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 200%;
    height: 200%;
    border-style: solid;
    border-width: 1px;
    border-color: rgba(33, 33, 36, .65);
    -webkit-transform: scale(.5);
    transform: scale(.5);
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
    pointer-events: none;
  }
}

// 文本
.press__prize-text-box {
  margin-left: .24rem;
  display: flex;
  flex-direction: column;
  justify-content: center;

  .press__prize-text-title {
    color: #212124;
    font-size: .28rem;
    font-weight: 500;
  }

  .press__prize-text-desc {
    color: rgba(33, 33, 36, .75);
    font-size: .28rem;
    margin-top: .16rem;
  }
}

// 吸底按钮
.press__create-bottom-box {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.4rem;
  background: #f7f7f7;
  box-shadow: 0 .06rem .12rem 0 rgba(131, 131, 131, .25);
  border-top: 1px solid rgba(131, 131, 131, .25);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;

  .press__gp-button--primary {
    width: 3.96rem;
    height: .72rem;
    line-height: .72rem;
    font-size: .4rem;
    color: #212124;
    font-family: 'PEACE';
    text-align: center;
    background: url(https://image-1251917893.file.myqcloud.com/tip-project/pubg/pubg-match/horizon/btn-normal.png) no-repeat;
    background-size: 100%;
    position: relative;
  }

  .press__preview-wrap {
    position: absolute;
    right: .72rem;
    top: 50%;
    transform: translateY(-50%);

    .press__preview-icon {
      width: .36rem;
      height: .36rem;
      background: url(https://image-1251917893.file.myqcloud.com/gp-match-h5/img/selfmatch/eyesOn-icon.png) no-repeat;
      background-size: 100%;
    }

    .press__preview-text {
      color: #212124;
      font-size: .2rem;
    }
  }
}

// 比赛赛制 - 比赛模式 -s
::v-deep .press_match-plan-content {
  display: flex;
  align-items: center;

  .press-tag--default {
    font-size: .18rem;
    height: .33rem; 
    line-height: .33rem;
  }

  .press_match-plan-text {
    margin-right: .08rem;
  }
}

.press_match-plan-list {
  display: flex;
  align-items: center;
  max-width: 4.5rem;
  overflow-x: auto;
  overflow-y: hidden;

  .press_match-plan {
    border: 1px solid #bdb8d0;
    display: flex;
    height: .52rem;
    line-height: .52rem;
    padding: 0 .1rem;
    color: rgba(33, 33, 36, .50);
    text-align: center;
    font-size: .24rem;
    margin-left: .16rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;

    &:first-child {
      margin-left: 0;
    }
  }

  .press_match-plan-active {
    border: 1px solid #a7a9fb;
    background: rgba(211, 212, 252, .48);
    color: #5300c3;
  }
}
// 比赛赛制 - 比赛模式 -d

// swiper - s
.press_match-mode-box {
  ::v-deep .swiper {
    width: 6.5rem;
    height: 1.94rem;
    color: #000;
    font-size: .24rem;

    .press_swiper-item {
      display: flex;
      flex-direction: column;
      justify-content: center;
      z-index: 20;
    }

    .press_swiper-item-active {
      z-index: 20;
    }

    .press_swiper-card {
      // width: 2.92rem;
      height: 1.21rem;
      background: url(https://image-1251917893.file.myqcloud.com/tip-project/pubg/pubg-match/swiper-card-bg.png) no-repeat;
      background-size: 100% 100%;
      flex-shrink: 0;
      padding: .36rem .24rem 0;

      .press_mode-text-box {
        display: flex;
        align-items: center;

        .press_mode-text {
          color: #212124;
          font-size: .24rem;
          font-weight: 700;
          max-width: 2rem;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
        }

        .press_hot-icon {
          width: .32rem;
          height: .32rem;
          background: url(https://image-1251917893.file.myqcloud.com/tip-project/pubg/pubg-match/icon-hot-mode.png) no-repeat;
          background-size: 100% auto;
          transform: scale(.8);
        }
      }

      .press_mode-desc {
        font-size: .16rem;
        color: rgba(33, 33, 36, .60);
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        overflow: hidden;
        -webkit-box-orient: vertical;
      }
    }

    .press_swiper-card-active {
      transition: all .2s ease-in 0s;
      z-index: 20;
      height: 1.46rem;
      background: url(https://image-1251917893.file.myqcloud.com/tip-project/pubg/pubg-match/swiper-card-selected-bg.png) no-repeat;
      background-size: 100% 100%;
      flex-shrink: 0;

      .press_mode-text-box {
        .press_mode-text {
          color: #5300c3;
          font-size: .28rem;
        }

        .press_hot-icon {
          width: .32rem;
          height: .32rem;
          background: url(https://image-1251917893.file.myqcloud.com/tip-project/pubg/pubg-match/icon-hot-mode.png) no-repeat;
          background-size: 100% auto;
          transform: scale(1);
        }
      
      }

      .press_mode-desc {
        font-size: .18rem;
      }
    }

    .uni-swiper-slides {
      // width: 2.92rem;
    }
  }
  
}
// swiper - d
.press_icon-delete,
.press_icon-add {
  width: .4rem;
  height: .4rem;
  background: url(https://image-1251917893.file.myqcloud.com/tip-project/pubg/pubg-match/icon-add.png) no-repeat;
  background-size: 100% 100%;
}

.press_icon-delete {
  background: url(https://image-1251917893.file.myqcloud.com/tip-project/pubg/pubg-match/icon-delete.png) no-repeat;
  background-size: 100% 100%;
}

.press_icon-mr24 {
  margin-right: .24rem;
}

.press-icon-add-box {
  display: flex;
  align-items: center;

  .press_icon-text {
    color: rgba(33, 33, 36, .50);
    font-size: .24rem;
    margin-left: .16rem;
  }
}