:root {
	--flowmesh-bg: #02080f;
	--flowmesh-panel: rgba(8, 24, 38, 0.92);
	--flowmesh-panel-deep: rgba(5, 16, 27, 0.92);
	--flowmesh-panel-soft: rgba(255, 255, 255, 0.035);
	--flowmesh-border: rgba(255, 255, 255, 0.08);
	--flowmesh-border-strong: rgba(0, 216, 255, 0.26);
	--flowmesh-text: #ffffff;
	--flowmesh-text-soft: rgba(255, 255, 255, 0.68);
	--flowmesh-text-strong: rgba(255, 255, 255, 0.82);
	--flowmesh-yellow: #ffc400;
	--flowmesh-cyan: #00d8ff;
	--flowmesh-blue: #1684ff;
	--flowmesh-purple: #9b5cff;
	--flowmesh-green: #34d17a;
	--flowmesh-danger: #ff4d4d;
	--flowmesh-radius: 8px;
	--flowmesh-radius-control: 6px;
	--flowmesh-shadow: inset 0 0 30px rgba(255, 255, 255, 0.015), 0 14px 35px rgba(0, 0, 0, 0.22);
}

body.flowmesh-bbp {
	background: var(--flowmesh-bg) !important;
	color: var(--flowmesh-text);
}

body.flowmesh-bbp #page,
body.flowmesh-bbp .site,
body.flowmesh-bbp .site-content,
body.flowmesh-bbp .wp-site-blocks,
body.flowmesh-bbp .content-area,
body.flowmesh-bbp .entry-content,
body.flowmesh-bbp main,
body.flowmesh-bbp .site-main {
	background: transparent !important;
}

body.flowmesh-bbp .site-content,
body.flowmesh-bbp .content-sidebar-wrap,
body.flowmesh-bbp .ast-container,
body.flowmesh-bbp .container,
body.flowmesh-bbp .wrap,
body.flowmesh-bbp #content,
body.flowmesh-bbp #primary,
body.flowmesh-bbp main,
body.flowmesh-bbp .site-main,
body.flowmesh-bbp .content-area,
body.flowmesh-bbp .flowmesh-bbp-shell {
	width: 100% !important;
	max-width: none !important;
	float: none !important;
	display: block;
}

body.flowmesh-bbp .entry-content > #bbpress-forums,
body.flowmesh-bbp .wp-block-post-content > #bbpress-forums {
	margin-top: 0;
}

body.flowmesh-bbp #secondary,
body.flowmesh-bbp .secondary,
body.flowmesh-bbp .sidebar,
body.flowmesh-bbp .sidebar-primary,
body.flowmesh-bbp .sidebar-secondary,
body.flowmesh-bbp .widget-area,
body.flowmesh-bbp aside[role="complementary"],
body.flowmesh-bbp .wp-block-template-part aside {
	display: none !important;
}

body.flowmesh-bbp .widget:empty,
body.flowmesh-bbp .wp-block-widget:empty,
body.flowmesh-bbp .flowmesh-bbp-empty-widget {
	display: none !important;
}

body.flowmesh-bbp .flowmesh-bbp-post-widgets {
	display: grid !important;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 16px;
	width: calc(100% - 48px);
	max-width: 1180px;
	margin: -28px auto 56px;
	padding: 0;
	align-items: stretch;
}

body.flowmesh-bbp .flowmesh-bbp-post-widget {
	grid-column: span 2;
	min-width: 0;
	margin: 0 !important;
	padding: 18px;
	color: var(--flowmesh-text-strong);
	background:
		radial-gradient(circle at 50% 0, rgba(0, 216, 255, 0.12), transparent 42%),
		linear-gradient(180deg, var(--flowmesh-panel), var(--flowmesh-panel-deep));
	border: 1px solid var(--flowmesh-border);
	border-radius: var(--flowmesh-radius);
	box-shadow: var(--flowmesh-shadow);
	text-align: center;
}

body.flowmesh-bbp .flowmesh-bbp-post-widget--second-row-start {
	grid-column: 2 / span 2;
}

body.flowmesh-bbp .flowmesh-bbp-post-widget--second-row-end {
	grid-column: 4 / span 2;
}

body.flowmesh-bbp .flowmesh-bbp-post-widget,
body.flowmesh-bbp .flowmesh-bbp-post-widget p,
body.flowmesh-bbp .flowmesh-bbp-post-widget li {
	color: var(--flowmesh-text-soft);
}

body.flowmesh-bbp .flowmesh-bbp-post-widget h1,
body.flowmesh-bbp .flowmesh-bbp-post-widget h2,
body.flowmesh-bbp .flowmesh-bbp-post-widget h3,
body.flowmesh-bbp .flowmesh-bbp-post-widget h4,
body.flowmesh-bbp .flowmesh-bbp-post-widget .widget-title {
	margin: 0 0 10px;
	color: var(--flowmesh-yellow);
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.2;
}

body.flowmesh-bbp .flowmesh-bbp-post-widget a {
	color: var(--flowmesh-cyan);
	font-weight: 800;
	text-decoration: none;
}

body.flowmesh-bbp .flowmesh-bbp-post-widget a:hover,
body.flowmesh-bbp .flowmesh-bbp-post-widget a:focus-visible {
	color: var(--flowmesh-yellow);
	text-shadow: 0 0 10px currentColor;
}

#bbpress-forums {
	position: relative;
	box-sizing: border-box;
	max-width: 1180px;
	margin: 0 auto 56px;
	padding: 24px;
	color: var(--flowmesh-text);
	background:
		radial-gradient(circle at 84% 4%, rgba(0, 216, 255, 0.12), transparent 28%),
		radial-gradient(circle at 7% 16%, rgba(255, 196, 0, 0.08), transparent 24%),
		linear-gradient(180deg, var(--flowmesh-panel), var(--flowmesh-panel-deep));
	border: 1px solid var(--flowmesh-border);
	border-radius: var(--flowmesh-radius);
	box-shadow: var(--flowmesh-shadow);
	font-size: 16px;
	line-height: 1.55;
	overflow: hidden;
}

#bbpress-forums *,
#bbpress-forums *::before,
#bbpress-forums *::after {
	box-sizing: border-box;
}

#bbpress-forums::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(90deg, rgba(0, 216, 255, 0.12) 1px, transparent 1px),
		linear-gradient(rgba(0, 216, 255, 0.08) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.34), transparent 44%);
}

#bbpress-forums > * {
	position: relative;
	z-index: 1;
}

#bbpress-forums a {
	color: var(--flowmesh-cyan);
	text-decoration: none;
	font-weight: 700;
	transition: color 0.2s ease, text-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

#bbpress-forums a:hover,
#bbpress-forums a:focus-visible {
	color: var(--flowmesh-yellow);
	text-shadow: 0 0 10px currentColor;
}

#bbpress-forums p,
#bbpress-forums div,
#bbpress-forums li {
	color: inherit;
}

#bbpress-forums h1,
#bbpress-forums h2,
#bbpress-forums h3,
#bbpress-forums .bbp-forum-title,
#bbpress-forums .bbp-topic-permalink,
#bbpress-forums .bbp-reply-title,
#bbpress-forums #bbp-user-wrapper h2.entry-title {
	color: var(--flowmesh-text);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: 0;
}

#bbpress-forums .bbp-breadcrumb {
	margin: 0 0 18px;
	color: rgba(255, 255, 255, 0.55);
	font-size: 0.82rem;
}

#bbpress-forums .bbp-breadcrumb p {
	margin: 0;
	color: inherit;
}

#bbpress-forums .bbp-breadcrumb .bbp-breadcrumb-sep {
	color: rgba(255, 196, 0, 0.55);
	padding: 0 7px;
}

#bbpress-forums .bbp-breadcrumb a {
	color: rgba(0, 216, 255, 0.82);
	font-weight: 800;
}

#bbpress-forums .bbp-template-notice,
#bbpress-forums div.indicator-hint {
	margin: 18px 0;
	padding: 14px 16px;
	color: var(--flowmesh-text-strong);
	background: linear-gradient(180deg, rgba(8, 24, 38, 0.94), rgba(5, 16, 27, 0.94));
	border: 1px solid rgba(0, 216, 255, 0.22);
	border-left: 3px solid var(--flowmesh-cyan);
	border-radius: var(--flowmesh-radius-control);
	box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

#bbpress-forums .bbp-template-notice.info {
	border-left-color: var(--flowmesh-cyan);
}

#bbpress-forums .bbp-template-notice.error,
#bbpress-forums .bbp-template-notice.warning {
	border-color: rgba(255, 77, 77, 0.26);
	border-left-color: var(--flowmesh-danger);
}

#bbpress-forums .bbp-template-notice p {
	margin: 0.25rem 0;
	padding: 0;
	color: var(--flowmesh-text-strong);
	font-size: 0.92rem;
}

#bbpress-forums .bbp-search-form {
	margin: 0 0 22px;
	padding: 0;
}

#bbpress-forums .bbp-search-form form,
#bbpress-forums #bbp-search-form {
	display: flex;
	justify-content: flex-end;
	align-items: stretch;
	gap: 10px;
	margin: 0;
}

#bbpress-forums .bbp-search-form input[type="text"],
#bbpress-forums #bbp_search {
	min-width: min(360px, 100%);
}

#bbpress-forums input[type="text"],
#bbpress-forums input[type="email"],
#bbpress-forums input[type="password"],
#bbpress-forums input[type="url"],
#bbpress-forums input[type="search"],
#bbpress-forums input[type="number"],
#bbpress-forums select,
#bbpress-forums textarea {
	width: 100%;
	max-width: 100%;
	min-height: 44px;
	padding: 12px 14px !important;
	color: var(--flowmesh-text) !important;
	background: rgba(255, 255, 255, 0.04) !important;
	border: 1px solid rgba(255, 255, 255, 0.12) !important;
	border-radius: var(--flowmesh-radius-control) !important;
	box-shadow: none;
	outline: none;
}

#bbpress-forums select {
	color: var(--flowmesh-text) !important;
	background: rgb(8, 24, 38) !important;
	color-scheme: dark;
}

#bbpress-forums select option,
#bbpress-forums select optgroup {
	color: var(--flowmesh-text) !important;
	background: rgb(8, 24, 38) !important;
}

#bbpress-forums select option:checked {
	color: var(--flowmesh-text) !important;
	background: rgb(22, 132, 255) !important;
}

#bbpress-forums textarea {
	min-height: 160px;
	resize: vertical;
}

#bbpress-forums input::placeholder,
#bbpress-forums textarea::placeholder {
	color: rgba(255, 255, 255, 0.45);
}

#bbpress-forums input:focus,
#bbpress-forums textarea:focus,
#bbpress-forums select:focus {
	border-color: rgba(0, 216, 255, 0.55) !important;
	box-shadow: 0 0 14px rgba(0, 216, 255, 0.15);
}

#bbpress-forums input[type="checkbox"],
#bbpress-forums input[type="radio"] {
	width: auto;
	min-height: 0;
	accent-color: var(--flowmesh-yellow);
}

#bbpress-forums button,
#bbpress-forums input[type="button"],
#bbpress-forums input[type="submit"],
#bbpress-forums .button,
#bbpress-forums .bbp-submit-wrapper button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-height: 42px;
	padding: 12px 22px !important;
	color: var(--flowmesh-bg) !important;
	background: var(--flowmesh-yellow) !important;
	border: 0 !important;
	border-radius: var(--flowmesh-radius-control) !important;
	font-weight: 800 !important;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

#bbpress-forums button:hover,
#bbpress-forums input[type="button"]:hover,
#bbpress-forums input[type="submit"]:hover,
#bbpress-forums .button:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 25px rgba(255, 196, 0, 0.25);
	filter: saturate(1.08);
}

#bbpress-forums ul.bbp-forums,
#bbpress-forums ul.bbp-topics,
#bbpress-forums ul.bbp-replies,
#bbpress-forums ul.bbp-search-results {
	clear: both;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
	color: var(--flowmesh-text);
	background: linear-gradient(180deg, var(--flowmesh-panel), var(--flowmesh-panel-deep));
	border: 1px solid var(--flowmesh-border);
	border-radius: var(--flowmesh-radius);
	box-shadow: var(--flowmesh-shadow);
	overflow: hidden;
}

#bbpress-forums li.bbp-header,
#bbpress-forums li.bbp-footer {
	margin: 0;
	padding: 0;
	color: var(--flowmesh-cyan);
	background: rgba(0, 216, 255, 0.08);
	border: 0;
}

#bbpress-forums li.bbp-header {
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#bbpress-forums li.bbp-footer {
	display: none;
}

.flowmesh-bbp-index {
	display: grid;
	gap: 24px;
}

.flowmesh-bbp-category-index {
	display: grid;
	gap: 28px;
}

.flowmesh-bbp-category-card {
	padding: 20px;
	background:
		radial-gradient(circle at 92% 0, rgba(0, 216, 255, 0.11), transparent 34%),
		linear-gradient(180deg, var(--flowmesh-panel), var(--flowmesh-panel-deep));
	border: 1px solid var(--flowmesh-border);
	border-radius: var(--flowmesh-radius);
	box-shadow: var(--flowmesh-shadow);
}

.flowmesh-bbp-category-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 16px;
	padding-bottom: 16px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.flowmesh-bbp-kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
	color: var(--flowmesh-yellow);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.flowmesh-bbp-kicker::after {
	content: "";
	width: 42px;
	height: 2px;
	background: var(--flowmesh-yellow);
	box-shadow: 0 0 12px rgba(255, 196, 0, 0.5);
}

.flowmesh-bbp-category-title {
	margin: 0;
	color: var(--flowmesh-text);
	font-size: 1.7rem;
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: 0;
}

.flowmesh-bbp-category-description {
	max-width: 760px;
	margin-top: 10px;
	color: var(--flowmesh-text-soft);
	font-size: 0.94rem;
}

.flowmesh-bbp-category-description p,
.flowmesh-bbp-forum-card__description p {
	margin: 0 0 0.6rem;
	color: inherit;
}

.flowmesh-bbp-category-description p:last-child,
.flowmesh-bbp-forum-card__description p:last-child {
	margin-bottom: 0;
}

.flowmesh-bbp-child-forums {
	display: grid;
	gap: 12px;
}

.flowmesh-bbp-forum-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(140px, auto) minmax(190px, 0.32fr);
	align-items: center;
	gap: 18px;
	padding: 16px;
	color: var(--flowmesh-text-strong);
	background: rgba(255, 255, 255, 0.024);
	border: 1px solid rgba(255, 255, 255, 0.075);
	border-radius: var(--flowmesh-radius);
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.flowmesh-bbp-forum-card:hover {
	background: rgba(0, 216, 255, 0.045);
	border-color: rgba(0, 216, 255, 0.24);
	transform: translateY(-1px);
}

.flowmesh-bbp-forum-card__title {
	margin: 0;
	font-size: 1.45rem !important;
	line-height: 1.2;
}

.flowmesh-bbp-forum-card__title a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--flowmesh-text) !important;
	font-size: 1.45rem !important;
	font-weight: 800;
	line-height: 1.15;
}

.flowmesh-bbp-forum-card__title a::before {
	content: "";
	width: 7px;
	height: 7px;
	border: 1px solid var(--flowmesh-cyan);
	border-radius: 2px;
	box-shadow: 0 0 10px rgba(0, 216, 255, 0.8);
	flex: 0 0 auto;
}

.flowmesh-bbp-forum-card__title a:hover {
	color: var(--flowmesh-yellow) !important;
}

.flowmesh-bbp-forum-card__description {
	margin-top: 7px;
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.84rem;
	line-height: 1.45;
}

.flowmesh-bbp-forum-card__stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(64px, 1fr));
	gap: 8px;
	margin: 0;
}

.flowmesh-bbp-forum-card__stat {
	min-width: 64px;
	padding: 9px 10px;
	text-align: center;
	background: rgba(255, 255, 255, 0.035);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--flowmesh-radius-control);
}

.flowmesh-bbp-forum-card__stat dt {
	margin: 0 0 2px;
	color: var(--flowmesh-text-soft);
	font-size: 0.66rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.flowmesh-bbp-forum-card__stat dd {
	margin: 0;
	color: var(--flowmesh-yellow);
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.1;
}

.flowmesh-bbp-forum-card__freshness {
	display: grid;
	gap: 3px;
	min-width: 0;
	color: var(--flowmesh-text-soft);
	font-size: 0.78rem;
	line-height: 1.35;
}

.flowmesh-bbp-forum-card__label {
	color: var(--flowmesh-cyan);
	font-size: 0.66rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.flowmesh-bbp-forum-card__freshness a {
	font-weight: 800;
}

.flowmesh-bbp-forum-card__freshness-author {
	color: rgba(255, 255, 255, 0.58);
}

.flowmesh-bbp-forum-card__none,
.flowmesh-bbp-empty-state {
	color: var(--flowmesh-text-soft);
}

.flowmesh-bbp-empty-state {
	padding: 18px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--flowmesh-radius);
}

.flowmesh-bbp-empty-state--category {
	margin-top: 6px;
}

#bbpress-forums li.bbp-header ul,
#bbpress-forums li.bbp-footer ul,
#bbpress-forums li.bbp-body ul.forum,
#bbpress-forums li.bbp-body ul.topic {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(72px, 0.12fr) minmax(72px, 0.12fr) minmax(170px, 0.28fr);
	align-items: center;
	gap: 16px;
	width: 100%;
	margin: 0;
	padding: 15px 18px;
	list-style: none;
}

#bbpress-forums li.bbp-header ul {
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

#bbpress-forums li.bbp-body {
	margin: 0;
	padding: 10px;
	background: transparent;
}

#bbpress-forums li.bbp-body ul.forum,
#bbpress-forums li.bbp-body ul.topic {
	margin: 0 0 10px;
	color: var(--flowmesh-text-strong);
	background: rgba(255, 255, 255, 0.022);
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: var(--flowmesh-radius);
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

#bbpress-forums li.bbp-body ul.forum:last-child,
#bbpress-forums li.bbp-body ul.topic:last-child {
	margin-bottom: 0;
}

#bbpress-forums li.bbp-body ul.forum:hover,
#bbpress-forums li.bbp-body ul.topic:hover {
	background: rgba(0, 216, 255, 0.045);
	border-color: rgba(0, 216, 255, 0.22);
	transform: translateY(-1px);
}

#bbpress-forums li.bbp-forum-info,
#bbpress-forums li.bbp-forum-topic-count,
#bbpress-forums li.bbp-forum-reply-count,
#bbpress-forums li.bbp-forum-freshness,
#bbpress-forums li.bbp-topic-title,
#bbpress-forums li.bbp-topic-voice-count,
#bbpress-forums li.bbp-topic-reply-count,
#bbpress-forums li.bbp-topic-freshness {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	text-align: left;
	color: inherit;
}

#bbpress-forums li.bbp-forum-topic-count,
#bbpress-forums li.bbp-forum-reply-count,
#bbpress-forums li.bbp-topic-voice-count,
#bbpress-forums li.bbp-topic-reply-count {
	text-align: center;
	font-weight: 800;
	color: var(--flowmesh-yellow);
}

#bbpress-forums li.bbp-forum-freshness,
#bbpress-forums li.bbp-topic-freshness {
	color: var(--flowmesh-text-soft);
	font-size: 0.82rem;
}

#bbpress-forums .bbp-forum-title,
#bbpress-forums .bbp-topic-permalink {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 5px;
	color: var(--flowmesh-text);
	font-size: 1.02rem;
}

#bbpress-forums .bbp-forum-title::before,
#bbpress-forums .bbp-topic-permalink::before {
	content: "";
	display: inline-block;
	width: 9px;
	height: 9px;
	border: 1px solid currentColor;
	border-radius: 2px;
	color: var(--flowmesh-cyan);
	box-shadow: 0 0 10px currentColor;
	flex: 0 0 auto;
}

#bbpress-forums .bbp-forum-content,
#bbpress-forums .bbp-topic-meta,
#bbpress-forums .bbp-topic-started-by,
#bbpress-forums .bbp-topic-started-in,
#bbpress-forums .bbp-topic-freshness-author,
#bbpress-forums .bbp-forum-freshness-author {
	margin: 0;
	color: rgba(255, 255, 255, 0.58);
	font-size: 0.82rem;
	line-height: 1.45;
}

#bbpress-forums .bbp-topic-meta a,
#bbpress-forums .bbp-forum-freshness a,
#bbpress-forums .bbp-topic-freshness a {
	font-weight: 700;
}

#bbpress-forums .bbp-topic-sticky-link,
#bbpress-forums .bbp-topic-super-sticky-link,
#bbpress-forums .bbp-topic-status,
#bbpress-forums .bbp-forum-status-closed,
#bbpress-forums .bbp-admin-links a {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	margin: 3px 4px 3px 0;
	padding: 4px 9px;
	color: var(--flowmesh-yellow);
	background: rgba(255, 196, 0, 0.08);
	border: 1px solid rgba(255, 196, 0, 0.35);
	border-radius: 999px;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-shadow: none;
}

#bbpress-forums .bbp-admin-links {
	float: none;
	color: transparent;
	font-size: 0;
}

#bbpress-forums .bbp-admin-links a {
	color: var(--flowmesh-cyan);
	background: rgba(0, 216, 255, 0.08);
	border-color: rgba(0, 216, 255, 0.35);
	font-size: 0.68rem;
}

#bbpress-forums img.avatar,
#bbpress-forums .avatar {
	border-radius: 50%;
	border: 1px solid rgba(0, 216, 255, 0.28);
	box-shadow: 0 0 15px rgba(0, 216, 255, 0.15);
}

#bbpress-forums .bbp-pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 18px 0;
	color: var(--flowmesh-text-soft);
	font-size: 0.86rem;
}

#bbpress-forums .bbp-pagination-count {
	color: var(--flowmesh-text-soft);
}

#bbpress-forums .bbp-pagination-links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

#bbpress-forums .bbp-pagination-links a,
#bbpress-forums .bbp-pagination-links span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	min-height: 34px;
	padding: 6px 10px;
	color: var(--flowmesh-cyan);
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(0, 216, 255, 0.25);
	border-radius: var(--flowmesh-radius-control);
	font-weight: 800;
}

#bbpress-forums .bbp-pagination-links span.current {
	color: var(--flowmesh-bg);
	background: var(--flowmesh-yellow);
	border-color: var(--flowmesh-yellow);
}

#bbpress-forums ul.bbp-replies {
	padding-bottom: 10px;
}

#bbpress-forums ul.bbp-replies li.bbp-header {
	padding: 14px 18px;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

#bbpress-forums ul.bbp-replies li.bbp-header div {
	color: var(--flowmesh-cyan);
}

#bbpress-forums li.bbp-body div.topic,
#bbpress-forums li.bbp-body div.reply {
	display: grid;
	grid-template-columns: minmax(170px, 220px) minmax(0, 1fr);
	align-items: stretch;
	margin: 0 10px 14px;
	color: var(--flowmesh-text-strong);
	background: rgba(255, 255, 255, 0.022);
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: var(--flowmesh-radius);
	overflow: hidden;
}

#bbpress-forums div.bbp-reply-header {
	margin: 12px 10px 0;
	padding: 10px 14px;
	color: var(--flowmesh-text-soft);
	background: rgba(0, 216, 255, 0.06);
	border: 1px solid rgba(0, 216, 255, 0.14);
	border-bottom: 0;
	border-radius: var(--flowmesh-radius) var(--flowmesh-radius) 0 0;
	font-size: 0.78rem;
}

#bbpress-forums div.bbp-reply-author,
#bbpress-forums div.bbp-topic-author {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 18px !important;
	color: var(--flowmesh-text-soft);
	background: rgba(0, 216, 255, 0.035);
	border-right: 1px solid rgba(255, 255, 255, 0.08);
	text-align: center;
}

#bbpress-forums div.bbp-reply-author .bbp-author-name,
#bbpress-forums div.bbp-topic-author .bbp-author-name {
	display: block;
	margin-top: 8px;
	color: var(--flowmesh-text);
	font-weight: 800;
}

#bbpress-forums div.bbp-reply-author .bbp-author-role,
#bbpress-forums div.bbp-topic-author .bbp-author-role {
	display: inline-flex;
	margin-top: 8px;
	padding: 4px 9px;
	color: var(--flowmesh-green);
	background: rgba(52, 209, 122, 0.08);
	border: 1px solid rgba(52, 209, 122, 0.3);
	border-radius: 999px;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

#bbpress-forums div.bbp-reply-content,
#bbpress-forums div.bbp-topic-content {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 20px 22px !important;
	color: var(--flowmesh-text-strong);
	line-height: 1.65;
}

#bbpress-forums div.bbp-reply-content p,
#bbpress-forums div.bbp-topic-content p {
	color: var(--flowmesh-text-strong);
}

#bbpress-forums div.bbp-reply-content blockquote,
#bbpress-forums div.bbp-topic-content blockquote {
	margin: 16px 0;
	padding: 12px 16px;
	color: var(--flowmesh-text-soft);
	background: rgba(0, 216, 255, 0.045);
	border-left: 3px solid var(--flowmesh-cyan);
	border-radius: var(--flowmesh-radius-control);
}

#bbpress-forums div.bbp-reply-content pre,
#bbpress-forums div.bbp-topic-content pre,
#bbpress-forums div.bbp-reply-content code,
#bbpress-forums div.bbp-topic-content code {
	color: var(--flowmesh-text);
	background: rgba(0, 0, 0, 0.38);
	border: 1px solid rgba(0, 216, 255, 0.18);
	border-radius: var(--flowmesh-radius-control);
}

#bbpress-forums div.bbp-reply-content pre,
#bbpress-forums div.bbp-topic-content pre {
	padding: 14px;
	overflow-x: auto;
}

#bbpress-forums fieldset.bbp-form {
	clear: both;
	margin: 24px 0;
	padding: 24px;
	color: var(--flowmesh-text-strong);
	background: linear-gradient(180deg, var(--flowmesh-panel), var(--flowmesh-panel-deep));
	border: 1px solid var(--flowmesh-border);
	border-radius: var(--flowmesh-radius);
	box-shadow: var(--flowmesh-shadow);
}

#bbpress-forums fieldset.bbp-form legend {
	width: auto;
	margin: 0 0 14px;
	padding: 0 10px 0 0;
	color: var(--flowmesh-yellow);
	background: transparent;
	border: 0;
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

#bbpress-forums fieldset.bbp-form legend::after {
	content: "";
	display: block;
	width: 50px;
	height: 3px;
	margin-top: 10px;
	background: var(--flowmesh-yellow);
	box-shadow: 0 0 12px rgba(255, 196, 0, 0.5);
}

#bbpress-forums fieldset.bbp-form label {
	display: inline-block;
	margin: 0 0 7px;
	color: var(--flowmesh-text-strong);
	font-weight: 800;
}

#bbpress-forums fieldset.bbp-form p,
#bbpress-forums fieldset.bbp-form div {
	color: var(--flowmesh-text-soft);
}

#bbpress-forums .bbp-the-content-wrapper {
	margin: 8px 0 16px;
}

#bbpress-forums .wp-editor-container,
#bbpress-forums .quicktags-toolbar {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--flowmesh-radius-control);
	overflow: hidden;
}

#bbpress-forums .quicktags-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 8px;
	border-bottom: 0;
}

#bbpress-forums .quicktags-toolbar input[type="button"] {
	min-height: 30px;
	padding: 5px 9px !important;
	color: var(--flowmesh-cyan) !important;
	background: rgba(0, 216, 255, 0.08) !important;
	border: 1px solid rgba(0, 216, 255, 0.3) !important;
	border-radius: var(--flowmesh-radius-control) !important;
	font-size: 0.74rem;
}

#bbpress-forums .bbp-submit-wrapper {
	float: none;
	clear: both;
	margin-top: 18px;
	text-align: right;
}

#bbpress-forums .bbp-topic-form,
#bbpress-forums .bbp-reply-form {
	margin-top: 28px;
}

#bbpress-forums #bbp_topic_tags,
#bbpress-forums #bbp_topic_title {
	max-width: none;
}

#bbpress-forums #bbp-user-wrapper {
	display: grid;
	grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
	gap: 20px;
}

#bbpress-forums #bbp-user-navigation,
#bbpress-forums #bbp-user-body,
#bbpress-forums #bbp-user-profile,
#bbpress-forums #bbp-user-replies-created,
#bbpress-forums #bbp-user-topics-started,
#bbpress-forums #bbp-user-favorites,
#bbpress-forums #bbp-user-subscriptions {
	color: var(--flowmesh-text-strong);
	background: linear-gradient(180deg, var(--flowmesh-panel), var(--flowmesh-panel-deep));
	border: 1px solid var(--flowmesh-border);
	border-radius: var(--flowmesh-radius);
	box-shadow: var(--flowmesh-shadow);
}

#bbpress-forums #bbp-user-navigation {
	padding: 12px;
}

#bbpress-forums #bbp-user-navigation ul {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

#bbpress-forums #bbp-user-navigation a {
	display: block;
	padding: 10px 12px;
	color: var(--flowmesh-cyan);
	background: rgba(0, 216, 255, 0.045);
	border: 1px solid rgba(0, 216, 255, 0.18);
	border-radius: var(--flowmesh-radius-control);
}

#bbpress-forums #bbp-user-navigation li.current a {
	color: var(--flowmesh-bg);
	background: var(--flowmesh-yellow);
	border-color: var(--flowmesh-yellow);
	text-shadow: none;
}

#bbpress-forums #bbp-user-body,
#bbpress-forums #bbp-user-profile {
	padding: 20px;
}

#bbpress-forums .bbp-login-form,
#bbpress-forums .bbp-logged-in,
#bbpress-forums .bbp_widget_login {
	color: var(--flowmesh-text-strong);
}

#bbpress-forums .bbp-login-form .bbp-username,
#bbpress-forums .bbp-login-form .bbp-password,
#bbpress-forums .bbp-login-form .bbp-remember-me {
	margin-bottom: 14px;
}

#bbpress-forums .bbp-login-form .bbp-submit-wrapper {
	text-align: left;
}

#bbpress-forums .bbp-forum-description,
#bbpress-forums .bbp-topic-description {
	margin: 0 0 18px;
	padding: 14px 16px;
	color: var(--flowmesh-text-soft);
	background: rgba(0, 216, 255, 0.045);
	border: 1px solid rgba(0, 216, 255, 0.14);
	border-radius: var(--flowmesh-radius-control);
}

#bbpress-forums .bbp-forum-description p,
#bbpress-forums .bbp-topic-description p {
	margin: 0;
	color: inherit;
}

#bbpress-forums .bbp-topic-tags {
	margin: 16px 0;
	color: var(--flowmesh-text-soft);
	font-size: 0.86rem;
}

#bbpress-forums .bbp-topic-tags a {
	display: inline-flex;
	margin: 3px;
	padding: 4px 9px;
	color: var(--flowmesh-purple);
	background: rgba(155, 92, 255, 0.08);
	border: 1px solid rgba(155, 92, 255, 0.35);
	border-radius: 999px;
	font-size: 0.72rem;
	text-transform: uppercase;
}

#bbpress-forums .bbp-no-topic,
#bbpress-forums .bbp-no-reply {
	padding: 20px;
	color: var(--flowmesh-text-soft);
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--flowmesh-radius);
}

@media (max-width: 900px) {
	#bbpress-forums {
		margin-bottom: 36px;
		padding: 18px;
	}

	body.flowmesh-bbp .flowmesh-bbp-post-widgets {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: calc(100% - 36px);
		margin-top: -18px;
	}

	body.flowmesh-bbp .flowmesh-bbp-post-widget,
	body.flowmesh-bbp .flowmesh-bbp-post-widget--second-row-start,
	body.flowmesh-bbp .flowmesh-bbp-post-widget--second-row-end {
		grid-column: auto;
	}

	.flowmesh-bbp-forum-card {
		grid-template-columns: minmax(0, 1fr) minmax(136px, auto);
	}

	.flowmesh-bbp-forum-card__freshness {
		grid-column: 1 / -1;
		padding-top: 12px;
		border-top: 1px solid rgba(255, 255, 255, 0.07);
	}

	#bbpress-forums li.bbp-header ul,
	#bbpress-forums li.bbp-footer ul,
	#bbpress-forums li.bbp-body ul.forum,
	#bbpress-forums li.bbp-body ul.topic {
		grid-template-columns: minmax(0, 1fr) repeat(2, minmax(62px, 0.16fr));
	}

	#bbpress-forums li.bbp-forum-freshness,
	#bbpress-forums li.bbp-topic-freshness {
		grid-column: 1 / -1;
		padding-top: 10px !important;
		border-top: 1px solid rgba(255, 255, 255, 0.07);
	}

	#bbpress-forums li.bbp-header .bbp-forum-freshness,
	#bbpress-forums li.bbp-header .bbp-topic-freshness {
		display: none;
	}
}

@media (max-width: 768px) {
	body.flowmesh-bbp .site-content,
	body.flowmesh-bbp #content,
	body.flowmesh-bbp #primary,
	body.flowmesh-bbp main,
	body.flowmesh-bbp .site-main,
	body.flowmesh-bbp .content-area {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	#bbpress-forums {
		width: calc(100% - 20px);
		padding: 14px;
		font-size: 15px;
	}

	body.flowmesh-bbp .flowmesh-bbp-post-widgets {
		grid-template-columns: 1fr;
		width: calc(100% - 20px);
		gap: 12px;
		margin: -18px auto 36px;
	}

	body.flowmesh-bbp .flowmesh-bbp-post-widget {
		padding: 16px;
	}

	.flowmesh-bbp-index,
	.flowmesh-bbp-category-index {
		gap: 18px;
	}

	.flowmesh-bbp-category-card {
		padding: 14px;
	}

	.flowmesh-bbp-category-header {
		display: block;
		margin-bottom: 14px;
		padding-bottom: 14px;
	}

	.flowmesh-bbp-category-title {
		font-size: 1.35rem;
	}

	.flowmesh-bbp-forum-card {
		grid-template-columns: 1fr;
		gap: 12px;
		padding: 14px;
	}

	.flowmesh-bbp-forum-card__stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.flowmesh-bbp-forum-card__freshness {
		padding-top: 10px;
	}

	#bbpress-forums .bbp-search-form form,
	#bbpress-forums #bbp-search-form,
	#bbpress-forums .bbp-pagination {
		align-items: stretch;
		flex-direction: column;
	}

	#bbpress-forums .bbp-search-form input[type="text"],
	#bbpress-forums #bbp_search,
	#bbpress-forums .bbp-search-form input[type="submit"],
	#bbpress-forums #bbp_search_submit {
		width: 100%;
		min-width: 0;
	}

	#bbpress-forums li.bbp-header {
		display: none;
	}

	#bbpress-forums li.bbp-body {
		padding: 8px;
	}

	#bbpress-forums li.bbp-body ul.forum,
	#bbpress-forums li.bbp-body ul.topic {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
		padding: 14px;
	}

	#bbpress-forums li.bbp-forum-topic-count,
	#bbpress-forums li.bbp-forum-reply-count,
	#bbpress-forums li.bbp-forum-freshness,
	#bbpress-forums li.bbp-topic-voice-count,
	#bbpress-forums li.bbp-topic-reply-count,
	#bbpress-forums li.bbp-topic-freshness {
		display: flex;
		justify-content: space-between;
		gap: 16px;
		width: 100% !important;
		padding-top: 9px !important;
		border-top: 1px solid rgba(255, 255, 255, 0.07);
		text-align: right;
	}

	#bbpress-forums li.bbp-forum-topic-count::before,
	#bbpress-forums li.bbp-forum-reply-count::before,
	#bbpress-forums li.bbp-forum-freshness::before,
	#bbpress-forums li.bbp-topic-voice-count::before,
	#bbpress-forums li.bbp-topic-reply-count::before,
	#bbpress-forums li.bbp-topic-freshness::before {
		content: attr(data-flowmesh-label);
		color: var(--flowmesh-text-soft);
		font-size: 0.72rem;
		font-weight: 800;
		letter-spacing: 0.05em;
		text-transform: uppercase;
	}

	#bbpress-forums li.bbp-body div.topic,
	#bbpress-forums li.bbp-body div.reply {
		grid-template-columns: 1fr;
		margin: 0 0 12px;
	}

	#bbpress-forums div.bbp-reply-header {
		margin: 10px 0 0;
	}

	#bbpress-forums div.bbp-reply-author,
	#bbpress-forums div.bbp-topic-author {
		border-right: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
		text-align: left;
	}

	#bbpress-forums div.bbp-reply-content,
	#bbpress-forums div.bbp-topic-content {
		padding: 16px !important;
	}

	#bbpress-forums fieldset.bbp-form {
		padding: 16px;
	}

	#bbpress-forums .bbp-submit-wrapper,
	#bbpress-forums .bbp-login-form .bbp-submit-wrapper {
		text-align: left;
	}

	#bbpress-forums button,
	#bbpress-forums input[type="button"],
	#bbpress-forums input[type="submit"],
	#bbpress-forums .button {
		width: 100%;
	}

	#bbpress-forums .quicktags-toolbar input[type="button"] {
		width: auto;
	}

	#bbpress-forums #bbp-user-wrapper {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	#bbpress-forums {
		width: calc(100% - 12px);
		padding: 10px;
	}

	#bbpress-forums .bbp-forum-title,
	#bbpress-forums .bbp-topic-permalink {
		font-size: 0.96rem;
	}

	#bbpress-forums .bbp-pagination-links a,
	#bbpress-forums .bbp-pagination-links span {
		min-width: 32px;
	}
}
