
        /* 图片预览模态框增强样式 */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.9);
            z-index: 1000;
            overflow: hidden;
            align-items: center;
            justify-content: center;
        }
        
        .modal.active {
            display: flex;
        }
        
        .modal-img-container {
            position: relative;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .modal-img {
            max-width: 90%;
            max-height: 90%;
            object-fit: contain;
            transition: transform 0.3s ease;
        }
        
        .modal-close {
            position: absolute;
            top: 20px;
            right: 20px;
            color: white;
            font-size: 30px;
            font-weight: bold;
            cursor: pointer;
            z-index: 1001;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(0,0,0,0.5);
            border-radius: 50%;
        }
        
        .modal-nav {
            position: absolute;
            top: 50%;
            width: 100%;
            display: flex;
            justify-content: space-between;
            padding: 0 20px;
            box-sizing: border-box;
        }
        
        .modal-nav-btn {
            color: white;
            font-size: 40px;
            cursor: pointer;
            background: rgba(0,0,0,0.3);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            user-select: none;
            transition: background 0.3s;
        }
        
        .modal-nav-btn:hover {
            background: rgba(0,0,0,0.6);
        }
        
        .modal-info {
            position: absolute;
            bottom: 20px;
            left: 0;
            width: 100%;
            text-align: center;
            color: white;
            font-size: 16px;
            background: rgba(0,0,0,0.5);
            padding: 8px 0;
        }

        /* 表情包相关样式 */
        .emoji-container {
            position: relative;
            margin-bottom: 10px;
        }
        
        .emoji-btn {
            background: none;
            border: none;
            font-size: 20px;
            cursor: pointer;
            padding: 5px 10px;
            border-radius: 4px;
            transition: background-color 0.2s;
        }
        
        .emoji-btn:hover {
            background-color: #f0f0f0;
        }
        
        .emoji-panel {
            display: none;
            position: absolute;
            bottom: 100%;
            left: 0;
            background-color: white;
            border: 1px solid #ddd;
            border-radius: 8px;
            padding: 10px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            z-index: 100;
            width: 280px;
            max-height: 200px;
            overflow-y: auto;
            margin-bottom: 5px;
        }
        
        .emoji-panel.active {
            display: block;
        }
        
        .emoji-list {
            display: flex;
            flex-wrap: wrap;
            gap: 5px;
        }
        
        .emoji-item {
            font-size: 18px;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            border-radius: 4px;
            transition: background-color 0.2s;
        }
        
        .emoji-item:hover {
            background-color: #f0f0f0;
        }
        
        .emoji-tabs {
            display: flex;
            margin-bottom: 10px;
            border-bottom: 1px solid #eee;
            padding-bottom: 5px;
        }
        
        .emoji-tab {
            padding: 5px 10px;
            cursor: pointer;
            border-radius: 4px;
            margin-right: 5px;
            font-size: 14px;
        }
        
        .emoji-tab.active {
            background-color: #f0f0f0;
            font-weight: bold;
        }

/* 图片容器：相对定位 + 预留标签空间 */
.img-wrapper {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  /* 给标签预留空间，避免标签超出容器遮挡其他元素 */
  padding-bottom: 26px; /* 刚好容纳标签高度，不遮挡图片 */
  padding-left: 40px; 
}

/* 图片：旋转动画 + 固定宽度32，层级低于标签但不被遮挡 */
.rotate-img {
  width: 32px; /* 强制宽度32，高度自动等比 */
  animation: rotate 5s linear infinite;
  display: block;
  /* 图片层级默认低于标签，但通过容器padding让标签在图片下方，不重叠 */
}

/* 标签：在图片正下方（左下角对齐），不遮挡图片 */
.label {
  position: absolute;
  bottom: 0; /* 紧贴容器底部（图片下方） */
  left: 0; /* 与图片左下角对齐 */
  padding: 2px 6px;
  background: #09ba07; /* 绿色背景 */
  color: #fff;
  font-size: 11px; /* 缩小字体，减少占用空间 */
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
  z-index: 21; /* 标签在图片上方，但因位置在下方，不遮挡 */
  white-space: nowrap; /* 防止文字换行 */
  animation: slideIn 1.5s ease-out forwards;
  opacity: 0;
}

/* 箭头：向上指向图片（调整位置，精准指向图片底部） */
.label::before {
  content: '';
  position: absolute;
  top: -8px; /* 箭头在标签顶部 */
  right:0px; /* 箭头水平居中 */
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-bottom-color: #09ba07; /* 箭头向上指向图片 */
}

/* 旋转动画：保持匀速循环 */
@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 从左向右移动动画 */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-100%) translateY(0);
  }
  to {
    opacity: 1;
    transform: translateX(-0%) translateY(0);
  }
}

        /* ===================== 新增：同类信息推荐样式 ===================== */
        .recommend-section {
            width: 100%;
            margin: 0 0 30px 0;
            padding: 0 10px;
            box-sizing: border-box;
            background-color: #e6f7ef;
            

        }
        .recommend-header {
            font-size: 18px;
            font-weight: bold;
            color: #333;
            padding: 0 0 10px 0;
            border-bottom: 2px solid #f0f0f0;
            margin-bottom: 15px;
        }
        .recommend-list {
            display: flex;
            flex-direction: column;
            gap: 10px;
            border-radius: 6px;
            transition: all 0.3s;
        }
        .recommend-item {
            display: flex;
            align-items: center;
            padding: 10px;
            background: #fff;
            border-radius: 8px;
            text-decoration: none;
            color: #333;
            transition: background-color 0.2s ease;
            box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
        }
        .recommend-item-img {
            width: 80px;
            height: 80px;
            flex-shrink: 0;
            margin-right: 10px;
            border-radius: 4px;
            overflow: hidden;
        }
        .recommend-item-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .recommend-item-content {
            flex: 1;
            overflow: hidden;
        }
        .recommend-item-title {
            font-size: 16px;
            font-weight: 500;
            color: #333;
            margin-bottom: 8px;
            /* 核心修改：支持多行省略 */
            white-space: normal; /* 取消强制单行 */
            display: -webkit-box;
            -webkit-line-clamp: 2; /* 最多显示2行 */
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .recommend-item-meta {
            font-size: 12px;
            color: #666;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 8px;
        }
        .recommend-empty {
            text-align: center;
            padding: 20px;
            color: #999;
            font-size: 14px;
        }
        /* 加载中样式 */
        .recommend-loading {
            text-align: center;
            padding: 20px;
            color: #666;
            font-size: 14px;
            display: none;
        }
        .recommend-loading.active {
            display: block;
        }
        /* 无更多数据样式 */
        .recommend-no-more {
            text-align: center;
            padding: 15px;
            color: #999;
            font-size: 13px;
            display: none;
        }
        .recommend-no-more.active {
            display: block;
        }

.call-button {
  /* 核心：inline-flex 让按钮不独占一行，同时支持 flex 居中 */
    display: inline-flex;
    align-items: center; /* 图标+文字 垂直居中 */
    justify-content: center; /* 图标+文字 水平居中 */
    background-color: #2ECC71;
    color: #fff;
    border-radius: 5px;
    padding: 0 5px; /* 左右内边距，避免文字贴边 */
    margin: 0; /* 清除之前会导致换行的 auto 外边距 */
    width: 140px;
    height: 40px;
    text-decoration: none;
    gap: 0px; /* 图标和文字的间距，比 margin 更稳定 */
}

.call-button .author__avatar {
  width: 30px;
  height: 30px;
  margin-right: 8px; /* 图片和文字之间的间距 */
}
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

/* 应用动画的类 */
.phone-icon-pulse {
  height:30px;
  width:30px;
  padding-right:10px;
  animation: pulse 0.5s infinite; /* 1.5秒一个周期，无限循环 */
  object-fit: contain; 
}


/* 信息列表样式 */
.post-list-container {
    padding: 10px;
    background-color: #f9f9f9;
}

.post-list {
    margin-bottom: 10px;
}

/* 置顶信息标签 */
.top-post-label {
    font-size: 12px;
    color: #ff7d00;
    margin: 8px 0;
    padding-left: 8px;
    border-left: 2px solid #ff7d00;
    font-weight: 500;
}

/* 单条信息样式 */
.post-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 10px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    position: relative;
    text-decoration: none;
    color: inherit;
    z-index: 1; /* 限制当前hover盒子层级，不往上飘 */
}

.post-item:hover {
     -webkit-transform: translateY(-1px);
        -ms-transform: translateY(-1px);
            transform: translateY(-1px);
       box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
     z-index: 1; /* 限制当前hover盒子层级，不往上飘 */
     
}

/* 置顶信息特殊样式 */
.post-item.top-post {
    border-top: 2px solid #ff7d00;
}



/* 信息图片 */
.post-image {
    width: 110px;
    height: 130px;
    padding: 10px 5px;
    line-height: 120px;
    -ms-flex-negative: 0;
        flex-shrink: 0;
    overflow: hidden;
    
}

.post-image img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    -webkit-transition: -webkit-transform 0.5s;
    transition: -webkit-transform 0.5s;
    transition: transform 0.5s;
    transition: transform 0.5s, -webkit-transform 0.5s;
    border-radius: 4px;
}

.post-item:hover .post-image img {
    -webkit-transform: scale(1.05);
        -ms-transform: scale(1.05);
            transform: scale(1.05);
}

/* 信息内容 */
.post-content {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    padding: 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

/* 信息标题 */
.post-title {
    font-size: 20px;
    font-weight: 500;
    color: #000;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

/* 信息描述 */
.post-desc {
    font-size: 16px;
    color: #000;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -ms-flex-negative: 0;
        flex-shrink: 0;
}

/* 信息元数据 */
.post-meta {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    font-size: 12px;
    color: #666;
    margin-top: auto;
}

.post-category {
    color: #999999;
    margin-right: 8px;
    font-weight: 500;
    background-color: #eeeeeee0;
    border: 0.5px solid #a0a0a031;
    border-radius: 4px;
    padding: 2px 4px;
    font-size: 14px;
}

.view-count {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    max-width: 30px;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

/* 置顶标签 */
.top-tag {
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 24px;
    line-height: 24px;
    background-color: #ff7d00;
    color: #fff;
    font-size: 11px;
    text-align: center;
    -webkit-transform: rotate(45deg) translate(15px, -10px);
        -ms-transform: rotate(45deg) translate(15px, -10px);
            transform: rotate(45deg) translate(15px, -10px);
    z-index: 1;
    box-shadow: 0 1px 2.5px rgba(255, 125, 0, 0.2);
}

/* 多图布局样式 */
.post-images-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 4px;
    width: 100%;
    margin-bottom: 6px;
}

.post-image-item {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    height: 100px;
}

.post-item.multiple-images {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    padding: 0px 0px;
    
}

.post-item.multiple-images .post-image-item img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
       
}

.post-item.multiple-images .post-meta {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    font-size: 12px;
    color: #666;
    margin-top: 3px;
}





/* 3张及以上图片专用样式 */
.post-item.three-or-more-images {
    gap: 8px;
    min-height: auto;
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    padding: 12px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

.three-or-more-images .post-title {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.three-or-more-images .post-images-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 4px;
    width: 100%;
    height: 100px;
    margin-bottom: 0px;
    background-color: #ffffff;
}

.three-or-more-images .post-image-item {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.three-or-more-images .post-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-count-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 12px;
    padding: 2px 5px;
    border-radius: 4px 0 0 0;
}
  .tag-tuiguang {
    background-color: #ffffff;
    color: #ff7d00;
    padding: 4px 8px;
    border-radius: 5px;
    margin: 2px;
    font-size: 14px;
    white-space: nowrap;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    cursor: pointer;
  }

  
/* 热门标签样式 */
.hot-tags {
    padding: 5px 8px;
    background-color: #fff;
    margin-bottom: 10px;
    border-radius: 8px;
}

.hot-tags-title {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: space-between;
    max-height: 80px;    /* 控制2行高度 */
    overflow-y: auto;    /* 上下滑动 */
    overflow-x: hidden;  /* 禁止左右滑 */
    align-content: flex-start; /* 多行标签整体顶部对齐 */
    scroll-behavior: smooth; /* 平滑滚动 */
    box-sizing: border-box; /* 防止内边距撑高容器 */
    
}
.tags-container::after {
    content: "";
    flex: 1; /* 占满剩余空间，让最后一行变成左对齐 */
}
.tag-item {
    white-space: nowrap; /* 标签文字不换行 */
    background-color: #ffffff;
    color: #ff7d00;
    padding: 4px 8px;
    border-radius: 5px;
    margin: 2px;
    font-size: 14px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    border: 1px solid #ff7d00;
    cursor: pointer;
}

.tag-item:hover {
    background-color: #fff3e0;
}

/* 美化垂直滚动条 */
.tags-container::-webkit-scrollbar {
    width: 4px;
}
.tags-container::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px;
}
