.topic-statistics-main {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: space-between;
	align-items: center;
}

.topic-statistics-actions {
	padding-top: 6px;
}

.topic-statistics-actions a {
    margin-right: 5px;
    white-space: nowrap;
    display: inline-block;
    font-size: 1.16em;
    line-height: 1.4;
}

.topic-statistics-data {
    margin-left: auto;
    text-align: center;
    white-space: nowrap;
    padding-top: 6px;
    font-size: 1.16em;
    /* line-height: 1.45; */
}

.topic-statistics-users {
	margin-top: 4px;
	text-align: right;
}

.topic-stats-collapsible {
	overflow: hidden;
	max-height: 0;
	opacity: 0;
	transform: translateY(-6px);
	transition: max-height 0.38s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease, transform 0.32s ease;
	will-change: max-height, opacity, transform;
}

.topic-stats-collapsible.is-open {
	opacity: 1;
	transform: translateY(0);
}

.topic-stats-toggle {
	position: relative;
	padding-right: 0;
	text-decoration: none;
	transition: color 0.2s ease;
}

@media (max-width: 700px) {
	.topic-statistics-main {
		flex-direction: column;
		gap: 8px;
	}

	.topic-statistics-data {
		order: 1;
		text-align: center;
		width: 100%;
	}

	.topic-statistics-actions {
		order: 2;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 8px;
		width: 100%;
	}

	.topic-statistics-actions a {
		margin-right: 0;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-height: 40px;
		padding: 6px 12px;
		background: rgba(255, 255, 255, 0.55);
		border: 1px solid #b7cee1;
		border-radius: 999px;
		box-sizing: border-box;
	}

	.topic-statistics-data,
	.topic-statistics-users {
		margin-left: 0;
		text-align: center;
		white-space: normal;
		width: 100%;
	}

	.topic-statistics-users {
		margin-top: 6px;
		padding: 6px 8px;
		background: rgba(255, 255, 255, 0.45);
		border-radius: 4px;
	}
}

@media (max-width: 480px) {
	.topic-statistics-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.topic-statistics-actions a {
		width: 100%;
	}
}
