.bbcode-toolbar { display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin:8px 0; padding:9px; border:1px solid #d9c8ee; border-radius:12px; background:linear-gradient(135deg,#fff7fd,#eff8ff); }
.bbcode-tool,.bbcode-size,.bbcode-color { min-height:34px; border:1px solid #dfbce0; border-radius:7px; padding:5px 9px; font:inherit; font-size:12px; color:#6e276d; background:#fff; }
.bbcode-tool { cursor:pointer; }.bbcode-tool:hover,.bbcode-tool:focus-visible { border-color:#e8299d; background:#ffedf8; }
.bbcode-tool[data-bbcode-tool=b] { font-weight:bold; }.bbcode-tool[data-bbcode-tool=i] { font-style:italic; }.bbcode-tool[data-bbcode-tool=u] { text-decoration:underline; }
.bbcode-color { display:inline-flex; align-items:center; gap:5px; }.bbcode-color input { width:28px; height:24px; padding:0; border:0; cursor:pointer; }
.bbcode-insert { display:flex; flex-wrap:wrap; align-items:end; gap:8px; margin:10px 0; padding:12px; border:1px solid #e2c8e5; border-radius:10px; background:#fff7fd; }.bbcode-insert label { display:grid; flex:1 1 220px; gap:4px; font-size:13px; }.bbcode-insert input { width:100%; min-height:38px; border:1px solid #cecde8; border-radius:7px; padding:7px; }
.bbcode-insert[hidden],.bbcode-preview[hidden],[data-bbcode-preview][hidden] { display:none; }
.bbcode-status,[data-bbcode-status] { margin-top:8px; color:#2c6971; font-size:13px; overflow-wrap:anywhere; }.bbcode-status.is-error,[data-bbcode-status].is-error { color:#ac2246; }
.bbcode-content { min-width:0; overflow-wrap:anywhere; line-height:1.6; color:#293f6c; }.forum-post__body { margin-top:15px; }
.bbcode-content .bbcode-image { display:block; max-width:100%; max-height:720px; height:auto; object-fit:contain; margin:12px 0; border-radius:8px; }
.bbcode-underline { text-decoration:underline; }.bbcode-align-center { text-align:center; }.bbcode-align-center .bbcode-image { margin-left:auto; margin-right:auto; }.bbcode-align-right { text-align:right; }.bbcode-align-right .bbcode-image { margin-left:auto; }.bbcode-align-left { text-align:left; }
.bbcode-quote { margin:12px 0; padding:10px 14px; border-left:4px solid #a95ce6; background:#f3eaff; border-radius:0 8px 8px 0; }.bbcode-quote cite { display:block; margin-bottom:5px; font-weight:700; font-style:normal; }
.bbcode-code { padding:12px; border:1px solid #cbd8ed; border-radius:8px; overflow-x:auto; background:#f3f7fd; color:#243b60; white-space:pre; }.bbcode-list { padding-left:26px; }.bbcode-content a { text-decoration:underline; }
.bbcode-preview,[data-bbcode-preview] { margin-top:12px; padding:15px; border:1px dashed #b7cde5; border-radius:11px; background:#fff; }
.forum-post__signature { margin-top:22px; padding-top:12px; border-top:1px solid #e2e4ef; }.forum-post__signature > span { display:block; margin-bottom:7px; font-size:11px; color:#79839b; }.forum-post__signature .bbcode-content { font-size:13px; }.forum-post__signature .bbcode-image { max-height:320px; }
.forum-composer textarea,[data-bbcode-input] { resize:vertical; }
@media (max-width:650px) { .bbcode-toolbar { gap:4px; padding:6px; }.bbcode-tool { padding:5px 7px; }.forum-post header { flex-wrap:wrap; } }
