/* Généralités */
.thorgal-profil-titre, .thorgal-profil-soustitre { width: 800px; max-width: 100%; margin: 50px auto 10px; font-family: Artifex; color: var(--couleur-claire); text-align: center; border-radius: 5px; padding: 5px 0; }
.thorgal-profil-titre { background: var(--couleur-sombre); font-size: 34px; }
.thorgal-profil-soustitre { background: #2b2b2b; font-size: 14px; }

.statut-activite { font-weight: bold; padding: 3px 8px; border-radius: 5px; font-size: 0.9em; display: inline-block; }
.statut-vert { background-color: #28a745; color: white; }
.statut-jaune { background-color: #e3d601; color: #333; }
.statut-orange { background-color: #fbb147; color: var(--couleur-sombre); }
.statut-noir { background-color: var(--couleur-sombre); color: white; }

/* Messages affichés/masqués */
.thorgal-toggle-message { margin: 0 0 8px; padding: 4px 20px; background: var(--couleur-sombre); color: var(--couleur-claire); border: none; cursor: pointer; border-radius: 3px; transition: .3s; }
.thorgal-toggle-message:hover { background: var(--couleur-or); color: var(--couleur-sombre); }
.thorgal-message-contenu { margin-top: 10px; padding: 10px; background: white; border-left: 3px solid #333; border-radius: 5px; }

/* Althing : jauge avec le niveau du membre */
#niveau_jauge {width: 100%; max-width: 800px; height: 32px; margin: 0 auto; padding-top: 12px; border-radius: 5px 5px 0 0; font-family: 'atelanblack'; text-transform: uppercase;}
#etalon {position: relative; border-top: solid black 3px; width: 100%; max-width: 800px; height: 8px; padding-top: 10px; margin: 0 auto; margin-bottom: 40px; font-size: 12px; font-family: Mulish; border-radius: 0 0 5px 5px; background: linear-gradient(to right, #695 0%, #696 25%, #1a1a1a 25%, #1a1a1a 25.2%, #b75 25.2%, #b75 50%, #1a1a1a 50%, #1a1a1a 50.2%, #789 50.2%, #789 85%, #1a1a1a 85%, #1a1a1a 85.2%, #db0 85.2%, #db0 100%);}
.triangle{position: absolute; left: -8px; bottom: -16px; height: 0; width: 0; border-right: 8px solid transparent; border-left: 8px solid transparent; border-bottom: 8px solid black;}
.triangle_pos{position: absolute; top: 0; height: 10px;}

/* Affichage de l'Althing */
.avis-table { margin: 0 auto; max-width: 800px; width: 100%; }
.avis-lien a { font-size: 18px; }
.avis-ligne { display:flex; max-width: 100%; width: 800px; border-radius: 5px; overflow: hidden; }
.avis-col { flex: 1; padding: 8px 12px; display: flex; flex-direction: column; justify-content: center; box-sizing: border-box; }
.avis-ligne .avis-col:first-child { max-width: 160px; background: var(--couleur-sombre); color: var(--couleur-claire); text-align: center; }
.avis-ligne .avis-col:last-child { background: white; color: var(--couleur-sombre); text-align: left; }
.avis-table .altalbum { font-weight:bold; margin-bottom:4px; }
.avis-table .note { font-size:0.9em; }
.avis-table .nom { font-weight:bold; margin-bottom:4px; }
.avis-table .commentaire { font-size:0.9em; line-height:1.4; }

/* Clés noires */
.avis-table .popularite { position: relative; z-index: 10; display: inline-block; width: 100px; height: 20px; margin: 0 auto; }
.avis-table .barre { position: absolute; left: 0; right: 0; top: 0; height: 20px; background: gray; border-radius: 5px; overflow: hidden; }
.avis-table .remplissage { display: block; height: 100%; width: calc(var(--note)/5*100%); background: var(--couleur-claire); }
.avis-table .cles-grises, .cles-noires { position: absolute; display: flex; }
.avis-table .cles-grises span, .cles-noires span { width: 20px; height: 20px; }
.avis-table .cles-grises svg { width: 100%; height: 100%; color: #999; }
.avis-table .masque-noir { position: absolute; inset: 0; width: calc(var(--note)/5*100%); overflow: hidden; }
.avis-table .cles-noires svg { width: 100%; height: 100%; color: var(--couleur-sombre); }

/* Affichage du forum */
.forums-table { display: flex; flex-direction: column; gap: 8px; width: max-content; margin: 0 auto; font-family: Mulish; font-size: 14px; }
.forum-sujet { display: flex; gap: 14px; padding: 14px 18px; background: white; border-radius: 5px; align-items: center; max-width: 100%; width: 600px;  box-sizing: border-box; }
.forum-avatar img { border-radius: 50%; }
.forum-contenu { display: flex; flex-direction: column; gap: 4px; margin: 0 auto; }
.forum-categorie a { font-size: 12px; color: #666; text-decoration: none; }
.forum-titre a { font-size: 16px; font-weight: 700; color: var(--couleur-sombre); text-decoration: none; }
.forum-lien a { font-size: 12px; color: var(--couleur-sombre); text-decoration: none; }
.forum-lien a:hover { color: var(--couleur-or); }