.flex {
  display: flex;
}
.absolute {
  position: absolute;
}
.relative {
  position: relative;
}
.banner-img{
  background-image: var(--bg-banner);
  background-repeat: no-repeat;
  background-size: cover;
  height: 5.21rem;

}
.centerx {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.centery {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.centerxy {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

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

.text-center {
  text-align: center;
}

.mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}
.to_box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6rem;
  background: #fff;
  border-radius: 0.3rem;
  z-index: 100;
  padding: 0.3rem 0.3rem 0.3rem;
  text-align: center;
}

.to_box {
  padding-top: 0.2rem;
}
.to_box .t1 {
  font-weight: bold;
  font-size: 0.36rem;
  color: #333333;
}
.to_box .t2 {
  font-weight: 500;
  font-size: 0.32rem;
  color: #333333;
  margin-top: 0.8rem;
  margin-bottom: 0.8rem;
}
.to_box .t3 {
  color: #ffffff;
  background: linear-gradient(180deg, #ffe4a3 0%, #ff9137 100%);
  border-radius: 0.43rem;
  margin-top: 0.3rem;
  height: 0.86rem;
  line-height: 0.86rem;
  text-align: center;

  font-weight: bold;
  font-size: 0.32rem;
}
.invite_box {
  max-width: 7.5rem;
  background: #ffffff;
  margin: 0 auto;
  min-height: 100vh;
}
.bg_box {
  background: linear-gradient(0deg, #ffeac8 0%, #ffc548 100%);
  padding-left: 0.3rem;
  padding-right: 0.3rem;
  padding-bottom: 0.3rem;
  min-height: calc(100vh - 5.21rem);
}
.title_bg {
  width: 100%;
  height: 3.5rem;
  background: #fdfdfb;
  border-radius: 0.2rem;
  padding-left: 0.28rem;
  padding-right: 0.28rem;
  padding-top: 0.65rem;
}

.rule_box {
  margin-bottom: 0.58rem;
}
.title_top {
  width: 5.23rem;
  top: -0.28rem;
}
.titile_txt {
  font-weight: bold;
  font-size: 0.28rem;
  color: #865c11;
  width: 100%;
  text-align: center;
}
.rule_item {
  width: 100%;
  height: 1.14rem;
  background: linear-gradient(0deg, #fbeadc 1%, #fdf8f2 100%);
  border-radius: 0.16rem;
  border: 0.02rem solid #f4dbc4;
  margin-bottom: 0.18rem;
}
.corner {
  width: 0.47rem;
  height: 0.47rem;
  left: 0;
  top: 0;
}
.title_num {
  font-weight: bold;
  font-size: 0.3rem;
  color: #ffffff;
}
.coin_icon {
  width: 0.35rem;
  height: 0.35rem;
  margin-right: 0.14rem;
}
.right_arrow {
  width: 0.62rem;
  height: 0.62rem;
}
.rule_title {
  font-weight: bold;
  font-size: 0.24rem;
  color: #333333;
  width: 3.5rem;
  text-align: center;
  height: 0.46rem;
  /* line-height: 0.46rem; */
  border-right: 0.02rem solid #e1ccb9;
  margin-right: 0.4rem;
  display: flex;
  align-items: center;
  z-index: 1;
  padding-left: 0.3rem;
  padding-right: 0.3rem;
}
.item_mid {
  flex-direction: column;
  height: 85%;
  width: 1.76rem;
}
.item_mid_mid {
  justify-content: start;
  height: 0.32rem;
  line-height: 0.32rem;
}
.rule_title2 {
  font-weight: 500;
  font-size: 0.22rem;
  color: #987961;
}
.rule_title3 {
  font-weight: bold;
  font-size: 0.34rem;
  color: #ef6927;
}
.right_arrow {
  right: 0.3rem;
}
.invitecode_box {
  height: 2.65rem;
  margin-bottom: 0.3rem;
}
.code_box {
  width: 100%;
  height: 1.64rem;
  background: #fdfdfb;
  border-radius: 0.16rem;
  border: 0.02rem solid #f4dbc4;
}
.copy {
  width: 0.24rem;
  height: 0.24rem;
  top: -0.1rem;
}
.invite_code {
  font-weight: bold;
  font-size: 0.5rem;
  color: #333333;
  margin-right: 0.08rem;
}
.who_box {
  width: 100%;
  height: 2.5rem;
  background: #fdfdfb;
  border-radius: 0.2rem;
  padding-left: 0.28rem;
  padding-right: 0.28rem;
  padding-top: 0.18rem;
}
.who_top {
  height: 0.9rem;
  line-height: 0.9rem;
}
.who_title {
  font-weight: bold;
  font-size: 0.26rem;
  color: #333333;
  z-index: 1;
}

.car {
  width: 0.9rem;
  height: 0.9rem;
  right: 0;
}
.title_bg1 {
  width: 1.73rem;
  height: 0.34rem;
}
.search_box {
  width: 100%;
  height: 0.96rem;
  line-height: 0.96rem;
  margin-top: 0.1rem;
  padding-left: 0.3rem;
  padding-right: 0.1rem;
  background: #fffbed;
  border-radius: 0.45rem;
  border: 0.03rem solid #ffd053;
}
.invite_input {
  width: 4rem;
  font-weight: bold;
  font-size: 0.28rem;
  color: #c1b99d;
  height: 0.8rem;
  line-height: 0.8rem;
  margin-top: 0.04rem;
  background: #fffbed;
}
.invite_input::placeholder {
  font-weight: bold;
  font-size: 0.28rem;
  color: #c1b99d;
}
.sub_btn {
  width: 1.6rem;
  height: 0.78rem;
  line-height: 0.78rem;
  margin-top: 0.07rem;
  text-align: center;
  background: linear-gradient(180deg, #ffe4a3 0%, #ff9137 100%);
  border-radius: 0.399rem;
  font-weight: bold;
  font-size: 0.28rem;
  color: #ffffff;
}
.detail_box {
  width: 100%;
  height: auto;
  background: #fdfdfb;
  border-radius: 0.2rem;
  margin-top: 0.3rem;
  padding: 0 0.3rem 0.3rem 0.3rem;
}
.tab_box {
  width: 100%;
  height: 0.95rem;
  line-height: 0.95rem;
  text-align: center;
}
.tab_item {
  width: auto;
  font-weight: bold;
  font-size: 0.24rem;
  color: #999999;
  cursor: pointer;
}
.title_bg2 {
  width: 1.2rem;
  height: 0.25rem;
}
/* 有active的类加个背景图 */
.tab_item.active {
  color: #333333;
  background: url("../images/tit_bg2.png") no-repeat center center;
  background-clip: content-box;
  background-size: contain;
}
.item_tit {
  width: 100%;
  height: 0.8rem;
  line-height: 0.8rem;
  background: linear-gradient(90deg, #ff8343 0%, #ffc24c 100%);
  border-top-left-radius: 0.3rem;
  border-top-right-radius: 0.3rem;
  padding-left: 0.3rem;
  padding-right: 0.3rem;
}
.item_tit span,
.det_left {
  font-weight: bold;
  font-size: 0.24rem;
  color: #ffffff;
}
/* .det_left {
  color: #ffffff;
} */
.invite_num {
  color: #ffdfa1 !important;
}
.main_bg {
  background: #fff6e6;
  border-radius: 0px 0px 0.3rem 0.3rem;
  padding-left: 0.3rem;
  padding-right: 0.3rem;
}
.my_invite {
  min-height: 5rem;
}
.invite_main,
.coin_main {
  height: 4rem;
  overflow-y: auto;
}
.arrow_pull {
  width: 0.18rem;
  height: 0.1rem;
  margin-left: 0.08rem;
}
.invite_top {
  height: 0.9rem;
  line-height: 0.9rem;
  margin-bottom: 0.28rem;
}
.all_txt {
  font-weight: bold;
  font-size: 0.24rem;
  color: #a19277;
}
.all_pull {
  width: auto;
  min-width: 1rem;
  background: #ffffff;
  border-radius: 0.1rem;
  font-weight: bold;
  font-size: 0.24rem;
  color: #a19277;
  text-align: center;
  padding: 0.15rem;

  position: absolute;
  top: 0.7rem;
  left: 0rem;
  display: none;
}
.all_pull .pull_item {
  height: 0.42rem;
  line-height: 0.42rem;
  white-space: nowrap;
}
.all_pull.show {
  display: block;
}
.anchor {
  margin-top: 0.1rem;
  margin-bottom: 0.1rem;
}
.solt2 {
  margin-left: 0.5rem;
}
.input_id {
  width: 2.44rem;
  height: 0.5rem;
  background: #ffffff;
  border-radius: 0.23rem;
  border: 0.02rem solid #ffc45c;

  padding-left: 0.2rem;
  padding-right: 0.5rem;
}
.search {
  width: 0.26rem;
  height: 0.26rem;
  right: 0.2rem;
}
.input_id::placeholder {
  font-weight: 500;
  font-size: 0.24rem;
  color: #a19277;
}
.avatar {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
}
.sex_icon {
  width: 0.2rem;
  height: 0.2rem;
  margin-right: 0.05rem;
}
.invite_name {
  font-family: var(--font-family-full);
  font-weight: bold;
  font-size: 0.3rem;
  color: #333333;
}
.sex_bg {
  width: 0.7rem;
  height: 0.3rem;
  background-color: #c3ecff;
  border-radius: 0.15rem;
  margin: 0 0.2rem;
}

.invite_age {
  font-family: Roboto,sans-serif;
  font-weight: 500;
  font-size: 0.2rem;
  color: #45c5ff;
}
.sex_bg.female {
  color: #ff87cb;
  background: #ffdcf0;
}

.female .invite_age {
  color: #ff87cb;
}

.invite_right {
  flex-direction: column;
  margin:0 0.2rem;
  justify-content: space-around;
}
.id_bg,
.id_num {
  font-weight: 500;
  font-size: 0.24rem;
  color: #999999;
}
.inviite_item {
  margin-bottom: 0.2rem;
}
.toinvit_tips {
  width: 100%;
  font-weight: 500;
  font-size: 0.24rem;
  color: #a19277;
  text-align: center;

  margin-top: 0.4rem;
  padding-bottom: 0.4rem;
}
.to_invite_btn {
  background: url("../images/invite_btn.webp") no-repeat center center;
  background-size: contain;
  width: 5.5rem;
  height: 1.1rem;
  margin: 0 auto;
  margin-top: 0.2rem;
  font-weight: bold;
  font-size: 0.32rem;
  color: #ffffff;
}
.date_box input[type="date"] {
  font-weight: 500;
  font-size: 0.24rem;
  color: #a19277;
  width: 1.8rem;
  background: #fff6e6;
}
.date_txt {
  font-weight: bold;
  font-size: 0.28rem;
  color: #333333;
}
.coin_item {
  margin-bottom: 0.4rem;
}
.coin_mini {
  width: 0.34rem;
  height: 0.34rem;
  vertical-align: bottom;
}
.opt_num {
  font-family: Roboto;
  font-weight: bold;
  font-size: 0.3rem;
  color: #ef6927;
  margin-right: 0.3rem;
}

.week_rank {
  padding-top: 0.3rem;
}
.rank_tab_box {
  width: 3.6rem;
  height: 0.66rem;
  background: #eeddbf;
  border-radius: 0.33rem;
  margin: 0 auto;
}
.rank_tab {
  width: 50%;
  height: 0.66rem;
  line-height: 0.66rem;
  text-align: center;
  font-weight: bold;
  font-size: 0.24rem;
  color: #b49a6d;
  border-radius: 0.33rem;
  cursor: pointer;
}
.rank_tab.active {
  color: #ffffff;
  background: linear-gradient(180deg, #ffcb6a 0%, #ff8443 100%);
}
.week_countdown {
  width: 5rem;
  height: 0.42rem;
  line-height: 0.42rem;
  font-weight: bold;
  font-size: 0.22rem;
  color: #b0812e;
  background: #fde5bc;
  border-radius: 0.21rem;
  text-align: center;
  margin: 0 auto;
  margin-top: 0.2rem;
  margin-bottom: 0.3rem;
}
.rank_main {
  width: 100%;
  height: 4.05rem;
  padding-left: 0.15rem;
  padding-right: 0.15rem;
}
.top2,
.top3 {
  width: 1.9rem;
  height: 2.94rem;
  margin-top: 1.1rem;
}
.top2 .rank_avatar,
.top3 .rank_avatar,
.rank_avatar_none {
  width: 1.04rem;
  height: 1.04rem;
  border-radius: 50%;
  top: 0.41rem;
}
.rank_info2,
.rank_info3 {
  width: 100%;
  top: 1.22rem;
  text-align: center;
}
.top_cion {
  width: 1.05rem;
  height: 0.4rem;
}
.rank_name {
  width: 100%;
  font-family: var(--font-family-full);
  font-weight: bold;
  font-size: 0.24rem;
  color: #333333;
  margin-top: 0.15rem;
  margin-bottom: 0.05rem;
}
.gain_box1,
.gain_box2 {
  width: 100%;
}
.gain_box1 span,
.gain_box2 span {
  font-weight: 500;
  font-size: 0.18rem;
  color: #b45b10;
}
.gain_coin_num {
  font-weight: bold !important;
}
.coin_small {
  width: 0.21rem;
  height: 0.21rem;
  position: relative;
  top: -0.01rem;
}
.top1 {
  width: 2.08rem;
  height: 3.19rem;
}
.top1 .rank_avatar,
.rank_avatar_none {
  width: 1.14rem;
  height: 1.14rem;
  border-radius: 50%;
  top: 0.42rem;
}
/* .rank_avatar_none {
  background: #e2e2e2;
} */
.rank_info1 {
  width: 100%;
  top: 1.35rem;
  text-align: center;
}
.main_bg.week_rank {
  padding-left: 0;
  padding-right: 0;
}
.my_rank {
  width: 100%;
  border-top: 0.01rem solid #decfb4;
  padding: 0.3rem;
}
.my_avatar {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  margin-right: 0.2rem;
}
.my_rank_info {
  flex-direction: column;
}
.my_name {
  font-family: var(--font-family-full);
  font-weight: bold;
  font-size: 0.3rem;
  color: #333333;
}
.my_gain_tip,
.my_gain_num {
  font-family: Adobe Heiti Std;
  font-weight: normal;
  font-size: 0.24rem;
  color: #c3884e;
}

.code_main {
  width: 6.4rem;
  height: 9rem;
  background: #ffffff;
  border-radius: 0.4rem;
  margin: 0 auto;
  top: -1.05rem;
  padding-top: 0.95rem;
}
.code_logo {
  margin: 0 auto;
  width: 1.95rem;
  height: 2.65rem;
  position: relative;
  top: -2rem;
}
.code_tip {
  width: 100%;
  text-align: center;
  font-weight: bold;
  font-size: 0.28rem;
  color: #333333;
  margin-top: 0.2rem;
  position: relative;
  top: -2rem;
}
.code_img {
  margin: 0 auto;
  margin-top: 0.55rem;
  width: 3rem;
  height: 3rem;
  position: relative;
  top: -2rem;
}
.share_box {
  width: 100%;
  height: 2.5rem;
  background: #ffffff;
  border-radius: 0.4rem 0.4rem 0px 0px;
  position: fixed;
  bottom: 0;
}
.share_tip {
  width: 100%;
  font-weight: bold;
  font-size: 0.28rem;
  color: #333333;
  margin-top: 0.2rem;
  margin-bottom: 0.2rem;
  text-align: center;
}
.share_img {
  width: 1.11rem;
  height: 1.11rem;
}
.share_txt {
  font-weight: bold;
  font-size: 0.24rem;
  color: #666666;
  margin-top: 0.1rem;
}
.down_box {
  max-width: 7.5rem;

  margin: 0 auto;
  min-height: 100vh;
  /*overflow: hidden;*/
  background-image: url("../images/download_bg.webp");
  background-size: cover;
}


.down_logo {
  width: 2.4rem;
  height: 3.26rem;
  margin: 0 auto;
}
.down_txt {

  margin-top: 0.3rem;

}
.down_txt img{
  width: 5rem;
  height: 0.36rem;
}
.down_txt_box {
  width: 6.4rem;
  height: 3rem;
  background: #ffffff;
  border-radius: 0.4rem;
  padding-top: 0.6rem;
  margin-top: 1.1rem;
}
.down_txt1 {
  width: 100%;
  font-weight: bold;
  font-size: 0.32rem;
  color: #333333;
  margin-bottom: 0.3rem;
}
.down_txt2 {
  font-weight: bold;
  font-size: 0.32rem;
  color: #fb2e29;
}
.to_download {
  background: url("../images/invite_btn.webp") no-repeat center center;
  background-size: contain;
  width: 5.5rem;
  height: 1.1rem;
  line-height: 1.1rem;
  margin: 0 auto;
  font-weight: bold;
  font-size: 0.4rem;
  color: #ffffff;
}
.invit_code_box {
  width: 3.7rem;
  height: 1.12rem;
  margin: 0 auto;
  margin-top: 1.9rem;
}
.googlebg {
  top: -1.12rem;
}
.google_bg {
  width: 6rem;
  height: 0.96rem;
}
.mycode_box {
  width: 100%;
  top: 0.25rem;
  padding-left: 0.3rem;
}
.invit_code_left,
.invit_code {
  font-weight: 500;
  font-size: 0.24rem;
  color: #495f73;
  white-space: nowrap;
}
.invit_code{
  font-weight: bold;
}
.copy_btn {
  width: 1.08rem;
  height: 0.5rem;
  line-height: 0.5rem;
  text-align: center;
  font-weight: 500;
  font-size: 0.24rem;
  color: #278ef8;
  background: #daedff;
  border-radius: 0.25rem;
  margin-right: 0.3rem;
  position: relative;
  top: -0.08rem;
}

.invite_person {
  width: 6.4rem;
  height: 5.4rem;
  background: #ffffff;
  border-radius: 0.3rem;
  padding: 0.5rem 0.4rem 0.4rem 0.4rem;
  text-align: center;
}
.person_box_t1 {
  width: 100%;
  font-weight: bold;
  font-size: 0.28rem;
  color: #333333;
}
.person_box_avatar {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  margin: 0 auto;
  margin-top: 0.4rem;
}
.person_box_t2 {
  width: 100%;
  font-weight: bold;
  font-size: 0.3rem;
  color: #333333;
  margin-top: 0.15rem;
  margin-bottom: 0.1rem;
}
.person_box_t3,
.person_box_t3 span {
  font-family: SF Compact Text;
  font-weight: 500;
  font-size: 0.24rem;
  color: #999999;
}
.person_box_cancel_btn,
.person_box_confirm_btn {
  width: 2.65rem;
  height: 0.9rem;
  line-height: 0.9rem;
  background: #f3f3f3;
  border-radius: 0.45rem;
  font-weight: bold;
  font-size: 0.32rem;
  color: #999999;
  margin-top: 0.6rem;
}
.person_box_confirm_btn {
  background: #fff4d0;
  color: #ffb30c;
}

.has_invite {
  margin-bottom: 0.2rem;
}
.has_invite_avatar {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
}
.has_invite_right {
  flex-direction: column;
  margin-left: 0.2rem;
  justify-content: space-around;
}
.has_invite_name {
  font-weight: bold;
  font-size: 0.3rem;
  color: #333333;
}
.has_invite_sex_bg {
  width: 0.7rem;
  height: 0.3rem;
  background: #c3ecff;
  border-radius: 0.15rem;
  margin-left: 0.2rem;
}
.has_invite_age {
  font-weight: 500;
  font-size: 0.2rem;
  color: #45c5ff;
}
.has_invite_age.female{
  color: #ff87cb;
}

.has_invite_sex_bg.female {
  color: #ff87cb;
  background: #ffdcf0;
}
.has_invite_sex_icon {
  width: 0.2rem;
  height: 0.2rem;
  margin-right: 0.05rem;
}
.has_invite_id_bg,
.has_invite_id_num {
  font-family: SF Compact Text;
  font-weight: 500;
  font-size: 0.24rem;
  color: #999999;
}
.success_icon {
  width: 0.26rem;
  height: 0.26rem;
  top: 0rem;
  right: 0rem;
}
.invite_tip {
  width: 6.4rem;
  height: 4rem;
  background: #ffffff;
  border-radius: 0.3rem;
  padding: 0.7rem 1rem 0.3rem 1rem;
  text-align: center;
}
.tipBox_btn,
.invite_reward_btn {
  width: 5.6rem;
  height: 0.9rem;
  line-height: 0.9rem;
  background: #fff4d0;
  border-radius: 0.45rem;
  bottom: 0.3rem;
  font-weight: bold;
  font-size: 0.32rem;
  color: #ffb30c;
}
.tipBox_t1 {
  font-weight: bold;
  font-size: 0.28rem;
  color: #333333;
}
.tipBox_coin {
  color: #ff3636;
}

.invite_reward {
  width: 6.4rem;
  height: 5.4rem;
  background: #ffffff;
  border-radius: 0.3rem;
  padding-top: 0.5rem;
  text-align: center;
}
.invite_reward_t1 {
  font-weight: bold;
  font-size: 0.28rem;
  color: #333333;
}
.invite_reward_img {
  width: 2.5rem;
  height: 2.5rem;
  margin-top: 0.35rem;
}
.invite_rule_tit {
  text-align: center;
  background: linear-gradient(180deg, #ffe4a3 0%, #ffffff 100%);
  border-radius: 0.2rem 0 0 0.2rem;
  border: 0.02rem solid #ffffff;
  height: 0.5rem;
  line-height: 0.5rem;
  font-weight: 500;
  font-size: 0.22rem;
  color: #ce7527;
  right: 0;
  top: 0.2rem;
  padding: 0 0.15rem;
}

[dir="rtl"] .car{
  left: 0;
  right: auto;
}
[dir="rtl"] .right_arrow {
  left: 0.3rem;
  right: auto;
  transform: rotate(180deg);
  top: 25%;
}

[dir="rtl"] .corner {
  left: auto;
  right: 0;
}
[dir="rtl"] .corner img{
  transform: rotate(90deg);
}
[dir="rtl"] .rule_title{
  border-left: 0.02rem solid #e1ccb9;
  border-right: none;
}
[dir="rtl"] .search{
  left: 0.2rem;
  right: auto;
}
[dir="rtl"] .mycode_box{
  padding-right:0.3rem;
  padding-left: 0;
}
[dir="rtl"] .invite_rule_tit {
  left: 0;
  right: auto;
  border-radius: 0 0.2rem 0.2rem 0;
}