/* --- 新增：仿截图样式 Start --- */
body { background-color: #f5f7f9; } /* 整体背景设为浅灰 */

/* 内容容器 */
.m-list-container {
    padding: 10px;
}

/* 顶部切换 Tab */
.m-tab-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}
.m-tab-item {
    width: 48%;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 4px;
    font-size: 15px;
    font-weight: bold;
    background: #fff;
    color: #333;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
/* 激活状态（橙色） */
.m-tab-item.active {
    background: #ff7f24; /* 截图中的橙色 */
    color: #fff;
}

/* 文章列表卡片 */
.m-news-card {
    display: flex;
    background: #fff;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
    text-decoration: none;
}
.m-news-card:active {
    background-color: #fafafa;
}

/* 左侧图片 */
.card-img {
    width: 100px;
    height: 70px;
    flex-shrink: 0;
    margin-right: 12px;
    border-radius: 6px;
    overflow: hidden;
    background: #eee;
}
.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 右侧内容 */
.card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden; /* 防止文字溢出 */
}

/* 标题 */
.card-title {
    font-size: 15px;
    color: #333;
    line-height: 1.4;
    font-weight: bold;
    margin-bottom: 4px;
    /* 限制最多2行 */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* 描述文字 */
.card-desc {
    font-size: 12px;
    color: #999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 6px;
}

/* 底部元数据 (标签、阅读量、日期) */
.card-meta {
    display: flex;
    align-items: center;
    font-size: 11px;
    color: #999;
}

/* 绿色标签 */
.meta-tag {
    color: #28b87c;
    background: #eaf8f2;
    padding: 1px 5px;
    border-radius: 3px;
    margin-right: 8px;
}

.meta-views {
    margin-right: auto; /* 将日期推到最右边 */
}

/* 底部“没有更多了” */
.m-no-more {
    text-align: center;
    color: #ccc;
    font-size: 12px;
    padding: 20px 0;
}
/* --- 新增：仿截图样式 End --- */

/* --- 手机端分页样式 Start --- */
/* --- PC风格纯文字分页样式 Start --- */
.m-pages {
    padding: 30px 0;      /* 上下留白 */
    text-align: center;   /* 内容居中 */
    font-size: 14px;      /* 字体大小 */
    line-height: 24px;
    color: #333;
}
/* 所有的分页链接和文字 */
.m-pages a, 
.m-pages span,
.m-pages li a,
.m-pages li span {
    display: inline-block;
    padding: 0 4px;       /* 文字左右间距 */
    margin: 0 2px;
    background: none;     /* 去掉背景色 */
    border: none;         /* 去掉边框 */
    box-shadow: none;     /* 去掉阴影 */
    color: #555;          /* 默认文字颜色（深灰） */
    text-decoration: none;
}
/* 选中页 / 当前页状态 */
.m-pages .current, 
.m-pages span.current,
.m-pages .active span,
.m-pages li.active span {
    color: #28b87c;       /* 选中变为主题绿色（类似PC端的加粗或高亮） */
    font-weight: bold;    /* 加粗 */
    background: none;     /* 确保无背景 */
    border: none;         /* 确保无边框 */
}
/* 鼠标点击/悬停效果 */
.m-pages a:hover {
    color: #28b87c;
    text-decoration: underline; /* 鼠标经过加下划线，更有PC的感觉 */
}
/* 针对“上一页/下一页”文字特殊处理（可选） */
.m-pages a:first-child, 
.m-pages a:last-child {
    font-family: sans-serif; /* 确保箭头显示正常 */
}
/* --- PC风格纯文字分页样式 End --- */