/* Escape Game : badges affichés hors de l'extension (sujets, profils) */
.eg-post-badges { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 4px; }
.eg-mini-badge {
	display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%;
	background: radial-gradient(circle at 30% 25%, #4a3a7a, #17142a 75%); color: var(--eg-b, #d9a441);
	box-shadow: 0 0 0 1px var(--eg-b, #d9a441) inset; font-size: 11px; cursor: help;
}
.eg-mini-badge .icon { font-size: 11px; }

.eg-profile-badges { background: radial-gradient(circle at 20% 0%, #4a3a7a 0%, #17142a 60%); color: #e9e4f7; border-radius: 10px; }
.eg-profile-badges h3 { color: #fff; border-bottom-color: rgba(255,255,255,.15); font-family: Georgia, "Times New Roman", serif; text-transform: none; font-size: 1.3em; }
.eg-profile-badges h3 .icon { color: #d9a441; }
.eg-profile-badges a { color: #f5d58a; }
.eg-profile-sub { opacity: .85; margin: 0 0 10px; }

.eg-badge-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.eg-badge-list li {
	display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px;
	background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
}
.eg-badge-medal {
	flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%;
	background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.18), rgba(0,0,0,.25) 70%);
	box-shadow: 0 0 0 2px var(--eg-b, #d9a441), 0 0 14px -2px var(--eg-b, #d9a441);
	color: var(--eg-b, #d9a441); font-size: 18px;
}
.eg-badge-text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.eg-badge-text strong { color: #fff; }
.eg-badge-text small { opacity: .8; }
.eg-badge-text .eg-badge-when { opacity: .6; font-style: italic; }
.eg-badge-list li.eg-locked { opacity: .45; filter: grayscale(1); }
