/* Parties d'un même message : une proposition reste distincte d'une réponse acceptée. */
.forum-app .f-prose .f-message-section{
 --section-accent:#e9c18f;--section-line:#655139;--section-surface:#171718;--section-head:#30281e;
 margin:18px 0;border:1px solid var(--section-line);border-radius:10px;background:var(--section-surface);
 box-shadow:none;color:#dedad3;max-width:100%;min-width:0;overflow:hidden;
}
.forum-app .f-prose .f-message-section.is-solution{
 --section-accent:#a2cfb3;--section-line:#3d5d4a;--section-surface:#141819;--section-head:#20342b;color:#dce6e0;
}
.forum-app .f-prose .f-message-section-heading{
 display:inline-flex;align-items:center;gap:7px;width:fit-content;max-width:calc(100% - 28px);
 margin:12px 14px 0;padding:6px 9px;border:1px solid var(--section-line);border-radius:6px;
 background:var(--section-head);color:var(--section-accent);line-height:1.3;
}
.forum-app .f-prose .f-message-section .f-message-section-heading h3{
 margin:0;padding:0;border:0;color:inherit;font-size:13px;line-height:1.3;letter-spacing:0;font-weight:650;
}
.forum-app .f-prose .f-message-section-icon{
 display:inline-flex;align-items:center;justify-content:center;flex:0 0 18px;width:18px;height:18px;
 border:0;border-radius:4px;background:none;color:inherit;font-size:13px;line-height:1;font-weight:750;
}
.forum-app .f-prose .f-message-section-body{padding:12px 14px;font-size:14px;line-height:1.8;overflow-wrap:anywhere;min-width:0}
.forum-app .f-prose .f-message-section-body>:first-child{margin-top:0}
.forum-app .f-prose .f-message-section-body>:last-child{margin-bottom:0}
.forum-app .f-prose .f-message-section-body>p{color:inherit}
.forum-app .f-prose .f-message-section-body :is(ul,ol){padding-left:23px}
.forum-app .f-prose li>p{margin-block:5px}
.forum-app .f-prose .f-message-section .f-message-section{margin-block:12px;box-shadow:none}
.forum-app .f-prose .f-message-section .f-code-block{margin-block:15px}
@media(max-width:600px){
 .forum-app .f-prose .f-message-section{margin-block:15px}
 .forum-app .f-prose .f-message-section-heading{margin:11px 12px 0;padding:6px 8px;gap:6px;max-width:calc(100% - 24px)}
 .forum-app .f-prose .f-message-section .f-message-section-heading h3{font-size:12px}
 .forum-app .f-prose .f-message-section-body{padding:11px 12px;font-size:14px}
}
:root[data-theme=light] .forum-app .f-prose .f-message-section{--section-accent:#92672d;--section-line:#d6c8af;--section-surface:#fffefd;--section-head:#f7f0e3;color:#4b4c49}
:root[data-theme=light] .forum-app .f-prose .f-message-section.is-solution{--section-accent:#467657;--section-line:#bdd2c4;--section-surface:#fdfefd;--section-head:#edf5ef;color:#46564c}
:root[data-theme=light] .forum-app .f-prose .f-message-section .f-message-section-heading h3{color:inherit}
@media print{
 .forum-app .f-prose .f-message-section{background:white;color:black;border-color:#777;box-shadow:none}
 .forum-app .f-prose .f-message-section-heading{background:#eee;color:#222}
}

.f-editor-sections{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:8px 12px;border-top:1px solid var(--game-line,#3b4553);border-bottom:1px solid var(--game-line,#3b4553);background:var(--game-head,#192635)}
.f-editor-sections>span{font-size:10px;color:var(--game-muted,#aebccc);margin-right:4px}.f-editor-sections>button{display:inline-flex;align-items:center;gap:5px;min-height:33px;padding:5px 9px;border:1px solid var(--game-line,#4c5d70);border-radius:var(--game-control-radius,6px);background:var(--game-panel,#233348);color:var(--game-ink,#dfe8f4);font:600 11px "Segoe UI",sans-serif;cursor:pointer}
.f-editor-sections>button>.f-icon{width:14px;height:14px}.f-editor-sections>button[data-format=solution]{color:#b5e3c4;border-color:#4b7d61;background:#233d30}.f-editor-sections>button:hover{filter:brightness(1.18)}.f-editor-sections>button:focus-visible{outline:2px solid #a9c9e9;outline-offset:2px}
@media(max-width:480px){.f-editor-sections{padding:7px 9px;gap:5px}.f-editor-sections>span{display:none}.f-editor-sections>button{font-size:10px;padding-inline:7px;min-height:36px}}
