/* Forum heros.ws : theme sombre, mobile first. */
body.fo { background: #14110f; background-image: none; color: #e8e0d0; font-family: Montserrat, Roboto, sans-serif; margin: 0; }
.fo a { color: #e8b04a; text-decoration: none; }
.fo-barre { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 4px; min-height: 56px; padding: 0 4px; background: #1f1812; border-bottom: 1px solid #3a2c1c; }
.fo-titre { flex: 1; margin: 0; font-size: 1.1rem; font-weight: 700; color: #f3e6c8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fo-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: #e8b04a; font-size: 1.5rem; }
.fo-btn.fo-texte { font-size: .9rem; padding: 0 8px; }
.fo-badge { width: 32px; height: 32px; object-fit: contain; }
.fo-pastille { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: #c0392b; color: #fff; font-size: .7rem; line-height: 18px; text-align: center; }
.fo-page { max-width: 760px; margin: 0 auto; padding: 12px; }
.fo-carte { background: #1f1812; border: 1px solid #3a2c1c; border-radius: 8px; padding: 16px; }
.fo-carte h2 { margin-top: 0; font-size: 1.3rem; color: #f3e6c8; }
.fo-vide { text-align: center; color: #b8aa90; }
.fo-bouton { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border: 0; border-radius: 6px; background: #b8701c; color: #fff !important; font-weight: 700; cursor: pointer; }
.fo-bandeau { margin: 0 0 12px; padding: 12px; border-radius: 6px; background: #4a1f1a; color: #f3c9c0; }
.fo-actions, .fo-pagination { display: flex; gap: 8px; margin: 12px 0; }
.fo-recherche { display: flex; gap: 8px; margin-bottom: 12px; }
.fo-recherche input { flex: 1; min-height: 44px; margin: 0; padding: 0 12px; border: 1px solid #3a2c1c; border-radius: 6px; background: #0e0b09; color: #e8e0d0; }
.fo-liste { list-style: none; margin: 0; padding: 0; }
.fo-liste li { margin: 0 0 8px; }
.fo-ligne { display: block; min-height: 44px; padding: 12px; border: 1px solid #3a2c1c; border-radius: 8px; background: #1f1812; color: #e8e0d0 !important; }
.fo-ligne:active { background: #2a2018; }
.fo-non-lue { border-color: #c89b3c; }
.fo-ligne-titre { display: block; font-weight: 700; color: #f3e6c8; overflow-wrap: anywhere; }
.fo-ligne-meta { display: block; margin-top: 4px; font-size: .8rem; color: #a99a80; }

/* Sujet, messages, reponse */
.fo-bandeau.fo-info { background: #2a2418; color: #d8c9a4; }
.fo-message { margin: 0 0 10px; padding: 12px; border: 1px solid #3a2c1c; border-radius: 8px; background: #1f1812; }
.fo-message.fo-masque { opacity: .6; border-style: dashed; }
.fo-message-tete { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.fo-avatar { object-fit: cover; display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: #3a2c1c; color: #f3e6c8; font-weight: 700; }
.fo-message-qui { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-width: 0; }
.fo-pseudo { font-weight: 700; overflow-wrap: anywhere; }
.fo-badge-petit { width: 22px; height: 22px; object-fit: contain; }
.fo-date { font-size: .75rem; color: #a99a80; }
.fo-etiquette { margin: 0 0 8px; font-size: .75rem; color: #d8a05a; }
.fo-texte-message { overflow-wrap: anywhere; line-height: 1.45; }
.fo-message-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.fo-act { min-height: 44px; padding: 0 12px; border: 1px solid #3a2c1c; border-radius: 6px; background: transparent; color: #e8b04a; font: inherit; font-size: .8rem; cursor: pointer; }
.fo-act:active { background: #2a2018; }
.fo-act.fo-danger { color: #e07060; }
.fo-page-num { align-self: center; color: #a99a80; font-size: .85rem; }
.fo-pagination { align-items: center; justify-content: center; }
.spoiler { background: #4a4036; color: transparent; border-radius: 3px; filter: blur(5px); cursor: pointer; user-select: none; -webkit-user-select: none; }
.spoiler.revele { background: transparent; color: inherit; filter: none; user-select: text; -webkit-user-select: text; }
.spoiler:focus-visible { outline: 2px solid #e8b04a; }
.fo-repondre { position: sticky; bottom: 0; margin: 12px -12px 0; padding: 10px 12px; background: #1f1812; border-top: 1px solid #3a2c1c; }
.fo-repondre.fo-nouveau { position: static; margin: 0; border: 1px solid #3a2c1c; border-radius: 8px; }
.fo-repondre textarea, .fo-repondre input[type=text] { display: block; width: 100%; box-sizing: border-box; margin: 0 0 8px; padding: 10px 12px; border: 1px solid #3a2c1c; border-radius: 6px; background: #0e0b09; color: #e8e0d0; font: inherit; }
.fo-repondre textarea { min-height: 80px; resize: vertical; }
.fo-repondre input[type=text] { min-height: 44px; }
.fo-repondre-bas { display: flex; align-items: center; gap: 8px; }
.fo-compteur { flex: 1; text-align: right; font-size: .85rem; color: #a99a80; }
.fo-compteur.fo-depasse { color: #e07060; font-weight: 700; }
.fo-repondre .fo-bouton:disabled { opacity: .5; cursor: default; }
.fo-erreur { margin: 0 0 8px; padding: 8px 10px; border-radius: 6px; background: #4a1f1a; color: #f3c9c0; }
.fo-section-nom { margin: 0 0 8px; font-size: .85rem; color: #a99a80; }

/* Feuille de don (bas d'ecran), toast, administration */
.fo-fond { position: fixed; inset: 0; z-index: 20; background: rgba(0,0,0,.6); }
.fo-feuille { position: fixed; left: 0; right: 0; bottom: 0; z-index: 21; max-width: 760px; margin: 0 auto; padding: 16px 16px 24px; border-radius: 14px 14px 0 0; background: #1f1812; border-top: 1px solid #3a2c1c; }
.fo-feuille[hidden], .fo-fond[hidden] { display: none; }
.fo-feuille h2 { margin: 0 0 8px; font-size: 1.1rem; color: #f3e6c8; }
.fo-feuille-restant { margin: 0 0 12px; color: #d8c9a4; }
.fo-feuille-montants { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.fo-feuille-montants .fo-bouton:disabled { opacity: .4; cursor: default; }
.fo-toast { position: fixed; left: 12px; right: 12px; bottom: 16px; z-index: 30; max-width: 520px; margin: 0 auto; padding: 12px 14px; border-radius: 8px; background: #2a2418; color: #f3e6c8; border: 1px solid #b8701c; text-align: center; }
.fo-toast.fo-toast-err { background: #4a1f1a; color: #f3c9c0; border-color: #c0392b; }
.fo-admin { margin-bottom: 12px; }
.fo-admin h2 { font-size: 1.1rem; }

/* Profil, images */
.fo-profil { margin-bottom: 12px; border: 1px solid #3a2c1c; border-radius: 8px; overflow: hidden; background: #1f1812; }
.fo-couverture { height: 110px; background: linear-gradient(135deg, #3a2c1c 0%, #6b4420 55%, #1f1812 100%) center / cover no-repeat; }
.fo-profil-tete { display: flex; align-items: flex-end; gap: 12px; padding: 0 12px 12px; margin-top: -40px; }
.fo-avatar-grand { flex: none; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid #1f1812; background: #3a2c1c; }
.fo-profil-qui { min-width: 0; padding-bottom: 4px; }
.fo-profil-nom { margin: 0; font-size: 1.2rem; color: #f3e6c8; overflow-wrap: anywhere; }
.fo-profil-meta { margin: 4px 0 0; display: flex; align-items: center; gap: 6px; color: #a99a80; font-size: .85rem; }
.fo-profil-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 12px 12px; }
.fo-profil .fo-erreur { margin: 0 12px 8px; }
.fo-info-appli { margin: 0; color: #d8c9a4; font-size: .9rem; }
.fo-titre-liste { font-size: 1.05rem; color: #f3e6c8; margin: 16px 0 8px; }
.fo-image-jointe { margin: 8px 0 0; }
.fo-image-jointe img { display: block; max-width: 100%; height: auto; border-radius: 6px; }
.fo-joint-zone { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 8px; }
.fo-joint { color: #d8c9a4; font-size: .85rem; }
.fo-joint[hidden] { display: none; }
