
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #eef0f4; /* 电脑端背景色 */
    color: #333;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; transition: color 0.2s; }
ul { list-style: none; }

/* ==================== 
   2. 核心布局 (电脑端限宽) 
   ==================== */
.juzhong {
    width: 100%;
    padding: 10px;
    background-color: #f7f8fa;
    min-height: 100vh;
}

/* 电脑端适配：屏幕 > 768px 时限制宽度并居中 */
@media screen and (min-width: 769px) {
    body { background-color: #eef0f4; }
    .juzhong, #mue-bar, .footer {
        max-width: 640px;
        margin: 0 auto;
        box-shadow: 0 0 20px rgba(0,0,0,0.05);
    }
    .footer { border-radius: 0 0 8px 8px; }
    #mue-bar { border-radius: 8px 8px 0 0; margin-bottom: 0; }
}

/* ==================== 
   3. 顶部组件 (导航 & 筛选) 
   ==================== */
#mue-bar {
    background: #fff;
    padding: 10px 15px;
    font-size: 12px;
    color: #666;
    border-bottom: 1px solid #eee;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#mue-bar a:hover { color: #1890ff; }

.hyfl-hui {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.hyfl-hui h1 {
    font-size: 18px;
    color: #333;
    margin: 0 0 10px 0;
    text-align: center;
    font-weight: bold;
}
.Tagsfl {
    width: 100%;
    height: 36px;
    border: 1px solid #eee;
    background: #fdfdfd;
    border-radius: 4px;
    font-size: 14px;
    color: #666;
    padding: 0 10px;
    outline: none;
}

/* ==================== 
   4. 列表项样式 (.post-item) 
   ==================== */
.sp-list ul { padding: 0; margin: 0; }

.post-item {
    display: flex;
    background: #fff;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 6px;
    gap: 12px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    align-items: flex-start; 
}
.post-item:active {
    background-color: #fafafa;
}

/* 左侧图片 */
.post-thumb {
    flex-shrink: 0;
    width: 100px;
    height: 75px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    background: #e0e0e0;
}
.post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.view-count {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 10px;
    padding: 2px 4px;
    text-align: center; 
    white-space: nowrap;
    overflow: hidden;
}

/* 右侧内容区 (Flex 列布局) */
.post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* 从上到下排列 */
    gap: 4px;
    min-height: 75px; /* 保证最小高度，防止塌陷 */
    overflow: hidden;
}

/* 标题 */
.post-title {
    margin: 0;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 600;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.post-title a { color: #333; }
.post-title a:hover { color: #1890ff; }

/* 摘要 */
.post-summary {
    margin: 0;
    font-size: 12px;
    color: #999;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 发布时间 (独占一行) */
.post-date {
    font-size: 11px;
    color: #bbb;
    margin-top: 2px;
    margin-bottom: 2px;
    white-space: nowrap;
    display: block;
    width: 100%;
}

/* 标签容器 (左对齐) */
.article-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-start; /* 关键：左对齐 */
    margin-top: 4px;
}

/* 标签链接样式 */
.article-tags a, .tag-item {
    font-size: 11px;
    color: #666;
    border: 1px solid #ddd;
    background: #fff;
    padding: 2px 8px;
    border-radius: 12px;
    white-space: nowrap;
    line-height: 1.4;
    display: inline-block;
    transition: all 0.2s;
}
.article-tags a:hover, .tag-item:hover {
    border-color: #1976d2;
    color: #1976d2;
    background: #f0f7ff;
}

/* ==================== 
   5. 分页与底部 
   ==================== */
.viciao {
    padding: 15px 0 30px;
    text-align: center;
    font-size: 13px;
}
.viciao a, .viciao span, .viciao b {
    display: inline-block;
    padding: 6px 10px;
    margin: 0 2px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    color: #666;
}
.viciao .thisclass, .viciao b {
    background: #1890ff;
    color: #fff;
    border-color: #1890ff;
    font-weight: normal;
}

.footer {
    background: #fff;
    padding: 20px 15px;
    text-align: center;
    font-size: 12px;
    color: #999;
    border-top: 1px solid #eee;
}
.copyright p { margin-bottom: 8px; line-height: 1.6; word-wrap: break-word; }
.copyright a { color: #999; }
.copyright a:hover { color: #666; }

.police-record {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    margin-top: 5px;
}
.police-record img {
    width: 14px;
    height: 14px;
    margin-right: 4px;
    vertical-align: middle;
    display: inline-block;
}
.police-record span {
    vertical-align: middle;
    line-height: 1;
}

/* 隐藏旧模板遗留的无用类 */
.vs-left, .vs-right, .biaoti, .xuxian, .dxian, .post-footer-row {
    display: none !important;
}