/* ==========================================================================
   Vespera 3.x — forum cards · community posts · mobile bottom bar · FI utilities
   Soft elevation (shadow) over classic borders. Canvas darker than cards.
   ========================================================================== */

:root {
	--vs-card-shadow: 0 4px 20px rgba(0, 0, 0, 0.32);
	--vs-card-shadow-hover: 0 8px 28px rgba(0, 0, 0, 0.4);
	--vs-btn-shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
}

/* Beat 2.6 !important category-as-one-card so each forum can be its own card */
#page-body .forabg.vs-category,
#page-body:not(:has(#portal-center)):not(:has(#portal-body)) .forabg.vs-category {
	margin: 0 0 1.75rem !important;
	padding: 0 !important;
	background: transparent !important;
	background-image: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	overflow: visible !important;
	transform: none !important;
	isolation: auto !important;
}

#page-body .forabg.vs-category:hover,
#page-body:not(:has(#portal-center)):not(:has(#portal-body)) .forabg.vs-category:hover {
	transform: none !important;
	box-shadow: none !important;
}

#page-body .forabg.vs-category > .inner,
#page-body:not(:has(#portal-center)):not(:has(#portal-body)) .forabg.vs-category > .inner {
	padding: 0 !important;
	overflow: visible !important;
	background: transparent !important;
	border-radius: 0 !important;
}

.post.vs-post {
	overflow: visible !important;
	display: block !important;
}

.post.vs-post > .inner {
	overflow: visible;
}

@media (max-width: 768px) {
	.vs-scroll-top {
		bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px)) !important;
	}
}

/* ==========================================================================
   Vespera — card-based forum list
   Replaces prosilver’s table-like topiclist with category sections + cards.
   Scoped to .vs-category so viewforum topic tables stay untouched.
   ========================================================================== */

/* ---- Category shell ---- */
.forabg.vs-category {
	margin: 0 0 2rem;
	padding: 0;
	color: var(--vs-text);
	background: transparent;
	background-image: none;
	border-radius: 0;
	box-shadow: none;
}

.forabg.vs-category > .inner {
	padding: 0;
}

.vs-category ul.topiclist,
.vs-category ul.topiclist li,
.vs-category ul.topiclist dl,
.vs-category ul.topiclist dt,
.vs-category ul.topiclist dd {
	float: none;
	width: auto;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background-image: none;
}

.vs-category ul.topiclist li.row dd {
	padding: 0;
	margin: 0;
}

.vs-category ul.topiclist dt,
.vs-category ul.topiclist dt .list-inner,
.vs-category li.header dt,
.vs-category li.header dt .list-inner {
	width: auto;
	margin: 0;
	padding: 0;
}

.vs-category dl.row-item,
.vs-category dl.row-item dt {
	background-image: none !important;
	background-size: 0;
	min-height: 0;
}

.vs-category dl.row-item dt .list-inner {
	padding-left: 0;
	margin-right: 0;
}

.vs-category a.row-item-link {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

/* ---- Category title ---- */
.vs-cat-head {
	margin: 0 0 0.75rem;
}

.vs-cat-head li.header {
	padding: 0 1.25rem 0.5rem;
	border: 0;
	border-bottom: 2px solid color-mix(in srgb, var(--vs-teal) 55%, var(--vs-line));
	background: transparent;
	text-transform: none;
}

.vs-cat-head dl.row-item,
.vs-forum-card dl.row-item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 5.75rem 5.75rem minmax(12.5rem, 28%);
	grid-template-areas: "main topics posts last";
	column-gap: 0.75rem;
	align-items: center;
	position: relative;
}

.vs-cat-head dl.row-item {
	align-items: end;
}

.vs-cat-head dt,
.vs-forum-card dt {
	grid-area: main;
	min-width: 0;
}

.vs-cat-head dd.topics,
.vs-forum-card dd.topics {
	grid-area: topics;
}

.vs-cat-head dd.posts,
.vs-forum-card dd.posts {
	grid-area: posts;
}

.vs-cat-head dd.lastpost,
.vs-forum-card dd.lastpost,
.vs-forum-card dd.redirect {
	grid-area: last;
}

.vs-cat-head li.header dt,
.vs-cat-head li.header dd,
.vs-cat-head .list-inner {
	font-family: var(--vs-font);
	text-transform: none;
	line-height: 1.25;
}

.vs-cat-head dd {
	display: block;
	color: var(--vs-muted);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
}

.vs-cat-head dd.lastpost {
	padding-left: 1rem;
	text-align: left;
}

.vs-cat-title,
.vs-cat-head a.vs-cat-title,
.forabg.vs-category .header a:not(.collapse-btn) {
	display: inline-block;
	color: var(--vs-ink);
	font-size: 1.0625rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	text-decoration: none;
}

.vs-cat-head a.vs-cat-title:hover,
.forabg.vs-category .header a:not(.collapse-btn):hover {
	color: var(--vs-teal);
}

/* ---- Card stack ---- */
.vs-forum-list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.vs-forum-card,
.vs-category li.row.vs-forum-card {
	margin: 0;
	padding: 1.25rem 1.5rem;
	background: var(--vs-surface);
	border: 0;
	border-radius: 12px;
	box-shadow: var(--vs-card-shadow, 0 4px 20px rgba(0, 0, 0, 0.32));
	overflow: hidden;
	transition:
		box-shadow var(--vs-dur) var(--vs-ease),
		transform var(--vs-dur) var(--vs-ease),
		background-color var(--vs-dur) var(--vs-ease);
}

.vs-forum-card:hover,
.vs-category li.row.vs-forum-card:hover {
	background: var(--vs-surface);
	border-color: transparent;
	box-shadow: var(--vs-card-shadow-hover, 0 8px 28px rgba(0, 0, 0, 0.4));
	transform: translateY(-2px);
}

.vs-forum-card.is-unread {
	box-shadow:
		inset 3px 0 0 var(--vs-copper),
		var(--vs-card-shadow, 0 4px 20px rgba(0, 0, 0, 0.32));
}

.vs-forum-card.is-unread:hover {
	box-shadow:
		inset 3px 0 0 var(--vs-copper),
		var(--vs-card-shadow-hover, 0 8px 28px rgba(0, 0, 0, 0.4));
}

/* ---- Heading / description ---- */
.vs-forum-heading {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
}

.vs-forum-card .forum-image {
	float: none;
	flex: 0 0 auto;
	padding: 0;
	margin: 0;
}

.vs-forum-card .forum-image img {
	display: block;
	width: 40px;
	height: 40px;
	object-fit: cover;
	border-radius: var(--vs-radius-sm);
}

.vs-forum-identity {
	min-width: 0;
	flex: 1 1 auto;
}

.vs-forum-title-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
}

.vs-forum-card a.forumtitle {
	color: var(--vs-ink);
	font-size: 1.0625rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.25;
	text-decoration: none;
}

.vs-forum-card a.forumtitle:hover {
	color: var(--vs-copper);
}

.vs-forum-desc {
	margin: 0.25rem 0 0;
	color: var(--vs-muted);
	font-size: 0.8125rem;
	font-weight: 400;
	line-height: 1.7;
}

.vs-forum-mods {
	margin: 0.5rem 0 0;
	color: var(--vs-muted);
	font-size: 0.75rem;
}

.vs-forum-mods span {
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.vs-forum-card .responsive-show {
	display: none !important;
}

/* ---- Unread / status pills ---- */
.forum-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	max-width: 100%;
	padding: 0.15em 0.7em;
	border-radius: var(--vs-radius-pill);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.6;
	text-transform: uppercase;
	white-space: nowrap;
}

.forum-badge--unread {
	color: var(--vs-copper-hot);
	background: color-mix(in srgb, var(--vs-copper) 16%, var(--vs-surface));
	border: 1px solid color-mix(in srgb, var(--vs-copper) 28%, transparent);
}

.forum-badge-dot,
.forum-badge--dot {
	display: inline-block;
	width: 0.45em;
	height: 0.45em;
	border-radius: 50%;
	background: currentColor;
	box-shadow: 0 0 0 0 color-mix(in srgb, var(--vs-copper) 55%, transparent);
	animation: vs-badge-pulse 1.8s var(--vs-ease) infinite;
}

.forum-badge--locked,
.forum-badge--link {
	display: none;
	color: var(--vs-muted);
	background: var(--vs-stone);
	border: 1px solid var(--vs-line);
	padding: 0.15em 0.45em;
}

.forum-badge--locked .icon,
.forum-badge--link .icon {
	font-size: 0.85em;
}

.vs-forum-card .row-item[class*="_locked"] .forum-badge--locked {
	display: inline-flex;
}

.vs-forum-card.is-link .forum-badge--link {
	display: inline-flex;
}

@keyframes vs-badge-pulse {
	0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--vs-copper) 45%, transparent); }
	70% { box-shadow: 0 0 0 0.45em color-mix(in srgb, var(--vs-copper) 0%, transparent); }
	100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--vs-copper) 0%, transparent); }
}

/* ---- Stat columns (topics / posts) ---- */
.vs-forum-card dd.topics,
.vs-forum-card dd.posts {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: auto;
	min-width: 0;
	padding: 0;
	line-height: 1.2;
	text-align: center;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--vs-ink);
	background: transparent;
	border: 0;
	border-radius: 0;
}

.vs-forum-card dd.redirect {
	display: inline-flex;
	flex-direction: row;
	align-items: baseline;
	gap: 0.4em;
	width: auto;
	min-width: 0;
	padding: 0.35em 0.75em;
	line-height: 1.3;
	text-align: left;
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--vs-ink);
	background: var(--vs-row-alt);
	border: 1px solid var(--vs-line);
	border-radius: var(--vs-radius-pill);
}

.vs-forum-card dfn {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

/* ---- Last post ---- */
.vs-forum-card dd.lastpost {
	display: flex;
	width: auto;
	min-width: 0;
	padding: 0 0 0 1rem;
	border-left: 0;
	box-shadow: inset 1px 0 0 rgba(230, 237, 247, 0.06);
	font-size: 0.8125rem;
	color: var(--vs-muted);
	align-self: stretch;
}

.vs-lastpost {
	display: flex;
	flex-direction: column;
	gap: 0.2em;
	min-width: 0;
	padding: 0;
}

.vs-lastpost-label {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--vs-muted);
}

.vs-forum-card a.lastsubject {
	display: block;
	overflow: hidden;
	color: var(--vs-ink);
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.vs-forum-card a.lastsubject:hover {
	color: var(--vs-copper);
}

.vs-lastpost-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35em 0.6em;
	color: var(--vs-muted);
	font-size: 0.75rem;
}

.vs-lastpost-meta .username,
.vs-lastpost-meta a.username,
.vs-lastpost-meta .username-coloured {
	font-weight: 700;
}

.vs-lastpost-jump {
	color: var(--vs-muted);
}

.vs-lastpost-jump:hover {
	color: var(--vs-teal);
}

.vs-lastpost-empty {
	color: var(--vs-muted);
	font-size: 0.8125rem;
}

/* ---- Subforums as chips ---- */
.vs-subforums {
	margin-top: 0.75rem;
}

.vs-subforums-label {
	display: block;
	margin-bottom: 0.5rem;
	color: var(--vs-muted);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.vs-subforums ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vs-subforums li {
	display: block;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vs-subforum-chip,
a.subforum.vs-subforum-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	max-width: 100%;
	padding: 0.28em 0.75em;
	border: 1px solid var(--vs-line);
	border-radius: var(--vs-radius-pill);
	background: var(--vs-stone);
	color: var(--vs-text);
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1.4;
	text-decoration: none;
	transition:
		background-color var(--vs-dur) var(--vs-ease),
		border-color var(--vs-dur) var(--vs-ease),
		color var(--vs-dur) var(--vs-ease);
}

.vs-subforum-chip .icon {
	font-size: 0.85em;
	color: var(--vs-muted);
}

.vs-subforum-chip:hover,
a.subforum.vs-subforum-chip:hover {
	background: var(--vs-teal-a10);
	border-color: rgba(230, 237, 247, 0.18);
	color: var(--vs-teal);
	text-decoration: none;
}

.vs-subforum-chip.is-unread,
a.subforum.vs-subforum-chip.is-unread {
	color: var(--vs-copper-hot);
	background: color-mix(in srgb, var(--vs-copper) 16%, var(--vs-surface));
	border-color: color-mix(in srgb, var(--vs-copper) 30%, var(--vs-line));
}

.vs-subforum-chip.is-unread .icon,
a.subforum.vs-subforum-chip.is-unread .icon {
	color: var(--vs-copper);
}

.vs-subforum-chip .forum-badge--dot {
	flex: 0 0 auto;
	margin-left: 0.1em;
}

/* ---- Responsive: stack the card ---- */
@media (max-width: 850px) {
	.vs-cat-head dl.row-item {
		grid-template-columns: 1fr;
		grid-template-areas: "main";
	}

	.vs-cat-head dd {
		display: none !important;
	}

	.vs-forum-card dl.row-item {
		grid-template-columns: minmax(0, 1fr) 4.5rem 4.5rem;
		grid-template-areas:
			"main topics posts"
			"last last last";
		align-items: start;
	}

	.vs-forum-card dd.lastpost {
		padding: 0.75rem 0 0;
		border-left: 0;
		border-top: 0;
		box-shadow: inset 0 1px 0 rgba(230, 237, 247, 0.06);
	}
}

@media (max-width: 700px) {
	.vs-forum-card,
	.vs-category li.row.vs-forum-card {
		padding: 0.75rem 1rem;
	}

	.vs-forum-card a.forumtitle {
		font-size: 0.9375rem;
	}
}

@media (max-width: 550px) {
	.vs-category ul.topiclist.forums dd.lastpost {
		display: flex;
	}

	.forum-badge--unread {
		max-width: 11rem;
		overflow: hidden;
		text-overflow: ellipsis;
	}
}

@media (prefers-reduced-motion: reduce) {
	.forum-badge-dot,
	.forum-badge--dot {
		animation: none;
	}

	.vs-forum-card,
	.vs-category li.row.vs-forum-card {
		transition: none;
		transform: none;
	}
}


/* ==========================================================================
   Vespera — viewtopic (community post layout)
   Profile card on the left, wide post body, dark code, icon actions.
   ========================================================================== */

/* ---- Topic chrome ---- */
.section-viewtopic .topic-title {
	margin: 0 0 1rem;
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.25;
}

.section-viewtopic .topic-title a {
	color: var(--vs-ink);
	text-decoration: none;
}

.section-viewtopic .topic-title a:hover {
	color: var(--vs-teal);
}

.section-viewtopic .action-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.section-viewtopic .action-bar > .button {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	padding: 0.45em 0.95em;
	border-radius: var(--vs-radius-pill);
	background: var(--vs-teal);
	border: 0;
	border-color: transparent;
	color: #ffffff;
	font-family: var(--vs-font);
	font-weight: 600;
	box-shadow: var(--vs-btn-shadow, 0 4px 16px rgba(0, 0, 0, 0.28));
	transition:
		transform var(--vs-dur) var(--vs-ease),
		box-shadow var(--vs-dur) var(--vs-ease),
		background-color var(--vs-dur) var(--vs-ease);
}

.section-viewtopic .action-bar > .button:hover,
.section-viewtopic .action-bar > .button:focus {
	background: var(--vs-teal-soft);
	border-color: transparent;
	color: #ffffff;
	box-shadow: 0 6px 22px rgba(0, 0, 0, 0.34);
	transform: translateY(-1px);
}

.section-viewtopic .action-bar > .button .icon {
	order: -1;
}

/* ---- Post card ---- */
.section-viewtopic .post,
.post.vs-post {
	margin: 0 0 1rem;
	padding: 0;
	background: var(--vs-surface);
	background-image: none !important;
	border: 0;
	border-radius: 12px;
	box-shadow: var(--vs-card-shadow, 0 4px 20px rgba(0, 0, 0, 0.32));
}

.post.vs-post.bg1,
.post.vs-post.bg2 {
	background: var(--vs-surface);
}

.post.vs-post > .inner {
	display: grid;
	grid-template-columns: 11rem minmax(0, 1fr);
	grid-template-areas:
		"profile body"
		"profile back";
	gap: 0;
	align-items: stretch;
}

.rtl .post.vs-post > .inner {
	grid-template-columns: minmax(0, 1fr) 11rem;
	grid-template-areas:
		"body profile"
		"back profile";
}

/* ---- Profile card (left) — sticky on long posts ---- */
.post.vs-post .postprofile,
.vs-profile-card {
	grid-area: profile;
	float: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	align-self: start;
	position: sticky;
	top: 20px;
	z-index: 5;
	width: auto;
	min-height: 0;
	max-height: calc(100vh - 40px);
	overflow-y: auto;
	overflow-x: hidden;
	margin: 0;
	padding: 1.25rem 0.75rem;
	border: 0;
	border-right: 0;
	background: var(--vs-stone);
	border-radius: var(--vs-radius) 0 0 var(--vs-radius);
	box-shadow: inset -1px 0 0 rgba(230, 237, 247, 0.06);
	text-align: center;
	color: var(--vs-muted);
	scrollbar-width: thin;
}

.rtl .post.vs-post .postprofile {
	border-right: 0;
	border-left: 0;
	border-radius: 0 var(--vs-radius) var(--vs-radius) 0;
	box-shadow: inset 1px 0 0 rgba(230, 237, 247, 0.06);
}

.post.vs-post .postprofile dt,
.post.vs-post .postprofile dd {
	margin: 0;
	padding: 0;
	line-height: 1.25;
	overflow: visible;
}

.post.vs-post .postprofile dt {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	margin-bottom: 0.5rem;
}

.post.vs-post .postprofile .has-avatar .avatar-container,
.post.vs-post .postprofile .avatar-container,
.postprofile .avatar-container,
.post.has-profile .avatar-container,
.pm.has-profile .avatar-container {
	position: relative;
	width: 4.5rem;
	height: 4.5rem;
	margin: 0 auto 0.75rem;
	overflow: visible !important;
}

.post.vs-post .postprofile .avatar,
.postprofile .avatar {
	float: none;
	display: block;
	width: 4.5rem;
	height: 4.5rem;
	border-radius: 50%;
	overflow: hidden;
}

.post.vs-post .postprofile .avatar img,
.postprofile .avatar img,
.postprofile img.avatar {
	display: block;
	width: 4.5rem !important;
	height: 4.5rem !important;
	max-width: none !important;
	object-fit: cover;
	border-radius: 50% !important;
	border: 2px solid var(--vs-surface);
	box-shadow: var(--vs-elev-1);
	background: var(--vs-row-alt);
}

/* Modern online status dot — bottom-right of avatar (replaces icon_user_online.gif) */
.post.online .avatar-container::after,
.pm.online .avatar-container::after,
.post.vs-post.online .avatar-container::after,
.panel.online .profile-avatar::after,
.panel.online dt.profile-avatar::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	width: 0.75rem;
	height: 0.75rem;
	border-radius: 50%;
	background: #22c55e;
	border: 2px solid var(--vs-stone, var(--vs-surface));
	box-shadow:
		0 0 0 1px color-mix(in srgb, #22c55e 40%, transparent),
		0 2px 6px rgba(0, 0, 0, 0.35);
	pointer-events: none;
	z-index: 3;
}

.rtl .post.online .avatar-container::after,
.rtl .pm.online .avatar-container::after,
.rtl .post.vs-post.online .avatar-container::after,
.rtl .panel.online .profile-avatar::after,
.rtl .panel.online dt.profile-avatar::after {
	right: auto;
	left: 0;
}

/* Profile page avatar wrap for the status dot */
.panel.online .profile-avatar,
.panel.online dt.profile-avatar {
	position: relative;
	display: inline-block;
	line-height: 0;
	overflow: visible;
}

.panel.online .profile-avatar img,
.panel.online dt.profile-avatar img {
	display: block;
	border-radius: 50% !important;
	object-fit: cover;
	max-width: 160px;
}

/* No-avatar online: still show a compact status chip on the container */
.post.online .no-avatar .avatar-container,
.pm.online .no-avatar .avatar-container {
	min-width: 2.5rem;
	min-height: 2.5rem;
}

.rtl .post.vs-post.online .avatar-container::after {
	right: auto;
	left: 0;
}

.post.vs-post .postprofile dt .username,
.post.vs-post .postprofile dt a.username,
.post.vs-post .postprofile dt .username-coloured,
.post.vs-post .postprofile dt strong {
	display: block;
	max-width: 100%;
	overflow: hidden;
	color: var(--vs-ink);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.post.vs-post .postprofile a:hover {
	color: var(--vs-copper);
}

/* Rank + custom fields as badges */
.post.vs-post .profile-rank,
.post.vs-post dd.profile-rank {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.35rem;
	width: 100%;
	margin: 0 0 0.75rem;
	color: var(--vs-teal);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.post.vs-post .profile-rank img,
.post.vs-post .profile-rank .rank-img {
	max-width: 7.5rem;
	max-height: 1.5rem;
	height: auto;
}

.post.vs-post .vs-rank-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.2em 0.65em;
	border-radius: var(--vs-radius-pill);
	background: color-mix(in srgb, var(--vs-teal) 12%, var(--vs-surface));
	border: 1px solid color-mix(in srgb, var(--vs-teal) 22%, transparent);
	color: var(--vs-teal);
}

.post.vs-post dd.profile-posts,
.post.vs-post dd.profile-joined,
.post.vs-post dd.profile-warnings,
.post.vs-post dd.profile-custom-field,
.post.vs-post .postprofile > dd:not(.profile-rank):not(.profile-contact) {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.15rem;
	width: 100%;
	margin-top: 0.45rem;
	font-size: 0.6875rem;
	line-height: 1.45;
	color: var(--vs-muted);
	opacity: 0.7;
}

.post.vs-post dd.profile-contact {
	opacity: 1;
	font-size: 0.75rem;
}

.post.vs-post .postprofile dd strong {
	color: inherit;
	font-size: 0.625rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	opacity: 0.85;
}

.post.vs-post .postprofile dd a {
	color: inherit;
	font-weight: 600;
	opacity: 1;
}

.post.vs-post .postprofile dd a:hover {
	color: var(--vs-teal);
	opacity: 1;
}

.post.vs-post dd.profile-warnings {
	color: #d47890;
}

.post.vs-post dd.profile-custom-field {
	padding: 0.25em 0.55em;
	border-radius: var(--vs-radius-pill);
	background: var(--vs-row-alt);
	border: 1px solid var(--vs-line);
}

.post.vs-post dd.profile-contact {
	margin-top: 0.75rem;
}

.post.vs-post .profile-contact .dropdown-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: var(--vs-surface);
	border: 1px solid var(--vs-line);
	color: var(--vs-muted);
	transition: color var(--vs-dur) var(--vs-ease), border-color var(--vs-dur) var(--vs-ease);
}

.post.vs-post .profile-contact .dropdown-trigger:hover {
	color: var(--vs-teal);
	border-color: var(--vs-teal);
}

/* ---- Post body (wide) ---- */
.post.vs-post .postbody {
	grid-area: body;
	position: relative;
	float: none;
	width: auto;
	min-width: 0;
	padding: 1rem 1.25rem 3rem;
	color: var(--vs-text);
}

.post.vs-post .postbody h3,
.post.vs-post.has-profile .postbody h3 {
	float: none;
	margin: 0 0 0.35rem !important;
	padding: 0;
	border: 0;
	color: var(--vs-ink);
	font-family: var(--vs-font);
	font-size: 1.0625rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.25;
}

.rtl .post.vs-post.has-profile .postbody h3 {
	margin: 0 0 0.35rem !important;
}

.post.vs-post .postbody h3 a {
	color: inherit;
	text-decoration: none;
}

.post.vs-post .postbody h3 a:hover {
	color: var(--vs-teal);
}

.post.vs-post .postbody .author {
	margin: 0 0 1rem;
	color: var(--vs-muted);
	font-size: 0.8125rem;
}

.post.vs-post .postbody .content {
	clear: both;
	overflow-x: auto;
	color: var(--vs-text);
	font-family: var(--vs-font);
	font-size: 0.9375rem;
	line-height: 1.7;
}

.post.vs-post .signature {
	margin-top: 1rem;
	padding-top: 0.75rem;
	border-top: 1px solid rgba(0, 0, 0, 0.05);
	color: var(--vs-muted);
	font-size: 0.8125rem;
	opacity: 0.5;
	transition: opacity 0.3s ease;
}

.post.vs-post .signature:hover {
	opacity: 1;
}

.post.vs-post .back2top {
	grid-area: back;
	padding: 0 1.25rem 0.75rem;
	text-align: right;
}

.post.vs-post .back2top .top {
	color: var(--vs-muted);
}

.post.vs-post .back2top .top:hover {
	color: var(--vs-teal);
}

/* ---- Quotes ---- */
blockquote,
.post.vs-post blockquote,
.postbody blockquote,
.content blockquote {
	margin: 1rem 0;
	padding: 0.85rem 1rem 0.85rem 1.05rem;
	background: color-mix(in srgb, var(--vs-teal) 8%, var(--vs-surface));
	border: 0;
	border-left: 4px solid var(--vs-teal);
	border-radius: 8px;
	color: var(--vs-text);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.post.vs-post blockquote blockquote,
blockquote blockquote {
	background: color-mix(in srgb, var(--vs-teal) 5%, var(--vs-row-alt));
	border-left-color: var(--vs-teal-soft);
}

/* ---- Dark code blocks ---- */
.postbody .codebox,
.content .codebox,
.post.vs-post .codebox,
.codebox {
	margin: 1rem 0;
	padding: 0;
	overflow: hidden;
	background: #1e1e1e;
	border: 0;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.postbody .codebox p,
.content .codebox p,
.post.vs-post .codebox p,
.codebox p {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin: 0;
	padding: 0.45em 0.9em;
	background: #252526;
	border: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	color: #9cdcfe;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.postbody .codebox code,
.content .codebox code,
.post.vs-post .codebox code,
.codebox code {
	max-height: 28rem;
	padding: 1rem 1.1rem;
	color: #d4d4d4;
	font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
	font-size: 0.8125rem;
	line-height: 1.65;
	background: transparent;
}

/* ---- Icon action buttons (bottom-right of .postbody) ---- */
.post.vs-post .postbody .vs-post-actions,
.post.vs-post.has-profile .postbody .vs-post-actions,
.post.vs-post .vs-post-actions,
.post.vs-post.has-profile .vs-post-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	float: none;
	position: absolute;
	right: 1.25rem;
	bottom: 0.85rem;
	top: auto;
	left: auto;
	margin: 0;
	padding: 0;
	max-width: calc(100% - 2.5rem);
	list-style: none;
	z-index: 4;
}

.rtl .post.vs-post .vs-post-actions,
.rtl .post.vs-post.has-profile .vs-post-actions {
	right: auto;
	left: 1.25rem;
}

.post.vs-post .vs-post-actions:not(:has(li)) {
	display: none;
}

.post.vs-post .vs-post-actions > li {
	float: none;
	margin: 0;
	padding: 0;
	list-style: none;
}

.post.vs-post .vs-post-actions .button,
.post.vs-post .vs-post-actions .button.button-icon-only,
.post.vs-post .vs-post-actions a.vs-action {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	padding: 0;
	border-radius: 50%;
	background: transparent;
	border: 0;
	color: var(--vs-muted);
	opacity: 0.55;
	box-shadow: none;
	line-height: 1;
	text-decoration: none;
	transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}

.post.vs-post .vs-post-actions .button .icon,
.post.vs-post .vs-post-actions .sr-only {
	display: none !important;
}

.post.vs-post .vs-post-actions .vs-action-icon {
	display: block;
	width: 18px;
	height: 18px;
	pointer-events: none;
}

.post.vs-post .vs-post-actions .button:hover,
.post.vs-post .vs-post-actions .button:focus,
.post.vs-post .vs-post-actions a.vs-action:hover,
.post.vs-post .vs-post-actions a.vs-action:focus {
	background: color-mix(in srgb, var(--vs-teal) 12%, transparent);
	border-color: transparent;
	color: var(--vs-teal);
	opacity: 1;
	box-shadow: none;
	transform: scale(1.1);
	text-decoration: none;
}

.post.vs-post .vs-post-actions .button::after {
	content: attr(title);
	position: absolute;
	bottom: calc(100% + 8px);
	left: 50%;
	z-index: 100;
	padding: 0.25em 0.55em;
	border-radius: var(--vs-radius-sm);
	background: var(--vs-ink);
	color: var(--vs-surface);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.3;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transform: translateX(-50%) translateY(4px);
	transition: opacity 0.15s ease, transform 0.15s ease;
}

.post.vs-post .vs-post-actions .button:hover::after,
.post.vs-post .vs-post-actions .button:focus::after {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

.post.vs-post .vs-action--quote:hover,
.post.vs-post .vs-post-actions a[href*="mode=quote"]:hover {
	color: var(--vs-teal);
}

.post.vs-post .vs-post-actions a[id^="lnk_thanks_post"]:hover,
.post.vs-post .vs-post-actions a[id^="lnk_thanks_post"]:focus {
	color: var(--vs-copper);
	opacity: 1;
	transform: scale(1.1);
}

.post.vs-post .vs-post-actions a[href*="mode=delete"]:hover,
.post.vs-post .vs-action--delete:hover {
	color: #d47890;
	opacity: 1;
	transform: scale(1.1);
}

.post.vs-post .notice {
	margin-top: 0.75rem;
	padding: 0.75rem;
	background: var(--vs-stone);
	border: 0;
	border-top: 0;
	border-radius: var(--vs-radius-sm);
	color: var(--vs-muted);
	font-size: 0.8125rem;
}

.post.vs-post .notice .post-buttons {
	position: static;
	float: none;
	top: auto;
	right: auto;
}

/* ---- Attachments ---- */
.post.vs-post .attachbox {
	float: none;
	width: 100%;
	margin: 1rem 0 0;
	padding: 0.75rem;
	background: var(--vs-stone);
	border: 1px dashed rgba(230, 237, 247, 0.18);
	border-radius: var(--vs-radius-sm);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
	.post.vs-post > .inner,
	.rtl .post.vs-post > .inner {
		display: flex;
		flex-direction: column;
	}

	.post.vs-post .postprofile,
	.post.vs-post .vs-profile-card,
	.rtl .post.vs-post .postprofile {
		display: flex;
		flex-direction: row;
		align-items: center;
		gap: 12px;
		align-self: stretch;
		position: static;
		top: auto;
		max-height: none;
		overflow: visible;
		width: auto;
		float: none;
		padding: 0.85rem 1rem 0.75rem;
		margin: 0;
		border: 0;
		border-bottom: 1px solid rgba(0, 0, 0, 0.05);
		border-radius: var(--vs-radius) var(--vs-radius) 0 0;
		box-shadow: none;
		text-align: left;
		z-index: auto;
	}

	.post.vs-post .postprofile dt {
		display: flex;
		flex-direction: row;
		align-items: center;
		gap: 12px;
		margin: 0;
		padding: 0;
		float: none;
		width: auto;
		min-width: 0;
	}

	.post.vs-post .postprofile .avatar-container {
		flex-shrink: 0;
		width: 48px;
		height: 48px;
		margin: 0;
		overflow: visible !important;
	}

	.post.vs-post .postprofile .avatar,
	.post.vs-post .postprofile .avatar img {
		width: 48px !important;
		height: 48px !important;
		max-width: 48px;
		max-height: 48px;
		border-radius: 50% !important;
		object-fit: cover;
	}

	.post.vs-post.online .avatar-container::after {
		width: 0.55rem;
		height: 0.55rem;
		right: 0;
		bottom: 0;
	}

	.post.vs-post .postprofile .vs-profile-identity {
		display: inline-flex;
		align-items: center;
		min-width: 0;
	}

	.post.vs-post .postprofile dt .username,
	.post.vs-post .postprofile dt a.username,
	.post.vs-post .postprofile dt .username-coloured,
	.post.vs-post .postprofile dt strong {
		font-size: 0.9375rem;
		line-height: 1.25;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.post.vs-post .profile-rank,
	.post.vs-post .vs-profile-badge {
		display: inline-flex;
		align-items: center;
		flex-shrink: 0;
		margin: 0;
	}

	.post.vs-post .vs-rank-badge {
		font-size: 0.7rem;
		padding: 0.15em 0.5em;
	}

	.post.vs-post .postprofile > dd.vs-profile-detail,
	.post.vs-post dd.profile-posts,
	.post.vs-post dd.profile-joined,
	.post.vs-post dd.profile-warnings,
	.post.vs-post dd.profile-custom-field,
	.post.vs-post dd.profile-contact {
		display: none !important;
	}

	.post.vs-post .postbody {
		padding: 0.75rem 1rem 2.75rem;
	}

	.post.vs-post .postbody h3,
	.post.vs-post.has-profile .postbody h3,
	.rtl .post.vs-post.has-profile .postbody h3 {
		margin: 0 0 0.35rem !important;
		padding-right: 0;
	}

	.post.vs-post .vs-post-actions,
	.post.vs-post.has-profile .vs-post-actions {
		position: absolute;
		right: 1rem;
		bottom: 0.65rem;
		top: auto;
		left: auto;
		justify-content: flex-end;
		gap: 12px;
		margin: 0;
	}

	.rtl .post.vs-post .vs-post-actions,
	.rtl .post.vs-post.has-profile .vs-post-actions {
		right: auto;
		left: 1rem;
	}

	.post.vs-post .vs-post-actions .button::after {
		display: none;
	}

	.post.vs-post .back2top {
		padding: 0 1rem 0.75rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.section-viewtopic .action-bar > .button,
	.post.vs-post .vs-post-actions .button {
		transition: none;
		transform: none;
	}
}


/* ==========================================================================
   Vespera — mobile bottom navigation (max-width: 768px)
   ========================================================================== */

.vs-bottom-bar,
.vs-bottom-sheet {
	display: none;
}

@media (max-width: 768px) {
	body {
		padding-bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px));
	}

	.vs-bottom-bar {
		display: flex;
		align-items: stretch;
		justify-content: space-around;
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 240;
		height: calc(3.65rem + env(safe-area-inset-bottom, 0px));
		padding: 0.2rem 0.25rem env(safe-area-inset-bottom, 0px);
		background: var(--vs-surface);
		border-top: 1px solid var(--vs-line);
		box-shadow: 0 -8px 24px rgba(21, 32, 51, 0.08);
	}

	[data-theme="dark"] .vs-bottom-bar {
		box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
	}

	.vs-bottom-bar__item {
		display: flex;
		flex: 1 1 0;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 0.15rem;
		min-width: 0;
		margin: 0;
		padding: 0.35rem 0.2rem;
		border: 0;
		border-radius: var(--vs-radius-sm);
		background: transparent;
		color: var(--vs-muted);
		font-family: var(--vs-font);
		font-size: 0.75rem;
		font-weight: 600;
		line-height: 1.2;
		text-decoration: none;
		cursor: pointer;
		appearance: none;
		-webkit-appearance: none;
		transition: color var(--vs-dur) var(--vs-ease), background-color var(--vs-dur) var(--vs-ease);
	}

	.vs-bottom-bar__item .icon {
		font-size: 1.2rem;
		line-height: 1;
	}

	.vs-bottom-bar__label {
		display: block;
		max-width: 100%;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.vs-bottom-bar__icon-wrap {
		position: relative;
		display: inline-flex;
	}

	.vs-bottom-bar__badge,
	.vs-bottom-bar .badge {
		position: absolute;
		top: -0.35rem;
		right: -0.55rem;
		min-width: 1rem;
		height: 1rem;
		padding: 0 0.28rem;
		border-radius: var(--vs-radius-pill);
		background: var(--vs-copper);
		color: #ffffff;
		font-size: 0.625rem;
		font-weight: 700;
		line-height: 1rem;
		text-align: center;
	}

	.vs-bottom-bar__item:hover,
	.vs-bottom-bar__item:focus {
		color: var(--vs-teal);
		background: color-mix(in srgb, var(--vs-teal) 8%, transparent);
		text-decoration: none;
		outline: none;
	}

	.vs-bottom-bar__item.is-active {
		color: var(--vs-teal);
	}

	.vs-bottom-bar__item.is-active .icon {
		transform: translateY(-1px);
	}

	.vs-bottom-bar__item[aria-expanded="true"] {
		color: var(--vs-teal);
	}

	/* ---- Quick menu sheet ---- */
	.vs-bottom-sheet {
		display: block;
		position: fixed;
		inset: 0;
		z-index: calc(240 + 10);
	}

	.vs-bottom-sheet[hidden] {
		display: none;
	}

	.vs-bottom-sheet__backdrop {
		position: absolute;
		inset: 0;
		margin: 0;
		padding: 0;
		border: 0;
		background: rgba(0, 0, 0, 0.62);
		cursor: pointer;
		appearance: none;
	}

	.vs-bottom-sheet__panel {
		position: absolute;
		right: 0;
		bottom: 0;
		left: 0;
		max-height: min(72vh, 32rem);
		padding: 0 0 calc(4.25rem + env(safe-area-inset-bottom, 0px));
		overflow: auto;
		background: var(--vs-surface);
		border-radius: 20px 20px 0 0;
		box-shadow: var(--vs-shadow);
	}

	.vs-bottom-sheet__handle {
		width: 2.5rem;
		height: 0.28rem;
		margin: 0.7rem auto 0.2rem;
		border-radius: var(--vs-radius-pill);
		background: rgba(230, 237, 247, 0.18);
	}

	.vs-bottom-sheet__header {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 0.75rem;
		padding: 0.5rem 1rem 0.75rem;
		border-bottom: 1px solid var(--vs-line);
	}

	.vs-bottom-sheet__header h2 {
		margin: 0;
		color: var(--vs-ink);
		font-size: 0.9375rem;
		font-weight: 700;
		letter-spacing: -0.02em;
	}

	.vs-bottom-sheet__close {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 2rem;
		height: 2rem;
		margin: 0;
		padding: 0;
		border: 1px solid var(--vs-line);
		border-radius: 50%;
		background: var(--vs-stone);
		color: var(--vs-muted);
		cursor: pointer;
		appearance: none;
	}

	.vs-bottom-sheet__close:hover,
	.vs-bottom-sheet__close:focus {
		color: var(--vs-teal);
		border-color: var(--vs-teal);
	}

	.vs-bottom-sheet__list {
		margin: 0;
		padding: 0.5rem 0;
		list-style: none;
	}

	.vs-bottom-sheet__list li {
		margin: 0;
	}

	.vs-bottom-sheet__list a {
		display: flex;
		align-items: center;
		gap: 0.75rem;
		padding: 0.85rem 1rem;
		color: var(--vs-text);
		font-weight: 500;
		text-decoration: none;
	}

	.vs-bottom-sheet__list a:hover,
	.vs-bottom-sheet__list a:focus {
		background: var(--vs-teal-a10);
		color: var(--vs-teal);
		text-decoration: none;
	}

	.vs-bottom-sheet__list .icon {
		width: 1.25rem;
		color: var(--vs-muted);
		text-align: center;
	}

	.vs-bottom-sheet__list .badge {
		margin-left: auto;
		background: var(--vs-copper);
		color: #ffffff;
	}

	.vs-bottom-sheet__sep {
		height: 1px;
		margin: 0.5rem 1rem;
		background: var(--vs-line);
		list-style: none;
	}
}

@media print {
	.vs-bottom-bar,
	.vs-bottom-sheet {
		display: none !important;
	}
}

/* ---- Beat remaining 2.6 !important on forum rows / headers / posts ---- */
.vs-category ul.topiclist.forums,
.vs-category ul.topiclist.vs-forum-list {
	background: transparent !important;
	/* display must NOT be !important — Collapsible Categories uses jQuery
	   slideToggle/hide; flex !important left categories stuck open */
	display: flex;
	flex-direction: column !important;
	gap: 0.75rem !important;
}

/* After expand, jQuery may leave display:block — force flex when visible */
.vs-category ul.topiclist.forums:not([style*="display: none"]):not([style*="display:none"]),
.vs-category ul.topiclist.vs-forum-list:not([style*="display: none"]):not([style*="display:none"]) {
	display: flex !important;
}

/* Collapsed via Collapsible Categories / Simple News */
.vs-category ul.topiclist.forums[style*="display: none"],
.vs-category ul.topiclist.forums[style*="display:none"],
.vs-category ul.topiclist.vs-forum-list[style*="display: none"],
.vs-category ul.topiclist.vs-forum-list[style*="display:none"],
.hidden-category + .forabg .topiclist.forums,
.hidden-category + .forabg .topiclist.vs-forum-list,
.hidden-category + .forabg.vs-category .topiclist.forums,
.hidden-category + .forabg.vs-category .topiclist.vs-forum-list {
	display: none !important;
}

/* Protect mChat from forum-card / collapse flex hacks */
.mchat-wrapper #mchat-body,
.mchat-wrapper .collapsible,
#mchat-body.collapsible {
	display: block !important;
}

.mchat-wrapper #mchat-body[style*="display: none"],
.mchat-wrapper .collapsible[style*="display: none"],
#mchat-body.collapsible[style*="display: none"],
.hidden-category + .mchat-wrapper #mchat-body,
.hidden-category + .forabg.mchat-wrapper #mchat-body {
	display: none !important;
}

.mchat-wrapper .collapse-btn,
.mchat-wrapper .mchat-collapse {
	position: relative !important;
	top: auto !important;
	right: auto !important;
	float: right !important;
	margin: -1.5rem 0 0 !important;
}

/* Empty Galandas news collapse link still needs a hit target + icon */
.collapse-btn {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-width: 1.5rem;
	min-height: 1.5rem;
	line-height: 1 !important;
	text-decoration: none !important;
	cursor: pointer;
	z-index: 5;
}

.collapse-btn:empty::before,
.collapse-btn.collapse-hide:empty::before {
	content: "\f146"; /* fa-minus-square */
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	speak: none;
}

.collapse-btn.collapse-show:empty::before {
	content: "\f0fe"; /* fa-plus-square */
}

/* Collapse +/- affordance — sit in category header, stay clickable */
.vs-category .vs-cat-head li.header {
	position: relative;
}

.vs-category .collapse-btn,
.forabg.vs-category .collapse-btn {
	position: absolute !important;
	top: 0.15rem;
	right: 1.25rem;
	z-index: 5;
	float: none !important;
	margin: 0 !important;
	padding: 0.2rem;
	color: var(--vs-muted) !important;
	font-size: 1.1rem !important;
	font-weight: 400 !important;
	font-family: inherit !important;
	letter-spacing: 0 !important;
	opacity: 0.85;
	transition: opacity 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.vs-category .collapse-btn:hover,
.forabg.vs-category .collapse-btn:hover {
	color: var(--vs-copper-hot, var(--vs-copper)) !important;
	opacity: 1;
	transform: scale(1.08);
}

.rtl .vs-category .collapse-btn,
.rtl .forabg.vs-category .collapse-btn {
	right: auto;
	left: 1.25rem;
}

.vs-category .vs-cat-head,
.vs-category .vs-cat-head li.header {
	padding: 0 1.25rem 0.5rem !important;
	background: transparent !important;
	border: 0 !important;
	border-bottom: 2px solid color-mix(in srgb, var(--vs-teal) 55%, var(--vs-line)) !important;
}

.vs-category .vs-cat-head dd,
.vs-category .vs-cat-head dd * {
	color: var(--vs-muted) !important;
	font-family: var(--vs-font) !important;
	font-size: 0.7rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase !important;
	padding-left: 0 !important;
}

.vs-category .vs-cat-head dd.lastpost {
	padding-left: 1rem !important;
	text-align: left !important;
}

.vs-category .vs-cat-title,
.vs-category .vs-cat-head a.vs-cat-title,
.vs-category li.header dt,
.vs-category li.header dt .list-inner,
.vs-category li.header a:not(.collapse-btn) {
	color: var(--vs-ink) !important;
	font-family: var(--vs-display) !important;
	font-size: 1.15rem !important;
	font-weight: 700 !important;
	letter-spacing: -0.02em !important;
	text-transform: none !important;
	padding-left: 0 !important;
}

.vs-category li.row.vs-forum-card {
	margin: 0 !important;
	padding: 1.25rem 1.5rem !important;
	background: var(--vs-surface) !important;
	border: 0 !important;
	border-radius: 12px !important;
	box-shadow: var(--vs-card-shadow, 0 4px 20px rgba(0, 0, 0, 0.32)) !important;
	transform: none !important;
}

.vs-category li.row.vs-forum-card:nth-child(even),
.vs-category li.row.vs-forum-card.bg2 {
	background: var(--vs-surface) !important;
}

.vs-category li.row.vs-forum-card:hover {
	background: var(--vs-surface) !important;
	border-color: transparent !important;
	box-shadow: var(--vs-card-shadow-hover, 0 8px 28px rgba(0, 0, 0, 0.4)) !important;
	transform: translateY(-2px) !important;
}

.vs-category li.row.vs-forum-card.is-unread {
	box-shadow:
		inset 3px 0 0 var(--vs-copper),
		var(--vs-card-shadow, 0 4px 20px rgba(0, 0, 0, 0.32)) !important;
}

.vs-category li.row.vs-forum-card a.forumtitle {
	font-size: 1.05rem !important;
	color: var(--vs-ink) !important;
}

.vs-category dl.row-item,
.vs-category dl.row-item dt {
	background-image: none !important;
}

.post.vs-post .postprofile,
.post.vs-post .lumina-profile-card,
.post.vs-post .vs-profile-card {
	float: none !important;
	width: auto !important;
	align-self: start !important;
	position: sticky !important;
	top: 20px !important;
	border-width: 0 !important;
	border-style: none !important;
	border-color: transparent !important;
	box-shadow: inset -1px 0 0 color-mix(in srgb, var(--vs-line) 80%, transparent);
}

@media (max-width: 768px) {
	.post.vs-post .postprofile,
	.post.vs-post .vs-profile-card {
		position: static !important;
		top: auto !important;
		align-self: stretch !important;
		max-height: none !important;
		display: flex !important;
		flex-direction: row !important;
		align-items: center !important;
		gap: 12px !important;
		border-width: 0 0 1px 0 !important;
		border-style: solid !important;
		border-color: rgba(0, 0, 0, 0.05) !important;
		box-shadow: none !important;
		padding: 0.85rem 1rem 0.75rem !important;
	}

	.post.vs-post .postprofile .avatar img,
	.post.vs-post .vs-profile-card .avatar img {
		width: 48px !important;
		height: 48px !important;
		border-radius: 50% !important;
	}

	.post.vs-post .postprofile > dd.vs-profile-detail,
	.post.vs-post .postprofile dd.profile-posts,
	.post.vs-post .postprofile dd.profile-joined,
	.post.vs-post .postprofile dd.profile-warnings,
	.post.vs-post .postprofile dd.profile-custom-field,
	.post.vs-post .postprofile dd.profile-contact {
		display: none !important;
	}
}

.post.vs-post .post-buttons .button,
.post.vs-post .vs-post-actions .button {
	width: 2.25rem !important;
	height: 2.25rem !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: transparent !important;
	color: var(--vs-muted) !important;
	opacity: 0.55 !important;
	line-height: 1 !important;
	box-shadow: none !important;
	transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease, background-color 0.3s ease !important;
}

.post.vs-post .post-buttons .button:hover,
.post.vs-post .post-buttons .button:focus,
.post.vs-post .vs-post-actions .button:hover,
.post.vs-post .vs-post-actions .button:focus {
	opacity: 1 !important;
	transform: scale(1.1) !important;
	color: var(--vs-teal) !important;
	background: color-mix(in srgb, var(--vs-teal) 12%, transparent) !important;
}

.section-viewtopic .action-bar > .button.vs-btn--reply {
	background: var(--vs-accent-grad) !important;
	border: 0 !important;
	border-color: transparent !important;
	color: #fff !important;
	box-shadow: var(--vs-btn-shadow, 0 4px 16px rgba(0, 0, 0, 0.28)) !important;
}

.post.vs-post .postbody {
	float: none !important;
	width: auto !important;
}

