.post-editor{min-width:0;flex:1;border:1px solid #8295c33e;border-radius:12px;background:#0a0f1d;overflow:hidden}
.hub-page .post-editor textarea{display:block;width:100%;min-height:92px;margin:0;border:0;border-radius:0;background:transparent;padding:13px;color:#e5eafd;font-size:13px;line-height:1.7;resize:vertical}
.hub-page .post-editor textarea:focus{outline:none}.post-editor:focus-within{border-color:#af9bed;box-shadow:0 0 0 2px #b399ff15}
.post-editor-toolbar{display:flex;align-items:center;gap:3px;padding:5px 8px;border-top:1px solid #8194c31c;flex-wrap:wrap}
.hub-page .post-editor-tool{display:inline-flex;align-items:center;justify-content:center;width:32px;min-width:32px;height:32px;padding:7px;border:0;border-radius:6px;background:transparent;color:#a8b6d3}
.post-editor-tool svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.hub-page .post-editor-tool:hover,.hub-page .post-editor-tool[aria-pressed=true]{background:#a991ed20;color:#d2bfff}.post-editor-toolbar .post-editor-tool:last-child{margin-left:auto}
.hub-page .post-editor-toolbar select{width:auto;max-width:125px;min-height:30px;margin:0 4px;padding:5px 20px 5px 8px;border:1px solid #8194c32b;border-radius:7px;background:#14192a;color:#bdc7e4;font-size:11px}
.post-editor-hint{margin:0;padding:3px 11px 9px;color:#8999b7;font-size:10px;line-height:1.5}
.post-editor-status{margin:0;padding:9px 11px;color:#cdb8ff;font-size:12px;line-height:1.5}
.post-editor-preview{padding:12px;min-height:92px}.post-editor-preview>.hub-post-body{margin:0}.post-editor-preview>p{font-size:12px;color:#8c9cba}
.post-editor-files{display:grid;gap:6px;padding:7px 10px}
.post-editor-file{display:flex;align-items:center;gap:9px;border:1px solid #8194c32c;border-radius:8px;padding:7px 8px;background:#14192b;min-width:0}
.post-editor-file>img{width:36px;height:36px;object-fit:cover;border-radius:5px}.post-editor-file>span{min-width:0;flex:1}.post-editor-file strong{display:block;font-size:11px;font-weight:500;overflow-wrap:anywhere}.post-editor-file small{display:block;color:#8e9ebc;font-size:10px;margin-top:2px}
.hub-page .post-editor-file>button{background:transparent;border:0;border-radius:6px;color:#b8a8dc;padding:6px;font-size:20px;min-width:32px;min-height:32px}
.post-editor :is(button,select):focus-visible{outline:2px solid #bba4ff;outline-offset:1px}
.hub-post-body>p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 12px}.hub-post-body>p:last-child{margin-bottom:0}
.hub-post-body p>code{font-family:var(--mono);font-size:.92em;padding:2px 5px;background:#a991ed17;color:#d0baff;border:1px solid #a991ed22;border-radius:4px;overflow-wrap:anywhere}
.hub-code-block{margin:12px 0;border:1px solid #8194c335;border-radius:10px;background:#080d18;overflow:hidden;white-space:normal;max-width:100%;min-width:0}
.hub-code-block figcaption{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 12px;border-bottom:1px solid #8194c329;color:#bba8ef;background:#14192b;font-size:10px;line-height:1.5}
.hub-page .hub-code-block figcaption button{border:0;border-radius:4px;background:transparent;color:#98abc9;padding:3px 5px;font-size:10px;cursor:pointer}.hub-code-block figcaption button:hover{color:#e4dbff;background:#a991ed15}
.hub-code-block pre{margin:0;padding:14px;max-width:100%;overflow-x:auto;overscroll-behavior:contain;white-space:pre;font:12px/1.75 var(--mono);tab-size:2;color:#ced6eb;scrollbar-width:thin}.hub-code-block pre:focus-visible{outline:2px solid #a99aef;outline-offset:-2px}
.hljs-keyword,.hljs-selector-tag,.hljs-literal{color:#cba6f7}.hljs-string,.hljs-attr,.hljs-template-tag{color:#a6dfbe}.hljs-number,.hljs-symbol{color:#eabf92}.hljs-comment,.hljs-quote{color:#8a98b4;font-style:italic}.hljs-title,.hljs-title.function_,.hljs-section{color:#9cc9ff}.hljs-built_in,.hljs-type,.hljs-tag,.hljs-name{color:#8bd6e2}.hljs-variable,.hljs-params{color:#d2d9ef}.hljs-meta,.hljs-regexp{color:#edb7ca}
.hub-attachments{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr));gap:9px;margin:13px 0;min-width:0}
.hub-attachment{display:flex;flex-direction:column;gap:8px;padding:8px;border:1px solid #8194c335;border-radius:10px;background:#ffffff03;min-width:0}.hub-attachment:hover{border-color:#b69bea88;background:#a991ed0a}.hub-attachment>img{display:block;width:100%;height:150px;object-fit:cover;border-radius:6px}.hub-attachment>span{padding:2px 3px}.hub-attachment strong{display:block;font-size:11px;font-weight:500;overflow-wrap:anywhere}.hub-attachment small{display:block;margin-top:4px;color:#8ea3c5;font-size:10px}
.hub-post-edited{font-size:10px;color:#8e9ebc;margin-top:8px}.hub-edit-form{margin:14px 0}.hub-edit-form>label{display:grid;gap:7px;margin:10px 0;font-size:12px;color:#b7c4dd}.hub-page .hub-edit-form>label>input{width:100%;padding:10px;border:1px solid #8194c33e;background:#0a0f1d;border-radius:8px;color:#e5eafd}.hub-edit-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:12px}.hub-edit-actions button{font-size:11px}
.hub-post-actions{flex-wrap:wrap}
.hub-reply-form>.post-editor{margin:10px 0 13px}.hub-reply-form>label{font-size:12px;color:#b7c4dd}
@media(max-width:480px){.post-editor-toolbar{gap:1px;padding:5px}.hub-page .post-editor-tool{width:30px;min-width:30px}.hub-page .post-editor-toolbar select{font-size:10px;max-width:105px;margin:0 1px}.post-editor-hint{font-size:9px}.hub-code-block pre{font-size:11px}.hub-attachment>img{height:130px}}
