.tvp-community-page {
	--tvp-community-bg: #ffffff;
	--tvp-community-soft: #f6f8fb;
	--tvp-community-border: #d8e2ec;
	--tvp-community-border-strong: #b7c7d8;
	--tvp-community-text: #1f2937;
	--tvp-community-muted: #5f6b7a;
	--tvp-community-title: #101827;
	--tvp-community-accent: #0f6fdb;
	--tvp-community-accent-text: #ffffff;
	--tvp-community-accent-soft: #eaf3ff;
	--tvp-community-green: #18794e;
	--tvp-community-red: #b4232a;
	color: var(--tvp-community-text);
	display: flex;
	flex-direction: column;
	gap: 1.3rem;
	min-width: 0;
}

.tvp-community-hero {
	align-items: flex-start;
	border-bottom: 1px solid var(--tvp-community-border);
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	padding: .35rem 0 1rem;
}

.tvp-community-hero > div {
	min-width: 0;
}

.tvp-community-hero h1 {
	color: var(--tvp-community-title);
	font-size: 1.75rem;
	font-weight: 850;
	line-height: 1.08;
	margin: 0;
}

.tvp-community-hero p {
	color: var(--tvp-community-muted);
	line-height: 1.5;
	margin: .45rem 0 0;
	max-width: 72rem;
}

.tvp-community-tabs {
	border-bottom: 1px solid var(--tvp-community-border);
	display: flex;
	flex-wrap: wrap;
	gap: .42rem;
	padding-bottom: .65rem;
}

.tvp-community-tab {
	align-items: center;
	background: var(--tvp-community-bg);
	border: 1px solid var(--tvp-community-border);
	border-radius: .5rem;
	color: var(--tvp-community-text);
	display: inline-flex;
	font-size: .86rem;
	font-weight: 800;
	justify-content: center;
	line-height: 1;
	min-height: 2.15rem;
	padding: .45rem .75rem;
	text-decoration: none;
	white-space: nowrap;
}

.tvp-community-tab:hover {
	background: var(--tvp-community-soft);
	border-color: var(--tvp-community-border-strong);
	color: var(--tvp-community-text);
	text-decoration: none;
}

.tvp-community-tab.is-active {
	background: var(--tvp-community-accent);
	border-color: var(--tvp-community-accent);
	color: var(--tvp-community-accent-text);
}

.tvp-community-group {
	display: flex;
	flex-direction: column;
	gap: .72rem;
	min-width: 0;
}

.tvp-community-group-head {
	align-items: baseline;
	border-bottom: 1px solid var(--tvp-community-border);
	display: flex;
	flex-wrap: wrap;
	gap: .45rem .7rem;
	padding-bottom: .42rem;
}

.tvp-community-group-head h2 {
	color: var(--tvp-community-title);
	font-size: 1.18rem;
	font-weight: 840;
	line-height: 1.15;
	margin: 0;
}

.tvp-community-group-head p {
	color: var(--tvp-community-muted);
	font-size: .88rem;
	line-height: 1.4;
	margin: 0;
}

.tvp-community-panel-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: minmax(0, 1fr);
}

.tvp-community-panel {
	display: flex;
	flex-direction: column;
	gap: .55rem;
	min-width: 0;
}

.tvp-community-panel-head h3 {
	color: var(--tvp-community-title);
	font-size: .98rem;
	font-weight: 820;
	line-height: 1.2;
	margin: 0;
}

.tvp-community-panel-head p {
	color: var(--tvp-community-muted);
	font-size: .8rem;
	line-height: 1.35;
	margin: .18rem 0 0;
}

.tvp-community-list {
	display: grid;
	gap: .5rem;
}

.tvp-community-item {
	min-width: 0;
}

.tvp-community-item-link {
	align-items: flex-start;
	background: var(--tvp-community-bg);
	border: 1px solid var(--tvp-community-border);
	border-radius: .5rem;
	color: var(--tvp-community-text);
	display: flex;
	gap: .65rem;
	min-height: 100%;
	padding: .68rem;
	text-decoration: none;
}

.tvp-community-item-link:hover {
	border-color: var(--tvp-community-border-strong);
	color: var(--tvp-community-text);
	text-decoration: none;
}

.tvp-community-thumb {
	background: var(--tvp-community-soft);
	border: 1px solid var(--tvp-community-border);
	border-radius: .42rem;
	display: block;
	flex: 0 0 4.2rem;
	height: 3.1rem;
	overflow: hidden;
}

.tvp-community-thumb img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.tvp-community-avatar {
	align-items: center;
	background: var(--tvp-community-soft);
	border: 1px solid var(--tvp-community-border);
	border-radius: 50%;
	display: inline-flex;
	flex: 0 0 3rem;
	height: 3rem;
	justify-content: center;
	overflow: hidden;
	width: 3rem;
}

.tvp-community-avatar-img,
.tvp-community-avatar-fallback {
	display: block;
	height: 100%;
	width: 100%;
}

.tvp-community-avatar-img {
	object-fit: cover;
}

.tvp-community-avatar-fallback {
	align-items: center;
	color: #ffffff;
	display: inline-flex;
	font-size: .88rem;
	font-weight: 850;
	justify-content: center;
	line-height: 1;
}

.tvp-community-item-body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: .18rem;
	min-width: 0;
}

.tvp-community-eyebrow {
	color: var(--tvp-community-accent);
	font-size: .7rem;
	font-weight: 820;
	line-height: 1.1;
	text-transform: uppercase;
}

.tvp-community-item-title {
	color: var(--tvp-community-title);
	display: -webkit-box;
	font-size: .9rem;
	font-weight: 800;
	line-height: 1.26;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.tvp-community-meta,
.tvp-community-excerpt {
	color: var(--tvp-community-muted);
	font-size: .78rem;
	line-height: 1.35;
}

.tvp-community-excerpt {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.tvp-community-stats {
	display: flex;
	flex-wrap: wrap;
	gap: .3rem;
	margin-top: .16rem;
}

.tvp-community-stat {
	align-items: center;
	background: var(--tvp-community-accent-soft);
	border: 1px solid #c9ddf4;
	border-radius: 999px;
	color: #16456f;
	display: inline-flex;
	font-size: .72rem;
	font-weight: 760;
	gap: .22rem;
	line-height: 1.1;
	padding: .18rem .45rem;
}

.tvp-community-stat--admin {
	background: #fff1f2;
	border-color: #fecdd3;
	color: var(--tvp-community-red);
}

.tvp-community-stat-icon {
	color: currentColor;
	height: .78rem;
	width: .78rem;
}

.tvp-community-empty {
	background: var(--tvp-community-soft);
	border: 1px dashed var(--tvp-community-border-strong);
	border-radius: .5rem;
	color: var(--tvp-community-muted);
	font-size: .84rem;
	margin: 0;
	padding: .75rem;
}

html[data-theme="dark"] .tvp-community-page,
html.dark .tvp-community-page,
body.dark-mode .tvp-community-page,
body.dark-theme .tvp-community-page {
	--tvp-community-bg: #1b2636;
	--tvp-community-soft: #172334;
	--tvp-community-border: #334155;
	--tvp-community-border-strong: #475569;
	--tvp-community-text: #dbe4ef;
	--tvp-community-muted: #b8c8dc;
	--tvp-community-title: #f1f5f9;
	--tvp-community-accent: #7aa8ff;
	--tvp-community-accent-text: #101827;
	--tvp-community-accent-soft: #1d3554;
}

html[data-theme="dark"] .tvp-community-stat,
html.dark .tvp-community-stat,
body.dark-mode .tvp-community-stat,
body.dark-theme .tvp-community-stat {
	border-color: #35557b;
	color: #d7e8ff;
}

html[data-theme="dark"] .tvp-community-stat--admin,
html.dark .tvp-community-stat--admin,
body.dark-mode .tvp-community-stat--admin,
body.dark-theme .tvp-community-stat--admin {
	background: #3b1720;
	border-color: #7f1d1d;
	color: #fecdd3;
}

@media (max-width: 575.98px) {
	.tvp-community-hero {
		flex-direction: column;
	}

	.tvp-community-hero h1 {
		font-size: 1.45rem;
	}

	.tvp-community-tabs {
		flex-wrap: nowrap;
		overflow-x: auto;
		padding-bottom: .55rem;
	}

	.tvp-community-tab {
		flex: 0 0 auto;
	}

	.tvp-community-item-link {
		padding: .6rem;
	}

	.tvp-community-thumb {
		flex-basis: 3.7rem;
		height: 2.8rem;
	}

	.tvp-community-avatar {
		flex-basis: 2.75rem;
		height: 2.75rem;
		width: 2.75rem;
	}
}

@media (min-width: 768px) {
	.tvp-community-panel-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1400px) {
	.tvp-community-panel-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
