.member-identity-avatar.has-member-photo,.post-card .avatar-small.has-member-photo,#modal-profile-avatar.has-member-photo{position:relative;isolation:isolate;padding:2px!important;overflow:visible;border:0!important;background:transparent!important}
.has-member-photo::after{content:"";position:absolute;inset:0;border:1px solid #c5a76e;border-radius:50%;pointer-events:none;box-sizing:border-box}
.member-avatar-photo{display:block;width:100%;height:100%;object-fit:cover;border:0;border-radius:50%;clip-path:circle(50%);image-rendering:auto;flex-shrink:0}
.dashboard-member-tier{display:flex;align-items:center;gap:14px;padding:16px;border:1px solid #4c503f;border-radius:12px;background:#20241c;min-width:0}
.post-frequency-note{margin:0;font-size:.75rem;line-height:1.6;color:#aeb6a2}
.dashboard-tier-emblem{position:relative;display:flex;align-items:center;justify-content:center;width:52px;height:52px;flex-shrink:0;border:1px solid currentColor;border-radius:15px;color:#a8b09d;background:#ffffff04}
.dashboard-tier-emblem::after{content:"";position:absolute;inset:5px;border:1px solid currentColor;border-radius:10px;opacity:.2}
.dashboard-tier-emblem svg{width:28px;height:28px}
.dashboard-member-tier[data-tier="pro"] .dashboard-tier-emblem{color:#dbe3ef;background:#dbe3ef0c}
.dashboard-member-tier[data-tier="elite"] .dashboard-tier-emblem{color:#edc96d;background:#edc96d0c}
.dashboard-member-tier[data-tier="test"] .dashboard-tier-emblem{color:#9be1df;background:#9be1df0c}
.dashboard-member-tier[data-tier="expert"] .dashboard-tier-emblem{color:#8dc9fb;background:#8dc9fb0c}
.dashboard-member-tier[data-tier="admin"] .dashboard-tier-emblem{color:#d1b4f5;background:linear-gradient(135deg,#d1b4f517,#d4a85317);border-color:#ceb26d}
.dashboard-tier-copy{min-width:0;display:flex;flex-direction:column;gap:7px}
.dashboard-tier-label{font-size:.7rem;color:#b8c0ae}
.public-page .dashboard-member-guide .dashboard-tier-description{font-size:.75rem;line-height:1.6;overflow-wrap:anywhere}
@media(max-width:380px){.dashboard-member-tier{gap:10px;padding:12px}.dashboard-tier-emblem{width:44px;height:44px}}
#sidebar-user-name:has(.member-verification){display:flex!important;align-items:center;gap:4px}
#sidebar-user-name .member-name-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#sidebar-user-name .member-verification{flex-shrink:0}
.member-avatar-edit,.member-photo-remove{border:0;background:transparent;color:#d5b571;font:inherit;font-size:.75rem;cursor:pointer;padding:.5rem}
.member-photo-editor{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin:0 0 20px}
#member-photo-preview{width:64px;height:64px;font-size:1.5rem}
#member-photo-status{flex:0 0 100%;font-size:.8rem;line-height:1.6;color:#c7cbc0;text-align:center;margin:0}
.theta-feed-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-bottom:14px;min-height:30px}
#theta-feed-status{margin-right:auto;color:#a8b19c;font-size:.75rem}
#theta-feed-status.feed-sync-error{color:#f5a28e}
.feed-toolbar-button{border:1px solid #42473b;border-radius:7px;background:#242820;color:#d5b571;font:inherit;font-size:.75rem;padding:6px 10px;cursor:pointer}
.feed-toolbar-button:hover{background:#32382b}
.post-more-button{margin-left:8px;flex-shrink:0;border:0;border-radius:7px;background:transparent;color:#b9bdaf;font:700 24px/1 sans-serif;padding:2px 6px;cursor:pointer}
.post-more-button:hover,.post-more-button:focus-visible{background:#ffffff0c;color:#ebd4a6}
.post-action-menu{position:fixed;z-index:1000001;width:240px;max-width:calc(100vw - 16px);padding:6px;border:1px solid #535845;border-radius:10px;background:#22261e;box-shadow:0 12px 38px #0008}
.post-action-menu button{display:block;text-align:left;width:100%;border:0;border-radius:6px;background:transparent;color:#e0e4d6;padding:10px 12px;font:inherit;font-size:.82rem;cursor:pointer}
.post-action-menu button:hover,.post-action-menu button:focus-visible{background:#ffffff0d;outline:1px solid #b3945c}
.post-action-menu .post-action-danger{color:#f0a08b}
.post-edited-note{font-size:.65rem;color:#a9b29a;margin-right:10px}
.community-dialog{box-sizing:border-box;width:min(620px,calc(100% - 32px));max-height:85vh;overflow:auto;padding:26px;border:1px solid #545944;border-radius:16px;background:#242820;color:#e9ecdF;box-shadow:0 18px 80px #0008;font-family:var(--font-sans)}
.community-dialog::backdrop{background:#000a;backdrop-filter:blur(5px)}
.community-dialog h2{font-size:1.15rem;margin:0 28px 20px 0;line-height:1.6}
.community-dialog-close{position:absolute;right:14px;top:12px;border:0;background:transparent;color:#c7cbc0;font-size:25px;cursor:pointer}
.community-dialog-description{color:#bdc5b0;font-size:.85rem;line-height:1.8}
.community-field{display:flex;flex-direction:column;gap:7px;font-size:.8rem;margin:14px 0;color:#d4ba88}
.community-field input,.community-field textarea{box-sizing:border-box;width:100%;border:1px solid #4c523f;border-radius:8px;background:#181c15;color:#eee;padding:10px 12px;font:inherit;font-size:16px;line-height:1.6}
.community-field textarea{min-height:130px;resize:vertical}
.community-form-error{font-size:.8rem;color:#f0a08b;line-height:1.6}
.community-review-section{margin:24px 0}.community-review-section h3{color:#d4ba88;font-size:.9rem}
.community-review-item{padding:15px;border:1px solid #444b37;border-radius:10px;margin:12px 0;background:#1c2117}
.community-review-item p{white-space:pre-wrap;overflow-wrap:anywhere;color:#b8c1aa;font-size:.8rem;line-height:1.6}
.community-review-item .feed-toolbar-button{margin:4px 6px 0 0}
.community-review-excerpt{max-height:170px;overflow:auto}
#theta-feed-more{display:block;margin:18px auto}
#theta-feed-more[hidden],#theta-feed-manage[hidden],#topbar-pro-btn[hidden]{display:none!important}
@media(max-width:600px){.community-dialog{padding:22px 16px}.post-more-button{margin-left:4px}.theta-feed-toolbar{flex-wrap:wrap}#theta-feed-status{flex:0 0 100%}.post-card .post-meta{gap:8px}}

/* The feed composer expands inside its existing card; drafts survive collapse. */
.public-page #post-create-box{display:block;scroll-margin-top:90px}
.post-composer-prompt{display:flex;align-items:center;gap:1rem;min-width:0}
.post-composer-prompt #post-input{min-width:0;box-sizing:border-box}
.post-composer-prompt.hidden,.post-composer-panel.hidden{display:none!important}
.post-composer-panel{width:100%;box-sizing:border-box}
.post-composer-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.25rem}
.post-composer-heading h3{font-size:1rem;margin:0;color:#e4e5df;font-weight:600}
.public-page #post-create-box .post-composer-heading button{width:auto!important;padding:.5rem .8rem!important;font-size:.8rem!important}
.inline-post-form{display:flex;flex-direction:column;gap:1.1rem;margin:0;min-width:0}
.inline-post-form .input-group{display:flex;flex-direction:column;gap:.5rem;min-width:0}
.inline-post-form label{color:#c2c5b8;font-size:.82rem;display:flex;align-items:center;gap:.4rem}
.inline-post-form label svg{stroke:currentColor}
.public-page #post-create-box .inline-post-form input,.public-page #post-create-box .inline-post-form select,.public-page #post-create-box .inline-post-form textarea{box-sizing:border-box;width:100%;min-width:0;flex:none;background:#292c25;border:1px solid #454a3d;border-radius:8px;color:#eceee5;padding:.75rem .9rem;font:inherit;font-size:.9rem;line-height:1.6;outline:none;cursor:text}
.public-page #post-create-box .inline-post-form select{cursor:pointer}
.public-page #post-create-box .inline-post-form textarea{min-height:140px;resize:vertical}
.public-page #post-create-box .inline-post-form :is(input,textarea,select):focus-visible{border-color:#d5b571;box-shadow:0 0 0 2px #d5b57122}
.inline-post-form .post-frequency-note{margin:0;color:#b0b6a4;font-size:.72rem;line-height:1.7}
.inline-post-form #submit-post-btn{align-self:flex-end;padding:.75rem 1.25rem!important}
.inline-post-form .community-form-error{margin:0;padding:.7rem .9rem;background:#66322930;border:1px solid #a55c4b66;border-radius:8px}
.inline-post-form :disabled,#post-composer-cancel:disabled{opacity:.6;cursor:wait}
@media(max-width:600px){.public-page #post-create-box{scroll-margin-top:80px}.post-composer-prompt{flex-wrap:wrap;gap:.75rem}.post-composer-prompt #post-input{flex:1 1 100%;width:100%}.inline-post-form #submit-post-btn{width:100%}.public-page #post-create-box .inline-post-form :is(input,textarea,select){font-size:16px!important}.post-composer-heading{margin-bottom:1rem}}

.post-footer .comments-toggle-btn{display:inline-flex;align-items:center;gap:.45rem;padding:.35rem .75rem;border:1px solid #ffffff1f;border-radius:6px;background:#ffffff0d;color:#ccc;font:inherit;font-size:.8rem;cursor:pointer}
.post-footer .comments-toggle-btn[aria-expanded="true"]{border-color:#d5b57177;color:#d5b571}
.public-page .post-footer .like-btn{display:inline-flex;align-items:center;gap:.45rem;padding:.35rem .75rem!important;border:1px solid #ffffff1f!important;border-radius:6px;background:#ffffff0d!important;color:#ccc!important;font:inherit;font-size:.8rem!important;cursor:pointer}
.public-page .post-footer .like-btn[aria-pressed="true"]{color:#edb86e!important;border-color:#d5b57177!important;background:#d5b57114!important}
.post-footer .like-btn[aria-pressed="true"] svg{fill:currentColor}
.post-footer .like-btn:disabled{cursor:wait;opacity:.6}
.reaction-status{font-size:.75rem;margin:.65rem 0 0}.reaction-status[hidden]{display:none!important}
/* Heading gradients mask native color emoji. User-written titles use ordinary text paint. */
.public-page .post-body h3,.public-page .verified-post-reader>h2{background:none!important;-webkit-text-fill-color:currentColor!important;color:#ededeb;font-family:var(--font-sans),"Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",sans-serif;overflow-wrap:anywhere}
.verified-library-item strong{font-family:var(--font-sans),"Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",sans-serif}
.post-comments-panel{border-top:1px solid #ffffff12;margin-top:1rem;padding-top:1rem}
.post-comments-panel[hidden]{display:none!important}
.post-comments-panel [hidden]{display:none!important}
.public-page .comments-expand-button{padding:.45rem 0!important;border:0!important;background:transparent!important;color:#d5b571!important;font-size:.78rem!important;text-align:left;box-shadow:none!important;cursor:pointer}
.comments-status:empty{display:none}
.comments-status{font-size:.8rem;line-height:1.7;margin:0 0 .8rem;color:#b3b9a7}
.community-comment{display:flex;align-items:flex-start;gap:.75rem;padding:.85rem 0;border-bottom:1px solid #ffffff09}
.community-comment .avatar-small{width:30px;height:30px;font-size:.8rem;flex-shrink:0}
.community-comment-copy{flex:1;min-width:0}
.comment-author{border:0;padding:0;background:transparent;color:#e9e9e2;font:inherit;font-size:.82rem;font-weight:600;cursor:pointer;text-align:left}
.public-page .community-comment .comment-author{border:0!important;border-radius:0!important;padding:0!important;background:transparent!important;min-height:0!important;box-shadow:none!important}
.comment-date{font-size:.65rem;color:#929c85;line-height:1.8}
.comment-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.9rem;line-height:1.7;margin:.35rem 0 0}
.comment-remove{padding:0 .5rem;border:0;background:transparent;color:#c3c8b7;font-size:21px;cursor:pointer}
.comment-pages{display:flex;gap:.6rem;flex-wrap:wrap;margin:.75rem 0}.comment-pages button[hidden]{display:none!important}
.comment-form{display:flex;align-items:flex-end;gap:.75rem;margin-top:1rem}
.comment-input-label{display:flex;flex-direction:column;gap:.5rem;flex:1;min-width:0;font-size:.75rem;color:#c0c4b8}
.comment-reply-input{box-sizing:border-box;width:100%;min-height:76px;resize:vertical;padding:.7rem .85rem;border:1px solid #4a503f;border-radius:8px;color:#ecefe4;background:#262a21;font:inherit;font-size:.9rem;line-height:1.6}
.comment-reply-input:focus-visible{outline:1px solid #d5b571}
.comment-form .send-comment-btn{padding:.65rem 1rem!important}
@media(max-width:600px){.comment-form{flex-direction:column;align-items:stretch}.comment-reply-input{font-size:16px}.community-comment{gap:.55rem}.community-comment .member-name-row{gap:.4rem}}
