:root { --np-i-chat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H9l-5 4z'/%3E%3Cpath d='M8 9h8M8 12h5'/%3E%3C/svg%3E"); }
/* =========================================================
   Forum NeuroPropulse (bbPress) — remplace le style de base de bbPress
   ========================================================= */
.np-forum { --fr: 22px; }
.forum-values { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: -26px 0 0; padding: 0; position: relative; z-index: 2; }
.forum-values__i { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 99px; background: #fff; box-shadow: var(--shadow); font-family: var(--font-title); font-weight: 700; color: var(--navy); }
.forum-values__i .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; color: #fff; background: var(--blue); box-sizing: content-box; }
.forum-values__i--orange .icon { background: var(--orange); }
.forum-values__i--mint .icon { background: #2F8F74; }
.forum-values__i--navy .icon { background: var(--navy); }
.forum-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.forum-main { min-width: 0; }
.forum-aside { display: grid; gap: 16px; position: sticky; top: 96px; }
.forum-card { background: #fff; border: 1px solid var(--line); border-radius: var(--fr); padding: 20px; box-shadow: var(--shadow); }
.forum-card h2 { display: flex; align-items: center; gap: 8px; font-size: 1.15rem; margin: 0 0 12px; color: var(--navy); }
.forum-card h2 .icon { color: var(--orange); }
.forum-card ol { margin: 0; padding: 0; list-style: none; counter-reset: r; display: grid; gap: 10px; }
.forum-card ol li { counter-increment: r; display: grid; grid-template-columns: 28px 1fr; column-gap: 10px; font-size: .95rem; }
.forum-card ol li::before { content: counter(r); grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-soft); color: var(--navy); font-weight: 800; }
.forum-card ol li span { color: var(--ink-soft); }
.forum-card--tips { background: var(--cream, #F9E6D1); border-color: transparent; }
.forum-card--tips ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; }
.forum-card--help { border: 2px solid #F3B3A6; }
.forum-help { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.forum-help li { display: grid; gap: 0; }
.forum-help strong { font-size: 1.25rem; color: #B3261E; font-family: var(--font-title); }
.forum-help strong a { color: inherit; font-size: 1rem; }
.forum-help span { font-size: .9rem; color: var(--ink-soft); }
.forum-modo { display: flex; gap: 8px; align-items: center; font-size: .92rem; margin: 0; }
.forum-join { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; padding: 20px; margin-bottom: 22px; border-radius: var(--fr); background: linear-gradient(120deg, #FFF1E6, #E8F1FC); border: 1px solid var(--line); }
.forum-join > div { flex: 1 1 300px; min-width: 0; }
.forum-join h2 { font-size: 1.2rem; margin: 0 0 4px; }
.forum-join p { margin: 0; color: var(--ink-soft); }
.forum-join__i { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; background: #fff; color: var(--orange); flex: none; }

/* Base bbPress */
#bbpress-forums { font-size: 1rem; line-height: 1.6; color: var(--ink); margin: 0; overflow: visible; }
#bbpress-forums ul, #bbpress-forums ol { list-style: none; margin: 0; padding: 0; }
#bbpress-forums a { color: var(--navy); }
#bbpress-forums .bbp-breadcrumb { margin: 0 0 14px; font-size: .92rem; }
#bbpress-forums .bbp-breadcrumb p { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
#bbpress-forums .bbp-breadcrumb a, #bbpress-forums .bbp-breadcrumb-current { padding: 4px 12px; border-radius: 99px; background: #fff; border: 1px solid var(--line); text-decoration: none; }
#bbpress-forums .bbp-breadcrumb-current { background: var(--navy); color: #fff; border-color: var(--navy); }
#bbpress-forums .bbp-breadcrumb-sep { color: var(--ink-soft); }
#bbpress-forums div.bbp-search-form { float: none; margin: 0 0 18px; }
#bbpress-forums #bbp-search-form > div { display: flex; gap: 8px; min-width: 0; }
#bbpress-forums #bbp_search_submit { flex: none; }
#bbpress-forums #bbp_search { flex: 1 1 160px; min-width: 0; width: 100%; min-height: 48px; padding: 0 18px; border-radius: 99px; border: 2px solid var(--line); font: inherit; background: #fff; }
#bbpress-forums #bbp_search:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 4px var(--blue-soft); }
#bbpress-forums #bbp_search_submit, #bbpress-forums .button, #bbpress-forums button.submit, #bbpress-forums input[type=submit] { min-height: 48px; padding: 0 22px; border-radius: 99px; border: 0; background: var(--orange); color: #fff; font: inherit; font-family: var(--font-title); font-weight: 700; cursor: pointer; box-shadow: 0 8px 18px -8px rgba(255, 140, 66, .8); }
#bbpress-forums #bbp_search_submit:hover, #bbpress-forums .button:hover, #bbpress-forums button.submit:hover { filter: brightness(.95); }
#bbpress-forums .bbp-template-notice { border: 0; border-radius: 16px; padding: 14px 18px 14px 50px; margin: 0 0 18px; background: var(--blue-soft) no-repeat 16px 50%; position: relative; font-size: .95rem; }
#bbpress-forums .bbp-template-notice::before { content: ""; position: absolute; left: 16px; top: 50%; width: 22px; height: 22px; margin-top: -11px; background: var(--navy); -webkit-mask: var(--np-i-chat) center / contain no-repeat; mask: var(--np-i-chat) center / contain no-repeat; }
#bbpress-forums .bbp-template-notice p, #bbpress-forums .bbp-template-notice ul { margin: 0; }
#bbpress-forums .bbp-template-notice.error, #bbpress-forums .bbp-template-notice.warning { background-color: #FFE7E2; }
#bbpress-forums li.bbp-header, #bbpress-forums li.bbp-footer { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Liste des forums : cartes */
#bbpress-forums ul.bbp-forums { border: 0; }
#bbpress-forums ul.bbp-forums > li.bbp-body { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
#bbpress-forums li.bbp-body > ul.forum { --fc: var(--blue); --fs: var(--blue-soft); position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; padding: 22px 22px 18px 92px; border-radius: var(--fr); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; min-height: 150px; }
#bbpress-forums li.bbp-body > ul.forum::before { content: ""; position: absolute; left: 20px; top: 22px; width: 56px; height: 56px; border-radius: 18px; background: var(--fs); }
#bbpress-forums li.bbp-body > ul.forum::after { content: ""; position: absolute; left: 34px; top: 36px; width: 28px; height: 28px; background: var(--fc); -webkit-mask: var(--fi, var(--np-i-chat)) center / contain no-repeat; mask: var(--fi, var(--np-i-chat)) center / contain no-repeat; }
#bbpress-forums li.bbp-body > ul.forum:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
#bbpress-forums ul.forum > li { float: none; width: auto; padding: 0; text-align: left; }
#bbpress-forums ul.forum li.bbp-forum-info { grid-column: 1 / -1; }
#bbpress-forums a.bbp-forum-title { font-family: var(--font-title); font-size: 1.25rem; font-weight: 700; text-decoration: none; color: var(--navy); }
#bbpress-forums a.bbp-forum-title::after { content: ""; position: absolute; inset: 0; border-radius: var(--fr); }
#bbpress-forums .bbp-forum-content { margin-top: 4px; color: var(--ink-soft); font-size: .95rem; }
#bbpress-forums li.bbp-forum-topic-count, #bbpress-forums li.bbp-forum-reply-count { display: inline-flex; align-items: baseline; gap: 4px; font-weight: 800; color: var(--fc); font-size: 1.1rem; }
#bbpress-forums li.bbp-forum-topic-count::after { content: "sujets"; font-weight: 600; font-size: .85rem; color: var(--ink-soft); }
#bbpress-forums li.bbp-forum-reply-count::after { content: "messages"; font-weight: 600; font-size: .85rem; color: var(--ink-soft); }
#bbpress-forums li.bbp-forum-freshness { grid-column: 1 / -1; font-size: .85rem; color: var(--ink-soft); border-top: 1px dashed var(--line); padding-top: 8px; position: relative; z-index: 1; }
#bbpress-forums li.bbp-forum-freshness::before { content: "Dernière activité : "; }
#bbpress-forums .bbp-forum-freshness a, #bbpress-forums .bbp-topic-freshness a { color: var(--ink-soft); }
#bbpress-forums p.bbp-topic-meta { margin: 2px 0 0; display: inline-flex; align-items: center; gap: 6px; }
#bbpress-forums p.bbp-topic-meta img.avatar, #bbpress-forums .bbp-topic-started-by img.avatar { width: 22px; height: 22px; border-radius: 50%; vertical-align: middle; margin: 0 4px 0 0; border: 0; }
#bbpress-forums .bbp-forums-list { margin-top: 6px; border: 0; font-size: .9rem; }
#bbpress-forums .bbp-forums-list li { display: inline; }
#bbpress-forums ul.status-closed a.bbp-forum-title::before, #bbpress-forums ul.status-closed a.bbp-topic-permalink::before { content: "🔒 "; }
#bbpress-forums ul.forum.status-private .bbp-forum-content::after { content: " · Réservé aux membres"; color: #2F8F74; font-weight: 700; }

/* Liste des sujets */
#bbpress-forums ul.bbp-topics { border: 0; }
#bbpress-forums ul.bbp-topics > li.bbp-body { display: grid; gap: 12px; }
#bbpress-forums li.bbp-body > ul.topic { display: grid; grid-template-columns: minmax(0, 1fr) 90px 90px 170px; gap: 12px; align-items: center; padding: 16px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--blue); transition: box-shadow .2s; }
#bbpress-forums li.bbp-body > ul.topic:hover { box-shadow: var(--shadow); }
#bbpress-forums li.bbp-body > ul.topic.sticky, #bbpress-forums li.bbp-body > ul.topic.super-sticky { border-left-color: var(--orange); background: #FFF8F1; }
#bbpress-forums ul.topic.sticky a.bbp-topic-permalink::before, #bbpress-forums ul.topic.super-sticky a.bbp-topic-permalink::before { content: "📌 "; }
#bbpress-forums ul.topic > li { float: none; width: auto; padding: 0; text-align: left; }
#bbpress-forums a.bbp-topic-permalink { font-family: var(--font-title); font-weight: 700; font-size: 1.1rem; text-decoration: none; }
#bbpress-forums li.bbp-topic-voice-count, #bbpress-forums li.bbp-topic-reply-count { text-align: center; font-weight: 800; color: var(--navy); }
#bbpress-forums li.bbp-topic-voice-count::after { content: "participants"; display: block; font-weight: 600; font-size: .78rem; color: var(--ink-soft); }
#bbpress-forums li.bbp-topic-reply-count::after { content: "réponses"; display: block; font-weight: 600; font-size: .78rem; color: var(--ink-soft); }
#bbpress-forums li.bbp-topic-freshness { font-size: .85rem; color: var(--ink-soft); }
#bbpress-forums .bbp-topic-pagination { display: inline-flex; gap: 4px; margin-left: 6px; font-size: .8rem; }
#bbpress-forums .bbp-topic-pagination a { padding: 0 6px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; }

/* Discussion : bulles */
#bbpress-forums ul.bbp-replies, #bbpress-forums ul.bbp-lead-topic { border: 0; margin-bottom: 18px; }
#bbpress-forums ul.bbp-replies > li.bbp-body, #bbpress-forums ul.bbp-lead-topic > li.bbp-body { display: grid; gap: 4px; }
#bbpress-forums div.bbp-reply-header, #bbpress-forums div.bbp-topic-header { background: none; border: 0; padding: 0 0 0 132px; margin-top: 14px; font-size: .82rem; color: var(--ink-soft); }
#bbpress-forums .bbp-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
#bbpress-forums .bbp-meta .bbp-reply-permalink, #bbpress-forums .bbp-meta .bbp-topic-permalink { margin-left: auto; color: var(--ink-soft); text-decoration: none; font-size: .8rem; }
#bbpress-forums span.bbp-admin-links { float: none; color: var(--ink-soft); }
#bbpress-forums span.bbp-admin-links a { color: var(--ink-soft); text-transform: none; font-size: .8rem; }
#bbpress-forums li.bbp-body > div.type-reply, #bbpress-forums li.bbp-body > div.type-topic { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 16px; background: none !important; border: 0; padding: 0; overflow: visible; }
#bbpress-forums div.bbp-reply-author, #bbpress-forums div.bbp-topic-author { float: none; width: auto; margin: 0; text-align: center; font-size: .88rem; }
#bbpress-forums div.bbp-reply-author img.avatar, #bbpress-forums div.bbp-topic-author img.avatar { width: 72px; height: 72px; max-width: none; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 0 0 2px var(--line); margin: 0 auto 6px; display: block; }
#bbpress-forums .bbp-author-name { display: block; font-weight: 800; color: var(--navy); overflow-wrap: anywhere; }
#bbpress-forums div.bbp-author-role { font-size: .75rem; margin-top: 2px; display: inline-block; padding: 1px 8px; border-radius: 99px; background: var(--blue-soft); color: var(--navy); }
#bbpress-forums .bbp-author-ip { display: none; }
#bbpress-forums div.bbp-reply-content, #bbpress-forums div.bbp-topic-content { margin: 0; padding: 18px 22px; min-height: 0; position: relative; border-radius: 6px 22px 22px 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 1.02rem; overflow-wrap: anywhere; }
#bbpress-forums div.bbp-reply-content::before, #bbpress-forums div.bbp-topic-content::before { content: ""; position: absolute; left: -9px; top: 18px; width: 16px; height: 16px; background: inherit; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(45deg); }
#bbpress-forums div.bbp-reply-content p, #bbpress-forums div.bbp-topic-content p { margin: 0 0 .7em; }
#bbpress-forums div.bbp-reply-content > *:last-child { margin-bottom: 0; }
#bbpress-forums li.bbp-body > div.type-topic div.bbp-topic-content, #bbpress-forums li.bbp-body > div.type-topic div.bbp-reply-content, #bbpress-forums li.bbp-body > div.bbp-reply-position-1 div.bbp-reply-content { background: #F1F8F5; border-color: #BFE0D4; }
#bbpress-forums li.bbp-body > div.topic-author .bbp-author-role { background: #FFE8D6; color: #9A4512; }
#bbpress-forums li.bbp-body > div.topic-author .bbp-author-role::after { content: " · auteur du sujet"; }
#bbpress-forums blockquote { margin: .6em 0; padding: 10px 14px; border-left: 4px solid var(--orange); background: #FFF8F1; border-radius: 0 12px 12px 0; }
#bbpress-forums .bbp-reply-revision-log, #bbpress-forums .bbp-topic-revision-log { border: 0; margin: 8px 0 0; font-size: .8rem; color: var(--ink-soft); }
#bbpress-forums .bbp-reply-revision-log img, #bbpress-forums .bbp-topic-revision-log img { display: none; }

/* Abonnement, favoris, mots-clés */
#bbpress-forums #subscription-toggle, #bbpress-forums #favorite-toggle { float: none; display: inline-block; margin: 0 8px 14px 0; }
#bbpress-forums .subscription-toggle, #bbpress-forums .favorite-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 99px; border: 2px solid var(--navy); text-decoration: none; font-weight: 700; font-size: .9rem; }
#bbpress-forums .is-subscribed .subscription-toggle, #bbpress-forums .is-favorite .favorite-toggle { background: var(--navy); color: #fff; }
#bbpress-forums .bbp-topic-tags { float: none; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
#bbpress-forums .bbp-topic-tags a { padding: 3px 12px; border-radius: 99px; background: var(--blue-soft); text-decoration: none; font-size: .85rem; }

/* Pagination */
#bbpress-forums .bbp-pagination { float: none; width: 100%; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; margin: 14px 0; font-size: .9rem; color: var(--ink-soft); }
#bbpress-forums .bbp-pagination-count, #bbpress-forums .bbp-pagination-links { float: none; }
#bbpress-forums .bbp-pagination-links { display: flex; gap: 6px; }
#bbpress-forums .bbp-pagination-links a, #bbpress-forums .bbp-pagination-links span.current { min-width: 38px; height: 38px; padding: 0 10px; display: inline-grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: #fff; text-decoration: none; font-weight: 700; }
#bbpress-forums .bbp-pagination-links span.current { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Formulaires (nouveau sujet, réponse) */
#bbpress-forums fieldset.bbp-form { margin: 24px 0 0; padding: 24px; border: 0; border-radius: var(--fr); background: linear-gradient(160deg, #FFF8F1, #F2F7FD); box-shadow: var(--shadow); }
#bbpress-forums fieldset.bbp-form legend { float: left; width: 100%; padding: 0 0 12px; font-family: var(--font-title); font-weight: 700; font-size: 1.3rem; color: var(--navy); }
#bbpress-forums fieldset.bbp-form legend + * { clear: both; }
#bbpress-forums fieldset.bbp-form fieldset.bbp-form { margin: 0; padding: 0; background: none; box-shadow: none; }
#bbpress-forums fieldset.bbp-form p, #bbpress-forums fieldset.bbp-form > div > div { margin: 0 0 14px; }
#bbpress-forums fieldset.bbp-form label { display: block; font-weight: 700; margin-bottom: 6px; }
#bbpress-forums fieldset.bbp-form input[type=text], #bbpress-forums fieldset.bbp-form select, #bbpress-forums fieldset.bbp-form textarea { width: 100%; max-width: 100%; box-sizing: border-box; padding: 12px 14px; border-radius: 14px; border: 2px solid var(--line); background: #fff; font: inherit; color: var(--ink); }
#bbpress-forums fieldset.bbp-form textarea { min-height: 180px; line-height: 1.6; }
#bbpress-forums fieldset.bbp-form input:focus, #bbpress-forums fieldset.bbp-form textarea:focus, #bbpress-forums fieldset.bbp-form select:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 4px var(--blue-soft); }
#bbpress-forums fieldset.bbp-form input[type=checkbox] { width: 20px; height: 20px; vertical-align: -4px; margin-right: 6px; }
#bbpress-forums fieldset.bbp-form input[type=checkbox] + label { display: inline; font-weight: 600; }
#bbpress-forums .wp-editor-container { border: 0; }
#bbpress-forums .quicktags-toolbar { border: 2px solid var(--line); border-bottom: 0; border-radius: 14px 14px 0 0; background: #fff; padding: 6px; }
#bbpress-forums .quicktags-toolbar + textarea, #bbpress-forums .wp-editor-container textarea { border-radius: 0 0 14px 14px; }
#bbpress-forums .quicktags-toolbar input { min-height: 32px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line); background: #F7F7F7; color: var(--ink); box-shadow: none; font-weight: 700; }
#bbpress-forums .bbp-submit-wrapper { float: none; display: flex; justify-content: flex-end; margin-top: 6px; }
#bbpress-forums .bbp-the-content-wrapper { margin-bottom: 14px; }
#bbpress-forums fieldset.bbp-form .bbp-template-notice { margin-bottom: 14px; }
#bbpress-forums .bbp-form .bbp-template-notice:first-of-type::after { content: " Rappel : pas de nom d'enfant, d'école ni d'information médicale permettant de l'identifier."; font-weight: 700; }

/* Connexion, profils */
#bbpress-forums .bbp-login-form, .bbp-login-form { display: grid; gap: 10px; }
#bbpress-forums #bbp-user-wrapper h2.entry-title { font-size: 1.4rem; }
#bbpress-forums #bbp-single-user-details { float: none; width: auto; display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
#bbpress-forums #bbp-single-user-details #bbp-user-avatar img { border-radius: 50%; }
#bbpress-forums #bbp-user-body { margin: 0; }
#bbpress-forums #bbp-single-user-details #bbp-user-navigation { float: none; }
#bbpress-forums #bbp-single-user-details #bbp-user-navigation li { display: inline-block; margin: 0 6px 6px 0; }
#bbpress-forums #bbp-single-user-details #bbp-user-navigation a { padding: 6px 12px; border-radius: 99px; background: #fff; border: 1px solid var(--line); text-decoration: none; }
#bbpress-forums #bbp-single-user-details #bbp-user-navigation .current a { background: var(--navy); color: #fff; }

/* Confort de lecture */
.mode-dys #bbpress-forums div.bbp-reply-content, .mode-dys #bbpress-forums div.bbp-topic-content { line-height: 1.9; letter-spacing: .02em; word-spacing: .12em; max-width: 72ch; }
.mode-contraste #bbpress-forums div.bbp-reply-content, .mode-contraste #bbpress-forums li.bbp-body > ul.forum, .mode-contraste #bbpress-forums li.bbp-body > ul.topic { border: 2px solid var(--ink); }
.mode-calme #bbpress-forums li.bbp-body > ul.forum, .mode-calme #bbpress-forums li.bbp-body > ul.topic { transition: none; }
.mode-calme #bbpress-forums li.bbp-body > ul.forum:hover { transform: none; }

@media (max-width: 1080px) {
	.forum-layout { grid-template-columns: minmax(0, 1fr); }
	.forum-aside { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
@media (max-width: 720px) {
	.forum-values { margin-top: 14px; justify-content: flex-start; }
	.forum-values__i { padding: 8px 14px; font-size: .9rem; }
	#bbpress-forums ul.bbp-forums > li.bbp-body { grid-template-columns: minmax(0, 1fr); }
	#bbpress-forums li.bbp-body > ul.forum { padding: 18px 18px 14px 84px; }
	#bbpress-forums li.bbp-body > ul.topic { grid-template-columns: 1fr 1fr; }
	#bbpress-forums li.bbp-body > ul.topic li.bbp-topic-title, #bbpress-forums li.bbp-body > ul.topic li.bbp-topic-freshness { grid-column: 1 / -1; }
	#bbpress-forums li.bbp-topic-voice-count, #bbpress-forums li.bbp-topic-reply-count { text-align: left; }
	#bbpress-forums li.bbp-body > div.type-reply, #bbpress-forums li.bbp-body > div.type-topic { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	#bbpress-forums div.bbp-reply-author, #bbpress-forums div.bbp-topic-author { display: flex; align-items: center; gap: 10px; text-align: left; }
	#bbpress-forums div.bbp-reply-author img.avatar, #bbpress-forums div.bbp-topic-author img.avatar { width: 44px; height: 44px; margin: 0; border-width: 2px; }
	#bbpress-forums div.bbp-reply-author br, #bbpress-forums div.bbp-topic-author br { display: none; }
	#bbpress-forums div.bbp-reply-header, #bbpress-forums div.bbp-topic-header { padding-left: 0; }
	#bbpress-forums div.bbp-reply-content::before, #bbpress-forums div.bbp-topic-content::before { left: 22px; top: -9px; border-left: 1px solid var(--line); border-bottom: 0; border-top: 1px solid var(--line); }
	#bbpress-forums div.bbp-reply-content, #bbpress-forums div.bbp-topic-content { border-radius: 22px; }
	#bbpress-forums fieldset.bbp-form { padding: 18px; }
	#bbpress-forums .bbp-submit-wrapper button { width: 100%; }
}

#bbpress-forums li.bbp-body > ul.forum:nth-child(6n+1) { --fc: #FF8C42; --fs: #FFE8D6; --fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.4-9-9a4.8 4.8 0 0 1 9-3 4.8 4.8 0 0 1 9 3c-2 4.6-9 9-9 9z'/%3E%3C/svg%3E"); }
#bbpress-forums li.bbp-body > ul.forum:nth-child(6n+2) { --fc: #4A90E2; --fs: #E4EEF9; --fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H9l-5 4z'/%3E%3Cpath d='M8 9h8M8 12h5'/%3E%3C/svg%3E"); }
#bbpress-forums li.bbp-body > ul.forum:nth-child(6n+3) { --fc: #2F8F74; --fs: #E1F1EB; --fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10 12 5l9 5-9 5z'/%3E%3Cpath d='M7 12v5c3 2 7 2 10 0v-5'/%3E%3Cpath d='M21 10v6'/%3E%3C/svg%3E"); }
#bbpress-forums li.bbp-body > ul.forum:nth-child(6n+4) { --fc: #24507F; --fs: #E3EAF3; --fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5a2 2 0 0 1 2-2h13v16H6a2 2 0 0 0-2 2z'/%3E%3Cpath d='M4 21V5'/%3E%3Cpath d='M8 7h7M8 11h5'/%3E%3C/svg%3E"); }
#bbpress-forums li.bbp-body > ul.forum:nth-child(6n+5) { --fc: #C9761E; --fs: #FFF1DB; --fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z'/%3E%3C/svg%3E"); }
#bbpress-forums li.bbp-body > ul.forum:nth-child(6n+6) { --fc: #7A5BC0; --fs: #EEE8FA; --fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='13' rx='2.5'/%3E%3Cpath d='M9 7V5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2M3 13h18'/%3E%3C/svg%3E"); }

/* Correctifs d'affichage */
#bbpress-forums .screen-reader-text, #bbpress-forums .hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#bbpress-forums a.bbp-author-link { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
#bbpress-forums div.bbp-reply-author a.bbp-author-link, #bbpress-forums div.bbp-topic-author a.bbp-author-link { flex-direction: column; gap: 0; }
#bbpress-forums div.bbp-reply-author br, #bbpress-forums div.bbp-topic-author br { display: none; }
#bbpress-forums li.bbp-topic-title p.bbp-topic-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; font-size: .88rem; color: var(--ink-soft); }
#bbpress-forums li.bbp-topic-title a.bbp-topic-permalink { display: block; }
#bbpress-forums li.bbp-topic-freshness p.bbp-topic-meta, #bbpress-forums li.bbp-forum-freshness p.bbp-topic-meta { display: flex; margin: 4px 0 0; }
#bbpress-forums li.bbp-forum-freshness p.bbp-topic-meta { display: inline-flex; margin-left: 8px; }
#bbpress-forums .bbp-author-link .bbp-author-name { font-weight: 700; }
@media (max-width: 720px) {
	#bbpress-forums div.bbp-reply-author a.bbp-author-link, #bbpress-forums div.bbp-topic-author a.bbp-author-link { flex-direction: row; gap: 10px; }
}
