/* 重置默认样式，简化版 */
* {
  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: 88px;
    top: -8px;
    z-index:1;
}

/* 正文内容 */
.content{ 
    position: relative;
    top:-5px;
}

/* 图标 */
.content .tu{
    display: flex;
    /* align-items: center;竖直方向上居中 */
    justify-content: space-between; /* 子元素水平分布 */
    /* position: relative; */
    margin: 0px 20px;
    margin-top: -580px;
}
.content .tu .music-icon p{
    position: relative;
    top: -38px;
    left: 50px;
    font-family: "Microsoft Yahei", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: rgba(151, 0, 2, 0.5);
}
.content .tu .r-icon{
    position: relative;
    left: 2px; 
    font-size:10px;
    font-weight: 400;
    color: white;
    font-family: "Microsoft Yahei", sans-serif;
}
.content .tu .r-icon .icon{ 
    display: flex;
    flex-direction: column;/* 竖直分布 */
    align-items: center; /* 竖直方向上居中 */
    text-align: center;  /* 文字内容居中 */
    position: relative;
    top: -275px;
    margin-bottom: 13px;
}
.content .tu .r-icon .icon img{
    /* width: 24px;
    height: 24px; */
    object-fit: contain;
    margin-left:3px;
}
.content .tu .r-icon .icon p{
    margin-top: -4px;
}

/* 特效 */
.content .tx{
    font-family: "Microsoft Yahei", sans-serif;
    font-size: 10px;
    font-weight: 400;
    color:#EFEFEF;
    position: relative;
    top:-6px;
    left: -5px;
}
.content .tx p{
    position: relative;
    top:-55px;
    left: 63px;
    padding-bottom: 3px;
}
.content .tx-tu{
    position: relative;
    top:-95px;
    left:100px;
}
.content .tx p{
    display: flex;
    flex-direction: column;
    margin-left: 5px;
}
.content .tx img{
    margin: 0px 5px;
}
.content .tx img:nth-child(1){
    border: 2px solid #EFBFB5;
    border-radius: 15px;
}
.content .tx .zdy{
    position: relative;
    top:-32px;
    left:184px;
    color:#BEBEBE;
}

/* 拍照 */
.content .photo{
    position: relative;
    top:-116px;
    font-family: "Microsoft Yahei", sans-serif;
    font-size: 10px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.6);
}

.content .photo .photo-icon1{
    position: relative;
    top:-45px;
    margin-left: -230px;
    text-align: center;
}
.content .photo .photo-icon2{
    position: relative;
    top:-85px;
    margin-left: 220px;
    text-align: center;
}

/* 标签栏 */
.footer{
  position: relative;
  /* margin-top:225px; */
  top:-212px;
  /* 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:-213px;
  height: 34px;
  width: 100%;
  background-color: #fff;
  /* z-index: 1; */
}
.home-container img{
  position: absolute;
  margin-top: 15px;
  left: 32%;
}