/* Détection des bloqueurs de publicité (support/notice.js) : un seul bandeau en haut de chaque page du forum
   (04/12/2026), aux couleurs du forum (couleur du texte, fond légèrement teinté), clair et sombre. Noms neutres : les
   listes des bloqueurs cachent souvent ce qui contient « ad ». */
.hs-support-banner {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 10px 0;
	padding: 10px 44px 10px 12px;
	border: 1px solid rgba(16, 82, 137, 0.25);
	border-left: 4px solid #105289;
	border-radius: 7px;
	background-color: rgba(16, 82, 137, 0.07);
	font-size: 1.1em;
	line-height: 1.5;
}

.hs-support-icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background-color: #105289;
	color: #fff;
	font-size: 15px;
}

.hs-support-text {
	flex: 1 1 auto;
	margin: 0;
}

.hs-support-text a {
	font-weight: bold;
	white-space: nowrap;
}

.hs-support-close {
	position: absolute;
	top: 50%;
	right: 8px;
	transform: translateY(-50%);
	padding: 4px;
	border: 0;
	border-radius: 4px;
	background: none;
	color: inherit;
	opacity: 0.7;
	cursor: pointer;
}

.hs-support-close:hover,
.hs-support-close:focus {
	opacity: 1;
	background-color: rgba(16, 82, 137, 0.12);
}

/* Mode nuit (data-theme sur <html>) : accent plus clair, lisible sur fond sombre. */
html[data-theme="dark"] .hs-support-banner {
	border-color: rgba(120, 170, 230, 0.3);
	border-left-color: #78aae6;
	background-color: rgba(120, 170, 230, 0.1);
}

html[data-theme="dark"] .hs-support-icon {
	background-color: #78aae6;
	color: #1e1e1e;
}

/* Bloqueur détecté : emplacements publicitaires masqués, aucun vide laissé dans la page. */
.hs-support-blocked .hs-advertisement {
	display: none !important;
}

.hs-support-banner[hidden] {
	display: none;
}

@media (max-width: 700px) {
	.hs-support-banner {
		font-size: 1em;
	}
}
