:root {
	--fe-topic-gold: #d9af68;
	--fe-topic-gold-light: #f4d28e;
	--fe-topic-ember: #f07b2c;
	--fe-topic-ink: #020a11;
	--fe-topic-panel: #061722;
	--fe-topic-line: rgba(217, 175, 104, 0.5);
	--fe-topic-muted: #abb8c2;
}

body.fe-topic-list-ready {
	--green: var(--fe-topic-gold);
	--green-bright: var(--fe-topic-gold-light);
	background: #02080e;
	color: #f3eee4;
}

body.fe-topic-list-ready > .evren-ad-zone--wide,
body.fe-topic-list-ready .default-page--forum > header,
body.fe-topic-list-ready .evren-forum-sidebar {
	display: none !important;
}

body.fe-topic-list-ready .default-page--forum {
	padding: 0 !important;
	background:
		radial-gradient(circle at 5% 45%, rgba(23, 77, 91, 0.18), transparent 28%),
		radial-gradient(circle at 95% 70%, rgba(133, 69, 20, 0.15), transparent 25%),
		#020a12 !important;
}

body.fe-topic-list-ready .evren-forum-layout.shell-wide {
	display: block !important;
	width: min(1400px, calc(100% - 54px)) !important;
	max-width: none !important;
	padding: 0 !important;
	margin: 0 auto !important;
}

body.fe-topic-list-ready .evren-forum-page,
body.fe-topic-list-ready #wpforo,
body.fe-topic-list-ready #wpforo-wrap {
	width: 100% !important;
	max-width: none !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.fe-topic-list-page {
	position: relative;
	padding-bottom: 16px;
	color: #f3eee4;
	font-family: "Evren Source Sans", "Segoe UI", Arial, sans-serif;
	isolation: isolate;
}

.fe-topic-list-page::before {
	position: absolute;
	z-index: -1;
	inset: 40px -27px 52px;
	background:
		linear-gradient(90deg, rgba(2, 8, 13, 0.95), transparent 8%, transparent 92%, rgba(2, 8, 13, 0.95)),
		var(--fe-topic-texture) center top / 100% auto repeat-y,
		#020a12;
	content: "";
	opacity: 0.86;
}

.fe-topic-list-page::after {
	position: absolute;
	z-index: 3;
	inset: 40px -27px 52px;
	background-image: var(--fe-topic-edge-left), var(--fe-topic-edge-right);
	background-position: left top, right top;
	background-repeat: repeat-y;
	background-size: 30px auto;
	content: "";
	pointer-events: none;
}

.fe-topic-breadcrumb {
	display: flex;
	min-height: 50px;
	align-items: center;
	gap: 12px;
	overflow: hidden;
	color: #c3c8ca;
	font-size: 13px;
	white-space: nowrap;
}

#wpforo #wpforo-wrap .fe-topic-breadcrumb a,
#wpforo #wpforo-wrap .fe-topic-breadcrumb strong {
	overflow: hidden;
	color: inherit !important;
	font-weight: 600;
	text-decoration: none !important;
	text-overflow: ellipsis;
}

.fe-topic-breadcrumb > span {
	flex: 0 0 auto;
	color: var(--fe-topic-gold);
	font-family: Georgia, serif;
	font-size: 21px;
}

.fe-topic-hero {
	position: relative;
	min-height: 0;
	overflow: hidden;
	border: 1px solid rgba(217, 175, 104, 0.72);
	border-radius: 6px 6px 0 0;
	background-color: #07131b;
	background-image: var(--fe-topic-hero);
	background-position: center;
	background-size: 100% 100%;
	box-shadow: 0 14px 35px rgba(0, 0, 0, 0.35), inset 0 0 45px rgba(0, 0, 0, 0.2);
	aspect-ratio: 2170 / 353;
}

.fe-topic-hero::after {
	position: absolute;
	inset: 7px;
	border: 1px solid rgba(244, 210, 142, 0.16);
	content: "";
	pointer-events: none;
}

.fe-topic-hero__copy {
	display: none;
}

.fe-topic-tabs {
	display: flex;
	min-height: 66px;
	overflow-x: auto;
	border: 1px solid rgba(217, 175, 104, 0.62);
	border-top: 0;
	border-radius: 0 0 6px 6px;
	background: linear-gradient(180deg, rgba(5, 22, 32, 0.98), rgba(2, 12, 19, 0.98));
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
	scrollbar-color: var(--fe-topic-gold) #05121b;
	scrollbar-width: thin;
}

#wpforo #wpforo-wrap .fe-topic-tabs a {
	position: relative;
	display: flex;
	min-width: 144px;
	min-height: 64px;
	padding: 8px 19px !important;
	border-right: 1px solid rgba(217, 175, 104, 0.18);
	align-items: center;
	justify-content: center;
	gap: 11px;
	color: #ece9e1 !important;
	font-family: "Evren Fraunces", Georgia, serif;
	font-size: 13px !important;
	font-weight: 650;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
	white-space: nowrap;
}

.fe-topic-tabs a i {
	color: var(--fe-topic-gold-light);
	font-size: 23px;
}

.fe-topic-tabs a::after {
	position: absolute;
	right: 11px;
	bottom: 0;
	left: 11px;
	height: 3px;
	background: transparent;
	content: "";
}

#wpforo #wpforo-wrap .fe-topic-tabs a:hover,
#wpforo #wpforo-wrap .fe-topic-tabs a.is-active {
	background: radial-gradient(circle at 50% 100%, rgba(239, 116, 37, 0.22), transparent 70%), rgba(8, 27, 39, 0.94);
	color: #fff !important;
}

.fe-topic-tabs a.is-active::after {
	background: linear-gradient(90deg, transparent, #ff7b2d 18%, #ffd17d 50%, #ff7b2d 82%, transparent);
	box-shadow: 0 -2px 9px rgba(255, 112, 31, 0.85);
}

.fe-topic-board {
	overflow: hidden;
	margin-top: 8px;
	border: 1px solid rgba(217, 175, 104, 0.62);
	border-radius: 7px;
	background: rgba(3, 13, 20, 0.96);
	box-shadow: 0 22px 54px rgba(0, 0, 0, 0.38);
}

.fe-topic-board__head {
	display: flex;
	min-height: 64px;
	padding: 8px 10px 8px 15px !important;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	background:
		linear-gradient(90deg, rgba(44, 91, 107, 0.92), rgba(19, 48, 62, 0.95) 64%, rgba(8, 29, 41, 0.98)),
		var(--fe-topic-texture) center / cover;
}

#wpforo #wpforo-wrap .fe-topic-board__head h2 {
	padding: 0 !important;
	margin: 0 !important;
	color: #f4f0e7 !important;
	font-family: "Evren Fraunces", Georgia, serif !important;
	font-size: 20px !important;
	font-weight: 650 !important;
	line-height: 1.15 !important;
}

#wpforo #wpforo-wrap .fe-topic-board__head p {
	padding: 0 !important;
	margin: 3px 0 0 !important;
	color: #e1e7e7 !important;
	font-size: 12px !important;
	line-height: 1.35 !important;
}

#wpforo #wpforo-wrap .fe-topic-new {
	display: inline-flex;
	min-width: 160px;
	min-height: 45px;
	padding: 7px 18px !important;
	border: 1px solid #f2c775 !important;
	border-radius: 5px !important;
	align-items: center;
	justify-content: center;
	gap: 9px;
	background: linear-gradient(180deg, #f3c773, #c78331) !important;
	color: #281606 !important;
	box-shadow: inset 0 1px rgba(255, 255, 255, 0.55), 0 4px 12px rgba(0, 0, 0, 0.28) !important;
	font-family: "Evren Fraunces", Georgia, serif !important;
	font-size: 14px !important;
	font-weight: 800 !important;
	line-height: 1 !important;
	text-decoration: none !important;
	cursor: pointer;
}

.fe-topic-new b {
	font-family: Arial, sans-serif;
	font-size: 23px;
	font-weight: 400;
}

.fe-topic-group h3 {
	display: flex;
	min-height: 34px;
	padding: 0 14px !important;
	margin: 0 !important;
	border-top: 1px solid rgba(217, 175, 104, 0.22);
	border-bottom: 1px solid rgba(217, 175, 104, 0.3);
	align-items: center;
	gap: 8px;
	background: linear-gradient(90deg, #07151d, #031019);
	color: var(--fe-topic-gold-light) !important;
	font-family: "Evren Fraunces", Georgia, serif !important;
	font-size: 14px !important;
	font-weight: 700 !important;
}

.fe-topic-group h3 svg {
	width: 15px;
	height: 15px;
	fill: var(--fe-topic-ember);
	stroke: var(--fe-topic-ember);
	stroke-width: 0.7;
}

.fe-topic-row {
	display: grid;
	min-height: 68px;
	padding: 0 12px !important;
	border-bottom: 1px solid rgba(140, 174, 185, 0.22);
	align-items: center;
	background: linear-gradient(90deg, rgba(5, 22, 30, 0.98), rgba(6, 28, 36, 0.91), rgba(4, 18, 26, 0.98));
	grid-template-columns: 52px minmax(260px, 1fr) 95px 116px minmax(180px, 235px);
}

.fe-topic-row:last-child {
	border-bottom: 0;
}

.fe-topic-row:hover {
	background: linear-gradient(90deg, rgba(9, 34, 43, 0.99), rgba(8, 39, 47, 0.95), rgba(6, 25, 33, 0.99));
}

#wpforo #wpforo-wrap .fe-topic-row__icon {
	display: grid;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(217, 175, 104, 0.18);
	border-radius: 4px;
	place-items: center;
	background: rgba(2, 11, 18, 0.45);
}

.fe-topic-row__icon svg {
	width: 23px;
	height: 23px;
	fill: rgba(226, 235, 239, 0.08);
	stroke: #e7edf0;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.5;
}

.fe-topic-row__info {
	min-width: 0;
	padding: 8px 14px 8px 0;
}

#wpforo #wpforo-wrap .fe-topic-row__title {
	display: block;
	overflow: hidden;
	color: #f4f0e9 !important;
	font-family: "Evren Fraunces", Georgia, serif;
	font-size: 14px !important;
	font-weight: 600;
	line-height: 1.25;
	text-decoration: none !important;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.fe-topic-group.is-sticky .fe-topic-row__title {
	color: var(--fe-topic-gold-light) !important;
}

.fe-topic-row__meta {
	display: flex;
	min-height: 19px;
	margin-top: 3px;
	align-items: center;
	gap: 7px;
	overflow: hidden;
	color: #b9c5ca;
	font-size: 11px;
	white-space: nowrap;
}

.fe-topic-row__meta > span,
.fe-topic-row__meta > a {
	overflow: hidden;
	color: #b9c5ca !important;
	text-decoration: none !important;
	text-overflow: ellipsis;
}

.fe-topic-row__meta b {
	padding: 2px 6px;
	border: 1px solid rgba(217, 175, 104, 0.58);
	border-radius: 3px;
	background: #4a3816;
	color: #f6d489;
	font-size: 9px;
	font-weight: 700;
}

.fe-topic-row__meta b.is-sticky {
	border-color: #9e3a34;
	background: #6f2424;
	color: #ffd6cf;
}

.fe-topic-row__meta b.is-solved {
	border-color: #3f7f5d;
	background: #174b35;
	color: #bdebd0;
}

.fe-topic-row__meta b.is-private,
.fe-topic-row__meta b.is-closed,
.fe-topic-row__meta b.is-unapproved {
	border-color: #79505a;
	background: #43242c;
	color: #f0c5cf;
}

.fe-topic-row.is-unread .fe-topic-row__title {
	font-weight: 800 !important;
}

.fe-topic-row__stat {
	display: grid;
	min-height: 48px;
	border-left: 1px solid rgba(132, 163, 173, 0.2);
	place-content: center;
	text-align: center;
}

.fe-topic-row__stat b,
.fe-topic-row__stat small {
	display: block;
}

.fe-topic-row__stat b {
	color: #f2f1ec;
	font-family: "Evren Fraunces", Georgia, serif;
	font-size: 13px;
	font-weight: 650;
}

.fe-topic-row__stat small {
	margin-top: 1px;
	color: #abb7bd;
	font-size: 10px;
}

#wpforo #wpforo-wrap .fe-topic-row__latest {
	display: grid;
	min-width: 0;
	min-height: 48px;
	padding-left: 16px !important;
	border-left: 1px solid rgba(132, 163, 173, 0.2);
	align-items: center;
	gap: 10px;
	color: #e9edf0 !important;
	grid-template-columns: 42px minmax(0, 1fr);
	text-decoration: none !important;
}

#wpforo #wpforo-wrap .fe-topic-row__avatar-link,
.fe-topic-row__latest img,
.fe-topic-row__avatar {
	display: grid;
	width: 40px;
	height: 40px;
	overflow: hidden;
	border: 1px solid var(--fe-topic-gold);
	border-radius: 50%;
	place-items: center;
	background: radial-gradient(circle at 35% 30%, #32505c, #0a1720 68%);
	color: var(--fe-topic-gold-light);
	font-family: "Evren Fraunces", Georgia, serif;
	font-size: 16px;
	font-weight: 800;
	object-fit: cover;
}

#wpforo #wpforo-wrap .fe-topic-row__avatar-link {
	padding: 0 !important;
	text-decoration: none !important;
}

.fe-topic-row__latest > span:last-child {
	display: grid;
	min-width: 0;
}

.fe-topic-row__latest-author,
.fe-topic-row__latest-date {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#wpforo #wpforo-wrap .fe-topic-row__latest-author {
	color: var(--fe-topic-gold-light);
	font-family: "Evren Fraunces", Georgia, serif;
	font-size: 11px;
	font-weight: 650;
	text-decoration: none !important;
}

#wpforo #wpforo-wrap .fe-topic-row__latest-date {
	color: #b5c0c5;
	font-size: 10px;
	text-decoration: none !important;
}

.fe-topic-row__history {
	padding: 0 52px 9px !important;
	grid-column: 1 / -1;
}

.fe-topic-row__history summary {
	width: max-content;
	color: var(--fe-topic-gold);
	font-size: 10px;
	cursor: pointer;
}

#wpforo #wpforo-wrap .fe-topic-row__history .wpforo-last-posts-list {
	padding: 7px 10px !important;
	margin-top: 6px !important;
	border: 1px solid rgba(217, 175, 104, 0.22);
	border-radius: 4px;
	background: rgba(1, 10, 16, 0.72) !important;
}

#wpforo #wpforo-wrap .fe-topic-row__history ul,
#wpforo #wpforo-wrap .fe-topic-row__history li {
	padding: 0 !important;
	margin: 0 !important;
	list-style: none !important;
}

#wpforo #wpforo-wrap .fe-topic-row__history li {
	display: grid;
	min-height: 30px;
	border-bottom: 1px solid rgba(154, 178, 186, 0.14);
	align-items: center;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 12px;
}

#wpforo #wpforo-wrap .fe-topic-row__history li:last-child {
	border-bottom: 0;
}

#wpforo #wpforo-wrap .fe-topic-row__history a,
#wpforo #wpforo-wrap .fe-topic-row__history .wpforo-last-post-user {
	color: #bec9cd !important;
	font-size: 10px !important;
}

.fe-topic-empty {
	display: grid;
	min-height: 230px;
	padding: 42px 20px !important;
	place-items: center;
	align-content: center;
	background:
		radial-gradient(circle at 50% 50%, rgba(34, 88, 102, 0.18), transparent 48%),
		linear-gradient(135deg, rgba(4, 19, 27, 0.98), rgba(2, 12, 19, 0.98));
	text-align: center;
}

.fe-topic-empty svg {
	width: 45px;
	height: 45px;
	fill: none;
	stroke: var(--fe-topic-gold);
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.2;
}

#wpforo #wpforo-wrap .fe-topic-empty h3 {
	margin: 12px 0 0 !important;
	color: var(--fe-topic-gold-light) !important;
	font-family: "Evren Fraunces", Georgia, serif !important;
	font-size: 21px !important;
}

#wpforo #wpforo-wrap .fe-topic-empty p {
	margin: 5px 0 0 !important;
	color: #bdc8cc !important;
	font-size: 13px !important;
}

.fe-topic-board__foot {
	display: flex;
	min-height: 54px;
	padding: 8px 13px !important;
	border-top: 1px solid rgba(217, 175, 104, 0.38);
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	background: linear-gradient(90deg, #06151e, #031019);
	color: #c6cdd0;
	font-size: 12px;
}

.fe-topic-board__foot .wpf-navi,
.fe-topic-board__foot .wpf-pagination,
.fe-topic-board__foot .wpforo-pagination {
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
}

body.fe-topic-list-ready #wpforo-wrap .wpf-topic-create {
	margin: 15px 0 !important;
	border: 1px solid var(--fe-topic-line) !important;
	border-radius: 6px;
	background: #07141d !important;
}

.fe-topic-bottom {
	display: grid;
	min-height: 64px;
	margin-top: 8px;
	border-top: 1px solid rgba(217, 175, 104, 0.46);
	align-items: center;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}

.fe-topic-bottom .fe-topic-breadcrumb {
	min-height: 62px;
}

.fe-topic-bottom blockquote {
	margin: 0;
	color: var(--fe-topic-gold-light);
	font-family: "Evren Fraunces", Georgia, serif;
	font-size: 13px;
	font-style: italic;
}

#wpforo #wpforo-wrap .fe-topic-back-top {
	justify-self: end;
	color: #e9e6df !important;
	font-size: 12px !important;
	font-weight: 600;
	text-decoration: none !important;
}

@media (max-width: 1000px) {
	body.fe-topic-list-ready .evren-forum-layout.shell-wide {
		width: min(100% - 30px, 1400px) !important;
	}

	.fe-topic-row {
		grid-template-columns: 49px minmax(220px, 1fr) 76px 92px minmax(150px, 190px);
	}

	.fe-topic-row__latest {
		padding-left: 10px !important;
		grid-template-columns: 34px minmax(0, 1fr) !important;
	}

	.fe-topic-row__latest img,
	.fe-topic-row__avatar {
		width: 33px;
		height: 33px;
	}
}

@media (max-width: 820px) {
	body.fe-topic-list-ready .evren-forum-layout.shell-wide {
		width: 100% !important;
	}

	.fe-topic-list-page::before {
		inset: 38px 0 48px;
	}

	.fe-topic-breadcrumb {
		min-height: 44px;
		padding: 0 15px;
		font-size: 11px;
	}

	.fe-topic-hero {
		min-height: 230px;
		border-right: 0;
		border-left: 0;
		border-radius: 0;
		background-image:
			linear-gradient(90deg, rgba(2, 10, 16, 0.87), rgba(2, 10, 16, 0.18)),
			var(--fe-topic-mobile-hero);
		background-position: center;
		background-size: cover;
		aspect-ratio: auto;
	}

	.fe-topic-list-page::after {
		display: none;
	}

	.fe-topic-tabs {
		border-right: 0;
		border-left: 0;
		border-radius: 0;
	}

	#wpforo #wpforo-wrap .fe-topic-tabs a {
		min-width: 125px;
		padding: 8px 14px !important;
		font-size: 11px !important;
	}

	.fe-topic-board {
		margin: 8px 10px 0;
	}

	.fe-topic-row {
		min-height: 86px;
		padding: 8px 10px !important;
		grid-template-columns: 43px minmax(0, 1fr) 58px 72px;
	}

	.fe-topic-row__latest {
		display: none !important;
	}

	.fe-topic-row__info {
		padding-right: 8px;
	}

	#wpforo #wpforo-wrap .fe-topic-row__title {
		display: -webkit-box;
		font-size: 13px !important;
		white-space: normal;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
	}

	.fe-topic-row__meta {
		font-size: 9px;
	}

	.fe-topic-row__stat {
		min-height: 54px;
	}

	.fe-topic-row__history {
		padding: 0 8px 8px !important;
	}

	#wpforo #wpforo-wrap .fe-topic-row__history li {
		grid-template-columns: 1fr;
		gap: 1px;
	}

	.fe-topic-bottom {
		padding: 0 15px;
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.fe-topic-bottom blockquote,
	.fe-topic-bottom .fe-topic-breadcrumb > *:nth-child(n+6) {
		display: none;
	}
}

@media (max-width: 560px) {
	.fe-topic-hero {
		min-height: 205px;
	}

	.fe-topic-hero__copy {
		width: 88%;
		min-height: 205px;
	}

	.fe-topic-board__head {
		min-height: 92px;
		padding: 10px !important;
		align-items: flex-start;
		gap: 8px;
	}

	#wpforo #wpforo-wrap .fe-topic-board__head h2 {
		font-size: 16px !important;
	}

	#wpforo #wpforo-wrap .fe-topic-board__head p {
		display: -webkit-box;
		overflow: hidden;
		font-size: 10px !important;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
	}

	#wpforo #wpforo-wrap .fe-topic-new {
		min-width: 105px;
		min-height: 39px;
		padding: 6px 9px !important;
		font-size: 11px !important;
	}

	.fe-topic-new b {
		font-size: 18px;
	}

	.fe-topic-group h3 {
		font-size: 12px !important;
	}

	.fe-topic-row {
		grid-template-columns: 37px minmax(0, 1fr) 50px;
	}

	.fe-topic-row__icon {
		width: 31px !important;
		height: 34px !important;
	}

	.fe-topic-row__icon svg {
		width: 20px;
		height: 20px;
	}

	.fe-topic-row__stat + .fe-topic-row__stat {
		display: none;
	}

	.fe-topic-row__stat b {
		font-size: 11px;
	}

	.fe-topic-row__stat small {
		font-size: 8px;
	}

	.fe-topic-board__foot {
		min-height: 48px;
		font-size: 10px;
	}

	.fe-topic-bottom .fe-topic-breadcrumb {
		display: none;
	}

	.fe-topic-bottom {
		min-height: 52px;
		grid-template-columns: 1fr;
	}

	.fe-topic-back-top {
		justify-self: center !important;
	}
}
