#forumPage.forum-body {
	--forum-panel: var(--ng-forum-panel, rgba(5, 9, 11, 0.86));
	--forum-panel-soft: var(--ng-forum-panel-soft, rgba(8, 17, 18, 0.78));
	--forum-line: var(--ng-forum-line, rgba(var(--forum-line-rgb, 90, 234, 219), 0.34));
	--forum-line-rgb: var(--ng-forum-line-rgb, 90, 234, 219);
	--forum-line-strong: var(--ng-forum-line-strong, rgba(var(--forum-line-rgb, 90, 234, 219), 0.62));
	--forum-line-strong-rgb: var(--ng-forum-line-strong-rgb, 138, 255, 186);
	--forum-text: var(--ng-forum-text, #eef9f4);
	--forum-muted: var(--ng-forum-muted, rgba(220, 238, 232, 0.72));
	--forum-accent: var(--ng-forum-accent, #5aeadb);
	--forum-accent-rgb: var(--ng-forum-accent-rgb, 90, 234, 219);
	--forum-green: var(--ng-forum-green, #8affba);
	--forum-green-rgb: var(--ng-forum-green-rgb, 138, 255, 186);
	--forum-gold: var(--ng-forum-gold, #f3d36b);
	--forum-gold-rgb: var(--ng-forum-gold-rgb, 243, 211, 107);
	--forum-button: var(--ng-forum-button, #5aeadb);
	--forum-button-rgb: var(--ng-forum-button-rgb, 90, 234, 219);
	--forum-button-text: var(--ng-forum-button-text, #eef9f4);
	--forum-button-text-rgb: var(--ng-forum-button-text-rgb, 238, 249, 244);
	--forum-success: var(--ng-forum-success, #8affba);
	--forum-success-rgb: var(--ng-forum-success-rgb, 138, 255, 186);
	--forum-warning: var(--ng-forum-warning, #f3d36b);
	--forum-warning-rgb: var(--ng-forum-warning-rgb, 243, 211, 107);
	background:
		radial-gradient(circle at 18% 0%, var(--ng-forum-glow-left, rgba(var(--forum-line-rgb, 90, 234, 219), 0.12)), transparent 32rem),
		radial-gradient(circle at 88% 10%, var(--ng-forum-glow-right, rgba(var(--forum-success-rgb, 138, 255, 186), 0.08)), transparent 28rem),
		linear-gradient(180deg, var(--ng-forum-bg-start, #020303) 0%, var(--ng-forum-bg-mid, #050807) 42%, var(--ng-forum-bg-start, #020303) 100%);
	color: var(--forum-text);
	min-height: 100vh;
	overflow-x: hidden;
}

#forumPage.forum-body * {
	box-sizing: border-box;
	letter-spacing: 0;
}

#forumPage.forum-body #forumContainer.forum-shell {
	width: min(1200px, calc(100vw - 580px));
	margin: 0 auto;
	padding: calc(var(--nav-h, 40px) + 34px) 0 58px;
	background: transparent;
	border: 0;
	box-shadow: none;
	position: relative;
}

#forumPage.forum-body .forum-hero {
	position: relative;
	padding: 22px;
	border: 1px solid rgba(var(--forum-line-rgb, 90, 234, 219), 0.18);
	border-radius: 8px;
	background:
		linear-gradient(110deg, rgba(var(--forum-line-rgb, 90, 234, 219), 0.14), rgba(4, 8, 9, 0.82) 52%, rgba(4, 8, 9, 0.9)),
		rgba(4, 8, 9, 0.82);
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.05);
	overflow: hidden;
}

#forumPage.forum-body .forum-hero-kicker {
	position: relative;
	z-index: 1;
	margin-bottom: 10px;
	color: var(--forum-green);
	font-size: 0.82rem;
	font-weight: 900;
	text-transform: uppercase;
}

#forumPage.forum-body .forum-title {
	position: relative;
	z-index: 1;
	margin: 0;
	color: var(--forum-text);
	font-size: 3.7rem;
	line-height: 1;
	text-align: left;
	text-shadow: 0 0 22px rgba(var(--forum-line-rgb, 90, 234, 219), 0.22);
}

#forumPage.forum-body .forum-page-lead {
	position: relative;
	z-index: 1;
	width: min(680px, 100%);
	margin: 14px 0 0;
	color: var(--forum-muted);
	font-size: 1.08rem;
	line-height: 1.6;
	text-align: left;
}

#forumPage.forum-body .forum-recent-dock,
#forumPage.forum-body .forum-recent-toggle {
	display: none;
}

#forumPage.forum-body .forum-recent-dock {
	display: flex;
	position: fixed;
	top: calc(var(--nav-h, 40px) + 22px);
	bottom: 22px;
	z-index: 16;
	flex-direction: column;
	gap: 14px;
	width: 246px;
	padding: 14px;
	border: 1px solid var(--forum-line);
	border-radius: 8px;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.045), transparent 42%),
		rgba(4, 8, 9, 0.92);
	box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(16px);
	overflow: auto;
}

#forumPage.forum-body .forum-recent-left-dock {
	left: 12px;
}

#forumPage.forum-body .forum-recent-right-dock {
	right: 12px;
	width: 278px;
}

#forumPage.forum-body .forum-recent-section {
	display: flex;
	flex-direction: column;
	min-height: 0;
}

#forumPage.forum-body .forum-recent-left-dock .forum-recent-section {
	flex: 1 1 0;
	min-height: 0;
}

#forumPage.forum-body .forum-recent-section + .forum-recent-section {
	padding-top: 14px;
	border-top: 1px solid rgba(var(--forum-line-rgb, 90, 234, 219), 0.18);
}

#forumPage.forum-body .forum-recent-kicker {
	margin-bottom: 6px;
	color: var(--forum-green);
	font-size: 0.76rem;
	font-weight: 900;
	text-transform: uppercase;
}

#forumPage.forum-body .forum-recent-section h2 {
	margin: 0 0 10px;
	color: var(--forum-text);
	font-size: 1.05rem;
	line-height: 1.2;
}

#forumPage.forum-body .forum-recent-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-height: 0;
	overflow: auto;
	padding-right: 2px;
}

#forumPage.forum-body .forum-recent-item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 5px 10px;
	padding: 10px;
	border: 1px solid rgba(var(--forum-line-rgb, 90, 234, 219), 0.16);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.032);
	color: var(--forum-text);
	text-decoration: none;
	transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

#forumPage.forum-body .forum-recent-item:hover {
	transform: translateY(-1px);
	border-color: rgba(var(--forum-success-rgb, 138, 255, 186), 0.52);
	background: rgba(var(--forum-success-rgb, 138, 255, 186), 0.06);
}

#forumPage.forum-body .forum-recent-item.is-unread {
	border-color: rgba(var(--forum-success-rgb, 138, 255, 186), 0.56);
	background: rgba(var(--forum-success-rgb, 138, 255, 186), 0.07);
}

#forumPage.forum-body .forum-recent-title {
	grid-column: 1 / -1;
	color: var(--forum-text);
	font-size: 0.94rem;
	font-weight: 800;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

#forumPage.forum-body .forum-recent-meta {
	color: var(--forum-muted);
	font-size: 0.76rem;
	line-height: 1.3;
}

#forumPage.forum-body .forum-recent-state {
	align-self: start;
	padding: 3px 7px;
	border: 1px solid rgba(var(--forum-line-rgb, 90, 234, 219), 0.22);
	border-radius: 8px;
	color: var(--forum-muted);
	font-size: 0.72rem;
	font-weight: 800;
	white-space: nowrap;
}

#forumPage.forum-body .forum-recent-item.is-unread .forum-recent-state {
	border-color: rgba(var(--forum-success-rgb, 138, 255, 186), 0.55);
	background: rgba(var(--forum-success-rgb, 138, 255, 186), 0.12);
	color: var(--forum-green);
}

#forumPage.forum-body .forum-recent-empty {
	margin: 0;
	padding: 10px;
	border: 1px solid rgba(var(--forum-line-rgb, 90, 234, 219), 0.14);
	border-radius: 8px;
	color: var(--forum-muted);
	background: rgba(255, 255, 255, 0.028);
}

#forumPage.forum-body .forum-hamburger-icon {
	display: inline-flex;
	flex-direction: column;
	gap: 4px;
	width: 18px;
}

#forumPage.forum-body .forum-hamburger-icon span {
	display: block;
	width: 100%;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
}

#forumPage.forum-body .forum-topbar {
	display: grid;
	grid-template-columns: minmax(260px, 0.95fr) minmax(300px, 1.15fr);
	gap: 16px;
	width: 100%;
	margin: 18px 0 24px;
	align-items: stretch;
}

#forumPage.forum-body .favorites-block,
#forumPage.forum-body .rp-promo-block,
#forumPage.forum-body .vote-block,
#forumPage.forum-body #forumStats,
#forumPage.forum-body .category-item,
#forumPage.forum-body .section-header,
#forumPage.forum-body .pinned-post-list,
#forumPage.forum-body .post-list,
#forumPage.forum-body .thread-header,
#forumPage.forum-body .messages-container,
#forumPage.forum-body .message-box,
#forumPage.forum-body .reply-box,
#forumPage.forum-body .create-thread-container,
#forumPage.forum-body .profile-container {
	border: 1px solid var(--forum-line);
	border-radius: 8px;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.045), transparent 38%),
		var(--forum-panel);
	box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(14px);
}

#forumPage.forum-body .favorites-block,
#forumPage.forum-body .rp-promo-block,
#forumPage.forum-body .vote-block {
	width: auto;
	max-width: none;
	min-width: 0;
	padding: 16px;
	overflow: hidden;
}

#forumPage.forum-body .favorites-title,
#forumPage.forum-body .rp-promo-title,
#forumPage.forum-body .vote-title {
	margin: 0 0 12px;
	color: var(--forum-green);
	font-family: inherit;
	font-size: 0.86rem;
	font-weight: 800;
	text-transform: uppercase;
	text-shadow: none;
}

#forumPage.forum-body .favorites-list {
	max-height: 168px;
	gap: 8px;
	padding-right: 6px;
}

#forumPage.forum-body .favorite-item {
	padding: 10px 12px;
	border: 1px solid rgba(var(--forum-line-rgb, 90, 234, 219), 0.22);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.035);
}

#forumPage.forum-body .favorite-item a,
#forumPage.forum-body .latest-thread-title,
#forumPage.forum-body .latest-author {
	color: var(--forum-accent);
	text-decoration: none;
	text-shadow: none;
}

#forumPage.forum-body .favorite-item a:hover,
#forumPage.forum-body .latest-thread-title:hover,
#forumPage.forum-body .latest-author:hover {
	color: #ffffff;
	background: transparent;
	text-shadow: 0 0 12px rgba(var(--forum-line-rgb, 90, 234, 219), 0.38);
}

#forumPage.forum-body .favorite-remove,
#forumPage.forum-body .rp-promo-nav,
#forumPage.forum-body .section-header .back-forum-button,
#forumPage.forum-body .section-header .create-thread-button,
#forumPage.forum-body .back-thread-button,
#forumPage.forum-body .reply-thread-button,
#forumPage.forum-body .btn-manage-private,
#forumPage.forum-body .archive-thread-button,
#forumPage.forum-body .unarchive-thread-button,
#forumPage.forum-body .unpin-thread-button,
#forumPage.forum-body .reset-title-color-button,
#forumPage.forum-body .create-thread-button,
#forumPage.forum-body button {
	border-radius: 8px;
}

#forumPage.forum-body .rp-promo-carousel {
	min-height: 126px;
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
}

#forumPage.forum-body .rp-promo-viewport {
	flex: 1 1 auto;
	overflow: hidden;
	border: 1px solid rgba(var(--forum-line-rgb, 90, 234, 219), 0.22);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.035);
	padding: 8px;
}

#forumPage.forum-body .rp-promo-track {
	display: flex;
	align-items: stretch;
	transition: transform 0.5s ease-in-out;
	will-change: transform;
}

#forumPage.forum-body .rp-promo-slide {
	min-width: 100%;
	min-height: 104px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	text-decoration: none;
	color: var(--forum-text);
	border-radius: 6px;
	background:
		linear-gradient(135deg, rgba(var(--forum-line-rgb, 90, 234, 219), 0.14), transparent 48%),
		rgba(0, 0, 0, 0.22);
	overflow: hidden;
}

#forumPage.forum-body .rp-promo-slide span {
	max-width: 420px;
	padding: 16px;
	color: var(--forum-muted);
	font-weight: 800;
	line-height: 1.35;
}

#forumPage.forum-body .rp-promo-slide img {
	max-height: 104px;
	object-fit: cover;
	border-radius: 6px;
}

#forumPage.forum-body .rp-promo-prompt {
	margin-top: 10px;
	padding: 10px;
	border: 1px solid rgba(var(--forum-warning-rgb, 243, 211, 107), 0.22);
	border-radius: 8px;
	background: rgba(var(--forum-warning-rgb, 243, 211, 107), 0.055);
	color: var(--forum-muted);
	font-size: 0.86rem;
	line-height: 1.35;
}

#forumPage.forum-body .rp-promo-nav {
	width: 34px;
	height: 34px;
	border: 1px solid rgba(var(--forum-line-rgb, 90, 234, 219), 0.38);
	background: rgba(2, 4, 4, 0.82);
	color: var(--forum-text);
	box-shadow: none;
}

#forumPage.forum-body .message-icon {
	position: fixed;
	right: calc(278px + 28px);
	bottom: 22px;
	width: 54px;
	height: 54px;
	border: 1px solid var(--forum-line);
	border-radius: 8px;
	background: rgba(3, 7, 7, 0.88);
	padding: 9px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
	z-index: 40;
	cursor: pointer;
	transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

#forumPage.forum-body .message-icon:hover {
	transform: translateY(-2px);
	border-color: rgba(var(--forum-success-rgb, 138, 255, 186), 0.62);
	background: rgba(6, 15, 15, 0.94);
}

#forumPage.forum-body #messageNotification {
	position: fixed;
	right: calc(278px + 24px);
	bottom: 64px;
	z-index: 41;
}

#forumPage.forum-body .category-list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
	width: 100%;
	margin: 0 0 24px;
}

#forumPage.forum-body .category-item {
	width: 100%;
	margin: 0;
	padding: 18px;
	transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

#forumPage.forum-body .category-item:hover {
	transform: translateY(-2px);
	border-color: var(--forum-line-strong);
	background:
		linear-gradient(135deg, rgba(var(--forum-line-rgb, 90, 234, 219), 0.09), transparent 42%),
		var(--forum-panel);
	box-shadow: 0 20px 46px rgba(0, 0, 0, 0.42);
}

#forumPage.forum-body .category-name {
	margin: 0 0 8px;
	color: var(--forum-text);
	font-size: 1.34rem;
	text-transform: none;
	text-shadow: none;
}

#forumPage.forum-body .category-description {
	margin: 0 0 16px;
	color: var(--forum-muted);
	line-height: 1.55;
}

#forumPage.forum-body .section-list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
}

#forumPage.forum-body .section-item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(190px, 0.62fr);
	align-items: stretch;
	gap: 6px 14px;
	width: auto;
	max-width: none;
	min-width: 0;
	margin: 0;
	padding: 14px;
	border: 1px solid rgba(var(--forum-line-rgb, 90, 234, 219), 0.2);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.035);
	cursor: pointer;
	transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

#forumPage.forum-body .section-item:hover {
	transform: translateY(-1px);
	border-color: rgba(var(--forum-success-rgb, 138, 255, 186), 0.54);
	background: rgba(var(--forum-success-rgb, 138, 255, 186), 0.055);
}

#forumPage.forum-body .section-name {
	grid-column: 1;
	margin: 0 0 6px;
	color: var(--forum-accent);
	font-size: 1.02rem;
	line-height: 1.25;
	text-transform: none;
}

#forumPage.forum-body .section-description {
	grid-column: 1;
	color: var(--forum-muted);
	line-height: 1.5;
}

#forumPage.forum-body .latest-message-box {
	grid-column: 2;
	grid-row: 1 / span 2;
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: 10px;
	border: 1px solid rgba(var(--forum-warning-rgb, 243, 211, 107), 0.24);
	border-radius: 8px;
	background: rgba(var(--forum-warning-rgb, 243, 211, 107), 0.055);
	box-shadow: none;
}

#forumPage.forum-body .latest-message-title {
	margin-bottom: 4px;
	color: var(--forum-gold);
	font-size: 0.82rem;
	font-weight: 800;
	text-transform: uppercase;
}

#forumPage.forum-body .latest-thread-title,
#forumPage.forum-body .latest-author {
	max-width: 100%;
	white-space: normal;
}

#forumPage.forum-body .latest-message-meta,
#forumPage.forum-body .latest-date {
	color: rgba(220, 238, 232, 0.64);
	font-style: normal;
}

#forumPage.forum-body .unread-count-badge {
	min-width: 24px;
	height: 24px;
	border-radius: 8px;
	background: var(--forum-green);
	color: #07100b;
	font-weight: 900;
	line-height: 24px;
	text-align: center;
	box-shadow: none;
}

#forumPage.forum-body .category-item.has-unread,
#forumPage.forum-body .section-item.has-unread,
#forumPage.forum-body .category-item.has-mention,
#forumPage.forum-body .message-box.has-mention {
	border-color: rgba(var(--forum-success-rgb, 138, 255, 186), 0.7);
	box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36), 0 0 0 1px rgba(var(--forum-success-rgb, 138, 255, 186), 0.18);
}

#forumPage.forum-body #forumStats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	width: 100%;
	margin: 0;
	padding: 16px;
	text-align: left;
}

#forumPage.forum-body #forumStats.hidden {
	display: none;
}

#forumPage.forum-body #forumStats h3 {
	grid-column: 1 / -1;
	margin: 0 0 4px;
	color: var(--forum-green);
	font-size: 0.92rem;
	text-transform: uppercase;
}

#forumPage.forum-body #forumStats p {
	margin: 0;
	padding: 12px;
	border: 1px solid rgba(var(--forum-line-rgb, 90, 234, 219), 0.18);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.032);
	color: var(--forum-muted);
}

#forumPage.forum-body #forumStats span {
	display: block;
	margin-top: 6px;
	color: var(--forum-text);
	font-size: 1.3rem;
	font-weight: 900;
}

#forumPage.forum-body .section-view {
	width: 100%;
	margin-top: 18px;
}

#forumPage.forum-body .section-header,
#forumPage.forum-body .thread-header {
	width: 100%;
	padding: 16px;
	align-items: stretch;
}

#forumPage.forum-body .section-header .header-top,
#forumPage.forum-body .thread-header .header-top {
	gap: 12px;
}

#forumPage.forum-body .section-header h2,
#forumPage.forum-body .thread-header h2 {
	color: var(--forum-text);
	font-size: 2.2rem;
	text-transform: none;
	text-shadow: none;
}

#forumPage.forum-body .section-header .section-description {
	margin: 10px 0 0;
	color: var(--forum-muted);
}

#forumPage.forum-body .section-header .back-forum-button,
#forumPage.forum-body .section-header .create-thread-button,
#forumPage.forum-body .back-thread-button,
#forumPage.forum-body .reply-thread-button,
#forumPage.forum-body .btn-manage-private,
#forumPage.forum-body .open-thread-button,
#forumPage.forum-body .close-thread-button,
#forumPage.forum-body .pin-thread-button,
#forumPage.forum-body .unpin-thread-button,
#forumPage.forum-body .archive-thread-button,
#forumPage.forum-body .unarchive-thread-button,
#forumPage.forum-body .reset-title-color-button,
#forumPage.forum-body .delete-thread-button,
#forumPage.forum-body .favorite-thread-button {
	margin: 0;
	padding: 9px 13px;
	border: 1px solid rgba(var(--forum-button-rgb, 90, 234, 219), 0.36);
	background: rgba(var(--forum-button-rgb, 90, 234, 219), 0.08);
	color: var(--forum-button-text);
	box-shadow: none;
	font-size: 0.86rem;
	text-transform: none;
	white-space: nowrap;
}

#forumPage.forum-body .section-header .back-forum-button:hover,
#forumPage.forum-body .section-header .create-thread-button:hover,
#forumPage.forum-body .back-thread-button:hover,
#forumPage.forum-body .reply-thread-button:hover,
#forumPage.forum-body .btn-manage-private:hover,
#forumPage.forum-body .open-thread-button:hover,
#forumPage.forum-body .close-thread-button:hover,
#forumPage.forum-body .pin-thread-button:hover,
#forumPage.forum-body .unpin-thread-button:hover,
#forumPage.forum-body .archive-thread-button:hover,
#forumPage.forum-body .unarchive-thread-button:hover,
#forumPage.forum-body .reset-title-color-button:hover,
#forumPage.forum-body .delete-thread-button:hover,
#forumPage.forum-body .favorite-thread-button:hover {
	transform: translateY(-1px);
	border-color: rgba(var(--forum-success-rgb, 138, 255, 186), 0.62);
	background: rgba(var(--forum-success-rgb, 138, 255, 186), 0.12);
	color: #ffffff;
	box-shadow: none;
}

#forumPage.forum-body .thread-actions-container {
	flex-wrap: wrap;
	align-items: center;
	padding: 12px;
	border: 1px solid rgba(var(--forum-line-rgb, 90, 234, 219), 0.2);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.032);
}

#forumPage.forum-body .thread-title-color-wrap {
	flex-wrap: wrap;
	justify-content: center;
	padding: 8px 10px;
	border: 1px solid rgba(var(--forum-line-rgb, 90, 234, 219), 0.18);
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.18);
}

#forumPage.forum-body .thread-title-color-wrap input[type="color"] {
	width: 42px;
	height: 34px;
	padding: 2px;
}

#forumPage.forum-body .pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 16px 0;
	padding: 10px;
	border: 1px solid rgba(var(--forum-line-rgb, 90, 234, 219), 0.16);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.026);
}

#forumPage.forum-body .pagination button,
#forumPage.forum-body .pagination-btn {
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	border: 1px solid rgba(var(--forum-line-rgb, 90, 234, 219), 0.28);
	border-radius: 8px;
	background: rgba(var(--forum-line-rgb, 90, 234, 219), 0.07);
	color: var(--forum-text);
	font-weight: 800;
	cursor: pointer;
}

#forumPage.forum-body .pagination button.active,
#forumPage.forum-body .pagination-btn.active,
#forumPage.forum-body .pagination button:hover,
#forumPage.forum-body .pagination-btn:hover {
	border-color: rgba(var(--forum-success-rgb, 138, 255, 186), 0.62);
	background: rgba(var(--forum-success-rgb, 138, 255, 186), 0.12);
	color: #ffffff;
	box-shadow: none;
}

#forumPage.forum-body .pinned-post-list,
#forumPage.forum-body .post-list {
	width: 100%;
	margin: 16px 0 0;
	padding: 16px;
}

#forumPage.forum-body .pinned-post-list h3,
#forumPage.forum-body .post-list h3 {
	margin: 0 0 12px;
	color: var(--forum-green);
	font-size: 1rem;
	text-align: left;
	text-transform: uppercase;
}

#forumPage.forum-body .thread-table {
	border-collapse: separate;
	border-spacing: 0 8px;
	text-align: left;
}

#forumPage.forum-body .thread-table th {
	padding: 8px 10px;
	background: transparent;
	color: var(--forum-muted);
	font-size: 0.82rem;
	text-transform: uppercase;
}

#forumPage.forum-body .thread-table td {
	padding: 12px 10px;
	border-top: 1px solid rgba(var(--forum-line-rgb, 90, 234, 219), 0.14);
	border-bottom: 1px solid rgba(var(--forum-line-rgb, 90, 234, 219), 0.14);
	background: rgba(255, 255, 255, 0.032);
	color: var(--forum-text);
}

#forumPage.forum-body .thread-table td:first-child {
	border-left: 1px solid rgba(var(--forum-line-rgb, 90, 234, 219), 0.14);
	border-radius: 8px 0 0 8px;
}

#forumPage.forum-body .thread-table td:last-child {
	border-right: 1px solid rgba(var(--forum-line-rgb, 90, 234, 219), 0.14);
	border-radius: 0 8px 8px 0;
}

#forumPage.forum-body .thread-container {
	width: 100%;
	margin-top: 18px;
	align-items: stretch;
}

#forumPage.forum-body .messages-container {
	width: 100%;
	padding: 16px;
}

#forumPage.forum-body .message-box {
	margin-bottom: 14px;
	padding: 14px;
}

#forumPage.forum-body .message-box:nth-child(odd),
#forumPage.forum-body .message-box:nth-child(even) {
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 38%),
		var(--forum-panel-soft);
}

#forumPage.forum-body .message-header {
	border-bottom: 1px solid rgba(var(--forum-line-rgb, 90, 234, 219), 0.2);
}

#forumPage.forum-body .message-date,
#forumPage.forum-body .message-number,
#forumPage.forum-body .edit-button,
#forumPage.forum-body .delete-button,
#forumPage.forum-body .reply-button {
	color: var(--forum-accent) !important;
	text-shadow: none;
}

#forumPage.forum-body .message-content {
	color: var(--forum-text);
	line-height: 1.65;
}

#forumPage.forum-body .message-content hr,
#forumPage.forum-body .reply-editor hr,
#forumPage.forum-body .forum-preview-box hr {
	margin: 18px 0;
	border: 0;
	border-top: 1px solid rgba(var(--forum-line-rgb, 90, 234, 219), 0.34);
}

#forumPage.forum-body .message-content p,
#forumPage.forum-body .reply-editor p,
#forumPage.forum-body .forum-preview-box p {
	margin: 0 0 0.8em;
}

#forumPage.forum-body .message-content p:last-child,
#forumPage.forum-body .reply-editor p:last-child,
#forumPage.forum-body .forum-preview-box p:last-child {
	margin-bottom: 0;
}

#forumPage.forum-body .message-content a,
#forumPage.forum-body .reply-editor a,
#forumPage.forum-body .forum-preview-box a {
	color: var(--forum-accent);
	text-decoration: none;
	border-bottom: 1px dashed rgba(var(--forum-line-rgb, 90, 234, 219), 0.62);
}

#forumPage.forum-body .message-content ul,
#forumPage.forum-body .message-content ol,
#forumPage.forum-body .reply-editor ul,
#forumPage.forum-body .reply-editor ol,
#forumPage.forum-body .forum-preview-box ul,
#forumPage.forum-body .forum-preview-box ol {
	margin: 0.6em 0 0.9em 1.35em;
	padding: 0;
}

#forumPage.forum-body .message-content li,
#forumPage.forum-body .reply-editor li,
#forumPage.forum-body .forum-preview-box li {
	margin: 0.25em 0;
	padding-left: 0.15em;
}

#forumPage.forum-body .message-content img,
#forumPage.forum-body .reply-editor img,
#forumPage.forum-body .forum-preview-box img {
	max-width: 100%;
	height: auto;
	border-radius: 6px;
	vertical-align: middle;
}

#forumPage.forum-body .message-content table,
#forumPage.forum-body .reply-editor table,
#forumPage.forum-body .forum-preview-box table {
	width: 100%;
	max-width: 100%;
	margin: 12px 0;
	border-collapse: collapse;
	border: 1px solid rgba(var(--forum-line-rgb, 90, 234, 219), 0.24);
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.18);
	overflow: hidden;
}

#forumPage.forum-body .message-content th,
#forumPage.forum-body .message-content td,
#forumPage.forum-body .reply-editor th,
#forumPage.forum-body .reply-editor td,
#forumPage.forum-body .forum-preview-box th,
#forumPage.forum-body .forum-preview-box td {
	min-width: 72px;
	padding: 9px 10px;
	border: 1px solid rgba(var(--forum-line-rgb, 90, 234, 219), 0.18);
	color: var(--forum-text);
	vertical-align: top;
	overflow-wrap: anywhere;
}

#forumPage.forum-body .message-content th,
#forumPage.forum-body .reply-editor th,
#forumPage.forum-body .forum-preview-box th {
	background: rgba(var(--forum-line-rgb, 90, 234, 219), 0.11);
	color: var(--forum-green);
	font-weight: 900;
}

#forumPage.forum-body .message-content .rp-box,
#forumPage.forum-body .reply-editor .rp-box,
#forumPage.forum-body .forum-preview-box .rp-box,
#forumPage.forum-body .message-content .hrp-box,
#forumPage.forum-body .reply-editor .hrp-box,
#forumPage.forum-body .forum-preview-box .hrp-box,
#forumPage.forum-body .message-content blockquote,
#forumPage.forum-body .reply-editor blockquote,
#forumPage.forum-body .forum-preview-box blockquote {
	position: relative;
	margin: 14px 0;
	padding: 16px 16px 14px;
	border: 1px solid rgba(var(--forum-line-rgb, 90, 234, 219), 0.18);
	border-left: 3px solid rgba(var(--forum-line-rgb, 90, 234, 219), 0.58);
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.22);
	color: var(--forum-text);
	overflow-wrap: anywhere;
}

#forumPage.forum-body .message-content .rp-box::before,
#forumPage.forum-body .reply-editor .rp-box::before,
#forumPage.forum-body .forum-preview-box .rp-box::before,
#forumPage.forum-body .message-content .hrp-box::before,
#forumPage.forum-body .reply-editor .hrp-box::before,
#forumPage.forum-body .forum-preview-box .hrp-box::before,
#forumPage.forum-body .message-content blockquote::before,
#forumPage.forum-body .reply-editor blockquote::before,
#forumPage.forum-body .forum-preview-box blockquote::before {
	display: block;
	margin-bottom: 8px;
	color: var(--forum-green);
	font-size: 0.74rem;
	font-weight: 900;
	line-height: 1;
	text-transform: uppercase;
}

#forumPage.forum-body .message-content .rp-box::before,
#forumPage.forum-body .reply-editor .rp-box::before,
#forumPage.forum-body .forum-preview-box .rp-box::before {
	content: "RP";
}

#forumPage.forum-body .message-content .hrp-box::before,
#forumPage.forum-body .reply-editor .hrp-box::before,
#forumPage.forum-body .forum-preview-box .hrp-box::before {
	content: "HRP";
	color: var(--forum-gold);
}

#forumPage.forum-body .message-content blockquote::before,
#forumPage.forum-body .reply-editor blockquote::before,
#forumPage.forum-body .forum-preview-box blockquote::before {
	content: "Citation";
}

#forumPage.forum-body .message-content .hrp-box,
#forumPage.forum-body .reply-editor .hrp-box,
#forumPage.forum-body .forum-preview-box .hrp-box {
	border-left-color: rgba(var(--forum-warning-rgb, 243, 211, 107), 0.62);
	background: rgba(var(--forum-warning-rgb, 243, 211, 107), 0.055);
}

#forumPage.forum-body .spoiler-container {
	margin: 12px 0;
}

#forumPage.forum-body .spoiler-toggle {
	min-height: 34px;
	padding: 7px 10px;
	border: 1px solid rgba(var(--forum-line-rgb, 90, 234, 219), 0.28);
	border-radius: 8px;
	background: rgba(var(--forum-line-rgb, 90, 234, 219), 0.08);
	color: var(--forum-text);
	font-weight: 800;
	cursor: pointer;
}

#forumPage.forum-body .spoiler-content {
	margin-top: 8px;
	padding: 12px;
	border: 1px solid rgba(var(--forum-line-rgb, 90, 234, 219), 0.14);
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.2);
}

#forumPage.forum-body .video-container {
	position: relative;
	width: min(100%, 720px);
	aspect-ratio: 16 / 9;
	margin: 12px auto;
}

#forumPage.forum-body .video-container iframe {
	width: 100%;
	height: 100%;
	border: 0;
	border-radius: 8px;
}

#forumPage.forum-body .message-content code,
#forumPage.forum-body .reply-editor code,
#forumPage.forum-body .forum-preview-box code {
	padding: 2px 5px;
	border: 1px solid rgba(var(--forum-line-rgb, 90, 234, 219), 0.16);
	border-radius: 6px;
	background: rgba(0, 0, 0, 0.32);
	color: var(--forum-green);
	font-family: Consolas, "Courier New", monospace;
	font-size: 0.92em;
}

#forumPage.forum-body .message-content pre,
#forumPage.forum-body .reply-editor pre,
#forumPage.forum-body .forum-preview-box pre {
	max-width: 100%;
	margin: 12px 0;
	padding: 12px;
	border: 1px solid rgba(var(--forum-line-rgb, 90, 234, 219), 0.18);
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.34);
	overflow: auto;
}

#forumPage.forum-body .message-content pre code,
#forumPage.forum-body .reply-editor pre code,
#forumPage.forum-body .forum-preview-box pre code {
	display: block;
	padding: 0;
	border: 0;
	background: transparent;
	white-space: pre;
}

#forumPage.forum-body .user-box,
#forumPage.forum-body .message-user {
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.03);
	border-color: rgba(var(--forum-line-rgb, 90, 234, 219), 0.18);
}

#forumPage.forum-body .user-avatar,
#forumPage.forum-body .message-user img {
	border-color: rgba(var(--forum-line-rgb, 90, 234, 219), 0.5);
	box-shadow: none;
}

#forumPage.forum-body .user-name,
#forumPage.forum-body .message-user .username {
	color: var(--forum-green);
	text-shadow: none;
}

#forumPage.forum-body .reply-box,
#forumPage.forum-body .create-thread-container {
	width: 100%;
	margin-top: 16px;
	padding: 16px;
}

#forumPage.forum-body textarea,
#forumPage.forum-body input,
#forumPage.forum-body select {
	max-width: 100%;
	border-radius: 8px;
	border: 1px solid rgba(var(--forum-line-rgb, 90, 234, 219), 0.26);
	background: rgba(0, 0, 0, 0.32);
	color: var(--forum-text);
}

#forumPage.forum-body .reply-title-wrapper,
#forumPage.forum-body .create-thread-title-wrapper {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
	padding: 12px;
	border: 1px solid rgba(var(--forum-line-rgb, 90, 234, 219), 0.18);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.028);
}

#forumPage.forum-body .reply-title,
#forumPage.forum-body .create-thread-text {
	margin: 0;
	color: var(--forum-green);
	font-size: 1rem;
	font-weight: 900;
	text-transform: uppercase;
}

#forumPage.forum-body .create-thread-name {
	color: var(--forum-text);
	text-transform: none;
}

#forumPage.forum-body .create-thread-mode-selector {
	min-height: 38px;
	padding: 7px 10px;
}

#forumPage.forum-body .reply-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 10px;
	margin-bottom: 10px;
	padding: 10px;
	border: 1px solid rgba(var(--forum-line-rgb, 90, 234, 219), 0.16);
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.24);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

#forumPage.forum-body .toolbar-group {
	display: inline-flex;
	flex: 1 1 220px;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	min-width: 0;
	padding: 7px;
	border: 1px solid rgba(var(--forum-line-rgb, 90, 234, 219), 0.12);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.026);
}

#forumPage.forum-body .toolbar-group-actions {
	flex: 0 1 176px;
}

#forumPage.forum-body .toolbar-group-text {
	flex: 2 1 360px;
}

#forumPage.forum-body .toolbar-group-paragraph {
	flex: 1.4 1 320px;
}

#forumPage.forum-body .toolbar-group-insert,
#forumPage.forum-body .toolbar-group-image {
	flex: 1 1 250px;
}

#forumPage.forum-body .toolbar-group-blocks {
	flex: 1.8 1 390px;
}

#forumPage.forum-body .toolbar-group-tables {
	flex: 1.5 1 330px;
}

#forumPage.forum-body .toolbar-group-label {
	flex: 0 0 100%;
	color: rgba(var(--forum-success-rgb, 138, 255, 186), 0.82);
	font-size: 0.68rem;
	font-weight: 900;
	line-height: 1;
	text-transform: uppercase;
}

#forumPage.forum-body .toolbar-button,
#forumPage.forum-body .reply-toolbar button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	min-height: 32px;
	padding: 6px 9px;
	border: 1px solid rgba(var(--forum-button-rgb, 90, 234, 219), 0.24);
	border-radius: 8px;
	background: rgba(var(--forum-button-rgb, 90, 234, 219), 0.07);
	color: var(--forum-button-text);
	font-size: 0.82rem;
	font-weight: 800;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	box-shadow: none;
}

#forumPage.forum-body .toolbar-button-short {
	width: 34px;
	padding-right: 0;
	padding-left: 0;
	font-size: 0.9rem;
}

#forumPage.forum-body .toolbar-button-mini {
	min-width: 30px;
	min-height: 28px;
	padding: 5px 7px;
	font-size: 0.72rem;
}

#forumPage.forum-body .reply-toolbar-color {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 32px;
	padding: 4px 5px 4px 7px;
	border: 1px solid rgba(var(--forum-line-rgb, 90, 234, 219), 0.14);
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.18);
	color: var(--forum-muted);
	font-size: 0.76rem;
	font-weight: 800;
	white-space: nowrap;
}

#forumPage.forum-body .reply-toolbar-color input[type="color"] {
	width: 28px;
	height: 24px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

#forumPage.forum-body .toolbar-size-select {
	min-width: 94px;
	min-height: 32px;
	margin: 0;
	padding: 5px 8px;
	border: 1px solid rgba(var(--forum-line-rgb, 90, 234, 219), 0.24);
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.28);
	color: var(--forum-text);
	font-size: 0.82rem;
	font-weight: 800;
	outline: none;
}

#forumPage.forum-body .toolbar-button:hover,
#forumPage.forum-body .reply-toolbar button:hover,
#forumPage.forum-body .toolbar-size-select:hover {
	border-color: rgba(var(--forum-success-rgb, 138, 255, 186), 0.55);
	background: rgba(var(--forum-success-rgb, 138, 255, 186), 0.1);
}

#forumPage.forum-body .reply-editor {
	min-height: 190px;
	max-height: min(48vh, 520px);
	overflow: auto;
	padding: 14px;
	border: 1px solid rgba(var(--forum-line-rgb, 90, 234, 219), 0.22);
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.28);
	color: var(--forum-text);
	line-height: 1.6;
	outline: none;
}

#forumPage.forum-body .reply-editor:focus {
	border-color: rgba(var(--forum-success-rgb, 138, 255, 186), 0.58);
	box-shadow: 0 0 0 2px rgba(var(--forum-success-rgb, 138, 255, 186), 0.08);
}

#forumPage.forum-body .reply-editor:empty:before {
	color: rgba(220, 238, 232, 0.42);
}

#forumPage.forum-body .send-reply-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	margin-top: 12px;
	padding: 9px 16px;
	border: 1px solid rgba(var(--forum-success-rgb, 138, 255, 186), 0.45);
	border-radius: 8px;
	background: rgba(var(--forum-success-rgb, 138, 255, 186), 0.12);
	color: var(--forum-text);
	font-weight: 900;
	cursor: pointer;
	box-shadow: none;
}

#forumPage.forum-body .send-reply-button:hover {
	background: rgba(var(--forum-success-rgb, 138, 255, 186), 0.18);
	border-color: rgba(var(--forum-success-rgb, 138, 255, 186), 0.68);
}

#forumPage.forum-body .create-thread-container h2 {
	margin: 0 0 14px;
	color: var(--forum-text);
	font-size: 1.8rem;
	text-align: left;
}

#forumPage.forum-body .create-thread-container input[type="text"],
#forumPage.forum-body .new-message-form input {
	width: 100%;
	min-height: 42px;
	margin-bottom: 10px;
	padding: 10px 12px;
}

#forumPage.forum-body .messages-header {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 14px;
	padding: 10px;
	border: 1px solid rgba(var(--forum-line-rgb, 90, 234, 219), 0.16);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.026);
}

#forumPage.forum-body .tab-button {
	min-height: 38px;
	padding: 8px 13px;
	border: 1px solid rgba(var(--forum-line-rgb, 90, 234, 219), 0.25);
	border-radius: 8px;
	background: rgba(var(--forum-line-rgb, 90, 234, 219), 0.07);
	color: var(--forum-text);
	font-weight: 800;
	cursor: pointer;
}

#forumPage.forum-body .tab-button.active,
#forumPage.forum-body .tab-button:hover {
	border-color: rgba(var(--forum-success-rgb, 138, 255, 186), 0.6);
	background: rgba(var(--forum-success-rgb, 138, 255, 186), 0.12);
}

#forumPage.forum-body .messages-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-height: 220px;
}

#forumPage.forum-body .message-item {
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr) auto;
	gap: 12px;
	align-items: center;
	padding: 12px;
	border: 1px solid rgba(var(--forum-line-rgb, 90, 234, 219), 0.16);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.032);
	cursor: pointer;
	transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

#forumPage.forum-body .message-item:hover {
	transform: translateY(-1px);
	border-color: rgba(var(--forum-success-rgb, 138, 255, 186), 0.48);
	background: rgba(var(--forum-success-rgb, 138, 255, 186), 0.065);
}

#forumPage.forum-body .message-item.unread-message {
	border-color: rgba(var(--forum-warning-rgb, 243, 211, 107), 0.48);
	background:
		linear-gradient(135deg, rgba(var(--forum-warning-rgb, 243, 211, 107), 0.09), transparent 42%),
		rgba(255, 255, 255, 0.036);
}

#forumPage.forum-body .message-avatar {
	width: 52px;
	height: 52px;
	border: 1px solid rgba(var(--forum-line-rgb, 90, 234, 219), 0.4);
	border-radius: 8px;
	object-fit: cover;
	background: rgba(0, 0, 0, 0.28);
}

#forumPage.forum-body .message-details {
	min-width: 0;
}

#forumPage.forum-body .message-details h3 {
	margin: 0 0 5px;
	color: var(--forum-text);
	font-size: 1rem;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

#forumPage.forum-body .message-details p,
#forumPage.forum-body .message-meta {
	margin: 0;
	color: var(--forum-muted);
	font-size: 0.88rem;
	line-height: 1.35;
}

#forumPage.forum-body .message-meta {
	text-align: right;
	white-space: nowrap;
}

#forumPage.forum-body .conversation-messages {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 14px 0;
}

#forumPage.forum-body .conversation-messages .message {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	gap: 12px;
	padding: 12px;
	border: 1px solid rgba(var(--forum-line-rgb, 90, 234, 219), 0.16);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.03);
}

#forumPage.forum-body .conversation-messages .message-user {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 10px;
}

#forumPage.forum-body .conversation-messages .message-user img {
	width: 58px;
	height: 58px;
	object-fit: cover;
}

#forumPage.forum-body .conversation-messages .message-content {
	min-width: 0;
	padding: 10px;
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.18);
}

#forumPage.forum-body .conversation-messages .message-content p {
	margin: 0 0 10px;
	overflow-wrap: anywhere;
}

#forumPage.forum-body .timestamp,
#forumPage.forum-body .read-status {
	display: inline-flex;
	margin-right: 8px;
	color: var(--forum-muted);
	font-size: 0.78rem;
}

#forumPage.forum-body .read-status {
	color: var(--forum-green);
}

#forumPage.forum-body .back-button,
#forumPage.forum-body .load-more-button {
	min-height: 38px;
	margin-bottom: 12px;
	padding: 8px 13px;
	border: 1px solid rgba(var(--forum-line-rgb, 90, 234, 219), 0.3);
	border-radius: 8px;
	background: rgba(var(--forum-line-rgb, 90, 234, 219), 0.07);
	color: var(--forum-text);
	font-weight: 800;
	cursor: pointer;
	box-shadow: none;
}

#forumPage.forum-body .load-more-button {
	width: 100%;
	margin-top: 8px;
}

#forumPage.forum-body .private-message-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1px solid rgba(var(--forum-line-rgb, 90, 234, 219), 0.28);
	border-radius: 8px;
	background: rgba(var(--forum-line-rgb, 90, 234, 219), 0.08);
	color: var(--forum-text);
	line-height: 1;
}

#forumPage.forum-body .send-reply-button:disabled,
#forumPage.forum-body .send-thread-button:disabled {
	opacity: 0.62;
	cursor: wait;
}

#forumPage.forum-body .messages-page-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 14px;
	padding: 14px;
	border: 1px solid rgba(var(--forum-line-rgb, 90, 234, 219), 0.18);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.03);
}

#forumPage.forum-body .messages-page-header h2 {
	margin: 2px 0 0;
	color: var(--forum-text);
	font-size: 1.35rem;
}

#forumPage.forum-body .messages-page-kicker {
	color: var(--forum-green);
	font-size: 0.76rem;
	font-weight: 900;
	text-transform: uppercase;
}

#forumPage.forum-body .forum-poll-builder,
#forumPage.forum-body .forum-poll-card,
#forumPage.forum-body .forum-bbcode-panel {
	margin-top: 12px;
	padding: 14px;
	border: 1px solid rgba(var(--forum-line-rgb, 90, 234, 219), 0.18);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.03);
}

#forumPage.forum-body .forum-poll-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--forum-text);
	font-weight: 800;
}

#forumPage.forum-body .forum-poll-fields {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 12px;
}

#forumPage.forum-body .forum-poll-options {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

#forumPage.forum-body .forum-poll-settings {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	color: var(--forum-muted);
}

#forumPage.forum-body .forum-poll-settings label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

#forumPage.forum-body .forum-poll-add-option,
#forumPage.forum-body .forum-poll-vote-button {
	align-self: flex-start;
	min-height: 36px;
	padding: 8px 12px;
	border: 1px solid rgba(var(--forum-success-rgb, 138, 255, 186), 0.45);
	border-radius: 8px;
	background: rgba(var(--forum-success-rgb, 138, 255, 186), 0.1);
	color: var(--forum-text);
	font-weight: 800;
	cursor: pointer;
}

#forumPage.forum-body .forum-poll-card h3 {
	margin: 0 0 12px;
	color: var(--forum-green);
	font-size: 1.15rem;
}

#forumPage.forum-body .forum-poll-votes {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

#forumPage.forum-body .forum-poll-option-row {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 8px 10px;
	align-items: center;
	padding: 10px;
	border: 1px solid rgba(var(--forum-line-rgb, 90, 234, 219), 0.14);
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.2);
}

#forumPage.forum-body .forum-poll-result {
	grid-column: 1 / -1;
	position: relative;
	min-height: 24px;
	border: 1px solid rgba(var(--forum-line-rgb, 90, 234, 219), 0.12);
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.25);
	overflow: hidden;
}

#forumPage.forum-body .forum-poll-result span {
	position: absolute;
	inset: 0 auto 0 0;
	background: rgba(var(--forum-line-rgb, 90, 234, 219), 0.18);
}

#forumPage.forum-body .forum-poll-result strong {
	position: relative;
	display: inline-flex;
	padding: 4px 8px;
	color: var(--forum-text);
	font-size: 0.82rem;
}

#forumPage.forum-body .forum-poll-meta {
	margin-top: 10px;
	color: var(--forum-muted);
	font-size: 0.84rem;
}

#forumPage.forum-body .forum-bbcode-textarea {
	width: 100%;
	min-height: 240px;
	margin-bottom: 10px;
	padding: 12px;
	resize: vertical;
	font-family: Consolas, monospace;
}

#forumPage.forum-body .image-float-left,
#forumPage.forum-body .message-content .image-float-left {
	float: left;
	max-width: min(46%, 360px);
	margin: 4px 16px 10px 0;
}

#forumPage.forum-body .image-float-right,
#forumPage.forum-body .message-content .image-float-right {
	float: right;
	max-width: min(46%, 360px);
	margin: 4px 0 10px 16px;
}

#forumPage.forum-body .image-float-left img,
#forumPage.forum-body .image-float-right img {
	max-width: 100%;
	height: auto;
}

#forumPage.forum-body .message-content::after,
#forumPage.forum-body .reply-editor::after {
	content: "";
	display: block;
	clear: both;
}

#forumPage.forum-body .forum-preview-controls {
	display: flex;
	justify-content: flex-end;
	margin-top: 10px;
}

#forumPage.forum-body .forum-preview-toggle {
	min-height: 36px;
	padding: 8px 12px;
	border: 1px solid rgba(var(--forum-line-rgb, 90, 234, 219), 0.3);
	border-radius: 8px;
	background: rgba(var(--forum-line-rgb, 90, 234, 219), 0.07);
	color: var(--forum-text);
	font-weight: 800;
	cursor: pointer;
	box-shadow: none;
}

#forumPage.forum-body .forum-preview-toggle:hover {
	border-color: rgba(var(--forum-success-rgb, 138, 255, 186), 0.58);
	background: rgba(var(--forum-success-rgb, 138, 255, 186), 0.11);
}

#forumPage.forum-body .forum-preview-box {
	margin-top: 10px;
	padding: 14px;
	border: 1px solid rgba(var(--forum-warning-rgb, 243, 211, 107), 0.24);
	border-radius: 8px;
	background:
		linear-gradient(135deg, rgba(var(--forum-warning-rgb, 243, 211, 107), 0.075), transparent 38%),
		rgba(0, 0, 0, 0.28);
	color: var(--forum-text);
	line-height: 1.65;
}

#forumPage.forum-body .forum-preview-box[hidden] {
	display: none;
}

#forumPage.forum-body .forum-preview-box::before {
	content: "Prévisualisation";
	display: block;
	margin-bottom: 10px;
	color: var(--forum-gold);
	font-size: 0.82rem;
	font-weight: 900;
	text-transform: uppercase;
}

#forumPage.forum-body .editor-previewing {
	border-color: rgba(var(--forum-warning-rgb, 243, 211, 107), 0.5);
}

@media (max-width: 1320px) {
	#forumPage.forum-body #forumContainer.forum-shell {
		width: min(100% - 24px, 1120px);
	}

	#forumPage.forum-body .forum-recent-dock {
		display: none;
		top: calc(var(--nav-h, 40px) + 58px);
		bottom: 16px;
		width: min(360px, calc(100vw - 28px));
	}

	#forumPage.forum-body .forum-recent-toggle {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		position: fixed;
		top: calc(var(--nav-h, 40px) + 10px);
		z-index: 17;
		padding: 8px 11px;
		border: 1px solid rgba(var(--forum-line-rgb, 90, 234, 219), 0.36);
		border-radius: 8px;
		background: rgba(4, 8, 9, 0.92);
		color: var(--forum-text);
		font-weight: 800;
		cursor: pointer;
	}

	#forumPage.forum-body .forum-recent-toggle-left {
		left: 12px;
	}

	#forumPage.forum-body .forum-recent-toggle-right {
		right: 12px;
	}

	#forumPage.forum-body.forum-recent-left-open .forum-recent-left-dock,
	#forumPage.forum-body.forum-recent-right-open .forum-recent-right-dock {
		display: flex;
	}

	#forumPage.forum-body .forum-recent-left-dock {
		left: 12px;
	}

	#forumPage.forum-body .forum-recent-right-dock {
		right: 12px;
	}

	#forumPage.forum-body .category-list {
		grid-template-columns: 1fr;
	}

	#forumPage.forum-body #forumStats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 860px) {
	#forumPage.forum-body #forumContainer.forum-shell {
		width: min(100% - 20px, 720px);
		padding-top: calc(var(--nav-h, 40px) + 22px);
	}

	#forumPage.forum-body .forum-title {
		font-size: 2.35rem;
	}

	#forumPage.forum-body .forum-topbar {
		grid-template-columns: 1fr;
	}

	#forumPage.forum-body .section-list {
		grid-template-columns: 1fr;
	}

	#forumPage.forum-body .section-item {
		grid-template-columns: 1fr;
	}

	#forumPage.forum-body .latest-message-box {
		grid-column: 1;
		grid-row: auto;
		margin-top: 8px;
	}

	#forumPage.forum-body .section-header .header-top,
	#forumPage.forum-body .thread-header .header-top {
		flex-wrap: wrap;
		justify-content: center;
	}

	#forumPage.forum-body .section-header h2,
	#forumPage.forum-body .thread-header h2 {
		order: -1;
		width: 100%;
		text-align: center;
	}

	#forumPage.forum-body .thread-table {
		display: block;
		overflow-x: auto;
		white-space: nowrap;
	}

	#forumPage.forum-body .message-layout {
		flex-direction: column;
	}

	#forumPage.forum-body .message-icon {
		right: 14px;
		bottom: 14px;
	}

	#forumPage.forum-body #messageNotification {
		right: 10px;
		bottom: 58px;
	}

	#forumPage.forum-body .toolbar-group {
		flex-basis: min(100%, 280px);
	}
}

@media (max-width: 620px) {
	#forumPage.forum-body .forum-title {
		font-size: 2rem;
	}

	#forumPage.forum-body .forum-page-lead {
		font-size: 1rem;
	}

	#forumPage.forum-body .category-item,
	#forumPage.forum-body .section-header,
	#forumPage.forum-body .pinned-post-list,
	#forumPage.forum-body .post-list,
	#forumPage.forum-body .thread-header,
	#forumPage.forum-body .messages-container,
	#forumPage.forum-body .reply-box,
	#forumPage.forum-body .create-thread-container {
		padding: 12px;
	}

	#forumPage.forum-body #forumStats {
		grid-template-columns: 1fr;
	}

	#forumPage.forum-body .message-icon {
		right: 12px;
		bottom: 12px;
		width: 48px;
		height: 48px;
	}

	#forumPage.forum-body .message-item {
		grid-template-columns: 42px minmax(0, 1fr);
	}

	#forumPage.forum-body .message-avatar {
		width: 42px;
		height: 42px;
	}

	#forumPage.forum-body .message-meta {
		grid-column: 1 / -1;
		text-align: left;
		white-space: normal;
	}

	#forumPage.forum-body .conversation-messages .message {
		grid-template-columns: 1fr;
	}

	#forumPage.forum-body .conversation-messages .message-user {
		flex-direction: row;
		justify-content: flex-start;
	}

	#forumPage.forum-body .messages-page-header {
		flex-direction: column;
		align-items: stretch;
	}

	#forumPage.forum-body .forum-poll-options {
		grid-template-columns: 1fr;
	}

	#forumPage.forum-body .forum-poll-option-row {
		grid-template-columns: minmax(0, 1fr);
	}

	#forumPage.forum-body .reply-toolbar {
		gap: 8px;
		padding: 8px;
	}

	#forumPage.forum-body .toolbar-group {
		flex-basis: 100%;
		padding: 6px;
	}

	#forumPage.forum-body .toolbar-button,
	#forumPage.forum-body .reply-toolbar button {
		flex: 1 1 auto;
		min-height: 34px;
		padding: 7px 8px;
	}

	#forumPage.forum-body .toolbar-button-short,
	#forumPage.forum-body .toolbar-button-mini {
		flex: 0 0 auto;
	}

	#forumPage.forum-body .reply-toolbar-color {
		flex: 1 1 100%;
		justify-content: space-between;
	}

	#forumPage.forum-body .toolbar-size-select {
		flex: 1 1 120px;
	}

	#forumPage.forum-body .message-content table,
	#forumPage.forum-body .reply-editor table,
	#forumPage.forum-body .forum-preview-box table {
		display: block;
		overflow-x: auto;
	}

	#forumPage.forum-body .image-float-left,
	#forumPage.forum-body .image-float-right,
	#forumPage.forum-body .message-content .image-float-left,
	#forumPage.forum-body .message-content .image-float-right {
		float: none;
		max-width: 100%;
		margin: 8px 0;
	}
}

#forumPage.forum-body .forum-hero {
	border-color: rgba(var(--forum-line-rgb, 90, 234, 219), 0.18);
	background:
		linear-gradient(110deg, rgba(var(--forum-line-rgb, 90, 234, 219), 0.14), rgba(4, 8, 9, 0.82) 52%, rgba(4, 8, 9, 0.9)),
		rgba(4, 8, 9, 0.82);
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

#forumPage.forum-body .forum-title {
	text-shadow: 0 0 22px rgba(var(--forum-line-rgb, 90, 234, 219), 0.22);
}

#forumPage.forum-body .forum-recent-dock,
#forumPage.forum-body .forum-recent-item,
#forumPage.forum-body .forum-recent-state,
#forumPage.forum-body .forum-recent-empty,
#forumPage.forum-body .category-item,
#forumPage.forum-body .section-header,
#forumPage.forum-body .pinned-post-list,
#forumPage.forum-body .post-list,
#forumPage.forum-body .thread-header,
#forumPage.forum-body .messages-container,
#forumPage.forum-body .message-box,
#forumPage.forum-body .reply-box,
#forumPage.forum-body .create-thread-container,
#forumPage.forum-body .profile-container,
#forumPage.forum-body .toolbar-group,
#forumPage.forum-body .toolbar-button,
#forumPage.forum-body .reply-toolbar button,
#forumPage.forum-body .forum-button,
#forumPage.forum-body .forum-input,
#forumPage.forum-body .forum-select,
#forumPage.forum-body .forum-textarea {
	border-color: rgba(var(--forum-button-rgb, 90, 234, 219), 0.22);
}

#forumPage.forum-body .forum-recent-section + .forum-recent-section,
#forumPage.forum-body .reply-toolbar,
#forumPage.forum-body .message-content blockquote {
	border-color: rgba(var(--forum-line-rgb, 90, 234, 219), 0.18);
}

#forumPage.forum-body .forum-recent-item:hover,
#forumPage.forum-body .forum-recent-item.is-unread,
#forumPage.forum-body .forum-recent-item.is-unread .forum-recent-state,
#forumPage.forum-body .toolbar-button:hover,
#forumPage.forum-body .reply-toolbar button:hover,
#forumPage.forum-body .forum-button:hover,
#forumPage.forum-body .pagination button:hover,
#forumPage.forum-body .pagination button.active {
	border-color: rgba(var(--forum-green-rgb, 138, 255, 186), 0.58);
	background-color: rgba(var(--forum-green-rgb, 138, 255, 186), 0.1);
}

#forumPage.forum-body .poll-badge,
#forumPage.forum-body .pinned-badge,
#forumPage.forum-body .thread-badge-highlight,
#forumPage.forum-body .favorite-button.is-active {
	border-color: rgba(var(--forum-gold-rgb, 243, 211, 107), 0.48);
	background-color: rgba(var(--forum-gold-rgb, 243, 211, 107), 0.08);
}
