body { background: linear-gradient(135deg, #fafbfc 0%, #ffffff 50%, #faf8f6 100%); }
.fo-wrap { max-width: 1400px; margin: 0 auto; padding: 90px 40px 90px; }
.fo-loading { color: #9098b1; text-align: center; padding: 60px; }
.fo-back { display:inline-flex; align-items:center; gap:7px; font-size:13px; font-weight:600; color:#9098b1; text-decoration:none; margin-bottom:22px; transition:color .2s; }
.fo-back:hover { color:#E27D74; }
.fo-head { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; margin-bottom:32px; flex-wrap:wrap; }
.fo-title { font-size:38px; font-weight:800; letter-spacing:-1px; color:#0a0e27; }
.fo-desc { font-size:15px; color:#5a5f7e; margin-top:6px; max-width:600px; }
.fo-btn { padding:11px 22px; background:#E27D74; color:#fff; border:none; border-radius:10px; font-family:Inter,sans-serif; font-size:14px; font-weight:600; cursor:pointer; text-decoration:none; display:inline-block; transition:background .2s; }
.fo-btn:hover { background:#d06b62; }
/* Categories */
.fo-cat { display:flex; align-items:center; gap:18px; padding:22px; background:#fff; border:1px solid rgba(10,14,39,.07); border-radius:14px; margin-bottom:14px; text-decoration:none; transition:all .25s; }
.fo-cat:hover { transform:translateY(-2px); box-shadow:0 12px 32px rgba(10,14,39,.08); }
.fo-cat-dot { width:44px; height:44px; border-radius:12px; flex-shrink:0; display:flex; align-items:center; justify-content:center; }
.fo-cat-dot svg { color:#fff; }
.fo-cat-info { flex:1; min-width:0; }
.fo-cat-name { font-size:18px; font-weight:700; color:#0a0e27; margin-bottom:3px; }
.fo-cat-d { font-size:13.5px; color:#5a5f7e; }
.fo-cat-stats { text-align:right; font-size:13px; color:#9098b1; flex-shrink:0; }
.fo-cat-stats b { color:#0a0e27; font-weight:700; }
/* Sujets (liste) */
.fo-topic { display:flex; align-items:center; gap:16px; padding:18px 20px; background:#fff; border:1px solid rgba(10,14,39,.07); border-radius:12px; margin-bottom:10px; text-decoration:none; transition:all .2s; }
.fo-topic:hover { border-color:#E27D74; }
.fo-topic-main { flex:1; min-width:0; }
.fo-topic-title { font-size:16px; font-weight:700; color:#0a0e27; display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.fo-topic-meta { font-size:12.5px; color:#9098b1; margin-top:3px; }
.fo-topic-stats { text-align:center; font-size:13px; color:#9098b1; flex-shrink:0; min-width:70px; }
.fo-topic-stats b { display:block; color:#0a0e27; font-size:16px; font-weight:700; }
.fo-badge { font-size:10px; font-weight:700; padding:2px 8px; border-radius:6px; text-transform:uppercase; letter-spacing:.03em; }
.fo-badge.pin { color:#E27D74; background:#fef4f2; }
.fo-badge.lock { color:#9098b1; background:#f0f2f7; }
/* Sujet (detail) */
.fo-post { background:#fff; border:1px solid rgba(10,14,39,.07); border-radius:16px; padding:26px; margin-bottom:20px; }
.fo-post.op { border-color:rgba(226,125,116,.3); background:linear-gradient(135deg,#fffdfc,#fff); }
.fo-post-h { display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.fo-av { width:42px; height:42px; border-radius:50%; background:#E27D74; color:#fff; display:flex; align-items:center; justify-content:center; font-size:15px; font-weight:700; flex-shrink:0; }
.fo-post-author { font-size:15px; font-weight:700; color:#0a0e27; }
.fo-post-date { font-size:12.5px; color:#9098b1; }
.fo-post-body { font-size:15px; line-height:1.7; color:#3a3f5e; }
.fo-post-body p { margin:0 0 12px; }
.fo-post-body img { max-width:100%; border-radius:8px; }
.fo-post-foot { display:flex; align-items:center; gap:14px; margin-top:18px; padding-top:16px; border-top:1px solid rgba(10,14,39,.06); }
.fo-like { display:inline-flex; align-items:center; gap:6px; font-size:13px; font-weight:600; color:#9098b1; background:none; border:1px solid #e2e5ee; border-radius:20px; padding:6px 14px; cursor:pointer; transition:all .2s; }
.fo-like.on { color:#E27D74; border-color:#E27D74; background:#fef4f2; }
.fo-like:hover { border-color:#E27D74; }
.fo-quote-btn { font-size:13px; font-weight:600; color:#9098b1; background:none; border:none; cursor:pointer; }
.fo-quote-btn:hover { color:#E27D74; }
.fo-quoted { background:#f4f6fb; border-left:3px solid #E27D74; padding:10px 14px; border-radius:6px; margin-bottom:12px; font-size:13.5px; color:#5a5f7e; }
.fo-quoted-a { font-weight:700; color:#0a0e27; font-size:12.5px; }
/* Editeur reponse */
.fo-reply-box { background:#fff; border:1px solid rgba(10,14,39,.07); border-radius:16px; padding:22px; margin-top:24px; }
.fo-reply-t { font-size:16px; font-weight:700; color:#0a0e27; margin-bottom:14px; }
.fo-rte-toolbar { display:flex; gap:4px; margin-bottom:8px; flex-wrap:wrap; }
.fo-rte-btn { width:32px; height:32px; border:1px solid #e2e5ee; background:#fff; border-radius:7px; cursor:pointer; color:#5a5f7e; display:inline-flex; align-items:center; justify-content:center; font-size:14px; font-weight:700; }
.fo-rte-btn:hover { background:#f4f6fb; color:#0a0e27; }
.fo-rte { min-height:120px; border:1px solid rgba(10,14,39,.14); border-radius:10px; padding:14px; font-family:Inter,sans-serif; font-size:14px; line-height:1.6; outline:none; }
.fo-rte:focus { border-color:#E27D74; }
.fo-rte:empty:before { content:attr(data-ph); color:#b0b6c8; }
.fo-login-msg { padding:20px; background:#f4f6fb; border-radius:12px; text-align:center; font-size:14px; color:#5a5f7e; margin-top:24px; }
.fo-login-msg a { color:#E27D74; font-weight:700; text-decoration:none; }
.fo-locked-msg { padding:16px; background:#f0f2f7; border-radius:12px; text-align:center; font-size:14px; color:#9098b1; margin-top:24px; }
.fo-empty { text-align:center; padding:60px 20px; color:#9098b1; }
.fo-msg { font-size:13px; font-weight:600; margin-top:8px; }
@media (max-width:768px){ .fo-wrap{padding:100px 20px 60px;} .fo-title{font-size:28px;} .fo-cat-stats,.fo-topic-stats{display:none;} }

/* Listes dans l editeur et les posts : retrait interne pour que les puces restent dans le cadre */
.fo-rte ul, .fo-rte ol { padding-left: 24px; margin: 8px 0; }
.fo-rte li { margin: 3px 0; }
.fo-post-body ul, .fo-post-body ol { padding-left: 24px; margin: 8px 0; }
.fo-post-body li { margin: 3px 0; }
.fo-post-body a { color: #E27D74; text-decoration: underline; }
.fo-rte a { color: #E27D74; }
