/* ==========================================================
   SUNSET BLD – Refonte du forum (étape 2 : style général)
   Chargé APRÈS sunset.css. Pour revenir en arrière :
   retirer la ligne qui charge ce fichier dans overall_header.html.
   ========================================================== */

/* ---------- 1. Fond, couleurs, titres ---------- */
html, body { background-color: #FAF7F2; color: #1F1B16; }
.wrap { background: transparent; padding: 10px 10px 40px; }

h1, h2.forum-title, h2.topic-title, h2.searchresults-title {
	color: #1F1B16;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: 900;
	letter-spacing: -0.3px;
}
h2.forum-title a, h2.topic-title a { color: #1F1B16; }
h2.forum-title, h2.topic-title { font-size: 2.8em; line-height: 1.2; margin: 18px 0 12px; }

a { color: #1F1B16; }
a:hover, a:focus { color: #A85800; }

/* « Nous sommes le … » : discret */
p.time, .page-body > p.right.time { color: #6B635A; font-size: 1.2em; }

/* ---------- 2. Barre « Accès rapide / FAQ / Connexion » + fil d'Ariane ----------
   Plus d'encadré : une barre légère soulignée d'un filet, comme une sous-navigation. */
.navbar {
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 4px 0 12px;
	border-bottom: 1px solid #EDE6DC;
	margin-bottom: 10px;
}
.navbar ul.linklist { border-top: 0; padding: 4px 0; }
.navbar ul.linklist > li { font-size: 14px; }
#nav-main > li > a { color: #6B635A; font-weight: 600; }
#nav-main > li > a:hover { color: #A85800; text-decoration: none; }
.navbar .icon { color: #C46A00; }

/* « Créer un compte » en bouton orange */
#nav-main a[href*="mode=register"] {
	background: #FF9900;
	color: #1F1B16;
	font-weight: 700;
	border-radius: 999px;
	padding: 6px 14px;
	margin: -6px 0;
	display: inline-block;
}
#nav-main a[href*="mode=register"] .icon { color: #1F1B16; }
#nav-main a[href*="mode=register"]:hover { background: #E68A00; color: #1F1B16; text-decoration: none; }

/* Fil d'Ariane : discret, séparé par « / », la page en cours en gras */
#nav-breadcrumbs { margin-top: 2px; }
#nav-breadcrumbs > li { font-size: 13px; }
.breadcrumbs .crumb { font-weight: 400; }
.breadcrumbs .crumb a { color: #6B635A; }
.breadcrumbs .crumb:last-child a { color: #1F1B16; font-weight: 700; }
.breadcrumbs .crumb a:hover { color: #A85800; text-decoration: none; }
.breadcrumbs .crumb:before { content: "/"; color: #CDBFAE; padding: 0 8px 0 6px; font-weight: 400; }
.breadcrumbs .crumb:first-child:before { content: none; }

/* ---------- 3. Blocs de catégories (accueil, sous-forums, liste de sujets) ---------- */
.forabg, .forumbg {
	background: transparent;
	padding: 0;
	margin-bottom: 40px;
	border-radius: 0;
}
.forabg .inner, .forumbg .inner { background: transparent; }

/* En-tête de bloc : libellé orange en petites capitales, plus de bandeau taupe */
ul.topiclist li.header,
.forabg li.header, .forumbg li.header {
	background: none;
	border: 0;
	color: #6B635A;
	padding: 0 0 10px;
}
li.header dl.row-item dt,
li.header dl.row-item dd {
	color: #6B635A;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	padding-top: 0;
	padding-bottom: 0;
	border: 0;
}
li.header dl.row-item dt,
li.header dl.row-item dt a,
li.header dl.row-item dt .list-inner {
	color: #A85800;
	font-size: 13px;
	letter-spacing: 1.5px;
	padding-left: 0;
}
.forumbg .header a:hover, .forabg .header a:hover { color: #7A3F00; }

/* Les lignes deviennent des cartes */
ul.topiclist.forums, ul.topiclist.topics, ul.topiclist.missing-column {
	background: transparent;
}
ul.topiclist.forums > li.row,
ul.topiclist.topics > li.row,
ul.topiclist > li.row.bg1,
ul.topiclist > li.row.bg2 {
	background: #FFFFFF;
	border: 1px solid #EDE6DC;
	border-radius: 16px;
	margin: 0 0 12px;
	transition: border-color .15s, box-shadow .15s;
}
ul.topiclist > li.row:hover {
	background: #FFFFFF;
	border-color: #FF9900;
	box-shadow: 0 4px 14px rgba(31, 27, 22, 0.06);
}
/* Sujets épinglés et annonces : léger fond crème */
ul.topiclist > li.row.sticky,
ul.topiclist > li.row.announce,
ul.topiclist > li.row.global-announce { background: #FFFBF4; }

dl.row-item {
	padding: 16px 10px;
	background-position: 18px 50%;
	background-size: 48px 48px;
}
dl.row-item dt .list-inner { padding-left: 64px; }
li.header dl.row-item { padding: 0 10px; }

/* Icônes de sujets : 40 px (un peu plus petites que celles des forums) */
ul.topiclist.topics dl.row-item, ul.topiclist.cplist dl.row-item { background-size: 40px 40px; background-position: 14px 50%; }
ul.topiclist.topics dl.row-item dt .list-inner { padding-left: 58px; }
dl.row-item dd { border-left: 0; }

/* Titres de forums et de sujets */
a.forumtitle {
	color: #1F1B16;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.3;
}
a.topictitle {
	color: #1F1B16;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.35;
}
a.forumtitle:hover, a.topictitle:hover { color: #A85800; text-decoration: none; }

/* Description des forums et méta des sujets */
ul.topiclist.forums dt .list-inner { color: #6B635A; font-size: 14px; line-height: 1.5; }
ul.topiclist.topics dt .list-inner { color: #6B635A; font-size: 13px; line-height: 1.5; }

/* Colonnes chiffrées et dernier message */
ul.topiclist.forums dd.topics, ul.topiclist.forums dd.posts,
ul.topiclist.topics dd.posts, ul.topiclist.topics dd.views {
	color: #1F1B16;
	font-size: 15px;
	font-weight: 700;
}
dd.lastpost { color: #6B635A; font-size: 13px; line-height: 1.5; }
dd.lastpost a.lastsubject { color: #1F1B16; font-weight: 700; }

/* ---------- 4. Une icône par forum ---------- */
/* Icône générique (forums non listés ci-dessous) */
ul.topiclist.forums dl.row-item {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Crect width='48' height='48' rx='14' fill='%23FFF1DC'/%3E%3Cg transform='translate(12 12)' fill='none' stroke='%23C46A00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h12v9H8l-4 3z'/%3E%3Cpath d='M16 9h4v9l-3-2h-7v-2'/%3E%3C/g%3E%3C/svg%3E");
}
/* Road trip dans l'Ouest américain (f=2) : mesas */
li.row:has(a.forumtitle[href*="?f=2&"]) dl.row-item,
li.row:has(a.forumtitle[href$="?f=2"]) dl.row-item {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Crect width='48' height='48' rx='14' fill='%23FFF1DC'/%3E%3Cg transform='translate(12 12)' fill='none' stroke='%23C46A00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 20h18'/%3E%3Cpath d='M5 20V11l3-2h3l1 3v8'/%3E%3Cpath d='M14 20v-6l2-2h3l1 2v6'/%3E%3C/g%3E%3C/svg%3E");
}
/* New York et l'Est (f=25) : gratte-ciel */
li.row:has(a.forumtitle[href*="?f=25&"]) dl.row-item,
li.row:has(a.forumtitle[href$="?f=25"]) dl.row-item {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Crect width='48' height='48' rx='14' fill='%23E8F0F7'/%3E%3Cg transform='translate(12 12)' fill='none' stroke='%23234A6B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M5 21V9h4v12'/%3E%3Cpath d='M10 21V4h4v17'/%3E%3Cpath d='M15 21v-9h4v9'/%3E%3C/g%3E%3C/svg%3E");
}
/* Billets d'avion (f=57) : avion */
li.row:has(a.forumtitle[href*="?f=57&"]) dl.row-item,
li.row:has(a.forumtitle[href$="?f=57"]) dl.row-item {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Crect width='48' height='48' rx='14' fill='%23E8F0F7'/%3E%3Cg transform='translate(12 12)' fill='none' stroke='%23234A6B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 16l20-8-3-2-7 3-6-3-2 1 4 4-4 2-2-1-1 1z'/%3E%3Cpath d='M3 21h18'/%3E%3C/g%3E%3C/svg%3E");
}
/* Location de voiture (f=54) : voiture */
li.row:has(a.forumtitle[href*="?f=54&"]) dl.row-item,
li.row:has(a.forumtitle[href$="?f=54"]) dl.row-item {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Crect width='48' height='48' rx='14' fill='%23FFF1DC'/%3E%3Cg transform='translate(12 12)' fill='none' stroke='%23C46A00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 16V11l2-5h10l2 5v5'/%3E%3Cpath d='M3 16h18v3H3z'/%3E%3Ccircle cx='7.5' cy='13' r='1'/%3E%3Ccircle cx='16.5' cy='13' r='1'/%3E%3C/g%3E%3C/svg%3E");
}
/* Vie pratique (f=150) : passeport */
li.row:has(a.forumtitle[href*="?f=150&"]) dl.row-item,
li.row:has(a.forumtitle[href$="?f=150"]) dl.row-item {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Crect width='48' height='48' rx='14' fill='%23EAF3E6'/%3E%3Cg transform='translate(12 12)' fill='none' stroke='%232E5A22' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='3' width='14' height='18' rx='2'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3Cpath d='M9 17h6'/%3E%3C/g%3E%3C/svg%3E");
}
/* Hébergements (f=34) : lit */
li.row:has(a.forumtitle[href*="?f=34&"]) dl.row-item,
li.row:has(a.forumtitle[href$="?f=34"]) dl.row-item {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Crect width='48' height='48' rx='14' fill='%23F3E8F7'/%3E%3Cg transform='translate(12 12)' fill='none' stroke='%235B3478' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 19V7'/%3E%3Cpath d='M3 15h18v4'/%3E%3Cpath d='M3 11h7v4'/%3E%3Cpath d='M10 11h8a3 3 0 013 3v1'/%3E%3Ccircle cx='6.5' cy='9.5' r='1.5'/%3E%3C/g%3E%3C/svg%3E");
}
/* Restaurants et bars (f=47) : couverts */
li.row:has(a.forumtitle[href*="?f=47&"]) dl.row-item,
li.row:has(a.forumtitle[href$="?f=47"]) dl.row-item {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Crect width='48' height='48' rx='14' fill='%23FDE8E3'/%3E%3Cg transform='translate(12 12)' fill='none' stroke='%238E3A26' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3v8a2 2 0 002 2v8'/%3E%3Cpath d='M10 3v6'/%3E%3Cpath d='M4 3v6'/%3E%3Cpath d='M17 21V3c-2 1-3 4-3 8h3'/%3E%3C/g%3E%3C/svg%3E");
}
/* Activités et visites (f=145) : montagne */
li.row:has(a.forumtitle[href*="?f=145&"]) dl.row-item,
li.row:has(a.forumtitle[href$="?f=145"]) dl.row-item {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Crect width='48' height='48' rx='14' fill='%23EAF3E6'/%3E%3Cg transform='translate(12 12)' fill='none' stroke='%232E5A22' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 20l6-11 4 6 3-4 5 9z'/%3E%3Ccircle cx='17' cy='5' r='2'/%3E%3C/g%3E%3C/svg%3E");
}
/* Carnets de voyage (f=20) : carnet */
li.row:has(a.forumtitle[href*="?f=20&"]) dl.row-item,
li.row:has(a.forumtitle[href$="?f=20"]) dl.row-item {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Crect width='48' height='48' rx='14' fill='%231F1B16'/%3E%3Cg transform='translate(12 12)' fill='none' stroke='%23FF9900' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3h12a2 2 0 012 2v16H7a2 2 0 01-2-2z'/%3E%3Cpath d='M5 17a2 2 0 012-2h12'/%3E%3Cpath d='M9 7h6'/%3E%3Cpath d='M9 10.5h4'/%3E%3C/g%3E%3C/svg%3E");
}
/* Cinéma et séries (f=166) : clap */
li.row:has(a.forumtitle[href*="?f=166&"]) dl.row-item,
li.row:has(a.forumtitle[href$="?f=166"]) dl.row-item {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Crect width='48' height='48' rx='14' fill='%23FDE8E3'/%3E%3Cg transform='translate(12 12)' fill='none' stroke='%238E3A26' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='9' width='18' height='12' rx='1.5'/%3E%3Cpath d='M3 9l16-5 1 3.5-16 5'/%3E%3Cpath d='M8 7.5l2 3'/%3E%3Cpath d='M13 6l2 3'/%3E%3C/g%3E%3C/svg%3E");
}


/* ---------- 4 bis. Icônes des sujets, dans le style des icônes de forums ----------
   Beige = déjà lu, orange avec pastille = nouveaux messages,
   bleu = épinglé, sombre = annonce. */
/* Sujet lu / non lu */
dl.row-item.topic_read,
dl.row-item.pm_read {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Crect width='48' height='48' rx='14' fill='%23F3EEE7'/%3E%3Cg transform='translate%2812 12%29' fill='none' stroke='%238A8178' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H9l-5 4z'/%3E%3C/g%3E%3C/svg%3E");
}
dl.row-item.topic_unread,
dl.row-item.pm_unread {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Crect width='48' height='48' rx='14' fill='%23FFF1DC'/%3E%3Cg transform='translate%2812 12%29' fill='none' stroke='%23C46A00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H9l-5 4z'/%3E%3C/g%3E%3Ccircle cx='40' cy='8' r='6' fill='%23FF9900' stroke='%23FFFFFF' stroke-width='2.5'/%3E%3C/svg%3E");
}
/* Sujet populaire */
dl.row-item.topic_read_hot {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Crect width='48' height='48' rx='14' fill='%23F3EEE7'/%3E%3Cg transform='translate%2812 12%29' fill='none' stroke='%238A8178' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3s5 4 5 10a5 5 0 01-10 0c0-2.5 1.5-4 2.5-5.5.5 2 1.5 3 2.5 3.5C12 8 12 5 12 3z'/%3E%3C/g%3E%3C/svg%3E");
}
dl.row-item.topic_unread_hot {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Crect width='48' height='48' rx='14' fill='%23FFF1DC'/%3E%3Cg transform='translate%2812 12%29' fill='none' stroke='%23C46A00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3s5 4 5 10a5 5 0 01-10 0c0-2.5 1.5-4 2.5-5.5.5 2 1.5 3 2.5 3.5C12 8 12 5 12 3z'/%3E%3C/g%3E%3Ccircle cx='40' cy='8' r='6' fill='%23FF9900' stroke='%23FFFFFF' stroke-width='2.5'/%3E%3C/svg%3E");
}
/* Sujet verrouillé */
dl.row-item.topic_read_locked {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Crect width='48' height='48' rx='14' fill='%23F3EEE7'/%3E%3Cg transform='translate%2812 12%29' fill='none' stroke='%238A8178' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='9' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 018 0v3'/%3E%3C/g%3E%3C/svg%3E");
}
dl.row-item.topic_unread_locked {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Crect width='48' height='48' rx='14' fill='%23FFF1DC'/%3E%3Cg transform='translate%2812 12%29' fill='none' stroke='%23C46A00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='9' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 018 0v3'/%3E%3C/g%3E%3Ccircle cx='40' cy='8' r='6' fill='%23FF9900' stroke='%23FFFFFF' stroke-width='2.5'/%3E%3C/svg%3E");
}
/* Sujet épinglé (post-it) */
dl.row-item.sticky_read {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Crect width='48' height='48' rx='14' fill='%23E8F0F7'/%3E%3Cg transform='translate%2812 12%29' fill='none' stroke='%23234A6B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3h6l-1 6 3 3v2H7v-2l3-3z'/%3E%3Cpath d='M12 14v7'/%3E%3C/g%3E%3C/svg%3E");
}
dl.row-item.sticky_unread {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Crect width='48' height='48' rx='14' fill='%23E8F0F7'/%3E%3Cg transform='translate%2812 12%29' fill='none' stroke='%23234A6B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3h6l-1 6 3 3v2H7v-2l3-3z'/%3E%3Cpath d='M12 14v7'/%3E%3C/g%3E%3Ccircle cx='40' cy='8' r='6' fill='%23FF9900' stroke='%23FFFFFF' stroke-width='2.5'/%3E%3C/svg%3E");
}
dl.row-item.sticky_read_locked {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Crect width='48' height='48' rx='14' fill='%23E8F0F7'/%3E%3Cg transform='translate%2812 12%29' fill='none' stroke='%23234A6B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='9' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 018 0v3'/%3E%3C/g%3E%3C/svg%3E");
}
dl.row-item.sticky_unread_locked {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Crect width='48' height='48' rx='14' fill='%23E8F0F7'/%3E%3Cg transform='translate%2812 12%29' fill='none' stroke='%23234A6B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='9' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 018 0v3'/%3E%3C/g%3E%3Ccircle cx='40' cy='8' r='6' fill='%23FF9900' stroke='%23FFFFFF' stroke-width='2.5'/%3E%3C/svg%3E");
}
/* Annonce et annonce globale */
dl.row-item.announce_read,
dl.row-item.announce_read_locked,
dl.row-item.global_read,
dl.row-item.global_read_locked {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Crect width='48' height='48' rx='14' fill='%231F1B16'/%3E%3Cg transform='translate%2812 12%29' fill='none' stroke='%23FF9900' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10v4h3l7 4V6l-7 4z'/%3E%3Cpath d='M16 9a4 4 0 010 6'/%3E%3C/g%3E%3C/svg%3E");
}
dl.row-item.announce_unread,
dl.row-item.announce_unread_locked,
dl.row-item.global_unread,
dl.row-item.global_unread_locked {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Crect width='48' height='48' rx='14' fill='%231F1B16'/%3E%3Cg transform='translate%2812 12%29' fill='none' stroke='%23FF9900' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10v4h3l7 4V6l-7 4z'/%3E%3Cpath d='M16 9a4 4 0 010 6'/%3E%3C/g%3E%3Ccircle cx='40' cy='8' r='6' fill='%23FF9900' stroke='%23FFFFFF' stroke-width='2.5'/%3E%3C/svg%3E");
}
/* Sujet déplacé */
dl.row-item.topic_moved {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Crect width='48' height='48' rx='14' fill='%23F3EEE7'/%3E%3Cg transform='translate%2812 12%29' fill='none' stroke='%238A8178' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M13 6l6 6-6 6'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- 5. Boutons, recherche, pagination ---------- */
.button {
	background: #FFFFFF;
	background-image: none;
	border: 1px solid #E2D6C6;
	border-radius: 999px;
	box-shadow: none;
	color: #1F1B16;
	font-weight: 700;
	padding: 4px 14px;
}
.button:hover, .button:focus {
	background: #FFF8EE;
	border-color: #FF9900;
	color: #1F1B16;
	/* prosilver ajoute au survol une ombre blanche autour du texte et un liseré blanc */
	text-shadow: none;
	box-shadow: none;
}
.button .icon, .button-secondary { color: #6B635A; }

/* « Nouveau sujet », « Répondre » : boutons orange */
.action-bar a.button[href*="posting.php"] {
	background: #FF9900;
	border-color: #FF9900;
	color: #1F1B16;
	padding: 6px 18px;
}
.action-bar a.button[href*="posting.php"] .icon { color: #1F1B16; }
.action-bar a.button[href*="posting.php"]:hover { background: #E68A00; border-color: #E68A00; }

.search-box .inputbox, .search-header .inputbox {
	border-radius: 999px 0 0 999px;
	border-color: #E2D6C6;
	padding: 6px 14px;
}
.search-box .button-search { border-radius: 0; }
.search-box .button-search-end { border-radius: 0 999px 999px 0; }
.search-header { box-shadow: none; border-radius: 999px; }

/* Barre d'actions : tous les boutons (Nouveau sujet, Répondre, outils, recherche…)
   à la même hauteur (34 px), sauf les numéros de pagination */
.action-bar .button:not(.pagination .button),
.action-bar .dropdown-container > .button {
	height: 34px;
	box-sizing: border-box;
	padding-top: 0;
	padding-bottom: 0;
	/* texte et icône centrés verticalement */
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	line-height: 1.2;
	vertical-align: middle;
}
.action-bar .search-box .inputbox {
	height: 34px;
	box-sizing: border-box;
	padding: 0 14px;
	/* phpBB fixe 150 px : trop court pour « Affiner la recherche… » avec les marges arrondies */
	width: 220px;
	max-width: 55vw;
}

.pagination li a, .pagination li span {
	border-radius: 999px;
	border-color: #E2D6C6;
	background: #FFFFFF;
	color: #1F1B16;
	min-width: 28px;
	text-align: center;
}
.pagination li.active span { background: #FF9900; border-color: #FF9900; color: #1F1B16; }

.inputbox { border-radius: 10px; border-color: #E2D6C6; }

/* ---------- 6. Messages (page d'un sujet) ---------- */
.post.bg1, .post.bg2, .post.bg3 {
	background: #FFFFFF;
	border: 1px solid #EDE6DC;
	border-radius: 16px;
	padding: 18px 20px;
	margin-bottom: 16px;
}
.postprofile { border-color: #F1EBE2; color: #6B635A; }
/* Avatars des membres : coins légèrement arrondis (les avatars ne sont pas tous carrés) */
img.avatar, .postprofile .avatar img { border-radius: 8px; }
a.header-avatar img { border-radius: 4px; }
.postprofile dt a.username, .postprofile dt a.username-coloured { font-size: 1.15em; font-weight: 800; }
.postbody h3 a { color: #1F1B16; }
.postbody .author { color: #6B635A; }
.post-buttons .button { padding: 2px 6px; }
blockquote {
	background: #FAF7F2;
	border: 0;
	border-radius: 12px;
	padding: 10px 14px;
}
blockquote blockquote, blockquote blockquote blockquote { background: #FFFFFF; }
.codebox { border-radius: 12px; }
.signature { border-top-color: #F1EBE2; }

/* ---------- 7. Panneaux, encadrés, formulaires ---------- */
.panel {
	background: #FFFFFF;
	border: 1px solid #EDE6DC;
	border-radius: 16px;
}
div.rules {
	background: #FFF1DC;
	color: #1F1B16;
	border-radius: 14px;
}
fieldset.quick-login {
	background: #FFFFFF;
	border: 1px solid #EDE6DC;
	border-radius: 16px;
	padding: 16px 20px;
}
.headerspace h3 { color: #1F1B16; }

/* Statistiques et « Qui est en ligne » */
.stat-block h3 { color: #1F1B16; border-bottom-color: #EDE6DC; }

/* ---------- 8. Mobile ---------- */
@media (max-width: 700px) {
	h2.forum-title, h2.topic-title { font-size: 2.2em; }
	dl.row-item { padding: 14px 8px; background-position: 12px 18px; background-size: 40px 40px; }
	dl.row-item dt .list-inner { padding-left: 54px; }
	.post.bg1, .post.bg2, .post.bg3 { padding: 14px; }
	ul.topiclist.topics dl.row-item { background-position: 10px 18px; }
	ul.topiclist.topics dl.row-item dt .list-inner { padding-left: 54px; }
	#nav-main a[href*="mode=register"] { padding: 3px 10px; margin: 0; }
}

/* ==========================================================
   9. Accueil du forum (index_body.html)
   ========================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Boutons de l'accueil */
.sbld-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	box-sizing: border-box;
	padding: 0 26px;
	border-radius: 999px;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	line-height: 1.2;
}
.sbld-btn:hover { text-decoration: none; }
.sbld-btn-primary { background: #FF9900; color: #1F1B16; }
.sbld-btn-primary:hover, .sbld-btn-primary:focus { background: #E68A00; color: #1F1B16; }
.sbld-btn-ghost { border: 2px solid #FFFFFF; color: #FFFFFF; }
.sbld-btn-ghost:hover, .sbld-btn-ghost:focus { background: rgba(255, 255, 255, 0.12); color: #FFFFFF; }

/* --- Visuel d'ouverture --- */
.sbld-hero {
	position: relative;
	overflow: hidden;
	border-radius: 20px;
	margin: 10px 0 28px;
	background: #2A1810;
	color: #FFFFFF;
	min-height: 440px;
	display: flex;
	align-items: center;
}
.sbld-hero-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 70% 50%;
}
/* Voile sombre à gauche pour la lisibilité du texte */
.sbld-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(20, 11, 7, 0.82) 0%, rgba(20, 11, 7, 0.62) 45%, rgba(20, 11, 7, 0.05) 80%);
}
.sbld-hero-inner {
	position: relative;
	z-index: 1;
	padding: 52px 48px 40px;
	max-width: 680px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.sbld-hero-title {
	margin: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 42px;
	line-height: 1.12;
	font-weight: 900;
	color: #FFFFFF;
	letter-spacing: -0.5px;
}
.sbld-hero-title span { color: #FF9900; }
.sbld-hero-lead { margin: 0; font-size: 17px; line-height: 1.55; color: #F3E9DF; }

.sbld-hero-search {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 4px;
	max-width: 540px; /* laisse la voiture de la photo dégagée */
}
.sbld-hero-search input[type="search"] {
	flex: 1 1 300px;
	min-width: 0;
	height: 52px;
	box-sizing: border-box;
	border: 0;
	border-radius: 999px;
	padding: 0 22px;
	font-size: 16px;
	font-family: inherit;
	color: #1F1B16;
	background: #FFFFFF;
}
.sbld-hero-search button {
	height: 52px;
	padding: 0 24px;
	border: 0;
	border-radius: 999px;
	background: #FFFFFF;
	color: #1F1B16;
	font-size: 16px;
	font-weight: 700;
	font-family: inherit;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
}
.sbld-hero-search button:hover { background: #FFF1DC; }
.sbld-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.sbld-hero-note { margin: -6px 0 0; font-size: 14px; color: #F3E9DF; }

.sbld-hero-stats {
	list-style: none;
	margin: 14px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
}
.sbld-hero-stats li {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 2px 24px 2px 0;
	margin-right: 24px;
	border-right: 1px solid rgba(255, 255, 255, 0.35);
}
.sbld-hero-stats li:last-child { border-right: 0; margin-right: 0; }
.sbld-hero-stats strong { font-size: 22px; font-weight: 900; color: #FFFFFF; }
.sbld-hero-stats span { font-size: 13px; color: #F3E9DF; }

/* --- Discussions récentes + colonne --- */
.sbld-home-top {
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
	align-items: flex-start;
	margin: 10px 0 44px;
}
.sbld-recent { flex: 999 1 520px; min-width: 0; }
.sbld-aside { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }

.sbld-section-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	margin-bottom: 14px;
}
.sbld-section-head h2, .sbld-forums-title {
	margin: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 24px;
	font-weight: 900;
	color: #1F1B16;
	text-transform: none;
	border: 0;
	padding: 0;
}
.sbld-forums-title { margin: 0 0 22px; }
.sbld-section-head a { font-size: 15px; font-weight: 700; color: #A85800; }

.sbld-recent-list {
	list-style: none;
	margin: 0;
	padding: 0;
	background: #FFFFFF;
	border: 1px solid #EDE6DC;
	border-radius: 16px;
	overflow: hidden;
}
.sbld-recent-list li + li { border-top: 1px solid #F1EBE2; }
.sbld-recent-list a {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 20px;
	color: #1F1B16;
	text-decoration: none;
}
.sbld-recent-list a:hover { background: #FFF8EE; color: #1F1B16; }
.sbld-recent-loading { padding: 18px 20px; font-size: 14px; color: #6B635A; }

.sbld-avatar {
	flex: 0 0 42px;
	height: 42px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 700;
	color: #FFFFFF;
	background: #2F5D62;
}
.sbld-avatar.a1 { background: #6A4C93; }
.sbld-avatar.a2 { background: #B5523B; }
.sbld-avatar.a3 { background: #234A6B; }
.sbld-avatar.a4 { background: #8A5A00; }

.sbld-recent-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.sbld-recent-title { font-size: 16px; font-weight: 700; line-height: 1.3; }
.sbld-recent-meta { font-size: 13px; color: #6B635A; line-height: 1.6; }
.sbld-recent-time { font-size: 13px; color: #6B635A; white-space: nowrap; }

.sbld-tag {
	display: inline-block;
	font-weight: 700;
	font-size: 12px;
	padding: 1px 9px;
	border-radius: 999px;
	margin-right: 6px;
	background: #FFF1DC;
	color: #7A3F00;
}
.sbld-tag.t-blue { background: #E8F0F7; color: #234A6B; }
.sbld-tag.t-green { background: #EAF3E6; color: #2E5A22; }
.sbld-tag.t-purple { background: #F3E8F7; color: #5B3478; }
.sbld-tag.t-red { background: #FDE8E3; color: #8E3A26; }
.sbld-tag.t-dark { background: #1F1B16; color: #FFFFFF; }

.sbld-card-dark, .sbld-card {
	border-radius: 16px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.sbld-card-dark { background: #1F1B16; color: #FFFFFF; }
.sbld-card { background: #FFFFFF; border: 1px solid #EDE6DC; }
.sbld-card-dark h2, .sbld-card h2 {
	margin: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 19px;
	font-weight: 900;
	text-transform: none;
	border: 0;
	padding: 0;
}
.sbld-card-dark h2 { color: #FFFFFF; }
.sbld-card h2 { color: #1F1B16; font-size: 17px; }
.sbld-card-dark p { margin: 0; font-size: 15px; line-height: 1.5; color: #E8DED3; }
.sbld-card-dark .sbld-btn { align-self: flex-start; min-height: 44px; font-size: 14px; padding: 0 20px; font-weight: 400; white-space: nowrap; }
.sbld-card-dark small { font-size: 13px; color: #CFC3B6; }
.sbld-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.sbld-card li a { font-size: 15px; font-weight: 700; color: #A85800; }
.sbld-card li a::before { content: "→ "; }

/* --- Bandeau carnets de voyage --- */
a.sbld-carnets {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 10px 0 44px;
	padding: 34px 36px;
	border-radius: 20px;
	background: #1F1B16;
	color: #FFFFFF;
	text-decoration: none;
}
a.sbld-carnets:hover { color: #FFFFFF; text-decoration: none; background: #2A241D; }
.sbld-carnets-kicker { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #FF9900; }
.sbld-carnets-title { font-size: 26px; font-weight: 900; line-height: 1.2; }
.sbld-carnets-text { font-size: 15px; line-height: 1.55; color: #E8DED3; max-width: 640px; }
a.sbld-carnets .sbld-btn { align-self: flex-start; margin-top: 6px; }


@media (max-width: 700px) {
	.sbld-hero { min-height: 0; border-radius: 16px; margin-top: 4px; }
	.sbld-hero::after { background: linear-gradient(180deg, rgba(20, 11, 7, 0.55) 0%, rgba(20, 11, 7, 0.85) 100%); }
	.sbld-hero-inner { padding: 30px 20px 26px; gap: 14px; }
	.sbld-hero-title { font-size: 30px; }
	.sbld-hero-lead { font-size: 15px; }
	.sbld-hero-search button span { display: none; }
	.sbld-hero-search input[type="search"] { flex-basis: 200px; }
	.sbld-hero-ctas .sbld-btn { flex: 1 1 100%; }
	.sbld-hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 6px; }
	.sbld-hero-stats li { padding: 0; margin: 0; border: 0; }
	.sbld-hero-stats strong { font-size: 16px; }
	.sbld-hero-stats span { font-size: 12px; }
	.sbld-recent-list a { padding: 14px; gap: 12px; align-items: flex-start; }
	.sbld-recent-list a { flex-wrap: wrap; }
	.sbld-recent-body { flex: 1 1 0; }
	.sbld-recent-time { order: 3; flex-basis: 100%; padding-left: 54px; margin-top: -4px; }
	a.sbld-carnets { padding: 26px 22px; }
	.sbld-carnets-title { font-size: 22px; }
}

/* ==========================================================
   10. Badge « Équipe SUNSET BLD » (image de rang)
   ========================================================== */
/* Image fournie en double résolution : affichée à 22 px de haut pour rester nette */
img[src*="equipe-sunset-bld"] { height: 22px; width: auto; vertical-align: middle; }
/* phpBB affiche le nom du rang en texte au-dessus de l'image : on ne garde que le badge */
.profile-rank:has(img[src*="equipe-sunset-bld"]) { font-size: 0; line-height: 0; margin: 4px 0 6px; }
.profile-rank:has(img[src*="equipe-sunset-bld"]) br { display: none; }

/* --- « Mon espace » (membres connectés) --- */
.sbld-myspace { gap: 14px; }
.sbld-myspace-head { display: flex; align-items: center; gap: 12px; }
.sbld-myspace-avatar img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; display: block; }
.sbld-myspace-hello { font-size: 14px; color: #CFC3B6; }
.sbld-myspace-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.sbld-myspace-links a {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 0 10px;
	border-radius: 10px;
	color: #FFFFFF;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
}
.sbld-myspace-links a:hover, .sbld-myspace-links a:focus { background: rgba(255, 255, 255, 0.08); color: #FFFFFF; text-decoration: none; }
.sbld-myspace-links .icon { color: #FF9900; font-size: 16px; }
.sbld-myspace-links span { flex: 1 1 auto; }
.sbld-count {
	min-width: 24px;
	height: 22px;
	padding: 0 7px;
	box-sizing: border-box;
	border-radius: 999px;
	background: #FF9900;
	color: #1F1B16;
	font-size: 12px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.sbld-count[hidden] { display: none; }
.sbld-myspace-profile { font-size: 14px; font-weight: 700; color: #FFB347; }
.sbld-myspace-profile:hover, .sbld-myspace-profile:focus { color: #FFFFFF; text-decoration: none; }

/* ==========================================================
   11. Anciens boutons de phpBB (Envoyer, Aperçu, Connexion, J'accepte…)
   ========================================================== */
input.button1, input.button2, a.button1, a.button2 {
	border-radius: 999px;
	padding: 10px 22px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 15px;
	font-weight: 700;
	background-image: none;
	box-shadow: none;
	text-shadow: none;
	cursor: pointer;
	line-height: 1.2;
	width: auto;
}
input.button1, a.button1 { background: #FF9900; border: 1px solid #FF9900; color: #1F1B16; }
input.button1:hover, input.button1:focus, a.button1:hover { background: #E68A00; border-color: #E68A00; color: #1F1B16; }
input.button2, a.button2 { background: #FFFFFF; border: 1px solid #E2D6C6; color: #1F1B16; }
input.button2:hover, input.button2:focus, a.button2:hover { background: #FFF8EE; border-color: #FF9900; color: #1F1B16; }
/* Quand un bouton principal existe (« Envoyer »), les autres (« Aperçu »…) passent en blanc */
fieldset.submit-buttons:has(.default-submit-action) input.button1:not(.default-submit-action) {
	background: #FFFFFF;
	border-color: #E2D6C6;
}
fieldset.submit-buttons:has(.default-submit-action) input.button1:not(.default-submit-action):hover { background: #FFF8EE; border-color: #FF9900; }

/* ==========================================================
   12. Inscription : page d'accueil et formulaire
   ========================================================== */
.sbld-join {
	max-width: 760px;
	margin: 10px auto 40px;
	background: #FFFFFF;
	border: 1px solid #EDE6DC;
	border-radius: 20px;
	padding: 36px 40px;
	display: flex;
	flex-direction: column;
	gap: 26px;
}
.sbld-join-kicker { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #A85800; }
.sbld-join-intro h2 {
	margin: 6px 0 8px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 30px;
	line-height: 1.15;
	font-weight: 900;
	color: #1F1B16;
	text-transform: none;
	border: 0;
	padding: 0;
}
.sbld-join-intro > p { margin: 0 0 18px; font-size: 16px; line-height: 1.5; color: #6B635A; }
.sbld-join-perks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.sbld-join-perks li { display: flex; gap: 12px; align-items: center; font-size: 15px; line-height: 1.45; color: #1F1B16; }
.sbld-join-perks .icon {
	flex: 0 0 36px;
	height: 36px;
	border-radius: 10px;
	background: #FFF1DC;
	color: #C46A00;
	font-size: 17px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.sbld-terms-box h3 {
	margin: 0 0 8px;
	font-size: 15px;
	font-weight: 800;
	color: #1F1B16;
	text-transform: none;
	border: 0;
	padding: 0;
}
.sbld-terms {
	max-height: 220px;
	overflow-y: auto;
	background: #FAF7F2;
	border: 1px solid #EDE6DC;
	border-radius: 12px;
	padding: 14px 18px;
	font-size: 13px;
	line-height: 1.55;
	color: #4A433C;
}
.sbld-terms:focus { outline: 2px solid #FF9900; outline-offset: 2px; }
.sbld-terms h4, .sbld-terms-page h4 { margin: 12px 0 4px; font-size: 13px; font-weight: 800; color: #1F1B16; text-transform: none; }
.sbld-terms p, .sbld-terms-page p { margin: 0 0 8px; font-size: 13px; }
.sbld-terms-page h4, .sbld-terms-page p { font-size: 15px; }
.sbld-terms-small { color: #6B635A; font-size: 12px !important; }
.sbld-terms-links { margin: 8px 0 0; font-size: 13px; color: #6B635A; }
.sbld-terms-links a { color: #A85800; font-weight: 700; }

.sbld-join-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px;
	margin: 0;
	padding: 0;
	border: 0;
}
.sbld-join-actions input.button1 { min-height: 50px; padding: 0 28px; font-size: 16px; }
.sbld-link-button {
	background: none;
	border: 0;
	padding: 10px 4px;
	font-family: inherit;
	font-size: 14px;
	color: #6B635A;
	text-decoration: underline;
	cursor: pointer;
}
.sbld-link-button:hover { color: #1F1B16; }

/* Formulaire d'inscription : libellés au-dessus des champs */
.sbld-register { max-width: 760px; margin: 10px auto 40px; }
.sbld-register .panel { padding: 28px 36px; }
.sbld-register-head h2 {
	margin: 0 0 6px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 28px;
	font-weight: 900;
	color: #1F1B16;
	text-transform: none;
	border: 0;
	padding: 0;
}
.sbld-register-head p { margin: 0 0 18px; font-size: 15px; color: #6B635A; }
.sbld-register fieldset dl { padding: 8px 0; }
.sbld-register fieldset dt { float: none; width: auto; margin-bottom: 6px; }
.sbld-register fieldset dt label { font-size: 15px; font-weight: 700; color: #1F1B16; }
.sbld-register fieldset dt span { font-size: 13px; color: #6B635A; }
.sbld-register fieldset dd { margin-left: 0; }
.sbld-register .inputbox, .sbld-register select {
	width: 100%;
	max-width: 420px;
	height: 44px;
	box-sizing: border-box;
	font-size: 16px;
	border-radius: 10px;
	padding: 0 14px;
}
.sbld-register-section { margin: 22px 0 4px; padding-top: 18px; border-top: 1px solid #F1EBE2; }
.sbld-register-section h3 { margin: 0; font-size: 17px; font-weight: 800; color: #1F1B16; text-transform: none; border: 0; padding: 0; }
.sbld-register-section h3 span { font-weight: 400; color: #6B635A; font-size: 14px; }
.sbld-more { margin-top: 18px; padding-top: 14px; border-top: 1px solid #F1EBE2; }
.sbld-more summary { cursor: pointer; font-size: 14px; font-weight: 700; color: #A85800; padding: 6px 0; }
.sbld-register fieldset.submit-buttons { text-align: left; }
.sbld-register fieldset.submit-buttons input.button1 { min-height: 50px; padding: 0 30px; font-size: 16px; }

@media (max-width: 700px) {
	.sbld-join { padding: 24px 20px; border-radius: 16px; }
	.sbld-join-intro h2 { font-size: 24px; }
	.sbld-join-actions input.button1 { width: 100%; }
	.sbld-register .panel { padding: 20px 16px; }
	.sbld-register fieldset.submit-buttons input.button1 { width: 100%; }
}

/* ==========================================================
   13. « La communauté en ce moment » (bas de l'accueil)
   ========================================================== */
.sbld-community {
	background: #FFFFFF;
	border: 1px solid #EDE6DC;
	border-radius: 20px;
	padding: 28px 30px;
	margin: 10px 0 40px;
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
}
.sbld-community-main { flex: 2 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.sbld-community-side { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.sbld-community-main h2 {
	margin: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 20px;
	font-weight: 900;
	color: #1F1B16;
	text-transform: none;
	border: 0;
	padding: 0;
}
.sbld-online-line { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 15px; color: #1F1B16; }
.sbld-dot { flex: 0 0 10px; height: 10px; border-radius: 50%; background: #2E8B57; box-shadow: 0 0 0 4px rgba(46, 139, 87, 0.15); }
/* Sans script : liste phpBB brute, lisible */
.sbld-online-list { font-size: 14px; line-height: 1.6; color: #6B635A; }
.sbld-online-list.is-ready { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.sbld-online-chip { display: inline-flex; align-items: center; gap: 8px; color: #1F1B16; font-weight: 700; font-size: 14px; text-decoration: none; }
.sbld-online-chip:hover { color: #A85800; text-decoration: none; }
.sbld-online-avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	color: #FFFFFF;
	font-size: 13px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.sbld-online-record { margin: 0; font-size: 12px; color: #6B635A; }
.sbld-online-record strong { font-weight: 700; }
.sbld-online-record a { color: #A85800; font-weight: 700; }

.sbld-mini { background: #FFF8EE; border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.sbld-mini-kicker { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #A85800; }
.sbld-mini p { margin: 0; font-size: 15px; line-height: 1.5; color: #1F1B16; }
.sbld-mini a { font-weight: 700; }

@media (max-width: 700px) {
	.sbld-community { padding: 22px 18px; gap: 20px; border-radius: 16px; }
}

/* ==========================================================
   14. Page de connexion
   ========================================================== */
.sbld-login { max-width: 1000px; margin: 10px auto 40px; display: flex; flex-direction: column; gap: 24px; }
.sbld-login-head { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.sbld-login-head h2 {
	margin: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 32px;
	line-height: 1.15;
	font-weight: 900;
	color: #1F1B16;
	text-transform: none;
	border: 0;
	padding: 0;
}
.sbld-login-head p { margin: 0; max-width: 620px; font-size: 16px; line-height: 1.5; color: #6B635A; }
.sbld-login-grid { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.sbld-login-card, .sbld-login-new {
	flex: 1 1 380px;
	min-width: 0;
	border-radius: 18px;
	padding: 30px 32px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.sbld-login-card { background: #FFFFFF; border: 1px solid #EDE6DC; }
.sbld-login-new { background: #1F1B16; color: #FFFFFF; }
.sbld-login-card h3, .sbld-login-new h3 {
	margin: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 21px;
	font-weight: 900;
	text-transform: none;
	border: 0;
	padding: 0;
}
.sbld-login-card h3 { color: #1F1B16; }
.sbld-login-new h3 { color: #FFFFFF; }
.sbld-login-fields { border: 0; margin: 0; padding: 0; }
.sbld-login-fields dl { padding: 6px 0; }
.sbld-login-fields dt { float: none; width: auto; margin-bottom: 6px; }
.sbld-login-fields dt label { font-size: 15px; font-weight: 700; color: #1F1B16; }
.sbld-login-fields dd { margin-left: 0; }
.sbld-login-fields .inputbox {
	width: 100%;
	height: 46px;
	box-sizing: border-box;
	font-size: 16px;
	border-radius: 10px;
	padding: 0 14px;
}
.sbld-login-fields .error { background: #FDE8E3; color: #8E3A26; border-radius: 10px; padding: 10px 14px; margin-bottom: 8px; font-size: 14px; }
.sbld-login-options { display: flex; flex-direction: column; gap: 4px; margin: 6px 0 4px; }
.sbld-login-options label { display: flex; align-items: center; gap: 8px; min-height: 36px; font-size: 14px; color: #1F1B16; }
.sbld-login-options input[type="checkbox"] { width: 18px; height: 18px; accent-color: #FF9900; }
.sbld-login-submit { margin-top: 6px; }
.sbld-login-submit input.button1 { width: 100%; min-height: 50px; font-size: 16px; background: #1F1B16; border-color: #1F1B16; color: #FFFFFF; }
.sbld-login-submit input.button1:hover, .sbld-login-submit input.button1:focus { background: #3A332B; border-color: #3A332B; color: #FFFFFF; }
.sbld-login-help { margin: 4px 0 0; font-size: 14px; color: #6B635A; text-align: center; }
.sbld-login-help a { color: #A85800; font-weight: 700; }
.sbld-login-new p { margin: 0; font-size: 15px; line-height: 1.5; color: #E8DED3; }
.sbld-login-new ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.sbld-login-new li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.sbld-login-new li .icon { color: #FF9900; font-size: 16px; margin-top: 2px; }
.sbld-login-new .sbld-btn { margin-top: auto; }
.sbld-login-back { margin: 0; text-align: center; font-size: 14px; color: #6B635A; }
.sbld-login-back a { color: #A85800; font-weight: 700; }

@media (max-width: 700px) {
	.sbld-login-head h2 { font-size: 26px; }
	.sbld-login-card, .sbld-login-new { padding: 22px 18px; border-radius: 16px; }
}

/* phpBB force « width: auto !important » sur .autowidth et les anciens boutons :
   on rétablit la pleine largeur dans les formulaires d'inscription et de connexion */
.sbld-login-fields .inputbox.autowidth { width: 100% !important; }
.sbld-register .inputbox.autowidth { width: 100% !important; max-width: 420px; }
.sbld-login-submit input.button1 { width: 100% !important; }
@media (max-width: 700px) {
	.sbld-join-actions input.button1,
	.sbld-register fieldset.submit-buttons input.button1 { width: 100% !important; }
}

/* Date de dernière visite (membres) sur l'accueil */
.sbld-last-visit { margin: 0 0 6px; text-align: right; font-size: 13px; color: #6B635A; }

/* ==========================================================
   15. Pied de page du forum (au-dessus du pied de page du site)
   ========================================================== */
.page-footer { background: transparent; border: 0; }
.sbld-forum-footer {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 6px 10px;
	margin: 20px 0 10px;
	padding: 12px 18px;
	background: #F3EEE7;
	border: 0;
	border-radius: 14px;
	font-size: 12px;
	color: #6B635A;
}
.sbld-forum-footer a { color: #6B635A; font-weight: 600; }
.sbld-forum-footer a:hover, .sbld-forum-footer a:focus { color: #A85800; text-decoration: none; }
.sbld-forum-footer span[aria-hidden="true"] { color: #CDBFAE; }
.sbld-forum-footer .sbld-acp-link { color: #A85800; font-weight: 700; }
.sbld-forum-footer-debug { text-align: center; font-size: 11px; color: #6B635A; }

/* ==========================================================
   16. Pied de page identique au site WordPress (« sbld-pied »)
   Règles reprises du site, plus quelques neutralisations des styles phpBB.
   ========================================================== */
/* Neutralise les tailles de texte de phpBB (p à 1.4em, etc.) à l'intérieur du pied de page */
.sbld-pied :where(p, li, a, label, span) { font-size: inherit; }
.sbld-pied :where(a) { display: inline; }
.sbld-pied, .sbld-pied * { box-sizing: border-box; }
.sbld-pied { font-family: Arial, Helvetica, sans-serif; }

.sbld-pied { --sbld-pied-fond: #1A0F0A; --sbld-pied-sable: #F7F1EA; --sbld-pied-orange: #FF9800; --sbld-pied-orange-clair: #FF9F1C; --sbld-pied-texte: rgba(255, 255, 255, 0.82); --sbld-pied-discret: rgba(255, 255, 255, 0.62); font-size: 15px; line-height: 1.65; }
.sbld-pied p { margin: 0; }
.sbld-pied ul { margin: 0; padding: 0; list-style: none; }
.sbld-pied li { margin: 0; }
.sbld-pied a { text-decoration: none; transition: color .15s; }
.sbld-pied a:focus-visible { outline: 2px solid var(--sbld-pied-orange-clair); outline-offset: 3px; border-radius: 4px; }
.sbld-pied__in { max-width: 1140px; margin: 0 auto; padding: 0 24px; box-sizing: content-box; }
.sbld-pied__nl { background: var(--sbld-pied-sable); color: #333333; }
.sbld-pied__nl-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; padding-top: 56px; padding-bottom: 56px; }
.sbld-pied__nl-texte { flex: 1 1 420px; max-width: 540px; }
.sbld-pied__nl-titre { font-weight: 800; font-size: 26px !important; line-height: 1.25; color: var(--sbld-pied-fond); margin-bottom: 8px !important; }
.sbld-pied__nl-sous { font-size: 16px !important; line-height: 1.6; color: #555555; }
.sbld-pied__nl-form { flex: 1 1 440px; max-width: 520px; }
.sbld-pied .mc4wp-form { margin: 0; }
.sbld-pied .mc4wp-form-fields { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.sbld-pied .mc4wp-form-fields > p { padding: 0; margin: 0 !important; }
.sbld-pied .mc4wp-form-fields > p:nth-of-type(1) { grid-area: 1 / 1; }
.sbld-pied .mc4wp-form-fields > p:nth-of-type(3) { grid-area: 1 / 2; }
.sbld-pied .mc4wp-form-fields > p:nth-of-type(2) { grid-area: 2 / 1 / auto / -1; padding-left: 22px; }
.sbld-pied .mc4wp-form input[type="email"] { display: block; width: 100%; height: 52px; margin: 0; padding: 0 22px; box-sizing: border-box; border: 1px solid #E2D6C8; border-radius: 999px; box-shadow: none; font-family: inherit; font-size: 16px; line-height: normal; color: #333333; background: #FFFFFF !important; }
.sbld-pied .mc4wp-form input[type="email"]::placeholder { color: #7A6E64; opacity: 1; }
.sbld-pied .mc4wp-form input[type="email"]:focus { border-color: var(--sbld-pied-orange); outline: 2px solid rgba(255, 152, 0, .35); outline-offset: 0; }
.sbld-pied .mc4wp-form input[type="submit"] { display: block; height: 52px; margin: 0; padding: 0 28px; border: 0; border-radius: 999px; background: var(--sbld-pied-orange); box-shadow: none; font-family: inherit; font-size: 16px; line-height: normal; color: #333333; cursor: pointer; transition: background-color .15s; width: auto !important; }
.sbld-pied .mc4wp-form input[type="submit"]:hover { background: #F08A00; }
.sbld-pied .mc4wp-form input[type="submit"]:focus-visible { outline: 2px solid var(--sbld-pied-fond); outline-offset: 3px; }
.sbld-pied .mc4wp-form-fields > p:nth-of-type(2) label { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-size: 13px; font-weight: 400; line-height: 1.45; color: #4A3B2E; cursor: pointer; }
.sbld-pied .mc4wp-form-fields > p:nth-of-type(2) label span { font-size: 13px !important; }
.sbld-pied .mc4wp-form input[type="checkbox"] { flex: 0 0 auto; width: 18px; height: 18px; margin: 0; accent-color: var(--sbld-pied-orange); }
.sbld-pied__nl-note { padding-left: 22px; font-size: 13px !important; line-height: 1.5; color: #6B5A49; margin-top: 8px !important; }
.sbld-pied__nl-note a, .sbld-pied__nl-note a:visited { color: #9A4F05; text-decoration: underline; text-underline-offset: 3px; }
.sbld-pied__nl-note a:hover { color: #6E3803; }
.sbld-pied__principal { background: var(--sbld-pied-fond); color: var(--sbld-pied-texte); }
.sbld-pied__grille { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr) minmax(0, 1fr); gap: 48px; align-items: start; padding-top: 64px; padding-bottom: 48px; }
.sbld-pied__marque { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.sbld-pied__logo-lien { display: block !important; line-height: 0; }
.sbld-pied .sbld-pied__logo { display: block; width: 112px; height: 112px; max-width: none; border-radius: 20px; object-fit: cover; }
.sbld-pied__baseline { max-width: 380px; color: var(--sbld-pied-texte); }
.sbld-pied__liens { display: flex; flex-direction: column; gap: 14px; }
.sbld-pied__liens a, .sbld-pied__liens a:visited { color: var(--sbld-pied-texte); }
.sbld-pied__liens a:hover { color: var(--sbld-pied-orange-clair); }
.sbld-pied__appli { display: flex; flex-direction: column; gap: 16px; }
.sbld-pied__appli-titre { font-weight: 700; color: #FFFFFF; }
.sbld-pied__badges { display: flex; flex-wrap: wrap; gap: 12px; }
.sbld-pied__badge { display: inline-block !important; line-height: 0; border-radius: 9px; transition: opacity .15s; }
.sbld-pied__badge:hover { opacity: .85; }
.sbld-pied .sbld-pied__badge-img { display: block; width: auto; height: 48px; max-width: none; }
.sbld-pied__bas { background: var(--sbld-pied-fond); border-top: 1px solid rgba(255, 255, 255, .12); color: var(--sbld-pied-discret); font-size: 13px; }
.sbld-pied__bas-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 22px; padding-bottom: 22px; }
.sbld-pied__legaux { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.sbld-pied__legaux a, .sbld-pied__legaux a:visited { color: var(--sbld-pied-discret); }
.sbld-pied__legaux a:hover { color: #FFFFFF; }

@media (max-width: 1024px) {
	.sbld-pied__grille { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
	.sbld-pied__marque { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
	.sbld-pied__in { padding: 0 20px; }
	.sbld-pied__nl-in { display: block; padding-top: 48px; padding-bottom: 48px; }
	.sbld-pied__nl-texte { margin-bottom: 20px; }
	.sbld-pied__nl-titre { font-size: 22px !important; line-height: 1.3; }
	.sbld-pied__nl-sous { font-size: 15px !important; }
	.sbld-pied .mc4wp-form-fields { grid-template-columns: minmax(0, 1fr); }
	.sbld-pied .mc4wp-form-fields > p:nth-of-type(1) { grid-area: 1 / 1; }
	.sbld-pied .mc4wp-form-fields > p:nth-of-type(3) { grid-area: 2 / 1; }
	.sbld-pied .mc4wp-form-fields > p:nth-of-type(2) { grid-area: 3 / 1; padding-left: 0; margin-top: 4px !important; }
	.sbld-pied .mc4wp-form input[type="submit"] { width: 100% !important; }
	.sbld-pied__nl-note { padding-left: 0; text-align: center; }
	.sbld-pied__nl-note a { display: inline-flex; align-items: center; min-height: 44px; }
	.sbld-pied__grille { display: flex; flex-direction: column; gap: 32px; padding-top: 48px; padding-bottom: 36px; }
	.sbld-pied .sbld-pied__logo { width: 96px; height: 96px; border-radius: 18px; }
	.sbld-pied__marque { order: 1; gap: 16px; }
	.sbld-pied__appli { order: 2; gap: 14px; }
	.sbld-pied__nav { order: 3; }
	.sbld-pied__liens { flex-flow: wrap; gap: 4px 28px; }
	.sbld-pied__liens a, .sbld-pied__legaux a { display: inline-flex !important; align-items: center; min-height: 44px; }
	.sbld-pied__badges { gap: 10px; }
	.sbld-pied .sbld-pied__badge-img { height: 44px; }
	.sbld-pied__bas-in { flex-direction: column-reverse; align-items: flex-start; gap: 8px; padding-top: 20px; padding-bottom: 28px; }
}

/* Newsletter du pied de page : message de retour de Mailchimp dans un petit encadré */
.sbld-pied .mc4wp-response:not(:empty) { margin-top: 16px; font-size: 14px; line-height: 1.5; }
.sbld-pied .mc4wp-response > .mc4wp-alert {
	padding: 12px 16px;
	border-radius: 12px;
	border: 1px solid transparent;
	font-weight: 600;
}
.sbld-pied .mc4wp-response > .mc4wp-alert p { margin: 0; font-size: 14px; }
.sbld-pied .mc4wp-response > .mc4wp-success { background: #EAF3E6; border-color: #CFE3C8; color: #2F6B2A; }
.sbld-pied .mc4wp-response > .mc4wp-error,
.sbld-pied .mc4wp-response > .mc4wp-notice { background: #FDE8E3; border-color: #F4CBC0; color: #A3260E; }

/* ==========================================================
   17. Pages de sujets et de forums : profil des auteurs, bas de page
   ========================================================== */
/* Profil à gauche des messages : libellés discrets, valeurs lisibles */
.postprofile dd { font-size: 12px; line-height: 1.5; color: #1F1B16; margin-bottom: 2px; }
.postprofile dd strong { font-weight: 400; color: #8A8178; }
.postprofile dd.profile-posts a { color: #1F1B16; font-weight: 700; }
.postprofile dd.profile-custom-field { margin-top: 2px; }

/* « Haut » : petite flèche discrète */
.back2top .top .icon { color: #CDBFAE; font-size: 18px; }
.back2top .top:hover .icon { color: #FF9900; }

/* « Retourner vers « … » » : lien en pastille */
.action-bar.actions-jump { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 20px 0 30px; }
.action-bar.actions-jump br { display: none; }
.jumpbox-return { margin: 0; }
.jumpbox-return a.left-box {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	float: none;
	min-height: 40px;
	padding: 0 16px 0 10px;
	border: 1px solid #E2D6C6;
	border-radius: 999px;
	background: #FFFFFF;
	color: #1F1B16;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}
.jumpbox-return a.left-box:hover { border-color: #FF9900; background: #FFF8EE; color: #1F1B16; }
.jumpbox-return .icon { color: #C46A00; }

/* Membres : « Qui est en ligne » sur les pages de forums et de sujets, en carte */
.stat-block.online-list {
	background: #FFFFFF;
	border: 1px solid #EDE6DC;
	border-radius: 16px;
	padding: 18px 22px;
	margin: 10px 0 20px;
}
.stat-block.online-list h3 {
	margin: 0 0 6px;
	border: 0;
	padding: 0;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #A85800;
}
.stat-block.online-list h3 a { color: #A85800; }
.stat-block.online-list p { font-size: 13px; color: #6B635A; margin: 0; }

/* Membres : liste « Permissions du forum » (Vous pouvez / ne pouvez pas…), sans intérêt pour les lecteurs */
.stat-block.permissions { display: none; }

/* ==========================================================
   18. Encadré de relance en bas des sujets
   ========================================================== */
.sbld-topic-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 32px;
	margin: 24px 0 10px;
	padding: 28px 32px;
	border-radius: 20px;
	background: #1F1B16;
	color: #FFFFFF;
}
.sbld-topic-cta-text { flex: 1 1 380px; min-width: 0; }
.sbld-topic-cta-text h2 {
	margin: 0 0 6px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 22px;
	font-weight: 900;
	color: #FFFFFF;
	text-transform: none;
	border: 0;
	padding: 0;
}
.sbld-topic-cta-text p { margin: 0; font-size: 15px; line-height: 1.5; color: #E8DED3; }
.sbld-topic-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.sbld-topic-cta-link { font-size: 15px; font-weight: 700; color: #FFB347; }
.sbld-topic-cta-link:hover, .sbld-topic-cta-link:focus { color: #FFFFFF; text-decoration: none; }

@media (max-width: 700px) {
	.sbld-topic-cta { padding: 22px 20px; border-radius: 16px; }
	.sbld-topic-cta-actions { width: 100%; }
	.sbld-topic-cta-actions .sbld-btn { flex: 1 1 100%; }
}

/* ==========================================================
   19. Éditeur de message (nouveau sujet, réponse, message privé)
   ========================================================== */
/* Champ « Sujet » */
#postform #subject {
	width: 100%;
	max-width: 640px;
	height: 44px;
	box-sizing: border-box;
	border-radius: 10px;
	padding: 0 14px;
	font-size: 16px;
}

/* Barre de mise en forme : un ruban clair collé au-dessus de la zone de texte */
#format-buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2px;
	margin: 10px 0 0;
	padding: 6px;
	background: #FAF7F2;
	border: 1px solid #E2D6C6;
	border-bottom: 0;
	border-radius: 12px 12px 0 0;
}
#format-buttons .button {
	height: 34px;
	min-width: 34px;
	padding: 0 8px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	box-shadow: none;
	color: #4A433C;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
#format-buttons .button .icon { color: #4A433C; }
#format-buttons .button:hover, #format-buttons .button:focus { background: #FFF1DC; color: #A85800; }
#format-buttons .button:hover .icon, #format-buttons .button:focus .icon { color: #A85800; }
#format-buttons select {
	height: 34px;
	border: 1px solid #E2D6C6;
	border-radius: 8px;
	background: #FFFFFF;
	padding: 0 8px;
	font-size: 13px;
}

/* Zone de texte */
#message-box textarea {
	border: 1px solid #E2D6C6;
	border-radius: 0 0 12px 12px;
	padding: 14px 16px;
	font-size: 16px;
	line-height: 1.6;
	background: #FFFFFF;
}
#message-box textarea:focus { border-color: #FF9900; outline: none; box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.15); }

/* Colonne des émoticônes et de l'état des BBCodes : plus discrète */
#smiley-box {
	background: #FFFFFF;
	border: 1px solid #EDE6DC;
	border-radius: 12px;
	padding: 10px 12px;
	box-sizing: border-box;
}
#smiley-box strong { font-size: 12px; color: #6B635A; }
#smiley-box img { margin: 2px; }
#smiley-box .bbcode-status { font-size: 11px; color: #8A8178; }
#smiley-box hr { border-color: #F1EBE2; }

/* Onglets « Options », « Fichiers joints », « Sondage » sous l'éditeur */
.tabs .tab > a {
	border-radius: 10px 10px 0 0;
	background: #F3EEE7;
	border-color: #EDE6DC;
	color: #6B635A;
	font-weight: 700;
	box-shadow: none;
}
.tabs .tab > a:hover { background: #FFF1DC; color: #A85800; }
.tabs .activetab > a, .tabs .activetab > a:hover { background: #FFFFFF; color: #1F1B16; border-bottom-color: #FFFFFF; }
#options-panel, #attach-panel, #poll-panel { background: #FFFFFF; border: 1px solid #EDE6DC; border-radius: 0 12px 12px 12px; }
#options-panel label { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; font-size: 14px; }
#options-panel input[type="checkbox"] { width: 17px; height: 17px; accent-color: #FF9900; }

/* Aperçu du message */
#preview.post, .post#preview { border-color: #FF9900; }

/* ==========================================================
   20. Petits boutons d'action des messages (citer, modifier, signaler…)
   ========================================================== */
.post-buttons .button {
	width: 32px;
	height: 32px;
	padding: 0;
	border-radius: 50%;
	border: 1px solid #EDE6DC;
	background: #FFFFFF;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.post-buttons .button .icon { color: #8A8178; font-size: 14px; }
.post-buttons .button:hover { border-color: #FF9900; background: #FFF8EE; }
.post-buttons .button:hover .icon { color: #A85800; }
.post-buttons li { margin-left: 4px; }
/* Les boutons restent dans le flux (le titre du message est masqué) :
   le texte du message commence sous les boutons au lieu de passer dessous */
.has-profile .post-buttons {
	position: static;
	float: right;
	margin: -4px 0 8px 12px;
}
.postbody .post-buttons ~ .content { clear: right; }

/* ==========================================================
   21. Panneau de l'utilisateur : colonne de gauche
   (Rédiger un message, Boîte de réception, Profil, Préférences…)
   ========================================================== */
/* Pas de marge ajoutée ici : phpBB calcule la largeur des deux colonnes au pourcentage près */
#navigation { margin: 0; }
#navigation ul { margin: 0 0 14px; padding: 0; }
#navigation li { margin: 0 0 3px; list-style: none; }
#navigation a,
.menu-block a.header {
	display: block;
	padding: 9px 12px;
	border: 0;
	border-radius: 10px;
	background: transparent !important;
	background-image: none !important;
	box-shadow: none;
	color: #4A433C;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}
#navigation a:hover, #navigation a:focus,
.menu-block a.header:hover, .menu-block a.header:focus {
	background: #FFF1DC !important;
	color: #A85800;
	text-decoration: none;
}
/* Rubrique en cours : pastille orange */
#navigation #active-subsection a,
#navigation .active-subsection a {
	background: #FF9900 !important;
	color: #1F1B16;
	font-weight: 700;
}
#navigation #active-subsection a:hover,
#navigation .active-subsection a:hover { background: #E68A00 !important; color: #1F1B16; }

/* Petits encadrés de la colonne (couleurs des messages, amis en ligne…) */
.cp-mini {
	background: #FAF7F2 !important;
	border: 1px solid #EDE6DC;
	border-radius: 12px;
	padding: 10px 12px;
	margin: 0 0 14px;
}
.cp-mini .inner { background: transparent; }
.cp-mini dt, .cp-mini strong { font-size: 12px; font-weight: 700; color: #6B635A; }
.cp-mini dd, .cp-mini li { font-size: 12px; color: #4A433C; }
.cp-mini dl.mini dt { border-bottom-color: #EDE6DC; }
.cp-mini ul { margin: 4px 0 0; }
.cp-mini li { display: flex; align-items: center; gap: 4px; margin-bottom: 2px; }

/* Visuel d'ouverture, membres connectés : espace à la place des boutons */
.sbld-hero-spacer { height: 12px; }

/* ==========================================================================
   22. Forums, sujets et messages privés : même survol que les discussions récentes
   (fond crème, toute la carte cliquable)
   ========================================================================== */
ul.topiclist.forums > li.row,
ul.topiclist.topics > li.row,
ul.topiclist.cplist > li.row { position: relative; }
ul.topiclist.forums > li.row:hover,
ul.topiclist.topics > li.row:hover,
ul.topiclist.cplist > li.row:hover {
	background: #FFF8EE;
	border-color: #EDE6DC;
	box-shadow: none;
}
ul.topiclist.forums > li.row:hover a.forumtitle,
ul.topiclist.topics > li.row:hover a.topictitle,
ul.topiclist.cplist > li.row:hover a.topictitle { color: #1F1B16; text-decoration: none; }
/* Le titre du forum ou du sujet couvre toute la carte… */
ul.topiclist.forums a.forumtitle::after,
ul.topiclist.topics a.topictitle::after,
ul.topiclist.cplist a.topictitle::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: 16px;
}
/* …sauf les autres liens (sous-forums, pagination, auteur, dernier message) qui restent cliquables */
ul.topiclist.forums li.row a:not(.forumtitle),
ul.topiclist.topics li.row a:not(.topictitle),
ul.topiclist.forums li.row .pagination,
ul.topiclist.topics li.row .pagination,
ul.topiclist.topics li.row input,
ul.topiclist.topics li.row label,
ul.topiclist.cplist li.row a:not(.topictitle),
ul.topiclist.cplist li.row .pagination,
ul.topiclist.cplist li.row input,
ul.topiclist.cplist li.row label { position: relative; z-index: 2; }

/* ==========================================================================
   23. Tableaux phpBB (Qui est en ligne, Membres, L'équipe, groupes)
   ========================================================================== */
.viewonline-title { font-size: 24px; font-weight: 800; color: #1F1B16; margin: 8px 0 4px; }
.forumbg-table {
	background: #FFFFFF !important;
	border: 1px solid #EDE6DC;
	border-radius: 16px;
	overflow: hidden;
	margin-bottom: 24px;
}
.forumbg-table > .inner { margin: 0; background: transparent; }
table.table1 { width: 100%; border-collapse: collapse; background: transparent; }
table.table1 thead th {
	background: #FFF8EE;
	border-bottom: 1px solid #EDE6DC;
	color: #A85800;
	font-family: inherit;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-align: left;
	padding: 14px 16px;
	line-height: 1.3;
}
table.table1 thead th a, table.table1 thead th span { color: #A85800; text-decoration: none; }
table.table1 thead th a:hover { color: #7A3F00; text-decoration: none; }
table.table1 tbody tr,
table.table1 tbody tr.bg1,
table.table1 tbody tr.bg2 { background: #FFFFFF; border: 0; transition: background .15s; }
table.table1 tbody tr:hover,
table.table1 tbody tr.bg1:hover,
table.table1 tbody tr.bg2:hover { background: #FFF8EE; }
table.table1 tbody td {
	border: 0;
	border-top: 1px solid #F1EBE2;
	padding: 14px 16px;
	color: #6B635A;
	font-size: 14px;
	line-height: 1.5;
	vertical-align: middle;
}
table.table1 tbody tr:first-child td { border-top: 0; }
table.table1 tbody td a { color: #1F1B16; font-weight: 700; }
table.table1 tbody td a:hover { color: #A85800; text-decoration: none; }
table.table1 tbody td a.username-coloured { font-weight: 800; }
table.table1 td.info a { font-weight: 400; color: #6B635A; }
table.table1 td.info a:hover { color: #A85800; }
table.table1 td.active, table.table1 td.joined { white-space: nowrap; font-size: 13px; }
table.table1 th.active, table.table1 th.joined { white-space: nowrap; }
/* Adresse IP et Whois (visibles par l'équipe) : discrets */
table.table1 tbody td span a { font-weight: 400; color: #6B635A; }
table.table1 tbody td span { font-size: 12px; }
/* Ligne de légende sous le tableau (groupes) */
.forumbg-table + p em { font-style: normal; font-size: 13px; color: #6B635A; }

@media (max-width: 700px) {
	table.table1 thead th, table.table1 tbody td { padding: 12px; }
}

/* ==========================================================================
   24. Indicateur « En ligne » aux couleurs SUNSET BLD
   (remplace le ruban vert de prosilver)
   ========================================================================== */
.post.online, .panel.online { background-image: none !important; }
/* Ruban ajouté par l'extension Profil à gauche (cabot/profilgauche) */
.preonline, .preonline.online { display: none !important; }
/* Dans les sujets : pastille orange + « En ligne » sous le pseudo */
.post.online .postprofile dt::after {
	content: "En ligne";
	display: block;
	margin-top: 4px;
	padding-left: 14px;
	background: radial-gradient(circle at 4px 50%, #FF9900 4px, transparent 4.5px) no-repeat;
	font-size: 12px;
	font-weight: 700;
	color: #A85800;
}
/* Sur la page de profil : petite étiquette en haut à droite */
.panel.online { position: relative; }
.panel.online::after {
	content: "En ligne";
	position: absolute;
	top: 16px;
	right: 16px;
	padding: 4px 10px 4px 22px;
	border-radius: 999px;
	background: #FFF8EE radial-gradient(circle at 12px 50%, #FF9900 4px, transparent 4.5px) no-repeat;
	border: 1px solid #F3D9B1;
	font-size: 12px;
	font-weight: 700;
	color: #A85800;
}

/* ==========================================================================
   25. Profil de l'auteur à gauche dans les sujets
   (reprend l'extension « Profil à gauche », qui peut être désinstallée)
   ========================================================================== */
@media (min-width: 701px) {
	.post .postprofile {
		float: left;
		border-width: 0 1px 0 0;
	}
	.post .postprofile dd,
	.post .postprofile dt {
		margin-right: 8px;
		margin-left: 0;
	}
	.has-profile .postbody {
		float: right;
		margin-right: 6px;
	}
}

/* Espace entre l'avatar et le pseudo dans le profil des messages */
.post .postprofile dt .avatar-container { margin-bottom: 10px; }
