/*
 * Moedes forum foundation for the Moedes child theme.
 * Zibll remains the source of truth for forum markup and interaction.
 */

body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) {
	--moedes-forum-surface: var(--main-bg-color, #fff);
	--moedes-forum-surface-muted: var(--muted-bg-color, #f6f8fb);
	--moedes-title-color: var(--moedes-title, #111827);
	--moedes-title-active-color: var(--moedes-title-active, var(--moedes-primary, var(--theme-color, #2f6fed)));
	--moedes-heading: var(--moedes-title-color);
	--moedes-heading-active: var(--moedes-title-active-color);
	--moedes-forum-nav-surface: #fff;
	--moedes-forum-nav-text: #243043;
	--moedes-forum-nav-muted: #6b7280;
	--moedes-forum-nav-active: var(--moedes-primary, var(--moedes-forum-accent, var(--focus-color, #2f6fed)));
	--moedes-forum-border: var(--main-border-color, #e6eaf0);
	--moedes-forum-text: var(--main-color, #243043);
	--moedes-forum-muted: var(--muted-2-color, #7a8493);
	--moedes-forum-rank-1: var(--moedes-rank-1, var(--moedes-primary, #F39A07));
	--moedes-forum-rank-2: var(--moedes-rank-2, var(--moedes-primary, #F39A07));
	--moedes-forum-rank-3: var(--moedes-rank-3, var(--moedes-primary, #F39A07));
	--moedes-forum-space-sm: 8px;
	--moedes-forum-space-md: 14px;
	--moedes-forum-space-lg: 18px;
	--moedes-forum-widget-gap: 24px;
	--moedes-forum-stats-gap: 12px;
	/* Keep the hot-ranking preview at the original, more readable size. */
	--moedes-forum-ranking-cover-width: 118px;
	--moedes-forum-ranking-cover-height: calc(
		var(--moedes-forum-ranking-cover-width) * 0.5625
	);
	--moedes-forum-ranking-item-gap: 10px;
	--moedes-forum-ranking-row-height: 40px;
	--moedes-forum-ranking-active-extra: 48px;
	--moedes-forum-ranking-active-row-height: calc(
		var(--moedes-forum-ranking-row-height) + var(--moedes-forum-ranking-active-extra)
	);
	--moedes-forum-board-thumb-width: 96px;
	--moedes-forum-board-thumb-height: 72px;
	--moedes-forum-stats-links-width: 130px;
	--moedes-forum-stats-scroll-gap: 12px;
	--moedes-forum-stats-icon-size: 30px;
	--moedes-forum-stats-item-gap: 16px;
	--moedes-forum-collapse-switch-width: 46px;
	--moedes-forum-collapse-switch-height: 26px;
	--moedes-forum-collapse-switch-knob: 22px;
	--moedes-forum-collapse-switch-off: rgba(189, 189, 189, 0.4);
	--moedes-forum-collapse-switch-on: var(--moedes-primary, var(--focus-color, var(--theme-color, #2f6fed)));
	--moedes-forum-collapse-switch-safe-right: 0px;
	--moedes-forum-header-height: 52px;
	--moedes-circle-directory-width: 240px;
	--moedes-forum-main-column-max: 1080px;
	--moedes-forum-column-gap: 24px;
	--moedes-forum-shell-inline-padding: 24px;
	--moedes-forum-right-column-width: 328px;
	--moedes-forum-header-surface: rgba(255, 255, 255, 0.84);
	--moedes-forum-action-radius: var(--moedes-forum-radius, var(--main-radius, 8px));
	--moedes-forum-vip-action: var(--moedes-secondary, #FF7073);
	--moedes-forum-vip-action-hover: var(--moedes-secondary-hover, #e45f62);
	--moedes-user-profile-surface: var(--main-bg-color, #fff);
	--moedes-user-profile-border: var(--main-border-color, #e6eaf0);
	--moedes-user-profile-muted: var(--muted-2-color, #7a8493);
	--moedes-user-profile-cover-height: 94px;
	--moedes-user-profile-avatar-size: 62px;
	--moedes-user-profile-avatar-border: 3px;
	--moedes-user-profile-accent: var(--moedes-primary, var(--focus-color, #2f6fed));
	--moedes-user-profile-message: var(--moedes-secondary, #FF7073);
	--moedes-user-profile-follow: var(--moedes-tertiary, #51A2FF);
	--moedes-user-profile-intro: var(--muted-bg-color, #f4f5f7);
	--moedes-user-profile-gap: 10px;
	/* Updated by the forum script to exclude the desktop scrollbar width. */
	--moedes-forum-viewport-width: 100vw;
	/*
	 * Keep both navigation layers aligned with the Bootstrap container used
	 * by the forum content. The parent theme intentionally makes
	 * `.container-header` wider than the page container; the forum shell
	 * should opt out of that extra 180px gutter.
	 */
	--moedes-forum-content-width: min(
		var(--moedes-forum-max-width, var(--mian-max-width, 1180px)),
		1170px
	);
	background: var(--body-bg-color, #f4f7fb);
	color: var(--key-color, #1f2937);
	overflow-x: hidden;
	overflow-x: clip;
}

/*
 * Zibll's mobile off-canvas menu is intentionally positioned outside the
 * viewport while closed. Apply the overflow guard to the root element too,
 * otherwise that hidden drawer can create a 10px horizontal page scroll on
 * narrow screens.
 */
html.moedes-forum-ready {
	overflow-x: clip;
}

/*
 * Widget headings stay neutral by default. Only the active tab or selected
 * ranking row receives the configured Moedes primary color, which keeps the
 * page hierarchy quiet while preserving clear interaction feedback.
 */
body.moedes-forum
	:is(
		.moedes-forum-ranking__heading,
		.moedes-forum-home-recommendations__title,
		.moedes-forum-news__title,
		.moedes-forum-anime-news__title,
		.moedes-forum-anime-notice__title,
		.moedes-forum-latest-release__title,
		.moedes-forum-visual-ranking__title,
		.moedes-forum-recommendations__heading
	) {
	color: var(--moedes-title-color);
}

body.moedes-forum
	:is(
		.moedes-forum-ranking__tab[aria-selected="true"],
		.moedes-forum-ranking__item.is-active .moedes-forum-ranking__title,
		.moedes-forum-visual-ranking__tab[aria-selected="true"],
		.moedes-forum-visual-ranking__item.is-active .moedes-forum-visual-ranking__post-title
	) {
	color: var(--moedes-title-active-color);
}

/*
 * Editorial article lists.
 *
 * Zibll's list template deliberately ships as a series of floating cards.
 * Moedes archive pages use a quieter continuous stream: one divider per
 * article, a fixed-ratio thumbnail on the left and a readable text column on
 * the right. This is scoped to archive/list pages so single-post layouts and
 * native widgets keep their parent-theme structure.
 */
body.moedes-content-list {
	--moedes-list-surface: var(--main-bg-color, #fff);
	--moedes-list-border: var(--main-border-color, rgba(50, 50, 50, 0.08));
	--moedes-list-title-color: var(--moedes-title-color, #111827);
	--moedes-list-title-active: var(
		--moedes-title-active-color,
		var(--moedes-primary, var(--theme-color, #2f6fed))
	);
	--moedes-list-excerpt-color: var(--muted-color, #7a8493);
	--moedes-list-detail-color: var(--moedes-secondary, #ff7073);
	--moedes-list-detail-hover: var(
		--moedes-secondary-hover,
		var(--moedes-list-detail-color)
	);
	--moedes-list-inline-padding: clamp(14px, 2vw, 20px);
	--moedes-list-thumb-width: 220px;
	--moedes-list-thumb-radius: var(
		--moedes-forum-radius,
		var(--main-radius, 8px)
	);
}

body.moedes-content-list .posts-row {
	margin-top: 0;
}

body.moedes-content-list .posts-row > .posts-item.list {
	display: flex;
	width: 100%;
	min-width: 0;
	margin: 0 !important;
	padding: 18px var(--moedes-list-inline-padding);
	box-sizing: border-box;
	border: 0;
	border-bottom: 1px solid var(--moedes-list-border);
	border-radius: 0;
	background: var(--moedes-list-surface);
	box-shadow: none;
	transition: none;
}

body.moedes-content-list .posts-row > .posts-item.list:first-of-type {
	padding-top: 8px;
}

body.moedes-content-list .posts-row > .posts-item.list:last-of-type {
	border-bottom: 0;
}

body.moedes-content-list .posts-row > .posts-item.list .post-graphic,
body.moedes-content-list .posts-row > .posts-item.list .post-graphic.order1 {
	flex: 0 0 var(--moedes-list-thumb-width);
	width: var(--moedes-list-thumb-width);
	margin: 0 20px 0 0;
}

body.moedes-content-list .posts-row > .posts-item.list .item-thumbnail {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	padding: 0;
	overflow: hidden;
	border-radius: var(--moedes-list-thumb-radius);
	background: var(--muted-bg-2-color, #f6f7f8);
}

body.moedes-content-list
	.posts-row
	> .posts-item.list
	.item-thumbnail
	img {
	position: static;
	display: block;
	width: 100%;
	height: 100%;
	max-height: none;
	object-fit: cover;
	border-radius: inherit;
}

body.moedes-content-list .posts-row > .posts-item.list .item-body {
	display: grid;
	min-width: 0;
	align-content: start;
	gap: 7px;
	padding: 0;
}

body.moedes-content-list .posts-row > .posts-item.list .item-heading {
	min-width: 0;
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
}

body.moedes-content-list .posts-row > .posts-item.list .item-heading > a {
	color: var(--moedes-list-title-color);
}

body.moedes-content-list
	.posts-row
	> .posts-item.list
	.item-heading
	> a:hover,
body.moedes-content-list
	.posts-row
	> .posts-item.list
	.item-heading
	> a:focus-visible {
	color: var(--moedes-list-title-active);
}

body.moedes-content-list .posts-row > .posts-item.list .item-excerpt {
	display: block;
	min-width: 0;
	max-width: 70ch;
	margin: 0;
	overflow: hidden;
	color: var(--moedes-list-excerpt-color);
	font-size: 14px;
	font-weight: 300;
	line-height: 1.75;
	white-space: normal;
	text-overflow: clip;
}

body.moedes-content-list .posts-row > .posts-item.list .item-excerpt .moedes-list-excerpt-text {
	color: inherit;
	font-weight: inherit;
}

body.moedes-content-list
	.posts-row
	> .posts-item.list
	.item-excerpt
	.moedes-list-detail-link,
body.moedes-content-list
	.posts-row
	> .posts-item.list
	.item-excerpt
	.moedes-list-detail-link:visited {
	color: var(--moedes-list-detail-color);
	font-weight: 400;
	white-space: nowrap;
	text-decoration: none;
}

body.moedes-content-list
	.posts-row
	> .posts-item.list
	.item-excerpt
	.moedes-list-detail-link:hover,
body.moedes-content-list
	.posts-row
	> .posts-item.list
	.item-excerpt
	.moedes-list-detail-link:focus-visible {
	color: var(--moedes-list-detail-hover);
	text-decoration: underline;
	text-underline-offset: 2px;
}

body.moedes-content-list .posts-row > .posts-item.list .item-tags {
	margin: 0 !important;
}

body.moedes-content-list .posts-row > .posts-item.list .item-meta {
	align-self: end;
	margin-top: 5px;
	color: var(--muted-2-color, #8b95a5);
	font-size: 12px;
	line-height: 1.5;
}

body.dark-theme.moedes-content-list {
	--moedes-list-title-color: var(--key-color, #f8fafc);
	--moedes-list-excerpt-color: var(--muted-color, #b4b6bb);
}

/*
 * Continuous forum rows.
 *
 * Board and forum-home lists retain Zibll's author, gallery, AJAX and action
 * nodes, but lose the independent card treatment. The excerpt is kept light
 * and the generated detail link is the only accent in the preview.
 */
body.moedes-forum:not(.single-forum_post):not(.single-post)
	.forum-posts.detail {
	--moedes-forum-list-title: var(--moedes-title-color, #111827);
	--moedes-forum-list-title-active: var(
		--moedes-title-active-color,
		var(--moedes-primary, var(--theme-color, #2f6fed))
	);
	--moedes-forum-list-excerpt: var(--muted-color, #7a8493);
	--moedes-forum-list-inline-padding: clamp(14px, 2vw, 20px);
	display: block;
	box-sizing: border-box;
	margin: 0;
	padding: 18px var(--moedes-forum-list-inline-padding);
	border: 0;
	border-bottom: 1px solid var(--moedes-forum-border);
	border-radius: 0;
	background: var(--moedes-forum-surface);
	box-shadow: none;
	transition: none;
}

body.moedes-forum:not(.single-forum_post):not(.single-post)
	.forum-posts.detail:first-of-type {
	padding-top: 8px;
}

body.moedes-forum:not(.single-forum_post):not(.single-post)
	.forum-posts.detail:last-of-type {
	border-bottom: 0;
}

body.moedes-forum:not(.single-forum_post):not(.single-post)
	.forum-posts.detail
	.forum-title {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
}

body.moedes-forum:not(.single-forum_post):not(.single-post)
	.forum-posts.detail
	.forum-title
	> a {
	color: var(--moedes-forum-list-title);
	font-weight: 700;
}

body.moedes-forum:not(.single-forum_post):not(.single-post)
	.forum-posts.detail
	.forum-title
	> a:hover,
body.moedes-forum:not(.single-forum_post):not(.single-post)
	.forum-posts.detail
	.forum-title
	> a:focus-visible {
	color: var(--moedes-forum-list-title-active);
}

body.moedes-forum:not(.single-forum_post):not(.single-post)
	.forum-posts.detail
	.content {
	margin-top: 7px !important;
	color: var(--moedes-forum-list-excerpt);
	font-size: 14px;
	font-weight: 300;
	line-height: 1.75;
}

body.moedes-forum:not(.single-forum_post):not(.single-post)
	.forum-posts.detail
	.content
	.excerpt {
	display: inline;
	margin: 0;
	color: inherit;
	font-weight: inherit;
	line-height: inherit;
}

body.moedes-forum:not(.single-forum_post):not(.single-post)
	.forum-posts.detail
	.moedes-list-detail-link,
body.moedes-forum:not(.single-forum_post):not(.single-post)
	.forum-posts.detail
	.moedes-list-detail-link:visited {
	color: var(--moedes-secondary, #ff7073);
	font-weight: 400;
	white-space: nowrap;
	text-decoration: none;
}

body.moedes-forum:not(.single-forum_post):not(.single-post)
	.forum-posts.detail
	.moedes-list-detail-link:hover,
body.moedes-forum:not(.single-forum_post):not(.single-post)
	.forum-posts.detail
	.moedes-list-detail-link:focus-visible {
	color: var(--moedes-secondary-hover, var(--moedes-secondary, #ff7073));
	text-decoration: underline;
	text-underline-offset: 2px;
}

body.dark-theme.moedes-forum:not(.single-forum_post):not(.single-post)
	.forum-posts.detail {
	--moedes-forum-list-title: var(--key-color, #f8fafc);
	--moedes-forum-list-excerpt: var(--muted-color, #b4b6bb);
}

/*
 * Screenshot-inspired author profile card.
 *
 * The card is intentionally quiet: one cover image, one clear identity row,
 * a compact stat strip and a short recent-post list. All surfaces and state
 * colours inherit the Moedes/Zibll tokens so it remains usable in dark mode
 * and when the site's global radius is set to zero.
 */
body.moedes-forum .moedes-user-profile {
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--moedes-user-profile-border);
	border-radius: var(--moedes-forum-radius, var(--main-radius, 8px));
	background: var(--moedes-user-profile-surface);
	box-shadow: none;
	color: var(--moedes-title-color);
	box-sizing: border-box;
}

body.moedes-forum .moedes-user-profile__cover {
	position: relative;
	height: var(--moedes-user-profile-cover-height);
	overflow: hidden;
	background: var(--muted-bg-color, #f5f6f8);
}

body.moedes-forum .moedes-user-profile__cover::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, 0.16));
	content: "";
	pointer-events: none;
}

body.moedes-forum .moedes-user-profile__cover > img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.moedes-forum .moedes-user-profile__body {
	position: relative;
	min-width: 0;
	padding: 0 14px 14px;
}

body.moedes-forum .moedes-user-profile__identity-row {
	display: flex;
	min-width: 0;
	align-items: flex-start;
	gap: 11px;
}

body.moedes-forum .moedes-user-profile__avatar-wrap {
	position: relative;
	z-index: 1;
	flex: 0 0 var(--moedes-user-profile-avatar-size);
	width: var(--moedes-user-profile-avatar-size);
	height: var(--moedes-user-profile-avatar-size);
	margin-top: calc(var(--moedes-user-profile-avatar-size) / -2);
	border: var(--moedes-user-profile-avatar-border) solid var(--moedes-user-profile-surface);
	border-radius: var(--moedes-forum-radius, var(--main-radius, 8px));
	background: var(--moedes-user-profile-surface);
	box-shadow: 0 2px 6px rgba(31, 41, 55, 0.08);
}

body.moedes-forum .moedes-user-profile__avatar,
body.moedes-forum .moedes-user-profile__avatar-link,
body.moedes-forum .moedes-user-profile__avatar-link > .moedes-user-profile__avatar,
body.moedes-forum .moedes-user-profile__avatar .avatar {
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
	border-radius: max(0px, calc(var(--moedes-forum-radius, var(--main-radius, 8px)) - 2px));
}

body.moedes-forum .moedes-user-profile__avatar-link {
	position: relative;
}

body.moedes-forum .moedes-user-profile__avatar-link > .moedes-user-profile__avatar > img,
body.moedes-forum .moedes-user-profile__avatar > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.moedes-forum .moedes-user-profile__identity-main {
	min-width: 0;
	flex: 1 1 auto;
	padding-top: 9px;
}

body.moedes-forum .moedes-user-profile__name-row {
	display: flex;
	min-width: 0;
	flex-wrap: wrap;
	align-items: center;
	gap: 3px;
	min-height: 24px;
}

body.moedes-forum .moedes-user-profile__name {
	display: flex;
	min-width: 0;
	align-items: center;
	max-width: 100%;
}

body.moedes-forum .moedes-user-profile__display-name {
	display: inline-block;
	min-width: 0;
	max-width: 100%;
	overflow: hidden;
	color: var(--moedes-title-color);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.moedes-forum .moedes-user-profile__display-name:hover,
body.moedes-forum .moedes-user-profile__display-name:focus-visible {
	color: var(--moedes-user-profile-accent);
}

body.moedes-forum .moedes-user-profile__name .img-icon,
body.moedes-forum .moedes-user-profile__name img {
	flex: 0 0 auto;
	max-width: 24px;
	max-height: 20px;
}

body.moedes-forum .moedes-user-profile__role {
	display: inline-flex;
	min-width: 0;
	flex: 0 0 auto;
	align-items: center;
	gap: 3px;
}

body.moedes-forum .moedes-user-profile__role .badg {
	margin: 0 !important;
}

body.moedes-forum .moedes-user-profile__context-label {
	display: inline-flex;
	align-items: center;
	min-height: 18px;
	padding: 2px 6px;
	border-radius: var(--moedes-forum-radius, var(--main-radius, 8px));
	background: var(--moedes-user-profile-accent);
	color: #fff;
	font-size: 10px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
}

body.moedes-forum .moedes-user-profile--author .moedes-user-profile__member-meta {
	color: var(--moedes-user-profile-accent);
}

body.moedes-forum .moedes-user-profile__identity {
	margin: 0 !important;
	padding: 1px 5px;
	font-size: 11px;
	line-height: 1.35;
}

body.moedes-forum .moedes-user-profile__member-meta {
	overflow: hidden;
	color: var(--moedes-user-profile-muted);
	font-size: 12px;
	line-height: 1.45;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.moedes-forum .moedes-user-profile__medals {
	display: flex;
	min-height: 37px;
	align-items: center;
	justify-content: center;
	margin: 7px 0 8px;
	padding: 3px 0 8px;
	border-bottom: 1px solid var(--moedes-user-profile-border);
}

body.moedes-forum .moedes-user-profile__medal-link {
	display: inline-flex;
	min-width: 0;
	align-items: center;
	justify-content: center;
	gap: 3px;
	color: var(--moedes-user-profile-muted);
}

body.moedes-forum .moedes-user-profile__medal-link .medal-icon {
	width: 27px;
	height: 27px;
	object-fit: contain;
}

body.moedes-forum .moedes-user-profile__medal-link > span:last-child {
	display: none;
}

body.moedes-forum .moedes-user-profile__stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0 0 var(--moedes-user-profile-gap);
	border-top: 1px solid var(--moedes-user-profile-border);
	border-bottom: 1px solid var(--moedes-user-profile-border);
}

body.moedes-forum .moedes-user-profile__stat {
	display: flex;
	min-width: 0;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	min-height: 58px;
	padding: 4px 4px 8px;
	border-right: 1px solid var(--moedes-user-profile-border);
	color: var(--moedes-user-profile-muted);
	text-align: center;
}

body.moedes-forum .moedes-user-profile__stat:last-child {
	border-right: 0;
}

body.moedes-forum .moedes-user-profile__stat strong {
	color: var(--moedes-title-color);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.2;
}

body.moedes-forum .moedes-user-profile__stat span {
	font-size: 12px;
	line-height: 1.4;
}

body.moedes-forum .moedes-user-profile__stat:hover strong,
body.moedes-forum .moedes-user-profile__stat:focus-visible strong {
	color: var(--moedes-user-profile-accent);
}

body.moedes-forum .moedes-user-profile__intro {
	margin-bottom: var(--moedes-user-profile-gap);
	padding: 9px 10px;
	background: var(--moedes-user-profile-intro);
	color: var(--moedes-title-color);
	font-size: 12px;
	line-height: 1.55;
	overflow-wrap: anywhere;
}

body.moedes-forum .moedes-user-profile__actions {
	display: flex;
	min-width: 0;
	gap: 7px;
	margin-bottom: var(--moedes-user-profile-gap);
}

body.moedes-forum .moedes-user-profile__actions--author {
	padding-top: 2px;
}

body.moedes-forum .moedes-user-profile__button {
	display: inline-flex !important;
	min-width: 0;
	flex: 1 1 0;
	align-items: center;
	justify-content: center;
	min-height: 35px;
	margin: 0 !important;
	padding: 6px 7px !important;
	border: 0 !important;
	border-radius: var(--moedes-forum-radius, var(--main-radius, 8px)) !important;
	color: #fff !important;
	font-size: 13px;
	line-height: 1.35;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
}

body.moedes-forum .moedes-user-profile__button--message {
	background: var(--moedes-user-profile-message) !important;
}

body.moedes-forum .moedes-user-profile__button--follow {
	background: var(--moedes-user-profile-follow) !important;
}

body.moedes-forum .moedes-user-profile--author .moedes-user-profile__button--message {
	background: var(--moedes-user-profile-accent) !important;
}

body.moedes-forum .moedes-user-profile--author .moedes-user-profile__button--follow {
	background: var(--moedes-user-profile-follow) !important;
}

body.moedes-forum .moedes-user-profile__button:hover,
body.moedes-forum .moedes-user-profile__button:focus-visible {
	opacity: 0.86;
	color: #fff !important;
}

body.moedes-forum .moedes-user-profile__button .icon,
body.moedes-forum .moedes-user-profile__button .fa {
	flex: 0 0 auto;
}

body.moedes-forum .moedes-user-profile__recent {
	min-width: 0;
	margin-top: 1px;
}

body.moedes-forum .moedes-user-profile__section-label {
	margin-bottom: 4px;
	color: var(--moedes-user-profile-muted);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
}

body.moedes-forum .moedes-user-profile__post-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

body.moedes-forum .moedes-user-profile__post-item {
	min-width: 0;
	margin: 0;
	padding: 3px 0;
}

body.moedes-forum .moedes-user-profile__post-link {
	display: flex;
	min-width: 0;
	align-items: baseline;
	gap: 4px;
	color: var(--moedes-title-color);
	font-size: 12px;
	line-height: 1.5;
	text-decoration: none;
}

body.moedes-forum .moedes-user-profile__post-link::before {
	flex: 0 0 auto;
	color: var(--moedes-user-profile-message);
	content: "·";
	font-size: 18px;
	line-height: 0.8;
}

body.moedes-forum .moedes-user-profile__post-tag {
	flex: 0 0 auto;
	color: var(--moedes-user-profile-message);
}

body.moedes-forum .moedes-user-profile__post-tag a {
	color: inherit;
}

body.moedes-forum .moedes-user-profile__post-title {
	min-width: 0;
	overflow: hidden;
	color: inherit;
	text-overflow: ellipsis;
	text-decoration: none;
	white-space: nowrap;
}

body.moedes-forum .moedes-user-profile__post-link:hover,
body.moedes-forum .moedes-user-profile__post-link:focus-within {
	color: var(--moedes-user-profile-accent);
}

body.moedes-forum .moedes-user-profile__more {
	display: block;
	width: 100%;
	margin-top: 9px;
	padding: 9px 10px;
	border-radius: var(--moedes-forum-radius, var(--main-radius, 8px));
	background: var(--moedes-user-profile-message);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
}

body.moedes-forum .moedes-user-profile__more:hover,
body.moedes-forum .moedes-user-profile__more:focus-visible {
	opacity: 0.86;
	color: #fff;
}

body.dark-theme.moedes-forum .moedes-user-profile__display-name,
body.dark-theme.moedes-forum .moedes-user-profile__stat strong,
body.dark-theme.moedes-forum .moedes-user-profile__post-link {
	color: var(--key-color, #f1f5fb);
}

@media (max-width: 600px) {
	body.moedes-forum {
		--moedes-user-profile-cover-height: 86px;
		--moedes-user-profile-avatar-size: 56px;
	}

	body.moedes-forum .moedes-user-profile__body {
		padding-right: 11px;
		padding-left: 11px;
	}

	body.moedes-forum .moedes-user-profile__identity-row {
		gap: 9px;
	}

	body.moedes-forum .moedes-user-profile__display-name {
		font-size: 15px;
	}

	body.moedes-forum .moedes-user-profile__member-meta {
		font-size: 11px;
	}

	body.moedes-forum .moedes-user-profile__post-link {
		font-size: 12px;
	}
}

body.dark-theme:is(.moedes-forum, .moedes-content-navigation) {
	--moedes-title-color: var(--key-color, #f1f5fb);
	--moedes-title-active-color: var(--moedes-primary, #F39A07);
	--moedes-forum-nav-text: var(--key-color, #f1f5fb);
	--moedes-forum-nav-muted: var(--muted-color, #b4bcc8);
	--moedes-forum-nav-active: var(--moedes-tertiary, #8eb5ff);
	--moedes-forum-header-surface: rgba(50, 51, 53, 0.84);
	--moedes-user-profile-surface: var(--main-bg-color, #2f3237);
	--moedes-user-profile-border: var(--main-border-color, #4a4f57);
	--moedes-user-profile-muted: var(--muted-2-color, #b4bcc8);
	--moedes-user-profile-intro: var(--muted-bg-color, #383c42);
	--moedes-user-profile-message: var(--moedes-secondary, #e5a23a);
	--moedes-user-profile-follow: var(--moedes-tertiary, #ff7f7f);
}

/*
 * Bootstrap changes the forum container width at each desktop breakpoint.
 * Mirror those widths here so the navigation never projects beyond the
 * content column on 1024px and 900px layouts.
 */
@media (min-width: 1200px) {
	body:is(.moedes-forum, .moedes-content-navigation) {
		--moedes-forum-content-width: min(
			var(--moedes-forum-max-width, var(--mian-max-width, 1180px)),
			1170px
		);
	}
}

@media (min-width: 992px) and (max-width: 1199px) {
	body:is(.moedes-forum, .moedes-content-navigation) {
		--moedes-forum-content-width: min(
			var(--moedes-forum-max-width, var(--mian-max-width, 1180px)),
			970px
		);
	}
}

@media (min-width: 768px) and (max-width: 991px) {
	body:is(.moedes-forum, .moedes-content-navigation) {
		--moedes-forum-content-width: min(
			var(--moedes-forum-max-width, var(--mian-max-width, 1180px)),
			750px
		);
	}
}

/*
 * The primary Zibll header stays in normal document flow above the page
 * content. The former standalone Moedes second navigation is retired; native
 * Zibll tab rails remain inside their owning content panels.
 */
body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list).nav-fixed {
	padding-top: var(--moedes-forum-header-height, 52px);
}

body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list).nav-fixed .header {
	position: fixed !important;
	top: 0;
	left: 0;
	right: 0;
	margin-bottom: 0 !important;
}

body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list):not(.nav-fixed) .header {
	position: relative !important;
	top: auto;
	left: auto;
	right: auto;
	margin-bottom: 0 !important;
}

body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .header-slider-container,
body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .slide-header {
	margin-top: 0 !important;
}

body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .header-slider-container {
	margin-bottom: 0 !important;
	position: relative;
	z-index: 1;
}

/*
 * The standalone Moedes second navigation is retired.  Keep this CSS guard
 * in place for cached markup and for the short interval before the deferred
 * enhancement script removes an old generated node.  Zibll's native list
 * tabs remain untouched inside their original AJAX panel.
 */
body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list)
	.moedes-forum-secondary-nav {
	display: none !important;
}

body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .moedes-forum-secondary-nav + .affix-clone {
	display: none !important;
}

/* Cached pages can briefly lack the body context class. Keep the retired
 * navigation hidden during that short interval as well. */
.moedes-forum-secondary-nav,
.moedes-forum-secondary-nav__dropdown-menu,
[data-moedes-secondary-dropdown-menu] {
	display: none !important;
}

body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .header {
	min-height: var(--moedes-forum-header-height);
	padding: 0 20px !important;
	margin-bottom: 0 !important;
	position: relative;
	z-index: 30;
	background: var(--moedes-forum-header-surface) !important;
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	backdrop-filter: saturate(1.4) blur(14px);
}

body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .sidebar {
	position: relative;
	z-index: 1;
}

@media (min-width: 992px) {
	/*
	 * Keep the original sidebar in normal document flow and let the browser
	 * handle both downward and upward scrolling natively. Zibll still creates
	 * `.sidebar-affix` for data-affix widgets, but its cloned proxy is hidden
	 * so it cannot delay or interrupt the real sidebar's sticky state.
	 */
	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .sidebar {
		position: sticky !important;
		top: calc(
			var(--moedes-forum-header-height, 52px) +
			var(--moedes-forum-space-sm, 8px)
		) !important;
		align-self: flex-start;
		z-index: 2;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list):not(.nav-fixed) .sidebar {
		top: 0 !important;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .sidebar > .sidebar-affix {
		display: none !important;
	}
}

@media (min-width: 768px) {
	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .navbar-top {
		display: flex;
		align-items: center;
		height: var(--moedes-forum-header-height);
		min-height: var(--moedes-forum-header-height);
		background: transparent !important;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .navbar-top .container-header {
		display: flex;
		align-items: center;
		flex: 1 1 auto;
		height: 100%;
		min-height: 0;
		width: 100%;
		max-width: var(--moedes-forum-content-width);
		margin-right: auto;
		margin-left: auto;
		box-sizing: border-box;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .navbar-top .navbar-header,
	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .navbar-top .navbar-brand,
	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .navbar-top .navbar-collapse,
	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .navbar-top .navbar-nav,
	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .navbar-top .nav > li {
		display: flex;
		align-items: center;
		height: 100%;
		min-height: 0;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .navbar-top .navbar-header,
	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .navbar-top .navbar-collapse,
	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .navbar-top .navbar-nav,
	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .navbar-top .nav > li {
		float: none !important;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .navbar-top .navbar-header::before,
	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .navbar-top .navbar-header::after,
	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .navbar-top .navbar-collapse::before,
	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .navbar-top .navbar-collapse::after {
		display: none;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .navbar-top .navbar-header {
		flex: 0 0 auto;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .navbar-top .navbar-brand {
		padding: 0 8px;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .navbar-top .navbar-logo > img {
		display: block;
		height: 30px;
		padding-right: 18px;
		padding-left: 18px;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .navbar-top .navbar-collapse {
		display: flex !important;
		flex: 1 1 auto;
		height: 100% !important;
		min-width: 0;
		overflow: visible;
		padding: 0;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .navbar-top .navbar-nav {
		flex: 0 1 auto;
		margin-top: 0;
		margin-bottom: 0;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .navbar-top .nav > li {
		max-height: none;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .navbar-top .nav > li > a {
		display: inline-flex !important;
		align-items: center;
		height: 100%;
		min-height: var(--moedes-forum-header-height);
		padding-top: 0;
		padding-bottom: 0;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .navbar-top .navbar-collapse > .navbar-form,
	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .navbar-top .navbar-collapse > .navbar-text,
	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .navbar-top .navbar-collapse > .navbar-right {
		display: flex;
		align-items: center;
		height: 100%;
		float: none !important;
		margin-top: 0;
		margin-bottom: 0;
		padding-top: 0;
		padding-bottom: 0;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .navbar-top .navbar-collapse > .navbar-form.navbar-left {
		flex: 0 1 auto;
		min-width: 0;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .navbar-top .navbar-collapse > .navbar-form {
		padding-right: 8px;
		padding-left: 8px;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .navbar-top .navbar-collapse >
	.navbar-form.navbar-right {
		flex: 0 0 auto;
		justify-content: flex-end;
		min-width: max-content;
		white-space: nowrap;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .navbar-top .navbar-collapse > .navbar-text {
		flex: 0 0 auto;
		justify-content: flex-end;
		min-width: max-content;
		white-space: nowrap;
		padding-right: 8px;
		padding-left: 8px;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .navbar-top .navbar-collapse >
	.navbar-form.navbar-right > .list-inline {
		display: flex;
		align-items: center;
		gap: 8px;
		margin: 0;
		white-space: nowrap;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .navbar-top .navbar-collapse >
	.navbar-form.navbar-right > .list-inline > li {
		display: flex;
		align-items: center;
		float: none;
		margin: 0;
		padding: 0;
		line-height: 1;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .navbar-top .navbar-collapse >
	.navbar-form.navbar-right > .list-inline > li > a {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		line-height: 1;
		vertical-align: middle;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .navbar-top .navbar-collapse >
	.navbar-form.navbar-right > .list-inline > li > a > img,
	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .navbar-top .navbar-collapse >
	.navbar-form.navbar-right > .list-inline > li > a > svg,
	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .navbar-top .navbar-collapse >
	.navbar-form.navbar-right > .list-inline > li > a > i {
		display: block;
	}

	/*
	 * On forum pages posting/member actions move to the second navigation
	 * layer. Let the first remaining right-side group claim the free space,
	 * then keep the theme toggle and account controls flush to the right.
	 */
	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .navbar-top .navbar-collapse >
	.navbar-form.navbar-right.flex.ac {
		flex: 0 0 auto;
		margin-left: auto !important;
		justify-content: flex-end;
	}

	/* Fallback for installations that hide the theme/translation group. */
	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .navbar-top .navbar-collapse >
	.navbar-form.navbar-right:where(:not(.navbar-but):not(.flex):not(.navbar-text)) {
		margin-left: auto !important;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .navbar-top .navbar-collapse >
	.navbar-form.navbar-right.flex.ac +
	.navbar-form.navbar-right {
		margin-left: 0 !important;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .navbar-top .navbar-collapse >
	.navbar-form.navbar-right.navbar-text {
		margin-left: 0 !important;
		justify-content: flex-end;
	}
}

body.moedes-forum :where(.content-wrap, .content-layout, .sidebar) {
	min-width: 0;
}

/*
 * Post-page breadcrumb. The parent theme normally renders this inside the
 * article column. Steam-enabled posts render the same native list as a
 * full-width sibling immediately before the overview, so it never consumes
 * article/sidebar width.
 */
body.moedes-forum .moedes-forum-post-breadcrumb {
	width: 100%;
	min-width: 0;
	margin: 0 0 var(--moedes-forum-space-md, 14px);
}

body.moedes-forum .moedes-forum-post-breadcrumb .breadcrumb {
	display: flex;
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: 0 4px;
	align-items: center;
	flex-wrap: wrap;
	gap: 0;
	box-sizing: border-box;
	color: var(--moedes-forum-muted);
	font-size: 13px;
	line-height: 1.5;
}

body.moedes-forum .moedes-forum-post-breadcrumb .breadcrumb a {
	color: var(--moedes-forum-muted);
}

body.moedes-forum .moedes-forum-post-breadcrumb .breadcrumb a:hover,
body.moedes-forum .moedes-forum-post-breadcrumb .breadcrumb a:focus-visible {
	color: var(--moedes-forum-accent, var(--theme-color, #2f6fed));
}

/*
 * Native post title and metadata, relocated above the content/sidebar grid.
 * This stays deliberately quiet: the white surface establishes the hierarchy,
 * while title, author, counters and Zibll's optional more controls remain the
 * only information shown here.
 */
body.moedes-forum .moedes-forum-post-summary {
	width: 100%;
	min-width: 0;
	margin: 0 0 var(--moedes-forum-space-lg, 18px);
	padding: clamp(10px, 1.1vw, 14px) clamp(16px, 1.5vw, 20px);
	border: 1px solid var(--moedes-forum-border, var(--main-border-color, #e6eaf0));
	border-radius: var(--moedes-forum-radius, var(--main-radius, 8px));
	background: var(--moedes-forum-surface, var(--main-bg-color, #fff));
	box-shadow: none;
}

body.moedes-forum .moedes-forum-post-summary.is-relocated {
	flex: 0 0 100%;
	max-width: 100%;
}

body.moedes-forum .moedes-forum-post-summary > .article-header {
	display: grid;
	min-width: 0;
	gap: 4px;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

body.moedes-forum .moedes-forum-post-summary .article-title {
	min-width: 0;
	margin: 0 !important;
	color: var(--moedes-title-color);
	font-size: clamp(22px, 1.8vw, 26px);
	font-weight: 700;
	line-height: 1.24;
	overflow-wrap: anywhere;
}

body.moedes-forum .moedes-forum-post-summary .article-title > a {
	color: inherit;
}

body.moedes-forum .moedes-forum-post-summary .article-title > a:hover,
body.moedes-forum .moedes-forum-post-summary .article-title > a:focus-visible {
	color: var(--moedes-title-active-color);
}

body.moedes-forum .moedes-forum-post-summary .forum-article-meta {
	display: flex;
	min-width: 0;
	align-items: center;
	justify-content: space-between;
	gap: var(--moedes-forum-space-md, 14px);
	flex-wrap: wrap;
	color: var(--moedes-forum-muted, var(--muted-2-color, #7a8493));
	font-size: 12px;
	line-height: 1.4;
}

body.moedes-forum .moedes-forum-post-summary .forum-article-meta :where(.meta-left, .meta-right) {
	display: flex;
	min-width: 0;
	align-items: center;
}

body.moedes-forum .moedes-forum-post-summary .forum-article-meta .meta-left {
	flex: 1 1 auto;
	overflow: hidden;
}

body.moedes-forum .moedes-forum-post-summary .forum-article-meta .meta-left > name {
	display: inline-flex;
	min-width: 0;
	align-items: center;
	overflow: hidden;
}

body.moedes-forum .moedes-forum-post-summary .forum-article-meta .display-name {
	max-width: min(28vw, 220px);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.moedes-forum .moedes-forum-post-summary .forum-article-meta .meta-right {
	flex: 0 0 auto;
	margin-left: auto;
	white-space: nowrap;
}

body.moedes-forum .moedes-forum-post-summary .forum-article-meta .meta-right .item {
	margin-left: var(--moedes-forum-space-md, 14px);
}

@media (max-width: 600px) {
	body.moedes-forum .moedes-forum-post-summary {
		margin-bottom: 14px;
		padding: 10px 14px;
	}

	body.moedes-forum .moedes-forum-post-summary .article-title {
		font-size: 21px;
	}

	body.moedes-forum .moedes-forum-post-summary .forum-article-meta {
		gap: 6px 10px;
	}

	body.moedes-forum .moedes-forum-post-summary .forum-article-meta .meta-left {
		flex-basis: 100%;
	}

	body.moedes-forum .moedes-forum-post-summary .forum-article-meta .meta-right {
		margin-left: 0;
	}

	body.moedes-forum .moedes-forum-post-summary .forum-article-meta .display-name {
		max-width: 48vw;
	}
}

/*
 * Zibll's `.fixed-wrap` reserves 80px for the action rail. On wide screens
 * the rail is moved into the existing page gutter; the article then receives
 * the complete content column. At narrower desktop widths it is hidden and
 * the native footer actions remain available, avoiding an off-screen rail.
 */
@media (min-width: 768px) {
	body.moedes-forum .fixed-wrap.single-wrap > .fixed-wrap-content {
		margin-left: 0 !important;
	}

	body.moedes-forum .fixed-wrap.single-wrap > .fixed-wrap-nav.single-fixed-btns {
		display: none !important;
	}
}

@media (min-width: 1200px) {
	body.moedes-forum {
		--moedes-forum-post-action-size: 48px;
		--moedes-forum-post-action-gap: 8px;
	}

	/*
	 * Keep the desktop action rail independent from Zibll's affix-top,
	 * affix and affix-bottom states. It is a viewport control, so it should
	 * remain visible and vertically centred while the post is being read.
	 */
	body.moedes-forum.moedes-circle-directory-enabled .fixed-wrap.single-wrap > .fixed-wrap-nav.single-fixed-btns,
	body.moedes-forum.moedes-circle-directory-enabled .fixed-wrap.single-wrap > .fixed-wrap-nav.single-fixed-btns.affix-top,
	body.moedes-forum.moedes-circle-directory-enabled .fixed-wrap.single-wrap > .fixed-wrap-nav.single-fixed-btns.affix,
	body.moedes-forum.moedes-circle-directory-enabled .fixed-wrap.single-wrap > .fixed-wrap-nav.single-fixed-btns.affix-bottom {
		display: block !important;
		width: var(--moedes-forum-post-action-size);
		position: fixed !important;
		top: 50% !important;
		bottom: auto !important;
		margin-top: 0 !important;
		transform: translateY(-50%);
		left: max(
			0px,
			calc(
				(
					var(--moedes-forum-viewport-width) -
					var(--moedes-forum-content-width)
				) / 2 +
				10px -
				var(--moedes-forum-post-action-size) -
				var(--moedes-forum-post-action-gap)
			)
		) !important;
		z-index: 19;
	}

	body.moedes-forum .fixed-wrap-nav.single-fixed-btns > * {
		padding-top: var(--moedes-forum-space-sm, 8px);
	}

	body.moedes-forum .fixed-wrap-nav.single-fixed-btns .score-btns,
	body.moedes-forum .fixed-wrap-nav.single-fixed-btns .score-box,
	body.moedes-forum .fixed-wrap-nav.single-fixed-btns a:not(.share-btn),
	body.moedes-forum .fixed-wrap-nav.single-fixed-btns .btn-share,
	body.moedes-forum .fixed-wrap-nav.single-fixed-btns .share-button {
		width: var(--moedes-forum-post-action-size);
		border-radius: var(--moedes-forum-action-radius);
	}

	body.moedes-forum .fixed-wrap-nav.single-fixed-btns .share-button {
		overflow: hidden;
	}

	body.moedes-forum .fixed-wrap-nav.single-fixed-btns a:not(.share-btn),
	body.moedes-forum .fixed-wrap-nav.single-fixed-btns .btn-share {
		height: var(--moedes-forum-post-action-size);
		margin: 0 0 var(--moedes-forum-space-sm, 8px);
	}
}

body.moedes-forum :where(.panel-plate, .forum-posts, .zib-widget) {
	border-color: var(--main-border-color, #e5eaf1);
	border-radius: var(--moedes-forum-radius, var(--main-radius, 8px));
}

/*
 * Forum list media: retain each image's intrinsic ratio instead of the
 * parent theme's fixed cover crop. The grid caps at eight columns; any
 * additional images wrap to the next row.
 */
body.moedes-forum .forum-posts.detail .imgbox-container.lists-imgs {
	display: grid;
	grid-template-columns: repeat(8, minmax(0, 1fr));
	gap: 4px;
	width: 100%;
	max-width: 100%;
	margin-right: 0;
	margin-left: 0;
}

body.moedes-forum .forum-posts.detail .imgbox-container.lists-imgs.count-1 {
	display: block;
}

body.moedes-forum .forum-posts.detail .imgbox-container.lists-imgs:is(.count-1, .count-2, .count-3, .count-4, .count-5, .count-6, .count-7, .count-8) {
	grid-template-columns: repeat(1, minmax(0, 1fr));
}

body.moedes-forum .forum-posts.detail .imgbox-container.lists-imgs.count-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.moedes-forum .forum-posts.detail .imgbox-container.lists-imgs.count-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.moedes-forum .forum-posts.detail .imgbox-container.lists-imgs.count-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.moedes-forum .forum-posts.detail .imgbox-container.lists-imgs.count-5 {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

body.moedes-forum .forum-posts.detail .imgbox-container.lists-imgs.count-6 {
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

body.moedes-forum .forum-posts.detail .imgbox-container.lists-imgs.count-7 {
	grid-template-columns: repeat(7, minmax(0, 1fr));
}

body.moedes-forum .forum-posts.detail .imgbox-container.lists-imgs.count-8 {
	grid-template-columns: repeat(8, minmax(0, 1fr));
}

body.moedes-forum .forum-posts.detail .imgbox-container.lists-imgs > span {
	position: relative;
	display: block;
	align-self: start;
	width: auto;
	min-width: 0;
	height: auto;
	margin: 0;
	padding: 0;
	line-height: 0;
}

body.moedes-forum .forum-posts.detail .imgbox-container.lists-imgs > span > img {
	position: static;
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto !important;
	max-height: none;
	object-fit: contain !important;
}

/* Keep the post metadata on the author's name row. */
body.moedes-forum .forum-posts.detail .user-right > .flex1 {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 10px;
}

body.moedes-forum .forum-posts.detail .user-right > .flex1 > name {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.moedes-forum .forum-posts.detail .user-right > .flex1 > .muted-2-color {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	max-width: 48%;
	min-width: 0;
	margin: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.moedes-forum .forum-posts.detail .user-right > .flex1 > .muted-2-color > span {
	white-space: nowrap;
}

body.moedes-forum .forum-posts.detail .user-right > .flex1 > .muted-2-color .icon-spot {
	margin-left: 8px;
}

@media (max-width: 767px) {
	body.moedes-content-list {
		--moedes-list-inline-padding: 14px;
	}

	body.moedes-forum:not(.single-forum_post):not(.single-post)
		.forum-posts.detail {
		--moedes-forum-list-inline-padding: 14px;
	}

	body.moedes-forum .forum-posts.detail .imgbox-container.lists-imgs {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	body.moedes-forum .forum-posts.detail .imgbox-container.lists-imgs.count-2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.moedes-forum .forum-posts.detail .imgbox-container.lists-imgs.count-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	body.moedes-forum .forum-posts.detail .imgbox-container.lists-imgs.count-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.moedes-forum .forum-posts.detail .imgbox-container.lists-imgs.count-5,
	body.moedes-forum .forum-posts.detail .imgbox-container.lists-imgs.count-6,
	body.moedes-forum .forum-posts.detail .imgbox-container.lists-imgs.count-7,
	body.moedes-forum .forum-posts.detail .imgbox-container.lists-imgs.count-8 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	body.moedes-forum .forum-posts.detail .user-right > .flex1 {
		gap: 6px;
	}

	body.moedes-forum .forum-posts.detail .user-right > .flex1 > .muted-2-color {
		max-width: 55%;
	}
}

/*
 * Zibll applies pill and avatar radii through global utility classes. Keep
 * the forum post footer within the child theme token so a 0px global radius
 * is also respected by tags, ratings and author imagery.
 */
body.moedes-forum article.forum-article .article-tags .tag-link,
body.moedes-forum article.forum-article .single-footer.score-box .score-btns,
body.moedes-forum article.forum-article .avatar-img,
body.moedes-forum article.forum-article .avatar-img .avatar {
	border-radius: var(--moedes-forum-radius, var(--main-radius, 8px));
}

/*
 * Steam tags are the single tag presentation on a forum post. The native
 * footer tags are the same terms repeated below the article, so hide only
 * that duplicate block while leaving the Steam overview and its +N dialog
 * available.
 */
body.moedes-forum article.forum-article > .article-tags,
body.moedes-forum article.forum-article .article-tags {
	display: none !important;
}

body.moedes-forum :where(.forum-posts, .panel-plate, .zib-widget) :where(input, select, textarea) {
	border-color: var(--main-border-color, #e5eaf1);
	border-radius: var(--moedes-forum-radius, var(--main-radius, 8px));
}

body.moedes-forum :where(input, select, textarea):focus {
	border-color: var(--focus-color, var(--theme-color, #2f6fed));
	outline: 2px solid var(--focus-color, var(--theme-color, #2f6fed));
	outline-offset: 1px;
}

body.moedes-forum :where(.forum-title a) {
	color: var(--moedes-heading);
}

body.moedes-forum :where(.forum-title a):hover,
body.moedes-forum :where(.forum-title a):focus-visible {
	color: var(--moedes-heading-active);
}

body.moedes-forum :where(.c-blue, .c-blue-2) {
	color: var(--moedes-heading-active);
}

body.moedes-forum :where(.c-blue, .c-blue-2):hover,
body.moedes-forum :where(.c-blue, .c-blue-2):focus-visible {
	color: var(--moedes-primary-hover, var(--focus-color, var(--theme-color, #2f6fed)));
}

/*
 * Forum board page: keep Zibll's native markup and behavior, but use the
 * reference demo's grouped two-column information structure.
 */
body.moedes-forum #forum .bbs-home-tab .panel.panel-plate {
	overflow: hidden;
	margin-bottom: var(--moedes-forum-space-md);
	border: 1px solid var(--moedes-forum-border);
	border-radius: var(--moedes-forum-radius, var(--main-radius, 8px));
	background: var(--moedes-forum-surface);
	box-shadow: none;
}

body.moedes-forum #forum .bbs-home-tab .panel.panel-plate:first-of-type .panel-title,
body.moedes-forum #forum .bbs-home-tab .panel-plate .panel-title {
	margin: 0;
	padding: var(--moedes-forum-space-md) var(--moedes-forum-space-lg);
	border-bottom: 1px solid var(--moedes-forum-border);
}

body.moedes-forum #forum .bbs-home-tab .panel-plate .title-theme {
	gap: var(--moedes-forum-space-sm);
	height: auto;
	min-height: 24px;
	font-size: 16px;
	font-weight: 650;
	letter-spacing: 0;
}

body.moedes-forum #forum .bbs-home-tab .panel-plate .title-theme::before {
	width: 3px;
	height: 16px;
	border-radius: 2px;
	background: var(--moedes-forum-accent, var(--focus-color, #2f6fed));
	content: "";
	flex: 0 0 auto;
}

/*
 * Category panels use Zibll's native collapse trigger. Keep the trigger
 * and its href/data-toggle intact, but present the state as the same
 * horizontal switch used by native Zibll settings instead of an angle icon.
 */
body.moedes-forum #forum .bbs-home-tab .panel-plate .panel-title > a > span:last-child {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	margin-left: var(--moedes-forum-space-md);
	margin-right: var(--moedes-forum-collapse-switch-safe-right);
}

body.moedes-forum #forum .bbs-home-tab .panel-plate .panel-title > a > span:last-child > i.fa-angle-up,
body.moedes-forum #forum .bbs-home-tab .panel-plate .panel-title > a > span:last-child > i.fa-angle-down {
	display: block;
	position: relative;
	width: var(--moedes-forum-collapse-switch-width);
	height: var(--moedes-forum-collapse-switch-height);
	margin: 0;
	border: 1px solid var(--moedes-forum-border);
	border-radius: 100px;
	background: var(--moedes-forum-collapse-switch-off);
	color: transparent;
	font-size: 0;
	line-height: 0;
	transition: background-color 0.25s ease, border-color 0.25s ease;
}

body.moedes-forum #forum .bbs-home-tab .panel-plate .panel-title > a > span:last-child > i.fa-angle-up::after,
body.moedes-forum #forum .bbs-home-tab .panel-plate .panel-title > a > span:last-child > i.fa-angle-down::after {
	content: "";
	position: absolute;
	top: 1px;
	left: 1px;
	width: var(--moedes-forum-collapse-switch-knob);
	height: var(--moedes-forum-collapse-switch-knob);
	border-radius: 100px;
	background: var(--main-bg-color, #fff);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
	transition: left 0.25s ease, width 0.15s ease;
}

body.moedes-forum #forum .bbs-home-tab .panel-plate .panel-title > a:not(.collapsed) > span:last-child > i.fa-angle-up,
body.moedes-forum #forum .bbs-home-tab .panel-plate .panel-title > a:not(.collapsed) > span:last-child > i.fa-angle-down {
	border-color: var(--moedes-forum-collapse-switch-on);
	background: var(--moedes-forum-collapse-switch-on);
}

body.moedes-forum #forum .bbs-home-tab .panel-plate .panel-title > a:not(.collapsed) > span:last-child > i.fa-angle-up::after,
body.moedes-forum #forum .bbs-home-tab .panel-plate .panel-title > a:not(.collapsed) > span:last-child > i.fa-angle-down::after {
	left: calc(var(--moedes-forum-collapse-switch-width) - var(--moedes-forum-collapse-switch-knob) - 1px);
}

body.moedes-forum #forum .bbs-home-tab .panel-plate .panel-title > a:active > span:last-child > i.fa-angle-up::after,
body.moedes-forum #forum .bbs-home-tab .panel-plate .panel-title > a:active > span:last-child > i.fa-angle-down::after {
	width: calc(var(--moedes-forum-collapse-switch-knob) + 8px);
}

body.moedes-forum #forum .bbs-home-tab .panel-plate .panel-title > a:not(.collapsed):active > span:last-child > i.fa-angle-up::after,
body.moedes-forum #forum .bbs-home-tab .panel-plate .panel-title > a:not(.collapsed):active > span:last-child > i.fa-angle-down::after {
	left: calc(var(--moedes-forum-collapse-switch-width) - var(--moedes-forum-collapse-switch-knob) - 8px);
}

body.moedes-forum #forum .bbs-home-tab .panel-plate .panel-title > a:focus-visible > span:last-child > i.fa-angle-up,
body.moedes-forum #forum .bbs-home-tab .panel-plate .panel-title > a:focus-visible > span:last-child > i.fa-angle-down {
	outline: 2px solid var(--focus-color, var(--theme-color, #2f6fed));
	outline-offset: 3px;
}

body.moedes-forum #forum .bbs-home-tab .panel-plate .plate-lists {
	display: grid;
	grid-template-columns: repeat(var(--moedes-forum-board-columns, 2), minmax(0, 1fr));
	gap: 0;
	margin: 0;
	padding: 0;
}

body.moedes-forum #forum .bbs-home-tab .panel-plate .plate-item {
	width: auto;
	min-width: 0;
	margin: 0;
	padding: var(--moedes-forum-space-lg);
	border-top: 1px solid var(--moedes-forum-border);
	border-radius: 0;
	background: var(--moedes-forum-surface);
	box-shadow: none;
}

body.moedes-forum #forum .bbs-home-tab .panel-plate .plate-item:nth-child(-n + 2) {
	border-top: 0;
}

body.moedes-forum #forum .bbs-home-tab .panel-plate .plate-item:nth-child(odd) {
	border-right: 1px solid var(--moedes-forum-border);
}

body.moedes-forum-board-columns-1 #forum .bbs-home-tab .panel-plate .plate-item {
	border-right: 0;
}

body.moedes-forum-board-columns-1 #forum .bbs-home-tab .panel-plate .plate-item:nth-child(n + 2) {
	border-top: 1px solid var(--moedes-forum-border);
}

body.moedes-forum #forum .bbs-home-tab .panel-plate .plate-item:hover {
	background: var(--moedes-forum-surface-muted);
}

body.moedes-forum #forum .bbs-home-tab .panel-plate .plate-thumb {
	width: var(--moedes-forum-board-thumb-width);
	height: var(--moedes-forum-board-thumb-height);
	margin-right: var(--moedes-forum-space-md);
}

body.moedes-forum #forum .bbs-home-tab .panel-plate .plate-thumb > img {
	border-radius: calc(var(--moedes-forum-radius, var(--main-radius, 8px)) * 0.75);
}

body.moedes-forum #forum .bbs-home-tab .panel-plate .forum-title {
	font-size: 15px;
	font-weight: 600;
}

body.moedes-forum #forum .bbs-home-tab .panel-plate .excerpt {
	overflow: hidden;
	display: -webkit-box;
	margin-top: 5px;
	color: var(--moedes-forum-muted);
	line-height: 1.6;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
}

body.moedes-forum #forum .bbs-home-tab .panel-plate .count-mates {
	margin-top: var(--moedes-forum-space-sm);
	color: var(--moedes-forum-muted);
}

/*
 * Circle explorer layout.
 *
 * The board tab remains backed by Zibll's native panels and collapse
 * controls.  Moedes gives it the information hierarchy of an explorer page:
 * a quiet, sticky directory on the left and the complete native circle
 * catalogue on the right.  No post-feed tab or parent AJAX target is changed.
 */
body.moedes-forum
	#forum
	.bbs-home-tab
	#home-tab-3.moedes-circle-board {
	display: block;
	min-width: 0;
}

body.moedes-forum
	#forum
	.bbs-home-tab
	#home-tab-3.moedes-circle-board
	> .moedes-circle-layout {
	display: block;
	min-width: 0;
}

body.moedes-forum
	#forum
	.bbs-home-tab
	#home-tab-3.moedes-circle-board
	> .moedes-content-tab-nav {
	display: block;
}

body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .moedes-circle-directory {
	position: sticky;
	transform: translateX(var(--moedes-circle-directory-shift, 0px));
	top: calc(
		var(--moedes-forum-header-height, 52px)
		+ var(--moedes-forum-space-md, 14px)
	);
	min-width: 0;
	max-height: calc(100vh - 110px);
	overflow: hidden auto;
	padding: var(--moedes-forum-space-md, 14px);
	border: 1px solid var(--moedes-forum-border);
	border-radius: var(--moedes-forum-radius, var(--main-radius, 8px));
	background: var(--moedes-forum-surface);
	scrollbar-width: thin;
}

body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .moedes-circle-directory__heading {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--moedes-forum-border);
}

body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .moedes-circle-directory__heading strong {
	color: var(--moedes-title-color);
	font-size: 17px;
	font-weight: 700;
}

body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .moedes-circle-directory__heading span {
	color: var(--moedes-forum-muted);
	font-size: 12px;
}

body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .moedes-circle-directory__quick {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px;
	margin: 12px 0 14px;
}

body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .moedes-circle-directory__quick-link,
body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .moedes-circle-directory__group-title,
body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .moedes-circle-directory__item {
	display: block;
	min-width: 0;
	overflow: hidden;
	color: var(--moedes-forum-text);
	text-overflow: ellipsis;
	white-space: nowrap;
	text-decoration: none;
}

body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .moedes-circle-directory__quick-link {
	padding: 7px 8px;
	border: 1px solid var(--moedes-forum-border);
	border-radius: var(--moedes-forum-radius, var(--main-radius, 8px));
	background: var(--moedes-forum-surface-muted);
	color: var(--moedes-forum-nav-muted);
	font-size: 12px;
	text-align: center;
}

body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .moedes-circle-directory__quick-link:hover,
body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .moedes-circle-directory__quick-link:focus-visible {
	border-color: var(--moedes-forum-accent);
	color: var(--moedes-forum-nav-active);
	outline: 0;
}

body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .moedes-circle-directory__group + .moedes-circle-directory__group {
	margin-top: 14px;
}

body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .moedes-circle-directory__group-title {
	padding: 0 2px 6px;
	color: var(--moedes-forum-nav-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .moedes-circle-directory__group-title:hover,
body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .moedes-circle-directory__group-title:focus-visible {
	color: var(--moedes-forum-nav-active);
	outline: 0;
}

body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .moedes-circle-directory__item {
	position: relative;
	display: flex;
	min-height: 34px;
	padding: 4px 8px;
	align-items: center;
	gap: 8px;
	border-radius: calc(var(--moedes-forum-radius, var(--main-radius, 8px)) * 0.75);
	color: var(--moedes-forum-text);
	font-size: 13px;
	line-height: 1.35;
}

body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .moedes-circle-directory__item-icon {
	display: inline-grid;
	width: 26px;
	height: 26px;
	flex: 0 0 26px;
	place-items: center;
	overflow: hidden;
	border: 1px solid var(--moedes-forum-border);
	border-radius: calc(var(--moedes-forum-radius, var(--main-radius, 8px)) * 0.65);
	background: var(--moedes-forum-surface-muted);
	color: var(--moedes-forum-muted);
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
}

body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .moedes-circle-directory__item-icon img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .moedes-circle-directory__item-label {
	display: block;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .moedes-circle-directory__item:hover,
body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .moedes-circle-directory__item:focus-visible {
	background: var(--moedes-forum-surface-muted);
	color: var(--moedes-forum-nav-active);
	outline: 0;
}

body.moedes-forum
	#forum
	.bbs-home-tab
	#home-tab-3.moedes-circle-board
	.moedes-circle-panels {
	display: block;
	min-width: 0;
}

body.moedes-forum
	#forum
	.bbs-home-tab
	#home-tab-3.moedes-circle-board
	.moedes-circle-panels
	> .panel-plate:first-child {
	margin-top: 0;
}

@media (max-width: 900px) {
	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list)
		#forum
		.bbs-home-tab
		#home-tab-3.moedes-circle-board
		> .moedes-circle-layout {
		display: block;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .moedes-circle-directory {
		position: static;
		max-height: none;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .moedes-circle-directory__list {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 10px;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .moedes-circle-directory__group + .moedes-circle-directory__group {
		margin-top: 0;
	}
}

@media (max-width: 600px) {
	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .moedes-circle-directory {
		padding: 12px;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .moedes-circle-directory__list {
		grid-template-columns: 1fr;
	}
}

/*
 * The circle directory is a shell-level rail, not a panel inside the
 * "板块" tab. This keeps it visible while the forum home switches between
 * 关注、最新、板块 and 热门, matching the explorer layout used by the
 * reference site.  The original Zibll right sidebar remains a separate
 * column and is never copied into the rail.
 */
@media (min-width: 1200px) {
	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list)
		:is(#forum > .container.moedes-circle-shell, main.container.moedes-circle-shell) {
		display: grid;
		width: var(--moedes-forum-viewport-width, 100vw) !important;
		max-width: none !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
		grid-template-columns:
			var(--moedes-circle-directory-width, 240px)
			minmax(0, 1fr)
			minmax(var(--moedes-forum-right-column-width, 328px), var(--moedes-forum-right-column-width, 328px));
		column-gap: var(--moedes-forum-column-gap, 24px);
		padding-right: var(--moedes-forum-shell-inline-padding, 24px);
		padding-left: 0;
		align-items: start;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list)
		:is(#forum > .container.moedes-circle-shell, main.container.moedes-circle-shell)
		> .moedes-circle-directory--global {
		grid-column: 1;
		grid-row: 1;
		width: auto;
		min-width: 0;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list)
		:is(#forum > .container.moedes-circle-shell, main.container.moedes-circle-shell)
		> .content-wrap {
		grid-column: 2;
		grid-row: 1;
		float: none !important;
		width: 100% !important;
		max-width: var(--moedes-forum-main-column-max, 1080px);
		justify-self: center;
		min-width: 0;
		margin: 0 !important;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list)
		:is(#forum > .container.moedes-circle-shell, main.container.moedes-circle-shell)
		> .content-wrap
		> .content-layout {
		width: auto !important;
		min-width: 0;
		margin-right: 0 !important;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list)
		:is(#forum > .container.moedes-circle-shell, main.container.moedes-circle-shell)
		> .sidebar {
		grid-column: 3;
		grid-row: 1;
		float: none !important;
		width: auto !important;
		min-width: 0;
		margin: 0 0 0 auto !important;
	}
}

@media (min-width: 992px) and (max-width: 1199px) {
	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list)
		:is(#forum > .container.moedes-circle-shell, main.container.moedes-circle-shell) {
		display: grid;
		width: var(--moedes-forum-viewport-width, 100vw) !important;
		max-width: none !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
		grid-template-columns:
			var(--moedes-circle-directory-width, 240px)
			minmax(0, 1fr);
		column-gap: var(--moedes-forum-column-gap, 24px);
		padding-right: var(--moedes-forum-shell-inline-padding, 24px);
		padding-left: 0;
		align-items: start;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list)
		:is(#forum > .container.moedes-circle-shell, main.container.moedes-circle-shell)
		> .moedes-circle-directory--global {
		grid-column: 1;
		grid-row: 1;
		width: auto;
		min-width: 0;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list)
		:is(#forum > .container.moedes-circle-shell, main.container.moedes-circle-shell)
		> .content-wrap {
		grid-column: 2;
		grid-row: 1;
		float: none !important;
		width: 100% !important;
		max-width: var(--moedes-forum-main-column-max, 1080px);
		justify-self: center;
		min-width: 0;
		margin: 0 !important;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list)
		:is(#forum > .container.moedes-circle-shell, main.container.moedes-circle-shell)
		> .content-wrap
		> .content-layout {
		width: auto !important;
		min-width: 0;
		margin-right: 0 !important;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list)
		:is(#forum > .container.moedes-circle-shell, main.container.moedes-circle-shell)
		> .sidebar {
		grid-column: 1 / -1;
		grid-row: 2;
		float: none !important;
		width: auto !important;
		min-width: 0;
		margin: var(--moedes-forum-space-md, 14px) 0 0 !important;
	}
}

@media (min-width: 768px) and (max-width: 991px) {
	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list)
		:is(#forum > .container.moedes-circle-shell, main.container.moedes-circle-shell) {
		display: grid;
		width: var(--moedes-forum-viewport-width, 100vw) !important;
		max-width: none !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
		grid-template-columns:
			minmax(220px, 232px)
			minmax(0, 1fr);
		column-gap: var(--moedes-forum-column-gap, 24px);
		padding-right: var(--moedes-forum-shell-inline-padding, 24px);
		padding-left: 0;
		align-items: start;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list)
		:is(#forum > .container.moedes-circle-shell, main.container.moedes-circle-shell)
		> .moedes-circle-directory--global {
		grid-column: 1;
		grid-row: 1;
		width: auto;
		min-width: 0;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list)
		:is(#forum > .container.moedes-circle-shell, main.container.moedes-circle-shell)
		> .content-wrap {
		grid-column: 2;
		grid-row: 1;
		float: none !important;
		width: 100% !important;
		max-width: var(--moedes-forum-main-column-max, 1080px);
		justify-self: center;
		min-width: 0;
		margin: 0 !important;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list)
		:is(#forum > .container.moedes-circle-shell, main.container.moedes-circle-shell)
		> .content-wrap
		> .content-layout {
		width: auto !important;
		min-width: 0;
		margin-right: 0 !important;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list)
		:is(#forum > .container.moedes-circle-shell, main.container.moedes-circle-shell)
		> .sidebar {
		grid-column: 1 / -1;
		grid-row: 2;
		float: none !important;
		width: auto !important;
		min-width: 0;
		margin: var(--moedes-forum-space-md, 14px) 0 0 !important;
	}
}

@media (min-width: 768px) and (max-width: 1199px) {
	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .moedes-circle-directory--global {
		position: sticky;
		top: calc(
			var(--moedes-forum-header-height, 52px) +
			var(--moedes-forum-space-md, 14px)
		);
		max-height: calc(100vh - 110px);
		overflow: hidden auto;
	}
}

@media (min-width: 768px) and (max-width: 991px) {
	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) {
		--moedes-circle-directory-width: 232px;
	}
}

@media (max-width: 767px) {
	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list)
		:is(#forum > .container.moedes-circle-shell, main.container.moedes-circle-shell) {
		display: grid;
		grid-template-columns: 1fr;
		row-gap: var(--moedes-forum-space-md, 14px);
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list)
		:is(#forum > .container.moedes-circle-shell, main.container.moedes-circle-shell)
		> .moedes-circle-directory--global,
	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list)
		:is(#forum > .container.moedes-circle-shell, main.container.moedes-circle-shell)
		> .content-wrap,
	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list)
		:is(#forum > .container.moedes-circle-shell, main.container.moedes-circle-shell)
		> .sidebar {
		grid-column: 1;
		float: none !important;
		width: auto !important;
		min-width: 0;
		margin: 0 !important;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list)
		:is(#forum > .container.moedes-circle-shell, main.container.moedes-circle-shell)
		> .moedes-circle-directory--global {
		grid-row: 1;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list)
		:is(#forum > .container.moedes-circle-shell, main.container.moedes-circle-shell)
		> .content-wrap {
		grid-row: 2;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list)
		:is(#forum > .container.moedes-circle-shell, main.container.moedes-circle-shell)
		> .sidebar {
		grid-row: 3;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list)
		:is(#forum > .container.moedes-circle-shell, main.container.moedes-circle-shell)
		> .content-wrap
		> .content-layout {
		width: auto !important;
		min-width: 0;
		margin-right: 0 !important;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list) .moedes-circle-directory--global {
		position: static;
		max-height: min(360px, 48vh);
		overflow-y: auto;
	}
}

/*
 * Publish-page compatibility: `main > form` owns the editor and sidebar,
 * while the parent shell rules above already define the explorer grid on
 * `main.container.moedes-circle-shell`. `display: contents` keeps the form
 * submission tree intact and lets its direct children occupy that grid.
 */
@media (min-width: 1200px) {
	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list)
		main.container.moedes-circle-shell
		> form.moedes-circle-shell-form {
		display: contents;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list)
		main.container.moedes-circle-shell
		> form.moedes-circle-shell-form
		> .moedes-circle-directory--global {
		grid-column: 1;
		grid-row: 1;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list)
		main.container.moedes-circle-shell
		> form.moedes-circle-shell-form
		> .content-wrap {
		grid-column: 2;
		grid-row: 1;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list)
		main.container.moedes-circle-shell
		> form.moedes-circle-shell-form
		> .sidebar {
		grid-column: 3;
		grid-row: 1;
		float: none !important;
		width: 100% !important;
		min-width: 0;
		margin: 0 0 0 auto !important;
	}
}

@media (min-width: 992px) and (max-width: 1199px) {
	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list)
		main.container.moedes-circle-shell
		> form.moedes-circle-shell-form {
		display: contents;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list)
		main.container.moedes-circle-shell
		> form.moedes-circle-shell-form
		> .moedes-circle-directory--global {
		grid-column: 1;
		grid-row: 1;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list)
		main.container.moedes-circle-shell
		> form.moedes-circle-shell-form
		> .content-wrap {
		grid-column: 2;
		grid-row: 1;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list)
		main.container.moedes-circle-shell
		> form.moedes-circle-shell-form
		> .sidebar {
		grid-column: 1 / -1;
		grid-row: 2;
		float: none !important;
		width: auto !important;
		min-width: 0;
		margin: var(--moedes-forum-space-md, 14px) 0 0 !important;
	}
}

@media (min-width: 768px) and (max-width: 991px) {
	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list)
		main.container.moedes-circle-shell
		> form.moedes-circle-shell-form {
		display: contents;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list)
		main.container.moedes-circle-shell
		> form.moedes-circle-shell-form
		> .moedes-circle-directory--global {
		grid-column: 1;
		grid-row: 1;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list)
		main.container.moedes-circle-shell
		> form.moedes-circle-shell-form
		> .content-wrap {
		grid-column: 2;
		grid-row: 1;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list)
		main.container.moedes-circle-shell
		> form.moedes-circle-shell-form
		> .sidebar {
		grid-column: 1 / -1;
		grid-row: 2;
		float: none !important;
		width: auto !important;
		min-width: 0;
		margin: var(--moedes-forum-space-md, 14px) 0 0 !important;
	}
}

@media (max-width: 767px) {
	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list)
		main.container.moedes-circle-shell
		> form.moedes-circle-shell-form {
		display: contents;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list)
		main.container.moedes-circle-shell
		> form.moedes-circle-shell-form
		> .moedes-circle-directory--global {
		grid-column: 1;
		grid-row: 1;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list)
		main.container.moedes-circle-shell
		> form.moedes-circle-shell-form
		> .content-wrap {
		grid-column: 1;
		grid-row: 2;
	}

	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list)
		main.container.moedes-circle-shell
		> form.moedes-circle-shell-form
		> .sidebar {
		grid-column: 1;
		grid-row: 3;
		float: none !important;
		width: auto !important;
		min-width: 0;
		margin: 0 !important;
	}
}

/*
 * Shell-level explorer rail.
 *
 * The directory is moved to #forum by the script so it starts beside the
 * first full-width forum module instead of below the home poster.  Every
 * existing Zibll child remains in document order in the second column; no
 * forum template or business node is duplicated.
 */
@media (min-width: 768px) {
	body.moedes-forum #forum.moedes-circle-shell {
		display: grid;
		grid-template-columns: minmax(178px, 220px) minmax(0, 1fr);
		column-gap: var(--moedes-forum-column-gap, 24px);
		align-items: start;
	}

	body.moedes-forum #forum.moedes-circle-shell
		> .moedes-circle-directory--global {
		grid-column: 1;
		grid-row: 1 / span 99;
		width: auto;
		min-width: 0;
	}

	body.moedes-forum #forum.moedes-circle-shell
		> :not(.moedes-circle-directory--global) {
		grid-column: 2;
		min-width: 0;
	}

	body.moedes-forum #forum.moedes-circle-shell > .container {
		width: auto !important;
		max-width: none !important;
		margin: 0 !important;
	}

	body.moedes-forum #forum.moedes-circle-shell > .fluid-widget-wrap {
		width: auto !important;
		min-width: 0;
	}

	body.moedes-forum #forum.moedes-circle-shell
		> .container
		> .content-wrap
		> .content-layout {
		min-width: 0;
	}
}

@media (min-width: 768px) and (max-width: 1199px) {
	body.moedes-forum #forum.moedes-circle-shell
		> .container
		> .content-wrap {
		float: none !important;
		width: 100% !important;
		margin: 0 !important;
	}

	body.moedes-forum #forum.moedes-circle-shell
		> .container
		> .content-wrap
		> .content-layout {
		width: 100% !important;
		margin-right: 0 !important;
	}

	body.moedes-forum #forum.moedes-circle-shell
		> .container
		> .sidebar {
		grid-column: 2;
		float: none !important;
		width: auto !important;
		margin: var(--moedes-forum-space-lg, 18px) 0 0 !important;
	}
}

@media (max-width: 767px) {
	body.moedes-forum #forum.moedes-circle-shell {
		display: grid;
		grid-template-columns: 1fr;
		row-gap: var(--moedes-forum-space-md, 14px);
	}

	body.moedes-forum #forum.moedes-circle-shell
		> .moedes-circle-directory--global,
	body.moedes-forum #forum.moedes-circle-shell
		> .container,
	body.moedes-forum #forum.moedes-circle-shell
		> .fluid-widget-wrap {
		grid-column: 1;
		width: auto !important;
		max-width: none !important;
		margin: 0 !important;
	}

	body.moedes-forum #forum.moedes-circle-shell
		> .container
		> .content-wrap {
		float: none !important;
		width: 100% !important;
		margin: 0 !important;
	}

	body.moedes-forum #forum.moedes-circle-shell
		> .container
		> .content-wrap
		> .content-layout {
		width: 100% !important;
		margin-right: 0 !important;
	}
}

/* The publish form owns the content container on /posts-edit/. */
@media (min-width: 1200px) {
body.moedes-forum #forum > form > .container.moedes-circle-shell {
	display: grid;
	grid-template-columns:
		var(--moedes-circle-directory-width, 240px)
		minmax(0, 1fr)
		minmax(var(--moedes-forum-right-column-width, 328px), var(--moedes-forum-right-column-width, 328px));
	column-gap: var(--moedes-forum-column-gap, 24px);
	align-items: start;
}

body.moedes-forum #forum > form > .container.moedes-circle-shell
	> .moedes-circle-directory--global {
	grid-column: 1;
	grid-row: 1;
	width: auto;
	min-width: 0;
}

body.moedes-forum #forum > form > .container.moedes-circle-shell
	> .content-wrap {
	grid-column: 2;
	grid-row: 1;
	float: none !important;
	width: 100% !important;
	min-width: 0;
	margin: 0 !important;
}

body.moedes-forum #forum > form > .container.moedes-circle-shell
	> .content-wrap > .content-layout {
	width: 100% !important;
	min-width: 0;
	margin-right: 0 !important;
}

body.moedes-forum #forum > form > .container.moedes-circle-shell
	> .sidebar {
	grid-column: 3;
	grid-row: 1;
	float: none !important;
	width: auto !important;
	min-width: 0;
	margin: 0 !important;
}
}

@media (min-width: 768px) and (max-width: 1199px) {
body.moedes-forum #forum > form > .container.moedes-circle-shell {
	display: grid;
	grid-template-columns: var(--moedes-circle-directory-width, 248px) minmax(0, 1fr);
	column-gap: var(--moedes-forum-space-md, 14px);
	align-items: start;
}

body.moedes-forum #forum > form > .container.moedes-circle-shell
	> .moedes-circle-directory--global {
	grid-column: 1;
	grid-row: 1;
}

body.moedes-forum #forum > form > .container.moedes-circle-shell
	> .content-wrap {
	grid-column: 2;
	grid-row: 1;
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
}

body.moedes-forum #forum > form > .container.moedes-circle-shell
	> .content-wrap > .content-layout {
	width: 100% !important;
	margin-right: 0 !important;
}

body.moedes-forum #forum > form > .container.moedes-circle-shell
	> .sidebar {
	grid-column: 2;
	grid-row: 2;
	float: none !important;
	width: auto !important;
	margin: var(--moedes-forum-space-lg, 18px) 0 0 !important;
}
}

/* Author profiles use a second, standalone container instead of content-wrap. */
@media (min-width: 768px) {
body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list)
	main > .container.moedes-circle-shell--profile {
	display: grid;
	grid-template-columns: var(--moedes-circle-directory-width, 248px) minmax(0, 1fr);
	column-gap: var(--moedes-forum-space-lg, 18px);
	align-items: start;
}

body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list)
	main > .container.moedes-circle-shell--profile
	> .moedes-circle-directory--global {
	grid-column: 1;
	grid-row: 1;
	width: auto;
	min-width: 0;
}

body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list)
	main > .container.moedes-circle-shell--profile
	> .author-tab,
body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list)
	main > .container.moedes-circle-shell--profile
	> .user-center {
	grid-column: 2;
	grid-row: 1;
	min-width: 0;
	width: auto !important;
	margin: 0 !important;
}
}

body.moedes-forum .moedes-forum-widget {
	display: grid;
	gap: 12px;
	padding: 2px 0;
}

body.moedes-forum .moedes-forum-widget__intro {
	margin: 0;
	color: var(--muted-2-color, #64748b);
	line-height: 1.7;
}

body.moedes-forum .moedes-forum-widget__actions {
	flex-wrap: wrap;
}

body.moedes-forum .moedes-forum-widget__actions .but {
	border-radius: var(--moedes-forum-radius, var(--main-radius, 8px));
}

/*
 * Archive masthead: a full-bleed, image-led header matching the reference
 * board page. The original Zibll header remains in the DOM for its native
 * controls, but is visually suppressed on archive pages to avoid duplicate
 * title/stat blocks.
 */
body.moedes-forum :where(.moedes-archive-masthead) {
	--moedes-archive-overlay: rgba(15, 23, 42, 0.62);
	position: relative;
	isolation: isolate;
	width: 100%;
	min-height: 170px;
	margin: 0 0 var(--moedes-forum-space-lg);
	overflow: hidden;
	border-bottom: 1px solid var(--moedes-forum-border);
	background: var(--moedes-forum-surface-muted);
	color: #fff;
}

/*
 * On board and forum taxonomy archives, the archive information bar becomes
 * the only image-led layer between the primary and secondary navigation.
 * The switch is represented by a body class so the parent header remains
 * untouched and can be restored immediately from the Moedes settings.
 */
body.moedes-forum-archive-bar .header-slider-container {
	display: none !important;
}

body.moedes-forum-archive-bar #forum > .moedes-archive-masthead {
	margin-bottom: 0;
}

body.moedes-forum-archive-bar #forum > .container {
	margin-top: 0;
}

body.moedes-forum .moedes-archive-masthead__backdrop {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, var(--moedes-archive-overlay) 0%, rgba(15, 23, 42, 0.38) 52%, rgba(15, 23, 42, 0.7) 100%),
		var(--moedes-archive-cover, linear-gradient(135deg, var(--moedes-forum-accent), #172554));
	background-position: center;
	background-size: cover;
	filter: saturate(0.9);
}

body.moedes-forum .moedes-archive-masthead__inner {
	position: relative;
	display: flex;
	align-items: center;
	gap: var(--moedes-forum-space-lg);
	width: min(var(--moedes-forum-content-width), calc(100% - 32px));
	min-height: 170px;
	margin: 0 auto;
	padding: 24px 0;
	box-sizing: border-box;
}

body.moedes-forum .moedes-archive-masthead__thumb {
	display: block;
	flex: 0 0 92px;
	width: 92px;
	height: 92px;
	overflow: hidden;
	border: 3px solid rgba(255, 255, 255, 0.85);
	border-radius: var(--moedes-forum-radius, var(--main-radius, 8px));
	background: rgba(255, 255, 255, 0.18);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

body.moedes-forum .moedes-archive-masthead__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.moedes-forum .moedes-archive-masthead__body {
	min-width: 0;
}

body.moedes-forum .moedes-archive-masthead__label {
	display: inline-flex;
	align-items: center;
	min-height: 20px;
	padding: 2px 8px;
	border-radius: var(--moedes-forum-radius, var(--main-radius, 8px));
	background: var(--moedes-forum-accent, var(--theme-color, #2f6fed));
	color: #fff;
	font-size: 12px;
	line-height: 1.3;
}

body.moedes-forum .moedes-archive-masthead h1 {
	margin: 8px 0 4px;
	font-size: clamp(20px, 2vw, 30px);
	font-weight: 700;
	line-height: 1.25;
}

body.moedes-forum .moedes-archive-masthead h1 a {
	color: #fff;
}

body.moedes-forum .moedes-archive-masthead__stats {
	display: flex;
	align-items: baseline;
	gap: 22px;
	margin-top: 8px;
}

body.moedes-forum .moedes-archive-masthead__stat {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
}

body.moedes-forum .moedes-archive-masthead__stat b {
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
}

body.moedes-forum .moedes-archive-masthead__stat small {
	color: rgba(255, 255, 255, 0.76);
	font-size: 12px;
}

body.moedes-forum .moedes-archive-masthead p {
	max-width: 700px;
	margin: 9px 0 0;
	color: rgba(255, 255, 255, 0.82);
	font-size: 13px;
	line-height: 1.6;
}

body.moedes-forum .moedes-archive-masthead__actions {
	position: absolute;
	right: 0;
	bottom: 24px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

body.moedes-forum .moedes-archive-masthead__action {
	border: 0;
	background: var(--moedes-forum-accent, var(--theme-color, #2f6fed));
	color: #fff;
}

body.moedes-forum .moedes-archive-masthead__action:hover,
body.moedes-forum .moedes-archive-masthead__action:focus-visible {
	background: var(--focus-color, var(--theme-color, #2f6fed));
	color: #fff;
}

@media (max-width: 767px) {
	body.moedes-forum :where(.moedes-archive-masthead) {
		min-height: 146px;
		margin-bottom: var(--moedes-forum-space-md);
	}

	body.moedes-forum .moedes-archive-masthead__inner {
		align-items: flex-start;
		gap: 12px;
		width: calc(100% - 24px);
		min-height: 146px;
		padding: 18px 0;
	}

	body.moedes-forum .moedes-archive-masthead__thumb {
		flex-basis: 68px;
		width: 68px;
		height: 68px;
		border-width: 2px;
	}

	body.moedes-forum .moedes-archive-masthead__label {
		font-size: 11px;
	}

	body.moedes-forum .moedes-archive-masthead h1 {
		margin-top: 6px;
		font-size: 20px;
	}

	body.moedes-forum .moedes-archive-masthead__stats {
		gap: 14px;
		margin-top: 6px;
	}

	body.moedes-forum .moedes-archive-masthead__stat b {
		font-size: 16px;
	}

	body.moedes-forum .moedes-archive-masthead p {
		margin-top: 6px;
		font-size: 12px;
	}

	body.moedes-forum .moedes-archive-masthead__actions {
		position: static;
		margin-top: 8px;
	}
}

body.moedes-forum.single-plate #forum .content-layout .forum-header,
body.moedes-forum.single-plate #forum .sidebar .plate-info-sidebar,
body.moedes-forum.tax-forum_tag #forum .term-main > .forum-header,
body.moedes-forum.tax-forum_topic #forum .term-main > .forum-header,
body.moedes-forum.tax-plate_cat #forum .term-main > .forum-header {
	display: none !important;
}

body.moedes-forum.single-plate #forum > .container,
body.moedes-forum.tax-forum_tag #forum > .container,
body.moedes-forum.tax-forum_topic #forum > .container,
body.moedes-forum.tax-plate_cat #forum > .container {
	margin-top: 0;
}

body.moedes-forum .moedes-forum-stats {
	display: block;
	padding: var(--moedes-forum-space-md) var(--moedes-forum-space-lg);
	border: 1px solid var(--moedes-forum-border);
	border-radius: var(--moedes-forum-radius, var(--main-radius, 8px));
	background: var(--moedes-forum-surface);
	color: var(--moedes-forum-text);
}

body.moedes-forum .moedes-forum-stats__body {
	display: flex;
	align-items: center;
	gap: var(--moedes-forum-space-sm);
	min-width: 0;
}

body.moedes-forum .moedes-forum-stats__metrics {
	display: grid;
	grid-template-columns: repeat(4, max-content);
	column-gap: var(--moedes-forum-stats-item-gap);
	row-gap: 0;
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	padding: 0;
}

body.moedes-forum .moedes-forum-stats__metric {
	display: grid;
	grid-template-columns: var(--moedes-forum-stats-icon-size) minmax(0, 1fr);
	align-items: center;
	gap: 4px;
	min-width: 0;
	padding: 0;
	text-align: left;
}

body.moedes-forum .moedes-forum-stats__metric:first-child {
	padding-left: 0;
}

body.moedes-forum .moedes-forum-stats__metric:last-child {
	padding-right: 0;
}

body.moedes-forum .moedes-forum-stats__icon {
	display: inline-grid;
	width: var(--moedes-forum-stats-icon-size);
	height: var(--moedes-forum-stats-icon-size);
	place-items: center;
	border-radius: 50%;
	background: rgba(47, 111, 237, 0.12);
	background: color-mix(in srgb, var(--moedes-forum-accent, var(--focus-color, #2f6fed)) 12%, transparent);
	color: var(--moedes-forum-accent, var(--focus-color, #2f6fed));
	font-size: 12px;
}

body.moedes-forum .moedes-forum-stats__data {
	display: grid;
	gap: 1px;
	justify-items: center;
	min-width: 0;
	text-align: center;
}

body.moedes-forum .moedes-forum-stats__data > span {
	overflow: hidden;
	color: var(--moedes-forum-muted);
	font-size: 12px;
	line-height: 1.4;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.moedes-forum .moedes-forum-stats__data strong {
	color: var(--moedes-forum-text);
	font-size: 16px;
	font-variant-numeric: tabular-nums;
	line-height: 1.35;
}

body.moedes-forum .moedes-forum-stats__links {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	flex: 0 0 var(--moedes-forum-stats-links-width);
	min-width: 0;
	width: var(--moedes-forum-stats-links-width);
	margin: 0;
	color: var(--moedes-forum-muted);
	font-size: 12px;
	line-height: 1.5;
}

body.moedes-forum .moedes-forum-stats__latest,
body.moedes-forum .moedes-forum-stats__member {
	color: var(--moedes-forum-accent, var(--focus-color, #2f6fed));
}

body.moedes-forum .moedes-forum-stats__latest:hover,
body.moedes-forum .moedes-forum-stats__latest:focus-visible,
body.moedes-forum .moedes-forum-stats__member:hover,
body.moedes-forum .moedes-forum-stats__member:focus-visible {
	color: var(--focus-color, var(--moedes-forum-accent, #2f6fed));
	text-decoration: underline;
}

body.moedes-forum .moedes-forum-stats__welcome {
	overflow: hidden;
	min-width: 0;
	max-width: 140px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.moedes-forum .moedes-forum-stats--extended .moedes-forum-stats__body {
	align-items: center;
}

body.moedes-forum .moedes-forum-stats--extended .moedes-forum-stats__metrics {
	grid-template-columns: repeat(6, max-content);
	column-gap: var(--moedes-forum-stats-item-gap);
	row-gap: 0;
}

body.moedes-forum .moedes-forum-stats--extended .moedes-forum-stats__metric {
	padding-right: 0;
	padding-left: 0;
}

body.moedes-forum .moedes-forum-stats--extended .moedes-forum-stats__metric span {
	font-size: 11px;
}

body.moedes-forum .moedes-forum-stats--extended .moedes-forum-stats__metric {
	grid-template-columns: 28px minmax(0, 1fr);
	gap: 3px;
}

body.moedes-forum .moedes-forum-stats--extended .moedes-forum-stats__icon {
	width: 28px;
	height: 28px;
	font-size: 11px;
}

body.moedes-forum .moedes-forum-stats--extended .moedes-forum-stats__links {
	padding-top: 3px;
	align-items: flex-start;
}

body.moedes-forum .sidebar > .zib-widget-wrap {
	margin-bottom: var(--moedes-forum-space-lg);
}

body.moedes-forum .sidebar > .zib-widget-wrap:last-child {
	margin-bottom: 0;
}

body.moedes-forum .moedes-forum-ranking {
	display: grid;
	gap: 10px;
	padding: 16px;
	border: 1px solid var(--moedes-forum-border);
	border-radius: var(--moedes-forum-radius, var(--main-radius, 8px));
	background: var(--moedes-forum-surface);
	color: var(--moedes-forum-text);
}

/*
 * Forum recommendation strips deliberately use the same quiet surface as the
 * rest of Moedes. The strip borrows the reference layout's compact horizontal
 * covers and header actions, but keeps titles and forum metrics readable
 * rather than imitating a storefront price card.
 */
body.moedes-forum .moedes-forum-recommendations {
	--moedes-forum-recommendation-gap: 10px;
	display: grid;
	gap: 12px;
	padding: 16px;
	border: 1px solid var(--moedes-forum-border);
	border-radius: var(--moedes-forum-radius, var(--main-radius, 8px));
	background: var(--moedes-forum-surface);
	color: var(--moedes-forum-text);
}

body.moedes-forum .zib-widget-wrap:has(.moedes-forum-recommendations) {
	margin-bottom: var(--moedes-forum-widget-gap);
}

body.moedes-forum .sidebar > .zib-widget-wrap:has(.moedes-forum-recommendations):last-child {
	margin-bottom: 0;
}

body.moedes-forum .zib-widget-wrap:has(.moedes-forum-home-recommendations) {
	margin-bottom: var(--moedes-forum-widget-gap);
}

/*
 * The homepage recommendation area sits outside the forum content container,
 * directly between the poster and the secondary channel navigation. Give that
 * exact placement the same breathing room as the rest of the forum modules
 * without changing manually placed recommendation widgets elsewhere.
 */
body.moedes-forum #forum > .fluid-widget-wrap:has(.moedes-forum-home-recommendations) {
	margin-top: var(--moedes-forum-space-md);
}

body.moedes-forum #forum > .container > .fluid-widget-wrap:has(.moedes-forum-home-recommendations) {
	margin-top: 0;
}

/*
 * The homepage recommendation is a full-width sibling of the forum content.
 * Zibll's generic widget container adds a second 15px gutter here, which made
 * the recommendation panel narrower than the content/sidebar row below it.
 * Remove only that extra gutter for this widget so both sections share the
 * same container edges at every breakpoint.
 */
body.moedes-forum #forum > .container > .fluid-widget-wrap:has(.moedes-forum-home-recommendations) .widget-container {
	width: 100%;
	max-width: none;
	padding-right: 0;
	padding-left: 0;
}

body.moedes-forum .zib-widget-wrap:has(.moedes-forum-visual-ranking) {
	margin-bottom: var(--moedes-forum-widget-gap);
}

body.moedes-forum .sidebar > .zib-widget-wrap:has(.moedes-forum-home-recommendations):last-child {
	margin-bottom: 0;
}

body.moedes-forum .sidebar > .zib-widget-wrap:has(.moedes-forum-visual-ranking):last-child {
	margin-bottom: 0;
}

body.moedes-forum .moedes-forum-recommendations__header,
body.moedes-forum .moedes-forum-recommendations__actions,
body.moedes-forum .moedes-forum-recommendations__meta {
	display: flex;
	align-items: center;
}

body.moedes-forum .moedes-forum-recommendations__header {
	justify-content: space-between;
	gap: 12px;
	min-width: 0;
}

body.moedes-forum .moedes-forum-recommendations__heading {
	overflow: hidden;
	margin: 0;
	color: var(--moedes-title-color);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.moedes-forum .moedes-forum-recommendations__actions {
	flex: 0 0 auto;
	gap: 6px;
}

body.moedes-forum .moedes-forum-recommendations__more,
body.moedes-forum .moedes-forum-recommendations__control {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	height: 28px;
	border: 1px solid var(--moedes-forum-border);
	border-radius: var(--moedes-forum-radius, var(--main-radius, 8px));
	background: var(--moedes-forum-surface-muted);
	color: var(--moedes-forum-muted);
	font-size: 12px;
	line-height: 1;
}

body.moedes-forum .moedes-forum-recommendations__more {
	padding: 0 9px;
	color: var(--moedes-forum-accent, var(--focus-color, #2f6fed));
	font-weight: 600;
}

body.moedes-forum .moedes-forum-recommendations__control {
	width: 28px;
	padding: 0;
}

body.moedes-forum .moedes-forum-recommendations__control:not(:disabled):hover,
body.moedes-forum .moedes-forum-recommendations__more:hover {
	border-color: var(--moedes-forum-accent, var(--focus-color, #2f6fed));
	color: var(--moedes-forum-accent, var(--focus-color, #2f6fed));
}

body.moedes-forum .moedes-forum-recommendations__control:disabled {
	opacity: 0.38;
	cursor: default;
}

body.moedes-forum .moedes-forum-recommendations__control:focus-visible,
body.moedes-forum .moedes-forum-recommendations__more:focus-visible,
body.moedes-forum .moedes-forum-recommendations__link:focus-visible {
	outline: 2px solid var(--moedes-forum-accent, var(--focus-color, #2f6fed));
	outline-offset: 2px;
}

body.moedes-forum .moedes-forum-recommendations__rail {
	display: grid;
	grid-auto-columns: calc((100% - 30px) / 4);
	grid-auto-flow: column;
	gap: var(--moedes-forum-recommendation-gap);
	margin: 0;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	padding: 0 0 4px;
	scroll-behavior: smooth;
	scroll-snap-type: x proximity;
	scrollbar-color: var(--moedes-forum-border) transparent;
	scrollbar-width: thin;
}

body.moedes-forum .moedes-forum-recommendations.is-visible-1 .moedes-forum-recommendations__rail {
	grid-auto-columns: 100%;
}

body.moedes-forum .moedes-forum-recommendations.is-visible-2 .moedes-forum-recommendations__rail {
	grid-auto-columns: calc((100% - 10px) / 2);
}

body.moedes-forum .moedes-forum-recommendations.is-visible-3 .moedes-forum-recommendations__rail {
	grid-auto-columns: calc((100% - 20px) / 3);
}

body.moedes-forum .moedes-forum-recommendations__item {
	min-width: 0;
	scroll-snap-align: start;
}

body.moedes-forum .moedes-forum-recommendations__link {
	display: block;
	min-width: 0;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--moedes-forum-border);
	border-radius: var(--moedes-forum-radius, var(--main-radius, 8px));
	background: var(--moedes-forum-surface);
	color: var(--moedes-forum-text);
}

body.moedes-forum .moedes-forum-recommendations__cover {
	display: block;
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-bottom: 1px solid var(--moedes-forum-border);
	background: var(--moedes-forum-surface-muted);
}

body.moedes-forum .moedes-forum-recommendations__cover img,
body.moedes-forum .moedes-forum-recommendations__placeholder {
	display: block;
	width: 100%;
	height: 100%;
}

body.moedes-forum .moedes-forum-recommendations__cover img {
	object-fit: cover;
}

body.moedes-forum .moedes-forum-recommendations__placeholder {
	display: grid;
	place-items: center;
	color: var(--moedes-forum-muted);
	font-size: 24px;
}

body.moedes-forum .moedes-forum-recommendations__body {
	display: grid;
	gap: 7px;
	padding: 9px 10px 10px;
}

body.moedes-forum .moedes-forum-recommendations__title {
	display: -webkit-box;
	overflow: hidden;
	color: var(--moedes-title-color);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

body.moedes-forum .moedes-forum-recommendations__meta {
	flex-wrap: wrap;
	gap: 6px 8px;
	min-height: 16px;
	color: var(--moedes-forum-muted);
	font-size: 12px;
	line-height: 1.35;
}

body.moedes-forum .moedes-forum-recommendations__meta > span {
	display: inline-flex;
	align-items: center;
	gap: 3px;
}

body.moedes-forum .moedes-forum-recommendations__match {
	color: var(--moedes-forum-accent, var(--focus-color, #2f6fed));
	font-weight: 600;
}

body.moedes-forum .moedes-forum-recommendations__link:hover .moedes-forum-recommendations__title {
	color: var(--moedes-title-active-color);
}

/*
 * Cover-first forum homepage recommendations. The first post receives the
 * visual weight of a feature tile; the remaining posts stay compact and
 * scannable like the reference forum home.
 */
body.moedes-forum .moedes-forum-home-recommendations {
	--moedes-home-recommendation-gap: 8px;
	--moedes-home-recommendation-ratio-factor: 0.5625;
	--moedes-home-recommendation-surface: var(--moedes-forum-surface, var(--main-bg-color, #fff));
	--moedes-home-recommendation-border: var(--moedes-forum-border, var(--main-border-color, #e6eaf0));
	display: grid;
	gap: 14px;
	padding: 16px;
	border: 1px solid var(--moedes-home-recommendation-border);
	border-radius: var(--moedes-forum-radius, var(--main-radius, 8px));
	background: var(--moedes-home-recommendation-surface);
	color: var(--moedes-forum-text);
}

body.moedes-forum .moedes-forum-home-recommendations__header {
	display: flex;
	min-width: 0;
	align-items: center;
	justify-content: flex-start;
	gap: 18px;
}

body.moedes-forum .moedes-forum-home-recommendations__title {
	margin: 0;
	color: var(--moedes-title-color);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
}

body.moedes-forum .moedes-forum-home-recommendations__more {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	color: var(--moedes-forum-muted);
	font-size: 13px;
	line-height: 1.3;
	text-decoration: none;
}

body.moedes-forum .moedes-forum-home-recommendations__more::before {
	width: 1px;
	height: 15px;
	margin-right: 14px;
	background: var(--moedes-home-recommendation-border);
	content: "";
}

body.moedes-forum .moedes-forum-home-recommendations__more span {
	color: var(--moedes-forum-accent, var(--focus-color, #2f6fed));
	font-size: 17px;
	line-height: 1;
}

body.moedes-forum .moedes-forum-home-recommendations__more:hover,
body.moedes-forum .moedes-forum-home-recommendations__more:focus-visible {
	color: var(--moedes-forum-accent, var(--focus-color, #2f6fed));
	text-decoration: none;
}

body.moedes-forum .moedes-forum-home-recommendations__grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	grid-auto-rows: auto;
	align-items: start;
	gap: var(--moedes-home-recommendation-gap);
}

body.moedes-forum .moedes-forum-home-recommendations__item {
	position: relative;
	min-width: 0;
	min-height: 0;
	aspect-ratio: var(--moedes-home-recommendation-ratio, 16 / 9);
	overflow: hidden;
	border-radius: calc(var(--moedes-forum-radius, var(--main-radius, 8px)) * 0.65);
	background: var(--moedes-forum-surface-muted);
}

body.moedes-forum .moedes-forum-home-recommendations__item.is-featured {
	grid-column: span 2;
	grid-row: span 2;
	min-height: 0;
	aspect-ratio: var(--moedes-home-recommendation-ratio, 16 / 9);
}

body.moedes-forum .moedes-forum-home-recommendations__link {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	min-height: inherit;
	color: inherit;
	text-decoration: none;
}

body.moedes-forum .moedes-forum-home-recommendations__cover,
body.moedes-forum .moedes-forum-home-recommendations__cover > img,
body.moedes-forum .moedes-forum-home-recommendations__cover > .moedes-forum-recommendations__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	min-height: inherit;
}

body.moedes-forum .moedes-forum-home-recommendations__cover img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.moedes-forum .moedes-forum-home-recommendations__cover > .moedes-forum-recommendations__placeholder {
	display: grid;
	place-items: center;
	background: var(--moedes-forum-surface-muted);
	color: var(--moedes-forum-muted);
	font-size: 24px;
}

body.moedes-forum .moedes-forum-home-recommendations__shade {
	position: absolute;
	inset: 42% 0 0;
	background: linear-gradient(180deg, rgba(15, 23, 42, 0), rgba(15, 23, 42, 0.82));
	pointer-events: none;
}

body.moedes-forum .moedes-forum-home-recommendations__caption {
	position: absolute;
	right: 10px;
	bottom: 9px;
	left: 10px;
	display: grid;
	gap: 4px;
	min-width: 0;
	color: #fff;
}

body.moedes-forum .moedes-forum-home-recommendations__item-title {
	display: -webkit-box;
	overflow: hidden;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	text-shadow: 0 1px 2px rgba(15, 23, 42, 0.55);
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

body.moedes-forum .moedes-forum-home-recommendations__meta {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	color: rgba(255, 255, 255, 0.88);
	font-size: 11px;
	line-height: 1.2;
}

body.moedes-forum .moedes-forum-home-recommendations__meta span {
	display: inline-flex;
	min-width: 0;
	align-items: center;
	gap: 3px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.moedes-forum .moedes-forum-home-recommendations__meta i {
	flex: 0 0 auto;
}

body.moedes-forum .moedes-forum-home-recommendations__item:not(.is-featured) .moedes-forum-home-recommendations__caption {
	bottom: 7px;
}

body.moedes-forum .moedes-forum-home-recommendations__item:not(.is-featured) .moedes-forum-home-recommendations__item-title {
	font-size: 12px;
	-webkit-line-clamp: 1;
}

body.moedes-forum .moedes-forum-home-recommendations__link:hover .moedes-forum-home-recommendations__item-title,
body.moedes-forum .moedes-forum-home-recommendations__link:focus-visible .moedes-forum-home-recommendations__item-title {
	text-decoration: underline;
	text-underline-offset: 2px;
}

body.moedes-forum .moedes-forum-home-recommendations__link:focus-visible {
	outline: 2px solid var(--moedes-forum-accent, var(--focus-color, #2f6fed));
	outline-offset: -2px;
}

@media (max-width: 1100px) {
	body.moedes-forum .moedes-forum-home-recommendations__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	body.moedes-forum .moedes-forum-home-recommendations {
		gap: 12px;
		padding: 12px;
	}

	body.moedes-forum .moedes-forum-home-recommendations__title {
		font-size: 17px;
	}

	body.moedes-forum .moedes-forum-home-recommendations__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 7px;
	}

	body.moedes-forum .moedes-forum-home-recommendations__item {
		min-height: 0;
	}

	body.moedes-forum .moedes-forum-home-recommendations__item.is-featured {
		min-height: 0;
	}

	body.moedes-forum .moedes-forum-home-recommendations__caption {
		right: 8px;
		bottom: 7px;
		left: 8px;
	}

	body.moedes-forum .moedes-forum-home-recommendations__item-title {
		font-size: 12px;
	}

	body.moedes-forum .moedes-forum-home-recommendations__meta {
		gap: 7px;
		font-size: 10px;
	}
}

/*
 * Featured-news widget. It follows the supplied reference: a quiet header,
 * one lead image with metadata beneath it, then compact thumbnail rows. The
 * widget intentionally avoids overlays and animated decoration so the title
 * and source remain easy to scan in a narrow sidebar.
 */
body.moedes-forum .moedes-forum-news {
	--moedes-news-accent: var(--moedes-forum-accent, var(--focus-color, #2f6fed));
	--moedes-news-border: var(--moedes-forum-border, var(--main-border-color, #e6eaf0));
	--moedes-news-surface: var(--moedes-forum-surface, var(--main-bg-color, #fff));
	--moedes-news-muted: var(--moedes-forum-muted, var(--muted-2-color, #7a8493));
	display: grid;
	gap: 12px;
	padding: 14px;
	border: 1px solid var(--moedes-news-border);
	border-radius: var(--moedes-forum-radius, var(--main-radius, 8px));
	background: var(--moedes-news-surface);
	color: var(--moedes-forum-text);
}

body.moedes-forum .zib-widget-wrap:has(.moedes-forum-news) {
	margin-bottom: var(--moedes-forum-widget-gap);
}

body.moedes-forum .sidebar > .zib-widget-wrap:has(.moedes-forum-news):last-child {
	margin-bottom: 0;
}

body.moedes-forum .moedes-forum-news__header {
	display: flex;
	min-width: 0;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

body.moedes-forum .moedes-forum-news__title {
	display: inline-flex;
	min-width: 0;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: var(--moedes-title-color);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.25;
}

body.moedes-forum .moedes-forum-news__title .fa {
	flex: 0 0 auto;
	color: var(--moedes-news-accent);
	font-size: 18px;
}

body.moedes-forum .moedes-forum-news__more {
	flex: 0 0 auto;
	padding: 5px 9px;
	border: 1px solid var(--moedes-news-border);
	border-radius: var(--moedes-forum-radius, var(--main-radius, 8px));
	background: var(--moedes-news-surface);
	color: var(--moedes-forum-text);
	font-size: 12px;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}

body.moedes-forum .moedes-forum-news__more:hover,
body.moedes-forum .moedes-forum-news__more:focus-visible {
	border-color: var(--moedes-news-accent);
	color: var(--moedes-news-accent);
	text-decoration: none;
}

body.moedes-forum .moedes-forum-news__featured {
	min-width: 0;
	overflow: hidden;
}

body.moedes-forum .moedes-forum-news__featured-link {
	display: block;
	min-width: 0;
	color: inherit;
	text-decoration: none;
}

body.moedes-forum .moedes-forum-news__featured-cover {
	display: block;
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: calc(var(--moedes-forum-radius, var(--main-radius, 8px)) * .75);
	background: var(--moedes-forum-surface-muted);
}

body.moedes-forum .moedes-forum-news__featured-cover img,
body.moedes-forum .moedes-forum-news__featured-cover .moedes-forum-recommendations__placeholder {
	display: block;
	width: 100%;
	height: 100%;
}

body.moedes-forum .moedes-forum-news__featured-cover img {
	object-fit: cover;
}

body.moedes-forum .moedes-forum-news__featured-cover .moedes-forum-recommendations__placeholder {
	display: grid;
	place-items: center;
	color: var(--moedes-news-muted);
	font-size: 24px;
}

body.moedes-forum .moedes-forum-news__featured-overlay {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	align-items: flex-end;
	min-height: 44%;
	padding: 24px 10px 9px;
	background: linear-gradient(180deg, transparent, rgba(15, 23, 42, .78));
	pointer-events: none;
}

body.moedes-forum .moedes-forum-news__featured-overlay .moedes-forum-news__featured-heading {
	color: #fff;
	text-shadow: 0 1px 2px rgba(15, 23, 42, .5);
}

body.moedes-forum .moedes-forum-news__featured-body {
	display: grid;
	gap: 5px;
	padding-top: 8px;
}

body.moedes-forum .moedes-forum-news__featured-heading {
	display: -webkit-box;
	overflow: hidden;
	color: var(--moedes-title-color);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

body.moedes-forum .moedes-forum-news__featured-meta,
body.moedes-forum .moedes-forum-news__item-meta {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 8px;
	color: var(--moedes-news-muted);
	font-size: 12px;
	line-height: 1.3;
}

body.moedes-forum .moedes-forum-news__featured-meta span,
body.moedes-forum .moedes-forum-news__item-meta > span {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.moedes-forum .moedes-forum-news__featured-link:hover .moedes-forum-news__featured-heading,
body.moedes-forum .moedes-forum-news__featured-link:focus-visible .moedes-forum-news__featured-heading,
body.moedes-forum .moedes-forum-news__item-link:hover .moedes-forum-news__item-title,
body.moedes-forum .moedes-forum-news__item-link:focus-visible .moedes-forum-news__item-title {
	color: var(--moedes-title-active-color);
}

body.moedes-forum .moedes-forum-news__list {
	display: grid;
	gap: 11px;
	padding-top: 1px;
	border-top: 1px solid var(--moedes-news-border);
}

body.moedes-forum .moedes-forum-news__item {
	min-width: 0;
}

body.moedes-forum .moedes-forum-news__item + .moedes-forum-news__item {
	padding-top: 11px;
	border-top: 1px solid var(--moedes-news-border);
}

body.moedes-forum .moedes-forum-news__item-link {
	display: grid;
	grid-template-columns: 86px minmax(0, 1fr);
	gap: 10px;
	min-width: 0;
	color: inherit;
	text-decoration: none;
}

body.moedes-forum .moedes-forum-news__item-cover {
	display: block;
	width: 86px;
	height: 58px;
	overflow: hidden;
	border-radius: calc(var(--moedes-forum-radius, var(--main-radius, 8px)) * .65);
	background: var(--moedes-forum-surface-muted);
}

body.moedes-forum .moedes-forum-news__item-cover img,
body.moedes-forum .moedes-forum-news__item-cover .moedes-forum-recommendations__placeholder {
	display: block;
	width: 100%;
	height: 100%;
}

body.moedes-forum .moedes-forum-news__item-cover img {
	object-fit: cover;
}

body.moedes-forum .moedes-forum-news__item-cover .moedes-forum-recommendations__placeholder {
	display: grid;
	place-items: center;
	color: var(--moedes-news-muted);
	font-size: 18px;
}

body.moedes-forum .moedes-forum-news__item-body {
	display: grid;
	min-width: 0;
	align-content: center;
	gap: 5px;
}

body.moedes-forum .moedes-forum-news__item-title {
	display: -webkit-box;
	overflow: hidden;
	color: var(--moedes-title-color);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

body.moedes-forum .moedes-forum-news__item-link:hover .moedes-forum-news__item-title,
body.moedes-forum .moedes-forum-news__item-link:focus-visible .moedes-forum-news__item-title {
	color: var(--moedes-title-active-color);
}

body.moedes-forum .moedes-forum-news__item-meta {
	gap: 5px;
	font-size: 11px;
}

body.moedes-forum .moedes-forum-news__badge {
	flex: 0 0 auto;
	padding: 1px 4px;
	border: 1px solid var(--moedes-news-accent);
	border-radius: calc(var(--moedes-forum-radius, var(--main-radius, 8px)) * 0.5);
	background: var(--moedes-forum-surface-muted);
	color: var(--moedes-news-accent);
	font-size: 10px;
	line-height: 1.2;
}

@supports (color: color-mix(in srgb, #000 50%, #fff)) {
	body.moedes-forum .moedes-forum-news__badge {
		border-color: color-mix(in srgb, var(--moedes-news-accent) 55%, transparent);
		background: color-mix(in srgb, var(--moedes-news-accent) 12%, transparent);
	}
}

body.moedes-forum .moedes-forum-news__empty {
	margin: 0;
	color: var(--moedes-news-muted);
	font-size: 13px;
}

body.moedes-forum .moedes-forum-news__featured-link:focus-visible,
body.moedes-forum .moedes-forum-news__item-link:focus-visible {
	outline: 2px solid var(--moedes-news-accent);
	outline-offset: 2px;
}

@media (max-width: 767px) {
	body.moedes-forum .moedes-forum-news {
		padding: 12px;
	}

	body.moedes-forum .moedes-forum-news__item-link {
		grid-template-columns: 78px minmax(0, 1fr);
		gap: 9px;
	}

	body.moedes-forum .moedes-forum-news__item-cover {
		width: 78px;
		height: 54px;
	}
}

/*
 * Vertical anime/news cards. The supplied reference uses a simple editorial
 * stack: a short heading followed by full-width image strips with white titles
 * anchored to the bottom edge. No card shadows or motion are added.
 */
body.moedes-forum .moedes-forum-anime-news {
	--moedes-anime-accent: var(--moedes-forum-accent, var(--focus-color, #2f6fed));
	--moedes-anime-border: var(--moedes-forum-border, var(--main-border-color, #e6eaf0));
	--moedes-anime-surface: var(--moedes-forum-surface, var(--main-bg-color, #fff));
	--moedes-anime-muted: var(--moedes-forum-muted, var(--muted-2-color, #7a8493));
	--moedes-anime-hover-brightness: .78;
	display: grid;
	gap: 12px;
	padding: 14px;
	border: 1px solid var(--moedes-anime-border);
	border-radius: var(--moedes-forum-radius, var(--main-radius, 8px));
	background: var(--moedes-anime-surface);
	color: var(--moedes-forum-text);
}

body.moedes-forum .zib-widget-wrap:has(.moedes-forum-anime-news) {
	margin-bottom: var(--moedes-forum-widget-gap);
}

body.moedes-forum .sidebar > .zib-widget-wrap:has(.moedes-forum-anime-news):last-child {
	margin-bottom: 0;
}

body.moedes-forum .moedes-forum-anime-news__header {
	display: flex;
	min-width: 0;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

body.moedes-forum .moedes-forum-anime-news__title {
	margin: 0;
	color: var(--moedes-title-color);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.35;
}

body.moedes-forum .moedes-forum-anime-news__more {
	flex: 0 0 auto;
	padding: 5px 9px;
	border: 1px solid var(--moedes-anime-border);
	border-radius: var(--moedes-forum-radius, var(--main-radius, 8px));
	color: var(--moedes-forum-muted);
	font-size: 12px;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}

body.moedes-forum .moedes-forum-anime-news__more:hover,
body.moedes-forum .moedes-forum-anime-news__more:focus-visible {
	border-color: var(--moedes-anime-accent);
	color: var(--moedes-anime-accent);
	text-decoration: none;
}

body.moedes-forum .moedes-forum-anime-news__list {
	display: grid;
	gap: 9px;
}

body.moedes-forum .moedes-forum-anime-news__item {
	min-width: 0;
}

body.moedes-forum .moedes-forum-anime-news__link {
	display: block;
	color: inherit;
	text-decoration: none;
}

body.moedes-forum .moedes-forum-anime-news__cover {
	display: block;
	position: relative;
	aspect-ratio: 14 / 5;
	overflow: hidden;
	border-radius: calc(var(--moedes-forum-radius, var(--main-radius, 8px)) * .7);
	background: var(--moedes-forum-surface-muted);
}

body.moedes-forum .moedes-forum-anime-news__cover img,
body.moedes-forum .moedes-forum-anime-news__cover .moedes-forum-recommendations__placeholder {
	display: block;
	width: 100%;
	height: 100%;
}

body.moedes-forum .moedes-forum-anime-news__cover img {
	object-fit: cover;
	transition: filter 180ms ease;
}

body.moedes-forum .moedes-forum-anime-news__link:hover .moedes-forum-anime-news__cover img,
body.moedes-forum .moedes-forum-anime-news__link:focus-visible .moedes-forum-anime-news__cover img {
	filter: brightness(var(--moedes-anime-hover-brightness));
}

body.moedes-forum .moedes-forum-anime-news__cover .moedes-forum-recommendations__placeholder {
	display: grid;
	place-items: center;
	color: var(--moedes-anime-muted);
	font-size: 24px;
}

body.moedes-forum .moedes-forum-anime-news__overlay {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	align-items: flex-end;
	min-height: 58%;
	padding: 24px 10px 9px;
	background: linear-gradient(180deg, transparent, rgba(15, 23, 42, .82));
	pointer-events: none;
}

body.moedes-forum .moedes-forum-anime-news__item-title {
	display: -webkit-box;
	overflow: hidden;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	text-shadow: 0 1px 2px rgba(15, 23, 42, .48);
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

body.moedes-forum .moedes-forum-anime-news__link:hover .moedes-forum-anime-news__item-title {
	color: #fff;
}

body.moedes-forum .moedes-forum-anime-news__link:focus-visible {
	outline: 2px solid var(--moedes-anime-accent);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	body.moedes-forum .moedes-forum-anime-news__cover img {
		transition: none;
	}
}

body.moedes-forum .moedes-forum-anime-news__empty {
	margin: 0;
	color: var(--moedes-anime-muted);
	font-size: 13px;
}

@media (max-width: 767px) {
	body.moedes-forum .moedes-forum-anime-news {
		padding: 12px;
	}

	body.moedes-forum .moedes-forum-anime-news__title {
		font-size: 17px;
	}

	body.moedes-forum .moedes-forum-anime-news__item-title {
		font-size: 13px;
	}
}

/*
 * Full-width anime notice panel. The feature panel stays above the numbered
 * rows while hover/focus only swaps its existing image/title/link.
 */
body.moedes-forum .moedes-forum-anime-notice {
	--moedes-notice-accent: var(--moedes-forum-accent, var(--focus-color, #2f6fed));
	--moedes-notice-border: var(--moedes-forum-border, var(--main-border-color, #e6eaf0));
	--moedes-notice-surface: var(--moedes-forum-surface, var(--main-bg-color, #fff));
	--moedes-notice-muted: var(--moedes-forum-muted, var(--muted-2-color, #7a8493));
	--moedes-notice-feature-height: 150px;
	display: grid;
	gap: 10px;
	padding: 14px;
	border: 1px solid var(--moedes-notice-border);
	border-radius: var(--moedes-forum-radius, var(--main-radius, 8px));
	background: var(--moedes-notice-surface);
	color: var(--moedes-forum-text);
}

body.moedes-forum .zib-widget-wrap:has(.moedes-forum-anime-notice) {
	margin-bottom: var(--moedes-forum-widget-gap);
}

body.moedes-forum .sidebar > .zib-widget-wrap:has(.moedes-forum-anime-notice):last-child {
	margin-bottom: 0;
}

body.moedes-forum .moedes-forum-anime-notice__header {
	display: flex;
	min-width: 0;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

body.moedes-forum .moedes-forum-anime-notice__title {
	margin: 0;
	color: var(--moedes-title-color);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.35;
}

body.moedes-forum .moedes-forum-anime-notice__more {
	flex: 0 0 auto;
	color: var(--moedes-notice-muted);
	font-size: 12px;
	line-height: 1.3;
	text-decoration: none;
	white-space: nowrap;
}

body.moedes-forum .moedes-forum-anime-notice__more:hover,
body.moedes-forum .moedes-forum-anime-notice__more:focus-visible {
	color: var(--moedes-notice-accent);
	text-decoration: none;
}

body.moedes-forum .moedes-forum-anime-notice__list {
	display: grid;
	gap: 4px;
	min-width: 0;
}

body.moedes-forum .moedes-forum-anime-notice__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 8px;
	align-items: start;
	min-width: 0;
}

body.moedes-forum .moedes-forum-anime-notice__item {
	min-width: 0;
	min-height: 30px;
}

body.moedes-forum .moedes-forum-anime-notice__item-link {
	display: grid;
	grid-template-columns: 24px minmax(0, 1fr);
	gap: 6px;
	min-width: 0;
	align-items: center;
	color: var(--moedes-forum-text);
	font-size: 14px;
	line-height: 30px;
	text-decoration: none;
}

body.moedes-forum .moedes-forum-anime-notice__item-number {
	display: block;
	width: 24px;
	color: var(--moedes-notice-muted);
	font-size: 13px;
	font-variant-numeric: tabular-nums;
	line-height: 30px;
	text-align: center;
}

body.moedes-forum .moedes-forum-anime-notice__item-title {
	display: block;
	overflow: hidden;
	color: var(--moedes-title-color);
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.moedes-forum .moedes-forum-anime-notice__item-link:hover,
body.moedes-forum .moedes-forum-anime-notice__item-link:focus-visible {
	color: var(--moedes-title-active-color);
	text-decoration: none;
}

body.moedes-forum .moedes-forum-anime-notice__item.is-active .moedes-forum-anime-notice__item-number,
body.moedes-forum .moedes-forum-anime-notice__item-link:hover .moedes-forum-anime-notice__item-number,
body.moedes-forum .moedes-forum-anime-notice__item-link:focus-visible .moedes-forum-anime-notice__item-number {
	color: var(--moedes-title-active-color);
	font-weight: 600;
}

body.moedes-forum .moedes-forum-anime-notice__item.is-active .moedes-forum-anime-notice__item-title {
	color: var(--moedes-title-active-color);
	font-weight: 600;
}

body.moedes-forum .moedes-forum-anime-notice__item-link:hover .moedes-forum-anime-notice__item-title,
body.moedes-forum .moedes-forum-anime-notice__item-link:focus-visible .moedes-forum-anime-notice__item-title {
	color: var(--moedes-title-active-color);
}

body.moedes-forum .moedes-forum-anime-notice__featured {
	min-width: 0;
	height: var(--moedes-notice-feature-height);
}

body.moedes-forum .moedes-forum-anime-notice__featured-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

body.moedes-forum .moedes-forum-anime-notice__featured-cover {
	display: block;
	position: relative;
	height: var(--moedes-notice-feature-height);
	overflow: hidden;
	border-radius: calc(var(--moedes-forum-radius, var(--main-radius, 8px)) * .7);
	background: var(--moedes-forum-surface-muted);
}

body.moedes-forum .moedes-forum-anime-notice__featured-cover img,
body.moedes-forum .moedes-forum-anime-notice__featured-cover .moedes-forum-recommendations__placeholder,
body.moedes-forum .moedes-forum-anime-notice__featured-placeholder {
	display: block;
	width: 100%;
	height: 100%;
}

body.moedes-forum .moedes-forum-anime-notice__featured-cover img {
	object-fit: cover;
}

body.moedes-forum .moedes-forum-anime-notice__featured-cover .moedes-forum-recommendations__placeholder {
	display: grid;
	place-items: center;
	color: var(--moedes-notice-muted);
	font-size: 24px;
}

body.moedes-forum .moedes-forum-anime-notice__featured-placeholder {
	display: grid;
	place-items: center;
	color: var(--moedes-notice-muted);
	font-size: 24px;
}

body.moedes-forum .moedes-forum-anime-notice__featured-overlay {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	align-items: flex-end;
	min-height: 58%;
	padding: 24px 10px 9px;
	background: linear-gradient(180deg, transparent, rgba(15, 23, 42, .82));
	pointer-events: none;
}

body.moedes-forum .moedes-forum-anime-notice__featured-title {
	display: -webkit-box;
	overflow: hidden;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	text-shadow: 0 1px 2px rgba(15, 23, 42, .48);
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

body.moedes-forum .moedes-forum-anime-notice__featured-link:focus-visible {
	outline: 2px solid var(--moedes-notice-accent);
	outline-offset: 2px;
}

body.moedes-forum .moedes-forum-anime-notice__empty {
	margin: 0;
	color: var(--moedes-notice-muted);
	font-size: 13px;
}

@media (max-width: 767px) {
	body.moedes-forum .moedes-forum-anime-notice {
		padding: 12px;
	}

	body.moedes-forum .moedes-forum-anime-notice__title {
		font-size: 17px;
	}

	body.moedes-forum .moedes-forum-anime-notice__item-link {
		font-size: 13px;
	}

	body.moedes-forum .moedes-forum-anime-notice__layout {
		grid-template-columns: 1fr;
	}

	body.moedes-forum .moedes-forum-anime-notice__featured,
	body.moedes-forum .moedes-forum-anime-notice__featured-cover {
		height: var(--moedes-notice-feature-height);
	}
}

/*
 * Latest-release list. Each row is a two-column editorial line: a compact
 * category chip and a single-line title. State colors are semantic and kept
 * in local variables so the theme can override them without selector stacks.
 */
body.moedes-forum .moedes-forum-latest-release {
	--moedes-latest-accent: var(--moedes-forum-accent, var(--focus-color, #2f6fed));
	--moedes-latest-border: var(--moedes-forum-border, var(--main-border-color, #e6eaf0));
	--moedes-latest-surface: var(--moedes-forum-surface, var(--main-bg-color, #fff));
	--moedes-latest-muted: var(--moedes-forum-muted, var(--muted-2-color, #7a8493));
	--moedes-latest-tag-width: 84px;
	--moedes-latest-anime: #f08a18;
	--moedes-latest-new: #5b9d1b;
	--moedes-latest-game: #ef6262;
	display: grid;
	gap: 12px;
	padding: 14px;
	border: 1px solid var(--moedes-latest-border);
	border-radius: var(--moedes-forum-radius, var(--main-radius, 8px));
	background: var(--moedes-latest-surface);
	color: var(--moedes-forum-text);
}

body.moedes-forum .zib-widget-wrap:has(.moedes-forum-latest-release) {
	margin-bottom: var(--moedes-forum-widget-gap);
}

body.moedes-forum .sidebar > .zib-widget-wrap:has(.moedes-forum-latest-release):last-child {
	margin-bottom: 0;
}

body.moedes-forum .moedes-forum-latest-release__header {
	display: flex;
	min-width: 0;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

body.moedes-forum .moedes-forum-latest-release__title {
	display: inline-flex;
	min-width: 0;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: var(--moedes-title-color);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.35;
}

body.moedes-forum .moedes-forum-latest-release__title .fa {
	color: var(--moedes-latest-accent);
	font-size: 18px;
}

body.moedes-forum .moedes-forum-latest-release__more {
	flex: 0 0 auto;
	color: var(--moedes-latest-muted);
	font-size: 12px;
	line-height: 1.3;
	text-decoration: none;
	white-space: nowrap;
}

body.moedes-forum .moedes-forum-latest-release__more:hover,
body.moedes-forum .moedes-forum-latest-release__more:focus-visible {
	color: var(--moedes-latest-accent);
	text-decoration: none;
}

body.moedes-forum .moedes-forum-latest-release__list {
	display: grid;
	gap: 8px;
}

body.moedes-forum .moedes-forum-latest-release__item {
	min-width: 0;
}

body.moedes-forum .moedes-forum-latest-release__link {
	display: grid;
	grid-template-columns: var(--moedes-latest-tag-width) minmax(0, 1fr);
	gap: 8px;
	min-width: 0;
	align-items: center;
	color: var(--moedes-forum-text);
	font-size: 14px;
	line-height: 1.4;
	text-decoration: none;
}

body.moedes-forum .moedes-forum-latest-release__tag {
	display: inline-flex;
	width: var(--moedes-latest-tag-width);
	min-width: 0;
	box-sizing: border-box;
	height: 22px;
	align-items: center;
	justify-content: center;
	padding: 0 4px;
	overflow: visible;
	border: 1px solid currentColor;
	border-radius: calc(var(--moedes-forum-radius, var(--main-radius, 8px)) * 0.5);
	font-size: 12px;
	line-height: 1;
	text-overflow: clip;
	white-space: nowrap;
}

body.moedes-forum .moedes-forum-latest-release__tag-text {
	display: block;
	overflow: visible;
	min-width: 0;
	text-overflow: clip;
	white-space: nowrap;
}

body.moedes-forum .moedes-forum-latest-release__tag.is-anime {
	color: var(--moedes-latest-anime);
}

body.moedes-forum .moedes-forum-latest-release__tag.is-new {
	color: var(--moedes-latest-new);
}

body.moedes-forum .moedes-forum-latest-release__tag.is-game {
	color: var(--moedes-latest-game);
}

body.moedes-forum .moedes-forum-latest-release__item-title {
	display: block;
	overflow: hidden;
	color: var(--moedes-title-color);
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.moedes-forum .moedes-forum-latest-release__link:hover,
body.moedes-forum .moedes-forum-latest-release__link:focus-visible {
	color: var(--moedes-title-active-color);
	text-decoration: none;
}

body.moedes-forum .moedes-forum-latest-release__link:hover .moedes-forum-latest-release__item-title,
body.moedes-forum .moedes-forum-latest-release__link:focus-visible .moedes-forum-latest-release__item-title {
	color: var(--moedes-title-active-color);
}

body.moedes-forum .moedes-forum-latest-release__link:focus-visible {
	outline: 2px solid var(--moedes-latest-accent);
	outline-offset: 2px;
	border-radius: 3px;
}

body.moedes-forum .moedes-forum-latest-release__empty {
	margin: 0;
	color: var(--moedes-latest-muted);
	font-size: 13px;
}

@media (max-width: 767px) {
	body.moedes-forum .moedes-forum-latest-release {
		padding: 12px;
	}

	body.moedes-forum .moedes-forum-latest-release__title {
		font-size: 16px;
	}

	body.moedes-forum .moedes-forum-latest-release__link {
		font-size: 13px;
	}

	body.moedes-forum .moedes-forum-latest-release {
		--moedes-latest-tag-width: 78px;
	}
}

/*
 * Compact image-led ranking used by the forum sidebar. Only the first three
 * rows carry a cover and metric; later rows become a clean numbered list.
 */
body.moedes-forum .moedes-forum-visual-ranking {
	--moedes-visual-ranking-accent: var(
		--moedes-primary,
		var(--moedes-forum-accent, var(--theme-color, #F39A07))
	);
	--moedes-visual-ranking-rank-1: var(
		--moedes-rank-1,
		var(--moedes-forum-rank-1, #F39A07)
	);
	--moedes-visual-ranking-rank-2: var(
		--moedes-rank-2,
		var(--moedes-forum-rank-2, #F8C57E)
	);
	--moedes-visual-ranking-rank-3: var(
		--moedes-rank-3,
		var(--moedes-forum-rank-3, #FBDDB7)
	);
	--moedes-visual-ranking-rank-foreground: var(--moedes-primary-foreground, #241600);
	--moedes-visual-ranking-border: var(
		--moedes-forum-border,
		var(--main-border-color, #e6eaf0)
	);
	--moedes-visual-ranking-muted: var(
		--moedes-forum-muted,
		var(--muted-2-color, #7a8493)
	);
	--moedes-visual-ranking-cover-width: 96px;
	--moedes-visual-ranking-image-row-height: 64px;
	--moedes-visual-ranking-text-row-height: 38px;
	--moedes-visual-ranking-row-gap: 8px;
	container-type: inline-size;
	display: grid;
	gap: 10px;
	padding: 16px 16px 14px;
	border: 1px solid var(--moedes-visual-ranking-border);
	border-radius: var(--moedes-forum-radius, var(--main-radius, 8px));
	background: var(--moedes-forum-surface, var(--main-bg-color, #fff));
	color: var(--moedes-forum-text);
}

body.moedes-forum .moedes-forum-visual-ranking__header {
	display: flex;
	min-width: 0;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

body.moedes-forum .moedes-forum-visual-ranking__title {
	display: inline-flex;
	min-width: 0;
	margin: 0;
	align-items: center;
	gap: 8px;
	color: var(--moedes-title-color);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
}

body.moedes-forum .moedes-forum-visual-ranking__title .fa {
	color: var(--moedes-visual-ranking-accent);
	font-size: 20px;
}

body.moedes-forum .moedes-forum-visual-ranking__tabs {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
}

body.moedes-forum .moedes-forum-visual-ranking__tab {
	min-height: 29px;
	padding: 4px 10px;
	border: 1px solid var(--moedes-visual-ranking-border);
	border-radius: calc(var(--moedes-forum-radius, var(--main-radius, 8px)) * 0.6);
	background: var(--moedes-forum-surface);
	color: var(--moedes-forum-text);
	font-size: 12px;
	line-height: 1.2;
	cursor: pointer;
}

body.moedes-forum .moedes-forum-visual-ranking__tab[aria-selected="true"] {
	border-color: var(--moedes-visual-ranking-accent);
	background: var(--moedes-visual-ranking-accent);
	color: #fff;
}

body.moedes-forum .moedes-forum-visual-ranking__tab:focus-visible {
	outline: 2px solid var(--moedes-visual-ranking-accent);
	outline-offset: 2px;
}

body.moedes-forum .moedes-forum-visual-ranking__list {
	display: grid;
	gap: var(--moedes-visual-ranking-row-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

body.moedes-forum .moedes-forum-visual-ranking__panels {
	min-height: calc(
		(var(--moedes-visual-ranking-max-image-rows, 0) * var(--moedes-visual-ranking-image-row-height))
		+ (var(--moedes-visual-ranking-max-text-rows, 0) * var(--moedes-visual-ranking-text-row-height))
		+ (max(0, var(--moedes-visual-ranking-max-rows, 0) - 1) * var(--moedes-visual-ranking-row-gap))
	);
}

@supports (height: 1cqw) {
	body.moedes-forum .moedes-forum-visual-ranking__panels {
		/* Keep the three thumbnails close to the hot-ranking proportions. */
		--moedes-visual-ranking-cover-width: clamp(88px, 31cqw, 104px);
		--moedes-visual-ranking-image-row-height: clamp(56px, 21cqw, 68px);
	}
}

body.moedes-forum .moedes-forum-visual-ranking__item {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	align-items: center;
	box-sizing: border-box;
	column-gap: 8px;
	min-width: 0;
	height: var(--moedes-visual-ranking-text-row-height);
	min-height: var(--moedes-visual-ranking-text-row-height);
	padding: 0;
}

body.moedes-forum .moedes-forum-visual-ranking__item.is-image-row {
	position: relative;
	display: grid;
	grid-template-columns: var(--moedes-visual-ranking-cover-width) minmax(0, 1fr);
	grid-template-rows: var(--moedes-visual-ranking-image-row-height);
	align-items: start;
	height: var(--moedes-visual-ranking-image-row-height);
	min-height: var(--moedes-visual-ranking-image-row-height);
	padding: 0;
	overflow: visible;
	border-radius: 0;
}

body.moedes-forum .moedes-forum-visual-ranking__item:not(.is-image-row) {
	grid-template-columns: 22px minmax(0, 1fr);
	grid-template-rows: var(--moedes-visual-ranking-text-row-height);
	height: var(--moedes-visual-ranking-text-row-height);
	min-height: var(--moedes-visual-ranking-text-row-height);
	align-items: center;
}

body.moedes-forum .moedes-forum-visual-ranking__rank {
	display: inline-grid;
	width: 22px;
	height: 22px;
	box-sizing: border-box;
	padding: 0;
	place-items: center;
	justify-content: center;
	align-content: center;
	align-self: center;
	justify-self: center;
	border-radius: calc(var(--moedes-forum-radius, var(--main-radius, 8px)) * 0.35);
	background: var(--moedes-visual-ranking-border);
	color: var(--moedes-visual-ranking-muted);
	font-size: 13px;
	font-variant-numeric: tabular-nums;
	font-weight: 650;
	line-height: 1;
	text-align: center;
}

body.moedes-forum .moedes-forum-visual-ranking__item.is-image-row .moedes-forum-visual-ranking__rank {
	position: absolute;
	top: 6px;
	left: 6px;
	z-index: 3;
	align-self: start;
	justify-self: start;
	border-radius: calc(var(--moedes-forum-radius, var(--main-radius, 8px)) * 0.35);
	background: var(--moedes-visual-ranking-accent);
	color: #fff;
	box-shadow: 0 1px 2px rgba(15, 23, 42, .24);
}

body.moedes-forum .moedes-forum-visual-ranking__item.rank-1 .moedes-forum-visual-ranking__rank {
	background: var(--moedes-visual-ranking-rank-1);
	color: var(--moedes-visual-ranking-rank-foreground);
}

body.moedes-forum .moedes-forum-visual-ranking__item.rank-2 .moedes-forum-visual-ranking__rank {
	background: var(--moedes-visual-ranking-rank-2);
	color: var(--moedes-visual-ranking-rank-foreground);
}

body.moedes-forum .moedes-forum-visual-ranking__item.rank-3 .moedes-forum-visual-ranking__rank {
	background: var(--moedes-visual-ranking-rank-3);
	color: var(--moedes-visual-ranking-rank-foreground);
}

body.moedes-forum .moedes-forum-visual-ranking__cover {
	display: block;
	grid-column: 1;
	grid-row: 1;
	width: var(--moedes-visual-ranking-cover-width);
	height: var(--moedes-visual-ranking-image-row-height);
	overflow: hidden;
	border-radius: calc(var(--moedes-forum-radius, var(--main-radius, 8px)) * 0.35);
	background: var(--moedes-forum-surface-muted);
	visibility: visible;
}

body.moedes-forum .moedes-forum-visual-ranking__item.is-image-row.is-active .moedes-forum-visual-ranking__cover {
	position: relative;
	inset: auto;
	width: var(--moedes-visual-ranking-cover-width);
	height: var(--moedes-visual-ranking-image-row-height);
	border-radius: calc(var(--moedes-forum-radius, var(--main-radius, 8px)) * 0.35);
}

body.moedes-forum .moedes-forum-visual-ranking__cover img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.moedes-forum .moedes-forum-visual-ranking__cover .moedes-forum-recommendations__placeholder {
	display: grid;
	width: 100%;
	height: 100%;
	place-items: center;
	color: var(--moedes-visual-ranking-muted);
	font-size: 20px;
}

body.moedes-forum .moedes-forum-visual-ranking__body {
	display: flex;
	grid-column: 2;
	grid-row: 1;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	box-sizing: border-box;
	height: var(--moedes-visual-ranking-image-row-height);
	min-width: 0;
	gap: 7px;
	padding: 3px 0;
}

body.moedes-forum .moedes-forum-visual-ranking__item.is-image-row .moedes-forum-visual-ranking__body {
	height: var(--moedes-visual-ranking-image-row-height);
	min-height: var(--moedes-visual-ranking-image-row-height);
}

body.moedes-forum .moedes-forum-visual-ranking__item:not(.is-image-row) .moedes-forum-visual-ranking__body {
	grid-column: 2;
	grid-row: 1;
	height: var(--moedes-visual-ranking-text-row-height);
	min-height: var(--moedes-visual-ranking-text-row-height);
	overflow: hidden;
}

body.moedes-forum .moedes-forum-visual-ranking__item.is-image-row.is-active .moedes-forum-visual-ranking__body {
	position: relative;
	z-index: 1;
	inset: auto;
	display: flex;
	align-items: flex-start;
	padding: 1px 0;
	background: transparent;
}

body.moedes-forum .moedes-forum-visual-ranking__post-title {
	display: -webkit-box;
	overflow: hidden;
	min-width: 0;
	color: var(--moedes-title-color);
	font-size: 13px;
	font-weight: 550;
	line-height: 1.45;
	text-align: left;
	text-decoration: none;
	text-overflow: ellipsis;
	white-space: nowrap;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
}

body.moedes-forum .moedes-forum-visual-ranking__item.is-image-row .moedes-forum-visual-ranking__post-title {
	width: 100%;
	min-height: 0;
	line-height: 1.35;
	-webkit-line-clamp: 2;
	white-space: normal;
}

body.moedes-forum .moedes-forum-visual-ranking__item.is-image-row.is-active .moedes-forum-visual-ranking__post-title {
	color: var(--moedes-title-active-color);
	font-weight: 600;
	-webkit-line-clamp: 2;
}

body.moedes-forum .moedes-forum-visual-ranking__item.is-image-row.is-active .moedes-forum-visual-ranking__views {
	flex: 0 0 auto;
	color: var(--moedes-visual-ranking-muted);
}

body.moedes-forum .moedes-forum-visual-ranking__post-title:hover,
body.moedes-forum .moedes-forum-visual-ranking__post-title:focus-visible {
	color: var(--moedes-title-active-color);
	text-decoration: none;
}

body.moedes-forum .moedes-forum-visual-ranking__post-title:focus-visible {
	outline: 2px solid var(--moedes-visual-ranking-accent);
	outline-offset: 2px;
}

body.moedes-forum .moedes-forum-visual-ranking__views {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--moedes-visual-ranking-muted);
	font-size: 12px;
	line-height: 1.2;
}

body.moedes-forum .moedes-forum-visual-ranking__views .fa {
	font-size: 10px;
}

body.moedes-forum .moedes-forum-visual-ranking__empty {
	margin: 0;
	padding: 20px 0;
	color: var(--moedes-visual-ranking-muted);
	text-align: center;
}

@media (max-width: 767px) {
	body.moedes-forum .moedes-forum-visual-ranking {
		padding: 14px 12px 12px;
	}

	body.moedes-forum .moedes-forum-visual-ranking__title {
		font-size: 17px;
	}

	body.moedes-forum .moedes-forum-visual-ranking__item.is-image-row {
		grid-template-columns: var(--moedes-visual-ranking-cover-width) minmax(0, 1fr);
		height: var(--moedes-visual-ranking-image-row-height);
		min-height: var(--moedes-visual-ranking-image-row-height);
	}

	body.moedes-forum .moedes-forum-visual-ranking__cover,
	body.moedes-forum .moedes-forum-visual-ranking__item.is-image-row.is-active .moedes-forum-visual-ranking__cover {
		width: var(--moedes-visual-ranking-cover-width);
		height: var(--moedes-visual-ranking-image-row-height);
	}
}

@media (max-width: 767px) {
	body.moedes-forum .moedes-forum-recommendations {
		gap: 10px;
		padding: 12px;
	}

	body.moedes-forum .moedes-forum-recommendations__rail,
	body.moedes-forum .moedes-forum-recommendations.is-visible-1 .moedes-forum-recommendations__rail,
	body.moedes-forum .moedes-forum-recommendations.is-visible-2 .moedes-forum-recommendations__rail,
	body.moedes-forum .moedes-forum-recommendations.is-visible-3 .moedes-forum-recommendations__rail {
		grid-auto-columns: minmax(180px, calc(100vw - 64px));
	}

	body.moedes-forum .moedes-forum-recommendations__heading {
		font-size: 15px;
	}

	body.moedes-forum .moedes-forum-recommendations__more {
		padding: 0 7px;
	}
}

/*
 * Use the existing Zibll header as the first navigation layer and keep the
 * forum tabs as a full-width second layer below the poster. The tab content
 * remains owned by Zibll; only the visual navigation surface is relocated.
 */
body.moedes-forum .bbs-home-tab {
	min-height: 0 !important;
}

/*
 * Keep Moedes widgets separated from the next module. The outer wrapper is
 * the spacing boundary so the rule works in every manually configured area.
 */
body.moedes-forum .zib-widget-wrap:has(.moedes-forum-stats) {
	margin-bottom: var(--moedes-forum-stats-gap);
}

body.moedes-forum .zib-widget-wrap:has(.moedes-forum-ranking),
body.moedes-forum .zib-widget-wrap:has(.moedes-forum-ranking--composite),
body.moedes-forum .zib-widget-wrap:has(.moedes-forum-widget) {
	margin-bottom: var(--moedes-forum-widget-gap);
}

body.moedes-forum .zib-widget-wrap:has(.moedes-user-profile) {
	margin-bottom: var(--moedes-forum-widget-gap);
}

body.moedes-forum .sidebar > .zib-widget-wrap:has(.moedes-forum-stats):last-child,
body.moedes-forum .sidebar > .zib-widget-wrap:has(.moedes-forum-ranking):last-child,
body.moedes-forum .sidebar > .zib-widget-wrap:has(.moedes-forum-ranking--composite):last-child,
body.moedes-forum .sidebar > .zib-widget-wrap:has(.moedes-forum-widget):last-child,
body.moedes-forum .sidebar > .zib-widget-wrap:has(.moedes-user-profile):last-child {
	margin-bottom: 0;
}

body.moedes-forum .moedes-forum-ranking__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

body.moedes-forum .moedes-forum-ranking__heading {
	margin: 0;
	color: var(--moedes-title-color);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
}

body.moedes-forum .moedes-forum-ranking__tabs {
	display: flex;
	align-items: center;
	gap: 10px;
}

body.moedes-forum .moedes-forum-ranking__tab {
	position: relative;
	padding: 2px 0 4px;
	border: 0;
	background: transparent;
	color: var(--moedes-forum-muted);
	font-size: 13px;
	line-height: 1.4;
}

body.moedes-forum .moedes-forum-ranking__tab::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 2px;
	border-radius: 2px;
	background: transparent;
	content: "";
}

body.moedes-forum .moedes-forum-ranking__tab[aria-selected="true"] {
	color: var(--moedes-forum-accent, var(--focus-color, #2f6fed));
	font-weight: 650;
}

body.moedes-forum .moedes-forum-ranking__tab[aria-selected="true"]::after {
	background: currentColor;
}

body.moedes-forum .moedes-forum-ranking__tab:focus-visible {
	border-radius: 3px;
	outline: 2px solid var(--moedes-forum-accent, var(--focus-color, #2f6fed));
	outline-offset: 3px;
}

body.moedes-forum .moedes-forum-ranking__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

/*
 * Keep the ranking column's footprint stable when a shorter period is
 * selected. Hidden panels can contain fewer posts than the active panel, and
 * the cover preview adds height to the selected row; reserving the largest
 * panel height prevents the surrounding sidebar from jumping up and down.
 */
body.moedes-forum .moedes-forum-ranking:not(.moedes-forum-ranking--composite) .moedes-forum-ranking__panels {
	min-height: calc(
		(var(--moedes-forum-ranking-max-rows, 1) * var(--moedes-forum-ranking-row-height))
		+ var(--moedes-forum-ranking-active-extra)
	);
}

body.moedes-forum .moedes-forum-ranking__item {
	display: grid;
	grid-template-columns: 24px minmax(0, 1fr);
	align-items: center;
	box-sizing: border-box;
	gap: var(--moedes-forum-ranking-item-gap);
	min-width: 0;
	min-height: var(--moedes-forum-ranking-row-height);
	padding: 7px 0;
}

body.moedes-forum .moedes-forum-ranking__item + .moedes-forum-ranking__item {
	border-top: 1px solid var(--moedes-forum-border);
}

body.moedes-forum .moedes-forum-ranking__item.has-cover {
	grid-template-columns: 24px 0 minmax(0, 1fr);
	column-gap: var(--moedes-forum-ranking-item-gap);
}

body.moedes-forum .moedes-forum-ranking__item.has-cover:hover,
body.moedes-forum .moedes-forum-ranking__item.has-cover:focus-within,
body.moedes-forum .moedes-forum-ranking__item.has-cover.is-active {
	grid-template-columns: 24px var(--moedes-forum-ranking-cover-width) minmax(0, 1fr);
	grid-template-rows: var(--moedes-forum-ranking-active-row-height);
	height: var(--moedes-forum-ranking-active-row-height);
	min-height: var(--moedes-forum-ranking-active-row-height);
	align-items: start;
}

body.moedes-forum .moedes-forum-ranking__rank {
	display: inline-grid;
	width: 24px;
	height: 22px;
	box-sizing: border-box;
	padding: 0;
	place-items: center;
	justify-content: center;
	align-content: center;
	justify-self: center;
	align-self: center;
	color: var(--moedes-forum-muted);
	font-variant-numeric: tabular-nums;
	font-weight: 700;
	line-height: 1;
	text-align: center;
}

body.moedes-forum .moedes-forum-ranking__item.rank-1 .moedes-forum-ranking__rank {
	background: var(--moedes-forum-rank-1);
	color: #fff;
}

body.moedes-forum .moedes-forum-ranking__item.rank-2 .moedes-forum-ranking__rank {
	background: var(--moedes-forum-rank-2);
	color: #fff;
}

body.moedes-forum .moedes-forum-ranking__item.rank-3 .moedes-forum-ranking__rank {
	background: var(--moedes-forum-rank-3);
	color: #fff;
}

body.moedes-forum .moedes-forum-ranking__item.rank-1 .moedes-forum-ranking__rank,
body.moedes-forum .moedes-forum-ranking__item.rank-2 .moedes-forum-ranking__rank,
body.moedes-forum .moedes-forum-ranking__item.rank-3 .moedes-forum-ranking__rank {
	display: inline-grid;
	width: 24px;
	height: 22px;
	box-sizing: border-box;
	padding: 0;
	place-items: center;
	justify-content: center;
	align-content: center;
	align-self: start;
	justify-self: center;
	margin-top: 0;
	border-radius: var(--moedes-forum-radius, var(--main-radius, 8px));
	line-height: 1;
}

body.moedes-forum .moedes-forum-ranking__cover {
	overflow: hidden;
	display: block;
	width: 0;
	height: 0;
	min-height: 0;
	visibility: hidden;
	border-radius: calc(var(--moedes-forum-radius, var(--main-radius, 8px)) * 0.75);
	background: var(--moedes-forum-surface-muted);
}

body.moedes-forum .moedes-forum-ranking__item.has-cover:hover .moedes-forum-ranking__cover,
body.moedes-forum .moedes-forum-ranking__item.has-cover:focus-within .moedes-forum-ranking__cover,
body.moedes-forum .moedes-forum-ranking__item.has-cover.is-active .moedes-forum-ranking__cover {
	width: var(--moedes-forum-ranking-cover-width);
	height: var(--moedes-forum-ranking-cover-height);
	min-height: var(--moedes-forum-ranking-cover-height);
	visibility: visible;
	align-self: start;
}

body.moedes-forum .moedes-forum-ranking__image {
	display: block;
	width: 100%;
	height: 100%;
	min-height: var(--moedes-forum-ranking-cover-height);
	object-fit: cover;
}

body.moedes-forum .moedes-forum-ranking__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

body.moedes-forum .moedes-forum-ranking__item.has-cover:not(:hover):not(:focus-within):not(.is-active) .moedes-forum-ranking__content {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 8px;
}

body.moedes-forum .moedes-forum-ranking__title {
	overflow: hidden;
	display: block;
	color: var(--moedes-title-color);
	font-size: 14px;
	font-weight: 550;
	line-height: 1.55;
	text-align: left;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.moedes-forum .moedes-forum-ranking__item.has-cover:hover .moedes-forum-ranking__title,
body.moedes-forum .moedes-forum-ranking__item.has-cover:focus-within .moedes-forum-ranking__title,
body.moedes-forum .moedes-forum-ranking__item.has-cover.is-active .moedes-forum-ranking__title {
	display: -webkit-box;
	min-height: calc(2 * 1.55em);
	font-weight: 650;
	white-space: normal;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

body.moedes-forum .moedes-forum-ranking__title:hover,
body.moedes-forum .moedes-forum-ranking__title:focus-visible {
	color: var(--moedes-title-active-color);
}

body.moedes-forum .moedes-forum-ranking__item.is-active .moedes-forum-ranking__title {
	color: var(--moedes-title-active-color);
}

body.moedes-forum .moedes-forum-ranking__title:focus-visible {
	border-radius: 2px;
	outline: 2px solid var(--moedes-forum-accent, var(--focus-color, #2f6fed));
	outline-offset: 2px;
}

body.moedes-forum .moedes-forum-ranking__meta {
	display: flex;
	align-items: center;
	gap: 7px;
	min-width: 0;
	margin-top: 4px;
	color: var(--moedes-forum-muted);
	font-size: 12px;
	line-height: 1.4;
}

body.moedes-forum .moedes-forum-ranking__author {
	overflow: hidden;
	display: none;
	min-width: 0;
	margin-right: auto;
	color: inherit;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.moedes-forum .moedes-forum-ranking__item.has-cover:hover .moedes-forum-ranking__author,
body.moedes-forum .moedes-forum-ranking__item.has-cover:focus-within .moedes-forum-ranking__author,
body.moedes-forum .moedes-forum-ranking__item.has-cover.is-active .moedes-forum-ranking__author,
body.moedes-forum .moedes-forum-ranking__item:not(.has-cover) .moedes-forum-ranking__author {
	display: block;
}

body.moedes-forum .moedes-forum-ranking__metric {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	flex: 0 0 auto;
	font-variant-numeric: tabular-nums;
}

body.moedes-forum .moedes-forum-ranking__item.has-cover:hover .moedes-forum-ranking__meta,
body.moedes-forum .moedes-forum-ranking__item.has-cover:focus-within .moedes-forum-ranking__meta,
body.moedes-forum .moedes-forum-ranking__item.has-cover.is-active .moedes-forum-ranking__meta {
	margin-top: 3px;
}

body.moedes-forum .moedes-forum-ranking__item.has-cover:not(:hover):not(:focus-within):not(.is-active) .moedes-forum-ranking__meta {
	justify-content: flex-end;
	margin-top: 0;
	gap: 0;
}

body.moedes-forum .moedes-forum-ranking__item.has-cover:not(:hover):not(:focus-within):not(.is-active) .moedes-forum-ranking__metric + .moedes-forum-ranking__metric {
	display: none;
}

body.moedes-forum .moedes-forum-ranking__empty {
	margin: 0;
	padding: 22px 0;
	color: var(--moedes-forum-muted);
	text-align: center;
}

/*
 * Composite ranking variant: keep the same data and keyboard behaviour as
 * the regular ranking, but use a pale surface, compact numbered rows and a
 * full-width active media card. The selected row keeps its title above the
 * cover, with the excerpt and metrics below it, matching the reference
 * reading-ranking layout.
 */
body.moedes-forum .moedes-forum-ranking--composite {
	--moedes-composite-ranking-surface: var(
		--moedes-forum-surface,
		var(--main-bg-color, #fff)
	);
	--moedes-composite-ranking-border: var(
		--moedes-forum-border,
		var(--main-border-color, #e6eaf0)
	);
	--moedes-composite-accent: var(
		--moedes-forum-accent,
		var(--focus-color, #2f6fed)
	);
	--moedes-composite-row-height: 34px;
	--moedes-composite-cover-height: 164px;
	--moedes-composite-excerpt-height: 42px;
	--moedes-composite-meta-height: 22px;
	--moedes-composite-row-gap: 6px;
	--moedes-composite-active-gap: 6px;
	--moedes-composite-active-height: calc(
		var(--moedes-composite-row-height)
		+ var(--moedes-composite-cover-height)
		+ var(--moedes-composite-excerpt-height)
		+ var(--moedes-composite-meta-height)
		+ (3 * var(--moedes-composite-active-gap))
	);
	--moedes-composite-active-extra: calc(
		var(--moedes-composite-active-height) - var(--moedes-composite-row-height)
	);
	container-type: inline-size;
	display: grid;
	gap: 10px;
	padding: 15px 14px 10px;
	border-color: var(--moedes-composite-ranking-border);
	background: var(--moedes-composite-ranking-surface);
}

@supports (height: 1cqw) {
	body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__list {
		/* Keep the featured image at a readable 16:9 proportion. */
		--moedes-composite-cover-height: clamp(128px, 56.25cqw, 220px);
		--moedes-composite-active-height: calc(
			var(--moedes-composite-row-height)
			+ var(--moedes-composite-cover-height)
			+ var(--moedes-composite-excerpt-height)
			+ var(--moedes-composite-meta-height)
			+ (3 * var(--moedes-composite-active-gap))
		);
		--moedes-composite-active-extra: calc(
			var(--moedes-composite-active-height) - var(--moedes-composite-row-height)
		);
	}
}

body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__header {
	padding: 0 0 7px;
	border-bottom: 1px solid var(--moedes-composite-ranking-border);
}

body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__heading {
	position: relative;
	padding-left: 10px;
	font-size: 17px;
	letter-spacing: 0;
}

body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__heading::before {
	content: "";
	position: absolute;
	top: 2px;
	bottom: 2px;
	left: 0;
	width: 3px;
	border-radius: 2px;
	background: var(--moedes-composite-accent);
}

body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__tabs {
	gap: 12px;
}

body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__tab {
	min-height: 25px;
	padding: 2px 1px 5px;
	border: 0;
	border-bottom: 2px solid transparent;
	border-radius: 0;
	background: transparent;
	font-size: 13px;
}

body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__tab[aria-selected="true"] {
	border-color: var(--moedes-composite-accent);
	background: transparent;
	color: var(--moedes-composite-accent);
}

body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__list {
	display: flex;
	flex-direction: column;
	gap: var(--moedes-composite-row-gap);
	margin-top: 0;
	height: calc(
		(var(--moedes-forum-ranking-max-rows, 1) * var(--moedes-composite-row-height))
		+ var(--moedes-composite-active-extra)
		+ (max(0, var(--moedes-forum-ranking-max-rows, 1) - 1) * var(--moedes-composite-row-gap))
	);
}

body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__item,
body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__item.has-cover,
body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__item.has-cover:hover,
body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__item.has-cover:focus-within,
body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__item.has-cover.is-active {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr);
	grid-template-rows: var(--moedes-composite-row-height);
	align-items: start;
	column-gap: 7px;
	height: var(--moedes-composite-row-height);
	min-height: var(--moedes-composite-row-height);
	flex: 0 0 var(--moedes-composite-row-height);
	/* Keep the title's grid origin unchanged when a row expands. */
	padding: 0;
	border-top: 0;
	border-radius: calc(var(--moedes-forum-radius, var(--main-radius, 8px)) * .45);
	position: relative;
	overflow: visible;
	transition: none;
}

body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__item.has-cover:hover,
body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__item.has-cover:focus-within,
body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__item.has-cover.is-active {
	z-index: 4;
	grid-template-columns: 28px minmax(0, 1fr);
	grid-template-rows:
		var(--moedes-composite-row-height)
		var(--moedes-composite-cover-height)
		var(--moedes-composite-excerpt-height)
		var(--moedes-composite-meta-height);
	height: var(--moedes-composite-active-height);
	min-height: var(--moedes-composite-active-height);
	flex-basis: var(--moedes-composite-active-height);
	padding: 0;
	border: 0;
	background: transparent;
	row-gap: var(--moedes-composite-active-gap);
	overflow: visible;
}

body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__item + .moedes-forum-ranking__item {
	border-top: 0;
}

body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__rank {
	display: inline-grid;
	grid-column: 1;
	grid-row: 1;
	width: 22px;
	height: 22px;
	box-sizing: border-box;
	padding: 0;
	place-items: center;
	justify-content: center;
	align-content: center;
	align-self: start;
	justify-self: center;
	margin-top: 0;
	border-radius: calc(var(--moedes-forum-radius, var(--main-radius, 8px)) * 0.35);
	background: var(--moedes-composite-ranking-surface);
	color: var(--moedes-forum-muted);
	font-size: 13px;
	line-height: 1;
	position: relative;
	z-index: 3;
}

body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__item.rank-1 .moedes-forum-ranking__rank,
body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__item.rank-2 .moedes-forum-ranking__rank,
body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__item.rank-3 .moedes-forum-ranking__rank {
	border-radius: calc(var(--moedes-forum-radius, var(--main-radius, 8px)) * 0.35);
}

body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__item.has-cover:hover .moedes-forum-ranking__cover,
body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__item.has-cover:focus-within .moedes-forum-ranking__cover,
body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__item.has-cover.is-active .moedes-forum-ranking__cover {
	position: relative;
	grid-column: 1 / -1;
	grid-row: 2;
	z-index: 1;
	display: block !important;
	width: 100% !important;
	height: var(--moedes-composite-cover-height) !important;
	min-height: var(--moedes-composite-cover-height);
	margin-top: 0;
	border-radius: var(--moedes-forum-radius, var(--main-radius, 8px));
	background: var(--moedes-forum-surface-muted);
}

body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__cover {
	display: none !important;
	visibility: hidden;
}

body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__item.has-cover:hover .moedes-forum-ranking__cover,
body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__item.has-cover:focus-within .moedes-forum-ranking__cover,
body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__item.has-cover.is-active .moedes-forum-ranking__cover {
	display: block !important;
	visibility: visible;
}

body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__image {
	width: 100%;
	height: 100%;
	min-height: 0;
	object-fit: cover;
}

body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__content,
body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__item.has-cover:not(:hover):not(:focus-within):not(.is-active) .moedes-forum-ranking__content {
	display: flex;
	grid-column: 2;
	grid-row: 1;
	align-items: center;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	overflow: hidden;
	box-sizing: border-box;
	text-align: left;
}

body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__item.has-cover:hover .moedes-forum-ranking__content,
body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__item.has-cover:focus-within .moedes-forum-ranking__content,
body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__item.has-cover.is-active .moedes-forum-ranking__content {
	display: contents;
}

body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__title,
body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__item.has-cover:hover .moedes-forum-ranking__title,
body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__item.has-cover:focus-within .moedes-forum-ranking__title,
body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__item.has-cover.is-active .moedes-forum-ranking__title {
	display: block;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
	overflow: hidden;
	font-size: 13px;
	font-weight: 550;
	line-height: 1.45;
	text-align: left;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__item.has-cover:hover .moedes-forum-ranking__title,
body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__item.has-cover:focus-within .moedes-forum-ranking__title,
body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__item.has-cover.is-active .moedes-forum-ranking__title {
	display: block;
	grid-column: 2;
	grid-row: 1;
	align-self: center;
	width: 100%;
	height: var(--moedes-composite-row-height);
	min-height: 0;
	min-width: 0;
	max-width: 100%;
	color: var(--moedes-title-active-color);
	line-height: 1.4;
	text-shadow: none;
	text-overflow: ellipsis;
	white-space: nowrap;
	pointer-events: auto;
}

body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__excerpt {
	display: none;
	grid-column: 1 / -1;
	grid-row: 3;
	align-self: start;
	width: 100%;
	height: var(--moedes-composite-excerpt-height);
	min-width: 0;
	margin: 0;
	overflow: hidden;
	box-sizing: border-box;
	color: var(--moedes-forum-muted);
	font-size: 12px;
	line-height: 1.75;
	text-align: left;
	text-overflow: ellipsis;
}

body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__item.has-cover:hover .moedes-forum-ranking__excerpt,
body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__item.has-cover:focus-within .moedes-forum-ranking__excerpt,
body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__item.has-cover.is-active .moedes-forum-ranking__excerpt {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__meta {
	display: none;
	grid-column: 1 / -1;
	grid-row: 4;
	align-items: center;
	align-self: start;
	width: 100%;
	height: var(--moedes-composite-meta-height);
	min-width: 0;
	margin-top: 0;
	color: var(--moedes-forum-muted);
	font-size: 12px;
	line-height: 1.4;
}

body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__item.has-cover:hover .moedes-forum-ranking__meta,
body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__item.has-cover:focus-within .moedes-forum-ranking__meta,
body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__item.has-cover.is-active .moedes-forum-ranking__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 0;
	color: var(--moedes-forum-muted);
	font-size: 12px;
}

body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__more {
	display: flex;
	margin: 7px 0 0;
	padding: 12px 0 14px;
	align-items: center;
	justify-content: center;
	gap: 5px;
	border-top: 1px solid var(--moedes-composite-ranking-border);
	color: var(--moedes-forum-muted);
	font-size: 13px;
	line-height: 1.4;
	text-decoration: none;
}

body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__more span {
	color: var(--moedes-forum-accent, var(--focus-color, #2f6fed));
	font-size: 18px;
	line-height: 1;
}

body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__more:hover,
body.moedes-forum .moedes-forum-ranking--composite .moedes-forum-ranking__more:focus-visible {
	color: var(--moedes-forum-accent, var(--focus-color, #2f6fed));
	text-decoration: none;
}

@media (min-width: 992px) {
	body.moedes-forum #forum > .container {
		max-width: var(--moedes-forum-max-width, var(--mian-max-width, 1180px));
	}
}

@media (prefers-reduced-motion: reduce) {
	body.moedes-forum #forum .bbs-home-tab .panel-plate .panel-title > a > span:last-child > i.fa-angle-up,
	body.moedes-forum #forum .bbs-home-tab .panel-plate .panel-title > a > span:last-child > i.fa-angle-up::after,
	body.moedes-forum #forum .bbs-home-tab .panel-plate .panel-title > a > span:last-child > i.fa-angle-down,
	body.moedes-forum #forum .bbs-home-tab .panel-plate .panel-title > a > span:last-child > i.fa-angle-down::after {
		transition: none;
	}
}

@media (max-width: 767px) {
	body:is(.moedes-forum, .moedes-content-navigation, .moedes-content-list).nav-fixed {
		padding-top: var(--moedes-forum-header-height, 52px);
	}

	body.moedes-forum {
		--moedes-forum-board-thumb-width: 76px;
		--moedes-forum-board-thumb-height: 58px;
		/* Keep the switch clear of Zibll's fixed mobile action rail. */
		--moedes-forum-collapse-switch-safe-right: 48px;
	}

	body.moedes-forum :where(.forum-posts, .panel-plate, .zib-widget) {
		box-shadow: none;
	}

	body.moedes-forum .moedes-forum-stats {
		padding-right: var(--moedes-forum-space-md);
		padding-left: var(--moedes-forum-space-md);
	}

	body.moedes-forum .moedes-forum-stats__body {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: var(--moedes-forum-space-md);
	}

	body.moedes-forum .moedes-forum-stats__links {
		padding-top: var(--moedes-forum-space-md);
		border-top: 1px solid var(--moedes-forum-border);
		flex-basis: auto;
		width: auto;
	}

	body.moedes-forum .moedes-forum-stats__metric {
		padding-right: 0;
		padding-left: 0;
	}

	body.moedes-forum .moedes-forum-stats--extended .moedes-forum-stats__metrics {
		grid-template-columns: repeat(6, minmax(0, 1fr));
		column-gap: 4px;
	}

	body.moedes-forum .moedes-forum-stats--extended .moedes-forum-stats__metric {
		padding-right: 0;
		padding-left: 0;
	}

	body.moedes-forum .moedes-forum-stats__welcome {
		max-width: none;
	}

	body.moedes-forum #forum .bbs-home-tab .panel-plate .plate-lists {
		grid-template-columns: minmax(0, 1fr);
	}

	body.moedes-forum #forum .bbs-home-tab .panel-plate .plate-item,
	body.moedes-forum #forum .bbs-home-tab .panel-plate .plate-item:nth-child(-n + 2) {
		border-top: 1px solid var(--moedes-forum-border);
		border-right: 0;
	}

	body.moedes-forum #forum .bbs-home-tab .panel-plate .plate-item:first-child {
		border-top: 0;
	}

	body.moedes-forum #forum .bbs-home-tab .panel-plate .plate-thumb {
		width: var(--moedes-forum-board-thumb-width);
		height: var(--moedes-forum-board-thumb-height);
	}
}

/*
 * The parent theme owns the Tab set and the detail/mini/minimalism list
 * style. Moedes only moves that existing Tab rail into the active post-list
 * panel and gives it a single horizontal, scrollable layout.
 */
body:is(.moedes-forum, .moedes-content-navigation)
	.moedes-content-tab-nav {
	display: block;
	width: 100%;
	min-width: 0;
	margin: 0 0 var(--moedes-forum-space-sm, 8px);
	padding: 0;
	background: var(--moedes-forum-surface, var(--main-bg-color, #fff));
	border-bottom: 1px solid var(--moedes-forum-border, var(--main-border-color, #e6eaf0));
	box-shadow: none;
	overflow: hidden;
}

body:is(.moedes-forum, .moedes-content-navigation)
	.moedes-content-tab-nav.has-moedes-content-tab-controls {
	display: flex;
	min-width: 0;
	align-items: stretch;
}

body:is(.moedes-forum, .moedes-content-navigation)
	.moedes-content-tab-nav
	> .tab-nav-theme,
body:is(.moedes-forum, .moedes-content-navigation)
	.moedes-content-tab-nav
	> ul.tab-nav-theme {
	display: flex;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	width: 100%;
	min-width: 0;
	min-height: 38px;
	margin: 0;
	padding: 0 var(--moedes-forum-space-xs, 4px);
	align-items: center;
	gap: 2px;
	overflow-x: auto;
	overflow-y: hidden;
	list-style: none;
	white-space: nowrap;
}

body:is(.moedes-forum, .moedes-content-navigation)
	.moedes-content-tab-nav.has-moedes-content-tab-controls
	> .tab-nav-theme,
body:is(.moedes-forum, .moedes-content-navigation)
	.moedes-content-tab-nav.has-moedes-content-tab-controls
	> ul.tab-nav-theme {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
}

/*
 * The list preferences live on the same quiet rail as the AJAX tabs. The
 * switches are deliberately small and mechanically clear: a white thumb on
 * a neutral track, using the forum accent only for the enabled state.
 */
body:is(.moedes-forum, .moedes-content-navigation)
	.moedes-content-tab-controls {
	display: inline-flex;
	flex: 0 0 auto;
	min-height: 38px;
	margin-left: var(--moedes-forum-space-xs, 4px);
	padding: 0 var(--moedes-forum-space-xs, 4px) 0 8px;
	align-items: center;
	gap: 8px;
	border-left: 1px solid var(--moedes-forum-border, var(--main-border-color, #e6eaf0));
	background: var(--moedes-forum-surface, var(--main-bg-color, #fff));
	white-space: nowrap;
}

body:is(.moedes-forum, .moedes-content-navigation)
	.moedes-content-tab-control {
	display: inline-flex;
	min-width: 0;
	align-items: center;
	gap: 5px;
}

body:is(.moedes-forum, .moedes-content-navigation)
	.moedes-content-tab-control__label {
	color: var(--moedes-forum-nav-muted, var(--muted-2-color, #7a8493));
	font-size: 12px;
	font-weight: 500;
	line-height: 1;
}

body:is(.moedes-forum, .moedes-content-navigation)
	.moedes-content-tab-control__switch {
	display: inline-flex;
	width: 30px;
	height: 18px;
	margin: 0;
	padding: 0;
	align-items: center;
	justify-content: flex-start;
	border: 0;
	border-radius: 999px;
	background: transparent;
	box-shadow: none;
	cursor: pointer;
}

body:is(.moedes-forum, .moedes-content-navigation)
	.moedes-content-tab-control__track {
	position: relative;
	display: block;
	width: 30px;
	height: 18px;
	box-sizing: border-box;
	border: 1px solid var(--moedes-forum-border, var(--main-border-color, #e6eaf0));
	border-radius: 999px;
	background: var(--moedes-forum-control-track, var(--main-border-color, #e6eaf0));
	transition: background-color 160ms ease, border-color 160ms ease;
}

body:is(.moedes-forum, .moedes-content-navigation)
	.moedes-content-tab-control__thumb {
	position: absolute;
	top: 2px;
	left: 2px;
	display: block;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 2px rgb(15 23 42 / 22%);
	transition: transform 160ms ease;
}

body:is(.moedes-forum, .moedes-content-navigation)
	.moedes-content-tab-control__switch.is-on
	.moedes-content-tab-control__track {
	border-color: var(--moedes-forum-accent, var(--moedes-primary, var(--theme-color, #f39a07)));
	background: var(--moedes-forum-accent, var(--moedes-primary, var(--theme-color, #f39a07)));
}

body:is(.moedes-forum, .moedes-content-navigation)
	.moedes-content-tab-control__switch.is-on
	.moedes-content-tab-control__thumb {
	transform: translateX(12px);
}

body:is(.moedes-forum, .moedes-content-navigation)
	.moedes-content-tab-control__switch:focus-visible {
	outline: 2px solid var(--moedes-forum-accent, var(--moedes-primary, var(--theme-color, #f39a07)));
	outline-offset: 2px;
}

/*
 * Front-end bridge for Zibll's native `minimalism` post style.  The parent
 * theme renders a minimalism post as a title-only node; when the current tab
 * was configured as detail/mini, retain its original markup and hide the
 * non-title siblings while the switch is enabled.  No business node is
 * removed, so AJAX can still replace the list and the switch can restore the
 * original class string.
 */
body:is(.moedes-forum, .moedes-content-navigation)
	.bbs-main-tab-content
	.forum-posts.moedes-client-simple
	> :not(.moedes-simple-title) {
	display: none !important;
}

body:is(.moedes-forum, .moedes-content-navigation)
	.bbs-main-tab-content
	.forum-posts.moedes-client-simple
	> .moedes-simple-title {
	display: block;
	margin: 0;
}

body:is(.moedes-forum, .moedes-content-navigation)
	.moedes-content-tab-nav
	> .tab-nav-theme
	> li,
body:is(.moedes-forum, .moedes-content-navigation)
	.moedes-content-tab-nav
	> ul.tab-nav-theme
	> li {
	display: block;
	flex: 0 0 auto;
	width: auto !important;
	margin: 0;
	padding: 0;
}

body:is(.moedes-forum, .moedes-content-navigation)
	.moedes-content-tab-nav
	> .tab-nav-theme
	> li::before,
body:is(.moedes-forum, .moedes-content-navigation)
	.moedes-content-tab-nav
	> .tab-nav-theme
	> li::after,
body:is(.moedes-forum, .moedes-content-navigation)
	.moedes-content-tab-nav
	> .tab-nav-theme
	> li
	> a::before,
body:is(.moedes-forum, .moedes-content-navigation)
	.moedes-content-tab-nav
	> .tab-nav-theme
	> li
	> a::after {
	display: none !important;
	content: none !important;
}

body:is(.moedes-forum, .moedes-content-navigation)
	.moedes-content-tab-nav
	> .tab-nav-theme
	> li
	> a {
	display: inline-flex;
	min-height: 34px;
	padding: 0 10px;
	align-items: center;
	background: transparent !important;
	border-top: 0 !important;
	border-right: 0 !important;
	border-left: 0 !important;
	border-bottom: 2px solid transparent;
	border-radius: 0;
	box-shadow: none !important;
	color: var(--moedes-forum-nav-text, var(--main-color, #374151));
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
}

body:is(.moedes-forum, .moedes-content-navigation)
	.moedes-content-tab-nav
	> .tab-nav-theme
	> li
	> a:hover,
body:is(.moedes-forum, .moedes-content-navigation)
	.moedes-content-tab-nav
	> .tab-nav-theme
	> li
	> a:focus-visible,
body:is(.moedes-forum, .moedes-content-navigation)
	.moedes-content-tab-nav
	> .tab-nav-theme
	> li.active
	> a,
body:is(.moedes-forum, .moedes-content-navigation)
	.moedes-content-tab-nav
	> .tab-nav-theme
	> li
	> a.active {
	border-bottom-color: var(--moedes-forum-nav-active, var(--moedes-primary, #3b82f6));
	color: var(--moedes-forum-nav-active, var(--moedes-primary, #3b82f6));
	font-weight: 700;
	outline: 0;
	text-decoration: none;
}

@media (max-width: 767px) {
	body:is(.moedes-forum, .moedes-content-navigation)
		.moedes-content-tab-nav
		> .tab-nav-theme,
	body:is(.moedes-forum, .moedes-content-navigation)
		.moedes-content-tab-nav
		> ul.tab-nav-theme {
		min-height: 36px;
		padding-right: 0;
		padding-left: 0;
	}

	body:is(.moedes-forum, .moedes-content-navigation)
		.moedes-content-tab-nav
		> .tab-nav-theme
		> li
		> a {
		min-height: 32px;
		padding-right: 9px;
		padding-left: 9px;
	}

	body:is(.moedes-forum, .moedes-content-navigation)
		.moedes-content-tab-controls {
		min-height: 36px;
		margin-left: 2px;
		padding-right: 2px;
		padding-left: 6px;
		gap: 5px;
	}

	body:is(.moedes-forum, .moedes-content-navigation)
		.moedes-content-tab-control {
		gap: 3px;
	}

}

@media (max-width: 420px) {
	body:is(.moedes-forum, .moedes-content-navigation)
		.moedes-content-tab-control__label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		clip-path: inset(50%);
		white-space: nowrap;
	}

	body:is(.moedes-forum, .moedes-content-navigation)
		.moedes-content-tab-controls {
		gap: 4px;
		padding-right: 1px;
		padding-left: 5px;
	}
}

@media (prefers-reduced-motion: reduce) {
	body:is(.moedes-forum, .moedes-content-navigation)
		.moedes-content-tab-control__track,
	body:is(.moedes-forum, .moedes-content-navigation)
		.moedes-content-tab-control__thumb {
		transition: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.moedes-forum *,
	body.moedes-forum *::before,
	body.moedes-forum *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

/* Steam tag helper: a compact, native-looking extension of Zibll's tag box. */
body.moedes-forum .moedes-steam-tags {
	--moedes-steam-border: var(--moedes-forum-border, var(--main-border-color, #e6eaf0));
	--moedes-steam-surface: var(--moedes-forum-surface, var(--main-bg-color, #fff));
	--moedes-steam-muted: var(--moedes-forum-muted, var(--muted-2-color, #7a8493));
	margin-top: 0;
	padding: var(--moedes-forum-space-md, 14px);
	border: 1px solid var(--moedes-steam-border);
	border-radius: var(--moedes-forum-radius, var(--main-radius, 8px));
	background: var(--moedes-steam-surface);
}

body.moedes-forum .moedes-steam-tags__header,
body.moedes-forum .moedes-steam-tags__control {
	display: flex;
	align-items: center;
	gap: var(--moedes-forum-space-sm, 8px);
}

body.moedes-forum .moedes-steam-tags__header {
	justify-content: space-between;
	margin-bottom: var(--moedes-forum-space-sm, 8px);
}

body.moedes-forum .moedes-steam-tags__title {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	color: var(--moedes-forum-text, var(--main-color, #243043));
}

body.moedes-forum .moedes-steam-tags__title > i {
	color: var(--moedes-forum-accent, var(--theme-color, #2f6fed));
	font-size: 1.15em;
}

body.moedes-forum .moedes-steam-tags__limit {
	flex: 0 0 auto;
	color: var(--moedes-steam-muted);
	font-size: 0.82em;
}

body.moedes-forum .moedes-steam-tags__control .moedes-steam-tags__input {
	flex: 1 1 auto;
	min-width: 0;
}

body.moedes-forum .moedes-steam-tags__control .moedes-steam-tags__fetch {
	flex: 0 0 auto;
	white-space: nowrap;
}

body.moedes-forum .moedes-steam-tags__status {
	min-height: 1.4em;
	margin-top: 8px;
	font-size: 0.86em;
	line-height: 1.5;
}

body.moedes-forum .moedes-steam-tags__results {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 8px;
}

body.moedes-forum .moedes-steam-tags__tag {
	display: inline-flex;
	align-items: center;
	margin: 0;
	cursor: pointer;
}

body.moedes-forum .moedes-steam-tags__tag > input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

body.moedes-forum .moedes-steam-tags__tag > .badg {
	border: 1px solid var(--moedes-steam-border);
	color: var(--moedes-steam-muted);
	background: transparent;
	transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

body.moedes-forum .moedes-steam-tags__tag > input:checked + .badg {
	border-color: var(--moedes-forum-accent, var(--theme-color, #2f6fed));
	color: var(--moedes-forum-accent, var(--theme-color, #2f6fed));
	background: color-mix(in srgb, var(--moedes-forum-accent, #2f6fed) 10%, transparent);
}

body.moedes-forum .moedes-steam-tags__tag > input:focus-visible + .badg,
body.moedes-forum .moedes-steam-tags__fetch:focus-visible,
body.moedes-forum .moedes-steam-tags__apply:focus-visible {
	outline: 2px solid var(--moedes-forum-accent, var(--theme-color, #2f6fed));
	outline-offset: 2px;
}

body.moedes-forum .moedes-steam-tags__apply {
	margin-top: 10px;
}

body.moedes-forum .moedes-steam-tags__insert {
	margin-top: 10px;
	margin-left: 6px;
}

body.moedes-forum .moedes-steam-tags__game {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--moedes-steam-border);
}

body.moedes-forum .moedes-steam-tags__game-title {
	color: var(--moedes-forum-text, var(--main-color, #243043));
	font-size: 16px;
	font-weight: 650;
	line-height: 1.5;
}

body.moedes-forum .moedes-steam-tags__game-description {
	margin-top: 6px;
	color: var(--moedes-steam-muted);
	font-size: 13px;
	line-height: 1.7;
}

body.moedes-forum .moedes-steam-tags__requirements {
	display: grid;
	gap: 7px;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--moedes-steam-border);
}

body.moedes-forum .moedes-steam-tags__requirements-title {
	color: var(--moedes-forum-text, var(--main-color, #243043));
	font-size: 12px;
	font-weight: 600;
}

body.moedes-forum .moedes-steam-tags__requirements-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

body.moedes-forum .moedes-steam-tags__requirements-column {
	min-width: 0;
	padding: 9px 10px;
	border: 1px solid var(--moedes-steam-border);
	border-radius: calc(var(--moedes-forum-radius, var(--main-radius, 8px)) * 0.75);
	background: var(--moedes-forum-surface-muted, var(--muted-bg-color, #f6f8fb));
}

body.moedes-forum .moedes-steam-tags__requirements-column h4 {
	margin: 0 0 5px;
	color: var(--moedes-forum-text, var(--main-color, #243043));
	font-size: 11px;
	line-height: 1.4;
}

body.moedes-forum .moedes-steam-tags__requirements-column ul {
	margin: 0;
	padding-left: 16px;
	color: var(--moedes-steam-muted);
	font-size: 11px;
	line-height: 1.55;
}

body.moedes-forum .moedes-steam-tags__requirements-column li {
	margin: 0;
}

body.moedes-forum .moedes-steam-tags__media {
	display: grid;
	gap: 14px;
	margin-top: 10px;
}

body.moedes-forum .moedes-steam-tags__media-section {
	display: grid;
	gap: 7px;
	min-width: 0;
}

body.moedes-forum .moedes-steam-tags__media-heading {
	color: var(--moedes-forum-text, var(--main-color, #243043));
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
}

body.moedes-forum .moedes-steam-tags__media-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
	gap: 8px;
	min-width: 0;
}

body.moedes-forum .moedes-steam-tags__media-item {
	position: relative;
	display: grid;
	gap: 4px;
	margin: 0;
	cursor: pointer;
	color: var(--moedes-steam-muted);
	font-size: 11px;
	line-height: 1.3;
}

body.moedes-forum .moedes-steam-tags__media-item > input {
	position: absolute;
	z-index: 1;
	top: 6px;
	left: 6px;
	width: 16px;
	height: 16px;
	margin: 0;
	accent-color: var(--moedes-forum-accent, var(--theme-color, #2f6fed));
}

body.moedes-forum .moedes-steam-tags__media-item > img,
body.moedes-forum .moedes-steam-tags__media-preview {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 2px solid transparent;
	border-radius: var(--moedes-forum-radius, var(--main-radius, 8px));
	object-fit: cover;
	background: var(--moedes-forum-surface-muted);
}

body.moedes-forum .moedes-steam-tags__media-preview {
	position: relative;
	overflow: hidden;
}

body.moedes-forum .moedes-steam-tags__media-preview > img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.moedes-forum .moedes-steam-tags__media-play {
	position: absolute;
	right: 7px;
	bottom: 7px;
	display: inline-grid;
	width: 26px;
	height: 26px;
	place-items: center;
	border-radius: 50%;
	background: rgba(17, 24, 39, 0.82);
	color: #fff;
	font-size: 11px;
	line-height: 1;
}

body.moedes-forum .moedes-steam-tags__media-item > input:checked + img,
body.moedes-forum .moedes-steam-tags__media-item > input:checked + .moedes-steam-tags__media-preview {
	border-color: var(--moedes-forum-accent, var(--theme-color, #2f6fed));
}

body.moedes-forum .moedes-steam-tags__media-item > input:focus-visible + img,
body.moedes-forum .moedes-steam-tags__media-item > input:focus-visible + .moedes-steam-tags__media-preview {
	outline: 2px solid var(--moedes-forum-accent, var(--theme-color, #2f6fed));
	outline-offset: 2px;
}

/*
 * Steam overview. The information hierarchy follows Steam, while every
 * visible surface, border and radius remains derived from Moedes/Zibll.
 */
body.moedes-forum :where(.moedes-steam-content, .moedes-steam-content__wide) {
	--moedes-steam-stage: #10151d;
	--moedes-steam-stage-muted: #182230;
	--moedes-steam-panel: var(--moedes-forum-surface-muted, var(--muted-bg-color, #f6f8fb));
	--moedes-steam-surface: var(--moedes-forum-surface, var(--main-bg-color, #fff));
	--moedes-steam-border: var(--moedes-forum-border, var(--main-border-color, #e6eaf0));
	--moedes-steam-text: var(--moedes-forum-text, var(--main-color, #243043));
	--moedes-steam-muted: var(--moedes-forum-muted, var(--muted-2-color, #7a8493));
	--moedes-steam-accent: var(--moedes-forum-accent, var(--theme-color, #2f6fed));
	--moedes-steam-radius: var(--moedes-forum-radius, var(--main-radius, 8px));
	--moedes-steam-gap: var(--moedes-forum-space-sm, 8px);
	color: var(--moedes-steam-text);
}

body.moedes-forum .moedes-steam-content {
	display: grid;
	width: 100%;
	gap: var(--moedes-forum-space-lg, 18px);
	margin: 20px 0;
}

body.moedes-forum .moedes-steam-content.has-wide-showcase {
	margin-top: 0;
}

body.moedes-forum .moedes-steam-overview-host {
	width: 100%;
	min-width: 0;
	margin-top: var(--moedes-forum-space-lg, 18px);
	margin-bottom: var(--moedes-forum-space-lg, 18px);
}

body.moedes-forum .moedes-steam-overview-host.is-relocated {
	flex: 0 0 100%;
	max-width: 100%;
	padding-right: 0;
	padding-left: 0;
}

body.moedes-forum .moedes-steam-overview-host .moedes-steam-content__wide {
	margin-bottom: 0;
}

body.moedes-forum .moedes-steam-content__wide {
	position: relative;
	z-index: 2;
	display: grid;
	clear: both;
	width: 100%;
	gap: 10px;
	margin: 0 0 var(--moedes-forum-space-lg, 18px);
}

body.moedes-forum .moedes-steam-content__wide-title {
	margin: 0;
	color: var(--moedes-steam-text);
	font-size: clamp(22px, 2.4vw, 30px);
	font-weight: 700;
	line-height: 1.25;
}

body.moedes-forum .moedes-steam-content__showcase {
	display: grid;
	grid-template-columns: minmax(0, 1.9fr) minmax(300px, 0.82fr);
	width: 100%;
	min-width: 0;
	border: 1px solid var(--moedes-steam-border);
	border-radius: var(--moedes-steam-radius);
	background: var(--moedes-steam-surface);
	box-shadow: 0 8px 24px -22px var(--moedes-forum-shadow, rgba(31, 42, 68, 0.45));
}

body.moedes-forum .moedes-steam-content__showcase.is-info-only {
	grid-template-columns: minmax(300px, 460px);
	justify-content: end;
}

body.moedes-forum .moedes-steam-content__media {
	display: grid;
	min-width: 0;
	min-height: 0;
	grid-template-rows: minmax(0, 1fr) auto;
	overflow: hidden;
	border-radius: var(--moedes-steam-radius) 0 0 var(--moedes-steam-radius);
	background: var(--moedes-steam-stage);
}

body.moedes-forum .moedes-steam-content__stage {
	position: relative;
	display: grid;
	min-width: 0;
	min-height: 0;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--moedes-steam-stage);
}

body.moedes-forum .moedes-steam-content__slide,
body.moedes-forum .moedes-steam-content__slide > a,
body.moedes-forum .moedes-steam-content__slide img,
body.moedes-forum .moedes-steam-content__slide video {
	width: 100%;
	height: 100%;
	min-width: 0;
}

body.moedes-forum .moedes-steam-content__slide {
	position: absolute;
	inset: 0;
	margin: 0;
	background: var(--moedes-steam-stage);
}

body.moedes-forum .moedes-steam-content__slide[hidden],
body.moedes-forum .moedes-steam-content__tag-list [hidden],
body.moedes-forum .moedes-steam-content__tag-popover[hidden] {
	display: none !important;
}

body.moedes-forum .moedes-steam-content__slide > a {
	display: block;
	cursor: zoom-in;
}

body.moedes-forum .moedes-steam-content__slide img,
body.moedes-forum .moedes-steam-content__slide video {
	display: block;
	object-fit: contain;
	background: var(--moedes-steam-stage);
}

body.moedes-forum .moedes-steam-content__rail {
	display: flex;
	min-width: 0;
	max-width: 100%;
	gap: 5px;
	padding: 6px;
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-inline: contain;
	scrollbar-width: thin;
	scrollbar-color: var(--moedes-steam-border) transparent;
	background: var(--moedes-steam-stage-muted);
}

body.moedes-forum .moedes-steam-content__rail::-webkit-scrollbar {
	height: 6px;
}

body.moedes-forum .moedes-steam-content__rail::-webkit-scrollbar-track {
	border-radius: 999px;
	background: transparent;
}

body.moedes-forum .moedes-steam-content__rail::-webkit-scrollbar-thumb {
	border: 1px solid var(--moedes-steam-stage-muted);
	border-radius: 999px;
	background: var(--moedes-steam-border);
}

body.moedes-forum .moedes-steam-content__rail::-webkit-scrollbar-thumb:hover {
	background: var(--moedes-steam-accent);
}

body.moedes-forum .moedes-steam-content__rail-item {
	position: relative;
	flex: 0 0 clamp(92px, 15%, 132px);
	aspect-ratio: 16 / 9;
	margin: 0;
	padding: 2px;
	overflow: hidden;
	border: 1px solid transparent;
	border-radius: calc(var(--moedes-steam-radius) * 0.55);
	background: transparent;
	opacity: 0.72;
	cursor: pointer;
}

body.moedes-forum .moedes-steam-content__rail-item:hover,
body.moedes-forum .moedes-steam-content__rail-item.is-active {
	border-color: var(--moedes-steam-accent);
	opacity: 1;
}

body.moedes-forum .moedes-steam-content__rail-item:focus-visible {
	outline: 2px solid var(--moedes-steam-accent) !important;
	outline-offset: -2px;
	opacity: 1;
}

body.moedes-forum .moedes-steam-content__rail-item img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: calc(var(--moedes-steam-radius) * 0.35);
	object-fit: cover;
}

body.moedes-forum .moedes-steam-content__rail-play {
	position: absolute;
	top: 50%;
	left: 50%;
	display: grid;
	width: 30px;
	height: 30px;
	place-items: center;
	border-radius: 50%;
	background: rgba(16, 21, 29, 0.78);
	color: #fff;
	font-size: 12px;
	line-height: 1;
	transform: translate(-50%, -50%);
}

body.moedes-forum .moedes-steam-content__aside {
	position: relative;
	display: flex;
	min-width: 0;
	min-height: 0;
	padding: 0 clamp(12px, 1.5vw, 18px) clamp(12px, 1.5vw, 18px);
	flex-direction: column;
	gap: 10px;
	border-left: 1px solid var(--moedes-steam-border);
	border-radius: 0 var(--moedes-steam-radius) var(--moedes-steam-radius) 0;
	background: var(--moedes-steam-surface);
}

body.moedes-forum .moedes-steam-content__cover {
	margin: 0;
	overflow: hidden;
	border-radius: calc(var(--moedes-steam-radius) * 0.75);
	background: var(--moedes-steam-stage-muted);
}

body.moedes-forum .moedes-steam-content__cover a,
body.moedes-forum .moedes-steam-content__cover img {
	display: block;
	width: 100%;
}

body.moedes-forum .moedes-steam-content__cover img {
	aspect-ratio: 460 / 215;
	object-fit: cover;
}

body.moedes-forum .moedes-steam-content__description {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	color: var(--moedes-steam-text);
	font-size: 13px;
	line-height: 1.6;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
}

body.moedes-forum .moedes-steam-content__meta {
	display: grid;
	gap: 5px;
	margin: 2px 0 0;
	font-size: 12px;
	line-height: 1.45;
}

body.moedes-forum .moedes-steam-content__meta > div {
	display: grid;
	min-width: 0;
	grid-template-columns: 76px minmax(0, 1fr);
	align-items: start;
	gap: 10px;
}

body.moedes-forum .moedes-steam-content__meta dt {
	color: var(--moedes-steam-muted);
	font-weight: 400;
	white-space: nowrap;
}

body.moedes-forum .moedes-steam-content__meta dt::after {
	content: "：";
}

body.moedes-forum .moedes-steam-content__meta dd {
	display: block;
	min-width: 0;
	margin: 0;
	color: var(--moedes-steam-text);
	line-height: 1.55;
	overflow-wrap: anywhere;
}

body.moedes-forum .moedes-steam-content__meta dd small {
	color: var(--moedes-steam-muted);
	font-size: 1em;
}

body.moedes-forum .moedes-steam-content__review {
	color: var(--moedes-steam-accent);
	font-weight: 600;
}

body.moedes-forum .moedes-steam-content__review.is-mixed {
	color: var(--moedes-forum-warning, #b7791f);
}

body.moedes-forum .moedes-steam-content__review.is-negative {
	color: var(--moedes-forum-danger, #d64545);
}

body.moedes-forum .moedes-steam-content__tags {
	position: relative;
	display: grid;
	min-width: 0;
	gap: 6px;
	margin-top: auto;
}

body.moedes-forum .moedes-steam-content__tags h3 {
	margin: 0;
	color: var(--moedes-steam-muted);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.4;
}

body.moedes-forum .moedes-steam-content__tag-list {
	display: flex;
	min-width: 0;
	gap: 5px;
	flex-wrap: nowrap;
	overflow: hidden;
}

body.moedes-forum .moedes-steam-content__tag-list a,
body.moedes-forum .moedes-steam-content__tag-more,
body.moedes-forum .moedes-steam-content__tag-popover-list a {
	display: inline-flex;
	min-height: 25px;
	padding: 4px 8px;
	align-items: center;
	flex: 0 0 auto;
	border: 1px solid var(--moedes-steam-border);
	border-radius: calc(var(--moedes-steam-radius) * 0.55);
	background: var(--moedes-steam-panel);
	color: var(--moedes-steam-accent);
	font-size: 12px;
	line-height: 1.2;
}

body.moedes-forum .moedes-steam-content__tag-more {
	margin: 0;
	background: var(--moedes-steam-accent);
	color: #fff;
	font-weight: 600;
	cursor: pointer;
}

body.moedes-forum .moedes-steam-content__tag-list a:hover,
body.moedes-forum .moedes-steam-content__tag-popover-list a:hover {
	background: var(--moedes-steam-accent);
	color: #fff;
}

body.moedes-forum .moedes-steam-content__tag-popover {
	position: absolute;
	z-index: 20;
	right: 0;
	bottom: calc(100% + 8px);
	width: min(330px, calc(100vw - 48px));
	padding: 12px;
	border: 1px solid var(--moedes-steam-border);
	border-radius: var(--moedes-steam-radius);
	background: var(--moedes-steam-surface);
	box-shadow: 0 14px 36px -18px var(--moedes-forum-shadow, rgba(31, 42, 68, 0.55));
}

body.moedes-forum .moedes-steam-content__tag-popover-head {
	display: flex;
	margin-bottom: 9px;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-size: 13px;
}

body.moedes-forum .moedes-steam-content__tag-popover-head button {
	display: inline-grid;
	width: 26px;
	height: 26px;
	margin: 0;
	padding: 0;
	place-items: center;
	border: 0;
	border-radius: calc(var(--moedes-steam-radius) * 0.55);
	background: var(--moedes-steam-panel);
	color: var(--moedes-steam-text);
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
}

body.moedes-forum .moedes-steam-content__tag-popover-list {
	display: flex;
	max-height: 190px;
	gap: 6px;
	flex-wrap: wrap;
	overflow-y: auto;
	scrollbar-width: thin;
}

body.moedes-forum .moedes-steam-content__tag-popover-list a {
	background: var(--moedes-steam-panel);
}

body.moedes-forum .moedes-steam-content__tag-list a:focus-visible,
body.moedes-forum .moedes-steam-content__tag-more:focus-visible,
body.moedes-forum .moedes-steam-content__tag-popover a:focus-visible,
body.moedes-forum .moedes-steam-content__tag-popover button:focus-visible,
body.moedes-forum .moedes-steam-content__store a:focus-visible,
body.moedes-forum .moedes-steam-content__cover a:focus-visible {
	outline: 2px solid var(--moedes-steam-accent) !important;
	outline-offset: 2px;
}

body.moedes-forum .moedes-steam-content__store {
	margin: 0;
	padding-top: 1px;
	font-size: 13px;
}

body.moedes-forum .moedes-steam-content__store a {
	color: var(--moedes-steam-accent);
	font-weight: 600;
}

body.moedes-forum .moedes-steam-content__about {
	display: grid;
	gap: 12px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}

body.moedes-forum .moedes-steam-content__about > h3 {
	margin: 0;
	color: var(--moedes-steam-text);
	font-size: 18px;
	line-height: 1.4;
}

body.moedes-forum .moedes-steam-content__about-body {
	min-width: 0;
	color: var(--moedes-steam-text);
	font-size: 14px;
	line-height: 1.85;
	overflow-wrap: anywhere;
	white-space: normal;
}

body.moedes-forum .moedes-steam-content__about-body :where(h2, h3, h4) {
	margin: 24px 0 10px;
	padding-bottom: 7px;
	border-bottom: 1px solid var(--moedes-steam-border);
	color: var(--moedes-steam-text);
	font-size: 15px;
	font-weight: 650;
	line-height: 1.45;
}

body.moedes-forum .moedes-steam-content__about-body :where(h2, h3, h4):first-child {
	margin-top: 0;
}

body.moedes-forum .moedes-steam-content__about-body :where(p, ul, ol) {
	margin: 0 0 14px;
}

body.moedes-forum .moedes-steam-content__about-body :where(ul, ol) {
	padding-left: 22px;
}

body.moedes-forum .moedes-steam-content__about-body li {
	margin: 4px 0;
}

body.moedes-forum .moedes-steam-content__feature {
	display: grid;
	gap: 6px;
	margin: 18px 0 0;
}

body.moedes-forum .moedes-steam-content__feature h4 {
	margin: 0;
	padding: 0;
	border: 0;
	color: var(--moedes-steam-text);
	font-size: 15px;
	font-weight: 650;
	line-height: 1.5;
}

body.moedes-forum .moedes-steam-content__feature p {
	margin: 0;
	color: var(--moedes-steam-text);
	line-height: 1.85;
}

body.moedes-forum .moedes-steam-content__bundle-list {
	margin-top: -8px;
}

body.moedes-forum .moedes-steam-content__about-body .bb_img_ctn,
body.moedes-forum .moedes-steam-content__about-body :where(img, video) {
	display: block;
	width: 100%;
	max-width: 100%;
}

body.moedes-forum .moedes-steam-content__about-body video.moedes-steam-gif {
	height: auto;
	max-height: none;
	object-fit: contain;
	pointer-events: none;
	user-select: none;
}

body.moedes-forum .moedes-steam-content__about-body .bb_img_ctn {
	margin: 12px 0 14px;
	overflow: hidden;
	border-radius: calc(var(--moedes-steam-radius) * 0.75);
	background: var(--moedes-steam-stage);
}

body.moedes-forum .moedes-steam-content__about-body :where(img, video) {
	height: auto;
	margin: 0;
	object-fit: contain;
	background: var(--moedes-steam-stage);
}

body.moedes-forum .moedes-steam-content__requirements {
	display: grid;
	gap: 10px;
	padding: clamp(14px, 2vw, 20px);
	border: 1px solid var(--moedes-steam-border);
	border-radius: var(--moedes-steam-radius);
	background: var(--moedes-steam-surface);
}

body.moedes-forum .moedes-steam-content__requirements h3,
body.moedes-forum .moedes-steam-content__requirements-column h4 {
	margin: 0;
}

body.moedes-forum .moedes-steam-content__requirements h3 {
	font-size: 18px;
	line-height: 1.4;
}

body.moedes-forum .moedes-steam-content__requirements-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

body.moedes-forum .moedes-steam-content__requirements-column {
	min-width: 0;
	padding: 12px 14px;
	border: 1px solid var(--moedes-steam-border);
	border-radius: calc(var(--moedes-steam-radius) * 0.75);
	background: var(--moedes-steam-panel);
}

body.moedes-forum .moedes-steam-content__requirements-column h4 {
	color: var(--moedes-steam-text);
	font-size: 14px;
	line-height: 1.4;
}

body.moedes-forum .moedes-steam-content__requirements-column ul {
	margin: 8px 0 0;
	padding-left: 18px;
	color: var(--moedes-steam-muted);
	font-size: 13px;
	line-height: 1.7;
}

body.moedes-forum .moedes-steam-content__requirements-column li {
	margin: 0;
}

/* Keep saved content readable before the front-end compatibility upgrade runs. */
body.moedes-forum .moedes-steam-content > .moedes-steam-content__header,
body.moedes-forum .moedes-steam-content > .moedes-steam-content__description,
body.moedes-forum .moedes-steam-content > .moedes-steam-content__gallery,
body.moedes-forum .moedes-steam-content > .moedes-steam-content__movies,
body.moedes-forum .moedes-steam-content > .moedes-steam-content__store {
	padding: 0 clamp(14px, 2vw, 20px);
}

body.moedes-forum .moedes-steam-content__gallery,
body.moedes-forum .moedes-steam-content__movie-list,
body.moedes-forum .moedes-steam-content__thumbs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 10px;
}

body.moedes-forum .moedes-steam-content__hero,
body.moedes-forum .moedes-steam-content__thumb,
body.moedes-forum .moedes-steam-content__movie {
	margin: 0;
	overflow: hidden;
	border-radius: var(--moedes-steam-radius);
	background: var(--moedes-steam-stage);
}

body.moedes-forum .moedes-steam-content__hero img,
body.moedes-forum .moedes-steam-content__thumb img,
body.moedes-forum .moedes-steam-content__movie video {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: contain;
	background: var(--moedes-steam-stage);
}

body.moedes-forum .moedes-steam-content__movie figcaption {
	display: flex;
	padding: 9px 11px;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	background: var(--moedes-steam-panel);
	color: var(--moedes-steam-muted);
	font-size: 12px;
}

body.moedes-forum.moedes-steam-lightbox-open {
	overflow: hidden;
}

body.moedes-forum .moedes-steam-lightbox {
	position: fixed;
	z-index: 100080;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 24px;
	background: rgba(15, 23, 42, 0.82);
}

body.moedes-forum .moedes-steam-lightbox__panel {
	position: relative;
	display: grid;
	max-width: min(1100px, 94vw);
	max-height: 90vh;
	padding: 10px;
	border-radius: var(--moedes-forum-radius, var(--main-radius, 8px));
	background: var(--moedes-forum-surface, var(--main-bg-color, #fff));
}

body.moedes-forum .moedes-steam-lightbox__image {
	display: block;
	max-width: 100%;
	max-height: calc(90vh - 20px);
	object-fit: contain;
}

body.moedes-forum .moedes-steam-lightbox__close {
	position: absolute;
	z-index: 1;
	top: 10px;
	right: 10px;
	display: inline-grid;
	width: 32px;
	height: 32px;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: rgba(15, 23, 42, 0.72);
	color: #fff;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

body.moedes-forum .moedes-steam-lightbox__close:focus-visible {
	outline: 2px solid var(--moedes-forum-accent, var(--theme-color, #2f6fed));
	outline-offset: 2px;
}

/*
 * Paid downloads are an independent post-page widget. Keep the panel compact
 * and single-row in every access state so it never changes the article flow
 * or consumes the post body as a payment gate.
 */
body.moedes-forum.moedes-paid-download-post {
	--moedes-paid-download-panel: var(
		--moedes-forum-surface,
		var(--main-bg-color, #fff)
	);
	--moedes-paid-download-panel-deep: var(
		--moedes-forum-surface-muted,
		var(--muted-bg-2-color, #f6f7f8)
	);
	--moedes-paid-download-price: var(
		--moedes-forum-surface-muted,
		var(--muted-bg-2-color, #f6f7f8)
	);
	--moedes-paid-download-action: var(
		--theme-color,
		var(--moedes-forum-accent, var(--focus-color, #2f6fed))
	);
	--moedes-paid-download-action-hover: var(
		--focus-color,
		var(--theme-color, var(--moedes-forum-accent, #2f6fed))
	);
	--moedes-paid-download-text: var(
		--moedes-forum-text,
		var(--main-color, #243043)
	);
	--moedes-paid-download-subtle: var(
		--moedes-forum-muted,
		var(--muted-2-color, #7a8493)
	);
	--moedes-paid-download-border: var(
		--moedes-forum-border,
		var(--main-border-color, #e6eaf0)
	);
	--moedes-paid-download-radius: var(--moedes-forum-radius, var(--main-radius, 8px));
	--moedes-paid-download-title-size: 17px;
	--moedes-paid-download-copy-size: 15px;
	--moedes-paid-download-panel-height: 60px;
	--moedes-paid-download-control-height: 40px;
}

body.moedes-forum.moedes-paid-download-post .wp-posts-content > .theme-box > .hide-post {
	margin-top: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

body.moedes-forum.moedes-paid-download-post .wp-posts-content > .theme-box > .hide-post > div:first-child,
body.moedes-forum.moedes-paid-download-post .posts-paybox .pay-doc,
body.moedes-forum.moedes-paid-download-post .posts-paybox .vip-price-buts,
body.moedes-forum.moedes-paid-download-post .posts-paybox > badge {
	display: none;
}

body.moedes-forum.moedes-paid-download-post .posts-paybox {
	display: grid;
	min-height: var(--moedes-paid-download-panel-height);
	margin: 0;
	padding: 10px 14px;
	grid-template-areas: "title payment";
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	border: 1px solid var(--moedes-paid-download-border);
	border-radius: var(--moedes-paid-download-radius);
	background: var(--moedes-paid-download-panel);
	box-shadow: none;
}

body.moedes-forum.moedes-paid-download-post .posts-paybox .pay-tag {
	position: static;
	display: block;
	min-width: 0;
	overflow: hidden;
	width: auto;
	margin: 0;
	grid-area: title;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent !important;
	background-image: none !important;
	color: var(--moedes-paid-download-text);
	font-size: var(--moedes-paid-download-title-size);
	font-weight: 600;
	line-height: 1.35;
	text-overflow: ellipsis;
	transform: none;
	white-space: nowrap;
}

body.moedes-forum.moedes-paid-download-post .posts-paybox .flex.ab.jsb.hh {
	display: flex;
	margin: 0;
	grid-area: payment;
	align-items: center;
	justify-content: flex-end;
	gap: 0;
}

body.moedes-forum.moedes-paid-download-post .posts-paybox .flex.ab.jsb.hh > div {
	display: flex;
	height: var(--moedes-paid-download-control-height);
	min-height: var(--moedes-paid-download-control-height);
	margin: 0 !important;
	align-items: stretch;
}

body.moedes-forum.moedes-paid-download-post .posts-paybox .price-box,
body.moedes-forum.moedes-paid-download-post .posts-paybox .price-box > div {
	margin: 0;
}

body.moedes-forum.moedes-paid-download-post .posts-paybox .flex.ab.jsb.hh > div:first-child {
	min-height: var(--moedes-paid-download-control-height);
	padding: 0 14px;
	align-items: center;
	border: 1px solid var(--moedes-paid-download-border);
	border-right: 0;
	border-radius: calc(var(--moedes-paid-download-radius) * 0.7) 0 0 calc(var(--moedes-paid-download-radius) * 0.7);
	background: var(--moedes-paid-download-price);
	color: var(--moedes-paid-download-action);
}

body.moedes-forum.moedes-paid-download-post .posts-paybox .price-box,
body.moedes-forum.moedes-paid-download-post .posts-paybox .price-box > div,
body.moedes-forum.moedes-paid-download-post .posts-paybox .price-box b,
body.moedes-forum.moedes-paid-download-post .posts-paybox .price-box .em3x {
	font-size: var(--moedes-paid-download-copy-size);
	line-height: var(--moedes-paid-download-control-height);
}

body.moedes-forum.moedes-paid-download-post .posts-paybox .price-box b,
body.moedes-forum.moedes-paid-download-post .posts-paybox .price-box .em3x {
	display: inline;
	font-weight: 650;
}

body.moedes-forum.moedes-paid-download-post .posts-paybox .pay-price,
body.moedes-forum.moedes-paid-download-post .posts-paybox .pay-price *,
body.moedes-forum.moedes-paid-download-post .posts-paybox .price-box :where(.c-red, b, .em3x, .pay-mark) {
	color: var(--moedes-paid-download-action) !important;
	font-size: var(--moedes-paid-download-copy-size);
	font-weight: 650;
	line-height: var(--moedes-paid-download-control-height);
}

body.moedes-forum.moedes-paid-download-post .posts-paybox .flex.ab.jsb.hh .but {
	display: inline-flex;
	min-height: var(--moedes-paid-download-control-height);
	height: var(--moedes-paid-download-control-height);
	padding: 0 12px;
	align-items: center;
	border: 1px solid var(--moedes-paid-download-action);
	border-left: 0;
	border-radius: 0 calc(var(--moedes-paid-download-radius) * 0.7) calc(var(--moedes-paid-download-radius) * 0.7) 0;
	background: var(--moedes-paid-download-action);
	color: #fff;
	font-size: var(--moedes-paid-download-copy-size);
	font-weight: 600;
	line-height: 1;
}

body.moedes-forum.moedes-paid-download-post .posts-paybox .flex.ab.jsb.hh .but > i,
body.moedes-forum.moedes-paid-download-post .posts-paybox .flex.ab.jsb.hh .but > svg,
body.moedes-forum.moedes-paid-download-post .posts-paybox .flex.ab.jsb.hh .but > icon,
body.moedes-forum.moedes-paid-download-post .posts-paybox .flex.ab.jsb.hh .but > .icon,
body.moedes-forum.moedes-paid-download-post .posts-paybox .flex.ab.jsb.hh .but .mr10 {
	display: none !important;
}

body.moedes-forum.moedes-paid-download-post .posts-paybox .flex.ab.jsb.hh .but:hover {
	background: var(--moedes-paid-download-action-hover);
}

body.moedes-forum .moedes-paid-download {
	display: flex;
	min-height: var(--moedes-paid-download-panel-height);
	margin: 0;
	padding: 10px 14px;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	border: 1px solid var(--moedes-paid-download-border);
	border-radius: var(--moedes-paid-download-radius);
	background: var(--moedes-paid-download-panel);
	color: var(--moedes-paid-download-text);
}

body.moedes-forum .moedes-paid-download-widget {
	width: 100%;
	max-width: 100%;
	margin: 0 0 var(--moedes-forum-space-md, 14px);
	box-sizing: border-box;
}

body.moedes-forum .moedes-paid-download-widget__inner {
	width: 100%;
	max-width: 100%;
}

body.moedes-forum .moedes-paid-download__summary {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 8px;
	overflow: hidden;
}

body.moedes-forum .moedes-paid-download__eyebrow {
	flex: 0 0 auto;
	color: var(--moedes-paid-download-subtle);
	font-size: 12px;
	line-height: 1.2;
}

body.moedes-forum .moedes-paid-download__summary strong {
	min-width: 0;
	overflow: hidden;
	color: inherit;
	font-size: var(--moedes-paid-download-title-size);
	font-weight: 650;
	line-height: 1.3;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.moedes-forum .moedes-paid-download__status {
	min-width: 0;
	overflow: hidden;
	flex: 1 1 auto;
	color: var(--moedes-paid-download-subtle);
	font-size: var(--moedes-paid-download-copy-size);
	line-height: 1.3;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.moedes-forum .moedes-paid-download__trigger {
	display: inline-flex;
	min-height: var(--moedes-paid-download-control-height);
	height: var(--moedes-paid-download-control-height);
	padding: 0 16px;
	align-items: center;
	flex: 0 0 auto;
	border: 1px solid var(--moedes-paid-download-action);
	border-radius: calc(var(--moedes-paid-download-radius) * 0.65);
	background: var(--moedes-paid-download-action);
	color: #fff;
	font-size: var(--moedes-paid-download-copy-size);
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
}

body.moedes-forum .moedes-paid-download__trigger:hover {
	background: var(--moedes-paid-download-action-hover);
}

body.moedes-forum .moedes-paid-download__modal[hidden] {
	display: none !important;
}

body.moedes-forum.moedes-paid-download-modal-open {
	overflow: hidden;
}

body.moedes-forum .moedes-paid-download__modal {
	position: fixed;
	z-index: 100090;
	inset: 0;
	display: grid;
	padding: 20px;
	place-items: center;
}

body.moedes-forum .moedes-paid-download__backdrop {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	background: rgba(15, 23, 42, 0.68);
	cursor: default;
}

body.moedes-forum .moedes-paid-download__dialog {
	position: relative;
	z-index: 1;
	width: min(520px, 100%);
	max-height: min(680px, calc(100vh - 40px));
	overflow: auto;
	padding: 20px;
	border-radius: var(--moedes-paid-download-radius);
	background: var(--moedes-forum-surface, var(--main-bg-color, #fff));
	color: var(--moedes-forum-text, var(--main-color, #243043));
	box-shadow: 0 24px 60px -28px rgba(15, 23, 42, 0.65);
}

body.moedes-forum .moedes-paid-download__dialog-header {
	display: flex;
	margin-bottom: 12px;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

body.moedes-forum .moedes-paid-download__dialog-header .moedes-paid-download__eyebrow {
	color: var(--moedes-forum-muted, var(--muted-2-color, #7a8493));
}

body.moedes-forum .moedes-paid-download__dialog-header h3 {
	margin: 2px 0 0;
	color: inherit;
	font-size: 18px;
	line-height: 1.35;
}

body.moedes-forum .moedes-paid-download__close {
	display: inline-grid;
	width: 30px;
	height: 30px;
	margin: 0;
	padding: 0;
	place-items: center;
	flex: 0 0 30px;
	border: 0;
	border-radius: calc(var(--moedes-paid-download-radius) * 0.65);
	background: var(--moedes-forum-surface-muted, var(--muted-bg-color, #f6f8fb));
	color: var(--moedes-forum-text, var(--main-color, #243043));
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

body.moedes-forum .moedes-paid-download__dialog-status,
body.moedes-forum .moedes-paid-download__dialog-description {
	margin: 0;
	color: var(--moedes-forum-muted, var(--muted-2-color, #7a8493));
	font-size: 13px;
	line-height: 1.65;
}

body.moedes-forum .moedes-paid-download__dialog-description {
	margin-top: 6px;
}

body.moedes-forum .moedes-paid-download__details {
	display: grid;
	margin: 16px 0 0;
	border-top: 1px solid var(--moedes-forum-border, var(--main-border-color, #e6eaf0));
}

body.moedes-forum .moedes-paid-download__details > div {
	display: grid;
	padding: 12px 0;
	grid-template-columns: 74px minmax(0, 1fr);
	gap: 10px;
	border-bottom: 1px solid var(--moedes-forum-border, var(--main-border-color, #e6eaf0));
}

body.moedes-forum .moedes-paid-download__details dt {
	color: var(--moedes-forum-muted, var(--muted-2-color, #7a8493));
	font-size: 13px;
	font-weight: 400;
	line-height: 28px;
}

body.moedes-forum .moedes-paid-download__details dd {
	display: flex;
	min-width: 0;
	margin: 0;
	align-items: center;
	flex-wrap: wrap;
	gap: 7px;
}

body.moedes-forum .moedes-paid-download__details a {
	min-width: 0;
	overflow: hidden;
	flex: 1 1 180px;
	color: var(--moedes-forum-accent, var(--theme-color, #2f6fed));
	font-size: 13px;
	line-height: 28px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.moedes-forum .moedes-paid-download__details a.moedes-paid-download__download-button {
	display: inline-flex;
	min-width: 0;
	min-height: 32px;
	padding: 0 14px;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	overflow: visible;
	border: 1px solid var(--moedes-paid-download-action);
	border-radius: calc(var(--moedes-paid-download-radius) * 0.65);
	background: var(--moedes-paid-download-action);
	color: #fff !important;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	text-overflow: clip;
	white-space: nowrap;
}

body.moedes-forum .moedes-paid-download__details a.moedes-paid-download__download-button:hover,
body.moedes-forum .moedes-paid-download__details a.moedes-paid-download__download-button:focus-visible {
	background: var(--moedes-paid-download-action-hover);
	color: #fff !important;
	text-decoration: none;
}

body.moedes-forum .moedes-paid-download__details code {
	padding: 0;
	background: transparent;
	color: var(--moedes-forum-text, var(--main-color, #243043));
	font-size: 14px;
	font-weight: 650;
	line-height: 28px;
}

body.moedes-forum .moedes-paid-download__copy {
	display: inline-flex;
	min-height: 28px;
	padding: 0 9px;
	align-items: center;
	flex: 0 0 auto;
	border: 1px solid var(--moedes-forum-border, var(--main-border-color, #e6eaf0));
	border-radius: calc(var(--moedes-paid-download-radius) * 0.65);
	background: var(--moedes-forum-surface-muted, var(--muted-bg-color, #f6f8fb));
	color: var(--moedes-forum-text, var(--main-color, #243043));
	font-size: 12px;
	cursor: pointer;
}

body.moedes-forum .moedes-paid-download__trigger:focus-visible,
body.moedes-forum .moedes-paid-download__close:focus-visible,
body.moedes-forum .moedes-paid-download__copy:focus-visible,
body.moedes-forum.moedes-paid-download-post .posts-paybox .but:focus-visible {
	outline: 2px solid var(--moedes-forum-accent, var(--theme-color, #2f6fed));
	outline-offset: 2px;
}

@media (max-width: 600px) {
	body.moedes-forum.moedes-paid-download-post .posts-paybox {
		min-height: 50px;
		padding: 8px 10px;
		grid-template-areas: "title payment";
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 8px;
	}

	body.moedes-forum.moedes-paid-download-post .posts-paybox .flex.ab.jsb.hh {
		justify-content: flex-start;
	}

	body.moedes-forum .moedes-paid-download {
		min-height: 50px;
		padding: 8px 10px;
		gap: 8px;
	}

	body.moedes-forum .moedes-paid-download__status {
		display: none;
	}

	body.moedes-forum .moedes-paid-download__trigger {
		min-height: 34px;
		height: 34px;
		padding: 0 12px;
	}

	body.moedes-forum .moedes-paid-download__details > div {
		grid-template-columns: 1fr;
		gap: 2px;
	}

	body.moedes-forum .moedes-paid-download__details dt {
		line-height: 1.4;
	}
}

@media (max-width: 900px) {
	body.moedes-forum .moedes-steam-content__showcase {
		grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.85fr);
	}
}

@media (max-width: 820px) {
	body.moedes-forum .moedes-steam-content__showcase,
	body.moedes-forum .moedes-steam-content__showcase.is-info-only {
		grid-template-columns: 1fr;
		justify-content: stretch;
	}

	body.moedes-forum .moedes-steam-content__stage {
		aspect-ratio: 16 / 9;
	}

	body.moedes-forum .moedes-steam-content__media {
		border-radius: var(--moedes-steam-radius) var(--moedes-steam-radius) 0 0;
	}

	body.moedes-forum .moedes-steam-content__aside {
		border-top: 1px solid var(--moedes-steam-border);
		border-left: 0;
		border-radius: 0 0 var(--moedes-steam-radius) var(--moedes-steam-radius);
	}

	body.moedes-forum .moedes-steam-content__description {
		-webkit-line-clamp: 6;
	}
}

@media (max-width: 600px) {
	body.moedes-forum .moedes-steam-tags {
		padding: var(--moedes-forum-space-sm, 8px);
	}

	body.moedes-forum .moedes-steam-tags__control {
		align-items: stretch;
		flex-direction: column;
	}

	body.moedes-forum .moedes-steam-tags__control .moedes-steam-tags__fetch {
		width: 100%;
	}

	body.moedes-forum .moedes-steam-tags__insert {
		margin-left: 0;
	}

	body.moedes-forum .moedes-steam-tags__media-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.moedes-forum .moedes-steam-content {
		gap: 14px;
		margin: 14px 0;
	}

	body.moedes-forum .moedes-steam-content__wide {
		margin-bottom: 14px;
	}

	body.moedes-forum .moedes-steam-content__stage {
		aspect-ratio: 16 / 10;
	}

	body.moedes-forum .moedes-steam-content__rail {
		padding: 5px;
	}

	body.moedes-forum .moedes-steam-content__rail-item {
		flex-basis: 88px;
	}

	body.moedes-forum .moedes-steam-content__aside {
		padding: 12px;
	}

	body.moedes-forum .moedes-steam-content__description {
		font-size: 13px;
		-webkit-line-clamp: 8;
	}

	body.moedes-forum .moedes-steam-content__meta > div {
		grid-template-columns: 64px minmax(0, 1fr);
	}

	body.moedes-forum .moedes-steam-content__gallery,
	body.moedes-forum .moedes-steam-content__movie-list,
	body.moedes-forum .moedes-steam-content__thumbs {
		grid-template-columns: 1fr;
	}

	body.moedes-forum .moedes-steam-tags__requirements-grid,
	body.moedes-forum .moedes-steam-content__requirements-grid {
		grid-template-columns: 1fr;
	}

	body.moedes-forum.moedes-paid-download-post .posts-paybox .flex.ab.jsb.hh {
		align-items: center;
		flex-direction: row;
		gap: 0;
	}

	body.moedes-forum.moedes-paid-download-post .posts-paybox .flex.ab.jsb.hh .but {
		width: auto;
		white-space: nowrap;
	}

	body.moedes-forum.moedes-paid-download-post .posts-paybox > .flex > .shrink0,
	body.moedes-forum.moedes-paid-download-post .posts-paybox > .flex > .shrink0 .signin-loader {
		width: auto;
	}

	body.moedes-forum .moedes-paid-download__open,
	body.moedes-forum .moedes-paid-download__code {
		width: 100%;
		justify-content: center;
	}

	body.moedes-forum .moedes-paid-download__actions {
		align-items: stretch;
		flex-direction: column;
	}

	body.moedes-forum .moedes-paid-download__code {
		justify-content: flex-start;
	}

	body.moedes-forum .moedes-paid-download__copy {
		margin-left: auto;
	}
}
