.community-bell {position:relative;display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border:1px solid #98714380;background:#0c090c77;color:#dac19a;cursor:pointer}
.community-bell svg {width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.community-unread {position:absolute;top:4px;right:4px;width:6px;height:6px;border-radius:50%;background:#f0c47c;box-shadow:0 0 5px #f0c47c,0 0 13px #e5ac5f99}
.community-bell.has-unread {border-color:#caa368;box-shadow:0 0 14px #c9974b28}
.community-inbox {position:fixed;inset:100px 24px auto auto;margin:0;width:min(410px,calc(100vw - 30px));max-height:78vh;overflow:auto;padding:24px;box-sizing:border-box;border:1px solid #a47a44;background:linear-gradient(#160f18ef,#100b13f8),url('/assets/upstairs/plum-velvet.webp') center/cover;color:#e9d9c4;box-shadow:0 25px 100px #000b;font:13px/1.65 system-ui,sans-serif;letter-spacing:normal;text-align:left}
.community-inbox::backdrop {background:#0005}
.community-inbox>header {display:flex;align-items:start;justify-content:space-between;gap:15px;margin-bottom:16px}
.community-inbox header p {font:9px/1.5 system-ui;letter-spacing:.16em;color:#c4a272;margin:0}
.community-inbox h2 {font:34px/1.2 Georgia,serif;margin:6px 0;color:#ebd6b7}
.community-inbox button,.community-thread button,.community-moderation button {border:1px solid #98714380;background:#100b12;color:#d9bc8f;padding:7px 10px;cursor:pointer;font:12px/1.4 system-ui,sans-serif}
.community-inbox [data-inbox-close] {font-size:24px;padding:0 8px}
.inbox-tools {display:flex;gap:12px;justify-content:space-between;align-items:center;font-size:10px;border-block:1px solid #8a68444f;padding:12px 0}
.inbox-item {display:block!important;margin:0!important;padding:15px 10px!important;border-bottom:1px solid #8a684433;color:#d0bda5!important;font-size:12px!important;text-decoration:none;overflow-wrap:anywhere}
.inbox-item.is-unread {background:#bc8b3e0d;border-left:2px solid #d8b175;color:#eddbbf!important}
.inbox-item time {display:block;margin-top:5px;font-size:10px;color:#9d8875}
.community-status {font:12px/1.7 system-ui,sans-serif;white-space:normal;color:inherit;opacity:.85;margin:12px 0}
.community-blocks {margin-top:20px;border-top:1px solid #8a68444f;padding-top:16px}
.community-blocks summary {cursor:pointer;font-size:11px;color:#ba9d78}
.community-blocks p {font-size:11px;color:#ad9983}
.community-block-row {display:flex;gap:12px;justify-content:space-between;align-items:center;margin:12px 0}
.community-report-link {display:block!important;margin-top:20px!important;color:#d8b175!important;font-size:11px!important}
.community-thread {margin-top:20px;border-top:1px solid color-mix(in srgb,var(--home-accent,#b88c4e) 25%,transparent);padding-top:16px;text-align:left}
.community-thread>summary {cursor:pointer;font:12px/1.6 system-ui,sans-serif;color:var(--home-accent,#d3ae6e)}
.community-thread-content {margin-top:20px}
.community-comment {margin:16px 0;padding:15px 0;border-bottom:1px solid color-mix(in srgb,var(--home-accent,#b88c4e) 18%,transparent);scroll-margin-top:35px}
.community-comment header {display:flex;gap:10px;justify-content:space-between;align-items:start;background:none!important;padding:0!important;font:12px/1.6 system-ui,sans-serif}
.community-comment header a {color:var(--home-accent,#d3ae6e)}
.community-comment time {font-size:10px;opacity:.6}
.community-comment p {white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.8}
.community-comment-actions {display:flex;gap:8px;flex-wrap:wrap}
.community-comment-actions button {font-size:10px;padding:5px 8px;background:transparent;color:inherit;border-color:#92704c55}
.community-comment form,.community-comment-form {display:grid;gap:10px;margin-top:15px}
.community-thread textarea {box-sizing:border-box;width:100%;min-height:100px;resize:vertical;padding:12px;border:1px solid #92704c77;background:var(--home-bg,#100b12);color:var(--home-text,#ead9c3);font:14px/1.7 system-ui,sans-serif}
.community-thread small {font:11px/1.6 system-ui,sans-serif;opacity:.7}
.community-thread button:disabled,.community-inbox button:disabled {opacity:.5;cursor:wait}
.community-thread-controls {display:flex;justify-content:space-between;align-items:center;gap:10px;font:11px/1.5 system-ui,sans-serif}
.community-moderation {width:min(1000px,calc(100% - 40px));margin:40px auto 80px}
.community-moderation h1 {font:46px Georgia,serif}
.community-report {margin:24px 0;padding:24px;border:1px solid #98714366;background:#171018}
.community-report header {display:flex;justify-content:space-between;gap:15px}
.community-report blockquote {white-space:pre-wrap;overflow-wrap:anywhere;border-left:2px solid #a47a44;padding-left:20px;margin-inline:0}
@media(max-width:600px) {.community-inbox{inset:80px 15px auto auto;padding:20px;max-height:80vh}.community-comment header{display:block}.community-thread-controls{flex-wrap:wrap}}
