/* General page style. The scroll bar colours only visible in IE5.5+ */
.bbcode_spoiler { margin: 8px 0; }
.bbcode_spoiler summary { cursor: pointer; font-weight: bold; }
.bbcode_spoiler_content { margin-top: 6px; }
.bbcode-scroll { max-width: 100%; white-space: nowrap; overscroll-behavior-x: contain; }
.bbcode-scroll:focus-visible { outline: 2px solid var(--forum-primary); outline-offset: 2px; }
.bbcode-fade { display: inline-block; max-width: 100%; -webkit-mask-image: linear-gradient(to right, #000 70%, transparent 100%); mask-image: linear-gradient(to right, #000 70%, transparent 100%); }
.bbcode-glow { text-shadow: 0 0 0.45em var(--bbcode-effect-color, currentColor); }
.bbcode-shadow { text-shadow: 2px 2px 3px var(--bbcode-effect-color, currentColor); }
.bbcode-text-justify { text-align: justify; }
.bbcode_youtube { margin: 10px auto; text-align: center; }
.bbcode_youtube iframe { display: block; width: 560px; max-width: 100%; aspect-ratio: 16 / 9; height: auto; margin: 0 auto; border: 0; }
body { 
background-color:		#E5E5E5;
scrollbar-face-color:		#DEE3E7;
scrollbar-highlight-color:	#FFFFFF;
scrollbar-shadow-color:		#DEE3E7;
scrollbar-3dlight-color:	#D1D7DC;
scrollbar-arrow-color:		#006699;
scrollbar-track-color:		#EFEFEF;
scrollbar-darkshadow-color:	#98AAB1;
background-image: url();
margin: 4px;
}

/* Contact form spam trap: retain the field for server-side bot checks,
   while keeping it out of the visual layout and accessibility tree. */
.forum-contact-trap {
	position: absolute !important;
	left: -10000px !important;
	top: auto !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
}

/* General font families for common tags */
font,th,td,p			{ font-family: Verdana, Arial, Helvetica, sans-serif; }
a:link,a:active,a:visited	{ color : #006699; }
p, td			{ font-size : 11px; color : #000000; }
a:hover			{ text-decoration: underline; color : #DD6900; }
hr				{ height: 0px; border: solid #D1D7DC 0px; border-top-width: 1px; }

/* This is the border line & background colour round the entire page */
.bodyline { background-color: #FFFFFF; border: 1px #98AAB1 solid; }

/* This is the outline round the main forum tables */
.forumline { background-color: #A9B8C2; border: solid #D1D7DC 0px; border-top-width: 1px; }

/* Main table cell colours and backgrounds */
td.row1 { background-color: #EFEFEF; }
td.row2 { background-color: #DEE3E7; }
td.row3 { background-color: #D1D7DC; }
td.row_helped { background-color: #F0EDDE; }

/*
	This is for the table cell above the Topics, Post & Last posts on the index.php page
	By default this is the fading out gradiated silver background.
	However, you could replace this with a bitmap specific for each forum
*/
td.rowpic {
background-color: #FFFFFF;
background-image: url('images/cellpic2.jpg');
background-repeat: repeat-y; height: 22px;
}

/* Header cells - the blue and silver gradient backgrounds */
th {
color:			#FFA34F; font-size: 11px; font-weight: bold;
background-color:	#006699; height: 25px;
background-image:	url(images/cellpic3.gif);
}

td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom {
background-image: url(images/cellpic1.gif);
background-color:#D1D7DC; border: #FFFFFF; border-style: solid; height: 28px;
}

/*
	Setting additional nice inner borders for the main table cells.
	The names indicate which sides the border will be on.
	Don't worry if you don't understand this, just ignore it :-)
*/
td.cat,td.catHead,td.catBottom { background-color: #C7D0D7; background-image: url('images/cellpic1.gif'); height: 22px; }
th.thHead,th.thSides,th.thLeft,th.thRight,th.thBottom {
font-weight: bold; border: #FFFFFF; height: 28px;
}

th.thCornerL,th.thTop,th.thCornerR {color: #FFA34F; font-size: 70%; font-weight: bold; 
background-color: #006699; background-image: url('images/cellpic3.gif'); height: 28px; }

td.row3Right,td.spaceRow { background-color: #D1D7DC; border: #FFFFFF; border-style: solid; }

th.thHead,td.catHead			{ font-size: 12px; border-width: 0px; }
th.thSides,td.catSides,td.spaceRow	{ border-width: 0px; }
th.thRight,td.catRight,td.row3Right	{ border-width: 0px; }
th.thLeft,td.catLeft			{ border-width: 0px; }
th.thBottom,td.catBottom		{ border-width: 0px; }
th.thTop				{ border-width: 0px; }
th.thCornerL				{ border-width: 0px; }
th.thCornerR				{ border-width: 0px; }

/* The largest text used in the index page title and toptic title etc. */
.maintitle {
font-weight: bold; font-size: 22px; font-family: "Trebuchet MS",Verdana, Arial, Helvetica, sans-serif;
text-decoration: none; line-height : 120%; color : #000000;
}

/* General text */
.gen						{ font-size : 12px; }
.genmed					{ font-size : 11px; }
.gensmall					{ font-size : 10px; }
.gen,.genmed,.gensmall			{ color : #000000; }
a.gen,a.genmed,a.gensmall			{ color: #006699; text-decoration: none; }
a.gen:hover,a.genmed:hover,a.gensmall:hover	{ color: #DD6900; text-decoration: underline; }

/* The register, login, search etc links at the top of the page */
.mainmenu		{ font-size : 11px; color : #000000; }
a.mainmenu		{ text-decoration: none; color : #006699; }
a.mainmenu:hover	{ text-decoration: underline; color : #DD6900; }

/* Forum category titles */
.cattitle		{ font-weight: bold; font-size: 12px ; letter-spacing: 1px; color : #006699;}
a.cattitle		{ text-decoration: none; color : #006699; }
a.cattitle:hover	{ text-decoration: underline; }

/* Forum title: Text and link to the forums used in: index.php */
.forumlink		{ font-weight: bold; font-size: 12px; color : #006699; }
a.forumlink		{ text-decoration: none; color : #006699; }
a.forumlink:hover	{ text-decoration: underline; color : #DD6900; }

/* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */
.nav		{ font-weight: bold; font-size: 11px; color : #000000;}
a.nav	{ text-decoration: none; color : #006699; }
a.nav:hover	{ text-decoration: underline; }

/* titles for the topics: could specify viewed link colour too */
.topictitle,h1,h2	{ font-weight: bold; font-size: 11px; color : #000000; }
a.topictitle:link	{ text-decoration: none; color : #006699; }
a.topictitle:visited	{ text-decoration: none; color : #5493B4; }
a.topictitle:hover	{ text-decoration: underline; color : #DD6900; }

/* Name of poster in viewmsg.php and viewtopic.php and other places */
.name { font-size : 11px; color : #000000; text-decoration: none;}

/* Location, number of posts, post date etc */
.postdetails		{ font-size : 10px; color : #000000; }

/* The content of the posts (body of text) */
.postbody		{ font-size : 12px; line-height: 18px; }
a.postlink:link	{ text-decoration: none; color : #006699; }
a.postlink:visited	{ text-decoration: none; color : #5493B4; }
a.postlink:hover	{ text-decoration: underline; color : #DD6900; }

/* Quote & Code blocks */
.code {
font-family:		Courier, 'Courier New', sans-serif; font-size: 11px; color: #006600;
background-color:	#FAFAFA; border: #D1D7DC; border-style: solid;
border-left-width:	1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px;
}

.quote {
font-family:		Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #444444; line-height: 125%;
background-color:	#FAFAFA; border: #D1D7DC; border-style: solid;
border-left-width:	1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px;
}

/* Copyright and bottom info */
.copyright		{ font-size : 10px; color: #444444; font-family: Verdana, Arial, Helvetica, sans-serif; }
a.copyright		{ text-decoration: none; color : #006699; }
a.copyright:hover	{ text-decoration: underline; color : #DD6900; }

/* Form elements */

form { margin: 0; }

input,textarea, select {
color : #000000;
font: normal 11px Verdana, Arial, Helvetica, sans-serif;
}

/* The text input fields background colour */
input.post, textarea.post, select			{ background-color : #EFEFEF; }
input.post2, textarea.post2, select	{ background-color : #DEE3E7; }
input						{ text-indent : 2px; }

/* The buttons used for bbCode styling in message post */
input.button {
background-color :	#EFEFEF;
color :			#000000;
font-size:		11px; font-family: Verdana, Arial, Helvetica, sans-serif;
cursor:			pointer;
}

/* The main submit button option */
input.mainoption {
background-color:	#FAFAFA;
font-weight:		bold;
cursor:			pointer;
}

/* None-bold submit button */
input.liteoption {
background-color:	#FAFAFA;
font-weight:		normal;
cursor:			pointer;
}

/* This is the line in the posting page which shows the rollover
	help line. This is actually a text box, but if set to be the same
	colour as the background no one will know ;)
*/
.helpline { background-color: #DEE3E7; border-style: none; }

/* Highlight bad words for moderators instead of censoring them */
span.badwordhighlight { background-color: #FFFF00; }

.topbkg { background: #dbe3ee url(images/cellpic_bkg.jpg) repeat-x }
.topnav { font-size:10px;background: #e5ebf3 url(images/cellpic_nav.gif) repeat-x;color:#dd6900;
height: 21px; white-space: nowrap; text-align: center; border: 0px solid #91a0ae; border-width: 1px 0 1px 0; }

.pm { font-size: 11px; text-decoration: none; color: #FF0000; } 

.table0
{
	padding: 4px;
	border-bottom: 1px solid #dedede;
	border-left: 1px solid #fefefe;
	color : #000000;
	font-size : 10px;
}

.sb1 { background-color: #EFEFEF; }
.sb2 { background-color: #DEE3E7; }

.pagination {
	color: #666;
	font-size: 10px;
	font-weight: bold;
	padding: 3px;
    padding-bottom: 4px;
	cursor: pointer;
	text-decoration: none;
}
.pagination a, .pagination a:visited, .pagination a:active {
	background-color: #EAEBEB;
	color: #000;
	border-color: #D4D7DA;
	border: #D4D7DA 1px solid;
	padding: 1px;
	text-decoration: none;
}
.pagination a:hover {
	background-color: #FFF;
	color: #666;
	border-color: #EAECEF;
	border: #EAECEF 1px solid;
	text-decoration: none;
	padding: 1px;
}

/* Bootstrap-based responsive forum skin */
:root {
	--forum-page-bg: #e8eef4;
	--forum-surface: #f8fafc;
	--forum-surface-soft: #f0f4f8;
	--forum-row-alt: #e3ebf3;
	--forum-border: #c6d2de;
	--forum-text: #1c2733;
	--forum-muted: #667789;
	--forum-link: #075ca8;
	--forum-link-hover: #084b83;
	--forum-primary: #0b5cab;
	--forum-primary-dark: #084780;
	--forum-shadow: 0 0.75rem 2rem rgba(24, 44, 66, 0.08);
	--forum-radius: 0.85rem;
}

html { min-width: 320px; background: var(--forum-page-bg); }
body.forum-page {
	margin: 0 !important;
	padding: 0;
	background: var(--forum-page-bg) !important;
	color: var(--forum-text) !important;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 0.95rem;
	line-height: 1.5;
}

html[data-bs-theme="dark"] {
	color-scheme: dark;
	--forum-page-bg: #111820;
	--forum-surface: #1b2632;
	--forum-surface-soft: #202d3a;
	--forum-row-alt: #263543;
	--forum-border: #3b4b5b;
	--forum-text: #e6edf4;
	--forum-muted: #a8b6c5;
	--forum-link: #8bc4ff;
	--forum-link-hover: #c3e0ff;
	--forum-primary: #164f7f;
	--forum-primary-dark: #103b60;
	--forum-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.22);
}

body.forum-page, body.forum-page td, body.forum-page th,
body.forum-page p, body.forum-page span, body.forum-page div {
	color: var(--forum-text);
}
body.forum-page a:link, body.forum-page a:visited { color: var(--forum-link); }
body.forum-page a:hover, body.forum-page a:focus { color: var(--forum-link-hover); }
body.forum-page img { max-width: 100%; }
body.forum-page hr { border-top: 1px solid var(--forum-border); opacity: 1; }

.forum-layout-shell {
	width: calc(100% - 2rem) !important;
	max-width: 1440px;
	margin: 1rem auto !important;
	padding: 0 !important;
}
.forum-frame {
	padding: clamp(0.75rem, 2vw, 1.5rem) !important;
	border: 1px solid var(--forum-border) !important;
	border-radius: var(--forum-radius);
	background: var(--forum-surface) !important;
	box-shadow: var(--forum-shadow);
}
.forum-header { margin: 0 0 1rem; }
.forum-brandbar {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	min-height: 7rem;
	padding: 1rem clamp(0.75rem, 2vw, 1.5rem);
	border: 1px solid var(--forum-border);
	border-radius: var(--forum-radius) var(--forum-radius) 0 0;
	background: var(--forum-surface);
}
.forum-brand-logo { flex: 0 0 auto; display: inline-flex; align-items: center; }
body.forum-page .forum-brand-logo img { display: block; width: auto; max-width: min(212px, 32vw); height: auto; }
.forum-brand-copy { flex: 1 1 auto; min-width: 0; text-align: center; }
.forum-brand-copy .maintitle { color: var(--forum-text) !important; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.forum-site-description { margin-top: 0.2rem; color: var(--forum-muted) !important; }
.forum-header-avatar { display: flex; flex: 0 0 auto; flex-direction: column; align-items: center; justify-content: center; max-width: 4rem; text-align: center; }
.forum-header-avatar img { max-height: 3.75rem; width: auto; border-radius: 50%; }
.forum-header-avatar a { display: block; text-align: center; }

.forum-navbar {
	min-height: 3.25rem;
	padding: 0.25rem 1rem;
	border: 1px solid var(--forum-border);
	border-top: 0;
	border-radius: 0 0 var(--forum-radius) var(--forum-radius);
	background: var(--forum-surface-soft);
}
.forum-navbar .navbar-nav { align-items: center; gap: 0.15rem; }
.forum-navbar .nav-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.55rem 0.65rem !important;
	border-radius: 0.45rem;
	color: var(--forum-link) !important;
	font-size: 0.9rem;
	white-space: normal;
}
.forum-navbar .nav-link:hover, .forum-navbar .nav-link:focus {
	background: var(--forum-row-alt);
	color: var(--forum-link-hover) !important;
	text-decoration: none;
}
.forum-navbar .nav-link img { width: 14px; height: 14px; object-fit: contain; }
.forum-profile-links { display: flex; align-items: center; }
.forum-profile-links .forum-profile-edit { padding-left: 0 !important; }
.forum-theme-toggle { flex: 0 0 auto; white-space: nowrap; border-color: var(--forum-primary) !important; background: var(--forum-primary) !important; color: #ffffff !important; }
.forum-theme-toggle #forum-theme-label { color: #ffffff !important; }
.forum-theme-toggle:hover, .forum-theme-toggle:focus { border-color: var(--forum-primary-dark) !important; background: var(--forum-primary-dark) !important; color: #ffffff !important; }
.forum-theme-icon { margin-right: 0.35rem; font-size: 1rem; }
.forum-main-content { min-width: 0; padding-top: 0.25rem; }

/* Login and search forms use Bootstrap cards and grid while retaining the classic blue headers. */
body.forum-page .forum-auth-card,
body.forum-page .forum-search-card {
	--bs-card-bg: var(--forum-surface);
	--bs-card-color: var(--forum-text);
	--bs-card-border-color: var(--forum-border);
	border-color: var(--forum-border);
	border-radius: 0.6rem;
	background: var(--forum-surface);
	color: var(--forum-text);
	overflow: hidden;
}
body.forum-page .forum-auth-card { width: min(100%, 32rem); }
body.forum-page .forum-auth-card > .card-header,
body.forum-page .forum-search-card > .card-header {
	margin: 0;
	padding: 0.65rem 0.85rem;
	border-color: var(--forum-border);
	background: var(--forum-primary);
	color: #fff !important;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
}
body.forum-page .forum-auth-card > .card-body,
body.forum-page .forum-search-card > .card-body { background: var(--forum-surface-soft); }
body.forum-page .forum-auth-card .form-label,
body.forum-page .forum-search-card .form-label { margin-bottom: 0.3rem; color: var(--forum-text); font-weight: 600; }
body.forum-page .forum-auth-card .form-text,
body.forum-page .forum-search-card .form-text { color: var(--forum-muted); }
body.forum-page .forum-quick-reply {
	--bs-card-bg: var(--forum-surface);
	--bs-card-color: var(--forum-text);
	--bs-card-border-color: var(--forum-border);
	border-color: var(--forum-border);
	border-radius: 0.6rem;
	background: var(--forum-surface);
	color: var(--forum-text);
	overflow: hidden;
}
body.forum-page .forum-quick-reply > .card-header {
	padding: 0.65rem 0.85rem;
	border-color: var(--forum-border);
	background: var(--forum-primary);
	color: #fff !important;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
}
body.forum-page .forum-quick-reply-form { background: var(--forum-surface-soft); }
body.forum-page .forum-quick-reply-username { max-width: 28rem; }
body.forum-page .forum-quick-reply-editor { display: flex; flex-direction: column; }
body.forum-page .forum-quick-reply-textarea {
	width: 100%;
	min-height: 17rem;
	margin-top: 0.85rem;
	resize: vertical;
}
body.forum-page .forum-quick-reply-toolbar,
body.forum-page .forum-quick-reply-bbcode {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem;
}
body.forum-page .forum-quick-reply-smiley {
	display: inline-block;
	width: auto !important;
	height: auto !important;
	max-width: none !important;
	vertical-align: middle;
	cursor: pointer;
}
body.forum-page .forum-quick-reply-expire {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem;
	margin: 0;
	color: var(--forum-text);
}
body.forum-page .forum-quick-reply-expire select.form-select { width: auto; min-width: 4.25rem; }
body.forum-page .forum-quick-reply-options {
	padding: 0.75rem;
	border: 1px solid var(--forum-border);
	border-radius: 0.45rem;
	background: var(--forum-row-alt);
	color: var(--forum-text);
}
body.forum-page .forum-quick-reply-options-title { margin-bottom: 0.45rem; font-weight: 700; }
body.forum-page .forum-quick-reply-options .form-check { margin-right: 1rem; }
body.forum-page .forum-quick-reply-actions { border-top: 1px solid var(--forum-border); }
body.forum-page a.forum-reply-topic-button,
body.forum-page a.forum-reply-topic-button:link,
body.forum-page a.forum-reply-topic-button:visited,
body.forum-page a.forum-reply-topic-button:hover,
body.forum-page a.forum-reply-topic-button:focus { color: #fff; text-decoration: none; }
body.forum-page .forum-reply-topic-button { white-space: nowrap; }
body.forum-page .forum-search-card .input-group-text {
	border-color: var(--forum-border);
	background: var(--forum-row-alt);
	color: var(--forum-text);
}
body.forum-page .memberlist-toolbar .form-select { width: auto; min-width: 8rem; max-width: 16rem; }
body.forum-page .memberlist-letter-index { display: block; }
body.forum-page .memberlist-letter-index a {
	display: inline-block;
	margin: 0.1rem 0.05rem;
	padding: 0.15rem 0.35rem;
	border: 1px solid var(--forum-border);
	border-radius: 0.3rem;
	background: var(--forum-surface);
	text-decoration: none;
}
body.forum-page .memberlist-letter-index a:hover,
body.forum-page .memberlist-letter-index a:focus { background: var(--forum-row-alt); }

/* Keep legacy phpBB tables readable while giving them Bootstrap-like surfaces. */
body.forum-page table { max-width: 100%; }
body.forum-page table.forumline {
	width: 100%;
	margin: 0 0 1rem;
	border: 1px solid var(--forum-border);
	border-radius: 0.6rem;
	border-collapse: separate;
	border-spacing: 0;
	background: var(--forum-surface);
	color: var(--forum-text);
	overflow: hidden;
}
body.forum-page .forumline th, body.forum-page .forumline th.thHead,
body.forum-page .forumline th.thSides, body.forum-page .forumline th.thLeft,
body.forum-page .forumline th.thRight, body.forum-page .forumline th.thBottom,
body.forum-page .forumline th.thCornerL, body.forum-page .forumline th.thCornerR,
body.forum-page .forumline th.thTop {
	padding: 0.65rem 0.75rem;
	border-color: var(--forum-border);
	background: var(--forum-primary) !important;
	background-image: none !important;
	color: #ffffff !important;
	font-size: 0.9rem;
}
body.forum-page .forumline td {
	padding: 0.6rem 0.7rem;
	border-color: var(--forum-border);
	background-image: none !important;
	color: var(--forum-text);
}
body.forum-page .forumline td.row1, body.forum-page .forumline td.cat,
body.forum-page .forumline td.catHead, body.forum-page .forumline td.catSides,
body.forum-page .forumline td.catLeft, body.forum-page .forumline td.catRight,
body.forum-page .forumline td.catBottom { background-color: var(--forum-surface-soft) !important; }
body.forum-page .forumline td.row2, body.forum-page .forumline td.row3,
body.forum-page .forumline td.rowpic, body.forum-page .forumline td.spaceRow {
	background-color: var(--forum-row-alt) !important;
}
body.forum-page .forumline td.rowpic { background-image: none !important; }
body.forum-page .forumline .cattitle, body.forum-page .forumline .forumlink { color: var(--forum-link) !important; }
body.forum-page .forumline .topictitle { color: var(--forum-link); }
body.forum-page #forum-main .forum-topic-table:not(.forum-view-post-table) {
	width: 100%;
	table-layout: auto;
}
body.forum-page .forum-topic-table:not(.forum-view-post-table) .forum-topic-column-head > th {
	vertical-align: middle;
	white-space: nowrap;
}
body.forum-page .forum-topic-table:not(.forum-view-post-table) .forum-topic-author-heading {
	text-align: center !important;
}
body.forum-page .forum-topic-table:not(.forum-view-post-table) td.forum-topic-status { width: 2.5rem; }
body.forum-page .forum-topic-table:not(.forum-view-post-table) td.forum-topic-icon { width: 2.25rem; }
body.forum-page .forum-topic-table:not(.forum-view-post-table) td.forum-topic-checkbox { width: 2.75rem; }
body.forum-page .forum-topic-table:not(.forum-view-post-table) td.forum-topic-title { width: auto !important; }
body.forum-page .forum-topic-table:not(.forum-view-post-table) td.forum-topic-title { min-width: 0; overflow-wrap: anywhere; }
body.forum-page .forum-topic-table:not(.forum-view-post-table) td.forum-topic-checkbox { text-align: center !important; }
body.forum-page .forum-topic-table:not(.forum-view-post-table) td.forum-topic-checkbox .form-check-input { margin: 0; }
body.forum-page .forum-topic-table:not(.forum-view-post-table) td.forum-topic-replies { width: 4.5rem; }
body.forum-page .forum-topic-table:not(.forum-view-post-table) td.forum-topic-author { width: 10rem; text-align: center !important; }
body.forum-page .forum-topic-table:not(.forum-view-post-table) td.forum-topic-views { width: 4.5rem; }
body.forum-page .forum-topic-table:not(.forum-view-post-table) td.forum-topic-lastpost { width: 10.5rem; }
body.forum-page .forum-topic-legend img { width: 1.5rem; height: 1.5rem; object-fit: contain; vertical-align: middle; }
body.forum-page .forum-index-table .forum-index-icon-cell,
body.forum-page .forum-online-table .forum-online-icon-cell {
	width: 64px;
	min-width: 64px;
	text-align: center;
	background-color: var(--forum-row-alt) !important;
	border-right: 1px solid var(--forum-border);
}
body.forum-page .forum-index-table img.forum-folder-icon,
body.forum-page .forum-online-table img.forum-online-icon,
body.forum-page .forum-topic-table img.forum-topic-folder-icon,
body.forum-page .forum-topic-table .forum-topic-icon img {
	display: inline-block !important;
	max-width: none !important;
	visibility: visible !important;
	opacity: 1 !important;
	vertical-align: middle;
}
body.forum-page .forum-index-table img.forum-folder-icon,
body.forum-page .forum-online-table img.forum-online-icon { margin: 0 auto; }
body.forum-page .bodyline { border: 0; background: transparent; }
body.forum-page #overDiv {
	z-index: 2000 !important;
	opacity: 1 !important;
	filter: none !important;
	-moz-opacity: 1 !important;
}
body.forum-page #overDiv > table {
	width: min(400px, calc(100vw - 1rem)) !important;
	max-width: calc(100vw - 1rem) !important;
	border: 1px solid var(--forum-border) !important;
	border-radius: 0.55rem;
	background-color: var(--forum-primary) !important;
	box-shadow: 0 0.6rem 1.5rem rgba(0, 0, 0, 0.3);
	overflow: hidden;
}
body.forum-page #overDiv > table > tbody > tr > td > table:first-of-type td { color: #ffffff !important; }
body.forum-page #overDiv > table > tbody > tr > td > table:last-of-type {
	border-radius: 0 0 0.45rem 0.45rem;
	background-color: var(--forum-surface) !important;
	color: var(--forum-text) !important;
}
body.forum-page #overDiv > table > tbody > tr > td > table:last-of-type td,
body.forum-page #overDiv > table > tbody > tr > td > table:last-of-type font,
body.forum-page #overDiv > table > tbody > tr > td > table:last-of-type span,
body.forum-page #overDiv > table > tbody > tr > td > table:last-of-type fieldset,
body.forum-page #overDiv > table > tbody > tr > td > table:last-of-type legend {
	color: var(--forum-text) !important;
}
body.forum-page #overDiv fieldset {
	margin: 0.35rem 0;
	padding: 0.45rem 0.6rem;
	border: 1px solid var(--forum-border);
	border-radius: 0.35rem;
}
body.forum-page #overDiv legend { width: auto; padding: 0 0.25rem; font-size: 0.9rem; font-weight: 700; }
body.forum-page #overDiv h1,
body.forum-page #overDiv h2,
body.forum-page #overDiv .maintitle { color: var(--forum-text) !important; font-size: 1.15rem !important; line-height: 1.3; }
body.forum-page #overDiv .postbody { font-size: 0.9rem; line-height: 1.45; }
body.forum-page #overDiv a:link,
body.forum-page #overDiv a:visited { color: var(--forum-link) !important; }
body.forum-page .gen, body.forum-page .genmed, body.forum-page .gensmall,
body.forum-page .postdetails, body.forum-page .name { color: var(--forum-text); }
body.forum-page .copyright { color: var(--forum-muted) !important; }
body.forum-page .postbody { color: var(--forum-text) !important; font-size: 0.85rem; line-height: 1.5; overflow-wrap: anywhere; }
body.forum-page .postbody img { max-width: 100%; height: auto; }
body.forum-page .quote, body.forum-page .code {
	max-width: 100%;
	padding: 0.75rem;
	border: 1px solid var(--forum-border);
	border-left: 0.25rem solid var(--forum-primary);
	border-radius: 0.35rem;
	background: var(--forum-surface-soft) !important;
	color: var(--forum-text) !important;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}

body.forum-page form { max-width: 100%; }
body.forum-page input, body.forum-page textarea, body.forum-page select {
	max-width: 100%;
	padding: 0.35rem 0.55rem;
	border: 1px solid var(--forum-border);
	border-radius: 0.35rem;
	background-color: var(--forum-surface);
	color: var(--forum-text);
	font: inherit;
	text-indent: 0;
}
body.forum-page input[type="checkbox"], body.forum-page input[type="radio"] {
	appearance: auto !important;
	-webkit-appearance: auto !important;
	display: inline-block !important;
	float: none !important;
	flex: 0 0 1rem;
	width: 1rem !important;
	height: 1rem !important;
	min-width: 1rem;
	min-height: 1rem;
	margin: 0 0.45rem 0 0 !important;
	padding: 0 !important;
	border: 1px solid var(--forum-muted) !important;
	background-color: var(--forum-surface) !important;
	background-image: none !important;
	vertical-align: middle;
	accent-color: var(--forum-primary);
}
body.forum-page input[type="checkbox"] { border-radius: 0.25rem !important; }
body.forum-page input[type="radio"] { border-radius: 50% !important; }
body.forum-page .form-check {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 1.25rem;
	margin: 0 0.85rem 0.35rem 0;
	padding-left: 0;
	vertical-align: middle;
}
body.forum-page .form-check .form-check-input { flex: 0 0 1rem; margin: 0 !important; }
body.forum-page input:focus, body.forum-page textarea:focus, body.forum-page select:focus {
	background-color: var(--forum-surface) !important;
	color: var(--forum-text) !important;
}
body.forum-page input::placeholder, body.forum-page textarea::placeholder { color: var(--forum-muted); opacity: 1; }
body.forum-page input[type="submit"], body.forum-page input[type="button"],
body.forum-page input.button, body.forum-page input.mainoption, body.forum-page input.liteoption,
body.forum-page button:not(.navbar-toggler) {
	padding: 0.4rem 0.8rem;
	border: 1px solid var(--forum-primary);
	border-radius: 0.4rem;
	background: var(--forum-primary);
	color: #ffffff;
	font-weight: 600;
	cursor: pointer;
}
body.forum-page input[type="submit"]:hover, body.forum-page input[type="button"]:hover,
body.forum-page input.button:hover, body.forum-page input.mainoption:hover,
body.forum-page input.liteoption:hover, body.forum-page button:not(.navbar-toggler):hover {
	border-color: var(--forum-primary-dark);
	background: var(--forum-primary-dark);
	color: #ffffff;
}
body.forum-page :focus-visible { outline: 3px solid rgba(13, 110, 253, 0.35); outline-offset: 2px; }
body.forum-page .pagination { display: inline-flex; flex-wrap: wrap; gap: 0.25rem; padding: 0.4rem; }
body.forum-page .pagination a, body.forum-page .pagination a:visited,
body.forum-page .pagination a:active {
	padding: 0.25rem 0.55rem;
	border: 1px solid var(--forum-border);
	border-radius: 0.3rem;
	background: var(--forum-surface);
	color: var(--forum-link);
}
body.forum-page .forum-new-topic,
body.forum-page .forum-new-topic:link, body.forum-page .forum-new-topic:visited,
body.forum-page .forum-new-topic:hover, body.forum-page .forum-new-topic:focus {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.5rem;
	padding: 0.5rem 0.9rem;
	border-radius: 0.5rem;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.25;
	white-space: nowrap !important;
	color: #ffffff !important;
	text-decoration: none;
}
body.forum-page .forum-topic-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem 0.85rem;
	width: 100% !important;
	margin: 0 0 0.65rem !important;
}
body.forum-page .forum-topic-toolbar > * {
	display: block;
	width: auto !important;
	padding: 0 !important;
	white-space: normal !important;
}
body.forum-page .forum-topic-toolbar-create { flex: 0 0 auto; }
body.forum-page .forum-topic-toolbar-info { flex: 1 1 15rem; min-width: 0; }
body.forum-page .forum-topic-toolbar-info .gensmall { font-size: 0.9rem; line-height: 1.45; }
body.forum-page .forum-topic-toolbar-pagination { flex: 0 1 auto; margin-left: auto; text-align: right; }
body.forum-page .forum-topic-search { flex: 0 1 24rem; flex-wrap: nowrap !important; min-width: min(100%, 24rem); }
body.forum-page .forum-topic-search .form-label { flex: 0 0 auto; white-space: nowrap; }
body.forum-page .forum-topic-search .form-control { flex: 1 1 auto; width: auto; min-width: 7rem; }
body.forum-page .forum-topic-search > .btn { flex: 0 0 auto; white-space: nowrap; }
body.forum-page .forum-topic-bottom-toolbar { justify-content: flex-start !important; }
body.forum-page .forum-topic-bottom-toolbar > .forum-new-topic { flex: 0 0 auto; }
body.forum-page .forum-topic-bottom-toolbar .forum-topic-search { margin-left: auto; }
body.forum-page .forum-breadcrumb,
body.forum-page .forum-topic-crumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.2rem 0.35rem;
	min-width: 0;
	font-size: 0.9rem;
	line-height: 1.45;
}
body.forum-page .forum-breadcrumb-item { display: inline-flex; flex: 0 1 auto; min-width: 0; }
body.forum-page .forum-breadcrumb-segment { display: inline-flex; flex: 0 1 auto; align-items: center; gap: 0.35rem; min-width: 0; }
body.forum-page .forum-breadcrumb a,
body.forum-page .forum-topic-crumb a { overflow-wrap: anywhere; font-size: inherit; }
body.forum-page .forum-breadcrumb-separator { display: inline-block; flex: 0 0 auto; color: var(--forum-muted); white-space: nowrap; }
body.forum-page .forum-breadcrumb > a.nav,
body.forum-page .forum-breadcrumb-item > a.nav,
body.forum-page .forum-topic-crumb > a.nav,
body.forum-page .forum-topic-crumb .forum-breadcrumb-item > a.nav { font-size: inherit; }
body.forum-page .forum-topic-legend > span { display: inline-flex; align-items: center; gap: 0.35rem; }
body.forum-page .forum-topic-legend img { max-width: none; vertical-align: middle; }
body.forum-page .forum-topic-footer {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.85rem;
	padding: 1rem;
	border: 1px solid var(--forum-border);
	border-radius: 0.6rem;
	background: var(--forum-surface-soft);
	color: var(--forum-text);
}
body.forum-page .forum-topic-legend { justify-content: center; width: 100%; margin: 0; text-align: center; }
body.forum-page .forum-topic-legend > span { padding: 0.2rem 0.35rem; }
body.forum-page .forum-topic-auth-list { width: 100%; max-width: none; margin: 0 auto; text-align: center !important; line-height: 1.7; overflow-wrap: anywhere; }
body.forum-page .forum-topic-navigation {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin: 0 0 0.85rem;
	padding: 0.6rem 0.75rem;
	border: 1px solid var(--forum-border);
	border-radius: 0.55rem;
	background: var(--forum-surface-soft);
}
body.forum-page .forum-topic-navigation-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0.45rem; }
body.forum-page .forum-topic-navigation-actions > .btn { white-space: normal; text-align: center; }
body.forum-page .forum-topic-bottom-actions { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 0.6rem; width: 100%; }
body.forum-page .forum-topic-admin-actions { flex: 1 1 22rem; min-width: 0; text-align: right; }
body.forum-page .forum-topic-admin-actions img { max-width: none !important; height: auto; margin-left: 0.2rem; vertical-align: middle; }
body.forum-page .forum-post-controls { width: 3rem; min-width: 3rem; padding: 0.4rem !important; vertical-align: middle !important; text-align: center !important; }
body.forum-page .forum-post-footer-cell { padding: 0.4rem 0.65rem !important; white-space: normal !important; vertical-align: middle !important; }
body.forum-page .forum-post-row > td { vertical-align: top !important; }
body.forum-page .forum-post-footer-layout { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0.35rem 0.7rem; width: 100%; min-height: 0; }
body.forum-page .forum-post-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; align-items: center; gap: 0.3rem; white-space: normal; }
body.forum-page .forum-post-action-button {
	display: inline-flex;
	min-height: 1.55rem;
	align-items: center;
	justify-content: center;
	padding: 0.12rem 0.45rem !important;
	border-color: var(--forum-border) !important;
	border-radius: 0.35rem !important;
	background: var(--forum-surface) !important;
	color: var(--forum-link) !important;
	font-size: 0.72rem !important;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none !important;
	white-space: nowrap;
}
body.forum-page .forum-post-action-button:hover,
body.forum-page .forum-post-action-button:focus { border-color: var(--forum-primary) !important; background: var(--forum-primary) !important; color: #fff !important; }
body.forum-page .forum-post-jump-button {
	display: inline-flex;
	width: 1.7rem;
	height: 1.7rem;
	align-items: center;
	justify-content: center;
	padding: 0 !important;
	border-color: var(--forum-border) !important;
	border-radius: 50% !important;
	background: var(--forum-surface) !important;
	color: var(--forum-link) !important;
	font-size: 0.85rem;
	line-height: 1;
	text-decoration: none !important;
}
body.forum-page .forum-post-jump-button:hover,
body.forum-page .forum-post-jump-button:focus { border-color: var(--forum-primary) !important; background: var(--forum-primary) !important; color: #fff !important; }
body.forum-page .forum-post-user-fields { flex: 0 1 auto; }
body.forum-page .forum-post-meta {
	display: flex !important;
	flex-wrap: wrap;
	min-width: 0;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	white-space: normal;
}
body.forum-page .forum-post-meta-actions { min-width: 0; }
body.forum-page .forum-post-meta img { display: inline-block; max-width: none !important; height: auto; vertical-align: middle; }
body.forum-page .forum-user-agent { display: inline-flex; flex: 0 0 auto; flex-wrap: nowrap; min-width: max-content; align-items: center; justify-content: flex-end; gap: 0.2rem; margin-left: auto; text-align: right; vertical-align: middle; white-space: nowrap; }
body.forum-page .forum-user-agent img {
	box-sizing: border-box;
	width: 1.5rem !important;
	height: 1.5rem !important;
	max-width: 1.5rem !important;
	max-height: 1.5rem !important;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	object-fit: contain;
	vertical-align: middle;
}
body.forum-page .forum-user-agent img.forum-user-agent-system {
	width: 1.55rem !important;
	height: 1.55rem !important;
	max-width: 1.55rem !important;
	max-height: 1.55rem !important;
}
body.forum-page .forum-user-agent img.forum-user-agent-browser {
	width: 1.55rem !important;
	height: 1.55rem !important;
	max-width: 1.55rem !important;
	max-height: 1.55rem !important;
}
body.forum-page .pm-quota { width: 175px; border-color: var(--forum-border); background: var(--forum-surface); color: var(--forum-text); }
body.forum-page .pm-quota td.row1 { background-color: var(--forum-surface) !important; color: var(--forum-text) !important; }
body.forum-page .pm-quota td.row2 { background-color: var(--forum-row-alt) !important; color: var(--forum-text) !important; }
body.forum-page .pm-quota .gensmall { color: var(--forum-text) !important; }
body.forum-page .pm-quota td[bgcolor] { background-color: var(--forum-primary) !important; }

/* Posting controls: keep the legacy editor usable with the responsive skin. */
body.forum-page .posting-form { table-layout: auto; }
body.forum-page .posting-options-table { width: auto; max-width: 100%; }
body.forum-page .posting-options-table td:first-child { width: 1.75rem; min-width: 1.75rem; text-align: center; vertical-align: middle; }
body.forum-page .posting-options-table td:last-child { padding: 0.35rem 0.5rem !important; }
body.forum-page .forum-recipient-input-group { display: flex; flex-wrap: nowrap; width: min(100%, 34rem); }
body.forum-page .forum-recipient-input-group > .form-control { flex: 1 1 auto; width: 1%; min-width: 0; }
body.forum-page .forum-recipient-input-group > .btn { flex: 0 0 auto; width: auto !important; white-space: nowrap; }
body.forum-page .posting-poll-heading th { padding: 0.75rem 0.9rem !important; text-align: left; }
body.forum-page .posting-poll-help td { padding: 0.6rem 0.9rem !important; }
body.forum-page .posting-poll-row > td { padding: 0.75rem 0.9rem !important; background: var(--forum-surface-soft) !important; }
body.forum-page .posting-poll-field { display: grid; grid-template-columns: minmax(10rem, 0.32fr) minmax(0, 1fr); align-items: center; gap: 0.45rem 0.9rem; width: 100%; }
body.forum-page .posting-poll-field .form-label { grid-column: 1; grid-row: 1; margin: 0; color: var(--forum-text); font-weight: 700; }
body.forum-page .posting-poll-input { width: 100% !important; max-width: 48rem; }
body.forum-page .posting-poll-field > .posting-poll-input,
body.forum-page .posting-poll-field > .posting-poll-option-controls,
body.forum-page .posting-poll-field > .posting-poll-duration-controls,
body.forum-page .posting-poll-field > .posting-poll-visibility-controls { grid-column: 2; grid-row: 1; min-width: 0; }
body.forum-page .posting-poll-field > .form-text { grid-column: 2; grid-row: 2; margin: 0; }
body.forum-page .posting-poll-compact-field > .posting-poll-short { grid-column: 2; grid-row: 1; width: 6rem !important; }
body.forum-page .posting-poll-compact-field > .form-text { grid-row: 2; }
body.forum-page .posting-poll-option-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; width: 100%; }
body.forum-page .posting-poll-option-controls .posting-poll-input { flex: 1 1 18rem; min-width: 10rem; }
body.forum-page .posting-poll-option-controls .btn { flex: 0 0 auto; width: auto !important; }
body.forum-page .posting-poll-short { width: 6rem !important; max-width: 100%; }
body.forum-page .posting-poll-duration-controls,
body.forum-page .posting-poll-visibility-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; }
body.forum-page .posting-poll-duration-input { display: flex; flex: 0 1 auto; width: auto; max-width: 100%; }
body.forum-page .posting-poll-duration-input .form-control { min-width: 0; }
body.forum-page .posting-poll-duration-input .form-control { flex: 0 0 6rem; width: 6rem !important; }
body.forum-page .posting-poll-duration-input .input-group-text { flex: 0 0 auto; white-space: nowrap; border-color: var(--forum-border); background: var(--forum-row-alt); color: var(--forum-text); }
body.forum-page .posting-poll-field .form-text { color: var(--forum-muted); }
body.forum-page .posting-poll-delete { display: inline-flex; align-items: center; }
body.forum-page .posting-smilies-grid {
	width: 100% !important;
	max-width: 22rem;
	margin: 0 auto;
	table-layout: auto;
	border-collapse: separate;
	border-spacing: 0.2rem;
}
body.forum-page .posting-smilies-grid td,
body.forum-page .posting-smilies-grid tr:hover > td {
	width: auto;
	min-width: 2rem;
	padding: 0.2rem !important;
	background: transparent !important;
	text-align: center;
}
body.forum-page .posting-smilies-grid img {
	display: block;
	width: auto !important;
	height: auto !important;
	max-width: none !important;
	margin: 0 auto;
	cursor: pointer;
}
body.forum-page .posting-topic-icon-picker {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.15rem;
	font-size: 0;
}
body.forum-page .posting-topic-icon-picker input[type="radio"] {
	flex: 0 0 auto;
	margin: 0 0.15rem 0 0.35rem;
}
body.forum-page .posting-topic-icon-picker img {
	display: inline-block;
	width: auto !important;
	height: auto !important;
	max-width: none !important;
	margin-right: 0.2rem;
	vertical-align: middle;
}
body.forum-page .posting-editor-tools {
	width: 100% !important;
	max-width: 100%;
	table-layout: fixed;
	border-collapse: separate;
	border-spacing: 0 0.35rem;
}
body.forum-page .posting-editor-tools > tbody > tr > td {
	padding: 0.3rem !important;
	background: transparent !important;
}
body.forum-page .posting-bbcode-buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem;
	font-size: 0;
}
body.forum-page .posting-bbcode-buttons input.button {
	flex: 0 0 auto;
	width: auto !important;
	min-width: 2.65rem;
	min-height: 2.35rem;
	margin: 0 !important;
	padding: 0.4rem 0.7rem;
	border-radius: 0.5rem;
	font: 600 0.85rem/1.2 system-ui, -apple-system, "Segoe UI", sans-serif;
	text-indent: 0 !important;
}
body.forum-page .posting-format-grid {
	width: 100% !important;
	table-layout: auto;
	border-collapse: separate;
	border-spacing: 0.2rem 0.35rem;
}
body.forum-page .posting-format-grid td {
	padding: 0.35rem !important;
	background: transparent !important;
	vertical-align: middle;
}
body.forum-page .posting-format-grid select {
	width: 100%;
	min-width: 7.5rem;
	min-height: 2.45rem;
}
body.forum-page .posting-format-grid td[colspan] { text-align: left !important; }
body.forum-page .posting-form input[name="subject"],
body.forum-page .posting-form input[name="subject_e"],
body.forum-page .posting-form textarea#message {
	width: 100% !important;
	max-width: 100%;
}
body.forum-page .posting-form textarea#message { min-height: 18rem; }
body.forum-page .posting-editor-help-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem;
	white-space: normal !important;
}
body.forum-page .posting-editor-help { flex: 1 1 18rem; min-width: 0; }
body.forum-page .posting-editor-help input { width: 100% !important; }
body.forum-page .posting-editor-help-row input[type="button"] {
	width: auto !important;
	min-width: 2.3rem;
	min-height: 2.3rem;
	margin: 0;
}
html[data-bs-theme="dark"] body.forum-page .forumline td.row1,
html[data-bs-theme="dark"] body.forum-page .forumline td.cat,
html[data-bs-theme="dark"] body.forum-page .forumline td.catHead,
html[data-bs-theme="dark"] body.forum-page .forumline td.catSides,
html[data-bs-theme="dark"] body.forum-page .forumline td.catLeft,
html[data-bs-theme="dark"] body.forum-page .forumline td.catRight,
html[data-bs-theme="dark"] body.forum-page .forumline td.catBottom {
	background-color: var(--forum-surface) !important;
}
html[data-bs-theme="dark"] body.forum-page .forumline td.row2,
html[data-bs-theme="dark"] body.forum-page .forumline td.row3,
html[data-bs-theme="dark"] body.forum-page .forumline td.rowpic,
html[data-bs-theme="dark"] body.forum-page .forumline td.spaceRow {
	background-color: var(--forum-row-alt) !important;
}
html[data-bs-theme="dark"] body.forum-page .forumline th { background-color: var(--forum-primary) !important; }
html[data-bs-theme="dark"] body.forum-page .badwordhighlight { color: #111; }

@media (max-width: 767.98px) {
	body.forum-page .forum-topic-bottom-actions { align-items: stretch; }
	body.forum-page .forum-topic-admin-actions { flex-basis: 100%; }
	.forum-layout-shell { width: 100% !important; max-width: none; margin: 0 !important; padding: 0 !important; }
	.forum-frame { padding: 0.65rem !important; border-radius: 0; }
	.forum-brandbar { min-height: 0; gap: 0.7rem; padding: 0.75rem; border-radius: 0.65rem 0.65rem 0 0; }
	body.forum-page .forum-brand-logo img { max-width: 96px; max-height: 64px; }
	.forum-brand-copy { text-align: left; }
	.forum-brand-copy .maintitle { font-size: 1.25rem; }
	.forum-site-description { font-size: 0.8rem; }
	.forum-navbar { padding: 0.25rem 0.65rem; border-radius: 0 0 0.65rem 0.65rem; }
	.forum-navbar .navbar-collapse { padding: 0.5rem 0 0.25rem; }
	.forum-navbar .navbar-nav { align-items: stretch; }
	.forum-navbar .nav-link { width: 100%; padding: 0.55rem 0.45rem !important; }
	.forum-profile-links { align-items: stretch; }
	.forum-theme-toggle { margin: 0.5rem 0; }
	.forum-header-avatar { margin: 0; }
	.forum-main-content { overflow-wrap: anywhere; }
	body.forum-page table.forumline { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
	body.forum-page .forumline td, body.forum-page .forumline th { padding: 0.45rem; }
	body.forum-page input, body.forum-page textarea, body.forum-page select { font-size: 16px; }
	body.forum-page .postbody img, body.forum-page .postbody iframe, body.forum-page .postbody video { max-width: 100%; }
	body.forum-page .forum-topic-navigation { align-items: stretch; }
	body.forum-page .forum-topic-navigation-actions { justify-content: flex-start; width: 100%; }
	body.forum-page .forum-topic-navigation-actions .pagination { order: 0; width: 100%; }
	body.forum-page .forum-topic-navigation-actions > .btn { flex: 1 1 auto; }
	body.forum-page .forum-topic-bottom-toolbar .forum-topic-search { flex: 1 1 100%; margin-left: 0; }
	body.forum-page .forum-topic-search .form-control { flex: 1 1 auto; width: 1%; min-width: 0; }
	body.forum-page .forum-topic-search .form-label { max-width: 8rem; white-space: normal; }
	body.forum-page .forum-topic-auth-list { text-align: left; }
	body.forum-page .forum-post-actions { flex: 1 1 100%; }
	body.forum-page .forum-post-user-fields { flex: 1 1 auto; }
	body.forum-page .forum-post-meta { flex: 1 1 100%; margin-left: 0; text-align: left !important; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}

/* The shoutbox message list is rendered in a same-origin iframe. */
body.forum-page #SB_box {
	border: 1px solid var(--forum-border);
	border-radius: 0.4rem;
	background: var(--forum-surface) !important;
	color: var(--forum-text) !important;
}
body.forum-page #SB_inner { background: var(--forum-surface) !important; color: var(--forum-text) !important; }
body.forum-page #SB_inner .table0 {
	width: 100% !important;
	padding: 0.3rem 0.45rem;
	border: 0;
	border-bottom: 1px solid var(--forum-border);
	background: var(--forum-surface) !important;
	color: var(--forum-text) !important;
	font-size: 0.8rem;
}
body.forum-page #SB_inner .table0 td.row1 {
	background: var(--forum-surface-soft) !important;
	color: var(--forum-text) !important;
}
body.forum-page #SB_inner .table0 td.row2 {
	background: var(--forum-row-alt) !important;
	color: var(--forum-text) !important;
}
body.forum-page #SB_inner .table0 span { color: inherit !important; }
body.forum-page #SB_inner .table0 a:link,
body.forum-page #SB_inner .table0 a:visited { color: var(--forum-link); }

/* Keep legacy pages within the viewport and reflow dense tables on phones. */
@media (max-width: 767.98px) {
	html, body.forum-page { max-width: 100%; overflow-x: hidden; }
	body.forum-page #forum-main { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
	body.forum-page #forum-main input,
	body.forum-page #forum-main select,
	body.forum-page #forum-main textarea { max-width: 100%; box-sizing: border-box; }
	body.forum-page #forum-main table.forumline { overflow-x: auto; }

	/* Profile: put the avatar, details and contact information in readable rows. */
	body.forum-page .profile-view-table {
		display: block !important;
		width: 100% !important;
		table-layout: auto !important;
		overflow: visible !important;
	}
	body.forum-page .profile-view-table tr { display: block; width: 100%; }
	body.forum-page .profile-view-table th,
	body.forum-page .profile-view-table > tbody > tr > td {
		display: block;
		width: auto !important;
		max-width: 100%;
		white-space: normal !important;
		box-sizing: border-box;
	}
	body.forum-page .profile-view-table .profile-avatar-cell { text-align: center !important; }
	body.forum-page .profile-view-table .profile-details-cell,
	body.forum-page .profile-view-table .profile-contact-cell { padding: 0.65rem !important; }
	body.forum-page .profile-details-table,
	body.forum-page .profile-contact-table { display: table !important; width: 100% !important; table-layout: fixed; }
	body.forum-page .profile-details-table > tbody > tr,
	body.forum-page .profile-contact-table > tbody > tr {
		display: grid;
		grid-template-columns: minmax(6.5rem, 38%) minmax(0, 1fr);
		width: 100%;
	}
	body.forum-page .profile-details-table > tbody > tr > td,
	body.forum-page .profile-contact-table > tbody > tr > td {
		display: block;
		min-width: 0;
		width: auto !important;
		white-space: normal !important;
		text-align: left !important;
		overflow-wrap: anywhere;
	}
	body.forum-page .profile-details-table > tbody > tr > td[colspan],
	body.forum-page .profile-contact-table > tbody > tr > td[colspan] { grid-column: 1 / -1; }

	/* Member directory and report queue become compact, labelled cards. */
	body.forum-page .memberlist-table,
	body.forum-page .report-list-table,
	body.forum-page .pm-list-table,
	body.forum-page .search-topic-results { display: block !important; width: 100% !important; overflow: visible !important; }
	body.forum-page .memberlist-table tr.memberlist-header,
	body.forum-page .report-list-table tr.report-list-header,
	body.forum-page .pm-list-table tr.pm-list-header,
	body.forum-page .search-topic-results tr.search-topic-header { display: none !important; }
	body.forum-page .memberlist-table tr.memberlist-row,
	body.forum-page .report-list-table tr.report-list-row,
	body.forum-page .pm-list-table tr.pm-list-row {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: 100%;
		margin: 0 0 0.7rem;
		border: 1px solid var(--forum-border);
		border-radius: 0.55rem;
		overflow: hidden;
	}
	body.forum-page .memberlist-table tr.memberlist-row > td,
	body.forum-page .report-list-table tr.report-list-row > td,
	body.forum-page .pm-list-table tr.pm-list-row > td {
		display: flex;
		flex-direction: column;
		justify-content: center;
		min-width: 0;
		width: auto !important;
		padding: 0.55rem !important;
		white-space: normal !important;
		text-align: left !important;
		overflow-wrap: anywhere;
		box-sizing: border-box;
	}
	body.forum-page .memberlist-table tr.memberlist-row > td::before,
	body.forum-page .report-list-table tr.report-list-row > td::before,
	body.forum-page .pm-list-table tr.pm-list-row > td::before {
		content: attr(data-label);
		margin-bottom: 0.2rem;
		color: var(--forum-muted);
		font-size: 0.7rem;
		font-weight: 700;
		line-height: 1.25;
	}
	body.forum-page .memberlist-table td.memberlist-avatar { align-items: center; }
	body.forum-page .memberlist-table td.memberlist-username { font-weight: 700; }
	body.forum-page .memberlist-table tr.memberlist-footer { display: flex; flex-wrap: wrap; }
	body.forum-page .memberlist-table tr.memberlist-footer td { flex: 1 1 100%; width: auto !important; }
	body.forum-page .report-list-table tr.report-list-row > td:first-child,
	body.forum-page .pm-list-table tr.pm-list-row > td.pm-list-subject { grid-column: 1 / -1; }
	body.forum-page .pm-list-table tr.pm-list-row > td.pm-list-mark { align-items: center; }
	body.forum-page .search-topic-results tr.search-topic-row {
		display: grid;
		grid-template-columns: 2.5rem repeat(2, minmax(0, 1fr));
		width: 100%;
		margin: 0 0 0.7rem;
		border: 1px solid var(--forum-border);
		border-radius: 0.55rem;
		overflow: hidden;
	}
	body.forum-page .search-topic-results tr.search-topic-row > td {
		display: block;
		min-width: 0;
		width: auto !important;
		padding: 0.5rem !important;
		white-space: normal !important;
		text-align: left !important;
		overflow-wrap: anywhere;
		box-sizing: border-box;
	}
	body.forum-page .search-topic-results .search-topic-status { grid-column: 1; grid-row: 1 / span 2; text-align: center !important; }
	body.forum-page .search-topic-results .search-topic-forum,
	body.forum-page .search-topic-results .search-topic-title { grid-column: 2 / -1; }
	body.forum-page .search-topic-results .search-topic-ignore { grid-column: 1 / -1; }
	body.forum-page .search-topic-results td[data-label]:not(.search-topic-title)::before { content: attr(data-label) ": "; color: var(--forum-muted); font-size: 0.7rem; font-weight: 700; }

	/* Search posts keep a readable author column while message content wraps. */
	body.forum-page .search-post-results { display: table !important; width: 100% !important; table-layout: fixed; overflow: visible !important; }
	body.forum-page .search-post-results th { display: none; }
	body.forum-page .search-post-results td { min-width: 0; padding: 0.5rem !important; white-space: normal !important; overflow-wrap: anywhere; }
	body.forum-page .search-post-results td[rowspan] { width: 6rem !important; }
	body.forum-page .search-post-results .postbody { overflow-wrap: anywhere; }

	/* Private-message quotas, folders and message content fit narrow screens. */
	body.forum-page .pm-overview-layout { display: block !important; width: 100% !important; }
	body.forum-page .pm-overview-layout > tbody,
	body.forum-page .pm-overview-layout > tbody > tr { display: block; width: 100%; }
	body.forum-page .pm-overview-layout > tbody > tr > td { display: block; width: 100% !important; padding: 0.35rem !important; box-sizing: border-box; }
	body.forum-page .pm-quota { width: 100% !important; max-width: 100%; }
	body.forum-page .pm-folder-nav-cell table { width: 100% !important; height: auto; }
	body.forum-page .pm-folder-nav-cell table tr { display: flex; flex-wrap: wrap; justify-content: center; }
	body.forum-page .pm-folder-nav-cell table td { display: inline-flex; align-items: center; padding: 0.25rem !important; }
	body.forum-page .pm-read-table { display: block !important; width: 100% !important; table-layout: fixed; overflow: visible !important; }
	body.forum-page .pm-read-table tr { display: grid; grid-template-columns: minmax(5.5rem, 30%) minmax(0, 1fr); }
	body.forum-page .pm-read-table th,
	body.forum-page .pm-read-table td { display: block; min-width: 0; width: auto !important; padding: 0.5rem !important; white-space: normal !important; overflow-wrap: anywhere; box-sizing: border-box; }
	body.forum-page .pm-read-table td[colspan],
	body.forum-page .pm-read-table th[colspan] { grid-column: 1 / -1; }
	body.forum-page .pm-read-table td table { max-width: 100%; }

	/* Statistical modules may contain wide month-by-month tables; contain their scroll. */
	body.forum-page #forum-main > table.forumline { max-width: 100%; }
	body.forum-page #forum-main table.forumline th,
	body.forum-page #forum-main table.forumline td { overflow-wrap: anywhere; }
}

/* Use Bootstrap components across the remaining legacy template fragments. */
body.forum-page table.table {
	--bs-table-color: var(--forum-text);
	--bs-table-bg: transparent;
	--bs-table-border-color: var(--forum-border);
	--bs-table-striped-color: var(--forum-text);
	--bs-table-striped-bg: var(--forum-surface-soft);
	--bs-table-hover-color: var(--forum-text);
	--bs-table-hover-bg: transparent;
}
body.forum-page .forum-layout-shell > .forum-frame { width: 100%; }
body.forum-page .forum-footer {
	margin-top: 1rem;
	padding: 0.75rem 0.25rem 0;
	border-top: 1px solid var(--forum-border);
	color: var(--forum-muted);
}
body.forum-page .forum-footer .copyright { color: inherit !important; }
body.forum-page .forum-pagination { margin: 0.35rem 0; color: var(--forum-muted); }
body.forum-page .forum-pagination-label { font-size: 0.85rem; }
body.forum-page .forum-pagination .pagination {
	padding: 0;
	list-style: none;
}
body.forum-page .forum-pagination .page-link {
	min-width: 2.1rem;
	padding: 0.3rem 0.55rem;
	border-color: var(--forum-border);
	background: var(--forum-surface);
	color: var(--forum-link);
	text-align: center;
}
body.forum-page .forum-pagination .page-link:hover,
body.forum-page .forum-pagination .page-link:focus {
	border-color: var(--forum-border);
	background: var(--forum-row-alt);
	color: var(--forum-link-hover);
}
body.forum-page .forum-pagination .page-item.active .page-link {
	border-color: var(--forum-primary);
	background: var(--forum-primary);
	color: #fff;
}
body.forum-page .forum-pagination .forum-pagination-gap { display: none; }
body.forum-page .forum-jumpbox { max-width: 100%; vertical-align: middle; }
body.forum-page .forum-jumpbox select,
body.forum-page select.form-select {
	display: inline-block;
	width: auto;
	max-width: 100%;
}
body.forum-page .forum-search-card select.form-select { width: 100%; }
body.forum-page input.form-control[size] {
	width: auto;
	max-width: 100%;
}
body.forum-page input.btn { width: auto !important; }
body.forum-page .btn-primary {
	--bs-btn-color: #fff;
	--bs-btn-bg: var(--forum-primary);
	--bs-btn-border-color: var(--forum-primary);
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: var(--forum-primary-dark);
	--bs-btn-hover-border-color: var(--forum-primary-dark);
	--bs-btn-active-bg: var(--forum-primary-dark);
	--bs-btn-active-border-color: var(--forum-primary-dark);
	--bs-btn-disabled-bg: var(--forum-primary);
	--bs-btn-disabled-border-color: var(--forum-primary);
}

@media (max-width: 767.98px) {
	body.forum-page .forum-layout-shell {
		width: 100% !important;
		max-width: none;
		margin: 0 !important;
	}
	body.forum-page .forum-frame { border-radius: 0; }
	body.forum-page #forum-main table.table.forumline:not(.memberlist-table):not(.report-list-table):not(.pm-list-table):not(.search-topic-results):not(.search-post-results) {
		display: block;
		width: 100% !important;
		max-width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
	body.forum-page #forum-main table.table.forumline:not(.memberlist-table):not(.report-list-table):not(.pm-list-table):not(.search-topic-results):not(.search-post-results) th,
	body.forum-page #forum-main table.table.forumline:not(.memberlist-table):not(.report-list-table):not(.pm-list-table):not(.search-topic-results):not(.search-post-results) td {
		max-width: 85vw;
		white-space: normal;
	}
	body.forum-page .forum-pagination { align-items: flex-start; }
}

/* Keep mobile tables inside the viewport without forcing every cell into a
   narrow desktop-style column. Dense pages that need scrolling keep their own
   explicit overflow container. */
@media (max-width: 767.98px) {
	body.forum-page #forum-main table.forumline { max-width: 100%; }
	body.forum-page #forum-main table.forumline th,
	body.forum-page #forum-main table.forumline td {
		max-width: none !important;
		height: auto !important;
		min-height: 0 !important;
		white-space: normal;
		overflow-wrap: anywhere;
		line-height: 1.35;
	}
	body.forum-page #forum-main .card,
	body.forum-page #forum-main .card-header,
	body.forum-page #forum-main .card-body { width: 100%; max-width: 100%; box-sizing: border-box; }
	body.forum-page .forum-search-card > .card-header { width: 100% !important; }
	body.forum-page #forum-main table.table.forumline:not(.memberlist-table):not(.report-list-table):not(.pm-list-table):not(.search-topic-results):not(.search-post-results):not(.forum-index-table):not(.forum-topic-table):not(.profile-edit-table):not(.profile-view-table):not(.group-info-table):not(.group-members-table) {
		display: block;
		width: 100% !important;
		max-width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
	body.forum-page .forum-agreement-content,
	body.forum-page #forum-main table table[width="80%"] { width: 100% !important; }

	/* Home forum rows use one readable description row and three compact stats. */
	body.forum-page #forum-main .forum-index-table {
		display: table !important;
		width: 100% !important;
		table-layout: fixed;
		overflow: hidden !important;
	}
	body.forum-page .forum-index-table tr.forum-index-column-head { display: none !important; }
	body.forum-page .forum-index-table tr.forum-index-category-row { display: block; width: 100%; }
	body.forum-page .forum-index-table tr.forum-index-category-row > td {
		display: block;
		width: 100% !important;
		max-width: none !important;
		box-sizing: border-box;
	}
	body.forum-page .forum-index-table tr.forum-index-row {
		display: grid;
		grid-template-columns: 3rem repeat(3, minmax(0, 1fr));
		width: 100%;
		min-width: 0;
		border-bottom: 1px solid var(--forum-border);
	}
	body.forum-page .forum-index-table tr.forum-index-row > td {
		display: block;
		min-width: 0;
		width: auto !important;
		max-width: none !important;
		padding: 0.55rem !important;
		white-space: normal !important;
		overflow-wrap: anywhere;
		box-sizing: border-box;
	}
	body.forum-page .forum-index-table tr.forum-index-row > td:not(.forum-index-icon-cell):not(.forum-index-description-cell):not([data-label]):not([colspan]) { display: none !important; }
	body.forum-page .forum-index-table .forum-index-icon-cell { grid-column: 1; grid-row: 1 / span 2; align-self: stretch; min-width: 0; border-right: 0; }
	body.forum-page .forum-index-table .forum-index-description-cell { grid-column: 2 / -1; grid-row: 1; width: auto !important; }
	body.forum-page .forum-index-table tr.forum-index-row .forum-index-topics { grid-column: 2; grid-row: 2; }
	body.forum-page .forum-index-table tr.forum-index-row .forum-index-posts { grid-column: 3; grid-row: 2; }
	body.forum-page .forum-index-table tr.forum-index-row .forum-index-lastpost { grid-column: 4; grid-row: 2; }
	body.forum-page .forum-index-table tr.forum-index-row > td.forum-index-link-hits { grid-column: 2 / -1; grid-row: 2; }
	body.forum-page .forum-index-table tr.forum-index-row td[data-label] { text-align: center !important; }
	body.forum-page .forum-index-table tr.forum-index-row td[data-label]::before {
		display: block;
		margin-bottom: 0.15rem;
		color: var(--forum-muted);
		font-size: 0.7rem;
		font-weight: 700;
		line-height: 1.2;
		content: attr(data-label);
	}

	/* Topic listings become short cards with a clear title and labelled metadata. */
	body.forum-page #forum-main .forum-topic-table:not(.forum-view-post-table) {
		display: table !important;
		width: 100% !important;
		table-layout: fixed;
		overflow: hidden !important;
	}
	body.forum-page .forum-topic-table tr.forum-topic-column-head { display: none !important; }
	body.forum-page .forum-topic-table tr.forum-topic-row {
		display: grid;
		grid-template-columns: 2.25rem 2.25rem repeat(3, minmax(0, 1fr));
		width: 100%;
		min-width: 0;
		border-bottom: 1px solid var(--forum-border);
		background: var(--forum-surface);
	}
	body.forum-page .forum-topic-table tr.forum-topic-row > td {
		display: block;
		min-width: 0;
		width: auto !important;
		max-width: none !important;
		height: auto !important;
		padding: 0.45rem !important;
		white-space: normal !important;
		vertical-align: top !important;
		overflow-wrap: anywhere;
		box-sizing: border-box;
	}
	body.forum-page .forum-topic-table tr.forum-topic-row > td.forum-topic-status { grid-column: 1; grid-row: 1; text-align: center !important; }
	body.forum-page .forum-topic-table tr.forum-topic-row > td.forum-topic-icon { grid-column: 2; grid-row: 1; text-align: center !important; }
	body.forum-page .forum-topic-table tr.forum-topic-row > td.forum-topic-title { grid-column: 3 / -1; grid-row: 1; }
	body.forum-page .forum-topic-table tr.forum-topic-row > td.forum-topic-checkbox { grid-column: 1 / -1; grid-row: 4; }
	body.forum-page .forum-topic-table tr.forum-topic-row > td.forum-topic-replies { grid-column: 3; grid-row: 2; }
	body.forum-page .forum-topic-table tr.forum-topic-row > td.forum-topic-author { grid-column: 4; grid-row: 2; }
	body.forum-page .forum-topic-table tr.forum-topic-row > td.forum-topic-views { grid-column: 5; grid-row: 2; }
	body.forum-page .forum-topic-table tr.forum-topic-row > td.forum-topic-lastpost { grid-column: 3 / -1; grid-row: 3; }
	body.forum-page .forum-topic-table tr.forum-topic-row > td.forum-topic-meta { border-top: 1px solid var(--forum-border); background: var(--forum-row-alt) !important; text-align: left !important; }
	body.forum-page .forum-topic-table tr.forum-topic-row > td.forum-topic-meta[data-label]::before {
		display: block;
		margin-bottom: 0.1rem;
		color: var(--forum-muted);
		font-size: 0.68rem;
		font-weight: 700;
		line-height: 1.2;
		content: attr(data-label);
	}
	body.forum-page .forum-topic-title > .topictitle,
	body.forum-page .forum-topic-title > .gensmall { display: block; }
	body.forum-page .forum-topic-table tr:not(.forum-topic-row):not(.forum-topic-column-head) > td { display: block; width: 100% !important; box-sizing: border-box; }

	/* Member profile fields and registration rows must not inherit desktop columns. */
	body.forum-page #forum-main .profile-view-table,
	body.forum-page #forum-main .profile-edit-table,
	body.forum-page #forum-main .group-info-table,
	body.forum-page #forum-main .group-members-table {
		display: block !important;
		width: 100% !important;
		table-layout: auto !important;
		overflow: visible !important;
	}
	body.forum-page .profile-view-table > tbody,
	body.forum-page .profile-view-table > tbody > tr,
	body.forum-page .profile-edit-table > tbody,
	body.forum-page .profile-edit-table > tbody > tr,
	body.forum-page .group-info-table > tbody,
	body.forum-page .group-info-table > tbody > tr { display: block; width: 100%; }
	body.forum-page .profile-view-table th,
	body.forum-page .profile-view-table > tbody > tr > td,
	body.forum-page .profile-edit-table th,
	body.forum-page .profile-edit-table td,
	body.forum-page .group-info-table th,
	body.forum-page .group-info-table td {
		display: block;
		width: 100% !important;
		max-width: none !important;
		white-space: normal !important;
		box-sizing: border-box;
	}
	body.forum-page .profile-view-table .profile-avatar-cell { text-align: center !important; }
	body.forum-page .profile-view-table .profile-avatar-cell img { max-width: min(100%, 12rem); height: auto; }
	body.forum-page .profile-view-table .profile-details-cell,
	body.forum-page .profile-view-table .profile-contact-cell { padding: 0.55rem !important; }
	body.forum-page .profile-details-table,
	body.forum-page .profile-contact-table { display: block !important; width: 100% !important; table-layout: auto !important; }
	body.forum-page .profile-details-table > tbody,
	body.forum-page .profile-contact-table > tbody { display: block; width: 100%; }
	body.forum-page .profile-details-table > tbody > tr,
	body.forum-page .profile-contact-table > tbody > tr {
		display: grid;
		grid-template-columns: minmax(7rem, 36%) minmax(0, 1fr);
		width: 100%;
	}
	body.forum-page .profile-details-table > tbody > tr > td,
	body.forum-page .profile-contact-table > tbody > tr > td {
		display: block;
		min-width: 0;
		width: auto !important;
		max-width: none !important;
		white-space: normal !important;
		text-align: left !important;
		overflow-wrap: anywhere;
	}
	body.forum-page .profile-details-table > tbody > tr > td[colspan],
	body.forum-page .profile-contact-table > tbody > tr > td[colspan] { grid-column: 1 / -1; }
	body.forum-page .profile-edit-table .home-register-spacer { display: none !important; }
	body.forum-page .profile-edit-table input.form-control,
	body.forum-page .profile-edit-table textarea.form-control,
	body.forum-page .profile-edit-table select.form-select { width: 100% !important; max-width: 100%; }
	body.forum-page .home-register-table { display: block !important; width: 100% !important; overflow: hidden !important; }
	body.forum-page .home-register-table > tbody,
	body.forum-page .home-register-table > tbody > tr,
	body.forum-page .home-register-table > tbody > tr > td,
	body.forum-page .home-register-table table,
	body.forum-page .home-register-table table > tbody,
	body.forum-page .home-register-table table > tbody > tr,
	body.forum-page .home-register-table table > tbody > tr > td {
		display: block;
		width: 100% !important;
		max-width: none !important;
		box-sizing: border-box;
	}
	body.forum-page .home-register-table table > tbody > tr > td.home-register-spacer { display: none !important; }
	body.forum-page .home-register-table input.form-control { width: 100% !important; max-width: 24rem; }
	body.forum-page .home-register-table .form-check-input { width: 1rem !important; height: 1rem !important; }

	/* Group members are labelled cards rather than seven compressed columns. */
	body.forum-page .group-members-table > tbody,
	body.forum-page .group-members-table > tbody > tr { display: block; width: 100%; }
	body.forum-page .group-members-table > tbody > tr:first-child { display: none !important; }
	body.forum-page .group-members-table tr.group-member-row {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: 100%;
		margin: 0 0 0.65rem;
		border: 1px solid var(--forum-border);
		border-radius: 0.55rem;
		overflow: hidden;
	}
	body.forum-page .group-members-table tr.group-member-row > td {
		display: flex;
		flex-direction: column;
		justify-content: center;
		min-width: 0;
		width: auto !important;
		max-width: none !important;
		padding: 0.5rem !important;
		white-space: normal !important;
		text-align: left !important;
		overflow-wrap: anywhere;
		box-sizing: border-box;
	}
	body.forum-page .group-members-table tr.group-member-row > td::before {
		content: attr(data-label);
		margin-bottom: 0.15rem;
		color: var(--forum-muted);
		font-size: 0.68rem;
		font-weight: 700;
	}
	body.forum-page .group-members-table tr.catSides,
	body.forum-page .group-members-table tr.catBottom,
	body.forum-page .group-members-table tr > td[colspan] { display: block; width: 100% !important; box-sizing: border-box; }

	/* Keep the home login controls and username-search popup usable on phones. */
	body.forum-page .forum-index-quickbar,
	body.forum-page .forum-index-quickbar > tbody,
	body.forum-page .forum-index-quickbar > tbody > tr { display: block; width: 100%; }
	body.forum-page .forum-index-quickbar > tbody > tr > td { display: block; width: 100% !important; padding: 0.35rem 0 !important; text-align: left !important; box-sizing: border-box; }
	body.forum-page .forum-inline-login { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; width: 100%; }
	body.forum-page .forum-inline-login > .form-control { flex: 1 1 7rem; width: auto !important; min-width: 0; }
	body.forum-page .forum-inline-autologin { display: inline-flex; align-items: center; gap: 0.35rem; margin: 0; }
	body.forum-page form[name="search"] { width: 100%; }
	body.forum-page form[name="search"] > table,
	body.forum-page form[name="search"] table.forumline { display: table !important; width: 100% !important; table-layout: auto; }
	body.forum-page form[name="search"] input[name="search_username"] { display: inline-block; width: min(100%, 24rem) !important; }
	body.forum-page form[name="search"] select.form-select { width: min(100%, 24rem); }
}

/* Keep the topic post footer and navigation rows content-sized on every width. */
body.forum-page .forum-topic-table.forum-view-post-table table.forum-post-tree-layout {
	width: 100% !important;
	margin: 0 !important;
	table-layout: fixed;
}
body.forum-page .forum-topic-table.forum-view-post-table table.forum-post-tree-content {
	width: 100% !important;
	margin: 0 !important;
}
body.forum-page .forum-topic-table.forum-view-post-table .forum-post-tree-layout > tbody > tr > td {
	padding: 0 !important;
	vertical-align: top !important;
}
body.forum-page .forum-topic-table.forum-view-post-table .forum-post-row > td {
	height: auto !important;
	min-height: 0 !important;
	padding: 0.5rem !important;
	vertical-align: top !important;
}
body.forum-page .forum-topic-table.forum-view-post-table .forum-post-footer-row > td {
	height: auto !important;
	min-height: 0 !important;
	padding: 0.25rem 0.45rem !important;
	vertical-align: top !important;
}
body.forum-page .forum-topic-table.forum-view-post-table .forum-post-footer-layout { align-items: flex-start; gap: 0.35rem 0.65rem; }
body.forum-page .forum-topic-table.forum-view-post-table .forum-post-meta { flex: 1 1 18rem; align-items: flex-start; }
body.forum-page .forum-topic-table.forum-view-post-table .forum-user-agent { max-width: none; }
body.forum-page .forum-topic-table.forum-view-post-table > tbody > tr.forum-post-row > td { height: auto !important; min-height: 0 !important; }
body.forum-page .forum-topic-table.forum-view-post-table .forum-post-top-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 0.3rem; }
body.forum-page .forum-topic-table.forum-view-post-table .forum-post-expire-notice { margin: 0 0 0.55rem; padding: 0.45rem 0.65rem; border: 1px solid var(--forum-border); background: var(--forum-row-alt); color: var(--forum-text); font-size: 0.82rem; line-height: 1.35; }
body.forum-page .forum-topic-table.forum-view-post-table .forum-add-post-warning { white-space: nowrap; }
body.forum-page .forum-topic-table.forum-view-post-table .forum-post-row > td .postbody { line-height: 1.5; }
body.forum-page .forum-topic-table.forum-view-post-table .forum-post-content-table { margin: 0 !important; border-spacing: 0 !important; }
body.forum-page .forum-topic-table.forum-view-post-table .forum-post-content-table > tbody > tr > td { padding: 0 !important; }
body.forum-page .forum-topic-table.forum-view-post-table .forum-post-content-table > tbody > tr:nth-child(2) hr { margin: 0.2rem 0 0.35rem !important; }
body.forum-page .forum-topic-table.forum-view-post-table .forum-post-content-table .postbody { display: block; padding-top: 0 !important; }
body.forum-page .forum-post-author-gender { width: 0.75rem !important; height: 0.75rem !important; max-width: 0.75rem; max-height: 0.75rem; vertical-align: 0.05em; }
body.forum-page .pm-read-actions,
body.forum-page .pm-read-folder-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; }
body.forum-page .pm-read-folder-actions { margin-bottom: 0.75rem; }
body.forum-page .pm-read-actions a,
body.forum-page .pm-read-folder-actions a {
	display: inline-flex;
	min-height: 2rem;
	align-items: center;
	justify-content: center;
	padding: 0.3rem 0.65rem;
	border: 1px solid var(--forum-border);
	border-radius: 0.4rem;
	background: var(--forum-surface);
	color: var(--forum-link);
	font-weight: 700;
	text-decoration: none;
}
body.forum-page .pm-read-actions a:hover,
body.forum-page .pm-read-actions a:focus,
body.forum-page .pm-read-folder-actions a:hover,
body.forum-page .pm-read-folder-actions a:focus { border-color: var(--forum-primary); background: var(--forum-primary); color: #fff; }
body.forum-page .pm-read-footer-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.7rem; }
body.forum-page .warnings-footer-bar { margin: 0.75rem 0; }
body.forum-page .forum-add-warning-button { white-space: nowrap; }
@media (max-width: 767.98px) {
	body.forum-page form.home-quick-registration { display: none !important; }
	body.forum-page .forum-index-description-row.forum-index-description-empty { display: none !important; }
	body.forum-page .forum-index-table tr.forum-index-row {
		align-items: stretch;
		grid-auto-rows: min-content;
		height: auto !important;
		min-height: 0 !important;
	}
	body.forum-page .forum-index-table tr.forum-index-row > td {
		height: auto !important;
		min-height: 0 !important;
		vertical-align: top !important;
	}
	body.forum-page .forum-index-table .forum-index-description-cell,
	body.forum-page .forum-index-table .forum-index-description-cell .forumlink {
		word-break: normal;
		overflow-wrap: break-word;
	}
	body.forum-page .forum-index-table tr.forum-index-row > td.forum-index-description-cell { grid-column: 2 / -1 !important; grid-row: 1 !important; }
	body.forum-page .forum-index-table tr.forum-index-row > td.forum-index-icon-cell { grid-column: 1 !important; grid-row: 1 / span 2 !important; align-self: stretch; }
	body.forum-page .forum-index-table tr.forum-index-row > td.forum-index-topics { grid-column: 2 !important; grid-row: 2 !important; }
	body.forum-page .forum-index-table tr.forum-index-row > td.forum-index-posts { grid-column: 3 !important; grid-row: 2 !important; }
	body.forum-page .forum-index-table tr.forum-index-row > td.forum-index-lastpost { grid-column: 4 !important; grid-row: 2 !important; }
	body.forum-page .forum-index-table tr.forum-index-row > td.forum-index-link-hits { grid-column: 2 / -1 !important; grid-row: 2 !important; }
	body.forum-page .forum-breadcrumb,
	body.forum-page .forum-topic-crumb { justify-content: flex-start; word-break: normal; }
	body.forum-page .forum-breadcrumb a,
	body.forum-page .forum-topic-crumb a {
		word-break: normal;
		overflow-wrap: break-word;
	}
	body.forum-page .forum-topic-table.forum-view-post-table > tbody > tr:not(.forum-post-row):not(.forum-topic-column-head) {
		display: block !important;
		width: 100% !important;
		height: auto !important;
	}
	body.forum-page .forum-topic-table.forum-view-post-table > tbody > tr:not(.forum-post-row):not(.forum-topic-column-head) > td {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		white-space: normal !important;
		box-sizing: border-box;
	}
	body.forum-page .forum-topic-table.forum-view-post-table > tbody > tr.forum-post-row {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr);
		align-items: start;
		width: 100% !important;
	}
	body.forum-page .forum-topic-table.forum-view-post-table > tbody > tr.forum-post-row > td {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0;
		white-space: normal !important;
		box-sizing: border-box;
	}
	body.forum-page .forum-topic-table.forum-view-post-table .forum-post-row > td:first-child { border-bottom: 1px solid var(--forum-border); }
	body.forum-page .forum-topic-table.forum-view-post-table .forum-post-row > td:last-child > table { display: table !important; width: 100% !important; table-layout: fixed; }
	body.forum-page .forum-topic-table.forum-view-post-table .forum-post-row > td:last-child > table > tbody > tr:first-child {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr);
		width: 100% !important;
	}
	body.forum-page .forum-topic-table.forum-view-post-table .forum-post-row > td:last-child > table > tbody > tr:first-child > td {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box;
	}
	body.forum-page .forum-topic-table.forum-view-post-table .forum-post-top-actions { justify-content: flex-start; }
	body.forum-page .forum-topic-table.forum-view-post-table > tbody > tr.forum-post-footer-row {
		display: grid !important;
		grid-template-columns: 2.5rem minmax(0, 1fr);
		width: 100% !important;
	}
	body.forum-page .forum-topic-table.forum-view-post-table > tbody > tr.forum-post-footer-row > td {
		display: block !important;
		width: auto !important;
		min-width: 0;
		box-sizing: border-box;
	}
	body.forum-page .forum-topic-table.forum-view-post-table .forum-post-footer-cell { overflow-wrap: break-word; }
	body.forum-page .forum-topic-utility-nav,
	body.forum-page .forum-topic-utility-nav > tbody { display: block !important; width: 100% !important; }
	body.forum-page .forum-topic-utility-nav > tbody > tr {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr);
		width: 100% !important;
		gap: 0.45rem;
	}
	body.forum-page .forum-topic-utility-nav > tbody > tr > td {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		white-space: normal !important;
		text-align: left !important;
		box-sizing: border-box;
	}
	body.forum-page .forum-topic-utility-nav select { width: min(100%, 26rem); max-width: 100%; }
	body.forum-page .group-members-table tr.group-member-row > td { word-break: normal; overflow-wrap: break-word; }
	body.forum-page .profile-view-table > tbody > tr:nth-child(3) {
		display: block !important;
		height: auto !important;
		min-height: 0 !important;
		overflow: visible !important;
	}
	body.forum-page .profile-view-table > tbody > tr:nth-child(3) > td {
		display: block !important;
		width: 100% !important;
		min-width: 0;
		height: auto !important;
		min-height: 0 !important;
		max-height: none !important;
		position: static !important;
		overflow: visible !important;
	}
	body.forum-page .profile-view-table .profile-avatar-cell { display: flex !important; flex-direction: column; align-items: center; float: none !important; }
	body.forum-page .profile-view-table .profile-avatar-cell img { display: block; width: auto !important; height: auto !important; max-width: min(100%, 12rem) !important; max-height: none !important; float: none !important; position: static !important; margin-left: auto; margin-right: auto; }
	body.forum-page .profile-edit-table tr.profile-edit-actions-row {
		display: block !important;
		width: 100% !important;
		height: auto !important;
		margin: 0 0 0.85rem !important;
		padding: 0 !important;
		clear: both;
	}
	body.forum-page .profile-edit-table tr.profile-edit-actions-row > td {
		display: flex !important;
		flex-wrap: wrap;
		align-items: center;
		justify-content: center;
		gap: 0.5rem;
		width: 100% !important;
		min-height: 3.5rem;
		padding: 0.65rem !important;
		box-sizing: border-box;
	}
	body.forum-page .profile-edit-table tr.profile-edit-actions-row + tr > th { padding-top: 0.85rem !important; }
	body.forum-page .forum-user-agent img.forum-user-agent-system,
	body.forum-page .forum-user-agent img.forum-user-agent-browser { width: 1.55rem !important; height: 1.55rem !important; max-width: 1.55rem !important; max-height: 1.55rem !important; }
	body.forum-page .forum-topic-table.forum-view-post-table { display: table !important; width: 100% !important; table-layout: fixed; overflow: visible !important; }
	body.forum-page .forum-topic-table.forum-view-post-table .forum-post-filter-cell { white-space: normal !important; }
	body.forum-page .forum-topic-table.forum-view-post-table .forum-post-filter-form,
	body.forum-page .forum-topic-table.forum-view-post-table .forum-post-filter-form > table { display: block !important; width: 100% !important; max-width: 100%; }
	body.forum-page .forum-topic-table.forum-view-post-table .forum-post-filter-form > table > tbody,
	body.forum-page .forum-topic-table.forum-view-post-table .forum-post-filter-form > table > tbody > tr,
	body.forum-page .forum-topic-table.forum-view-post-table .forum-post-filter-form > table > tbody > tr > td { display: block !important; width: 100% !important; max-width: 100%; }
	body.forum-page .forum-topic-table.forum-view-post-table .forum-post-filter-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.45rem; width: 100%; white-space: normal; }
	body.forum-page .forum-topic-table.forum-view-post-table .forum-post-filter-controls select { flex: 1 1 8rem; min-width: min(8rem, 100%); max-width: 100%; }
	body.forum-page .forum-topic-table.forum-view-post-table .forum-post-filter-controls input[type="submit"] { flex: 0 0 auto; }
	body.forum-page .forum-topic-table.forum-view-post-table .forum-post-footer-layout { display: flex; flex-wrap: wrap; }
	body.forum-page .forum-topic-table.forum-view-post-table .forum-post-meta { flex: 1 1 100%; justify-content: space-between; margin-left: 0; }
	body.forum-page .forum-topic-table.forum-view-post-table .forum-user-agent { max-width: none; margin-left: auto; }
	body.forum-page .posting-poll-field { grid-template-columns: minmax(0, 1fr); align-items: start; }
	body.forum-page .posting-poll-field .form-label,
	body.forum-page .posting-poll-field > .posting-poll-input,
	body.forum-page .posting-poll-field > .posting-poll-option-controls,
	body.forum-page .posting-poll-field > .posting-poll-duration-controls,
	body.forum-page .posting-poll-field > .posting-poll-visibility-controls,
	body.forum-page .posting-poll-field > .form-text,
	body.forum-page .posting-poll-compact-field > .posting-poll-short { grid-column: 1; grid-row: auto; }
	body.forum-page .posting-poll-field > .posting-poll-input,
	body.forum-page .posting-poll-field > .posting-poll-option-controls,
	body.forum-page .posting-poll-field > .posting-poll-duration-controls,
	body.forum-page .posting-poll-field > .posting-poll-visibility-controls { width: 100%; }
	body.forum-page .pm-read-footer-actions { align-items: flex-start; flex-direction: column; }
}

/* Compact, accessible day/night toggle inspired by the CSS Script switch. */
body.forum-page .forum-theme-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.35rem 0.65rem;
	border: 1px solid var(--forum-border) !important;
	border-radius: 999px;
	background: var(--forum-surface) !important;
	color: var(--forum-text) !important;
	font-weight: 700;
}
body.forum-page .forum-theme-toggle:hover,
body.forum-page .forum-theme-toggle:focus { border-color: var(--forum-primary) !important; color: var(--forum-text) !important; }
body.forum-page .forum-theme-toggle #forum-theme-label { color: var(--forum-text) !important; }
body.forum-page .forum-theme-switch-track {
	position: relative;
	display: inline-flex;
	width: 3.45rem;
	height: 1.8rem;
	align-items: center;
	justify-content: space-between;
	padding: 0 0.35rem;
	overflow: hidden;
	border: 1px solid rgba(30, 75, 110, 0.35);
	border-radius: 999px;
	background: linear-gradient(135deg, #73c8f4, #ffe08a);
	box-sizing: border-box;
}
body.forum-page .forum-theme-switch-sun,
body.forum-page .forum-theme-switch-moon { position: relative; z-index: 1; font-size: 0.8rem; line-height: 1; }
body.forum-page .forum-theme-switch-sun { color: #a45e00; }
body.forum-page .forum-theme-switch-moon { color: #d9e8ff; }
body.forum-page .forum-theme-switch-knob {
	position: absolute;
	top: 0.13rem;
	left: 0.13rem;
	width: 1.42rem;
	height: 1.42rem;
	border: 1px solid rgba(0, 0, 0, 0.13);
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
	transition: transform 0.22s ease;
}
body.forum-page .forum-theme-toggle.is-dark .forum-theme-switch-track { background: linear-gradient(135deg, #14243c, #334f77); }
body.forum-page .forum-theme-toggle.is-dark .forum-theme-switch-knob { transform: translateX(1.62rem); background: #e7efff; }
@media (prefers-reduced-motion: reduce) {
	body.forum-page .forum-theme-switch-knob { transition: none; }
}

/* Member list actions are text buttons and all cells share the same alignment. */
body.forum-page .memberlist-table th,
body.forum-page .memberlist-table td { text-align: center !important; vertical-align: middle !important; }
body.forum-page .memberlist-table .memberlist-action,
body.forum-page .memberlist-table .memberlist-search-button { white-space: nowrap; text-decoration: none; }
body.forum-page .memberlist-table .memberlist-footer td { vertical-align: middle !important; }
body.forum-page .memberlist-table .memberlist-footer td:first-child { text-align: left !important; }
body.forum-page .memberlist-table .memberlist-footer td:last-child { text-align: right !important; }

/* Homepage registration and sign-in use a fluid grid instead of legacy narrow cells. */
body.forum-page .forum-home-register-card {
	margin: 0.75rem 0 1rem;
	padding: 1rem;
	border: 1px solid var(--forum-border);
	border-radius: 0.7rem;
	background: var(--forum-surface);
	color: var(--forum-text);
}
body.forum-page .forum-home-register-title { margin: 0 0 0.85rem; padding: 0 0 0.65rem; border-bottom: 1px solid var(--forum-border); color: var(--forum-link); font-size: 1.05rem; font-weight: 800; }
body.forum-page .forum-home-register-grid { display: grid; grid-template-columns: repeat(4, minmax(9rem, 1fr)); gap: 0.8rem; align-items: end; }
body.forum-page .forum-home-register-grid > label,
body.forum-page .forum-home-register-email { display: grid; gap: 0.35rem; min-width: 0; font-size: 0.85rem; font-weight: 700; }
body.forum-page .forum-home-register-grid .form-control { width: 100%; min-width: 0; }
body.forum-page .forum-home-register-email .input-group { min-width: 0; }
body.forum-page .forum-home-register-email .input-group .form-control { min-width: 0; }
body.forum-page .forum-home-register-gender { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; min-width: 0; margin: 0; padding: 0.45rem 0.65rem; border: 1px solid var(--forum-border); border-radius: 0.45rem; }
body.forum-page .forum-home-register-gender legend { float: none; width: auto; margin: 0 0.45rem 0 0; font-size: 0.85rem; font-weight: 700; }
body.forum-page .forum-home-register-gender label { display: inline-flex; align-items: center; gap: 0.3rem; margin: 0; font-weight: 400; }
body.forum-page .forum-home-register-captcha { display: flex; flex-wrap: wrap; align-items: end; gap: 0.5rem; }
body.forum-page .forum-home-register-captcha img { width: 148px; height: 42px; object-fit: contain; }
body.forum-page .forum-home-register-captcha label { display: grid; gap: 0.35rem; font-size: 0.85rem; font-weight: 700; }
body.forum-page .forum-home-register-captcha input { width: 8rem; }
body.forum-page .forum-home-register-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
body.forum-page .forum-registration-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
body.forum-page .forum-inline-login { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 0.45rem; }
body.forum-page .forum-inline-login > .form-control { width: 9rem; min-width: 0; }
body.forum-page .forum-inline-login .forum-inline-autologin { display: inline-flex; align-items: center; gap: 0.35rem; margin: 0; }
body.forum-page .forum-inline-login > .btn { white-space: nowrap; }

/* Staff statistics dashboard and Chartist SVG charts. */
body.forum-page .forum-stats-dashboard { margin: 1rem 0 1.5rem; padding: 1rem; border: 1px solid var(--forum-border); border-radius: 0.75rem; background: var(--forum-surface); color: var(--forum-text); }
body.forum-page .forum-stats-module { margin: 0.9rem 0; padding: 0.75rem; overflow: hidden; border: 1px solid var(--forum-border); border-radius: 0.75rem; background: var(--forum-surface); color: var(--forum-text); }
body.forum-page .forum-stats-visual { min-width: 0; }
body.forum-page .forum-stats-module-title { margin: 0 0 0.75rem; padding: 0.7rem 0.9rem; border-radius: 0.55rem; background: linear-gradient(120deg, var(--forum-accent), #1769aa); color: #fff; font-size: 1rem; font-weight: 800; text-align: center; }
body.forum-page .forum-stats-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr)); gap: 0.65rem; }
body.forum-page .forum-stats-item { display: flex; align-items: flex-start; gap: 0.75rem; min-width: 0; padding: 0.8rem; border: 1px solid var(--forum-border); border-radius: 0.65rem; background: var(--forum-row-alt); }
body.forum-page .forum-stats-rank { display: grid; flex: 0 0 2rem; width: 2rem; height: 2rem; place-items: center; border-radius: 50%; background: rgba(56, 142, 205, 0.2); color: var(--forum-link); font-size: 0.82rem; font-weight: 800; }
body.forum-page .forum-stats-item-body { flex: 1 1 auto; min-width: 0; }
body.forum-page .forum-stats-item-heading { display: flex; align-items: center; gap: 0.65rem; min-height: 2rem; overflow-wrap: anywhere; }
body.forum-page .forum-stats-item-label { color: var(--forum-text); font-size: 0.95rem; font-weight: 750; }
body.forum-page .forum-stats-item-icon { display: grid; flex: 0 0 2.25rem; width: 2.25rem; height: 2.25rem; place-items: center; }
body.forum-page .forum-stats-item-icon img,
body.forum-page .forum-stats-item-icon svg { max-width: 2rem; max-height: 2rem; object-fit: contain; }
body.forum-page .forum-stats-metrics { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; margin-top: 0.55rem; }
body.forum-page .forum-stats-metric { display: inline-grid; gap: 0.12rem; min-width: 4rem; }
body.forum-page .forum-stats-metric small { color: var(--forum-muted); font-size: 0.7rem; }
body.forum-page .forum-stats-metric strong { color: var(--forum-text); font-size: 0.85rem; font-weight: 750; }
body.forum-page .forum-stats-metric img { max-width: 2rem; max-height: 2rem; object-fit: contain; }
body.forum-page .forum-stats-bar-track { height: 0.45rem; margin-top: 0.65rem; overflow: hidden; border-radius: 999px; background: var(--forum-border); }
body.forum-page .forum-stats-bar-track > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #1887c9, #67c4f3); transition: width 0.35s ease; }
body.forum-page .forum-stats-subheading { grid-column: 1 / -1; margin: 0.35rem 0 0; padding: 0.4rem 0.2rem; color: var(--forum-link); font-size: 0.9rem; }
body.forum-page .forum-stats-empty { margin: 0; padding: 1.1rem; color: var(--forum-muted); text-align: center; }
body.forum-page .forum-stats-month-grid { display: grid; gap: 0.75rem; }
body.forum-page .forum-stats-month-card { min-width: 0; padding: 0.75rem; border: 1px solid var(--forum-border); border-radius: 0.65rem; background: var(--forum-row-alt); }
body.forum-page .forum-stats-month-year { margin-bottom: 0.65rem; color: var(--forum-link); font-size: 1rem; font-weight: 800; }
body.forum-page .forum-stats-month-chart { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0.35rem; min-height: 7rem; }
body.forum-page .forum-stats-month-column { display: grid; grid-template-rows: auto 1fr auto; justify-items: center; gap: 0.25rem; min-width: 0; color: var(--forum-muted); font-size: 0.68rem; }
body.forum-page .forum-stats-month-column > small { overflow: hidden; max-width: 100%; white-space: nowrap; text-overflow: ellipsis; }
body.forum-page .forum-stats-month-bar { align-self: end; width: min(70%, 1.4rem); min-height: 0; border-radius: 0.25rem 0.25rem 0 0; background: linear-gradient(180deg, #54b8ec, #1769aa); }
body.forum-page .forum-stats-module-chart { height: 15rem; margin: 0.25rem 0 0.9rem; padding: 0.25rem 0.15rem; }
body.forum-page .forum-stats-module .ct-label { fill: var(--forum-muted); color: var(--forum-muted); font-size: 0.72rem; }
body.forum-page .forum-stats-module .ct-grid { stroke: var(--forum-border); stroke-dasharray: 2px; }
body.forum-page .forum-stats-module .ct-bar { stroke: #36a7e6; stroke-width: 11px; stroke-linecap: round; }
body.forum-page .forum-stats-module .ct-series-a .ct-bar { stroke: #36a7e6; }
body.forum-page .forum-stats-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
body.forum-page .forum-stats-heading h2 { margin: 0; color: var(--forum-link); font-size: 1.35rem; }
body.forum-page .forum-stats-heading p,
body.forum-page .forum-stats-chart-card > p { margin: 0.25rem 0 0; color: var(--forum-muted); font-size: 0.9rem; }
body.forum-page .forum-stats-period { padding: 0.35rem 0.65rem; border: 1px solid var(--forum-border); border-radius: 999px; color: var(--forum-muted); font-size: 0.8rem; }
body.forum-page .forum-stats-period-form { display: flex; align-items: center; gap: 0.4rem; margin: 0; }
body.forum-page .forum-stats-period-form .form-select { width: auto; min-width: 9.5rem; }
body.forum-page .forum-stats-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.7rem; margin-bottom: 0.8rem; }
body.forum-page .forum-stats-kpi { display: grid; gap: 0.25rem; min-width: 0; padding: 0.8rem; border: 1px solid var(--forum-border); border-radius: 0.55rem; background: var(--forum-row-alt); }
body.forum-page .forum-stats-kpi > span { color: var(--forum-muted); font-size: 0.85rem; }
body.forum-page .forum-stats-kpi strong { color: var(--forum-text); font-size: 1.5rem; line-height: 1.1; }
body.forum-page .forum-stats-kpi small { color: var(--forum-muted); font-size: 0.76rem; }
body.forum-page .forum-stats-charts { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(17rem, 1fr); gap: 0.8rem; }
body.forum-page .forum-stats-chart-card { min-width: 0; padding: 0.85rem; border: 1px solid var(--forum-border); border-radius: 0.55rem; background: var(--forum-surface-soft); }
body.forum-page .forum-stats-chart-card h3 { margin: 0; font-size: 1rem; font-weight: 800; }
body.forum-page .forum-stats-trend-card .ct-chart { height: 16rem; margin-top: 0.3rem; }
body.forum-page .forum-stats-gender-card .ct-chart { height: 16rem; max-width: 20rem; margin: 0.3rem auto 0; }
body.forum-page .forum-stats-dashboard .ct-label { fill: var(--forum-muted); color: var(--forum-muted); font-size: 0.72rem; }
body.forum-page .forum-stats-dashboard .ct-grid { stroke: var(--forum-border); stroke-dasharray: 2px; }
body.forum-page .forum-stats-dashboard .ct-line { fill: none; stroke-width: 3px; }
body.forum-page .forum-stats-dashboard .ct-point { stroke-width: 7px; stroke-linecap: round; }
body.forum-page .forum-stats-dashboard .ct-series-a .ct-line,
body.forum-page .forum-stats-dashboard .ct-series-a .ct-point { stroke: #3b82f6; }
body.forum-page .forum-stats-dashboard .ct-series-b .ct-line,
body.forum-page .forum-stats-dashboard .ct-series-b .ct-point { stroke: #f59e0b; }
body.forum-page .forum-stats-dashboard .ct-series-c .ct-line,
body.forum-page .forum-stats-dashboard .ct-series-c .ct-point { stroke: #10b981; }
body.forum-page .forum-stats-dashboard .ct-series-a .ct-slice-donut { stroke: #3b82f6; }
body.forum-page .forum-stats-dashboard .ct-series-b .ct-slice-donut { stroke: #e879a9; }
body.forum-page .forum-stats-dashboard .ct-series-c .ct-slice-donut { stroke: #94a3b8; }
body.forum-page .forum-stats-dashboard .ct-slice-donut { fill: none; stroke-width: 28px; }
body.forum-page .forum-stats-legend { display: flex; flex-wrap: wrap; gap: 0.45rem 1rem; color: var(--forum-muted); font-size: 0.78rem; }
body.forum-page .forum-stats-legend span { display: inline-flex; align-items: center; gap: 0.35rem; }
body.forum-page .forum-stats-dot { display: inline-block; width: 0.65rem; height: 0.65rem; border-radius: 50%; background: #3b82f6; }
body.forum-page .forum-stats-dot.topics { background: #f59e0b; }
body.forum-page .forum-stats-dot.posts { background: #10b981; }
body.forum-page .forum-stats-dot.female { background: #e879a9; }
body.forum-page .forum-stats-dot.unspecified { background: #94a3b8; }

.forum-user-search-popup { width: calc(100% - 1rem); max-width: 34rem; margin: 0.65rem auto; overflow: hidden; border: 1px solid var(--forum-border, #3b4d5b); border-radius: 0.75rem; background: var(--forum-surface, #1b2834); color: var(--forum-text, #edf4fb); box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.18); }
.forum-user-search-header { display: block; padding: 0.85rem 1rem; background: linear-gradient(120deg, var(--forum-accent, #1769aa), #1d5681); color: #fff; font-size: 1rem; font-weight: 800; }
.forum-user-search-content { display: grid; gap: 0.65rem; padding: 1rem; }
.forum-user-search-input-group { display: flex; gap: 0.45rem; }
.forum-user-search-input-group .form-control { min-width: 0; }
.forum-user-search-content .form-text { margin: -0.25rem 0 0; color: var(--forum-muted, #9db1c1); font-size: 0.8rem; }
.forum-user-search-select { display: grid; gap: 0.35rem; padding-top: 0.65rem; border-top: 1px solid var(--forum-border, #3b4d5b); }
.forum-user-search-select .form-label { margin: 0; font-weight: 700; }
.forum-user-search-close { justify-self: end; color: var(--forum-link, #83baff); font-size: 0.85rem; }
body.forum-page .group-member-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.8rem 1.25rem; margin: 0.8rem 0 1rem; }
body.forum-page .group-member-actions { display: flex; flex: 1 1 38rem; flex-wrap: wrap; align-items: center; gap: 0.55rem; min-width: 0; }
body.forum-page .group-member-add-input { flex: 1 1 18rem; max-width: 34rem; min-width: 15rem; }
body.forum-page .group-member-add-input .form-control { min-width: 5rem; }
body.forum-page .group-member-actions > .btn { white-space: nowrap; }
body.forum-page .group-member-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0.45rem 0.8rem; }
body.forum-page .group-members-table { table-layout: fixed; }
body.forum-page .group-members-table th,
body.forum-page .group-members-table td { text-align: center !important; vertical-align: middle !important; overflow-wrap: anywhere; }
body.forum-page .group-members-table td.catSides { text-align: left !important; }
body.forum-page .group-members-table td.catBottom { text-align: right !important; }
body.forum-page .forum-post-status-message { margin: 0 0 0.75rem; }
body.forum-page .forum-topic-title-cell { padding: 0.45rem 0.6rem !important; text-align: left !important; }
body.forum-page .forum-topic-titlebar { display: flex; align-items: center; justify-content: space-between; gap: 0; min-width: 0; width: 100%; }
body.forum-page .forum-topic-titlebar > .forum-topic-title { display: block; flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; }
body.forum-page .forum-topic-title-actions { display: flex; flex: 0 0 auto; align-items: center; justify-content: flex-end; margin-left: auto; }
body.forum-page .forum-ignore-topic-btn { display: inline-flex; align-items: center; justify-content: center; width: 1.8rem; height: 1.8rem; padding: 0; line-height: 1; text-decoration: none; }

body.forum-page .forum-poll-row > td { padding: 0.75rem !important; }
body.forum-page .forum-poll-form { margin: 0 auto; }
body.forum-page .forum-poll-card {
	max-width: 48rem;
	margin: 0 auto;
	padding: clamp(0.75rem, 2vw, 1.25rem);
	border: 1px solid var(--forum-border);
	border-radius: 0.65rem;
	background: var(--forum-surface);
	color: var(--forum-text);
}
body.forum-page .forum-poll-limit { margin: 0 0 0.65rem; color: var(--forum-muted); text-align: center; }
body.forum-page .forum-poll-question { margin: 0 0 0.8rem; font-size: 1.1rem; font-weight: 750; text-align: center; }
body.forum-page .forum-poll-options { display: grid; gap: 0.4rem; }
body.forum-page .forum-poll-option { display: flex; align-items: flex-start; gap: 0.45rem; margin: 0; padding: 0.55rem 0.7rem; border: 1px solid var(--forum-border); border-radius: 0.45rem; background: var(--forum-surface-soft); }
body.forum-page .forum-poll-option .form-check-input { float: none; flex: 0 0 auto; margin: 0.15rem 0 0; }
body.forum-page .forum-poll-option .form-check-label { min-width: 0; overflow-wrap: anywhere; }
body.forum-page .forum-poll-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 0.85rem; }

/* Keep the registration email local-part, separator and domain on one line. */
body.forum-page .forum-email-parts:not(.input-group) { display: flex; flex-wrap: nowrap; align-items: center; gap: 0.45rem; width: 100%; min-width: 0; }
body.forum-page .forum-email-parts:not(.input-group) > .form-control { flex: 1 1 0; width: 1% !important; min-width: 0; box-sizing: border-box; }
body.forum-page .forum-email-parts:not(.input-group) > .forum-email-at { flex: 0 0 auto; }
body.forum-page .forum-home-register-email .input-group.forum-email-parts { display: flex; flex-wrap: nowrap; align-items: stretch; width: 100%; min-width: 0; }
body.forum-page .forum-home-register-email .input-group.forum-email-parts > .form-control { flex: 1 1 0; width: 1% !important; min-width: 0; }
body.forum-page .forum-home-register-email .input-group.forum-email-parts > .input-group-text { flex: 0 0 auto; }

body.forum-page .forum-cookie-notice {
	position: fixed;
	z-index: 1200;
	left: 1rem;
	right: 1rem;
	bottom: max(1rem, env(safe-area-inset-bottom));
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	max-width: 76rem;
	margin: 0 auto;
	padding: 1rem 1.15rem;
	border: 1px solid var(--forum-border);
	border-radius: 0.75rem;
	background: var(--forum-surface);
	color: var(--forum-text);
	box-shadow: 0 0.6rem 2rem rgba(0, 0, 0, 0.28);
}
body.forum-page .forum-cookie-notice-copy { min-width: 0; line-height: 1.5; }
html.forum-cookie-notice-dismissed body.forum-page #forum-cookie-notice { display: none !important; }
body.forum-page .forum-cookie-notice[hidden] { display: none !important; }
body.forum-page .forum-cookie-notice-reopen {
	position: fixed;
	z-index: 1199;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	right: 1rem;
	bottom: max(1rem, env(safe-area-inset-bottom));
	width: 3rem;
	height: 3rem;
	padding: 0.5rem;
	border: 1px solid var(--forum-border);
	border-radius: 50%;
	background: var(--forum-surface);
	color: var(--forum-link);
	box-shadow: 0 0.3rem 1rem rgba(0, 0, 0, 0.2);
	cursor: pointer;
}
body.forum-page .forum-cookie-notice-reopen img { display: block; width: 1.75rem; height: 1.75rem; }
body.forum-page .forum-cookie-notice-reopen:focus-visible { outline: 3px solid var(--forum-link); outline-offset: 3px; }
body.forum-page .forum-cookie-notice-reopen[hidden] { display: none !important; }

@media (max-width: 767.98px) {
	body.forum-page .forum-home-register-grid { grid-template-columns: minmax(0, 1fr); }
	body.forum-page .forum-home-register-captcha input { width: 100%; }
	body.forum-page .forum-inline-login { justify-content: flex-start; }
	body.forum-page .forum-inline-login > .form-control { flex: 1 1 8rem; width: auto; }
	body.forum-page .forum-stats-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body.forum-page .forum-stats-charts { grid-template-columns: minmax(0, 1fr); }
	body.forum-page .forum-stats-period-form { width: 100%; }
	body.forum-page .forum-stats-period-form .form-select { flex: 1 1 auto; min-width: 0; }
	body.forum-page .forum-stats-trend-card .ct-chart,
	body.forum-page .forum-stats-gender-card .ct-chart { height: 14rem; }
	body.forum-page .forum-stats-month-chart { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 0.65rem; }
	body.forum-page .forum-stats-module-chart { padding-left: 0; }
	body.forum-page .group-member-toolbar,
	body.forum-page .group-member-actions { align-items: stretch; }
	body.forum-page .group-member-actions { flex-basis: 100%; }
	body.forum-page .group-member-add-input { flex: 1 1 100%; max-width: none; }
	body.forum-page .group-member-actions > .btn { flex: 1 1 auto; }
	body.forum-page .group-member-pagination { justify-content: space-between; }
	body.forum-page .forum-cookie-notice { align-items: stretch; flex-direction: column; gap: 0.75rem; left: 0.5rem; right: 0.5rem; padding: 0.85rem; }
	body.forum-page .forum-cookie-notice > .btn { align-self: flex-end; }
	body.forum-page .forum-cookie-notice-reopen { right: 0.5rem; }
}

/* Mention autocomplete */
.forum-mention-field { position: relative; width: 100%; }
.forum-mention-field > textarea { display: block; width: 100%; }
.forum-mention-menu { position: absolute; z-index: 1080; top: 100%; left: 0; display: flex; flex-direction: column; width: min(100%, 28rem); max-height: 15rem; overflow-y: auto; padding: .3rem; border: 1px solid var(--bs-border-color, #40505f); border-radius: .5rem; background: var(--bs-body-bg, #1b2733); box-shadow: 0 .5rem 1rem rgba(0,0,0,.25); }
.forum-mention-menu[hidden] { display: none; }
.forum-mention-option { border: 0; border-radius: .3rem; padding: .45rem .65rem; text-align: left; color: var(--bs-body-color, #f4f7fb); background: transparent; }
.forum-mention-option:hover, .forum-mention-option.is-active { color: var(--bs-body-color, #f4f7fb); background: var(--bs-primary, #19547e); }

/* Keep the legacy PM, warning, report and post-author layouts usable on phones. */
body.forum-page .pm-folder-nav { width: auto; margin: 0 auto; }
body.forum-page .pm-folder-nav a,
body.forum-page .pm-read-folder-actions a {
	display: inline-flex;
	align-items: center;
	min-height: 2.25rem;
	padding: 0.35rem 0.6rem;
	border: 1px solid var(--forum-border);
	border-radius: 0.4rem;
	background: var(--forum-surface);
	color: var(--forum-link);
	text-decoration: none;
}
body.forum-page .warning-add-form { display: grid; gap: 0.75rem; }
body.forum-page .warning-add-field { display: grid; grid-template-columns: minmax(8rem, 0.28fr) minmax(0, 1fr); align-items: center; gap: 0.5rem 0.9rem; margin: 0; }
body.forum-page .warning-add-label { min-width: 0; font-weight: 700; }
body.forum-page .warning-add-control { display: block; min-width: 0; }
body.forum-page .warning-add-control > input,
body.forum-page .warning-add-control > textarea { display: block; width: 100% !important; max-width: 100%; }
body.forum-page .warning-add-control > .warning-add-value { width: 5rem !important; }
body.forum-page .warning-add-actions { display: flex; justify-content: flex-end; }
body.forum-page .message-notice-table { table-layout: fixed; }
body.forum-page .message-notice-content { width: 100% !important; table-layout: fixed; }
body.forum-page .message-notice-content td { max-width: none !important; overflow-wrap: anywhere; }

@media (max-width: 767.98px) {
	body.forum-page .pm-list-toolbar,
	body.forum-page .pm-list-pagination,
	body.forum-page .pm-list-jumpbox,
	body.forum-page .pm-read-toolbar { display: block !important; width: 100% !important; }
	body.forum-page .pm-list-toolbar > tbody,
	body.forum-page .pm-list-pagination > tbody,
	body.forum-page .pm-list-jumpbox > tbody,
	body.forum-page .pm-read-toolbar > tbody { display: block; width: 100%; }
	body.forum-page .pm-list-toolbar tr,
	body.forum-page .pm-list-pagination tr,
	body.forum-page .pm-list-jumpbox tr,
	body.forum-page .pm-read-toolbar tr { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; width: 100%; }
	body.forum-page .pm-list-toolbar td,
	body.forum-page .pm-list-pagination td,
	body.forum-page .pm-list-jumpbox td,
	body.forum-page .pm-read-toolbar td { display: block; flex: 1 1 auto; width: auto !important; min-width: 0; padding: 0.35rem !important; white-space: normal !important; text-align: left !important; }
	body.forum-page .pm-list-toolbar td:last-child { flex-basis: 100%; }
	body.forum-page .pm-list-toolbar select { width: auto; max-width: 100%; }
	body.forum-page .pm-list-table tr.pm-list-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	body.forum-page .pm-list-table tr.pm-list-row > td.pm-list-flag { grid-column: 1; grid-row: 2; align-items: flex-start; }
	body.forum-page .pm-list-table tr.pm-list-row > td.pm-list-subject { grid-column: 1 / -1; grid-row: 1; }
	body.forum-page .pm-list-table tr.pm-list-row > td.pm-list-mark { grid-column: 2; grid-row: 2; align-items: flex-end; }
	body.forum-page .pm-list-table tr:not(.pm-list-row) > td[colspan] { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.45rem; }
	body.forum-page .pm-list-table tr:not(.pm-list-row) input[type="submit"] { flex: 1 1 8rem; max-width: 100%; }
	body.forum-page .pm-folder-nav,
	body.forum-page .pm-compose-folder-nav,
	body.forum-page .pm-compose-folder-nav > tbody,
	body.forum-page .pm-compose-folder-nav > tbody > tr,
	body.forum-page .pm-compose-folder-nav > tbody > tr > td { display: block !important; width: 100% !important; }
	body.forum-page .pm-folder-nav tr,
	body.forum-page .pm-compose-folder-nav tr { display: flex !important; flex-wrap: wrap; justify-content: center; gap: 0.35rem; }
	body.forum-page .pm-folder-nav td,
	body.forum-page .pm-compose-folder-nav td { display: inline-flex !important; align-items: center; width: auto !important; padding: 0.2rem !important; }
	body.forum-page .pm-compose-folder-nav .cattitle { white-space: normal; }
	body.forum-page .pm-compose-folder-nav table { width: 100% !important; }
	body.forum-page .pm-compose-form { display: table !important; width: 100% !important; table-layout: fixed; overflow: visible !important; }
	body.forum-page .pm-compose-form > tbody > tr { display: grid !important; grid-template-columns: minmax(0, 1fr); width: 100% !important; }
	body.forum-page .pm-compose-form > tbody > tr > th,
	body.forum-page .pm-compose-form > tbody > tr > td { display: block !important; width: 100% !important; max-width: 100% !important; min-width: 0; padding: 0.55rem !important; white-space: normal !important; box-sizing: border-box; overflow-wrap: anywhere; }
	body.forum-page .pm-compose-form > tbody > tr > td[colspan] { grid-column: 1; }
	body.forum-page .pm-compose-form input.form-control,
	body.forum-page .pm-compose-form textarea.form-control,
	body.forum-page .pm-compose-form select.form-select { width: 100% !important; max-width: 100%; box-sizing: border-box; }
	body.forum-page .pm-compose-form .forum-recipient-input-group { width: 100%; }
	body.forum-page .pm-compose-form .forum-recipient-input-group > .btn { flex: 0 0 auto; width: auto !important; }
	body.forum-page .pm-read-table tr.pm-read-subject-row > td:last-child { grid-column: 1 / -1; text-align: left !important; }
	body.forum-page .pm-read-table tr > td[colspan="3"] { grid-column: 1 / -1; }
	body.forum-page .pm-read-footer-actions { align-items: stretch; }
	body.forum-page .pm-read-message-actions { display: flex; flex-wrap: wrap; width: 100%; }
	body.forum-page .pm-read-message-actions > input { flex: 1 1 8rem; }
	body.forum-page .pm-read-table .postbody { overflow-wrap: anywhere; }
	body.forum-page .warnings-sort-bar,
	body.forum-page .warnings-sort-bar > tbody,
	body.forum-page .warnings-sort-bar > tbody > tr { display: block !important; width: 100% !important; }
	body.forum-page .warnings-sort-bar > tbody > tr > td { display: block; width: 100% !important; padding: 0.4rem !important; text-align: left !important; white-space: normal !important; box-sizing: border-box; }
	body.forum-page .warnings-sort-bar select { max-width: 100%; }
	body.forum-page .warning-add-row { display: block !important; width: 100% !important; }
	body.forum-page .warning-add-row > td { display: block !important; width: 100% !important; padding: 0.7rem !important; }
	body.forum-page .warning-add-form { gap: 0.7rem; }
	body.forum-page .warning-add-field { grid-template-columns: minmax(0, 1fr); align-items: stretch; gap: 0.3rem; }
	body.forum-page .warning-add-label { display: block; overflow-wrap: anywhere; }
	body.forum-page .warning-add-actions { justify-content: center; padding-top: 0.2rem; }
	body.forum-page .warning-add-actions > input { min-width: min(100%, 10rem); }
	body.forum-page .report-list-table { display: table !important; table-layout: fixed; overflow: visible !important; }
	body.forum-page .report-list-table tr.report-list-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	body.forum-page .report-list-table tr.report-list-row > td:first-child { grid-column: 1 / -1; }
	body.forum-page .message-notice-table { display: table !important; width: 100% !important; table-layout: fixed; overflow: visible !important; }
	body.forum-page .message-notice-table > tbody > tr,
	body.forum-page .message-notice-table > tbody > tr > th,
	body.forum-page .message-notice-table > tbody > tr > td { display: table-row; width: auto !important; max-width: none !important; }
	body.forum-page .message-notice-table > tbody > tr > th,
	body.forum-page .message-notice-table > tbody > tr > td { display: table-cell; padding: 0.75rem !important; white-space: normal !important; }
	body.forum-page .message-notice-content { display: table !important; width: 100% !important; }
	body.forum-page .message-notice-content > tbody > tr { display: table-row !important; }
	body.forum-page .message-notice-content > tbody > tr > td { display: table-cell !important; width: 100% !important; max-width: none !important; }
	body.forum-page .forum-topic-table.forum-view-post-table .forum-post-author-cell { padding: 0.7rem !important; text-align: left !important; }
	body.forum-page .forum-post-author-card { display: grid; grid-template-columns: minmax(4.5rem, 6rem) minmax(0, 1fr); align-items: start; gap: 0.35rem 0.7rem; width: 100%; min-width: 0; }
	body.forum-page .forum-post-author-avatar { grid-column: 1; grid-row: 1 / span 2; display: flex; align-items: flex-start; justify-content: center; min-width: 0; }
	body.forum-page .forum-post-author-avatar img { display: block; width: auto !important; height: auto !important; max-width: min(100%, 6rem) !important; max-height: 6rem !important; object-fit: contain; margin: 0 auto; }
	body.forum-page .forum-post-author-heading { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; overflow-wrap: anywhere; }
	body.forum-page .forum-post-author-heading .name { display: block; font-size: 0.95rem !important; line-height: 1.3; }
	body.forum-page .forum-post-author-heading .name b { overflow-wrap: anywhere; }
	body.forum-page .forum-post-author-rank { display: block; min-width: 0; overflow-wrap: anywhere; }
	body.forum-page .forum-post-author-rank img { max-width: min(100%, 8rem); height: auto; }
	body.forum-page .forum-post-author-details { grid-column: 2; grid-row: 2; min-width: 0; overflow-wrap: anywhere; line-height: 1.4; }
	body.forum-page .forum-post-author-custom-field { display: block; max-width: 100%; overflow-wrap: anywhere; }
	body.forum-page .forum-post-author-custom-field img { max-width: min(100%, 4rem); height: auto; }
	body.forum-page .forum-post-author-levels { grid-column: 1 / -1; min-width: 0; max-width: 100%; overflow-x: auto; }
	body.forum-page .forum-post-author-levels > table { max-width: 100%; }
	body.forum-page .forum-post-author-levels img { max-width: 100%; }
}

/* Keep the author column comfortably readable on desktop; mobile uses its own card layout above. */
@media (min-width: 768px) {
	body.forum-page .forum-topic-table.forum-view-post-table .forum-topic-author-heading,
	body.forum-page .forum-topic-table.forum-view-post-table .forum-post-author-cell {
	width: 230px !important;
	min-width: 230px !important;
}
}
