/* Compléments au style WoWMaevahEmpire pour l'archive statique */

.logo { height: auto; padding-top: 10px; }
.logo img { max-width: 100%; height: auto; }
.menu { margin-top: 0; }

.archive-note {
	margin: 0 0 4px 0;
	padding: 6px 10px;
	font-size: 1.2em;
	color: #FFCC33;
	background: #000 url('styles/malakaa/theme/images/wowmaevahempirebackgrounda03.gif');
	border: 1px solid #333;
}

/* Contenu des messages */
.postbody img { max-width: 100%; height: auto; }
.postbody { overflow-wrap: anywhere; }
.codecontent pre {
	white-space: pre-wrap;
	font-size: 1.1em;
	color: #2EB82E;
	margin: 4px 0;
}
.quotecontent { color: #CCC; }
.bbtable { border-collapse: collapse; margin: 4px 0; }
.bbtable td { border: 1px solid #505050; padding: 3px 6px; }
details.spoiler {
	margin: 6px 5px;
	border: 1px solid #555;
	background: #000 url('styles/malakaa/theme/images/wowmaevahempirebackgrounda03.gif');
}
details.spoiler summary {
	cursor: pointer;
	padding: 4px;
	font-weight: bold;
	color: #FFA34F;
	font-size: 0.85em;
}
details.spoiler .spoilercontent { padding: 4px 8px 8px 8px; color: #CCC; }

.video { margin: 6px auto; }
.video-ratio { position: relative; height: 0; }
.video-ratio iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.attach-img img { max-width: 100%; height: auto; margin-top: 4px; }
.poll-bar { display: inline-block; height: 12px; vertical-align: middle; }
.private-link { font-size: 1.2em; }
.lock { color: #FFA34F; }

/* Écrans étroits : menu au-dessus, colonnes empilées */
@media (max-width: 800px) {
	body { font-size: 11px; }
	.menu { position: static; width: auto; margin: 0 0 8px 0; }
	.menu_haut, .menu_bas { display: none; }
	.menu_milieu {
		width: auto; min-height: 0; background: #1a1a1a;
		display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 14px; padding: 6px;
	}
	.menu_milieu li { padding: 4px 0; }
	.menu_milieu a, .menu_milieu a:link { font-size: 13px; }
	.forum { margin-left: 0; padding: 0 6px; min-height: 0; }
	#wrapcentre { margin: 8px 0 0 0; }
	.hide-narrow { display: none; }
	/* Messages : profil au-dessus du texte */
	table.post-table, table.post-table > tbody, table.post-table > tbody > tr,
	table.post-table > tbody > tr > td { display: block; width: auto !important; }
	table.post-table > tbody > tr > th { display: none; }
	td.profile { text-align: left; }
	td.profile table { width: auto; margin: 0; }
	.post-meta div { float: none !important; }
	th { white-space: normal; }
}
