/* 重置默认样式，简化版 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 最外层手机盒子 */
.phone-box {
  width: 375px;
  height: 812px;
  margin: 10px auto;
  border: 1px solid #ccc;
  border-radius: 12px;
  overflow: hidden;
  /* 防止内部元素溢出 */
  position: relative;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  background-color: #F9EEE4;
  /* z-index: -2; */
}

/* 状态栏（模拟顶部状态条） */
.status-bar {
  position: relative;
  width: 100%;
  height: 44px;
}

.status-bar img {
  position: absolute;
  top: 30%;
  left: 10px;
  /* z-index:100; */
}

/* 导航栏 */
.nav-bar {
  position: relative;
  height: 44px;
  margin: 8px 20px;
}

.nav-bar a {
  text-decoration: none;
  display: inline;
  position: relative;
}

.nav-bar .active {
  text-align: center;
  font-family: 'source-han-serif sc vf medium', serif;
  font-size: 16px;
  font-weight: 300px;
  color: rgba(151, 0, 2);
  font-weight: 700;
  font-size: 18px;
  position: absolute;
  top: 0px;
  left: 40%;
}

.nav-bar .icon-1,
.nav-bar .icon-2 {
  position: relative;
  left: 245px;
  margin-right: 3px;
}

.nav-bar .icon-1 {
  position: relative;
  top: -2px;
}

/* 个人主页 */
.personal {
  margin: auto 20px;
  margin-top: -8px;
}

.personal .xx {
  font-size: 16px;
  position: relative;
  /* display: inline-block; */
  top: -55px;
  left: 70px;
  font-family: "Microsoft Yahei", sans-serif;
}

.personal .xx P:nth-child(1) {
  font-size: 16px;
}

.personal .xx P:nth-child(2) {
  position: relative;
  top: 5px;
  font-size: 13px;
}

.personal .xx a {
  position: absolute;
  top: 5px;
  left: 190px;
  width: 75px;
  height: 25px;
  text-align: center;
  padding-top: 2px;
  background-color: #970002;
  border-radius: 9px;
  color: #F9EEE4;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
}

/* 会员中心 */
.vip {
  position: relative;
  margin: 0 20px;
  margin-top: -28px;
  color: #F9EEE4;
  font-family: "Microsoft Yahei", sans-serif;
  font-size: 12px;
  font-weight: 400;
}

.vip .vip-text {
  display: inline-block;
  position: relative;
  top: -92px;
  left: 12px;
}

.vip .vip-text p:first-child {
  font-size: 16px;
  font-family: 'source-han-serif sc vf medium', serif;
}

.vip .vip-text p:last-child {
  width: 52px;
  height: 19px;
  color: #970002;
  background-color: white;
  border-radius: 15px;
  text-align: center;
  padding: 1px;
  position: relative;
  top: -20px;
  left: 70px;
}

/* 会员图标 */
.vip .vip-icon {
  display: flex;
  justify-content: space-between;
  /* 水平均匀分布 */
  align-items: center;
  /* 竖直居中 */
  padding: 0 30px;
  margin-top: -100px;
}

.vip .vip-icon .icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.vip .vip-icon .icon p {
  position: relative;
  top: 5px;
}

/* 我的订单 */
.order {
  margin: 30px 20px;
}

.order .order-title {
  position: relative;
  top: -5px;
  left: 2px;
}

.order .order-title p {
  display: inline-block;
  color: rgba(151, 0, 2);
  /* #970002 颜色 */
  font-family: 'source-han-serif sc vf medium', serif;
  /* 思源宋体 Medium */
  font-weight: 600;
  /* 可选：确保使用 bold 字重 */
  font-size: 18px;
}

.order .order-title a {
  margin-left: 183px;
  text-decoration: none;
  /* 删除a标签的默认样式 */
}

.order .order-title a p {
  font-family: "Microsoft Yahei", sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: #6C6C6C;
  position: relative;
  top: -2px;
}

/* 订单图标 */
.order .order-icon {
  height: 59px;
  width: 334px;
  background-color: white;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  /* 水平均匀分布 */
  align-items: center;
  /* 竖直居中 */
  padding: 0 30px;
  margin-top: 2px;
}

.order .order-icon .icon {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.order .order-icon .icon p {
  position: relative;
  top: 5px;
  font-family: "Microsoft Yahei", sans-serif;
  font-weight: 300;
  font-size: 10px;
  color: #000000;
}

/* 多功能点 */
.function {
  width: 334px;
  height: 301px;
  background-color: white;
  border-radius: 10px;
  margin: 0px 20px;
  margin-top: -12px;
  padding-top: 5px;
}

.function .icon {
  display: flex;
  align-items: center;
  /* 竖直居中 */
  justify-content: flex-start;
  /* 默认靠左对齐 */
  padding: 10px;
  position: relative;
  margin: 0px 10px;
  text-decoration: none;
  font-family: "Microsoft Yahei", sans-serif;
  color: #000000;
  font-size: 15px;
  font-weight: 400;
}

.function .icon img:first-child,
.function .icon span {
  margin-right: 8px;
  /* 图标与文字间距 */
}

.function .icon .jt {
  display: flex;
  /* flex-direction: column; */
  align-items: flex-end;
  /* 子元素靠右对齐 */
  margin-left: auto;
  /* 推到最右边 */
}

.function .icon .jt p {
  font-size: 10px;
  font-weight: 300;
  position: relative;
  margin-right: 5px;
}

.function hr {
  border: 1px solid #CECECE;
  width: 295px;
  position: relative;
  left: 20px;
  /* margin-top: 5px; */
  margin-bottom: 5px;
}

/* 标签栏 */
.footer {
  position: relative;
  margin-top: 34px;
  z-index: 101;
}

.footer img {
  background-size: cover;
  position: relative;
  left: -5px;
}

/* 图标 */
.footer .tab-bar {
  position: absolute;
  margin-top: -50px;
  left: 0px;
}

.footer .tab-bar .bar-item {
  display: flex;
  /* 改为Flex布局 */
  flex-direction: column;
  /* 垂直排列图片和文字 */
  align-items: center;
  /* 水平居中 */
  justify-content: center;
  /* 垂直居中 */
  display: inline-block;
  margin: 0px 31px;
  text-decoration: none;
  color: #970002;
  /* border: #000000 1px solid;
  background-color: #000000; */
  /* z-index: 101; */
}

.footer .bar-item img {
  width: 100%;
  height: 25px;
  background-size: cover;
  /* z-index: 1; */
}

.footer .bar-item:last-child img {
  margin-left: 5px;
}

.footer .bar-item p {
  color: rgba(151, 0, 2, 0.6);
  /* #970002 颜色 */
  font-family: 'source-han-serif sc vf medium', serif;
  /* 思源宋体 Medium */
  font-weight: 400;
  font-size: 10px;
  margin-left: 3px;
  z-index: -1;
}

.footer .bar-item .active {
  margin-left: 2px;
  font-weight: 600;
  color: #970002;
}

.footer .bar-item:nth-child(2) p {
  margin-left: -2px;
}

/* 指示器 */
.home-container {
  position: relative;
  ;
  margin-top: -6px;
  height: 34px;
  width: 100%;
  background-color: #fff;
  z-index: 100;
}

.home-container img {
  position: absolute;
  margin-top: 15px;
  left: 32%;
}