/* Tab 导航栏 */
.tab-nav {
    display: flex;
    background-color: #fff;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tab-nav::-webkit-scrollbar {
    display: none;
}

.tab-item {
    flex: 0 0 auto;
    padding: 12px 16px;
    cursor: pointer;
    color: #666;
    font-size: 15px;
    position: relative;
    white-space: nowrap;
    transition: color 0.2s;
}

.tab-item.active {
    color: #007aff;
    font-weight: 500;
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 2px;
    background-color: #007aff;
}

/* 内容列表 */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    margin-bottom: 20px;
}

.article-list {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.article-item {
    display: flex;
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
}

.article-item:last-child {
    border-bottom: none;
}

.article-cover {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 12px;
    flex-shrink: 0;
}

.article-info {
    flex: 1;
    min-width: 0;
}

.article-title {
    font-size: 15px;
    color: #333;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-time {
    font-size: 12px;
    color: #999;
}


/* 加载更多容器样式 */
.load-more-container {
    text-align: center;
    padding: 20px;
}

/* 加载更多按钮基础样式 */
.load-more-btn {
    /* 基础布局 */
    padding: 6px 90px !important;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    position: relative;
    overflow: hidden;
    
    /* 配色与边框 */
    background-color: #fff;
    color: #08c;
    border: 1px solid #08c;
    
    /* 过渡与阴影 */
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

/* 按钮hover/active状态 */
.load-more-btn:hover {
    background-color: #08c;
    color: #fff;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

.load-more-btn:active {
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
    transform: translateY(1px);
}

/* 加载中文字样式 + 加载动画 */
#loading-text {
    display: none;
    color: #08c;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 20px;
    position: relative;
}

/* 加载动画伪元素 */
#loading-text::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #08c;
    border-top-color: transparent;
    border-radius: 50%;
    margin-left: 8px;
    animation: spin 1s linear infinite;
    vertical-align: middle;
}

/* 旋转动画关键帧 */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 没有更多内容样式 */
#no-more-text {
    display: none;
    color: #999;
    font-size: 14px;
    padding: 8px 20px;
}

.post-like-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    margin:10px auto;
    padding: 6px 30px;
    background: #fff;
    color: #08c;
    border: 1px solid #08c;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s;
}
.post-like-btn:hover {
    background: #eee;
    color: #09c;
}
.post-like-btn.liked {
    background: #cccccc;
    cursor: not-allowed;
}
.post-like-count {
    font-weight: 600;
}

.copyright p {
    color: #000000 !important; /* 纯黑色，!important 确保覆盖原有样式 */
}

/* 修复版权区友情链接hover变白问题，统一样式 */
.copyright p a {
    /* 正常状态：设置基础颜色（和版权文字一致的黑色） */
    color: #000 !important;
    /* 移除默认下划线，可选 */
    text-decoration: none !important;
    /* 优化原代码中的大量空格问题 */
    display: inline-block;
    margin: 0 8px;
    /* 重置所有可能导致hover变色的样式 */
    background: transparent !important;
    border: none !important;
}

/* 悬停状态：强制和正常状态颜色一致，不变化 */
.copyright p a:hover,
.copyright p a:focus,
.copyright p a:active {
    color: #000 !important; /* 和正常状态保持一致 */
    text-decoration: none !important; /* 无下划线 */
    background: transparent !important; /* 无背景色 */
    /* 可选：如果需要轻微hover反馈，可取消下面注释（浅灰背景） */
    /* background: #f5f5f5 !important;
    padding: 2px 4px;
    border-radius: 2px; */
}

/* 确保版权文字本身样式不受影响 */
.copyright p {
    color: #000 !important;
    line-height: 1.6; /* 优化行高，更美观 */
}

/* 直接覆盖移动端菜单背景色（备用方案） */
.mobile-menu {
  background-color: #2d3237 !important;
}

.copyright p a {
    color: #333 !important;
}
.copyright p a:hover {
    color: #333 !important;
}
.copyright p {
    color: #333 !important;
}