
        /* 图片预览模态框增强样式 */
        .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: 30px 0;
            padding: 0 10px;
            box-sizing: border-box;
            background-color: #f7f8fa;
            border-radius: 8px;

        }
        .recommend-header {
            font-size: 18px;
            font-weight: bold;
            color: #333;
            padding: 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 {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #2ECC71; /* 绿色背景 */
  color: #fff; /* 白色文字 */
  border-radius: 5px; /* 圆角 */
  padding: 15px 0px; /* 内边距 */
  margin: 15px 10px; /* 外边距 */
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  width: 130px;
  height: 40px;
  text-decoration: none; 
}

.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; 
}
