.community-auth{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:0 0 16px;font-size:13px}.community-auth .button{font-size:13px;padding:10px 16px}.community-auth .text-link{font-size:12px}.community-auth p{color:var(--muted);line-height:1.7}
.community-editor{margin:26px 0;padding:22px;border:1px solid var(--ink);background:var(--surface-soft,#faf7ef)}.community-editor form{display:grid;gap:12px}.community-editor label{font-size:13px;font-weight:600;display:grid;gap:9px}.community-editor input,.community-editor textarea,.community-dialog textarea{width:100%;box-sizing:border-box;padding:12px;border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:0;font:inherit;line-height:1.7}.community-editor textarea{min-height:120px;resize:vertical;font-size:14px}.community-editor input:focus,.community-editor textarea:focus,.community-dialog textarea:focus{outline:2px solid var(--mint);outline-offset:2px}.community-editor-footer{display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap}.community-editor-footer p{font-size:12px;color:var(--muted);line-height:1.6}.community-editor-footer .button{font-size:13px;padding:10px 18px}.community-status{font-size:13px;line-height:1.8;color:var(--muted);min-height:1.8em;margin-top:12px;overflow-wrap:anywhere}.community-status a{text-decoration:underline}.community-editor button:disabled{opacity:.65;cursor:wait}
.community-list{min-width:0}.community-list .content-comment{padding:22px 0;border-bottom:1px dashed var(--line)}.community-list .content-comment:first-child{padding-top:10px}.community-list .content-comment header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:13px;margin-bottom:12px}.community-list .content-comment-author{font-weight:600}.community-list time{font-size:12px;color:var(--muted)}.community-list h3{font-size:18px;line-height:1.5;margin-bottom:12px;overflow-wrap:anywhere}.community-comment-actions{display:flex;align-items:center;gap:14px}.community-comment-actions button{font-size:12px;color:var(--muted)}.community-comment-actions button:hover{color:#b04735}.community-list .comment-body{font-size:14px;line-height:1.85;overflow-wrap:anywhere}.community-list .comment-body p{margin:8px 0}.community-list .comment-body a{text-decoration:underline;text-underline-offset:3px}.community-list .comment-body img{max-width:100%;height:auto;max-height:500px;object-fit:contain;margin:12px 0}.community-list .comment-body pre{overflow:auto;padding:12px;background:var(--surface-soft)}.community-list .comment-body blockquote{border-left:3px solid var(--mint);margin-left:0;padding-left:14px;color:var(--muted)}.community-list .comment-body table{display:block;max-width:100%;overflow:auto;border-collapse:collapse}.community-list .comment-body th,.community-list .comment-body td{border:1px solid var(--line);padding:6px 10px}.content-comment-plain{white-space:pre-wrap}.community-controls{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:20px;margin-top:20px;font-size:12px}.community-empty{font-size:14px;color:var(--muted);padding:28px 0;line-height:1.8}
.community-dialog{width:min(480px,calc(100vw - 36px));box-sizing:border-box;padding:28px;background:var(--paper);color:var(--ink);border:2px solid var(--ink);box-shadow:5px 5px 0 var(--ink);border-radius:2px}.community-dialog::backdrop{background:#32201b66}.community-dialog h2{font-size:23px;margin-bottom:16px}.community-dialog p{font-size:14px;line-height:1.85;margin:14px 0;overflow-wrap:anywhere}.community-dialog form{display:grid;gap:16px}.community-dialog label{display:grid;gap:10px;font-size:13px}.community-dialog textarea{min-height:90px;resize:vertical}.community-dialog-actions{display:flex;justify-content:flex-end;gap:14px}.community-dialog-actions .button{font-size:13px}.community-danger{background:#f1b4a2!important}.content-manage{display:flex;justify-content:flex-end;align-items:center;gap:15px;margin:18px 0;color:var(--muted);font-size:12px}.content-manage .community-status{margin:0}.content-manage[hidden]{display:none}
@media(max-width:600px){.community-editor{padding:16px;margin:20px 0}.community-editor-footer{gap:12px}.community-editor-footer .button{width:100%;justify-content:center}.community-auth{gap:10px}.community-dialog{padding:22px}.community-comment-actions{gap:10px}.community-controls{gap:16px}.content-manage{align-items:flex-start;flex-direction:column}.community-list .comment-body{font-size:14px}}

.community-editor [hidden],.community-controls [hidden]{display:none!important}
