/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", Arial, sans-serif;
    font-size: 14px;
    color: #333;
    background: #f2f2f2;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: #333;
    transition: color 0.2s;
}

a:hover {
    color: #ff6b00;
}

ul {
    list-style: none;
}

/* 顶部栏 */
.top-bar {
    background: #f7f7f7;
    border-bottom: 1px solid #e5e5e5;
    font-size: 12px;
    color: #666;
    padding: 6px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left span {
    margin-right: 15px;
}

.top-bar-left a {
    margin: 0 8px;
    color: #666;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-link {
    color: #666;
}

.sign-in-btn {
    background: #ff6b00;
    color: #fff;
    padding: 4px 12px;
    border-radius: 3px;
    font-size: 12px;
}

.sign-in-btn:hover {
    background: #e65c00;
    color: #fff;
}

/* 论坛头部 */
.forum-header {
    background: #fff;
    border-bottom: 2px solid #ff6b00;
    padding: 20px 0;
}

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

.forum-logo h1 {
    font-size: 32px;
    color: #ff6b00;
    margin-bottom: 5px;
}

.forum-logo p {
    color: #999;
    font-size: 13px;
}

.header-search {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.search-tabs {
    display: flex;
    gap: 10px;
    font-size: 12px;
}

.search-tabs .tab {
    cursor: pointer;
    color: #999;
    padding: 2px 8px;
    border-radius: 3px;
}

.search-tabs .tab.active {
    background: #ff6b00;
    color: #fff;
}

.search-box {
    display: flex;
    border: 2px solid #ff6b00;
    border-radius: 4px;
    overflow: hidden;
}

.search-box input {
    width: 280px;
    height: 36px;
    padding: 0 12px;
    border: none;
    outline: none;
    font-size: 14px;
}

.search-box button {
    width: 70px;
    height: 36px;
    background: #ff6b00;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.search-box button:hover {
    background: #e65c00;
}

/* 主导航 */
.main-nav {
    background: #ff6b00;
}

.nav-list {
    display: flex;
}

.nav-list li {
    position: relative;
}

.nav-list a {
    display: block;
    padding: 12px 22px;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    transition: background 0.2s;
}

.nav-list a:hover,
.nav-list a.active {
    background: #e65c00;
    color: #fff;
}

/* 论坛统计 */
.forum-stats {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    padding: 20px 0;
    margin-bottom: 20px;
}

.stats-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stats-content h2 {
    font-size: 22px;
    color: #333;
}

.stats-info {
    display: flex;
    gap: 30px;
    font-size: 13px;
    color: #666;
}

.stats-info strong {
    color: #ff6b00;
    font-size: 15px;
}

.forum-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px dashed #eee;
}

.nav-btn {
    display: inline-block;
    padding: 6px 14px;
    background: #fff5f0;
    color: #ff6b00;
    border-radius: 20px;
    font-size: 13px;
    border: 1px solid #ffd4bf;
    transition: all 0.2s;
}

.nav-btn:hover {
    background: #ff6b00;
    color: #fff;
    border-color: #ff6b00;
}

/* 联系吴老师 */
.contact-widget .contact-info {
    padding: 10px 0 15px;
    font-size: 13px;
    color: #555;
    line-height: 2.2;
}

.contact-info p strong {
    color: #333;
}

.qr-code-box {
    text-align: center;
    padding-top: 10px;
    border-top: 1px dashed #eee;
}

.qr-placeholder {
    width: 100px;
    height: 100px;
    margin: 0 auto 8px;
    background: #f5f5f5;
    border: 2px dashed #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 12px;
    border-radius: 4px;
}

.qr-code-box p {
    font-size: 12px;
    color: #666;
}

/* 主内容区 */
.main-wrapper {
    padding-bottom: 30px;
}

.main-layout {
    display: flex;
    gap: 20px;
}

.main-content {
    flex: 1;
    min-width: 0;
}

.sidebar {
    width: 300px;
    flex-shrink: 0;
}

/* 帖子标签切换 */
.post-tabs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 0 20px;
    border-radius: 6px 6px 0 0;
    border-bottom: 1px solid #e5e5e5;
}

.tab-list {
    display: flex;
}

.tab-item {
    padding: 15px 20px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: all 0.2s;
}

.tab-item:hover {
    color: #ff6b00;
}

.tab-item.active {
    color: #ff6b00;
    border-bottom-color: #ff6b00;
    font-weight: 600;
}

.publish-btn {
    background: #ff6b00;
    color: #fff;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
}

.publish-btn:hover {
    background: #e65c00;
    color: #fff;
}

/* 帖子列表 */
.post-list {
    background: #fff;
    border-radius: 0 0 6px 6px;
    overflow: hidden;
}

.post-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

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

.post-item:hover {
    background: #fafafa;
}

.post-item.hot {
    background: #fff8f0;
}

.post-rank {
    width: 30px;
    text-align: center;
    flex-shrink: 0;
}

.rank-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #ccc;
    color: #fff;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
}

.post-category {
    width: 100px;
    flex-shrink: 0;
}

.cat-tag {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
}

.cat-tag.market {
    background: #ffe8d6;
    color: #e65c00;
}

.cat-tag.industry {
    background: #e8f4fd;
    color: #1e88e5;
}

.cat-tag.value {
    background: #e8f5e9;
    color: #43a047;
}

.cat-tag.potential {
    background: #f3e5f5;
    color: #8e24aa;
}

.cat-tag.opportunity {
    background: #fff3e0;
    color: #f57c00;
}

.post-info {
    flex: 1;
    min-width: 0;
    padding: 0 15px;
}

.post-title {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 6px;
    line-height: 1.4;
}

.post-title a {
    color: #333;
}

.post-title a:hover {
    color: #ff6b00;
}

.hot-tag {
    display: inline-block;
    background: #ff4444;
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 2px;
    margin-left: 8px;
    vertical-align: middle;
}

.essence-tag {
    display: inline-block;
    background: #ffd700;
    color: #8b6914;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 2px;
    margin-left: 8px;
    vertical-align: middle;
}

.post-meta {
    font-size: 12px;
    color: #999;
    display: flex;
    gap: 15px;
}

.post-meta .author {
    color: #666;
}

.post-stats {
    width: 120px;
    text-align: right;
    flex-shrink: 0;
    font-size: 12px;
    color: #999;
}

.post-stats span {
    display: block;
    margin-bottom: 3px;
}

.reply-count {
    color: #ff6b00;
    font-weight: 500;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 25px 0;
    background: #fff;
    border-top: 1px solid #e5e5e5;
    border-radius: 0 0 6px 6px;
}

.page-btn,
.page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    font-size: 13px;
    color: #666;
}

.page-btn:hover,
.page-num:hover {
    border-color: #ff6b00;
    color: #ff6b00;
}

.page-num.current {
    background: #ff6b00;
    border-color: #ff6b00;
    color: #fff;
}

.page-ellipsis {
    color: #999;
    padding: 0 5px;
}

/* 侧边栏小部件 */
.sidebar-widget {
    background: #fff;
    border-radius: 6px;
    margin-bottom: 18px;
    overflow: hidden;
}

.widget-title {
    font-size: 15px;
    font-weight: 600;
    padding: 12px 18px;
    border-bottom: 2px solid #ff6b00;
    color: #333;
}

/* 用户登录框 */
.user-widget .login-box {
    padding: 20px;
    text-align: center;
}

.login-tip {
    color: #666;
    font-size: 13px;
    margin-bottom: 15px;
}

.login-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.btn-login,
.btn-register {
    flex: 1;
    padding: 8px 0;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

.btn-login {
    background: #ff6b00;
    color: #fff;
}

.btn-login:hover {
    background: #e65c00;
    color: #fff;
}

.btn-register {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #ddd;
}

.btn-register:hover {
    border-color: #ff6b00;
    color: #ff6b00;
}

.login-third {
    font-size: 12px;
    color: #999;
}

.login-third a {
    margin: 0 5px;
    color: #666;
}

.login-third a:hover {
    color: #ff6b00;
}

/* 活跃用户 */
.active-users li {
    display: flex;
    align-items: center;
    padding: 10px 18px;
    border-bottom: 1px solid #f5f5f5;
}

.active-users li:last-child {
    border-bottom: none;
}

.user-rank {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ddd;
    color: #fff;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    margin-right: 12px;
    flex-shrink: 0;
}

.user-rank.rank-1 {
    background: #ff4444;
}

.user-rank.rank-2 {
    background: #ff8c00;
}

.user-rank.rank-3 {
    background: #ffd700;
    color: #8b6914;
}

.user-avatar {
    width: 36px;
    height: 36px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-right: 12px;
    flex-shrink: 0;
}

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

.user-name {
    display: block;
    font-size: 13px;
    color: #333;
    font-weight: 500;
    margin-bottom: 2px;
}

.user-posts {
    font-size: 11px;
    color: #999;
}

/* 论坛板块 */
.forum-section {
    padding: 0 18px 10px;
}

.section-title {
    font-size: 14px;
    color: #ff6b00;
    padding: 12px 0 8px;
    font-weight: 600;
    border-bottom: 1px dashed #eee;
    margin-bottom: 5px;
}

.section-list li {
    padding: 6px 0;
}

.section-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #555;
}

.section-list a:hover {
    color: #ff6b00;
}

.section-count {
    color: #999;
    font-size: 12px;
    background: #f5f5f5;
    padding: 1px 6px;
    border-radius: 8px;
}

/* 联系我们 */
.contact-widget .contact-info {
    padding: 15px 18px;
    font-size: 13px;
    color: #555;
    line-height: 2;
}

.contact-info p strong {
    color: #333;
}

.qr-code-box {
    text-align: center;
    padding: 10px 18px 20px;
}

.qr-placeholder {
    width: 100px;
    height: 100px;
    margin: 0 auto 8px;
    background: #f5f5f5;
    border: 2px dashed #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 12px;
    border-radius: 4px;
}

.qr-code-box p {
    font-size: 12px;
    color: #666;
}

/* 友情链接 */
.friend-links {
    padding: 15px 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.friend-links a {
    font-size: 12px;
    color: #666;
    padding: 4px 8px;
    background: #f5f5f5;
    border-radius: 3px;
}

.friend-links a:hover {
    background: #fff3e0;
    color: #ff6b00;
}

/* 底部 */
.forum-footer {
    background: #333;
    color: #999;
    padding: 30px 0 20px;
    margin-top: 20px;
}

.footer-links {
    text-align: center;
    margin-bottom: 20px;
}

.footer-links a {
    color: #999;
    margin: 0 10px;
    font-size: 13px;
}

.footer-links a:hover {
    color: #ff6b00;
}

.footer-info {
    text-align: center;
    font-size: 12px;
    line-height: 2;
}

.footer-info a {
    color: #999;
}

.footer-info a:hover {
    color: #ff6b00;
}

.disclaimer {
    margin-top: 10px;
    color: #666;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .main-layout {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
    }
    
    .post-stats {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .header-search {
        width: 100%;
        align-items: stretch;
    }
    
    .search-box input {
        width: 100%;
        flex: 1;
    }
    
    .nav-list {
        flex-wrap: wrap;
    }
    
    .nav-list a {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .stats-info {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .post-category {
        display: none;
    }
    
    .footer-links a {
        margin: 0 6px;
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .post-tabs {
        flex-direction: column;
        padding: 10px 15px;
        gap: 10px;
    }
    
    .tab-item {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .post-item {
        padding: 12px 15px;
    }
    
    .post-info {
        padding: 0 10px;
    }
    
    .post-title {
        font-size: 14px;
    }
}

/* ========== 面包屑导航 ========== */
.breadcrumb {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    padding: 12px 0;
    font-size: 13px;
    color: #999;
}

.breadcrumb-item {
    display: inline-block;
}

.breadcrumb-item a {
    color: #666;
}

.breadcrumb-item a:hover {
    color: #ff6b00;
}

.breadcrumb-item.current {
    color: #333;
    font-weight: 500;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: #ccc;
}

/* ========== 公告栏 ========== */
.announcement-bar {
    display: flex;
    align-items: center;
    background: #fff8f0;
    border: 1px solid #ffd4bf;
    border-radius: 6px;
    padding: 12px 18px;
    margin-bottom: 18px;
    gap: 12px;
}

.announcement-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.announcement-tag {
    display: inline-block;
    background: #ff6b00;
    color: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    margin-right: 10px;
    flex-shrink: 0;
}

.announcement-content {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
}

.announcement-content a {
    color: #333;
}

.announcement-content a:hover {
    color: #ff6b00;
}

.announcement-more {
    color: #ff6b00;
    font-size: 13px;
    flex-shrink: 0;
}

/* ========== 通用区块 ========== */
.section-block {
    background: #fff;
    border-radius: 6px;
    margin-bottom: 18px;
    overflow: hidden;
}

.section-header {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 2px solid #ff6b00;
    gap: 15px;
}

.section-title {
    font-size: 17px;
    font-weight: 600;
    color: #333;
    flex-shrink: 0;
}

.section-tabs {
    display: flex;
    gap: 15px;
    flex: 1;
}

.section-tab {
    font-size: 13px;
    color: #999;
    cursor: pointer;
    padding: 3px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.section-tab:hover {
    color: #ff6b00;
}

.section-tab.active {
    color: #ff6b00;
    border-bottom-color: #ff6b00;
    font-weight: 500;
}

.section-more {
    color: #999;
    font-size: 13px;
    flex-shrink: 0;
}

.section-more:hover {
    color: #ff6b00;
}

/* ========== 今日新帖 ========== */
.new-posts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: #f0f0f0;
    padding: 1px;
}

.new-post-card {
    display: flex;
    background: #fff;
    padding: 18px 20px;
    gap: 15px;
    transition: background 0.2s;
}

.new-post-card:hover {
    background: #fafafa;
}

.new-post-avatar {
    width: 44px;
    height: 44px;
    background: #fff5f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.new-post-body {
    flex: 1;
    min-width: 0;
}

.new-post-body h3 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.new-post-body h3 a {
    color: #333;
}

.new-post-body h3 a:hover {
    color: #ff6b00;
}

.new-post-body p {
    font-size: 12px;
    color: #999;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
    height: 36px;
}

.new-post-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #bbb;
}

.new-post-meta .author {
    color: #ff6b00;
}

/* ========== 论坛版块区块 ========== */
.forum-sections {
    padding: 0;
}

.forum-block {
    padding: 18px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.forum-block:last-child {
    border-bottom: none;
}

.forum-block-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #eee;
}

.forum-block-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #ff8c00, #ff6b00);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    color: #fff;
}

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

.forum-block-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.forum-block-info h3 a {
    color: #333;
}

.forum-block-info h3 a:hover {
    color: #ff6b00;
}

.forum-block-info p {
    font-size: 12px;
    color: #999;
}

.forum-block-stats {
    text-align: right;
    flex-shrink: 0;
    font-size: 12px;
    color: #999;
    line-height: 1.8;
}

.forum-block-stats strong {
    color: #ff6b00;
    font-size: 14px;
    font-weight: 600;
}

.forum-block-stats span {
    display: block;
}

.forum-block-posts {
    padding-left: 63px;
}

.forum-block-posts li {
    display: flex;
    align-items: center;
    padding: 6px 0;
    font-size: 13px;
    gap: 10px;
}

.forum-block-posts li a {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #555;
}

.forum-block-posts li a:hover {
    color: #ff6b00;
}

.forum-block-posts .post-author {
    color: #999;
    font-size: 12px;
    flex-shrink: 0;
    width: 90px;
    text-align: left;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.forum-block-posts .post-reply {
    color: #bbb;
    font-size: 12px;
    flex-shrink: 0;
    width: 70px;
    text-align: right;
}

.cat-tag.hot {
    background: #ffe0e0;
    color: #e53935;
}

.cat-tag.essence {
    background: #fff8e1;
    color: #f9a825;
}

.cat-tag.sticky {
    background: #e3f2fd;
    color: #1976d2;
}

/* ========== 精华帖子区 ========== */
.essence-posts {
    padding: 10px 20px 20px;
}

.essence-card {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f5f5f5;
    align-items: flex-start;
}

.essence-card:last-child {
    border-bottom: none;
}

.essence-rank {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #fff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
    font-style: italic;
}

.essence-content {
    flex: 1;
    min-width: 0;
}

.essence-content h3 {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 6px;
    line-height: 1.4;
}

.essence-content h3 a {
    color: #333;
}

.essence-content h3 a:hover {
    color: #ff6b00;
}

.essence-content p {
    font-size: 13px;
    color: #999;
    line-height: 1.6;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.essence-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #bbb;
}

/* ========== 吴老师答疑专区 ========== */
.qa-section {
    padding-bottom: 10px;
}

.qa-list {
    padding: 0 20px 20px;
}

.qa-item {
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px dashed #eee;
}

.qa-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.qa-question {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    padding: 12px 15px;
    background: #f7f7f7;
    border-radius: 6px;
}

.qa-tag {
    display: inline-block;
    padding: 2px 10px;
    background: #999;
    color: #fff;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    flex-shrink: 0;
}

.qa-tag.answer {
    background: #ff6b00;
}

.qa-user {
    color: #ff6b00;
    font-size: 13px;
    font-weight: 500;
    flex-shrink: 0;
}

.qa-content {
    flex: 1;
    font-size: 13px;
    color: #555;
    line-height: 1.7;
}

.qa-answer {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 15px;
    background: #fff8f0;
    border-radius: 6px;
    border-left: 3px solid #ff6b00;
}

.qa-answer .qa-content {
    color: #333;
}

.qa-answer .qa-content p {
    margin-bottom: 6px;
}

.qa-answer .qa-content p:last-child {
    margin-bottom: 0;
}

/* ========== 热门排行TOP20 ========== */
.hot-rank-widget .hot-rank-list {
    padding: 10px 0;
    counter-reset: rank;
}

.hot-rank-list {
    list-style: none;
    padding: 0;
}

.hot-rank-list li {
    display: flex;
    align-items: center;
    padding: 8px 18px;
    font-size: 13px;
    gap: 10px;
    counter-increment: rank;
}

.hot-rank-list li:hover {
    background: #fafafa;
}

.hot-rank-list .rank-num {
    width: 20px;
    height: 20px;
    background: #ddd;
    color: #fff;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
}

.hot-rank-list .rank-top .rank-num {
    background: #ff6b00;
}

.hot-rank-list li:nth-child(2) .rank-num {
    background: #ff8c00;
}

.hot-rank-list li:nth-child(3) .rank-num {
    background: #ffb300;
}

.hot-rank-list li a {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #555;
}

.hot-rank-list li a:hover {
    color: #ff6b00;
}

.rank-views {
    color: #bbb;
    font-size: 12px;
    flex-shrink: 0;
}

/* ========== 标签云 ========== */
.tag-cloud-widget .tag-cloud {
    padding: 15px 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud .tag {
    display: inline-block;
    padding: 4px 10px;
    background: #f5f5f5;
    color: #666;
    border-radius: 14px;
    font-size: 12px;
    transition: all 0.2s;
}

.tag-cloud .tag:hover {
    background: #fff5f0;
    color: #ff6b00;
}

.tag-cloud .tag.tag-sm {
    font-size: 11px;
    padding: 3px 8px;
}

.tag-cloud .tag.tag-md {
    font-size: 12px;
}

.tag-cloud .tag.tag-lg {
    font-size: 13px;
    font-weight: 500;
}

.tag-cloud .tag.tag-xl {
    font-size: 14px;
    font-weight: 600;
    background: #fff5f0;
    color: #ff6b00;
    border: 1px solid #ffd4bf;
}

/* ========== 底部多列 ========== */
.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #444;
    margin-bottom: 20px;
}

.footer-col h4 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 15px;
    font-weight: 500;
}

.footer-col ul li {
    padding: 5px 0;
    font-size: 13px;
}

.footer-col ul li a {
    color: #999;
}

.footer-col ul li a:hover {
    color: #ff6b00;
}

.footer-col .contact-list li {
    color: #999;
}

/* ========== 帖子详情页 ========== */
.thread-header {
    background: #fff;
    border-radius: 6px;
    padding: 25px 30px;
    margin-bottom: 18px;
}

.thread-tags {
    margin-bottom: 12px;
    display: flex;
    gap: 8px;
}

.thread-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    margin-bottom: 15px;
}

.thread-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 13px;
    color: #999;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 15px;
}

.thread-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-avatar {
    font-size: 18px;
}

.author-name {
    color: #ff6b00;
    font-weight: 500;
}

.author-level {
    background: #fff5f0;
    color: #ff6b00;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
}

.thread-share {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.share-label {
    font-size: 13px;
    color: #999;
}

.share-btn {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    border: 1px solid #e0e0e0;
    color: #666;
    transition: all 0.2s;
}

.share-btn:hover {
    border-color: #ff6b00;
    color: #ff6b00;
}

.collect-btn, .like-btn {
    padding: 6px 15px;
    border: 1px solid #ff6b00;
    background: #fff;
    color: #ff6b00;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    margin-left: 5px;
}

.collect-btn:hover, .like-btn:hover {
    background: #ff6b00;
    color: #fff;
}

/* ========== 楼层样式 ========== */
.post-floor {
    display: flex;
    background: #fff;
    border-radius: 6px;
    margin-bottom: 15px;
    overflow: hidden;
}

.floor-left {
    width: 160px;
    background: #fafafa;
    padding: 20px 15px;
    text-align: center;
    flex-shrink: 0;
    border-right: 1px solid #f0f0f0;
}

.floor-avatar {
    width: 70px;
    height: 70px;
    background: #fff5f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    margin: 0 auto 10px;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.floor-username {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #ff6b00;
    margin-bottom: 5px;
}

.floor-user-level {
    display: inline-block;
    background: #fff5f0;
    color: #ff6b00;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    margin-bottom: 10px;
}

.floor-user-stats {
    font-size: 12px;
    color: #999;
    line-height: 1.8;
    margin-bottom: 12px;
}

.floor-user-stats span {
    display: block;
}

.follow-btn {
    width: 100%;
    padding: 6px 0;
    background: #ff6b00;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s;
}

.follow-btn:hover {
    background: #e65c00;
}

.follow-btn.large {
    padding: 10px 0;
    font-size: 14px;
}

.floor-right {
    flex: 1;
    min-width: 0;
    padding: 20px 25px;
}

.floor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #eee;
}

.floor-num {
    font-size: 13px;
    color: #ff6b00;
    font-weight: 600;
    background: #fff5f0;
    padding: 3px 12px;
    border-radius: 12px;
}

.floor-time {
    font-size: 12px;
    color: #bbb;
}

.floor-content {
    font-size: 14px;
    color: #333;
    line-height: 1.9;
    margin-bottom: 15px;
}

.floor-content p {
    margin-bottom: 12px;
}

.floor-content p:last-child {
    margin-bottom: 0;
}

.floor-content h2 {
    font-size: 18px;
    font-weight: 600;
    margin: 20px 0 12px;
    padding-left: 12px;
    border-left: 4px solid #ff6b00;
    color: #333;
}

.floor-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 15px 0 10px;
    color: #444;
}

.floor-content ul, .floor-content ol {
    margin-bottom: 12px;
    padding-left: 25px;
    list-style: disc;
}

.floor-content ol {
    list-style: decimal;
}

.floor-content li {
    margin-bottom: 6px;
}

.floor-content strong {
    color: #ff6b00;
    font-weight: 600;
}

.content-tags {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed #eee;
    font-size: 13px;
    color: #999;
}

.content-tags a {
    display: inline-block;
    margin: 0 5px 5px 0;
    padding: 3px 10px;
    background: #f5f5f5;
    color: #666;
    border-radius: 12px;
    font-size: 12px;
}

.content-tags a:hover {
    background: #fff5f0;
    color: #ff6b00;
}

/* 吴老师点评 */
.teacher-comment {
    background: #fff8f0;
    border: 1px solid #ffd4bf;
    border-radius: 6px;
    margin: 20px 0;
    overflow: hidden;
}

.teacher-comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: #ff6b00;
    color: #fff;
}

.teacher-badge {
    font-weight: 600;
    font-size: 14px;
}

.teacher-comment-header .comment-time {
    font-size: 12px;
    opacity: 0.9;
}

.teacher-comment-content {
    padding: 15px;
    font-size: 14px;
    color: #333;
    line-height: 1.8;
}

.teacher-comment-content p {
    margin-bottom: 8px;
}

.teacher-comment-content p:last-child {
    margin-bottom: 0;
}

/* 引用 */
.quote {
    background: #f5f5f5;
    border-left: 3px solid #ddd;
    padding: 10px 15px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #888;
    border-radius: 0 4px 4px 0;
}

.quote-user {
    color: #666;
    font-weight: 500;
}

.floor-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px dashed #eee;
}

.action-btn {
    padding: 5px 12px;
    background: #f5f5f5;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    color: #666;
    cursor: pointer;
    margin-right: 8px;
    transition: all 0.2s;
}

.action-btn:hover {
    background: #fff5f0;
    color: #ff6b00;
}

.floor-ip {
    font-size: 12px;
    color: #ccc;
}

/* 评论区标题 */
.comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border-radius: 6px 6px 0 0;
    padding: 15px 25px;
    border-bottom: 2px solid #ff6b00;
}

.comments-header h2 {
    font-size: 16px;
    font-weight: 600;
}

.comment-count {
    color: #ff6b00;
    font-weight: 500;
}

.comment-sort {
    display: flex;
    gap: 15px;
}

.sort-item {
    font-size: 13px;
    color: #999;
    cursor: pointer;
}

.sort-item.active {
    color: #ff6b00;
    font-weight: 500;
}

/* 上一篇/下一篇 */
.thread-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 20px 0;
}

.prev-thread, .next-thread {
    display: block;
    background: #fff;
    padding: 15px 20px;
    border-radius: 6px;
    transition: all 0.2s;
    border: 1px solid #eee;
}

.prev-thread:hover, .next-thread:hover {
    border-color: #ff6b00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,107,0,0.1);
}

.next-thread {
    text-align: right;
}

.nav-label {
    display: block;
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}

.nav-title {
    display: block;
    font-size: 14px;
    color: #333;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.prev-thread:hover .nav-title,
.next-thread:hover .nav-title {
    color: #ff6b00;
}

/* 相关帖子推荐 */
.related-posts {
    background: #fff;
    border-radius: 6px;
    margin-bottom: 18px;
    padding: 20px 25px;
}

.related-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff6b00;
}

.related-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.related-card {
    padding: 12px 15px;
    background: #fafafa;
    border-radius: 6px;
    transition: all 0.2s;
}

.related-card:hover {
    background: #fff8f0;
}

.related-card h4 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 39px;
}

.related-card h4 a {
    color: #333;
}

.related-card h4 a:hover {
    color: #ff6b00;
}

.related-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #bbb;
}

/* 回复表单 */
.reply-form-section {
    background: #fff;
    border-radius: 6px;
    margin-bottom: 18px;
    padding: 20px 25px;
}

.reply-form-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.reply-textarea {
    width: 100%;
    min-height: 120px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 12px;
    font-size: 14px;
    resize: vertical;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
}

.reply-textarea:focus {
    border-color: #ff6b00;
}

.form-toolbar {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 15px;
}

.tool-btn {
    padding: 5px 12px;
    background: #f5f5f5;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    color: #666;
    transition: all 0.2s;
}

.tool-btn:hover {
    background: #fff5f0;
    color: #ff6b00;
}

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

.anonymous-label {
    font-size: 13px;
    color: #999;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.submit-btn {
    padding: 10px 30px;
    background: #ff6b00;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.submit-btn:hover {
    background: #e65c00;
}

/* ========== 版块详情页 ========== */
.forum-banner {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #fff8f0 0%, #fff 100%);
    border-radius: 6px;
    padding: 25px 30px;
    margin-bottom: 15px;
    gap: 20px;
    border: 1px solid #ffd4bf;
}

.forum-banner-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff8c00, #ff6b00);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    flex-shrink: 0;
    color: #fff;
}

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

.forum-banner-info h1 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.forum-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 12px;
}

.forum-banner-stats {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #999;
    flex-wrap: wrap;
}

.forum-banner-stats strong {
    color: #ff6b00;
    font-size: 15px;
    font-weight: 600;
}

.forum-banner-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.publish-btn.large {
    padding: 12px 30px;
    font-size: 15px;
    white-space: nowrap;
}

.join-btn {
    padding: 10px 30px;
    background: #fff;
    color: #ff6b00;
    border: 1px solid #ff6b00;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.join-btn:hover {
    background: #fff5f0;
}

/* 版块公告 */
.forum-notice {
    background: #fffde7;
    border: 1px solid #fff59d;
    border-radius: 6px;
    padding: 12px 20px;
    margin-bottom: 15px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.notice-tag {
    background: #fbc02d;
    color: #fff;
    padding: 2px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
    flex-shrink: 0;
}

.forum-notice a {
    color: #5d4037;
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.forum-notice a:hover {
    color: #ff6b00;
}

/* 子版块 */
.sub-forums {
    background: #fff;
    border-radius: 6px;
    padding: 18px 20px;
    margin-bottom: 15px;
}

.sub-forums-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.sub-forum-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.sub-forum-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #fafafa;
    border-radius: 6px;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.sub-forum-item:hover {
    background: #fff8f0;
    border-color: #ffd4bf;
}

.sub-forum-icon {
    font-size: 28px;
    flex-shrink: 0;
}

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

.sub-forum-info h4 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 3px;
    color: #333;
}

.sub-forum-info p {
    font-size: 12px;
    color: #999;
}

.sub-forum-count {
    font-size: 12px;
    color: #bbb;
    flex-shrink: 0;
}

/* 帖子筛选 */
.post-filter-tabs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border-radius: 6px 6px 0 0;
    padding: 0 20px;
    border-bottom: 2px solid #ff6b00;
    flex-wrap: wrap;
}

.filter-left {
    display: flex;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 14px 18px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
}

.filter-tab:hover {
    color: #ff6b00;
}

.filter-tab.active {
    color: #ff6b00;
    border-bottom-color: #ff6b00;
    font-weight: 600;
}

.sort-select {
    padding: 6px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 13px;
    color: #666;
    outline: none;
    cursor: pointer;
    background: #fff;
}

/* 置顶帖子 */
.sticky-posts {
    background: #fff;
    padding: 10px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.sticky-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 13px;
}

.sticky-icon {
    color: #ff6b00;
    flex-shrink: 0;
}

.sticky-item h4 {
    flex: 1;
    font-size: 13px;
    font-weight: normal;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.sticky-item h4 a {
    color: #333;
}

.sticky-item h4 a:hover {
    color: #ff6b00;
}

.sticky-author {
    color: #999;
    font-size: 12px;
    flex-shrink: 0;
    width: 90px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.sticky-replies {
    color: #bbb;
    font-size: 12px;
    flex-shrink: 0;
    width: 80px;
    text-align: right;
}

/* 版块帖子列表 */
.forum-post-list {
    background: #fff;
    border-radius: 0 0 6px 6px;
}

.forum-post-item {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid #f0f0f0;
    gap: 15px;
    transition: background 0.2s;
}

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

.forum-post-item:hover {
    background: #fafafa;
}

.forum-post-item.hot {
    background: #fffaf5;
}

.post-checkbox {
    flex-shrink: 0;
}

.post-icon {
    width: 40px;
    height: 40px;
    background: #fff5f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.post-main {
    flex: 1;
    min-width: 0;
}

.post-title {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 6px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.post-title a {
    color: #333;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.post-title a:hover {
    color: #ff6b00;
}

.new-tag {
    display: inline-block;
    background: #ff4444;
    color: #fff;
    font-size: 10px;
    padding: 1px 5px;
    border-radius: 2px;
    flex-shrink: 0;
}

.post-excerpt {
    font-size: 13px;
    color: #999;
    line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-meta-info {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #bbb;
    flex-wrap: wrap;
}

.post-meta-info .post-author {
    color: #ff6b00;
}

.post-stats-col {
    width: 80px;
    flex-shrink: 0;
    text-align: center;
    font-size: 11px;
    color: #bbb;
    line-height: 1.4;
    border-left: 1px solid #f0f0f0;
    padding-left: 15px;
}

.stat-num {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #999;
    margin-bottom: 2px;
}

.stat-num.reply {
    color: #ff6b00;
}

.stat-label {
    display: block;
    font-size: 11px;
    margin-bottom: 6px;
}

.stat-label:last-child {
    margin-bottom: 0;
}

/* 作者卡片 */
.author-card-widget {
    text-align: center;
}

.author-card {
    padding: 20px;
}

.author-card-avatar {
    width: 80px;
    height: 80px;
    background: #fff5f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 12px;
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(255,107,0,0.15);
}

.author-card-name {
    font-size: 17px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.author-card-title {
    font-size: 12px;
    color: #999;
    margin-bottom: 15px;
}

.author-card-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 12px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 15px;
}

.stat-item .stat-num {
    font-size: 16px;
    font-weight: 600;
    color: #ff6b00;
    margin-bottom: 3px;
}

.stat-item .stat-label {
    font-size: 12px;
    color: #999;
}

.author-card-intro {
    font-size: 12px;
    color: #888;
    line-height: 1.7;
    margin-bottom: 15px;
    text-align: left;
}

.contact-teacher-btn {
    display: block;
    width: 100%;
    padding: 10px 0;
    background: #fff5f0;
    color: #ff6b00;
    border: 1px solid #ffd4bf;
    border-radius: 4px;
    font-size: 13px;
    text-align: center;
    margin-top: 10px;
    transition: all 0.2s;
}

.contact-teacher-btn:hover {
    background: #ff6b00;
    color: #fff;
    border-color: #ff6b00;
}

/* 版主信息 */
.moderator-list {
    padding: 15px 18px;
}

.moderator-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.moderator-avatar {
    width: 40px;
    height: 40px;
    background: #fff5f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.moderator-info {
    flex: 1;
}

.moderator-name {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    margin-bottom: 2px;
}

.moderator-role {
    font-size: 11px;
    color: #999;
}

/* 版块规则 */
.rules-list {
    padding: 15px 18px 15px 35px;
    list-style: decimal;
    font-size: 13px;
    color: #666;
    line-height: 2;
}

/* 分页跳转 */
.page-jump {
    font-size: 13px;
    color: #999;
    margin-left: 10px;
}

.page-jump input {
    width: 50px;
    height: 34px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    text-align: center;
    font-size: 13px;
    outline: none;
    margin: 0 5px;
}

.page-jump input:focus {
    border-color: #ff6b00;
}

/* ========== 响应式补充 ========== */
@media (max-width: 992px) {
    .new-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-columns {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .sub-forum-grid {
        grid-template-columns: 1fr;
    }
    
    .floor-left {
        width: 120px;
        padding: 15px 10px;
    }
    
    .floor-avatar {
        width: 55px;
        height: 55px;
        font-size: 28px;
    }
    
    .forum-banner {
        flex-wrap: wrap;
    }
    
    .forum-banner-actions {
        flex-direction: row;
        width: 100%;
    }
    
    .post-stats-col {
        display: none;
    }
}

@media (max-width: 768px) {
    .thread-title {
        font-size: 20px;
    }
    
    .floor-left {
        display: none;
    }
    
    .thread-navigation {
        grid-template-columns: 1fr;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
    }
    
    .forum-block-posts {
        padding-left: 0;
    }
    
    .forum-block-stats {
        display: none;
    }
    
    .section-header {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .section-tabs {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
    }
    
    .post-filter-tabs {
        flex-direction: column;
        align-items: stretch;
        padding: 10px 15px;
    }
    
    .filter-left {
        overflow-x: auto;
    }
    
    .forum-banner-icon {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }
    
    .forum-banner-info h1 {
        font-size: 18px;
    }
    
    .post-meta-info {
        gap: 8px;
    }
    
    .post-last-reply {
        display: none;
    }
}

@media (max-width: 576px) {
    .announcement-bar {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .section-block {
        border-radius: 0;
        margin-bottom: 10px;
    }
    
    .new-post-card {
        padding: 12px 15px;
    }
    
    .forum-block {
        padding: 15px;
    }
    
    .forum-block-header {
        gap: 10px;
    }
    
    .forum-block-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .thread-header {
        padding: 18px 15px;
    }
    
    .thread-title {
        font-size: 18px;
    }
    
    .floor-right {
        padding: 15px;
    }
    
    .reply-form-section {
        padding: 15px;
    }
    
    .related-posts {
        padding: 15px;
    }
    
    .forum-banner {
        padding: 18px 15px;
    }
    
    .essence-posts {
        padding: 5px 15px 15px;
    }
    
    .qa-list {
        padding: 0 15px 15px;
    }
}
