/* 重置默认样式，简化版 */
* {
  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;
    text-align: center;
    margin-top: 2px;
}
.nav-bar a{
    text-decoration: none;
    font-family: 'source-han-serif sc vf medium', serif;
    font-size: 16px;
    font-weight: 300px;
    color: rgba(151, 0, 2);
    position: relative;
    /* display: flex;
    display: inline;
    justify-content: center; */
    margin: auto 8px;
    z-index: 2;
}
.nav-bar .active {
    font-weight:700;
    font-size: 18px;
}

.nav-bar img{
    position: absolute;
    left: 238px;
    top: -8px;
    /* z-index:-1; */
}

/* 正文内容 */
.content{ 
    margin: 0px 20px;
}
.content img{
    float: right;
    margin-top:-10px;
}

/* 提示框 */
.content .tip{
    position: relative;
    top:165px;
    font-family: 'source-han-serif sc vf medium', serif;
    font-size: 16px;
    font-weight:500;
    color: black;
    text-align: center;
}
.content .tip img{
    position: relative;
    top: -20px;
    left: -100px;
    border: 3px solid rgba(151, 0, 2);
    border-radius: 50%;
}
.content .tip p{
    position: relative;
    top: 85px;
    left: 60px;
    margin-bottom: 8px;
    text-align: center;
}
.content .tip p:last-child{
    width: 194px;
    font-size:14px;
    font-weight: 400;
    opacity: 0.5;
}

/* 选项 */
.content .options{
    position: relative;
    top: 480px;
    width: 185px;
    display: flex;
    justify-content: space-around;
    font-family: "Microsoft Yahei", sans-serif;
    font-size: 12px;
    font-weight: 400px;
    color: rgba(0, 0, 0, 0.5);
}
.content .options p{
    width: 55px;
    height: 20px;
    border: 1px solid #CECECE;
    border-radius: 8px; 
    text-align: center;
}
.content .options .active{
    background-color: #EFBFB5;
    color: #970002;
    border: 1px solid #970002;
}

/* 搜索框 */
.content .search{
    position: relative;
    top: 495px;
    left: -35px;
}
.content .search p{
    position: absolute;
    left: 50px; 
    top:3px;
    font-family: "Microsoft Yahei", sans-serif;
    color: rgba(0,0,0,0.6);
    font-size: 14px;
    font-weight: 400;
}
.content .search img:last-child{
    position: absolute;
    right: -45px;
}

/* 标签栏 */
.footer{
  position: relative;
  /* margin-top:225px; */
  top:489px;
  /* z-index: 101; */
}
.footer img{ 
  background-size:cover;
  position: relative;
  left: -5px;
}
/* 图标 */
.footer .tab-bar{ 
  position: absolute;
  margin-top: -50px;
  left: 0px;
  /* align-items: center; 水平居中 */
  /* justify-content: center; 垂直居中 */
}
.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;
}

.footer .bar-item img{
  /* width: 100%; */
  height: 25px;
  background-size: cover;
}
.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;
}
.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;
  top:488px;
  height: 34px;
  width: 100%;
  background-color: #fff;
  /* z-index: 1; */
}
.home-container img{
  position: absolute;
  margin-top: 15px;
  left: 32%;
}