.sup {
  position: absolute;
  right: -10px;
  top: 0;
  transform: translateY(-50%);
  width: 30px;
  height: 16px;
  background: rgba(255, 227, 0, 1);
  border: 1px solid rgba(255, 255, 255, 1);
  border-radius: 8px 8px 8px 0;
  color: #0e7442;
  font-size: 10px;
  text-align: center;
  line-height: 16px;
}

#landing {
  background: #bc2a18;
  text-align: center;
  min-height: 100%;

  #to-square {
    position: fixed;
    width: 100%;
    height: 30px;
    background: #ff2121;
    color: #fff;
    font-size: 14px;
    line-height: 30px;
    text-align: center;
    z-index: 21;
  }

  .box-container {
    width: 100%;
  }

  .snow-deco {
    position: absolute;
    top: 30px;
    left: 0;
    display: block;
    width: 100%;
    height: 68px;
    background: url("https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/snow-deco.png")
      no-repeat;
    background-size: contain;

    &.standby {
      top: 0;
    }
  }

  .main-avatar {
    width: 49px;
    height: 49px;
    border-radius: 50%;
    margin-bottom: 5px;
    margin-top: 55px;
    object-fit: cover;
  }

  .des {
    font-size: 14px;
    color: #ffdc1e;

    span {
      display: inline-block;
      width: 15px;
      height: 15px;
      line-height: 16px;
      color: #327443;
      border-radius: 50%;
      background: #ffdc1e;
    }
  }

  .standby-space {
    height: 25px;
  }

  .standby-tip {
    position: relative;
    width: 270px;
    height: 32px;
    background: #ffde00;
    border-radius: 5px;
    margin: 0 auto -40px;
    line-height: 32px;
    text-align: center;
    color: #202426;
    font-size: 15px;

    &::after {
      content: "";
      display: block;
      position: absolute;
      top: -120%;
      right: -6%;
      width: 50px;
      height: 38px;
      background: url("https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/standby-share-tip-icon.png");
      background-size: contain;
    }
  }

  .group {
    ul.member {
      display: flex;
      padding: 0 49px;
    }

    & li:nth-last-child(1) {
      margin-right: 0;
    }

    li {
      margin-right: 24.5px;
    }

    .avatar-wrapper {
      position: relative;

      &::after {
        content: "";
        display: block;
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 22px;
        height: 3px;
        background: #243529;
        opacity: 0.8;
        border-radius: 50%;
      }

      sup {
        @extend .sup;
      }

      img {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        border: 1px solid #fff;
      }
    }

    .bars {
      display: flex;
      padding-left: 37.5px;
      margin-top: 15px;

      & li:nth-child(1) {
        border-radius: 2px 0 0 2px;
      }

      & li:nth-last-child(1) {
        border-radius: 0 2px 2px 0;
        margin-right: 0;
      }

      li {
        width: 59px;
        height: 5px;
        margin-right: 1.5px;
        background: #035b34;

        &.active {
          background: #ffdd1d;
        }
      }
    }

    &-des {
      margin-top: 27px;
      font-size: 14px;
      color: #ffe300;
    }

    .invite-btn {
      width: 320px;
      height: 44px;
      line-height: 44px;
      margin: 14.5px auto 14px;
      color: #0b7b45;
      font-size: 15px;
      background: #ffe300;
      border: 0;
      outline: 0;
      -webkit-appearance: none;
      border-radius: 3px;
      font-family: "HiraginoSansGB-W6", "Helvetica Neue", Helvetica,
        "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial,
        sans-serif;
    }

    .certainly-prompt {
      padding-bottom: 16px;
      font-size: 14px;
      color: #ffe300;
    }
  }

  .activity-end {
    display: flex;
    flex-flow: column;
    align-items: center;
    margin-top: 26px;
    font-size: 14px;
    color: #ffe300;

    div:first-child {
      margin-bottom: 5px;
    }

    div:nth-child(2) {
      margin-bottom: 19px;
    }

    img {
      width: 120px;
      height: 120px;
      margin-bottom: 12px;
    }

    div:last-child {
      color: #fff;
      font-size: 12px;
    }
  }

  .am-whitespace.am-whitespace-xl {
    height: 35px;
  }

  .course-module {
    background: #fff;
  }

  .all-course {
    margin-bottom: 0;
  }

  .loading {
    transform: scale(1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.popup-container {
  .tip {
    font-size: 15px;
    line-height: 37px;
    color: #666;
    text-align: center;

    span {
      color: #ff2121;
    }
  }
}

.popup-button {
  width: 270px;
  height: 44px;
  padding: 0;
  margin-top: 20px;
  background: #ffe319;
  border: 1px solid #090909;
  border-radius: 5px;
  line-height: 44px;
  font-size: 16px;
  color: #090909;
}

.landing-treasure-rules {
  width: 320px;

  &.popup-container {
    .title {
      font-size: 18px;
      color: #111111;
    }
  }

  .content {
    padding: 0 19px 15px;
    margin-top: 22px;
    color: #666666;
    font-size: 14px;

    li {
      margin-bottom: 5px;
    }
  }
}

.landing-join-success-wrapper {
  &.popup-container {
    width: 320px;
    text-align: center;

    .title {
      img {
        width: 54px;
        height: 54px;
        margin-bottom: 10px;
      }

      font-size: 18px;
      color: #111111;
    }
  }

  /*.tip {
        font-size: 15px;
        line-height: 37px;
        color: #666;
        text-align: center;
    }*/

  button {
    @extend .popup-button;
  }
}

.landing-create-success {
  text-align: center;

  &.popup-container {
    width: 320px;
    padding: 20px;

    .title {
      font-size: 18px;
      color: #111111;
    }
  }

  img.treasure-box {
    margin: 20px 0;
    width: 120px;
    height: 72px;
  }

  .members {
    display: flex;

    & li:nth-last-child(1) {
      margin-right: 0;
    }

    li {
      position: relative;
      margin-right: 15px;
    }

    .avatar {
      width: 44px;
      height: 44px;
      border-radius: 50%;
    }

    sup {
      @extend .sup;
    }
  }

  button {
    @extend .popup-button;
  }
}

.landing-remind {
  &.popup-container {
    width: 320px;
    text-align: center;
    padding: 20px 30px;

    .title {
      font-size: 18px;
      color: #111;
      margin-bottom: 8px;
    }
  }

  img {
    margin: 15px 0 16px;
    width: 137px;
    height: 137px;
  }

  .des {
    font-size: 14px;
    color: #666;
  }

  button {
    width: 270px;
    height: 44px;
    background: rgba(255, 227, 25, 1);
    border: 1px solid rgba(9, 9, 9, 1);
    border-radius: 5px;
    font-size: 16px;
    font-weight: normal;
    color: rgba(9, 9, 9, 1);
    margin-bottom: 15px;
  }
}

.landing-open-in-browser-tip,
.landing-share-tip {
  font-size: 17px;
  color: #111;

  &.popup-container {
    position: absolute;
    width: 270px;
    text-align: center;
    top: 114px;
    padding: 20px 33px;
  }

  span {
    color: #ff2121;
  }
}

.landing-open-in-browser-tip.wechat,
.landing-share-tip.wechat {
  &.popup-container {
    &::after {
      content: "";
      display: block;
      position: absolute;
      top: -50px;
      right: -18px;
      width: 50px;
      height: 38px;
      background: url("https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/share-indicator.png")
        no-repeat;
      background-size: contain;
    }
  }
}

.landing-open-in-browser-tip {
  &.popup-container {
    width: 312px;
  }
}

.year19-index {
  display: none;
}
