body.bbpress .socialv-bp-banner { min-height: 0 !important; padding: 28px 32px !important; border-radius: 18px; overflow: hidden; }
body.bbpress .socialv-bp-banner .title { font-size: clamp(22px, 2.4vw, 30px) !important; line-height: 1.3; text-transform: none; text-wrap: balance; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.bbpress.single-topic .socialv-bp-banner .title { font-size: clamp(20px, 2vw, 26px) !important; }
body.bbpress #bbpress-forums .table-responsive { overflow: visible; }
body.bbpress table.bbp-forums, body.bbpress table.bbp-topics { display: block; width: 100%; min-width: 0 !important; /* theme sets 640px */ border: 0; background: transparent; }
body.bbpress table.bbp-forums > tbody, body.bbpress table.bbp-topics > tbody { display: flex; flex-direction: column; gap: 10px; }
body.bbpress table.bbp-forums > tbody > tr:first-child, body.bbpress table.bbp-topics > tbody > tr:first-child { display: none; } /* old blue header row */
body.bbpress table.bbp-forums > tbody > tr, body.bbpress table.bbp-topics > tbody > tr { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; align-items: center; gap: 6px 18px; padding: 14px 18px; border-radius: 14px; background: #11182f; border: 1px solid #1d2742; transition: border-color .15s ease, transform .15s ease; }
body.bbpress table.bbp-forums > tbody > tr:hover, body.bbpress table.bbp-topics > tbody > tr:hover { border-color: #ff2e88; transform: translateY(-1px); }
body.bbpress table.bbp-forums td, body.bbpress table.bbp-topics td { display: block; padding: 0 !important; border: 0 !important; background: transparent !important; min-width: 0; }
body.bbpress table.bbp-forums td h6, body.bbpress table.bbp-topics td h6 { margin: 0; font-size: 16px; line-height: 1.4; }
body.bbpress table.bbp-forums td h6 a, body.bbpress table.bbp-topics td h6 a { color: #fff !important; }
body.bbpress table.bbp-forums td h6, body.bbpress table.bbp-topics td h6, body.bbpress table.bbp-forums td h6 a, body.bbpress table.bbp-topics td h6 a { white-space: normal !important; overflow-wrap: anywhere; }
body.bbpress table.bbp-forums td h6 a:hover, body.bbpress table.bbp-topics td h6 a:hover { color: #ff7ab5 !important; }
body.bbpress .sv-voices, body.bbpress .sv-post { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .05); color: #c7cfe6; font-size: 12px; font-weight: 700; white-space: nowrap; }
body.bbpress table.bbp-forums .sv-voices::before { content: "💬"; }
body.bbpress table.bbp-topics .sv-voices::before { content: "👥"; }
body.bbpress .sv-post::before { content: "📝"; }
body.bbpress #bbpress-forums .list-img-group { margin: 0; }
body.bbpress #bbpress-forums .list-img-group img { width: 28px !important; height: 28px !important; }
body.forum-archive table.bbp-forums > tbody > tr { grid-template-columns: auto minmax(0, 1fr) auto auto auto; padding: 18px 20px; }
body.forum-archive table.bbp-forums > tbody > tr::before { content: "💬"; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, #ff2e88, #7b3dff); font-size: 24px; }
body.forum-archive table.bbp-forums > tbody > tr:nth-child(3n)::before { background: linear-gradient(135deg, #00c2ff, #3d5bff); content: "✨"; }
body.forum-archive table.bbp-forums > tbody > tr:nth-child(3n+1)::before { background: linear-gradient(135deg, #ffb020, #ff4f6d); content: "🎌"; }
body.forum-archive table.bbp-forums td h6 { font-size: 18px; }
body.forum-archive table.bbp-forums .bbp-topic-meta, body.forum-archive table.bbp-forums td p { color: #8b93ad; font-size: 13px; margin: 4px 0 0; }
body.single-forum table.bbp-topics td:first-child { display: grid !important; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; row-gap: 4px; align-items: center; }
body.single-forum table.bbp-topics td:first-child > :not(.skygo-ft-thumb) { grid-column: 2; }
.skygo-ft-thumb { flex: 0 0 auto; width: 72px; height: 72px; border-radius: 12px; object-fit: cover; background: linear-gradient(135deg, #2a3556, #151e3a); grid-row: 1 / span 3; }
.skygo-ft-thumb.is-empty { display: flex; align-items: center; justify-content: center; font-size: 26px; }
body.single-forum table.bbp-topics td h6 a { display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.single-forum .bbp-topic-meta { color: #8b93ad; font-size: 12px; }
.skygo-ft-ago { color: #8b93ad; font-size: 12px; }
body.bbpress .bbp-template-notice.info { border-radius: 12px; }
body.single-topic .bbp-topic-revision-log, body.single-topic .bbp-reply-revision-log { margin: 8px 0 0; padding: 0; list-style: none; color: #6f7896; font-size: 12px; }
body.single-topic .bbp-topic-revision-log li:not(:last-child), body.single-topic .bbp-reply-revision-log li:not(:last-child) { display: none; } /* show only the latest edit */
/* ── Single topic: posts as cards (2026-11-29) ─────────────────────── */
body.single-topic .main-head-replies { display: none !important; } /* old blue "ผู้เขียน / โพสต์" header */
body.single-topic .replies-tab.border-radius-box { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; }
body.single-topic .replies-tab-table { margin: 0 0 14px; padding: 16px 20px 18px; border-radius: 16px; background: #11182f; border: 1px solid #1d2742; }
body.single-topic .replies-tab > .replies-tab-table:nth-child(2) { border-color: rgba(255, 46, 136, .45); box-shadow: 0 0 0 1px rgba(255, 46, 136, .12) inset; } /* the opening post */
body.single-topic .sv-reply-post-date { gap: 10px; flex-wrap: wrap; margin: 0 0 10px; padding: 0 0 10px; border-bottom: 1px solid #1d2742; color: #8b93ad; font-size: 12px; }
body.single-topic .sv-reply-post-date .bbp-admin-links { display: flex; flex-wrap: wrap; gap: 2px 10px; margin-left: auto; font-size: 11px; opacity: .7; }
body.single-topic .sv-reply-post-date .bbp-admin-links:hover { opacity: 1; }
body.single-topic .sv-reply-post-date .bbp-reply-permalink { color: #6e8bff; font-size: 12px; font-weight: 700; }
body.single-topic .replies-tab-table > [class*="loop-item-"] { background: transparent !important; padding: 0 !important; border: 0 !important; } /* theme draws a second box inside each post */
body.single-topic .bbp-reply-revision-log, body.single-topic .bbp-topic-revision-log { background: transparent !important; border: 0 !important; padding: 0 !important; margin-top: 8px !important; }
body.single-topic .skygo-fac { margin: 0 0 12px !important; padding: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; align-items: center; gap: 12px; }
body.single-topic .skygo-fac-avatar img { width: 44px !important; height: 44px !important; border-radius: 12px !important; }
body.single-topic .skygo-fac-head { gap: 6px; flex-wrap: wrap; }
body.single-topic .skygo-fac-name { color: #fff !important; font-size: 15px; font-weight: 700; }
body.single-topic .skygo-fac-meta { color: #8b93ad; font-size: 11.5px; gap: 2px 10px; }
body.single-topic .skygo-fac-stats, body.single-topic .skygo-fac-points { display: inline-flex; flex-wrap: wrap; gap: 4px; margin: 4px 8px 0 0; }
body.single-topic .skygo-fac-stat, body.single-topic .skygo-fac-points-chip { padding: 2px 8px !important; border-radius: 999px; font-size: 11px !important; }
body.single-topic .socialv_topic_reply_details { color: #dfe4f0; font-size: 15px; line-height: 1.75; overflow-wrap: anywhere; }
body.single-topic .socialv_topic_reply_details p { margin: 0 0 .8em; }
body.single-topic .socialv_topic_reply_details img { max-width: 100%; height: auto; border-radius: 10px; }
body.single-topic .socialv_topic_reply_details a { color: #9fb4ff; }
body.single-topic .forum-btn-box { display: flex; gap: 8px; flex-wrap: wrap; }
body.single-topic .forum-btn-box a, body.single-topic .forum-btn-box .btn { border-radius: 999px !important; padding: 8px 16px !important; font-size: 13px; }
body.single-topic .forum-btn-box a.favorite-toggle { display: inline-flex !important; align-items: center; justify-content: center; padding: 0 !important; line-height: 1 !important; } /* round star button: the pill padding above pushed the star off-centre */
body.single-topic .forum-btn-box a.favorite-toggle i { line-height: 1; font-size: 16px; }
body.single-topic .bbp-topic-tags p { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; color: #8b93ad; font-size: 13px; }
body.single-topic .bbp-topic-tags a { padding: 3px 10px; border-radius: 999px; background: rgba(110, 139, 255, .12); color: #9fb4ff !important; font-size: 12px; text-decoration: none; }
body.single-topic .bbp-reply-form { margin-top: 18px; padding: 18px 20px; border-radius: 16px; background: #11182f; border: 1px solid #1d2742; }
body.single-topic .bbp-reply-form legend, body.single-topic .bbp-reply-form h3, body.single-topic .bbp-reply-form h4 { font-size: 16px !important; line-height: 1.4; text-transform: none; }
@media (max-width: 680px) {
	body.bbpress .socialv-bp-banner { padding: 20px 18px !important; border-radius: 0; }
	body.bbpress table.bbp-forums > tbody > tr, body.bbpress table.bbp-topics > tbody > tr { grid-template-columns: minmax(0, 1fr) auto auto; padding: 12px 14px; }
	body.bbpress table.bbp-forums > tbody > tr > td:last-child, body.bbpress table.bbp-topics > tbody > tr > td:last-child { display: none !important; }
	body.forum-archive table.bbp-forums > tbody > tr { grid-template-columns: auto minmax(0, 1fr); }
	body.forum-archive table.bbp-forums > tbody > tr > td:nth-child(2), body.forum-archive table.bbp-forums > tbody > tr > td:nth-child(3) { grid-column: 2; display: inline-block; }
	body.single-forum table.bbp-topics > tbody > tr { grid-template-columns: minmax(0, 1fr); }
	body.single-forum table.bbp-topics > tbody > tr > td:nth-child(2), body.single-forum table.bbp-topics > tbody > tr > td:nth-child(3) { display: none !important; }
	.skygo-ft-thumb { width: 60px; height: 60px; }
	body.single-forum table.bbp-topics td h6 { font-size: 14px; }
	body.single-topic .replies-tab-table { padding: 12px 14px 14px; border-radius: 14px; }
	body.single-topic .sv-reply-post-date .bbp-admin-links { width: 100%; margin-left: 0; order: 3; }
	body.single-topic .socialv_topic_reply_details { font-size: 14px; }
}
