/* 球迷热聊：江南水墨背景与无图帖子布局 */
body.forum-page {
    color: #183b2c;
    background: #f1f8f4 url('/static/common/forum-jiangnan-bg.png') center top / cover fixed no-repeat;
    font-family: "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

.forum-page .main-content {
    width: 100%;
    max-width: none;
    min-height: calc(100vh - 86px);
    margin: 0;
    padding: 0 0 64px;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.forum-page .page-header {
    width: 100%;
    min-height: 151px;
    margin: 0;
    padding: 25px 0 20px;
    overflow: visible;
    background: transparent;
    color: #123d2b;
    text-align: left;
}
.forum-page .page-header::before,
.forum-page .page-header::after { content: none; }
.forum-page .page-header .container {
    width: min(1450px, calc(100% - 48px));
    margin: auto;
    padding: 0;
}
.forum-page .page-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 9px;
    color: #103b29;
    font: 700 clamp(37px, 3.2vw, 55px)/1.2 "Songti SC", SimSun, serif;
    letter-spacing: .05em;
    text-shadow: none;
}
.forum-seal {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 48px;
    border-radius: 4px;
    background: #b63330;
    color: white;
    font: 700 12px/1.1 "Songti SC", SimSun, serif;
    text-align: center;
    letter-spacing: 0;
}
.forum-page .page-subtitle {
    margin: 0;
    color: #1c4635;
    font: 600 17px/1.5 "Songti SC", SimSun, serif;
    letter-spacing: .12em;
    text-shadow: none;
}

.forum-page .forum-container {
    display: grid;
    grid-template-columns: minmax(0, 2.18fr) minmax(350px, 1fr);
    align-items: start;
    gap: 20px;
    width: min(1450px, calc(100% - 48px));
    max-width: none;
    min-height: 0;
    margin: 0 auto;
    padding: 0;
}
.forum-page .main-column {
    min-width: 0;
    max-width: none;
    padding: 18px 24px 22px;
    border: 1px solid #e4ece7;
    border-radius: 12px;
    background: #fffffff2;
    box-shadow: 0 12px 34px #1d56301a;
}
.forum-page .forum-controls {
    padding: 0;
    border: 0;
    background: transparent;
    backdrop-filter: none;
}
.forum-page .sort-tabs {
    gap: 10px;
    min-height: 48px;
    margin: 0 0 16px;
    padding: 3px 8px;
    border-radius: 8px;
    background: #f5f8f6;
}
.forum-page .sort-tab {
    min-width: 104px;
    padding: 10px 18px;
    border-radius: 7px;
    color: #596860;
    font-size: 15px;
    font-weight: 600;
}
.forum-page .sort-tab:hover { color: #1e6c46; background: #edf5ef; }
.forum-page .sort-tab.active {
    color: #1b6844;
    background: #fff;
    box-shadow: 0 4px 14px #346d4720;
}
.forum-page .sort-tab.active::after {
    content: "";
    position: absolute;
    right: 12px;
    bottom: -3px;
    left: 12px;
    height: 2px;
    background: #227a50;
}
.forum-page .filter-search {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}
.forum-page .tag-filter {
    flex: 0 0 145px;
    min-width: 0;
    height: 42px;
    border-color: #dce8df;
    border-radius: 6px;
    color: #37493d;
    background: #fff;
}
.forum-page .search-box {
    flex: 1 1 340px;
    max-width: 360px;
    height: 42px;
    border-radius: 6px;
    box-shadow: 0 3px 9px #244d3117;
}
.forum-page .search-box input {
    min-width: 0;
    padding: 9px 14px;
    border-color: #dce8df;
    border-radius: 6px 0 0 6px;
}
.forum-page .search-btn {
    width: 46px;
    padding: 0;
    border-color: #277449;
    border-radius: 0 6px 6px 0;
    background: #277449;
}
.forum-page .new-post-btn {
    flex: 0 0 180px;
    width: 180px;
    height: 43px;
    min-height: 0;
    margin: 0 0 0 auto;
    padding: 0 16px;
    border-radius: 7px;
    background: linear-gradient(135deg, #328358, #236743);
    box-shadow: 0 5px 13px #245b3c27;
    font-size: 15px;
}

.forum-page .post-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    background: transparent;
}
.forum-page .post-item {
    display: flex;
    min-height: 145px;
    padding: 16px;
    border: 1px solid #e7eee9;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 3px 10px #214e3610;
}
.forum-page .post-item:last-child { border: 1px solid #e7eee9; border-radius: 9px; }
.forum-page .post-item:hover {
    transform: translateY(-2px);
    padding: 16px;
    border-color: #bbdac7;
    background: #fbfefb;
    box-shadow: 0 8px 19px #214e3620;
}
.forum-page .post-avatar {
    width: 52px;
    height: 52px;
    margin: 0 14px 0 0;
    border: 1px solid #dfebe2;
    background: linear-gradient(135deg, #a8d7be, #367a53);
    font-size: 22px;
    box-shadow: none;
}
.forum-page .post-content { gap: 6px; padding: 0; }
.forum-page .post-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.forum-page .post-title {
    display: block;
    max-width: 100%;
    margin: 0;
    overflow: hidden;
    color: #17281e;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.forum-page .post-status { position: static; display: flex; flex-wrap: wrap; gap: 5px; }
.forum-page .status-badge { padding: 3px 9px; border-radius: 12px; font-size: 11px; }
.forum-page .status-pinned { background: #e2f3e8; color: #26784d; }
.forum-page .status-featured { background: #2a9a62; color: white; }
.forum-page .status-hot { background: #d7565b; color: white; }
.forum-page .post-meta {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    color: #8b9890;
    font-size: 12px;
}
.forum-page .post-author { color: #496c56; font-size: 12px; }
.forum-page .post-time { color: #96a29a; }
.forum-page .post-time::before { margin-right: 8px; }
.forum-page .follow-btn { margin-left: 0; padding: 2px 8px; background: #edf5ef; color: #257049; font-size: 11px; }
.forum-page .follow-btn:hover { color: white; }
.forum-page .post-excerpt {
    display: -webkit-box;
    max-width: 100%;
    margin: 0;
    overflow: hidden;
    color: #737f76;
    font-size: 13px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.forum-page .post-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; }
.forum-page .post-tags { gap: 7px; }
.forum-page .post-tag { padding: 4px 10px; border: 1px solid #b7d9c2; border-radius: 15px; background: #fff; color: #408963; font-size: 11px; box-shadow: none; }
.forum-page .post-stats { gap: 16px; margin-left: auto; color: #829087; font-size: 12px; }
.forum-page .stat-item i { color: #8d9a91; font-size: 12px; }
.forum-page .post-actions { right: 12px; bottom: 9px; }
.forum-page .load-more-container { padding: 20px 0 2px; border: 0; background: transparent; }
.forum-page .load-more-btn { padding: 9px 26px; background: #28764d; font-size: 13px; }
.forum-page .pagination-info { margin-top: 8px; font-size: 12px; }
.forum-page .forum-empty { padding: 54px 20px; border-radius: 8px; background: #f8fbf8; color: #708477; text-align: center; }

.forum-page .sidebar { display: flex; flex-direction: column; gap: 16px; min-width: 0; order: initial; }
.forum-page .sidebar-section {
    border: 1px solid #e3ece5;
    border-radius: 10px;
    background: #ffffffed;
    box-shadow: 0 8px 22px #1d563015;
}
.forum-page .sidebar-section:hover { transform: none; box-shadow: 0 10px 25px #1d563020; }
.forum-page .sidebar-section h3 {
    margin: 0;
    padding: 13px 20px;
    border-bottom: 1px solid #e4eee7;
    background: linear-gradient(90deg, #eff8f1, #f8fcf9);
    color: #1b6040;
    font: 700 18px/1.35 "Songti SC", SimSun, serif;
}
.forum-page .sidebar-section h3::before { content: none; }
.forum-page .sidebar-section h3 i { margin-right: 10px; color: #278657; font-size: 17px; }
.forum-page .announcement-list { padding: 8px 20px 10px; }
.forum-page .announcement-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; padding: 7px 0; }
.forum-page .announcement-item:hover { margin: 0; padding: 7px 0; background: transparent; }
.forum-page .announcement-item a { min-width: 0; margin: 0; overflow: hidden; color: #2a392e; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.forum-page .announcement-date { flex: none; color: #9aa69d; font-size: 11px; }
.forum-page .tags { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; padding: 15px 18px 18px; }
.forum-page .tag-item { display: flex; align-items: center; justify-content: space-between; gap: 5px; min-width: 0; padding: 7px 10px; border: 1px solid #dbe9df; border-radius: 20px; background: #f7fbf8; color: #386d4d; font-size: 12px; font-weight: 500; box-shadow: none; }
.forum-page .tag-item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.forum-page .tag-item small { flex: none; color: #89978b; font-size: 10px; }
.forum-page .tag-item.is-leading { background: #298250; border-color: #298250; color: white; }
.forum-page .tag-item.is-leading small { color: #e1f5e7; }
.forum-page .tag-item:hover { color: white; background: #2c8052; border-color: #2c8052; box-shadow: none; }
.forum-page .tag-item:hover small { color: white; }
.forum-page .user-ranking { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 8px; padding: 16px 18px 18px; }
.forum-page .ranking-item { min-width: 0; padding: 0; border: 0; border-radius: 0; }
.forum-page .ranking-item:hover { margin: 0; padding: 0; transform: none; background: transparent; }
.forum-page .ranking-avatar { width: 37px; height: 37px; margin-right: 7px; border: 1px solid #d9e9de; font-size: 15px; }
.forum-page .ranking-copy { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.forum-page .ranking-copy strong { overflow: hidden; color: #354b3c; font-size: 11px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.forum-page .ranking-copy small { color: #9aa69d; font-size: 10px; white-space: nowrap; }
.forum-page .rules-content { padding: 7px 20px 12px; }
.forum-page .rules-content li { padding: 8px 0 8px 18px; color: #64776b; font-size: 12px; }
.forum-page .rules-content li::before { top: 7px; left: 1px; }
.forum-page .no-data { grid-column: 1 / -1; margin: 0; padding: 10px 0; color: #8b9a8e; font-size: 12px; }

@media (max-width: 1100px) {
    .forum-page .forum-container { grid-template-columns: 1fr; }
    .forum-page .sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
    .forum-page .main-content { padding-bottom: 28px; }
    .forum-page .page-header { min-height: 128px; padding: 22px 0 15px; }
    .forum-page .page-header .container, .forum-page .forum-container { width: calc(100% - 28px); }
    .forum-page .page-title { font-size: 35px; }
    .forum-page .page-subtitle { font-size: 13px; letter-spacing: .04em; }
    .forum-page .main-column { padding: 14px; }
    .forum-page .sort-tabs { overflow-x: auto; }
    .forum-page .sort-tab { flex: none; min-width: 81px; padding: 9px 10px; font-size: 13px; }
    .forum-page .filter-search { flex-wrap: wrap; }
    .forum-page .tag-filter { flex: 0 0 125px; }
    .forum-page .search-box { flex: 1 1 calc(100% - 140px); max-width: none; }
    .forum-page .new-post-btn { flex: 1 1 100%; width: 100%; margin: 0; }
    .forum-page .post-item, .forum-page .post-item:hover { padding: 12px; }
    .forum-page .post-avatar { width: 42px; height: 42px; margin-right: 10px; }
    .forum-page .post-title { font-size: 15px; }
    .forum-page .post-bottom { align-items: flex-start; flex-direction: column; }
    .forum-page .post-stats { margin-left: 0; }
    .forum-page .sidebar { grid-template-columns: 1fr; }
}
