.hf-forum {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	max-width: 1100px;
	margin: 0 auto;
}

.hf-forum-title {
	margin-bottom: 16px;
}

.hf-category-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 14px;
}

@media (max-width: 900px) {
	.hf-category-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 560px) {
	.hf-category-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.hf-category-card {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	border: 1.5px solid transparent;
	border-radius: 14px;
	padding: 16px 14px;
	transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.hf-category-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	margin-bottom: 10px;
	font-size: 17px;
	color: #fff;
}

.hf-category-name {
	display: block;
	font-weight: 600;
	font-size: 16px;
	color: #223;
}

.hf-category-desc {
	display: block;
	margin-top: 6px;
	color: #556;
	font-size: 13px;
}

.hf-placeholder {
	padding: 24px;
	text-align: center;
	color: #666;
	border: 1px dashed #ccc;
	border-radius: 8px;
}

.hf-category-card:hover {
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
	transform: translateY(-1px);
}

.hf-category-count {
	display: block;
	margin-top: 8px;
	font-size: 12px;
	color: var(--hf-cat-color, #4C9A76);
	font-weight: 700;
}

.hf-section-header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 16px;
}

.hf-section-header .hf-forum-title {
	margin-bottom: 0;
}

.hf-see-all {
	font-size: 13px;
	color: #4C9A76;
	text-decoration: none;
	font-weight: 600;
}

.hf-see-all:hover {
	text-decoration: underline;
}

.hf-breadcrumb {
	font-size: 13px;
	color: #888;
	margin-bottom: 16px;
}

.hf-breadcrumb a {
	color: #888;
	text-decoration: none;
}

.hf-breadcrumb a:hover {
	text-decoration: underline;
}

.hf-category-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 20px;
}

.hf-btn {
	display: inline-block;
	padding: 9px 18px;
	border-radius: 6px;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	border: none;
	cursor: pointer;
}

.hf-btn-primary {
	background: #4C9A76;
	color: #fff;
}

.hf-btn-primary:hover {
	background: #3d7d60;
	color: #fff;
}

.hf-topic-list {
	list-style: none;
	margin: 0;
	padding: 0;
	border: 1px solid #eee;
	border-radius: 8px;
	overflow: hidden;
}

.hf-topic-row {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 18px;
	border-bottom: 1px solid #eee;
	background: #fff;
}

.hf-topic-row:last-child {
	border-bottom: none;
}

.hf-topic-row.hf-pinned {
	background: #fbfaf5;
}

.hf-topic-avatar {
	flex-shrink: 0;
	line-height: 0;
}

.hf-topic-avatar img {
	border-radius: 50%;
	display: block;
}

.hf-topic-main {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.hf-topic-title {
	font-weight: 600;
	text-decoration: none;
	color: #222;
}

.hf-topic-title:hover {
	color: #4C9A76;
}

.hf-topic-meta {
	font-size: 12px;
	color: #888;
}

.hf-topic-meta a {
	color: #888;
	text-decoration: none;
}

.hf-topic-meta a:hover {
	color: #4C9A76;
	text-decoration: underline;
}

.hf-topic-stats {
	display: flex;
	gap: 12px;
	font-size: 12px;
	color: #888;
	white-space: nowrap;
	flex-shrink: 0;
	padding-top: 3px;
}

.hf-pagination {
	display: flex;
	gap: 6px;
	margin-top: 16px;
}

.hf-page-link {
	padding: 6px 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	text-decoration: none;
	color: #444;
	font-size: 13px;
}

.hf-page-link.hf-current {
	background: #4C9A76;
	color: #fff;
	border-color: #4C9A76;
}

.hf-empty {
	padding: 30px;
	text-align: center;
	color: #888;
	border: 1px dashed #ddd;
	border-radius: 8px;
}

.hf-topic-post,
.hf-reply-post {
	border: 1px solid #eee;
	border-radius: 8px;
	padding: 18px 20px;
	margin-bottom: 14px;
	background: #fff;
}

.hf-post-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 8px 0 14px;
	font-size: 13px;
	color: #666;
}

.hf-post-meta img {
	border-radius: 50%;
}

.hf-post-author {
	font-weight: 600;
	color: #333;
}

.hf-post-content {
	line-height: 1.6;
	color: #333;
}

.hf-replies-title {
	margin: 24px 0 12px;
	font-size: 16px;
}

.hf-reply-form,
.hf-new-topic-form {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 20px;
	max-width: 640px;
}

.hf-reply-form label,
.hf-new-topic-form label {
	font-weight: 600;
	font-size: 13px;
}

.hf-reply-form textarea,
.hf-new-topic-form textarea,
.hf-new-topic-form input[type="text"],
.hf-new-topic-form select {
	padding: 10px 12px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 14px;
	font-family: inherit;
}

.hf-reply-form .hf-btn,
.hf-new-topic-form .hf-btn {
	align-self: flex-start;
}

.hf-login-prompt {
	padding: 16px;
	background: #f7f7f7;
	border-radius: 8px;
	text-align: center;
}

.hf-error {
	background: #fdeaea;
	color: #a33;
	padding: 10px 14px;
	border-radius: 6px;
	font-size: 13px;
}

.hf-success {
	background: #eaf7ee;
	color: #2b7a41;
	padding: 10px 14px;
	border-radius: 6px;
	font-size: 13px;
}

.hf-auth-view {
	max-width: 420px;
	margin: 0 auto;
}

.hf-auth-subtitle {
	color: #777;
	margin-top: -8px;
	margin-bottom: 16px;
	font-size: 14px;
}

.hf-auth-form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.hf-auth-form label {
	font-weight: 600;
	font-size: 13px;
}

.hf-auth-form input[type="text"],
.hf-auth-form input[type="email"],
.hf-auth-form input[type="password"] {
	padding: 10px 12px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 14px;
	font-family: inherit;
}

.hf-checkbox-label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 400 !important;
	font-size: 13px !important;
}

.hf-btn-block {
	width: 100%;
	text-align: center;
	margin-top: 6px;
}

.hf-auth-switch {
	text-align: center;
	font-size: 13px;
	color: #777;
	margin-top: 14px;
}

.hf-profile-card {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 14px;
	padding: 24px;
	margin-bottom: 24px;
}

.hf-profile-card-top {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	flex-wrap: wrap;
	margin-bottom: 22px;
}

.hf-profile-avatar-wrap img {
	border-radius: 50%;
	display: block;
}

.hf-profile-card-info {
	flex: 1;
	min-width: 200px;
	padding-top: 4px;
}

.hf-profile-card-info .hf-forum-title,
.hf-profile-name {
	margin: 0 0 4px;
}

.hf-profile-meta {
	color: #889;
	font-size: 13px;
	margin: 0;
}

.hf-profile-bio {
	color: #556;
	font-size: 14px;
	margin: 10px 0 0;
	line-height: 1.5;
}

.hf-icon-link-group {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}

.hf-icon-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 12px;
	border-radius: 8px;
	background: #f5f7f6;
	color: #334;
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
}

.hf-icon-link i {
	font-size: 15px;
	color: #889;
}

.hf-icon-link:hover {
	background: #eaf2ee;
	color: #4C9A76;
}

.hf-icon-link:hover i {
	color: #4C9A76;
}

.hf-icon-link-logout {
	color: #a33;
}

.hf-icon-link-logout i {
	color: #c88;
}

.hf-icon-link .hf-unread-badge {
	margin-left: 2px;
}

.hf-stat-cards {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	margin-bottom: 20px;
}.hf-stat-card {
	flex: 1;
	min-width: 140px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	background: #fafbfa;
	border: 1px solid #eee;
	border-radius: 12px;
	padding: 16px 18px;
}

.hf-stat-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: #e3f0e8;
	color: #4C9A76;
	font-size: 16px;
	margin-bottom: 10px;
}

.hf-stat-number {
	font-size: 24px;
	font-weight: 700;
	color: #223;
	line-height: 1.1;
}

.hf-stat-label {
	font-size: 12px;
	color: #889;
	margin-top: 2px;
}

.hf-activity-panel {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 14px;
	overflow: hidden;
}

.hf-activity-panel-header {
	padding: 16px 18px;
	font-weight: 600;
	color: #223;
	font-size: 15px;
	border-bottom: 1px solid #eee;
}

.hf-activity-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hf-activity-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 13px 18px;
	border-bottom: 1px solid #f0f0f0;
	font-size: 14px;
	background: #fff;
}

.hf-activity-row:last-child {
	border-bottom: none;
}

.hf-activity-icon-wrap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	font-size: 14px;
	flex-shrink: 0;
}

.hf-activity-topic {
	background: #fdf1de;
	color: #c8862f;
}

.hf-activity-reply {
	background: #e6f2fb;
	color: #3a7ebf;
}

.hf-activity-row a {
	color: #333;
	text-decoration: none;
	font-weight: 600;
}

.hf-activity-row a:hover {
	color: #4C9A76;
}

.hf-activity-date {
	margin-left: auto;
	color: #999;
	font-size: 12px;
	white-space: nowrap;
	padding-left: 10px;
}

@media (max-width: 600px) {
	.hf-profile-card-top {
		flex-direction: column;
	}

	.hf-icon-link-group {
		width: 100%;
	}

	.hf-activity-date {
		margin-left: 42px;
	}
}

.hf-unread-badge {
	background: #C0607A;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	padding: 1px 7px;
	border-radius: 999px;
	margin-left: 6px;
}

.hf-conversation-list,
.hf-notification-list {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
	border: 1px solid #eee;
	border-radius: 8px;
	overflow: hidden;
}

.hf-conversation-row,
.hf-notification-row {
	border-bottom: 1px solid #eee;
	background: #fff;
}

.hf-conversation-row:last-child,
.hf-notification-row:last-child {
	border-bottom: none;
}

.hf-conversation-row.hf-unread,
.hf-notification-row.hf-unread {
	background: #fbfaf5;
}

.hf-conversation-row a,
.hf-notification-row a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	text-decoration: none;
	color: #333;
}

.hf-conversation-row img,
.hf-notification-row img {
	border-radius: 50%;
	flex-shrink: 0;
}

.hf-conversation-name {
	font-weight: 600;
	flex-shrink: 0;
}

.hf-conversation-preview {
	color: #888;
	font-size: 13px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	flex: 1;
}

.hf-notification-text {
	flex: 1;
}

.hf-new-message-form {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 480px;
}

.hf-new-message-form label {
	font-weight: 600;
	font-size: 13px;
}

.hf-new-message-form input[type="text"],
.hf-new-message-form textarea {
	padding: 10px 12px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 14px;
	font-family: inherit;
}

.hf-thread-messages {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 18px;
}

.hf-thread-bubble {
	max-width: 70%;
	padding: 10px 14px;
	border-radius: 12px;
	background: #f2f2f2;
}

.hf-thread-bubble .hf-post-content {
	margin: 0;
}

.hf-thread-bubble .hf-post-date {
	display: block;
	margin-top: 4px;
	font-size: 11px;
	color: #999;
}

.hf-bubble-mine {
	align-self: flex-end;
	background: #e4f2ea;
}

.hf-bubble-theirs {
	align-self: flex-start;
}

.hf-locked-badge {
	display: inline-block;
	background: #f0f0f0;
	color: #888;
	font-size: 11px;
	font-weight: 600;
	padding: 2px 8px;
	border-radius: 4px;
	vertical-align: middle;
	margin-left: 6px;
}

.hf-report-link {
	margin-left: auto;
	color: #999 !important;
	font-size: 12px;
	text-decoration: underline;
}

.hf-report-link:hover {
	color: #a33 !important;
}

.hf-hero {
	background: linear-gradient(135deg, #eaf5ee 0%, #f7f4ea 100%);
	border-radius: 16px;
	padding: 40px;
	margin-bottom: 32px;
	display: flex;
	align-items: center;
	gap: 32px;
}

.hf-hero-content {
	flex: 1;
	min-width: 0;
	text-align: left;
}

.hf-hero-title {
	font-size: 28px;
	margin: 0 0 10px;
	color: #234;
}

.hf-hero-emoji {
	display: inline-block;
}

.hf-hero-subtitle {
	color: #667;
	font-size: 15px;
	max-width: 480px;
	margin: 0 0 22px;
}

.hf-hero-search {
	max-width: 460px;
	margin: 0 0 18px;
}

.hf-search-field {
	position: relative;
	display: flex;
}

.hf-search-field input[type="search"] {
	width: 100%;
	padding: 11px 44px 11px 16px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 14px;
	font-family: inherit;
	background: #fff;
}

.hf-search-field-icon {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: none;
	color: #889;
	font-size: 17px;
	cursor: pointer;
	padding: 0;
}

.hf-search-field-icon:hover {
	color: #4C9A76;
}

.hf-btn-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	padding: 0;
	font-size: 18px;
	flex-shrink: 0;
}

.hf-btn-white {
	background: #fff;
	color: #334;
	border: 1px solid #e2e2e2;
}

.hf-btn-white:hover {
	background: #f7f7f7;
	color: #334;
}

.hf-hero-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.hf-hero-visual {
	flex: 0 0 240px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.hf-hero-visual img {
	width: 100%;
	max-width: 240px;
	height: auto;
	display: block;
}

@media (max-width: 720px) {
	.hf-hero {
		flex-direction: column;
		text-align: center;
	}

	.hf-hero-content {
		text-align: center;
	}

	.hf-hero-subtitle {
		margin-left: auto;
		margin-right: auto;
	}

	.hf-hero-search,
	.hf-hero-actions {
		margin-left: auto;
		margin-right: auto;
		justify-content: center;
	}

	.hf-hero-visual {
		order: -1;
		flex-basis: auto;
		width: 140px;
	}

	.hf-hero-visual svg {
		max-width: 140px;
	}
}

.hf-search-form-inline {
	margin: 0 0 20px;
	max-width: 480px;
}

.hf-recent-title {
	margin-top: 32px;
}

.hf-home-columns {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 32px;
	align-items: start;
}

.hf-home-main,
.hf-home-side {
	padding-left: 0;
	min-width: 0;
}

@media (max-width: 780px) {
	.hf-home-columns {
		grid-template-columns: 1fr;
	}
}

.hf-reply-mini-list {
	list-style: none;
	margin: 0;
	padding: 0;
	border: 1px solid #eee;
	border-radius: 8px;
	overflow: hidden;
}

.hf-reply-mini-row {
	border-bottom: 1px solid #eee;
	background: #fff;
}

.hf-reply-mini-row:last-child {
	border-bottom: none;
}

.hf-reply-mini-row a {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 12px 16px;
	text-decoration: none;
	color: #333;
}

.hf-reply-mini-row img {
	border-radius: 50%;
	flex-shrink: 0;
}

.hf-reply-mini-main {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.hf-reply-mini-author {
	font-weight: 600;
	font-size: 13px;
	color: #223;
}

.hf-reply-mini-excerpt {
	font-size: 12px;
	color: #556;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hf-reply-mini-topic {
	font-size: 11px;
	color: #4C9A76;
	font-weight: 600;
	margin-top: 2px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* ---------------------------------------------------------------
 * Menu utilisateur (avatar + popover), remplace la cloche 🔔
 * ------------------------------------------------------------- */

.hf-user-menu {
	position: relative;
	display: inline-block;
}

.hf-user-menu-trigger {
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	line-height: 0;
}

.hf-user-avatar-wrap {
	position: relative;
	display: inline-flex;
	line-height: 0;
}

.hf-user-avatar-wrap img {
	border-radius: 50%;
	display: block;
}

.hf-avatar-dot {
	position: absolute;
	top: -1px;
	right: -1px;
	width: 10px;
	height: 10px;
	background: #C0607A;
	border: 2px solid #fff;
	border-radius: 50%;
}

.hf-user-menu-popover {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	width: 240px;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	padding: 8px;
	z-index: 100;
}

.hf-user-menu-header {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 10px 12px;
	border-bottom: 1px solid #eee;
	margin-bottom: 6px;
}

.hf-user-menu-header img {
	border-radius: 50%;
}

.hf-user-menu-name {
	font-weight: 600;
	font-size: 14px;
	color: #223;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hf-user-menu-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 10px;
	border-radius: 6px;
	text-decoration: none;
	color: #334;
	font-size: 13px;
}

.hf-user-menu-item i {
	font-size: 16px;
	color: #889;
}

.hf-user-menu-item:hover {
	background: #f5f7f6;
}

.hf-user-menu-item .hf-unread-badge {
	margin-left: auto;
}

.hf-user-menu-logout {
	border-top: 1px solid #eee;
	margin-top: 6px;
	padding-top: 12px;
	color: #a33;
}

.hf-user-menu-logout i {
	color: #c88;
}

/* ---------------------------------------------------------------
 * Bloc header : recherche compacte + avatar ou bouton "Se connecter"
 * ------------------------------------------------------------- */

.hf-header-widget {
	display: flex;
	align-items: center;
	gap: 12px;
}

.hf-header-search {
	margin: 0;
}

.hf-search-field-compact {
	width: 220px;
}

.hf-search-field-compact input[type="search"] {
	padding: 7px 36px 7px 12px;
	font-size: 13px;
	border-radius: 999px;
}

.hf-search-field-compact .hf-search-field-icon {
	width: 34px;
	font-size: 15px;
}

.hf-header-login-btn {
	white-space: nowrap;
}

@media (max-width: 480px) {
	.hf-search-field-compact {
		width: 150px;
	}
}

/* ---------------------------------------------------------------
 * Page "Toutes les catégories" — vue en liste
 * ------------------------------------------------------------- */

.hf-category-list-panel {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 12px;
	overflow: hidden;
}

.hf-category-list-panel-header {
	padding: 16px 18px;
	font-weight: 600;
	color: #667;
	font-size: 14px;
	border-bottom: 1px solid #eee;
}

.hf-category-list {
	display: flex;
	flex-direction: column;
}

.hf-category-list-row {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 18px;
	text-decoration: none;
	color: inherit;
	border-bottom: 1px solid #f0f0f0;
}

.hf-category-list-row:last-child {
	border-bottom: none;
}

.hf-category-list-row:hover {
	background: #fafafa;
}

.hf-category-list-name {
	flex: 1;
	font-weight: 600;
	font-size: 15px;
	color: #223;
}

.hf-category-list-count {
	font-size: 13px;
	color: #889;
}

.hf-category-list-chevron {
	color: #bbb;
	font-size: 18px;
}

/* ---------------------------------------------------------------
 * Vue catégorie — en-tête avec icône + onglets de filtre
 * ------------------------------------------------------------- */

.hf-category-header-title {
	display: flex;
	align-items: center;
	gap: 14px;
}

.hf-category-header-title .hf-category-icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	font-size: 20px;
	margin-bottom: 0;
	flex-shrink: 0;
}

.hf-category-header-title .hf-forum-title {
	margin-bottom: 2px;
}

.hf-category-header-count {
	font-size: 13px;
	color: #889;
}

.hf-filter-tabs {
	display: flex;
	gap: 6px;
	margin-bottom: 20px;
	border-bottom: 1px solid #eee;
}

.hf-filter-tab {
	padding: 10px 6px;
	margin-right: 18px;
	text-decoration: none;
	color: #889;
	font-size: 14px;
	font-weight: 600;
	border-bottom: 2px solid transparent;
}

.hf-filter-tab:hover {
	color: #4C9A76;
}

.hf-filter-tab-active {
	color: #4C9A76;
	border-bottom-color: #4C9A76;
}

/* ---------------------------------------------------------------
 * Vue d'un sujet — badge catégorie et méta empilée (nom / heure)
 * ------------------------------------------------------------- */

.hf-topic-meta-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.hf-post-meta-left {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: inherit;
}

.hf-post-meta-left img {
	border-radius: 50%;
}

.hf-post-meta-text {
	display: flex;
	flex-direction: column;
	line-height: 1.35;
}

.hf-post-meta-text .hf-post-author {
	font-weight: 600;
	color: #223;
	font-size: 14px;
}

.hf-post-meta-text .hf-post-date {
	color: #999;
	font-size: 12px;
}

.hf-topic-category-badge {
	flex-shrink: 0;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	padding: 5px 12px;
	border-radius: 999px;
	text-decoration: none;
}

.hf-report-link-topic {
	display: inline-block;
	margin: 8px 0 0;
}

.hf-bell {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	font-size: 18px;
	line-height: 1;
	padding: 6px;
}

.hf-bell-badge {
	position: absolute;
	top: -2px;
	right: -2px;
	background: #C0607A;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	padding: 3px 5px;
	border-radius: 999px;
	min-width: 8px;
	text-align: center;
}

.hf-bell-menu-item {
	display: inline-flex;
	align-items: center;
}

.hf-post-footer {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 12px;
}

.hf-post-footer .hf-report-link {
	margin-left: 0;
}

.hf-reactions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.hf-reaction-chips {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
}

.hf-reaction-chip-form {
	display: inline-block;
}

.hf-reaction-btn {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: #f7f7f7;
	border: 1px solid #eee;
	border-radius: 999px;
	padding: 4px 10px;
	font-size: 14px;
	cursor: pointer;
	line-height: 1.4;
}

button.hf-reaction-btn:hover {
	background: #eef6f0;
	border-color: #cde3d5;
}

.hf-reaction-active {
	background: #e4f2ea !important;
	border-color: #4C9A76 !important;
}

.hf-reaction-count {
	font-size: 12px;
	color: #667;
	font-weight: 600;
}

.hf-reaction-readonly {
	cursor: default;
}

.hf-reaction-hint {
	font-size: 12px;
	color: #999;
}

.hf-reaction-picker {
	position: relative;
}

.hf-reaction-add-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 1px solid #eee;
	background: #f7f7f7;
	color: #889;
	font-size: 16px;
	cursor: pointer;
	padding: 0;
}

.hf-reaction-add-btn:hover {
	background: #eef6f0;
	border-color: #cde3d5;
	color: #4C9A76;
}

.hf-reaction-popover {
	position: absolute;
	bottom: calc(100% + 8px);
	right: 0;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	padding: 8px;
	z-index: 50;
}

.hf-reaction-form {
	display: flex;
	gap: 4px;
}

.hf-reaction-picker-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 8px;
	border: 1px solid transparent;
	background: none;
	font-size: 18px;
	cursor: pointer;
}

.hf-reaction-picker-btn:hover {
	background: #f5f7f6;
}

.hf-reaction-picker-btn.hf-reaction-active {
	background: #e4f2ea !important;
	border-color: #4C9A76 !important;
}

/* ---------------------------------------------------------------
 * Pied de page du site
 * ------------------------------------------------------------- */

.hf-site-footer {
	background: #f3f6f2;
	border-top: 1px solid #e6e9e4;
	margin-top: 48px;
	padding: 40px 24px 0;
}

.hf-footer-columns {
	max-width: 1100px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 32px;
	padding-bottom: 32px;
}

.hf-footer-col {
	display: flex;
	flex-direction: column;
	gap: 9px;
}

.hf-footer-col a {
	color: #556;
	text-decoration: none;
	font-size: 13px;
}

.hf-footer-col a:hover {
	color: #4C9A76;
}

.hf-footer-col-title {
	margin: 0 0 4px;
	font-size: 13px;
	font-weight: 700;
	color: #889;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.hf-footer-brand {
	font-size: 18px;
	font-weight: 700;
	color: #223;
	margin-bottom: 4px;
}

.hf-footer-tagline {
	font-size: 13px;
	color: #667;
	line-height: 1.5;
	margin: 0;
}

.hf-footer-disclaimer {
	font-size: 12px;
	color: #889;
	line-height: 1.5;
	margin: 2px 0 0;
}

.hf-footer-bottom {
	max-width: 1100px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px 24px;
	padding: 18px 0;
	border-top: 1px solid #e6e9e4;
}

.hf-footer-copyright,
.hf-footer-emergency {
	font-size: 12px;
	color: #99a09b;
}

@media (max-width: 780px) {
	.hf-footer-columns {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 480px) {
	.hf-footer-columns {
		grid-template-columns: 1fr;
	}

	.hf-footer-bottom {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* ---------------------------------------------------------------
 * Modale de connexion / inscription
 * ------------------------------------------------------------- */

body.hf-modal-open {
	overflow: hidden;
}

.hf-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(20, 25, 30, 0.55);
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 6vh 16px;
	overflow-y: auto;
	z-index: 1000;
}

.hf-modal-overlay[hidden] {
	display: none;
}

.hf-modal-panel {
	width: 100%;
	max-width: 400px;
	margin: auto;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
	padding: 32px 28px 28px;
	position: relative;
	animation: hf-modal-in 0.16s ease-out;
}

@keyframes hf-modal-in {
	from {
		opacity: 0;
		transform: translateY(12px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.hf-modal-close-btn {
	position: absolute;
	top: 14px;
	right: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: none;
	background: none;
	color: #889;
	font-size: 18px;
	cursor: pointer;
}

.hf-modal-close-btn:hover {
	background: #f2f2f2;
	color: #445;
}

.hf-auth-title {
	margin: 0 0 6px;
	font-size: 20px;
}

.hf-auth-subtitle {
	color: #778;
	font-size: 13px;
	margin: 0 0 20px;
	min-height: 1px;
}

.hf-auth-error {
	background: #fdecec;
	border: 1px solid #f3caca;
	color: #a33;
	border-radius: 8px;
	padding: 10px 14px;
	font-size: 13px;
	margin-bottom: 16px;
}

.hf-field-label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #445;
	margin: 14px 0 6px;
}

.hf-field-input {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 14px;
	font-family: inherit;
	box-sizing: border-box;
}

.hf-btn-block {
	display: block;
	width: 100%;
	text-align: center;
	margin-top: 18px;
}

.hf-checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 12px;
	color: #667;
	margin-top: 14px;
	line-height: 1.5;
}

.hf-checkbox-label input {
	margin-top: 2px;
	flex-shrink: 0;
}

.hf-checkbox-label a {
	color: #4C9A76;
}

.hf-auth-switch {
	text-align: center;
	font-size: 13px;
	margin: 14px 0 0;
}

.hf-auth-switch a {
	color: #4C9A76;
	text-decoration: none;
}

.hf-auth-switch a:hover {
	text-decoration: underline;
}

/* Champ piège anti-robot : invisible pour un humain, rempli par les bots. */
.hf-hp-field {
	position: absolute;
	left: -9999px;
	top: -9999px;
	height: 0;
	overflow: hidden;
}

/* ---------------------------------------------------------------
 * Page "Paramètres du compte"
 * ------------------------------------------------------------- */

.hf-settings-notice {
	border-radius: 8px;
	padding: 10px 14px;
	font-size: 13px;
	margin-bottom: 18px;
}

.hf-settings-notice-success {
	background: #e4f2ea;
	border: 1px solid #cde3d5;
	color: #2f6b48;
}

.hf-settings-notice-error {
	background: #fdecec;
	border: 1px solid #f3caca;
	color: #a33;
}

.hf-settings-card {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 14px;
	padding: 22px 24px;
	margin-bottom: 20px;
	max-width: 560px;
}

.hf-settings-card-title {
	margin: 0 0 16px;
	font-size: 15px;
}

.hf-settings-hint {
	font-size: 12px;
	color: #889;
	margin: 10px 0 0;
	line-height: 1.5;
}

.hf-avatar-settings-row {
	display: flex;
	align-items: center;
	gap: 18px;
}

.hf-avatar-settings-row img {
	border-radius: 50%;
	flex-shrink: 0;
}

.hf-avatar-settings-actions {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
}

.hf-file-input-hidden {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.hf-file-btn {
	cursor: pointer;
	display: inline-block;
}

.hf-link-btn {
	background: none;
	border: none;
	padding: 0;
	color: #a33;
	font-size: 12px;
	text-decoration: underline;
	cursor: pointer;
}

.hf-settings-card-danger {
	border-color: #f3caca;
}

.hf-settings-card-danger .hf-settings-card-title {
	color: #a33;
}

.hf-btn-danger {
	background: #c0607a;
	color: #fff;
	border: none;
}

.hf-btn-danger:hover {
	background: #a84e66;
	color: #fff;
}

.hf-delete-account-form {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid #f3caca;
}

.hf-delete-account-form .hf-btn-danger {
	margin-top: 16px;
	margin-right: 10px;
}
