* {
  /* font-family: Source Han Sans CN !important; */
  font-family: PingFangSC-Regular, PingFang SC !important;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  background-color: #f4f4f4;
}

.logo {
  display: flex;
  display: -webkit-flex;
}

.logo img {
  width: 6rem;
}

.main {
  width: 8.6rem;
  margin: 0 auto;
  background-color: white;
  box-shadow: 0px 2px 4px 0px rgba(190, 190, 190, 0.5);
  border-radius: .07rem;
  padding: .1rem;
}

.logo_box {
  width: 8.6rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  position: relative;
  top: -0.23rem;
}

.logo_left {
  display: flex;
  display: -webkit-flex;
  align-items: center;
  width: 2rem;
}

.logo_left img {
  width: .75rem;
  height: .75rem;
  display: block;
}

.logo_left .logo_text p {
  font-weight: 600;
  font-size: .15rem;
  color: #5c5c5c;
  font-family: Helvetica, Verdana, Arial, sans-serif;
}

.logo_left .logo_text span {
  font-size: .12rem;
  color: #888;
  font-family: Helvetica, Verdana, Arial, sans-serif;
}

.logo_text {
  line-height: 0;
  margin-left: .1rem;
  margin-top: .3rem;
}

.logo_right {
  display: flex;
  text-align: center;
  line-height: .32rem;
  margin-left: .5rem;
  margin-top: .3rem;
}

.logo_right a {
  font-size: .12rem;
  color: #888;
  font-family: Helvetica, Verdana, Arial, sans-serif;
  width: 1rem;
  height: .35rem;
  background-color: white;
  border-radius: .2rem;
  display: block;
  font-weight: 500;
  border: 1px solid #e5e5e5;
  margin-right: .2rem;
}

.login {
  width: 8.6rem;
  margin: 0 auto;
  text-align: center;
  margin: 0 auto;
  background-color: white;
  border-radius: .07rem;
  margin: .15rem auto;
  box-shadow: 0px 2px 4px 0px rgba(190, 190, 190, 0.5);
  padding: .25rem 0;
}

.login a:hover {
  background-color: #dc5439;
}

.login p {
  font-weight: 500;
  font-size: .12rem;
  color: #888;
  font-family: Helvetica, Verdana, Arial, sans-serif;
}

.login a {
  margin: 0 auto;
  text-align: center;
  line-height: .35rem;
  display: block;
  width: 1.6rem;
  height: .35rem;
  background-color: #f85737;
  border-radius: .5rem;
  font-size: .14rem;
  color: #fff;
  font-family: Helvetica, Verdana, Arial, sans-serif;
  margin-top: .1rem;
}

.recharge-header {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  margin: 0 auto .24rem auto;
  width: 8.6rem;
  padding: 0;
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

.recharge-header-bar {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #444343;
  color: #fff;
  padding: .05rem .1rem;
  border-radius: .08rem .08rem 0 0;

}

.recharge-header-bar span {
  color: white;
  font-size: .12rem;
}

.logout-btn {
  background: none;
  border: none;
  color: #868686;
  font-size: .14rem;
  cursor: pointer;
  position: absolute;
  top: -.35rem;
  right: 0;
  font-weight: bolder;
}

.recharge-content {
  padding: .24rem;
}

.recharge-message {
  font-size: .25rem;
}

.recharge-info {
  display: flex;
}

.avatar {
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  margin-right: .18rem;
  object-fit: cover;
}

.info-text {
  display: flex;
  flex-direction: row;
}

.recharge-tip {
  font-size: .12rem;
  margin-bottom: .08rem;
  color: #b8b8b8;
}

.recharge-tip .highlight {
  color: #f85737;
  font-weight: bold;
  font-size: .12rem;
}

.recharge-tip .coupon {
  color: #ff6600;
  font-weight: bold;
  font-size: .12rem;
}

.role-detail {
  font-size: .1rem;
  color: #888;
  margin-bottom: .02rem;
}

.role-detail span {
  font-size: .12rem;
}

.role-meta {
  font-size: .12rem;
  color: #888;
}

.recharge-wrap {
  display: flex;
  justify-content: space-between;
}

.recharge-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: .2rem;
}

.switch-btn,
.record-btn {
  position: relative;
  background: #fff;
  border: 1px solid #f4f4f5;
  border-radius: .2rem;
  padding: .06rem .4rem;
  font-size: .12rem;
  color: #444;
  cursor: pointer;
  transition: border 0.2s;
}

.phone-btn a {
  width: 1.3rem;
  background: #fff;
  border: 1px solid #f4f4f5;
  border-radius: .2rem;
  font-size: .12rem;
  color: #444;
  cursor: pointer;
  transition: border 0.2s;
  background-color: white;
  position: absolute;
  top: 0;
  display: block;
  height: .3rem;
  line-height: .3rem;
}

.phone-btn {
  width: 1.3rem;
  background: url(../assets/images/anniu1.png) no-repeat center top;
  height: .3rem;
  display: block;
  position: relative;
  outline: 0;
  border: 0;
  border-radius: .2rem;
  background-size: cover;
}

.switch-btn img {
  width: .13rem;
  position: absolute;
  right: .2rem;
  top: 50%;
  transform: translateY(-50%);
}

.arrow {
  font-size: .22rem;
  color: #bbb;
  margin-left: .08rem;
}

.part1 {
  width: 100%;
  /* background-color: white;
    box-shadow: 0px 2px 4px 0px rgba(190, 190, 190, 0.5);
    border-radius: .07rem;
    padding: .1rem; */
}

.part1 p {
  font-weight: 500;
  font-size: .12rem;
  color: #333;
  font-family: Helvetica, Verdana, Arial, sans-serif;
}

.part1 .pt1_list {}

.part1 .pt1_list ul {
  margin-top: .1rem;
}

.part1 .pt1_list ul li {
  width: 2.05rem;
  height: 3.2rem;
  /* 固定整体高度 */
  border-radius: .23rem;
  cursor: pointer;
  position: relative;
  margin-bottom: .2rem;
  float: left;
  margin-right: .06rem;
}

.part1 .pt1_list ul li:nth-child(4n) {
  margin-right: 0;
}

.part1 .pt1_list ul li .pt1_bck {
  width: 2.05rem;
  height: 1.15rem;
  /* 初始图片区域高度 */
  border-radius: .2rem .2rem 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: height 0.3s ease;
  /* 添加高度变化过渡效果 */
}

.part1 .pt1_list ul li .pt1_bck img {
  width: 1rem;
  transition: width 0.3s ease;
  /* 添加图片宽度变化过渡效果 */
}

.pt1_text {
  padding-top: .1rem;
  background-color: white;
  height: calc(3.15rem - 1.15rem);
  /* 初始文本区域高度，用整体高度减去图片区域高度 */
  transition: height 0.3s ease;
  /* 添加高度变化过渡效果 */
  overflow: hidden;
}

.pt1_text a {
  text-align: center;
  line-height: .22rem;
  display: block;
  width: 95%;
  margin: 0 auto;
  font-size: .15rem;
  color: #888;
  font-family: Helvetica, Verdana, Arial, sans-serif;
  margin-top: .05rem;
  position: relative;
  user-select: none;
  height: .9rem;
  /* 设定固定高度 */
  overflow: hidden;
}

.pt1_text p {
  font-weight: 500;
  color: #000;
  font-size: .18rem;
  text-align: center;
}

/* 添加箭头样式 */



.pt1_list .price {
  width: 1.9rem;
  height: .3rem;
  background-color: #eff0f1;
  position: absolute;
  bottom: 5px;
  border-radius: 5rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  line-height: .3rem;
  color: #f85737;
  font-size: .14rem;
}

.pt1_list .price span {
  color: #f85737;
  font-size: .14rem;
}

.part2 h3 {
  font-size: .14rem;
}

.part2 {
  margin-top: .4rem;
}

.part2 .Payment {
  margin-top: .3rem;
}

.part2 .quantity-selector {
  width: 1.3rem;
  display: flex;
  align-items: center;
  margin-top: .1rem;
  border: 1px solid #f85737;
  border-radius: 5rem;
  justify-content: space-evenly;
}

.quantity-selector button {
  width: .3rem;
  height: .3rem;
  font-size: .18rem;
  border: 0;
  background-color: #ffffff00;
  cursor: pointer;
  user-select: none;
}

.quantity-selector input {
  width: .5rem;
  height: .3rem;
  text-align: center;
  border: 1px solid #ccc;
  border: 0;
  font-size: .15rem;
  color: #f85737;
  user-select: none;
}

/* 移除 Chrome, Safari, Edge, Opera 中输入框的默认箭头 */
.quantity-selector input::-webkit-outer-spin-button,
.quantity-selector input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* 移除 Firefox 中输入框的默认箭头 */
.quantity-selector input[type=number] {
  -moz-appearance: textfield;
}

.quantity-selector input[readonly] {
  border: 0;
  background-color: #f8f8f8;
  /* 设置背景颜色，表明为只读状态 */
  cursor: not-allowed;
  /* 改变光标样式 */
}

.part3 {
  margin-top: .3rem;
}

.part3 .pt3_box {
  width: 100%;
  padding: .1rem;
  background-color: #f4f4f4;
  border-radius: .05rem;
  position: relative;
}

.part3 .message {
  display: flex;
  display: -webkit-flex;
}

.part3 .role {}

.part3 .pay {
  width: 1.45rem;
  height: .3rem;
  line-height: .3rem;
  text-align: center;
  color: white;
  background-color: #f85737;
  font-size: .14rem;
  border-radius: .5rem;
  margin-top: .1rem;
  float: right;
  cursor: pointer;
  user-select: none;
}

.part3 .role .role-message {
  float: left;
}

.part3 .role .total {
  float: right;
  font-size: .16rem;
  color: #828282;
}

.part3 .role .total i {
  float: right;
  font-size: .16rem;
  color: #f85737;
  font-weight: 600;
}

.part3 .message .commodity {
  margin-right: 1rem;
  margin-bottom: .1rem;
}

.part3 .message .commodity,
.part3 .message .num {
  font-size: .12rem;
  color: #828282;
}

.part3 .message .commodity i,
.part3 .message .num i {
  font-size: .12rem;
  color: #333;
}

.part3 .role .role-message {
  font-size: .12rem;
  color: #828282;
}

.part4 {
  margin-top: .5rem;
}

.part4 h3 {
  font-size: .15rem;
  color: #828282;
  font-weight: 600;
  margin-bottom: .05rem;
}

.part4 p {
  font-size: .12rem;
  color: #888;
  font-weight: 600;
  line-height: .25rem;
}

.part4 .pt4_more a {
  font-size: .12rem;
  color: #f85737;
}

.login-modal-mask {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 999;
}

.login-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: .1rem;
  width: 4rem;
  box-shadow: 0 .08rem .32rem rgba(0, 0, 0, 0.18);
  z-index: 1000;
  padding: .6rem .32rem .6rem .32rem;
  box-sizing: border-box;
}

.login-modal-close {
  position: absolute;
  top: .18rem;
  right: .18rem;
  width: .14rem;
  height: auto;
  cursor: pointer;
}

.login-modal-logo {
  text-align: center;
}

.login-modal-logo img {
  width: 1.89rem;
  height: auto;
}

.login-modal-form {
  display: flex;
  flex-direction: column;
  gap: .16rem;
}

.login-modal-input {
  width: 100%;
  height: .4rem;
  border: 0;
  padding: 0 .12rem;
  font-size: .14rem;
  outline: none;
  border-bottom: 1px solid #f7f7f7;
}

.login-modal-verify-row {
  display: flex;
  gap: .08rem;
  margin-top: .3rem;
  align-items: end;
}

.login-modal-input-code {
  flex: 1;
}

.login-modal-code-btn {
  width: 1rem;
  height: .2rem;
  background: transparent;
  color: #f85737;
  border: none;
  /* cursor: not-allowed; */
  font-size: .14rem;
  border-left: 1px solid #f85737;
}

.login-modal-options {
  display: flex;
  flex-direction: column;
  gap: .06rem;
  font-size: .1rem;
  color: #888;
  user-select: none;
}

.login-modal-options a {
  color: #f85737;
  text-decoration: none;
  font-size: .1rem;
}

.login-modal-login-btn {
  width: 100%;
  height: .4rem;
  background: #f85737;
  color: #fff;
  border: none;
  border-radius: .5rem;
  font-size: .2rem;
  cursor: pointer;
  margin-top: .06rem;
}

.login-modal-more {
  font-size: .13rem;
  text-align: center;
  margin: .1rem 0 0 0;
}

.login-modal-more span {
  color: #acacac;
  font-size: .13rem;
}

.login-modal-safe-login {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .08rem;
  margin-top: .08rem;
  color: #4a90e2;
  font-size: .15rem;
  cursor: pointer;
  width: 100%;
  height: .5rem;
  border-radius: .5rem;
  border: 1px solid #f1f2f3;
}

.login-modal-safe-login span {
  color: #a3a3a3;
  font-size: .14rem;
}

.login-modal-safe-login img {
  width: .2rem;
}

.login-modal-options input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: .12rem;
  height: .12rem;
  border-radius: 50%;
  background: #c5c6c7;
  border: none;
  position: relative;
  cursor: pointer;
  outline: none;
  vertical-align: middle;
  margin-right: .02rem;
  box-shadow: 0 0 0 .01rem #c5c6c7;
  transition: background 0.2s;
}

.login-modal-options input[type="checkbox"]:checked {
  background: #f85737;
  box-shadow: 0 0 0 .01rem #f85737;
}

.login-modal-options input[type="checkbox"]::after {
  content: '';
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  width: .07rem;
  height: .035rem;
  border-left: .025rem solid #fff;
  border-bottom: .025rem solid #fff;
  transform: translate(-50%, -60%) rotate(-45deg);
  opacity: 1;
  pointer-events: none;
}

.login-modal-options input[type="checkbox"]:not(:checked)::after {
  opacity: 1;
}

.login-modal-options input[type="checkbox"]:checked::after {
  opacity: 1;
}

.login-modal-input::placeholder {
  color: #cdcdcd;
  font-size: .12rem;
}

input:-webkit-autofill,
input:-webkit-autofill:focus,
input:-webkit-autofill:hover,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-text-fill-color: #000 !important;
}

input {
  autocomplete: off;
}

/* 登录弹窗错误提示样式 */
.login-modal-error-tip {
  width: 100%;
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: .12rem .32rem;
  font-size: .16rem;
  text-align: center;
  pointer-events: none;
  box-shadow: 0 .02rem .08rem rgba(0, 0, 0, 0.15);
}

.payment-methods {
  display: flex;
  gap: .32rem;
  margin-top: .12rem;
}

.payment-method {
  display: flex;
  align-items: center;
  border: .01rem solid #e0e0e1;
  border-radius: .5rem;
  padding: 0 .8rem;
  height: .35rem;
  cursor: pointer;
  font-size: .16rem;
  background: #fff;
  position: relative;
  transition: border-color 0.2s, background 0.2s;
}

.payment-method input[type="radio"] {
  display: none;
}

.payment-method .payment-icon {
  margin-right: .08rem;
  display: flex;
  align-items: center;
}

.payment-icon img {
  width: .24rem;
  height: .24rem;
  vertical-align: middle;
}

.payment-method .payment-text {
  font-size: .16rem;
  color: #333;
}

.payment-method .payment-new {
  display: inline-block;
  background: #ff5b57;
  color: #fff;
  font-size: .12rem;
  border-radius: .1rem;
  padding: 0 .06rem;
  margin-left: .06rem;
  position: absolute;
  top: -0.1rem;
  right: -0.18rem;
}

.payment-method-active {
  border: .01rem solid #f85737;
}

.recharge-record-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2000;
  width: 4.2rem;
  background: #fff;
  border-radius: .12rem;
  font-family: "Microsoft YaHei", Arial, sans-serif;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  margin: 0;
  padding-bottom: .16rem;
}

.modal-header {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: .35rem;
  background: linear-gradient(to right, #525252, #000);
  color: #fff;
  font-size: 18px;
  border-radius: .1rem .1rem 0 0;
}

.modal-title {
  flex: 1;
  text-align: center;
  color: white;
  font-size: .14rem;
}

.modal-close {
  position: absolute;
  right: 16px;
  top: 0;
  font-size: 24px;
  cursor: pointer;
  color: white;
}

.tab-buttons {
  display: flex;
  justify-content: center;
  border-bottom: 2px solid #eee;
  background: #fff;
  padding: 12px 0 12px 0;
}

.tab-btn {
  border: 1.5px solid #eee;
  background: #fff;
  color: #222;
  border-radius: 20px;
  padding: .04rem .3rem;
  margin: 0 .08rem;
  font-size: .15rem;
  cursor: pointer;
  outline: none;
  transition: border 0.2s, color 0.2s;
}

.tab-btn.active {
  border: 1.5px solid #e94d2e;
  color: #e94d2e;
  background: #fff;
}

.tab-btn.invoice-btn {
  /* 继承tab-btn样式，无需额外样式，保留扩展性 */
}

.modal-content {
  min-height: 3.45rem;
  padding: .16rem .25rem;
  height: 3.45rem;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 8px 0;
  font-size: 18px;
  color: #888;
}

.page-arrow {
  margin: 0 16px;
  cursor: pointer;
  user-select: none;
}

.page-number {
  color: #e94d2e;
  font-weight: bold;
  font-size: 16px;
}

/* 移除页码输入框的上下按钮 */
.recharge-record-modal .page-input {
  -webkit-appearance: none;
  -moz-appearance: textfield;
}

.recharge-record-modal .page-input::-webkit-inner-spin-button,
.recharge-record-modal .page-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.total-amount {
  text-align: right;
  padding: 0 .24rem 0 0;
  font-size: .15rem;
  color: #888;
  margin-bottom: .08rem;
}

.total-amount .amount {
  color: #e94d2e;
  font-size: .18rem;
  font-weight: bold;
  margin-left: .04rem;
}

.record-desc {
  border-top: .01rem solid #eee;
  padding: .12rem .18rem 0 .18rem;
  font-size: .13rem;
  color: #888;
}

.desc-title {
  font-weight: bold;
  margin-bottom: 2px;
  font-size: .14rem;
}

.desc-text {
  margin-bottom: 2px;
  font-size: .14rem;
  font-size: .14rem;
}

/* 礼包美化迁移自原项目 RechargeProductCell */
.gift-item {
  border: 1px solid #e0e0e0;
  background: #fff;
}

.gift-item .gift-img {
  width: 100%;
  height: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  transition: height 0.3s;
}

.gift-item.expanded .gift-img {
  height: 0.8rem;
}

.gift-item .gift-img-id-19 img {
  width: 1.15rem;
}

.gift-item .gift-img-id-11 img {
  width: .7rem;
}

.gift-item .gift-img-id-10 img {
  width: .9rem;
  transform: rotate(-80deg);
}

.gift-item .gift-img-id-9 img {
  width: .9rem;
  transform: rotate(-80deg);
}

.gift-item .gift-img-id-8 img {
  width: .9rem;
}

.gift-item .gift-img-id-5 img {
  width: .9rem;
}

.gift-item .gift-img-id-4 img {
  width: .9rem;
  transform: rotate(-90deg);
}

.gift-item .gift-img-id-3 img {
  width: .6rem;
  transform: rotate(-90deg);
}

.gift-item .gift-img-id-2 img {
  width: .6rem;
  transform: rotate(-90deg);
}

.gift-item .gift-img-id-1 img {
  width: .7rem;
}

.gift-item .gift-img-id-6 img {
  width: .9rem;
}

.gift-item .gift-img-id-17 img {
  width: .9rem;
}

.gift-item .gift-img-id-16 img {
  width: .9rem;
  transform: rotate(-90deg);
}

.gift-item .gift-img-id-15 img {
  width: .6rem;
  transform: rotate(-90deg);
}

.gift-item .gift-img-id-14 img {
  width: .6rem;
  transform: rotate(-90deg);
}

.gift-item .gift-img-id-13 img {
  width: .7rem;
}

.gift-item .gift-img-id-18 img {
  width: .9rem;
}

.gift-item .gift-img-id-7 img {
  width: .9rem;
}

.gift-img-extra .extra-icon1 {
  width: .6rem;
  position: absolute;
  top: -0.57rem;
  left: -0.25rem;
  z-index: 10;
}

.gift-img-extra .extra-icon2 {
  width: .3rem;
  position: absolute;
  top: -0.18rem;
  left: .08rem;
  z-index: 1;
}

.gift-text {
  flex: 1 1 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 0;
}

.gift-title {
  font-weight: 600;
  color: #222;
  font-size: .16rem;
  text-align: center;
  margin: .12rem 0 .06rem 0;
}

.gift-desc-toggle {
  display: flex;
  align-items: flex-start;
  position: relative;
  max-width: 100%;
  cursor: pointer;
  white-space: normal;
  overflow: hidden;
  padding: 0 8px;
  box-sizing: border-box;
  text-align: center;
}

.gift-price {
  width: 1.9rem;
  height: .3rem;
  background-color: #eff0f1;
  position: absolute;
  bottom: 5px;
  border-radius: 5rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  line-height: .3rem;
  color: #f85737;
  font-size: .14rem;
  font-weight: 700;
}

.gift-item.selected .gift-price {
  background-color: #f85737 !important;
  color: #fff;
}

.gift-item.selected {
  border: 1px solid #f85737;
}

.gift-item.expanded {
  background: none;
  box-shadow: none;
  z-index: 5;
  transform: none;
  transition: none;
}

.gift-item.expanded .expand-arrow {
  transform: rotate(180deg);
}

.gift-item.soldout .gift-tag,
.gift-item.activated .gift-tag {
  background: #bdbdbd;
}

.gift-item .gift-extra {
  margin-top: 6px;
  font-size: 0.95em;
  color: #2196f3;
  text-align: center;
}

.gift-item .gift-double {
  position: absolute;
  left: 10px;
  top: 10px;
  background: #f85737;
  color: #fff;
  font-size: 0.85em;
  padding: 2px 8px;
  border-radius: 8px;
  font-weight: bold;
  z-index: 2;
}

.gift-desc {
  color: #888;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  white-space: normal;
  transition: all 0.3s;
  max-height: 5.8rem;
  /* 约4行 */
  user-select: none;
  font-size: .14rem;
}

.gift-item.expanded .gift-desc {
  -webkit-line-clamp: unset;
  max-height: 2rem;
  overflow: visible;
}

.expand-arrow {
  display: inline-block;
  width: 0.1rem;
  height: 0.1rem;
  background: url('../assets/images/wangye3_02.png') no-repeat center/contain;
  flex-shrink: 0;
  align-self: flex-end;
  margin-bottom: 2px;
}

.gift-item.expanded .expand-arrow {
  transform: rotate(180deg);
}

.role-modal-mask {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}

.role-modal-header {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: .35rem;
  background: #222;
  color: #fff;
  font-size: .18rem;
}

.role-modal-header span:first-child {
  flex: 1;
  text-align: center;
  color: white;
  font-size: .14rem;
}

.role-modal-header .role-modal-close {
  position: absolute;
  right: 16px;
  top: 0;
  font-size: .24rem;
  cursor: pointer;
  color: white;
}

.role-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2000;
  width: 4.15rem;
  height: 4.3rem;
  background: #fff;
  border-radius: .12rem;
  font-family: "Microsoft YaHei", Arial, sans-serif;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  margin: 0;
}

.role-list {
  list-style: none;
  padding: 0;
  padding: .08rem .1rem .18rem .1rem;
  max-height: 3rem;
  overflow-y: auto;
  height: 3rem;
}

.role-item {
  display: flex;
  align-items: center;
  padding: .12rem .18rem;
  border-radius: 10px;
  border: 2px solid #eee;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s, background 0.2s;
  margin-bottom: .1rem;
}

.role-item.selected {
  border-color: #f85737;
  background: #fff6f2;
}

.role-avatar {
  width: .6rem;
  height: .6rem;
  border-radius: 50%;
  background: #eee;
  margin-right: 16px;
}

.role-info {
  flex: 1;
}

.role-name {
  font-weight: bold;
  font-size: .12rem;
  color: #333;
}

.role-id,
.role-server {
  color: #888;
  font-size: 0.12rem;
}

.role-checkmark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f85737;
  display: inline-block;
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  /* background: url('../assets/images/checkmark.png') no-repeat center/16px 16px #f85737; */
  border: 2px solid #fff;
  box-shadow: 0 2px 6px #f8573722;
  display: none;
}

.role-modal-list {
  padding: 0.1rem 0.1rem 0 .1rem;
  min-height: 3.4rem;
}

.role-item.selected .role-checkmark {
  display: inline-block;
}

.role-modal-actions {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 12px;
}

.role-choose-btn {
  width: 1.9rem;
  height: .4rem;
  background: #f85737;
  color: #fff;
  border: none;
  border-radius: 1rem;
  font-size: .14rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}

.role-choose-btn:hover {
  background: #e94c2a;
}

.role-cancel-btn {
  width: 1.9rem;
  height: .4rem;
  background: #e0e0e0;
  color: #444;
  border: none;
  border-radius: 1rem;
  font-size: .14rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}

.role-cancel-btn:hover {
  background: #ccc;
}

/* 兑换按钮样式 - 与源代码保持一致 */
.part3 .exchange-btn {
  width: 1.45rem;
  height: .3rem;
  line-height: .3rem;
  text-align: center;
  color: white;
  background-color: #f85737;
  font-size: .14rem;
  border-radius: .5rem;
  margin-top: .1rem;
  float: right;
  cursor: pointer;
  user-select: none;
}

.part3 .exchange-btn.disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

/* 道具兑换信息样式 */
.item-exchange-info {
  font-size: .11rem;
  color: #f85737;
  margin-top: .05rem;
  font-weight: 500;
}

/* 兑换货币图标样式 */
.gift-price img {
  vertical-align: middle;
  margin-right: .02rem;
}

/* 道具兑换价格显示样式 */
.gift-price.exchange-price {
  color: #f85737;
  font-weight: 600;
}

.item-own div {
  font-size: .14rem;
}

.item-own-box span {
  font-size: .14rem;
}

.item-own {
  margin-top: .3rem;
}

.item-own-row {
  display: flex;
  gap: .05rem;
  margin-top: .12rem;
}

.item-own-box .item-own-num {
  background: #eff0f1;
  padding: .01rem .4rem;
  border-radius: 1rem;
  margin-left: -.2rem;
  position: relative;
  z-index: 2;
}

.recharge-record-mask {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 998;
  display: none;
}

.coupon-info {
  display: block !important;
  font-size: .13rem;
  bottom: .4rem;
  position: absolute;
  color: #0a0909;
}

.role-modal-btn {
  display: flex;
  justify-content: space-evenly;
}

.role-modal-btn div {
  width: 1.9rem;
  height: .4rem;
  border-radius: 1rem;
  cursor: pointer;
  line-height: .4rem;
  text-align: center;

}

.role-modal-btn .role-modal-cancel {
  background-color: #c5c6c7;
  font-size: .16rem;
}

.role-modal-btn .role-modal-confirm {
  background-color: #f85737;
  font-size: .16rem;
  color: white;
}

.role-mode-box {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: .35rem;
  background: linear-gradient(to right, #525252, #000);
  border-radius: .1rem .1rem 0 0;
}

.role-mode-box h3 {
  font-size: .18rem;
  color: #fff;
  font-size: .14rem;
}

.role-modal-close {
  position: absolute;
  right: 16px;
  top: 0;
  font-size: .24rem;
  cursor: pointer;
  color: white;
  z-index: 999;
}

.record-item {
  margin-bottom: .15rem;
}

.record-time {
  color: #333;
  font-size: .13rem;
}

.record-order-id {
  color: #333;
  font-size: .14rem;
}

.record-recharge-channel {
  color: #333;
  font-size: .14rem;
}

.record-amount {
  color: #161515;
  font-size: .14rem;
}

.role-id {
  color: red;
  font-size: .14rem;
}

.notice-modal h3 {
  text-align: center;
  margin-bottom: .12rem;
  font-size: .14rem;
}

.notice-content {
  margin-bottom: .18rem;
}

.notice-content p {
  font-size: .14rem;
  color: #333;
}

.notice-confirm-btn {
  width: 100%;
  padding: .08rem 0;
  border: none;
  background: #ff5837;
  color: #fff;
  border-radius: .05rem;
  font-size: .16rem;
}

#global-tips {
  width: 8rem;
  height: .4rem;
  line-height: .4rem;
  position: fixed;
  top: 30%;
  left: 50%;
  transform: translate(-50%, 0);
  background: url(../assets/images/showTips.png) no-repeat;
  background-size: 100% 100%;
  color: #fff;
  border-radius: .08rem;
  z-index: 9999;
  font-size: .18rem;
  max-width: 80vw;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}


.qrcode-modal-mask {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rebate-tag {
  position: absolute;
  right: -0.1rem;
  top: -0.07rem;
  z-index: 3;
  display: flex;
  align-items: center;
}

.rebate-bck {
  width: .9rem;
  height: .5rem;
}

.rebate-text {
  position: absolute;
  left: .16rem;
  top: .02rem;
  line-height: .4rem;
  text-align: center;
  color: #fff;
  font-size: .16rem;
  transform: rotate(-11deg);
}

.rebate-text i {
  font-size: .18rem;
  color: #fdfd2e;
}

.double-tag {
  position: absolute;
  left: -0.04rem;
  top: -0.08rem;
  z-index: 4;
}

.double-tag img {
  width: .65rem;
  height: .65rem;
  object-fit: cover;
}


.modal-mask {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 998;
}

.rebate-help-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2000;
  width: 4.2rem;
  background: #fff;
  border-radius: .12rem;
  font-family: "Microsoft YaHei", Arial, sans-serif;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  margin: 0;
  padding-bottom: .16rem;
}

.rebate-help-modal {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: .35rem;
  background: linear-gradient(to right, #525252, #000);
  color: #fff;
  border-radius: .1rem .1rem 0 0;
}

.rebate-help-modal h3 {
  color: white;
  font-size: .15rem;
}

.modal-close {
  position: absolute;
  right: .16rem;
  top: .04rem;
  font-size: .16rem;
  cursor: pointer;
  color: white;
}

.modal-content1 {
  padding: 0.1rem .25rem 0.3rem .25rem;
  overflow-y: auto;
  max-height: 7rem;
}

.modal-content1 h3 {
  font-size: .15rem;
  color: #888;
  font-weight: 500;
}

.modal-content1 p {
  font-size: .15rem;
  color: #888;
  font-weight: 500;
}

.rebate-model-img div {
  font-size: .15rem;
  color: #888;
  font-weight: 500;
  margin-top: .2rem;
}

.rebate-model-img img {
  margin-bottom: .15rem;
}

.rebate-model-img .rebate-model-img1 {
  width: 3rem;
  display: block;
  margin-top: .1rem;
}

.rebate-model-img .rebate-model-img2 {
  width: 2rem;
  display: block;
}

.notice-modal-mask {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 998;
}

.notice-modal-top {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2000;
  width: 4.2rem;
  background: #fff;
  border-radius: .12rem;
  font-family: "Microsoft YaHei", Arial, sans-serif;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  margin: 0;
  padding-bottom: .16rem;
}

.notice-help-moda-top {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: .35rem;
  background: linear-gradient(to right, #525252, #000);
  color: #fff;
  border-radius: .1rem .1rem 0 0;
}

.notice-modal-topl h3 {
  color: white;
  font-size: .15rem;
}

.modal-close {
  position: absolute;
  right: .16rem;
  top: .04rem;
  font-size: .16rem;
  cursor: pointer;
  color: white;
}

.notice-help-moda-top h3 {
  color: white;
  font-size: .15rem;
}

.modal-content-top {
  padding: 0.1rem .25rem 0.3rem .25rem;
  overflow-y: auto;
  max-height: 7rem;
}

.modal-content-top h3 {
  font-size: .15rem;
  color: #888;
  font-weight: 500;
}

.modal-content-top p {
  font-size: .15rem;
  color: #888;
  font-weight: 500;
}

.modal-content-top-text {
  margin-bottom: .2rem;
}

.modal-content-top-img img {
  margin-bottom: .15rem;
}

.modal-content-top-img img:nth-child(2) {
  width: 3rem;
  display: block;
  margin-top: .1rem;
}

.modal-content-top-img img:nth-child(3) {
  width: 2rem;
  display: block;
}

.modal-content-top-explain {
  margin-bottom: .2rem;
}

.rebate-progress-bar {
  background: #eee;
  width: 2.5rem;
  height: .06rem;
  border-radius: .03rem;
  overflow: hidden;
}

.rebate-progress {
  background: #f60;
  height: 100%;
  width: 0%;
}

.item-own-img {
  width: .2rem;
  height: .2rem;
  vertical-align: middle;
  position: relative;
  z-index: 9;
}

.record-product {
  color: #161515;
  font-size: .16rem;
  font-weight: 500;
}

.record-item-empty {
  padding: .2rem;
  color: #888;
  font-size: .15rem;
  text-align: center;
}

.record-info {
  float: left;
}

.record-amount {
  float: right;
}

.discount-amount {
  font-size: .12rem;
  position: absolute;
  right: .08rem;
  bottom: 0;
}

.discount-amount .discount-label {
  color: #828282;
}

.discount-amount .discount-money {
  color: #27ae60;
}

.gift-img {
  position: relative;
  height: .8rem;
  overflow: hidden;
}

.gift-desc {
  display: block;
  overflow: hidden;
  max-height: .8rem;
  transition: max-height 0.3s;
}

.gift-item.expanded .gift-desc {
  max-height: 2rem;
}

.total i img {
  width: .2rem;
  height: .2rem;
  vertical-align: middle;
  margin-right: .04rem;
}
.gift-price img {
  width: .2rem;
  height: .2rem;
  vertical-align: middle;
  margin-right: .04rem;
}

.modal-content-top::-webkit-scrollbar {
  width: .04rem;
  height: 3rem;
  background: #e9e7e3;
}
.modal-content-top::-webkit-scrollbar-thumb {
  width: .04rem;
  height: .5rem;
  background: #888;
  border-radius: 5rem;
}
.role-list::-webkit-scrollbar{
  width: .04rem;
  height: 3rem;
  background: #e9e7e3;
}
.role-list::-webkit-scrollbar-thumb {
  width: .04rem;
  height: .5rem;
  background: #888;
  border-radius: 5rem;
}
.modal-content1::-webkit-scrollbar{
  width: .04rem;
  height: 3rem;
  background: #e9e7e3;
}
.modal-content1::-webkit-scrollbar-thumb{
  width: .04rem;
  height: .5rem;
  background: #888;
  border-radius: 5rem;
}
.empty-tip {
  font-size: 20px;
}

/* VIP10弹窗样式 -  */
.notice-modal-mask {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 998;
}

.notice-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2000;
  width: 4.2rem;
  background: #fff;
  border-radius: .12rem;
  font-family: "Microsoft YaHei", Arial, sans-serif;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  margin: 0;
  padding-bottom: .16rem;
}

.notice-modal-close {
  position: absolute;
  right: .16rem;
  top: .04rem;
  font-size: .16rem;
  cursor: pointer;
  color: #666;
  line-height: 1;
  width: .3rem;
  height: .3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.notice-modal-close:hover {
  color: #333;
  background: rgba(0, 0, 0, 0.1);
}

.notice-modal h3 {
  text-align: center;
  margin-bottom: .12rem;
  font-size: .14rem;
  padding: .15rem .2rem 0 .2rem;
  color: #333;
  font-weight: bold;
}

.notice-content {
  margin-bottom: .18rem;
  padding: 0 .2rem;
}

.notice-content p {
  font-size: .14rem;
  color: #333;
  line-height: 1.5;
  margin-bottom: .1rem;
}

.notice-confirm-btn {
  width: calc(100% - .4rem);
  margin: 0 .2rem .2rem .2rem;
  padding: .08rem 0;
  border: none;
  background: #ff5837;
  color: #fff;
  border-radius: .05rem;
  font-size: .16rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.notice-confirm-btn:hover {
  background: #e54a2e;
  transform: translateY(-1px);
}
.vip-level{
  display: none !important;
}
.gift-filter-container {
  display: none !important;
}
.swiper-main{
  display: none !important;
}