/*头部*/
    .header-bar {
    background-color:  #ffA500;
    height: 40px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
  }
  .back-btn {
    width: 20px;
    height: 20px;
    background: url(../images/return.png) no-repeat center;
    background-size: contain;
    border: none;
    cursor: pointer;
    filter: brightness(0) invert(1);
  }
  .header-bar p {
    color: white;
    text-align: center;
    flex: 1;
    margin: 0;
    padding-right: 30px; /* 为返回按钮留出空间 */
  }
  
  .head30 {
   margin-top: 30px;
  }	
  .head50 {
   margin-top: 50px;
  }	
  /*圆角效果*/
   .swiper-slide img {
      border-radius: 12px;
      overflow: hidden;
      object-fit: cover;
    }
    .weui-flex__item_ad img { 
      border-radius: 12px;
      overflow: hidden;
      object-fit: cover;
    }
   /*浮动按钮*/
    .float-btn {
      position: fixed;
      left: 20px;
      bottom: 100px;
      z-index: 999;
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-left:-10px ;
      opacity: 0.5;
    }
    .float-btn button {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: #008bfd;
      color: white;
      border: none;
      box-shadow: 0 2px 5px rgba(0,0,0,0.2);
      margin-left:-10px ;
      opacity: 0.5;
        
    }
    .ad-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.8);
      z-index: 1000;
      display: none;
      justify-content: center;
      align-items: center;
    }
    .ad-content {
      position: relative;
      max-width: 90%;
    }
    .close-btn {
      position: absolute;
      top: -20px;
      right: -20px;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: white;
      color: #333;
      border: none;
      font-size: 20px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }
    /*效果补充*/
    .weui-panel__hd:after{border:none}
	.weui-cell:before{}{border-top:0px}
    .aui-flex-info{font-size:14px;color:#666;line-height:30px;}
    .aui-title-text p{line-height:32px}
    .aui-title-text p span{float:right;font-size:12px;color:#999;line-height:30px}
    
    
    /*下拉列表*/
    .custom-select {
        width: 100%;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 4px;
        font-size: 12px;
        color: #333;
        background-color: #fff;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
       
        background-repeat: no-repeat;
        background-position-x: 98%;
        background-position-y: 50%;
    }
    .custom-select:focus {
        outline: none;
        border-color: #007BFF;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }
    
    /*二级菜单字体*/
    .weui-actionsheet__menu a {
    text-decoration: none;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
  }
  
  .weui-actionsheet__menu a:hover {
    color: #03b8ff;
    background-color: #f5f5f5;
  }
  
  .weui-actionsheet__menu a div {
    padding: 12px 15px;
  }
  
  
  /* 新增及调整样式 */
/* 列表项卡片样式 */
.post-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin: 16px;
  padding: 16px;
}
/* 帖子头部样式 */
.post-header {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}
/* 头像样式 */
.post-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 12px;
}
/* 作者信息样式 */
.post-author-info {
  display: flex;
  flex-direction: column;
}
/* 作者名称样式 */
.post-author {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}
/* 发布日期样式 */
.post-date {
  font-size: 12px;
  color: #999;
}
/* 帖子内容样式 */
.post-content {
  margin-bottom: 12px;
}
/* 帖子标题样式 */
.post-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
/* 帖子描述样式 */
.post-desc {
  font-size: 14px;
  color: #333;
  margin-bottom: 12px;
}
/* 图片展示区域样式 */
.post-images {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
/* 图片样式 */
.post-image {
  width: calc(33.33% - 8px);
  height: auto;
  border-radius: 4px;
  object-fit: cover;
}
/* 操作按钮区域样式 */
.post-actions {
  display: flex;
  gap: 16px;
}
/* 操作按钮样式 */
.action-button {
  display: flex;
  align-items: center;
  color: #999;
  font-size: 14px;
  cursor: pointer;
}
/* 操作按钮图标样式 */
.action-button img {
  margin-right: 4px;
}
/* 图片模态框样式 */
#image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
/* 模态框内图片样式 */
#image-modal img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}   