body:before {
    content: '';
    position: absolute;
    top: 0 !important;
    left: 0;
    right: 0;
    width: 100%;
    height: 550px;

    background-size: cover;
    z-index: -1;
}

body {
    background: #f9f9f9!important;
}

 
.d-none {
    display: none;
}

.d-block {
    display: block;
}

/* 瀑布流样式 */
.waterfall-container {
    display: flex;
    gap: 13px;
    width: 100%;
    margin: 13px auto;
}

.waterfall-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 13px;
    width: calc(25% - 10px); /* 4列布局，每列宽度 */
}

.waterfall-item {
    box-sizing: border-box;
    padding: 10px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0px 0px 20px -5px rgba(158, 158, 158, .2);
    transition: all 0.3s ease;
    overflow: hidden;
    width: 100%;
    margin-bottom: 0; /* 移除底部边距，由列容器的gap控制 */
}

.waterfall-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}
.thread_img {
 position: relative;
}
.thread_img .forum_name{
    position: absolute;
    left: 0;
    top: 4px;
    font-size: 10px;
    padding: 2px 4px;
    border-radius: 0 12px 12px 0;
    background-color: rgba(0, 0, 0, 0.3);
    color: #fff;
}

.waterfall-item img {
    width: 100%;
    border-radius: 6px;
    display: block;
}

.waterfall-item .subject {
    font-size: 16px;
    font-weight: bold;
    margin: 10px 0;
    color: #333;
}

.waterfall-item .content {
    /* 超过十行隐藏 */
    margin-top: 8px;
    color: #333;
    line-height: 1.5;
    overflow: hidden;
    position: relative;
    font-size: 14px;
    /* max-height: 100px; */
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
}

/* .waterfall-item .content.collapsed {
  position: relative;
}
.waterfall-item .content.collapsed:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(rgba(255,255,255,0), #fff);
} */
.waterfall-item .read-more {
    text-align: right;
    color: #369;
    cursor: pointer;
    display: inline-block;

}

.content-more {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

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

.waterfall-item .meta {
    margin-top: 10px;
    display: flex;
    align-items: center;
    color: #999;
    font-size: 12px;
    justify-content: space-between;
}

.waterfall-item .author {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.waterfall-item .author img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 5px;
}

.waterfall-item .views-replies {
    display: flex;

    align-items: center;
}

.waterfall-item .views,
.waterfall-item .replies {
    margin-left: 15px;
    display: flex;
    align-items: center;
}

.pagination {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.pagination a {
    padding: 8px 12px;
    margin: 0 5px;
    border-radius: 4px;
    border: 1px solid #ddd;
    color: #666;
    text-decoration: none;
}

.pagination a:hover,
.pagination a.active {
    background: #2196F3;
    border-color: #2196F3;
    color: #fff;
}

/* 加载指示器样式 */
.load-more {
    text-align: center;
    padding: 20px 0;
    display: none;
}

.load-more .loader {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.no-more-data {
    text-align: center;
    padding: 20px 0;
    color: #999;
    display: none;
}

.pg_forumdisplay #f_pst {
    border: none;
    display: none;
}

#threadlist a {
    text-decoration: none;
}

.pg_forumdisplay .tl .by {
    width: 52px;
    line-height: 14px;
}

.threadlist_header {
    background-color: #fff;
    padding: 4px 18px;
    margin: 12px 0px;
    border-radius: 8px;
}

.feedlist {
    /* margin: 20px; */
    position: relative;
    /* padding-bottom: 90px; */
    border-radius: 4px 4px 0 0;
    overflow: hidden;
}

.feedlist .tl .by {
    width: 52px;
    line-height: 14px;
}

.thread_left {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: #f9f9f9;
    overflow: hidden;
    min-width: 52px;
}

.thread_left img {
    width: 52px;
    height: 52px;
    object-fit: cover;

}

.thread_right {
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.thread_item {
    border-radius: 8px;
    background-color: #fff;
    padding: 18px;
    margin-bottom: 13px;
}

.thread_content {
    display: flex;
    flex-direction: row;
}

.thread_title {
    font-size: 16px;
    font-weight: normal;
    margin-bottom: 8px;
}

.author_info {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.author_info .author_name,
.thread_description {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    text-decoration: none;
    margin-top: 4px;
}

.author_info .thread_time {
    font-size: 12px;
    color: #999;
}

.thread_description {
    font-weight: 400;
}
.post_tags{
    display: none;
}
.post_tags .tag {
    display: inline-block;
    color: #369;
    margin-right: 4px;
}

.post_imagelist {

    margin: 12px 0;
    width: 430px;
}

.post_imagelist .image_item {
    width: 132px;
    height: 132px;
    margin: 0 8px 8px 0;
    float: left;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.post_imagelist .image_item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thread_footer {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}


.thread_interact {
    display: flex;
    align-items: center;
}

.thread_interact a {
    margin-right: 20px;
    font-size: 14px;
    color: #999;
    text-decoration: none;
}

.pg a,
.pg strong,
.pgb a,
.pg label,
.pg_forumdisplay .bm {
    border: none;
}

.sttl {
    margin: 12px 0;
    padding: 6px 12px;
 border: none;
    background: #fff;
}

#ft{
    border: none;
}

a:hover {
    text-decoration: none;
}