/* Shard Games Fórum — tema escuro (referência: charcoal / painéis #1c1c1c) */
:root {
	--bg: #121212;
	--surface: #1c1c1c;
	--surface-hover: #252525;
	--border: #333333;
	--text: #f5f5f5;
	--text-muted: #a3a3a3;
	--accent: #e8e8e8;
	--radius: 4px;
	--max-w: 1180px;
	--font: "Segoe UI", system-ui, -apple-system, sans-serif;
	--header-accent: #7eb8da;
	--header-accent-dim: rgba(126, 184, 218, 0.35);
	--header-bar-bg: linear-gradient(165deg, rgba(34, 36, 42, 0.98) 0%, rgba(18, 18, 22, 0.99) 45%, rgba(14, 14, 18, 1) 100%);
	--header-border: rgba(255, 255, 255, 0.09);
	--header-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-font-smoothing: antialiased;
}

body {
	margin: 0;
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	font: 14px/1.5 var(--font);
	color: var(--text);
	background: var(--bg);
}

a {
	color: var(--text-muted);
	text-decoration: none;
	transition: color 0.15s ease;
}

a:hover {
	color: var(--text);
}

.forum-wrap {
	flex: 1 1 auto;
	min-height: 0;
	width: 100%;
	max-width: var(--max-w);
	margin: 0 auto;
	padding: 20px 16px 48px;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
}

.forum-main {
	flex: 1 0 auto;
}

/* Section blocks */
.section {
	margin-bottom: 24px;
}

.section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px 14px;
	margin-bottom: 12px;
	padding: 0 2px;
}

.section-title {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--text);
}

.section-head__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 10px 14px;
}

.home-feed-setup {
	max-width: 52em;
	line-height: 1.5;
}

/* Carousel */
.carousel-shell {
	position: relative;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 16px 44px;
}

.carousel-track {
	display: flex;
	gap: 14px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: thin;
	scrollbar-color: var(--border) transparent;
	-ms-overflow-style: auto;
	padding-bottom: 4px;
}

.carousel-track::-webkit-scrollbar {
	height: 6px;
}

.carousel-track::-webkit-scrollbar-thumb {
	background: var(--border);
	border-radius: 3px;
}

.carousel-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 1px solid var(--border);
	background: var(--bg);
	color: var(--text-muted);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
	transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.carousel-btn:hover {
	background: var(--surface-hover);
	color: var(--text);
	border-color: #444;
}

.carousel-btn--prev {
	left: 8px;
}

.carousel-btn--next {
	right: 8px;
}

.feature-card {
	flex: 0 0 min(280px, 75vw);
	scroll-snap-align: start;
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
}

.feature-card__img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	background: #2a2a2a;
}

.feature-card__cap {
	padding: 10px 12px;
	font-size: 12px;
	color: var(--text-muted);
	border-top: 1px solid var(--border);
}

.feature-card__cap strong {
	display: block;
	color: var(--text);
	font-weight: 600;
	margin-bottom: 2px;
	font-size: 13px;
}

/* Topic row list */
.topic-row {
	display: flex;
	gap: 14px;
	position: relative;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 12px 14px;
	align-items: center;
	min-width: 0;
}

.topic-row:hover {
	background: var(--surface-hover);
}

.topic-row__cover {
	position: absolute;
	inset: 0;
	z-index: 0;
	border-radius: inherit;
}

.topic-row__cover:focus {
	outline: none;
}

.topic-row__cover:focus-visible {
	outline: 2px solid var(--header-accent, #7eb8da);
	outline-offset: 2px;
}

.topic-row__body {
	flex: 1;
	min-width: 0;
	position: relative;
	z-index: 1;
	pointer-events: none;
}

.topic-row__title-line {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
}
.topic-row__title-line .topic-row__title {
	margin: 0 0 4px;
}
.topic-lock-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: #a89878;
}
.topic-row__lock-ico {
	margin-top: 1px;
}
.topic-row--locked {
	border-color: rgba(168, 152, 120, 0.42);
}
.topic-pin-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: #d4a853;
}
.topic-row__pin-ico {
	margin-top: 1px;
}
.topic-row--pinned {
	box-shadow: inset 3px 0 0 rgba(212, 168, 83, 0.55);
}

.topic-row__title {
	margin: 0 0 4px;
	font-size: 14px;
	font-weight: 600;
	color: var(--text);
}

.topic-row__meta {
	margin: 0;
	font-size: 12px;
	color: var(--text-muted);
}

.topic-row__meta-link {
	position: relative;
	z-index: 2;
	pointer-events: auto;
	color: var(--header-accent, #7eb8da);
	font-weight: 600;
	text-decoration: none;
}

.topic-row__meta-link:hover {
	color: #cfe8f8;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.topic-row__faces {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
	position: relative;
	z-index: 1;
}
.topic-row__face {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 6px;
	overflow: hidden;
	border: 1px solid #2a2a2a;
	line-height: 0;
	flex-shrink: 0;
}
.topic-row__face--last {
	box-shadow: 0 0 0 1px rgba(196, 165, 116, 0.35);
}
.topic-row__face-img {
	width: 40px;
	height: 40px;
	object-fit: cover;
	display: block;
}
.topic-row__face-letter {
	font-size: 15px;
	font-weight: 800;
	color: #fff;
	line-height: 1;
}

.topic-row__thumb {
	flex-shrink: 0;
	width: 56px;
	height: 56px;
	border-radius: var(--radius);
	object-fit: cover;
	background: #2a2a2a;
	border: 1px solid var(--border);
}

.topic-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* Categories / fórum simples */
.board-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 12px;
}

.board-card {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 16px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	text-decoration: none;
	color: inherit;
}

.board-card:hover {
	background: var(--surface-hover);
}

.board-card__logo-wrap {
	flex-shrink: 0;
	width: 72px;
	height: 72px;
	border-radius: var(--radius);
	background: rgba(0, 0, 0, 0.2);
	border: 1px solid var(--border);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.board-card__logo {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.board-card__body {
	flex: 1;
	min-width: 0;
}

.board-card h3 {
	margin: 0 0 6px;
	font-size: 15px;
	font-weight: 600;
	color: var(--text);
}

.board-card p {
	margin: 0;
	font-size: 12px;
	color: var(--text-muted);
}

/* ——— Site header (bar, pills, mobile menu) ——— */
.site-header {
	position: sticky;
	top: 0;
	z-index: 300;
	margin-bottom: 22px;
}

.site-nav-toggle {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
	opacity: 0;
}

.site-nav-toggle:focus-visible + .site-header__shell {
	outline: 2px solid var(--header-accent);
	outline-offset: 3px;
}

.site-header__shell {
	display: flex;
	align-items: center;
	gap: clamp(12px, 2vw, 28px);
	flex-wrap: wrap;
	padding: 14px 18px;
	background: var(--header-bar-bg);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border: 1px solid var(--header-border);
	border-radius: 16px;
	box-shadow: var(--header-shadow);
	position: relative;
	/* visible so <details> user menu (absolute panel) is not clipped */
	overflow: visible;
}

.site-header__shell::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		105deg,
		transparent 0%,
		var(--header-accent-dim) 18%,
		transparent 42%
	);
	opacity: 0.55;
	pointer-events: none;
}

.site-header__shell > * {
	position: relative;
	z-index: 1;
}

.site-header__cluster {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 14px 20px;
	flex: 1 1 auto;
	flex-wrap: wrap;
	min-width: 0;
}

.site-header__divider {
	width: 1px;
	height: 26px;
	background: linear-gradient(180deg, transparent, var(--border), transparent);
	flex-shrink: 0;
	opacity: 0.9;
}

.site-header__account-wrap {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 14px;
	min-width: 0;
}

.site-header__account-wrap .site-locale {
	flex-shrink: 0;
}

.site-header__end {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
	margin-left: auto;
}

.site-locale {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 4px;
	border-radius: 12px;
	background: rgba(0, 0, 0, 0.22);
	border: 1px solid rgba(255, 255, 255, 0.06);
}

.site-locale__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	min-height: 36px;
	padding: 4px 10px;
	border-radius: 10px;
	border: 1px solid transparent;
	background: transparent;
	font-size: 1.28rem;
	line-height: 1;
	text-decoration: none;
	transition:
		border-color 0.2s ease,
		background 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.15s ease;
	opacity: 0.72;
}

.site-locale__btn:hover {
	opacity: 1;
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.12);
	color: inherit;
	transform: translateY(-1px);
}

.site-locale__btn.is-active {
	opacity: 1;
	background: rgba(126, 184, 218, 0.12);
	border-color: var(--header-accent-dim);
	box-shadow: 0 0 0 1px rgba(126, 184, 218, 0.2);
}

.site-locale__emoji {
	display: block;
	font-style: normal;
	pointer-events: none;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.site-brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: var(--text);
	flex-shrink: 0;
	transition: transform 0.2s ease, filter 0.2s ease;
}

.site-brand:hover {
	color: var(--text);
	filter: brightness(1.06);
	transform: translateY(-1px);
}

.site-brand__mark {
	width: 4px;
	height: 36px;
	border-radius: 4px;
	background: linear-gradient(180deg, var(--header-accent) 0%, rgba(126, 184, 218, 0.25) 100%);
	box-shadow: 0 0 20px var(--header-accent-dim);
	flex-shrink: 0;
}

.site-brand__logo {
	display: block;
	height: 40px;
	width: auto;
	max-width: min(280px, 72vw);
	object-fit: contain;
	flex-shrink: 0;
	filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.site-brand__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	line-height: 1.15;
	min-width: 0;
}

.site-brand__title {
	font-size: 17px;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--text);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
	.site-brand__title {
		background: linear-gradient(180deg, #fff 30%, #c8d4e0 100%);
		-webkit-background-clip: text;
		background-clip: text;
		color: transparent;
	}
}

.site-brand__suffix {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--header-accent);
	opacity: 0.95;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.site-nav--primary {
	padding: 4px;
	border-radius: 14px;
	background: rgba(0, 0, 0, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.05);
	/* overflow visível: submenu «Jogos» fica fora do bloco com scroll (.site-nav__primary-rest) */
	overflow: visible;
}

.site-nav__primary-rest {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
	min-width: 0;
}

.site-nav--account {
	padding: 4px;
	gap: 4px;
}

/* Primary nav: Jogos dropdown */
.site-nav__dropdown {
	position: relative;
	flex-shrink: 0;
}

.site-nav__dropdown > summary {
	list-style: none;
	cursor: pointer;
}

.site-nav__dropdown > summary::-webkit-details-marker {
	display: none;
}

.site-nav__dd-trigger {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 14px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.01em;
	color: var(--text-muted);
	border: 1px solid transparent;
	background: transparent;
	transition:
		color 0.18s ease,
		background 0.18s ease,
		border-color 0.18s ease,
		box-shadow 0.18s ease,
		transform 0.15s ease;
}

.site-nav__dd-trigger:hover,
.site-nav__dropdown[open] .site-nav__dd-trigger {
	color: var(--text);
	background: rgba(255, 255, 255, 0.07);
	border-color: rgba(255, 255, 255, 0.08);
	transform: translateY(-1px);
}

.site-nav__dd-trigger:focus {
	outline: none;
}

.site-nav__dd-trigger:focus-visible {
	outline: 2px solid var(--header-accent);
	outline-offset: 3px;
}

.site-nav__dd-caret {
	display: inline-block;
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid currentColor;
	opacity: 0.75;
	margin-top: 2px;
	transition: transform 0.2s ease;
}

.site-nav__dropdown[open] .site-nav__dd-caret {
	transform: rotate(180deg);
}

.site-nav__dd-panel {
	position: absolute;
	left: 0;
	top: calc(100% + 8px);
	min-width: 260px;
	max-width: min(360px, 92vw);
	max-height: min(70vh, 420px);
	overflow-y: auto;
	padding: 8px;
	border-radius: 12px;
	border: 1px solid var(--header-border);
	background: rgba(28, 28, 28, 0.98);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
	z-index: 320;
}

.site-nav__dd-panel--games {
	padding: 6px;
}

.site-nav__dd-empty {
	margin: 0;
	padding: 12px 14px;
	font-size: 13px;
}

.site-nav__game-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-nav__game-list > li {
	margin: 0;
}

.site-nav__game-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 600;
	color: var(--text-muted);
	text-decoration: none;
	transition:
		color 0.15s ease,
		background 0.15s ease;
}

.site-nav__game-item:hover {
	color: var(--text);
	background: rgba(255, 255, 255, 0.08);
}

.site-nav__game-item--disabled {
	opacity: 0.55;
	cursor: default;
}

.site-nav__game-item-logo {
	width: 40px;
	height: 40px;
	object-fit: contain;
	flex-shrink: 0;
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.25);
}

.site-nav__game-item-name {
	min-width: 0;
	line-height: 1.25;
}

.site-nav__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 14px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.01em;
	color: var(--text-muted);
	text-decoration: none;
	border: 1px solid transparent;
	background: transparent;
	transition:
		color 0.18s ease,
		background 0.18s ease,
		border-color 0.18s ease,
		box-shadow 0.18s ease,
		transform 0.15s ease;
}

.site-nav__link:hover {
	color: var(--text);
	background: rgba(255, 255, 255, 0.07);
	border-color: rgba(255, 255, 255, 0.08);
	transform: translateY(-1px);
}

.site-nav__link--accent {
	color: #c5dff3;
}

.site-nav__link--accent:hover {
	color: #e8f4fc;
	background: rgba(126, 184, 218, 0.12);
	border-color: var(--header-accent-dim);
}

.site-nav__link--cta {
	background: linear-gradient(135deg, rgba(126, 184, 218, 0.22) 0%, rgba(90, 140, 190, 0.18) 100%);
	border-color: rgba(126, 184, 218, 0.35);
	color: #eaf4fb;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.site-nav__link--cta:hover {
	color: #fff;
	background: linear-gradient(135deg, rgba(126, 184, 218, 0.35) 0%, rgba(90, 140, 190, 0.28) 100%);
	border-color: rgba(126, 184, 218, 0.55);
}

.site-nav__link--ghost {
	color: var(--text-muted);
	opacity: 0.9;
}

.site-nav__link--ghost:hover {
	opacity: 1;
	color: #f0b4b4;
	background: rgba(220, 80, 80, 0.1);
	border-color: rgba(220, 80, 80, 0.2);
}

.site-nav-burger {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(0, 0, 0, 0.25);
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-nav-burger:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.16);
}

.site-nav-burger__icon {
	position: relative;
	width: 22px;
	height: 2px;
	background: var(--text);
	border-radius: 2px;
	transition: background 0.25s ease;
}

.site-nav-burger__icon::before,
.site-nav-burger__icon::after {
	content: "";
	position: absolute;
	left: 0;
	width: 22px;
	height: 2px;
	background: var(--text);
	border-radius: 2px;
	transition: transform 0.28s ease, top 0.28s ease, background 0.25s ease;
}

.site-nav-burger__icon::before {
	top: -7px;
}

.site-nav-burger__icon::after {
	top: 7px;
}

.site-nav-toggle:checked + .site-header__shell .site-nav-burger__icon {
	background: transparent;
}

.site-nav-toggle:checked + .site-header__shell .site-nav-burger__icon::before {
	top: 0;
	transform: rotate(45deg);
}

.site-nav-toggle:checked + .site-header__shell .site-nav-burger__icon::after {
	top: 0;
	transform: rotate(-45deg);
}

/* Desktop: brand + menus stay on one row; primary nav scrolls horizontally if needed */
@media (min-width: 901px) {
	.site-header__shell {
		flex-wrap: nowrap;
	}

	.site-header__cluster {
		flex-wrap: nowrap;
		flex: 1 1 auto;
		min-width: 0;
		/* visible so .site-nav__user-panel (absolute) is not clipped */
		overflow: visible;
	}

	.site-nav--primary {
		flex: 1 1 auto;
		min-width: 0;
		max-width: 100%;
		flex-wrap: nowrap;
	}

	/* Scroll horizontal só nos outros itens — o <details> Jogos fica à esquerda sem recortar o painel */
	.site-nav__primary-rest {
		flex: 1 1 auto;
		min-width: 0;
		flex-wrap: nowrap;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: thin;
		scrollbar-color: var(--border) transparent;
		padding-bottom: 2px;
		margin-bottom: -2px;
	}

	.site-nav__primary-rest::-webkit-scrollbar {
		height: 4px;
	}

	.site-nav__primary-rest::-webkit-scrollbar-thumb {
		background: var(--border);
		border-radius: 4px;
	}

	.site-header__account-wrap {
		flex-wrap: nowrap;
		flex-shrink: 0;
	}

	.site-nav,
	.site-nav--primary,
	.site-nav--account {
		flex-wrap: nowrap;
	}

	.site-nav__link,
	.site-nav__dd-trigger {
		white-space: nowrap;
		flex-shrink: 0;
	}
}

@media (max-width: 900px) {
	.site-header__shell {
		flex-wrap: wrap;
		align-items: center;
	}

	.site-header__cluster {
		display: none;
		order: 3;
		flex: 1 1 100%;
		flex-direction: column;
		align-items: stretch;
		padding-top: 16px;
		margin-top: 4px;
		border-top: 1px solid rgba(255, 255, 255, 0.08);
		animation: siteNavSlide 0.28s ease;
	}

	.site-brand {
		order: 1;
	}

	.site-header__end {
		order: 2;
		margin-left: auto;
	}

	.site-header__divider {
		display: none;
	}

	.site-header__account-wrap {
		width: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	.site-header__account-wrap .site-locale {
		align-self: flex-end;
	}

	.site-header__account-wrap .site-nav__user {
		align-self: flex-end;
	}

	.site-nav--primary,
	.site-nav--account {
		justify-content: flex-start;
		width: 100%;
	}

	.site-nav__primary-rest {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		flex-wrap: nowrap;
		overflow: visible;
		padding-bottom: 0;
		margin-bottom: 0;
	}

	.site-nav__link {
		justify-content: flex-start;
		width: 100%;
		border-radius: 12px;
	}

	.site-nav__dropdown {
		width: 100%;
	}

	.site-nav__dd-trigger {
		justify-content: space-between;
		width: 100%;
		border-radius: 12px;
		white-space: normal;
	}

	.site-nav__dd-panel {
		position: static;
		max-width: none;
		width: 100%;
		max-height: none;
		margin-top: 8px;
		box-shadow: none;
		border: 1px solid rgba(255, 255, 255, 0.08);
	}

	.site-nav-toggle:checked + .site-header__shell .site-header__cluster {
		display: flex;
	}

	.site-nav-burger {
		display: inline-flex;
	}

	.site-brand {
		flex: 1;
		min-width: 0;
	}
}

@keyframes siteNavSlide {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.site-brand,
	.site-nav__link,
	.site-locale__btn,
	.site-header__cluster {
		animation: none !important;
		transition: none !important;
	}
}

.site-footer {
	margin-top: 40px;
	padding-top: 16px;
	border-top: 1px solid var(--border);
	font-size: 12px;
	color: var(--text-muted);
	text-align: center;
}

/* Alerts */
.alert {
	padding: 10px 14px;
	border-radius: var(--radius);
	margin-bottom: 16px;
	font-size: 13px;
	border: 1px solid var(--border);
}
.alert--ok {
	background: #1a2e1a;
	color: #c8e6c9;
	border-color: #355a35;
}
.alert--err {
	background: #2e1a1a;
	color: #ffcdd2;
	border-color: #5a3535;
}

.muted {
	color: var(--text-muted);
	font-size: 13px;
}
.muted-link {
	font-size: 13px;
	color: var(--text-muted);
}
.intro-text {
	margin: 0 0 16px;
	max-width: 720px;
}
.page-title {
	margin: 0 0 8px;
	font-size: 22px;
	font-weight: 600;
	color: var(--text);
}

/* Breadcrumb */
.breadcrumb {
	font-size: 13px;
	color: var(--text-muted);
	margin-bottom: 16px;
}
.breadcrumb__sep {
	margin: 0 6px;
	opacity: 0.5;
}
.breadcrumb__trunc {
	max-width: 40%;
	display: inline-block;
	vertical-align: bottom;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Buttons & forms */
.btn {
	display: inline-block;
	padding: 8px 16px;
	border-radius: var(--radius);
	font-size: 13px;
	font-weight: 600;
	border: 1px solid var(--border);
	background: var(--surface);
	color: var(--text);
	cursor: pointer;
	text-align: center;
}
.btn:hover {
	background: var(--surface-hover);
	color: var(--text);
}
.btn--primary {
	background: var(--text);
	color: var(--bg);
	border-color: var(--text);
}
.btn--primary:hover {
	opacity: 0.92;
	color: var(--bg);
}
.btn--ghost {
	background: transparent;
}
.btn--sm {
	padding: 5px 12px;
	font-size: 12px;
	font-weight: 600;
}

.section--narrow {
	max-width: 520px;
}

.form-group {
	margin-bottom: 14px;
}
.form-group label {
	display: block;
	font-size: 12px;
	color: var(--text-muted);
	margin-bottom: 6px;
}
.form-error {
	color: #ffb4b4;
	font-size: 12px;
	margin: 6px 0 0;
}
.input {
	width: 100%;
	max-width: 100%;
	padding: 10px 12px;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	background: var(--bg);
	color: var(--text);
	font: inherit;
}
.input:focus {
	outline: none;
	border-color: #666;
}
.input--textarea {
	min-height: 120px;
	resize: vertical;
}
.input--select {
	cursor: pointer;
}
input[type="file"].input--file,
input[type="file"].input {
	width: auto;
	max-width: 100%;
	min-width: 0;
	padding: 8px 10px;
	cursor: pointer;
	font-size: 13px;
	line-height: normal;
}

.form-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: flex-end;
}
.flex-grow {
	flex: 1 1 200px;
}

.panel {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 16px 18px;
	margin-bottom: 14px;
}

/* Tables */
.table-wrap {
	overflow-x: auto;
	border: 1px solid var(--border);
	border-radius: var(--radius);
}
.data-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}
.data-table th,
.data-table td {
	padding: 10px 12px;
	text-align: left;
	border-bottom: 1px solid var(--border);
	vertical-align: top;
}
.data-table th {
	background: var(--bg);
	color: var(--text-muted);
	font-weight: 600;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.data-table tr:last-child td {
	border-bottom: none;
}
.data-table a {
	color: var(--text);
	font-weight: 600;
}
.table-sub {
	font-size: 11px;
	color: var(--text-muted);
	margin-top: 4px;
}
.nowrap {
	white-space: nowrap;
}

.badge {
	display: inline-block;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 2px 6px;
	border-radius: 2px;
	background: #333;
	color: var(--text-muted);
	margin-right: 6px;
}
.badge--role {
	background: #3d3530;
	color: #e0c4a8;
}

.pagination {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 16px;
	font-size: 13px;
	color: var(--text-muted);
}
.pagination__info {
	flex: 1;
}

/* Início — H1 único para SEO */
.home-intro {
	margin-bottom: 16px;
}
.home-main-heading {
	margin: 0;
	font-size: clamp(1.35rem, 2.5vw, 1.75rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--text);
	line-height: 1.25;
}

/* Category rows */
.category-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.category-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 16px;
	padding: 14px 16px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	color: inherit;
}
.category-row:hover {
	background: var(--surface-hover);
}
.category-row__name {
	margin: 0 0 6px;
	font-size: 16px;
	font-weight: 600;
	color: var(--text);
}
.category-row__desc {
	margin: 0;
	font-size: 12px;
	color: var(--text-muted);
}
.category-row__stats {
	flex-shrink: 0;
	text-align: right;
	font-size: 12px;
	color: var(--text-muted);
	display: flex;
	flex-direction: column;
	gap: 4px;
}

/* Página do jogo — hub estilo lista de fóruns (RageZone / XenForo) */
.game-hub__hero {
	background: linear-gradient(180deg, #1a1a1a 0%, #141414 100%);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	margin-bottom: 20px;
	overflow: hidden;
}
.game-hub__hero-inner {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	padding: 22px 22px 24px;
}
.game-hub__icon {
	flex-shrink: 0;
	width: 56px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--radius);
	background: #222;
	border: 1px solid #333;
	color: var(--text-muted);
}
.game-hub__icon--logo {
	width: 72px;
	height: 72px;
	padding: 8px;
	background: rgba(0, 0, 0, 0.35);
	border-color: #444;
	color: inherit;
}
.game-hub__logo-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}
.game-hub__titles {
	min-width: 0;
}
.game-hub__title {
	margin: 0 0 8px;
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--text);
	line-height: 1.2;
}
.game-hub__tagline {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--text-muted);
	max-width: 720px;
}
.game-hub__links-wrap {
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	max-width: 900px;
}
.game-hub__links-heading {
	margin: 0 0 10px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: #888;
}
.game-hub__links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 12px;
}
.game-hub__links-item {
	margin: 0;
}
.game-hub__link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 12px;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	background: rgba(0, 0, 0, 0.25);
	color: var(--text);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
	max-width: 100%;
}
.game-hub__link:hover {
	background: var(--surface-hover);
	border-color: #555;
	color: #fff;
}
.game-hub__link-icon {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.06);
}
.game-hub__link-icon img {
	width: 22px;
	height: 22px;
	object-fit: cover;
	display: block;
}
.game-hub__link-icon--ph {
	color: var(--text-muted);
}
.game-hub__link-text {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 220px;
}
@media (max-width: 520px) {
	.game-hub__link-text {
		max-width: 160px;
	}
}
.game-hub__board {
	margin-top: 0;
}
.game-hub__board-title {
	margin: 0 0 12px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #888;
}

.game-hub__admin-feed {
	margin-top: 28px;
	padding-top: 8px;
	border-top: 1px solid var(--border);
}
.game-hub__admin-feed > .section-head .game-hub__board-title {
	margin-bottom: 0;
}
.game-hub__admin-feed.category-board .thread-list-wrap {
	margin-top: 10px;
}
.thread-row--no-topic .thread-row__title {
	color: var(--text-muted);
}
.game-hub__admin-feed-empty {
	margin: 0;
	font-size: 14px;
}

.node-table-wrap {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--surface);
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
.node-table {
	width: 100%;
	min-width: 640px;
	border-collapse: collapse;
	font-size: 13px;
}
.node-table thead th {
	padding: 10px 14px;
	text-align: left;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #888;
	background: #161616;
	border-bottom: 1px solid var(--border);
}
.node-table__col-num {
	width: 88px;
	text-align: center !important;
}
.node-table__col-last {
	min-width: 260px;
	width: 36%;
}

.node-row {
	border-bottom: 1px solid var(--border);
	transition: background 0.12s ease;
}
.node-row:last-child {
	border-bottom: none;
}
.node-row:hover {
	background: #222;
}
.node-row__main {
	padding: 0;
	vertical-align: middle;
}
.node-row__link {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 16px;
	color: inherit;
	text-decoration: none;
	min-height: 100%;
}
.node-row__link:hover .node-row__name {
	color: #fff;
}
.node-row__icon {
	flex-shrink: 0;
	margin-top: 2px;
	color: #666;
	transition: color 0.12s ease;
}
.node-row__link:hover .node-row__icon {
	color: #999;
}
.node-row__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	min-width: 0;
}
.node-row__name {
	font-size: 15px;
	font-weight: 700;
	color: #e8e8e8;
	line-height: 1.25;
}
.node-row__desc {
	font-size: 12px;
	line-height: 1.45;
	color: var(--text-muted);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.node-row__kind {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: #6a6a6a;
	margin-top: 2px;
}
.node-row__stat {
	padding: 14px 10px;
	text-align: center;
	vertical-align: middle;
	font-variant-numeric: tabular-nums;
	font-weight: 600;
	color: #b5b5b5;
	border-left: 1px solid #252525;
	background: rgba(0, 0, 0, 0.12);
}
.node-row__last {
	padding: 12px 16px;
	vertical-align: middle;
	border-left: 1px solid #252525;
	background: rgba(0, 0, 0, 0.08);
	min-width: 0;
}
.node-row__last-inner {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	min-width: 0;
}
.node-row__last-faces {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
}
.node-row__mini-av {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 6px;
	overflow: hidden;
	flex-shrink: 0;
	text-decoration: none;
	color: #fff;
	font-weight: 800;
	font-size: 14px;
	border: 1px solid #2a2a2a;
	line-height: 0;
	transition: border-color 0.12s ease, transform 0.12s ease;
}
.node-row__mini-av:hover {
	border-color: #555;
	transform: translateY(-1px);
}
.node-row__mini-av-img {
	width: 36px;
	height: 36px;
	object-fit: cover;
	display: block;
}
.node-row__mini-av-letter {
	line-height: 1;
}
.node-row__mini-av--last {
	box-shadow: 0 0 0 1px rgba(196, 165, 116, 0.35);
}
.node-row__last-copy {
	min-width: 0;
	flex: 1;
}
.node-row__last-time {
	font-variant-numeric: tabular-nums;
}
.node-row__last-title {
	display: block;
	font-weight: 600;
	color: #d0d0d0;
	line-height: 1.35;
	margin-bottom: 4px;
	text-decoration: none;
}
.node-row__last-title:hover {
	color: #fff;
}
.node-row__last-meta {
	font-size: 11px;
	line-height: 1.4;
}
.node-row__last-user {
	color: #8ab4e8;
	text-decoration: none;
}
.node-row__last-user:hover {
	color: #b8d4ff;
}
.node-row__last-sep {
	opacity: 0.6;
}
.node-row__empty {
	font-size: 13px;
}

/* Página da categoria — lista de tópicos (referência: XenForo / RaGEZONE) */
.category-hub__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--border);
}
.category-hub__title {
	margin: 0 0 8px;
	font-size: 26px;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--text);
	line-height: 1.2;
}
.category-hub__desc {
	margin: 0;
	max-width: 720px;
	font-size: 14px;
	line-height: 1.5;
}
.category-hub__actions {
	flex-shrink: 0;
}
.category-board__empty {
	margin: 0;
	padding: 24px 0;
}

.thread-list-wrap {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--surface);
}
.thread-list__head {
	display: none;
}
.thread-list__head-pad {
	/* alinha com coluna do avatar */
}
.thread-list__head-main {
	min-width: 0;
}
.thread-list__head-stats {
	text-align: right;
	padding-right: 4px;
}
.thread-list__head-last {
	text-align: right;
	padding-right: 44px;
}

.thread-list {
	display: flex;
	flex-direction: column;
}

.thread-row {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	gap: 12px 16px;
	align-items: start;
	padding: 14px 16px;
	border-bottom: 1px solid var(--border);
	transition: background 0.12s ease;
}
.thread-row:last-child {
	border-bottom: none;
}
.thread-row:hover {
	background: var(--surface-hover);
}
.thread-row--pinned {
	box-shadow: inset 3px 0 0 #c4a574;
}
.thread-row--locked .thread-row__title {
	opacity: 0.92;
}

.thread-row__avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 6px;
	overflow: hidden;
	flex-shrink: 0;
	text-decoration: none;
	color: #fff;
	font-weight: 800;
	font-size: 18px;
	border: 1px solid #2a2a2a;
	line-height: 0;
	transition: border-color 0.12s ease, transform 0.12s ease;
}
.thread-row__avatar:hover {
	border-color: #444;
	transform: translateY(-1px);
}
.thread-row__avatar-img {
	width: 48px;
	height: 48px;
	object-fit: cover;
	display: block;
}
.thread-row__avatar-letter {
	line-height: 1;
}
.thread-row__avatar--tone-0 {
	background: #1b4332;
}
.thread-row__avatar--tone-1 {
	background: #1d3557;
}
.thread-row__avatar--tone-2 {
	background: #4a1942;
}
.thread-row__avatar--tone-3 {
	background: #5c4d3c;
}
.thread-row__avatar--tone-4 {
	background: #264653;
}
.thread-row__avatar--tone-5 {
	background: #3d2c4d;
}
.thread-row__avatar--tone-6 {
	background: #5c4033;
}
.thread-row__avatar--tone-7 {
	background: #2a4a3c;
}

.thread-row__main {
	min-width: 0;
	position: relative;
}
.thread-row__main-cover {
	position: absolute;
	inset: 0;
	z-index: 0;
	border-radius: 2px;
}
.thread-row__main-cover:focus {
	outline: none;
}
.thread-row__main-cover:focus-visible {
	outline: 2px solid var(--header-accent, #7eb8da);
	outline-offset: 2px;
}
.thread-row__main-inner {
	position: relative;
	z-index: 1;
	pointer-events: none;
}

.thread-row__title-line {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
	margin-bottom: 4px;
}
.thread-row__icon--lock {
	display: inline-flex;
	color: #a89878;
	flex-shrink: 0;
}
.thread-row__icon--pin {
	display: inline-flex;
	color: #d4a853;
	flex-shrink: 0;
}
.thread-row__badge {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 2px 7px;
	border-radius: 3px;
	background: #3d3530;
	color: #e0c4a8;
	flex-shrink: 0;
}
.thread-row__badge--pin {
	font-size: 14px;
	line-height: 1;
	font-weight: normal;
	text-transform: none;
	letter-spacing: 0;
	padding: 1px 5px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.thread-row__title {
	font-size: 15px;
	font-weight: 700;
	color: #f0f0f0;
	line-height: 1.35;
	word-break: break-word;
}
.thread-row:hover .thread-row__main-inner .thread-row__title {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.thread-row__starter {
	font-size: 12px;
	line-height: 1.45;
}
.thread-row__starter-name {
	color: var(--text-muted);
	text-decoration: none;
	pointer-events: auto;
	position: relative;
	z-index: 2;
}
.thread-row__starter-name:hover {
	color: #8ab4e8;
}

.thread-row__mobile-meta {
	margin-top: 8px;
	font-size: 12px;
	line-height: 1.45;
}
.thread-row__mobile-sep {
	opacity: 0.5;
}

.thread-row__stats {
	display: none;
	font-size: 12px;
	line-height: 1.5;
	text-align: right;
	color: var(--text-muted);
	font-variant-numeric: tabular-nums;
}
.thread-row__stat-line + .thread-row__stat-line {
	margin-top: 4px;
}
.thread-row__stat-lbl {
	display: block;
	font-size: 11px;
	color: #888;
}
.thread-row__stat-val {
	font-weight: 700;
	color: #c8c8c8;
}

.thread-row__last {
	display: none;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	min-width: 0;
	text-align: right;
	font-size: 12px;
}
.thread-row__last-copy {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
	min-width: 0;
}
.thread-row__last-date {
	color: var(--text-muted);
	font-size: 12px;
}
.thread-row__last-user {
	color: #8ab4e8;
	text-decoration: none;
	font-weight: 600;
	max-width: 140px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.thread-row__last-user:hover {
	color: #b8d4ff;
}
.thread-row__last-avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 6px;
	overflow: hidden;
	flex-shrink: 0;
	border: 1px solid #2a2a2a;
	text-decoration: none;
	color: #fff;
	font-weight: 800;
	font-size: 14px;
	line-height: 0;
}
.thread-row__last-avatar:hover {
	border-color: #555;
}
.thread-row__last-avatar-img {
	width: 36px;
	height: 36px;
	object-fit: cover;
	display: block;
}
.thread-row__last-avatar-letter {
	line-height: 1;
}

@media (min-width: 880px) {
	.thread-list__head {
		display: grid;
		grid-template-columns: 48px minmax(0, 1fr) 108px 200px;
		gap: 16px;
		align-items: center;
		padding: 10px 16px;
		font-size: 11px;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: 0.06em;
		color: #888;
		background: #161616;
		border-bottom: 1px solid var(--border);
	}

	.thread-row {
		grid-template-columns: 48px minmax(0, 1fr) 108px 200px;
		align-items: stretch;
	}

	.thread-row__start {
		display: flex;
		align-items: center;
	}

	.thread-row__main {
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding: 4px 0;
	}

	.thread-row__mobile-meta {
		display: none;
	}

	.thread-row__stats {
		display: flex;
		flex-direction: column;
		justify-content: center;
		border-left: 1px solid #252525;
		padding-left: 16px;
		margin-left: 0;
	}

	.thread-row__last {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		gap: 12px;
		padding: 12px 16px;
		border-left: 1px solid #252525;
		background: rgba(0, 0, 0, 0.08);
	}
}

/* Topic / posts (layout estilo fórum clássico: user à esquerda, mensagem à direita) */
.topic-head .section-head {
	align-items: flex-start;
	flex-direction: column;
	gap: 4px;
}
.topic-page-title {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 10px 14px;
}
.topic-page-title__lock {
	flex-shrink: 0;
	margin-top: 5px;
}
.topic-page-title__pin {
	flex-shrink: 0;
	margin-top: 5px;
	color: #d4a853;
}
.topic-page-title__text {
	flex: 1 1 auto;
	min-width: 0;
	line-height: 1.25;
}
.topic-head-actions {
	margin-top: 10px;
	display: flex;
	justify-content: flex-end;
	width: 100%;
}
.post-bar__report {
	font-size: 12px;
	font-weight: 600;
	color: #d4a853;
	white-space: nowrap;
	border: 1px solid rgba(212, 168, 83, 0.35);
	padding: 4px 8px;
	border-radius: 6px;
	background: rgba(212, 168, 83, 0.08);
}
.post-bar__report:hover {
	color: #f0d878;
	border-color: rgba(240, 216, 120, 0.5);
	background: rgba(212, 168, 83, 0.14);
}
.report-form-section .report-form__help {
	font-size: 14px;
	line-height: 1.5;
	color: var(--text-muted);
	margin-bottom: 18px;
	max-width: 720px;
}
.report-form__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 8px;
}
.reports-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.reports-list__item {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 14px 16px;
}
.reports-list__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin-bottom: 8px;
	font-size: 12px;
}
.reports-list__badge {
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: 0.06em;
	font-size: 10px;
	padding: 3px 8px;
	border-radius: 4px;
	border: 1px solid var(--border);
	background: #1a1a1a;
	color: #b0b0b0;
}
.reports-list__badge--topic {
	border-color: #4a6a9a;
	color: #9ec5ff;
}
.reports-list__badge--post {
	border-color: #5a6a4a;
	color: #c8e6a0;
}
.reports-list__badge--user {
	border-color: #7a5a6a;
	color: #f0b8c8;
}
.reports-list__status {
	font-weight: 600;
	color: var(--text-muted);
}
.reports-list__who {
	font-size: 13px;
	margin-bottom: 10px;
	line-height: 1.45;
}
.reports-list__who a {
	color: #8ab4e8;
}
.reports-list__note {
	font-size: 14px;
	line-height: 1.55;
	color: var(--text);
	padding: 10px 12px;
	background: #141414;
	border-radius: 6px;
	border: 1px solid #2a2a2a;
}
.reports-list__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}
.reports-list__actions form {
	display: inline;
}
.moderate-reports-section .muted a.is-active {
	color: var(--text);
	font-weight: 700;
	text-decoration: underline;
}
.topic-star-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--border);
	font-size: 13px;
}
.topic-star__badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(232, 197, 71, 0.12);
	border: 1px solid rgba(232, 197, 71, 0.35);
	color: #f0d878;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}
.topic-star__icon {
	font-size: 14px;
	line-height: 1;
}
.topic-star__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	font-size: 12px;
	font-weight: 600;
	border-radius: 6px;
	border: 1px solid var(--border);
	background: #1f1f1f;
	color: var(--text-muted);
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.topic-star__btn:hover {
	background: #2a2a2a;
	color: var(--text);
	border-color: #555;
}
.topic-star__btn--on {
	border-color: rgba(232, 197, 71, 0.55);
	color: #f0d878;
	background: rgba(232, 197, 71, 0.1);
}
.topic-star__hint {
	font-size: 12px;
}
.topic-star__hint a {
	color: #8ab4e8;
}
.topic-star__hint a:hover {
	color: #b8d4ff;
}
.posts--thread {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin-bottom: 28px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--surface);
}
.post-block {
	display: grid;
	grid-template-columns: 220px 1fr;
	min-height: 120px;
	border-bottom: 1px solid var(--border);
	scroll-margin-top: 96px;
}
.post-reply-reference {
	margin: 0 0 12px;
	padding: 8px 12px;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(0, 0, 0, 0.22);
	border-left: 3px solid var(--header-accent-dim, rgba(126, 184, 218, 0.55));
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
}
.post-reply-reference__link {
	color: var(--header-accent, #7eb8da);
	text-decoration: none;
	transition: color 0.15s ease, opacity 0.15s ease;
}
.post-reply-reference__link:hover {
	color: #cfe8f8;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.post-block:last-child {
	border-bottom: none;
}
.post-block--pinned .post-block__content {
	box-shadow: inset 3px 0 0 0 #c4a574;
}
.post-block__user {
	background: #161616;
	border-right: 1px solid var(--border);
	padding: 18px 16px 20px;
	text-align: center;
}
.post-block__avatar-link {
	display: inline-block;
	margin-bottom: 12px;
	border-radius: 4px;
	overflow: hidden;
	border: 1px solid #2a2a2a;
	line-height: 0;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.post-block__avatar-link:hover {
	border-color: #444;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.post-block__avatar {
	display: block;
	width: 132px;
	height: 132px;
	object-fit: cover;
	background: #222;
}
.post-block__avatar--sm {
	width: 72px;
	height: 72px;
}
.post-block__avatar--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 132px;
	height: 132px;
	margin: 0 auto;
	background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
	border: 1px solid #333;
	border-radius: 4px;
}
.post-block__avatar--empty.post-block__avatar--sm {
	width: 72px;
	height: 72px;
}
.post-block__avatar-letter {
	font-size: 48px;
	font-weight: 700;
	color: #555;
	line-height: 1;
}
.post-block__avatar--sm .post-block__avatar-letter {
	font-size: 28px;
}
.post-block__identity {
	margin-bottom: 14px;
}
.post-block__name {
	display: block;
	font-size: 15px;
	font-weight: 700;
	color: var(--text);
	line-height: 1.3;
}
.post-block__name:hover {
	color: #fff;
}
.post-block__username {
	font-size: 12px;
	color: var(--text-muted);
	margin-top: 2px;
}
.post-block__title-rank {
	margin-top: 8px;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #8a8a8a;
}
.post-block__stats {
	margin: 0;
	padding: 12px 0 0;
	border-top: 1px solid #2a2a2a;
	text-align: left;
}
.post-block__stat {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 8px;
	padding: 5px 0;
	font-size: 12px;
	border-bottom: 1px solid #222;
}
.post-block__stat:last-child {
	border-bottom: none;
}
.post-block__stat dt {
	margin: 0;
	color: #777;
	font-weight: 500;
}
.post-block__stat dd {
	margin: 0;
	color: var(--text-muted);
	font-weight: 600;
	text-align: right;
}
.post-block__stat--emoji dd.post-block__emoji-stats {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 12px 14px;
	flex: 1;
	text-align: right;
}
.post-block__emoji-item {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--text-muted);
}
.post-block__emoji-icon {
	font-size: 15px;
	line-height: 1;
}
.post-block__emoji-num {
	font-weight: 700;
	color: var(--text);
	font-variant-numeric: tabular-nums;
}
.post-block__content {
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 100%;
	background: var(--surface);
}
.post-block__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	padding: 10px 18px;
	background: #141414;
	border-bottom: 1px solid var(--border);
	font-size: 12px;
	color: var(--text-muted);
}
.post-block__bar-date {
	flex-shrink: 0;
	min-width: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
}
.post-pinned-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 2px 6px;
	font-size: 15px;
	line-height: 1;
	border-radius: 4px;
	background: rgba(196, 165, 116, 0.2);
	border: 1px solid rgba(196, 165, 116, 0.45);
}
.topic-pinned-ico {
	font-size: 1em;
	line-height: 1;
	vertical-align: middle;
}
.post-block__bar-date time {
	color: #b0b0b0;
}
.post-block__bar-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 8px 12px;
	margin-left: auto;
	text-align: right;
}
.post-block__bar-actions form {
	display: inline;
	margin: 0;
}
/* Uma só pill: ícone + total; .react-pill--on = o utilizador já reagiu */
.react-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 11px;
	min-height: 28px;
	border-radius: 999px;
	border: 1px solid var(--border);
	background: #1c1c1c;
	font-size: 12px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	line-height: 1.2;
	color: var(--text-muted);
	text-decoration: none;
	box-sizing: border-box;
	vertical-align: middle;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
button.react-pill {
	cursor: pointer;
	font: inherit;
	font-family: inherit;
	-webkit-appearance: none;
	appearance: none;
}
a.react-pill:hover {
	color: var(--text);
	border-color: #555;
	background: #252525;
}
button.react-pill:hover {
	color: var(--text);
	border-color: #555;
	background: #252525;
}
.react-pill__ico {
	font-size: 14px;
	line-height: 1;
}
.react-pill--thumb .react-pill__ico {
	font-size: 15px;
}
.react-pill--star {
	border-color: rgba(232, 197, 71, 0.35);
	color: #d4c090;
	background: rgba(232, 197, 71, 0.08);
}
.react-pill--star:hover {
	border-color: rgba(232, 197, 71, 0.5);
	color: #f0d878;
}
.react-pill--star.react-pill--on {
	border-color: rgba(232, 197, 71, 0.65);
	color: #f0d878;
	background: rgba(232, 197, 71, 0.16);
}
.react-pill--star.react-pill--on .react-pill__ico {
	color: #f0d878;
}
.react-pill--thumb.react-pill--on {
	border-color: rgba(88, 144, 255, 0.5);
	color: #9ec5ff;
	background: rgba(88, 144, 255, 0.12);
}
.react-pill--readonly {
	cursor: default;
	opacity: 0.92;
}
.react-pill--star.react-pill--readonly:hover {
	border-color: rgba(232, 197, 71, 0.35);
	color: #d4c090;
	background: rgba(232, 197, 71, 0.08);
}
.react-pill--thumb.react-pill--readonly:hover {
	border-color: var(--border);
	color: var(--text-muted);
	background: #1c1c1c;
}
button.react-pill--readonly {
	cursor: default;
}
.post-bar__reply,
.post-bar__edit {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	font-size: 12px;
	font-weight: 600;
	border-radius: 6px;
	border: 1px solid var(--border);
	background: #1e1e1e;
	color: var(--text-muted);
	white-space: nowrap;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.post-bar__reply:hover,
.post-bar__edit:hover {
	background: #2a2a2a;
	border-color: #555;
	color: var(--text);
}
.post-edited-hint {
	font-size: 12px;
	font-weight: 500;
	color: var(--text-muted);
}
.post-bar__hint {
	font-size: 11px;
	cursor: default;
	user-select: none;
}
.post-bar__icon-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 28px;
	font-size: 14px;
	line-height: 1;
	border-radius: 6px;
	border: 1px solid var(--border);
	background: #1a1a1a;
	opacity: 0.85;
}
.post-bar__icon-link:hover {
	opacity: 1;
	border-color: #555;
}
.post-block__bar-num {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	flex-shrink: 0;
}
.post-share {
	position: relative;
	flex-shrink: 0;
}
.post-share__toggle {
	cursor: pointer;
	color: var(--text-muted);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	line-height: 0;
	-webkit-appearance: none;
	appearance: none;
}
.post-share__toggle:hover {
	color: var(--text);
}
.post-share__ico {
	display: block;
}
.post-share--open .post-share__toggle {
	border-color: var(--header-accent-dim, rgba(126, 184, 218, 0.45));
	color: var(--header-accent, #7eb8da);
}
.post-share__panel {
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	width: min(360px, calc(100vw - 32px));
	padding: 0;
	margin: 0;
	border-radius: 12px;
	border: 1px solid var(--border);
	background: rgba(22, 22, 22, 0.98);
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
	z-index: 450;
	text-align: left;
	font-weight: 400;
	color: var(--text);
}
.post-share__head {
	padding: 10px 14px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--text-muted);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.post-share__row {
	padding: 12px 14px;
}
.post-share__row--sep {
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.post-share__label {
	display: block;
	margin-bottom: 8px;
	font-size: 12px;
	font-weight: 600;
	color: var(--text-muted);
}
.post-share__inputGroup {
	display: flex;
	align-items: stretch;
	gap: 0;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid var(--border);
	background: #0f0f0f;
}
.post-share__copy {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	padding: 0;
	border: none;
	border-right: 1px solid var(--border);
	background: #1a1a1a;
	color: var(--text-muted);
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}
.post-share__copy:hover {
	background: #252525;
	color: var(--header-accent, #7eb8da);
}
.post-share__input {
	flex: 1;
	min-width: 0;
	margin: 0;
	border: none;
	border-radius: 0;
	font-size: 11px;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	padding: 8px 10px;
	background: #0c0c0c;
	color: #c8c8c8;
}
.post-share__input:focus {
	outline: none;
	box-shadow: inset 0 0 0 1px var(--header-accent-dim, rgba(126, 184, 218, 0.35));
}
.post-share__live.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.reply-box--thread#topic-reply,
p#topic-reply {
	scroll-margin-top: 16px;
}
.post-permalink {
	color: #7eb8ff;
	font-variant-numeric: tabular-nums;
}
.post-permalink:hover {
	color: #a8d0ff;
}

.reactions-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	align-self: stretch;
	gap: 8px 12px;
	padding: 10px 20px 16px;
	margin: 0;
	margin-top: auto;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	font-size: 13px;
	line-height: 1.45;
	color: var(--text-muted);
}
.reactions-bar__summary {
	list-style: none;
	margin: 0;
	padding: 0;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}
.reactions-bar__reaction {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 17px;
	line-height: 1;
	filter: grayscale(0.1);
}
.reactions-bar__link {
	background: none;
	border: none;
	padding: 0;
	margin: 0;
	font: inherit;
	font-size: 13px;
	color: #8ab4e8;
	cursor: pointer;
	text-align: left;
	text-decoration: underline;
	text-underline-offset: 3px;
	max-width: 100%;
}
.reactions-bar__link:hover {
	color: #b8d4ff;
}

.reactions-modal[hidden] {
	display: none !important;
}
.reactions-modal:not([hidden]) {
	position: fixed;
	inset: 0;
	z-index: 480;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
}
.reactions-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.62);
	cursor: pointer;
}
.reactions-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(400px, 100%);
	max-height: min(72vh, 520px);
	display: flex;
	flex-direction: column;
	border-radius: 12px;
	border: 1px solid var(--border);
	background: rgba(22, 22, 22, 0.98);
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
	overflow: hidden;
}
.reactions-modal__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	flex-shrink: 0;
}
.reactions-modal__title {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	color: var(--text);
	line-height: 1.3;
}
.reactions-modal__close {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin: 0;
	padding: 0;
	border: none;
	border-radius: 8px;
	background: transparent;
	color: var(--text-muted);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}
.reactions-modal__close:hover {
	background: rgba(255, 255, 255, 0.06);
	color: var(--text);
}
.reactions-modal__loading,
.reactions-modal__error {
	margin: 0;
	padding: 16px 14px;
	font-size: 13px;
}
.reactions-modal__list {
	list-style: none;
	margin: 0;
	padding: 8px 0 12px;
	overflow-y: auto;
	flex: 1;
	min-height: 0;
}
.reactions-modal__list li {
	margin: 0;
	padding: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.reactions-modal__list li:last-child {
	border-bottom: none;
}
.reactions-modal__list a {
	display: block;
	padding: 10px 14px;
	color: #8ab4e8;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.12s ease, color 0.12s ease;
}
.reactions-modal__list a:hover {
	background: rgba(255, 255, 255, 0.04);
	color: #b8d4ff;
}

.post-block__message {
	flex: 1 1 auto;
	padding: 18px 20px 22px;
	min-width: 0;
	min-height: 0;
}
.post-block__content:has(.reactions-bar) .post-block__message {
	flex: 0 1 auto;
}
.post-react {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid var(--border);
	font-size: 13px;
}
.post-react__count {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	color: #c4c4c4;
	font-variant-numeric: tabular-nums;
}
.post-react__thumb {
	font-size: 16px;
	line-height: 1;
	filter: grayscale(0.15);
}
.post-react__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 11px;
	font-size: 12px;
	font-weight: 600;
	border-radius: 6px;
	border: 1px solid var(--border);
	background: #1a1a1a;
	color: var(--text-muted);
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.post-react__btn--thumb .post-react__btn-ico {
	font-size: 14px;
	line-height: 1;
}
.post-react__btn:hover {
	background: #242424;
	color: var(--text);
	border-color: #555;
}
.post-react__btn--on {
	border-color: rgba(88, 144, 255, 0.45);
	color: #9ec5ff;
	background: rgba(88, 144, 255, 0.1);
}
.post-react__hint {
	font-size: 12px;
}
.post-react__hint a {
	color: #8ab4e8;
}
.post-react__hint a:hover {
	color: #b8d4ff;
}
.post-body {
	font-size: 14px;
	line-height: 1.65;
	word-break: break-word;
	color: #eaeaea;
}
.post-body--rich p {
	margin: 0 0 0.85em;
}
.post-body--rich p:last-child {
	margin-bottom: 0;
}
.post-body--rich ul,
.post-body--rich ol {
	margin: 0 0 0.85em 1.25em;
	padding: 0;
}
.post-body--rich li {
	margin: 0.25em 0;
}
.post-body--rich a {
	color: #8ab4e8;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.post-body--rich a:hover {
	color: #b8d4ff;
}
/* Link para mensagem neste fórum (URL colada / inserida com #post-…) */
.post-body--rich a.post-body__ref {
	display: inline-flex;
	align-items: center;
	gap: 8px 10px;
	max-width: 100%;
	margin: 0.4em 0;
	padding: 8px 14px;
	border-radius: 10px;
	border: 1px solid rgba(126, 184, 218, 0.32);
	background: rgba(0, 0, 0, 0.25);
	color: var(--header-accent, #7eb8da);
	font-weight: 600;
	font-size: 0.96em;
	line-height: 1.35;
	text-decoration: none;
	text-underline-offset: 0;
	border-left: 3px solid var(--header-accent-dim, rgba(126, 184, 218, 0.55));
	box-sizing: border-box;
	vertical-align: middle;
	word-break: break-word;
	transition:
		background 0.12s ease,
		border-color 0.12s ease,
		color 0.12s ease;
}
.post-body--rich a.post-body__ref:hover {
	color: #cfe8f8;
	border-color: rgba(126, 184, 218, 0.48);
	background: rgba(126, 184, 218, 0.07);
}
.post-body--rich a.post-body__ref::before {
	content: '';
	flex-shrink: 0;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--header-accent-dim, rgba(126, 184, 218, 0.85));
	box-shadow: 0 0 0 2px rgba(126, 184, 218, 0.2);
}
.post-body--rich blockquote {
	margin: 0 0 0.85em;
	padding: 10px 14px;
	border-left: 3px solid #444;
	background: rgba(0, 0, 0, 0.25);
	color: #c8c8c8;
}
.post-body--rich img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0.5em 0;
	border-radius: var(--radius);
}
.post-body--rich img.forum-emoji {
	display: inline;
	max-height: 1.75em;
	width: auto;
	vertical-align: -0.25em;
	margin: 0 0.06em;
	border-radius: 0;
}
.post-body .forum-youtube-wrap {
	position: relative;
	max-width: 100%;
	margin: 0.75em 0;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	background: #0a0a0a;
	border-radius: var(--radius);
}
.post-body .forum-youtube-wrap iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.post-body--rich code {
	font-family: Consolas, "Segoe UI Mono", monospace;
	font-size: 0.92em;
	padding: 2px 6px;
	border-radius: 3px;
	background: #252525;
	border: 1px solid #333;
}
.post-body--rich pre {
	margin: 0 0 0.85em;
	padding: 12px 14px;
	overflow-x: auto;
	font-family: Consolas, "Segoe UI Mono", monospace;
	font-size: 13px;
	line-height: 1.45;
	background: #141414;
	border: 1px solid var(--border);
	border-radius: var(--radius);
}
.post-body--rich pre code {
	padding: 0;
	border: none;
	background: transparent;
}
.post-body--rich h3 {
	margin: 1em 0 0.5em;
	font-size: 1.05em;
	font-weight: 700;
	color: var(--text);
}
.post-body--rich h3:first-child {
	margin-top: 0;
}
.post-body--rich u {
	text-decoration: underline;
}
.post-body--rich s,
.post-body--rich strike {
	text-decoration: line-through;
	color: #aaa;
}
.profile-edit-preview {
	margin-bottom: 10px;
}
.profile-edit-preview--banner {
	max-width: 100%;
	overflow: hidden;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	background: #141414;
	line-height: 0;
}
.profile-edit-preview-hint {
	margin: 0 0 10px;
	font-size: 13px;
}
.profile-edit-check {
	display: block;
	margin-top: 8px;
	font-size: 13px;
	color: var(--text-muted);
	cursor: pointer;
}
.profile-banner-preview {
	display: block;
	width: 100%;
	max-height: 140px;
	height: auto;
	object-fit: cover;
	object-position: center;
}
.reply-box--thread {
	margin-top: 12px;
}
.reply-compose {
	display: grid;
	grid-template-columns: 100px 1fr;
	gap: 20px;
	align-items: start;
	margin-top: 12px;
	padding: 18px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
}
.reply-compose__user {
	text-align: center;
	padding-top: 4px;
}
.reply-compose__hint {
	font-size: 11px;
	margin-top: 8px;
	line-height: 1.3;
}
.reply-compose__form {
	min-width: 0;
}
.input--compose {
	min-height: 200px;
	font-size: 14px;
	line-height: 1.5;
}
@media (max-width: 720px) {
	.post-block {
		grid-template-columns: 1fr;
	}
	.post-block__user {
		border-right: none;
		border-bottom: 1px solid var(--border);
		display: grid;
		grid-template-columns: auto 1fr;
		grid-template-rows: auto auto;
		column-gap: 14px;
		row-gap: 4px;
		text-align: left;
		align-items: start;
		padding: 14px 16px;
	}
	.post-block__avatar-link {
		grid-row: 1 / span 2;
		margin-bottom: 0;
	}
	.post-block__avatar,
	.post-block__avatar--empty {
		width: 72px;
		height: 72px;
	}
	.post-block__avatar--empty {
		margin: 0;
	}
	.post-block__avatar-letter {
		font-size: 28px;
	}
	.post-block__identity {
		margin-bottom: 0;
	}
	.post-block__stats {
		grid-column: 1 / -1;
		padding-top: 10px;
		margin-top: 8px;
	}
	.reply-compose {
		grid-template-columns: 1fr;
	}
	.reply-compose__user {
		display: flex;
		align-items: center;
		gap: 12px;
		text-align: left;
	}
	.reply-compose__hint {
		margin-top: 0;
	}
}

/* Perfil de membro (inspirado em layouts tipo XenForo / fóruns gaming) */
.section--member {
	max-width: 820px;
	margin-left: auto;
	margin-right: auto;
}

.member-profile {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}

.member-profile__banner {
	height: 96px;
	background: linear-gradient(118deg, var(--mp-a, #2a4a62) 0%, var(--mp-b, #1a2832) 55%, #121a22 100%);
	position: relative;
	overflow: hidden;
}
.member-profile__banner--photo {
	height: min(42vw, 168px);
	min-height: 120px;
}
.member-profile__banner-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	pointer-events: none;
}
.member-profile__banner--letter {
	min-height: 120px;
}
.member-profile__banner-letter {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	font-size: clamp(40px, 14vw, 104px);
	font-weight: 800;
	letter-spacing: -0.04em;
	color: rgba(255, 255, 255, 0.2);
	line-height: 1;
	pointer-events: none;
	user-select: none;
}
.member-profile__banner::after {
	content: "";
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(
		-12deg,
		transparent,
		transparent 14px,
		rgba(255, 255, 255, 0.02) 14px,
		rgba(255, 255, 255, 0.02) 28px
	);
	pointer-events: none;
}
.member-profile__banner--photo::after {
	background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, transparent 42%),
		repeating-linear-gradient(
			-12deg,
			transparent,
			transparent 14px,
			rgba(255, 255, 255, 0.03) 14px,
			rgba(255, 255, 255, 0.03) 28px
		);
}
.member-profile__banner--tone-0 { --mp-a: #355a72; --mp-b: #1e3040; }
.member-profile__banner--tone-1 { --mp-a: #4a3560; --mp-b: #241a32; }
.member-profile__banner--tone-2 { --mp-a: #355248; --mp-b: #1a2824; }
.member-profile__banner--tone-3 { --mp-a: #5a4035; --mp-b: #302018; }
.member-profile__banner--tone-4 { --mp-a: #3d4a35; --mp-b: #222818; }
.member-profile__banner--tone-5 { --mp-a: #4a3548; --mp-b: #281a26; }
.member-profile__banner--tone-6 { --mp-a: #35505a; --mp-b: #1a2628; }
.member-profile__banner--tone-7 { --mp-a: #524835; --mp-b: #2c2618; }

.member-profile__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 18px 22px;
	padding: 0 22px 18px;
	margin-top: -52px;
	position: relative;
	z-index: 1;
}

.member-profile__avatar {
	flex-shrink: 0;
	width: 112px;
	height: 112px;
	border-radius: 10px;
	border: 4px solid var(--surface);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
	overflow: hidden;
	background: #2a2a2a;
}

.member-profile__avatar-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.member-profile__avatar-ph {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(145deg, #3a3a3a, #1e1e1e);
}

.member-profile__avatar-letter {
	font-size: 40px;
	font-weight: 700;
	color: #e0e0e0;
	line-height: 1;
}

.member-profile__identity {
	flex: 1 1 200px;
	min-width: 0;
	padding-bottom: 4px;
}

.member-profile__name-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 12px;
	margin-bottom: 6px;
}

.member-profile__name {
	margin: 0;
	font-size: clamp(1.35rem, 2.5vw, 1.75rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--text);
	line-height: 1.15;
}

.member-profile__edit {
	flex-shrink: 0;
}

.member-profile__username-line {
	margin: 0;
	font-size: 14px;
	color: var(--text-muted);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
}

.member-profile__at {
	font-weight: 600;
	color: var(--text-muted);
}

.member-profile__role {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 3px 8px;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid var(--border);
	color: #d4d4d4;
}

.member-profile__stats {
	list-style: none;
	margin: 0;
	padding: 14px 22px 18px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
	gap: 12px;
	border-top: 1px solid var(--border);
	background: rgba(0, 0, 0, 0.12);
}

@media (max-width: 560px) {
	.member-profile__stats {
		grid-template-columns: 1fr;
	}
}

.member-profile__stat {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 12px 14px;
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: 8px;
	min-width: 0;
}

.member-profile__stat-value {
	font-size: 22px;
	font-weight: 700;
	color: var(--text);
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.member-profile__stat-value--text {
	font-size: 15px;
	font-weight: 600;
}

.member-profile__stat-label {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: var(--text-muted);
}

.member-profile__stat--meta .member-profile__stat-value {
	font-variant-numeric: tabular-nums;
}

.member-profile__panels {
	padding: 0 22px 22px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.member-profile__panel {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 16px 18px;
}

.member-profile__panel-title {
	margin: 0 0 12px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--text-muted);
}

.member-profile__panel-body {
	font-size: 14px;
	line-height: 1.55;
	color: var(--text);
}

.member-profile__empty {
	margin: 0;
	padding: 8px 0 4px;
	font-size: 14px;
	text-align: center;
}

/* Legado: avatar em outras vistas */
.profile-avatar {
	width: 96px;
	height: 96px;
	border-radius: var(--radius);
	object-fit: cover;
	border: 1px solid var(--border);
	background: #2a2a2a;
}
.profile-avatar--ph {
	background: linear-gradient(135deg, #333, #1a1a1a);
}

/* Search */
.search-form .form-row {
	margin-bottom: 12px;
}
.search-hit__meta {
	margin-bottom: 8px;
	font-size: 12px;
}
.search-hit__meta a {
	color: var(--text);
	font-weight: 600;
}
.search-snippet {
	font-size: 13px;
	color: var(--text-muted);
	line-height: 1.5;
}

/* Moderação (tópico) — moderadores e admins */
.mod-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	padding: 12px 14px;
	margin-bottom: 16px;
	background: #1a150f;
	border: 1px solid #4a3728;
	border-radius: 6px;
}
.mod-toolbar__label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #c4a574;
	margin-right: 6px;
}
.mod-toolbar form {
	display: inline;
}
.mod-btn {
	display: inline-block;
	padding: 6px 10px;
	font-size: 12px;
	font-weight: 600;
	border-radius: 4px;
	border: 1px solid #444;
	background: #252525;
	color: #ddd;
	cursor: pointer;
	margin-right: 4px;
	margin-bottom: 4px;
}
.mod-btn:hover {
	background: #333;
	color: #fff;
}
.mod-btn--danger {
	border-color: #6b2a2a;
	color: #fca5a5;
	background: #2a1515;
}
.mod-btn--danger:hover {
	background: #3d1f1f;
	color: #fff;
}
.mod-move {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-left: 8px;
	flex-wrap: wrap;
}
.mod-move select {
	padding: 6px 8px;
	border-radius: 4px;
	border: 1px solid #444;
	background: #1c1c1c;
	color: #eee;
	font-size: 12px;
	max-width: 220px;
}
.post-mod {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px dashed var(--border);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
}
.post-mod form {
	display: inline;
	margin: 0;
}
.post-mod .mod-btn {
	font-size: 11px;
	padding: 4px 8px;
}

/* Navegação: contagem MD */
.nav-badge {
	display: inline-block;
	min-width: 1.35em;
	padding: 1px 6px;
	font-size: 10px;
	font-weight: 800;
	line-height: 1.45;
	text-align: center;
	border-radius: 999px;
	background: #b45309;
	color: #fff;
	vertical-align: middle;
}

.nav-badge--notif {
	background: #1d6b9e;
	margin-left: 4px;
}

.site-nav__notif .site-nav__notif-inner {
	position: relative;
	display: inline-flex;
	align-items: center;
	vertical-align: middle;
}

.site-nav__bell {
	display: block;
	color: currentColor;
	opacity: 0.92;
}

.site-nav__notif:hover .site-nav__bell {
	opacity: 1;
}

.site-nav__envelope {
	display: block;
	color: currentColor;
	opacity: 0.92;
}

.site-nav__msg:hover .site-nav__envelope {
	opacity: 1;
}

.site-nav__user {
	position: relative;
	flex-shrink: 0;
}

.site-nav__user > summary {
	list-style: none;
	cursor: pointer;
}

.site-nav__user > summary::-webkit-details-marker {
	display: none;
}

.site-nav__user-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border-radius: 999px;
	border: 2px solid rgba(255, 255, 255, 0.14);
	background: rgba(0, 0, 0, 0.28);
	overflow: hidden;
	box-sizing: border-box;
	transition:
		border-color 0.18s ease,
		box-shadow 0.18s ease,
		transform 0.15s ease;
}

.site-nav__user-trigger:hover,
.site-nav__user[open] .site-nav__user-trigger {
	border-color: var(--header-accent-dim);
	box-shadow: 0 0 0 1px rgba(126, 184, 218, 0.25);
	transform: translateY(-1px);
}

.site-nav__user-trigger:focus {
	outline: none;
}

.site-nav__user-trigger:focus-visible {
	outline: 2px solid var(--header-accent);
	outline-offset: 3px;
}

.site-nav__user-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.site-nav__user-letter {
	font-size: 15px;
	font-weight: 800;
	line-height: 1;
	color: #fff;
	text-transform: uppercase;
}

.site-nav__user-panel {
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	min-width: 208px;
	padding: 6px;
	border-radius: 12px;
	border: 1px solid var(--header-border);
	background: rgba(28, 28, 28, 0.98);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
	z-index: 320;
}

.site-nav__user-item {
	display: block;
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	color: var(--text-muted);
	text-decoration: none;
	transition:
		color 0.15s ease,
		background 0.15s ease;
}

.site-nav__user-item:hover {
	color: var(--text);
	background: rgba(255, 255, 255, 0.08);
}

.site-nav__user-item--danger {
	margin-top: 2px;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	padding-top: 12px;
}

.site-nav__user-item--danger:hover {
	color: #f0b4b4;
	background: rgba(220, 80, 80, 0.12);
}

.reply-to-hint {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin-bottom: 10px;
	padding: 8px 12px;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	background: rgba(0, 0, 0, 0.2);
}

.reply-to-hint__clear {
	margin: 0;
}

.notifications-toolbar {
	margin: 0 0 16px;
}

.notif-list {
	list-style: none;
	margin: 0;
	padding: 0;
	border: 1px solid var(--border);
	border-radius: 12px;
	overflow: hidden;
	background: var(--surface);
}

.notif-list__item {
	border-bottom: 1px solid var(--border);
}

.notif-list__item:last-child {
	border-bottom: 0;
}

.notif-list__item--unread {
	background: rgba(126, 184, 218, 0.06);
}

.notif-list__link {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	padding: 14px 16px;
	color: var(--text);
	text-decoration: none;
	transition: background 0.15s ease;
}

.notif-list__link:hover {
	background: var(--surface-hover);
	color: var(--text);
}

.notif-list__text {
	flex: 1 1 200px;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.35;
	min-width: 0;
}

.notif-list__badge {
	font-size: 10px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 2px 8px;
	border-radius: 999px;
	background: rgba(29, 107, 158, 0.35);
	color: #c5dff3;
	border: 1px solid rgba(126, 184, 218, 0.35);
}

.notif-list__meta {
	flex: 1 1 100%;
	font-size: 12px;
}

/* Mensagens diretas */
.section--dm {
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
}

.dm-page-head {
	margin-bottom: 18px;
}
.dm-page-head__hint {
	margin: 6px 0 0;
	font-size: 13px;
}

.dm-breadcrumb {
	margin-bottom: 16px;
}

.dm-empty {
	padding: 20px;
}

.dm-thread-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.dm-thread-row {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 14px 16px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	text-decoration: none;
	color: inherit;
	transition: background 0.12s ease, border-color 0.12s ease;
}
.dm-thread-row:hover {
	background: var(--surface-hover);
	border-color: #444;
	color: inherit;
}
.dm-thread-row--unread {
	border-left: 3px solid #b45309;
	background: rgba(180, 83, 9, 0.08);
}

.dm-thread-row__avatar {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	border-radius: 8px;
	overflow: hidden;
	background: #2a2a2a;
	border: 1px solid var(--border);
	display: flex;
	align-items: center;
	justify-content: center;
}
.dm-thread-row__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.dm-thread-row__letter {
	font-size: 18px;
	font-weight: 700;
	color: #ccc;
}

.dm-thread-row__main {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.dm-thread-row__top {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px 12px;
}
.dm-thread-row__name {
	font-weight: 600;
	color: var(--text);
	font-size: 15px;
}
.dm-thread-row__badge {
	font-size: 10px;
	font-weight: 800;
	padding: 2px 7px;
	border-radius: 999px;
	background: #b45309;
	color: #fff;
}
.dm-thread-row__time {
	margin-left: auto;
	font-size: 11px;
	color: var(--text-muted);
	white-space: nowrap;
}
.dm-thread-row__preview {
	font-size: 13px;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.dm-thread-row__meta {
	font-size: 12px;
}

.dm-thread-head {
	margin-bottom: 20px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--border);
}
.dm-thread-head__user {
	display: flex;
	gap: 16px;
	align-items: center;
}
.dm-thread-head__avatar-link {
	flex-shrink: 0;
}
.dm-thread-head__avatar {
	width: 56px;
	height: 56px;
	border-radius: 10px;
	object-fit: cover;
	border: 1px solid var(--border);
	display: block;
	background: #2a2a2a;
}
.dm-thread-head__avatar--ph {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	font-weight: 700;
	color: #ccc;
}
.dm-thread-head__title {
	margin: 0 0 4px;
	font-size: 20px;
	font-weight: 700;
}
.dm-thread-head__sub {
	margin: 0;
	font-size: 13px;
}
.dm-thread-head__sub a {
	color: var(--text-muted);
	text-decoration: underline;
}
.dm-thread-head__sub a:hover {
	color: var(--text);
}

.dm-chat {
	margin-bottom: 20px;
}
.dm-chat__empty {
	margin: 0 0 12px;
}
.dm-chat__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-height: min(60vh, 520px);
	overflow-y: auto;
	padding-right: 4px;
}

.dm-msg {
	display: flex;
	justify-content: flex-start;
	scroll-margin-top: 96px;
}
.dm-msg--mine {
	justify-content: flex-end;
}

.dm-reply-reference {
	margin: 0 0 8px;
	padding: 6px 10px;
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(0, 0, 0, 0.2);
	border-left: 3px solid var(--header-accent-dim, rgba(126, 184, 218, 0.5));
	font-size: 12px;
	font-weight: 600;
	line-height: 1.35;
}
.dm-reply-reference__link {
	color: var(--header-accent, #7eb8da);
	text-decoration: none;
}
.dm-reply-reference__link:hover {
	color: #cfe8f8;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.dm-msg--mine .dm-reply-reference {
	border-left-color: rgba(126, 184, 218, 0.35);
	background: rgba(0, 0, 0, 0.15);
}

.dm-msg__bubble {
	max-width: min(100%, 420px);
	padding: 10px 14px;
	border-radius: 12px;
	border: 1px solid var(--border);
	background: #252525;
}
.dm-msg--mine .dm-msg__bubble {
	background: #2a3540;
	border-color: #3d4f5f;
}
.dm-msg__body {
	font-size: 14px;
	line-height: 1.5;
	color: var(--text);
	word-break: break-word;
}
.dm-msg__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
	margin-top: 6px;
}
.dm-msg__time {
	font-size: 11px;
	color: var(--text-muted);
}
.dm-msg__reply-btn {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	font-size: 11px;
	font-weight: 600;
	color: var(--header-accent, #7eb8da);
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.dm-msg__reply-btn:hover {
	color: #cfe8f8;
}
.dm-msg--mine .dm-msg__reply-btn {
	color: #a8c8e0;
}

.dm-compose .section-title {
	margin-bottom: 12px;
}

/* TinyMCE — emoji na barra (😊) e ícone YouTube */
.tox .tox-tbtn.forum-tbtn-emoji .tox-tbtn__select-label,
.tox .tox-tbtn.forum-tbtn-emoji .tox-tbtn__label {
	font-size: 1.15rem;
	line-height: 1;
	letter-spacing: 0;
}
.tox .tox-tbtn.forum-tbtn-emoji:not(.tox-tbtn--select) {
	font-size: 1.15rem;
	line-height: 1;
}
.tox .tox-tbtn.forum-tbtn-youtube .tox-icon svg {
	display: block;
}
