html,body {
  overflow: auto;
}
body {
  position: relative;
}
body::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  background: #54482c;
  width: 100%;
  padding-top: constant(safe-area-inset-top);
  padding-top: env(safe-area-inset-top);
}
#index,
#bill,
#order-list,
#mall {
  min-height: 100%;
  background-color: #eee;
  position: relative;
  margin-top: constant(safe-area-inset-top);
  margin-top: env(safe-area-inset-top);
}
#index::before,
#bill::before,
#order-list::before,
#mall::before {
  content: "";
  display: block;
  height: 1.05rem;
  background-image: url(./img/bg-header.png);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100%;
}
.index-main > a,
.bill-return-btn,
.order-list-return-btn,
.mall-return-btn {
  position: absolute;
  left: 0;
  top: 0;
  width: 2.52rem;
  height: 1rem;
  background: url(./img/btn-back.png) no-repeat center / cover;
}
/* 用户基本信息 */
.index-main .index-main-record-btn {
  position: absolute;
  left: 3.6rem;
  top: 2.1rem;
  width: 1.11rem;
  height: 0.48rem;
  z-index: 1;
  background: url(./img/btn-integral-record.png) no-repeat center / cover;
}
.index-main .index-mall-btn {
  position: absolute;
  left: 1.9rem;
  top: 2.1rem;
  width: 1.51rem;
  height: 0.48rem;
  z-index: 1;
  background: url(./img/btn-integral-award.png) no-repeat center / cover;
}
.index-main .index-main-name-container .index-main-head-portrait {
  width: 1.28rem;
  height: 1.28rem;
}
.index-main .index-main-name-container .index-main-name {
  margin-left: 0.2rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 2.6rem;
}
.index-main .index-main-name-container .index-main-logout {
  color: #fff;
  font-size: 0.3rem;
}
.index-main .index-main-name-container,
.index-main .index-main-login {
  position: relative;
  width: 7.1rem;
  height: 1.66rem;
  background: url(./img/bg-user.png) no-repeat center / cover;
  margin: 0.2rem auto 0;
  padding: 0.2rem;
  display: flex;
  color: #f4e8ca;
  font-size: 0.32rem;
}
.index-main .index-main-login {
  padding-left: 1.7rem;
}
.index-main .index-main-login::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.28rem;
  height: 1.28rem;
  background: url(./img/user-head-default.png) no-repeat center / cover;
}
.index-main .index-main-point-balance {
  display: none;
}
.index-main .index-main-point-amount {
  position: absolute;
  right: 0.4rem;
  top: 1.6rem;
  color: #f4e8ca;
  font-size: 0.48rem;
  text-align: center;
}
.index-main .index-main-point-amount::after {
  content: "- 总累计积分 -";
  display: block;
  color: #f4e8ca;
  font-size: 0.24rem;
  opacity: 0.6;
}
/* 任务 */
.index-task .index-task-title {
  width: 3.97rem;
  height: 0.7rem;
  margin: 0.2rem 0;
  background: url(./img/task-title.png) no-repeat left top / cover;
}
.index-task .index-task-list {
  background: #fff;
  padding: 0 0.2rem;
  border-radius: 3px;
}
.index-task .index-task-list li {
  display: flex;
  align-items: center;
  position: relative;
  padding: 0.2rem 0;
  border-bottom: 1px solid #eee;
}
.index-task .index-task-list .index-task-icon-container {
  width: 1.02rem;
  height: 1.02rem;
  position: relative;
}
.index-task .index-task-list .index-task-icon-container img {
  max-width: 100%;
}
.index-task .index-task-list .index-task-list-container {
  margin-left: 0.2rem;
}
.index-task .index-task-list .index-task-name {
  max-width: 3.8rem;
  color: #333;
  font-size: 0.28rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.index-task .index-task-list .index-task-limit-value,
.index-task .index-task-list .index-task-limit-total {
  display: inline-block;
  color: #666;
  font-size: 0.28rem;
  max-width: 1.3rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.index-task .index-task-list .index-task-limit-value::before {
  content: "（";
}
.index-task .index-task-list .index-task-limit-total::before {
  content: "/";
  margin-left: 0.04rem;
  margin-right: 0.06rem;
}
.index-task .index-task-list .index-task-limit-total::after {
  content: "）";
}
.index-task .index-task-list .index-task-desc {
  display: none;
}
.index-task .index-task-list .index-task-point {
  color: #666;
  font-size: 0.28rem;
  float: left;
}
.index-task .index-task-list .index-task-point::before {
  content: "+";
}
.index-task .index-task-list .index-task-point::after {
  content: "积分";
  margin-left: 0.1rem;
}
.index-task .index-task-list .index-task-todo-btn,
.index-task .index-task-list .index-task-done-btn {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.28rem;
  height: 0.56rem;
  background: url(./img/bg-btn.png) no-repeat center / cover;
  color: #fff;
  text-align: center;
  font-size: 0.26rem;
  line-height: 0.56rem;
  /* text-indent: -19.98rem; */
}
.index-task .index-task-list .index-task-done-btn {
  text-indent: -19.98rem;
  background: url(./img/btn-finished.png) no-repeat center / cover;
}
/* 积分称号 */
.index-level {
  margin-top: 0.2rem;
  padding-bottom: 0.6rem;
}
.index-level .index-level-container {
  text-align: center;
}
.index-level .index-level-container::before {
  content: "";
  display: block;
  width: 4.54rem;
  height: 0.7rem;
  background: url(./img/level-title.png) no-repeat left top / 100% auto;
}
.index-level .index-level-img {
  width: 100%;
  height: 12.12rem;
  margin-top: 0.2rem;
  background: url(./img/img-level1.png) no-repeat center / auto 100%;
}
.index-level .index-level-img.index-level-img-0 {
  background: url(./img/img-level1.png) no-repeat center / auto 100%;
}
.index-level .index-level-img.preload {
  display: none;
  left: 0;
}
/* 加入我们 */
.index-join {
  display: none;
}
/* 积分记录、我的兑换记录 */
#bill::before {
  background-image: url(./img/bg-header-record.png);
}
.bill-container,
.order-list-container {
  position: relative;
  background: #fff;
  border-radius: 3px;
  width: 95%;
  margin: 0.2rem auto 0;
  padding-bottom: 0.8rem;
}
.bill-container::after,
.order-list-container::after {
  content: "下滑查看更多记录···";
  position: absolute;
  bottom: 0.24rem;
  left: 50%;
  transform: translate(-50%);
  color: #333;
}
.bill-container .bill-title,
.order-list-container .order-list-title {
  width: 100%;
  height: 0.65rem;
  background: url(./img/bill-title.png) no-repeat center / cover;
}
.bill-container .bill-list-container,
.order-list-container .order-list-list-container {
  height: 8rem;
  overflow-y: auto;
}
.bill-container .bill-list,
.order-list-container .order-list-list {
  padding: 0 0.2rem;
}
.bill-container .bill-list li,
.order-list-container .order-list-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  position: relative;
  color: #333;
  font-size: 0.28rem;
  padding: 0.2rem 0;
  border-bottom: 1px solid #eee;
}
.bill-container .bill-list-name {
  width: 35%;
}
.bill-container .bill-list-points {
  width: 33%;
}
.bill-container .bill-list-points::before {
  content: "积分";
}
/* 我的兑换记录 */
#order-list {
  height: auto;
  padding-bottom: 0.2rem;
}
#order-list::before {
  background-image: url(./img/bg-header-exchange.png);
}
#order-list::after {
  content: "备注：游戏内道具奖励请通过游戏内邮件领取，微社区赠花道具将直接发放至微社区，实物奖励将由官方客服联系您进行邮寄。";
  display: block;
  margin: 0.2rem auto 0;
  width: 95%;
  text-align: left;
  color: #333;
  font-size: 0.28rem;
  line-height: 1.6;
  border: 1px solid #c0c0c0;
  padding: 0.2rem;
}
#order-list .order-list-title {
  background: url(./img/order-list-title.png) no-repeat center / cover;
}
#order-list li {
  padding: 0.4rem 0;
}
#order-list .order-list-list-info-container {
  width: 55%;
  position: absolute;
  left: 30%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
}
#order-list .order-list-list-info-container .order-list-list-img-container,
#order-list .order-list-list-info-container .order-list-list-cdkey-container {
  display: none;
}
#order-list .order-list-list-info-container .order-list-list-points {
  position: absolute;
  right: 0;
  top: 0;
  width: 30%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#order-list .order-list-list-status {
  display: none;
}
#order-list .order-list-list-name {
  width: 65%;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
#order-list .order-list-list-date {
  position: absolute;
  left: 0.4rem;
  top: 50%;
  transform: translateY(-50%);
}
#order-list .order-list-list-status {
  position: absolute;
  right: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  width: 22%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* 积分商城 */
#mall {
  padding-bottom: 0.2rem;
}
#mall::before {
  background-image: url(./img/bg-header-award.png);
}
#mall .mall-rules-btn {
  position: absolute;
  left: 0.64rem;
  top: 2.1rem;
  width: 1.11rem;
  height: 0.48rem;
  z-index: 1;
  background: url(./img/btn-rule.png) no-repeat center / cover;
}
#mall .mall-bill-btn {
  position: absolute;
  left: 1.96rem;
  top: 2.1rem;
  width: 1.11rem;
  height: 0.48rem;
  z-index: 1;
  background: url(./img/btn-exchange-record.png) no-repeat center / cover;
}
#mall .mall-bind-name-container,
#mall .mall-bind-btn,
#mall .mall-bind-name-msdk-container {
  position: relative;
  width: 7.1rem;
  height: 1.66rem;
  background: url(./img/bg-user.png) no-repeat center / cover;
  margin: 0.2rem auto 0;
  padding: 0.2rem;
  display: flex;
  color: #f4e8ca;
  font-size: 0.32rem;
}
#mall .mall-bind-name-msdk-container::before {
  content: "欢迎来到积分兑换商城";
  display: inline-block;
  margin-left: 0.24rem;
  font-size: 0.28rem;
}
#mall .mall-bind-btn {
  padding-left: 0.4rem;
}
#mall .mall-bind-btn::before {
  content: "绑定角色";
  border-bottom: 1px solid #f4e8ca;
  height: 0.46rem;
}
#mall .mall-bind-name-container .index-main-head-portrait {
  width: 1.28rem;
  height: 1.28rem;
}
#mall .mall-bind-name-container .mall-bind-name {
  margin-left: 0.2rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 2.6rem;
}
#mall .mall-bind-name-container .mall-rebind-btn {
  color: #fff;
  font-size: 0.3rem;
}
#mall .mall-title-container {
  position: absolute;
  right: 0.4rem;
  top: 1.6rem;
  color: #f4e8ca;
  font-size: 0.48rem;
  text-align: center;
}
#mall .mall-title-container::after {
  content: "- 可用积分 -";
  display: block;
  color: #f4e8ca;
  font-size: 0.24rem;
  opacity: 0.6;
}
#mall .mall-title-container .mall-points-amount {
  display: none;
}
#mall .mall-list-container {
  width: 95%;
  margin-top: 0.2rem;
  background: #fff;
  border-radius: 3px;
}
#mall .mall-list-container .mall-list {
  padding: 0.2rem;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
}
#mall .mall-list-container .mall-list li {
  position: relative;
  padding-bottom: 0.7rem;
  text-align: center;
  width: 48%;
  margin-right: 2%;
  margin-bottom: 0.4rem;
}
#mall .mall-list-container .mall-list li:nth-child(2n) {
  margin-right: 0;
}
#mall .mall-list-container .mall-list-img-container {
  width: 1.6rem;
  height: 1.6rem;
  margin: 0 auto;
  overflow: hidden;
  background: url(./img/border-award.png) no-repeat center / 100% 100%;
}
#mall .mall-list-container .mall-list-img-container img {
  width: 90%;
}
#mall .mall-list-container .mall-list-name {
  color: #333;
  font-size: 0.28rem;
  font-weight: bold;
  margin: 0.1rem 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#mall .mall-list-container .mall-list-value {
  display: block;
  color: #333;
  font-size: 0.22rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-right: 0.1rem;
}
#mall .mall-list-container .mall-list-value::after {
  content: "积分";
}
#mall .mall-list-container .mall-list-limit-container {
  display: block;
  color: #333;
  font-size: 0.22rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
#mall .mall-list-container .mall-list-limit-type {
  display: inline-block;
  color: #333;
  vertical-align: middle;
}
#mall .mall-list-container .mall-list-limit-type.user-buy-limit-type-daily::after {
  content: "每日";
}
#mall .mall-list-container .mall-list-limit-type.user-buy-limit-type-weekly::after {
  content: "每周";
}
#mall .mall-list-container .mall-list-limit-type.user-buy-limit-type-monthly::after {
  content: "每月";
}
#mall .mall-list-container .mall-list-limit-type.user-buy-limit-type-total::after {
  content: "总";
}
#mall .mall-list-container .mall-list-buy-count {
  display: inline-block;
  vertical-align: middle;
  max-width: 1.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#mall .mall-list-container .mall-list-buy-count::before {
  content: "限量";
  margin-right: 0.02rem;
}
#mall .mall-list-container .mall-list-limit {
  display: inline-block;
  vertical-align: middle;
  max-width: 1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#mall .mall-list-container .mall-list-limit::before {
  content: "/";
  margin-right: 0.04rem;
}
#mall .mall-list-container .mall-list-no-limit-container {
  display: inline-block;
  color: #333;
  font-size: 0.22rem;
  vertical-align: middle;
}
#mall .mall-list-container .mall-list-no-limit-container::after {
  content: "不限量";
}
#mall .mall-list-container .mall-list-btn {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 1.11rem;
  height: 0.48rem;
  margin: 0.2rem auto 0;
  background: url(./img/btn-exchange.png) no-repeat center / cover;
}
/* 弹窗 */
.toast .toast-btn-close,
.game-tools-close {
  position: absolute;
  right: 0.12rem;
  top: 0.06rem;
  width: 1.73rem;
  height: 0.7rem;
  background: url(./img/btn-close.png) no-repeat center / 100% 100%;
}
/* 规则 */
.toast-rules .toast-rules-img {
  width: 5.58rem;
  height: 4.87rem;
  background: url(./img/img-rule.png) no-repeat center / 100% 100%;
}
/* 登录 */
.toast-login {
  width: 5.58rem;
  height: 3.77rem;
  background: url(./img/bg-modal.png) no-repeat center / 100% 100%;
}
.toast-login .toast-login-title {
  margin: 0.36rem auto 0.54rem;
  width: 1.28rem;
  height: 0.31rem;
  background: url(./img/modal-title-login.png) no-repeat center / 100% auto;
}
.toast-login .toast-login-qq,
.toast-login .toast-login-wx {
  width: 1.5rem;
  height: 1.5rem;
  float: right;
}
.toast-login .toast-login-qq {
  margin-right: 0.72rem;
  background: url(./img/icon-qq.png) no-repeat center / 100% auto;
}
.toast-login .toast-login-wx {
  margin-right: 0.94rem;
  background: url(./img/icon-wx.png) no-repeat center / 100% auto;
}
/* 兑换物品弹窗 */
.toast-exchange {
  width: 5.58rem;
  height: 5.37rem;
  background: url(./img/bg-modal-exchange.png) no-repeat center / 100% 100%;
}
.toast-exchange .toast-exchange-title {
  width: 3.12rem;
  height: 0.33rem;
  margin: 0.66rem auto 0.1rem;
  background: url(./img/modal-title-exchange.png) no-repeat center / 100% 100%;
}
.toast-exchange .toast-exchange-name {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 3.1rem;
  width: 90%;
  color: #d6c596;
  font-size: 0.26rem;
  font-weight: bold;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.toast-exchange .toast-exchange-img-container {
  width: 1.58rem;
  height: 1.58rem;
  margin: 0.4rem auto 0;
  overflow: hidden;
  background: url(./img/border-modal-award.png) no-repeat center / cover;
}
.toast-exchange .toast-exchange-img-container img {
  max-width: 100%;
}
.toast-exchange .toast-exchange-pay {
  position: absolute;
  left: 0.4rem;
  bottom: 1.5rem;
  color: #d6c596;
  font-size: 0.24rem;
  width: 35%;
  text-align: right;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.toast-exchange .toast-exchange-pay::after {
  content: "积分";
}
.toast-exchange .toast-exchange-limit-container {
  position: absolute;
  right: 0.4rem;
  bottom: 1.5rem;
  color: #d6c596;
  font-size: 0.24rem;
  width: 45%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.toast-exchange .toast-exchange-limit-container::before {
  content: "限量";
}
.toast-exchange .toast-exchange-limit-container .toast-exchange-limit::before {
  content: "/";
}
.toast-exchange .toast-exchange-confirm {
  position: absolute;
  left: 0.7rem;
  bottom: 0.6rem;
  width: 1.92rem;
  height: 0.68rem;
  background: url(./img/btn-exchange-ok.png) no-repeat center / cover;
}
.toast-exchange .toast-exchange-cancel {
  position: absolute;
  right: 0.7rem;
  bottom: 0.6rem;
  width: 1.92rem;
  height: 0.68rem;
  background: url(./img/btn-guess.png) no-repeat center / cover;
}
/* 积分兑换不够提示 */
.toast-tips {
  width: 5.58rem;
  height: 3.77rem;
  background: url(./img/bg-modal.png) no-repeat center / 100% 100%;
  color: #d6c596;
  font-size: 0.28rem;
  padding: 0.9rem 1.3rem;
  text-align: center;
}
.toast-tips .toast-tips-text {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.toast-tips .toast-tips-btn-close {
  width: 2.32rem;
  height: 0.68rem;
  left: 50%;
  right: auto;
  top: auto;
  bottom: 0.8rem;
  transform: translateX(-50%);
  background-image: url(./img/btn-ok.png);
}
/* 选择区服 */
.game-tools-modal {
  position: absolute;
  padding: 0.26rem;
  width: 5.58rem;
  height: 4.87rem;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: url(./img/bg-modal-server.png) no-repeat center / cover;
}
.game-tools-modal::before {
  content: "";
  display: block;
  width: 2.24rem;
  height: 0.31rem;
  margin: 0.1rem auto 0.3rem;
  background: url(./img/modal-title-server.png) no-repeat center / cover;
}
.game-tools-modal h2 {
  display: none;
}
.game-tools-modal .gt-form-item {
  margin-bottom: 0.2rem;
  padding: 0 0.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.game-tools-modal .gt-form-item label {
  color: #d6c596;
  width: 1rem;
}
.game-tools-modal .gt-form-item select {
  width: 2.76rem;
  color: #7f7f7f;
  font-size: 0.28rem;
  background: #232426;
  padding: 0.04rem 0;
  border: 1px solid #564c34;
}
.game-tools-modal #confirmGameRole {
  display: block;
  margin: 0.3rem auto 0;
  width: 2.32rem;
  height: 0.68rem;
  text-indent: -19.98rem;
  background: url(./img/btn-ok.png) no-repeat center / cover;
}



.game-tools-empower {
  padding: 5px 0.6rem 15px;
  font-size: 12px;
  color: #d6c596;
}
#gameToolsModalWrap .game-tools-modal {
  height: 6.5rem;
}

.game-tools-empower  input[type="checkbox"]{
  width:12px;
  height:12px;
  margin-right: 5px;
  margin-bottom: 5px;
  position: relative;
  top: 1px;
  -webkit-appearance: checkbox;

}
.game-tools-empower  input[type="checkbox"]::before{
  display: inline-block;
  content: "";
  position: relative;
  left: -1px;
  top: -1px;
  width:14px;
  height: 14px;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 50%;
}
.game-tools-empower  input[type="checkbox"]:checked::before{
  content: "\2713";
  font-size: 12px;
  background-color:#d6c596;
  border: 1px solid #d6c596;
  text-align: center;
  color:white;
  line-height: 12px;
} 

#unbind-btn {
  text-align: center;
  color: #d6c596;
  text-decoration: underline;
  font-size: 12px;
  margin-top: 10px;
}
