:root{--je-bottom-space:calc(49px + env(safe-area-inset-bottom,0px))}
#je-bottom-nav{padding-bottom:env(safe-area-inset-bottom,0px)}
#je-bottom-nav>nav{height:48px;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}
#je-bottom-nav .je-profile-nav{height:100%;margin:0 4px;padding:2px 0}
#je-bottom-nav .je-profile-nav small{display:none}
#je-bottom-nav .je-member-avatar--bottom{width:22px;height:22px}
.je-profile-slot{position:relative;min-width:0}
.je-account-panel{display:none;position:absolute;bottom:100%;left:0;width:310px;max-height:calc(100dvh - var(--je-bottom-space) - 90px);overflow:auto;padding:16px;background:#fff;color:#18181b;border:1px solid #d4d4d8;border-radius:8px;box-shadow:0 -8px 24px #18181b26;font-size:13px}
.je-account-panel>strong{display:block;margin-bottom:12px;font-size:15px}
.je-account-panel label{display:block;margin:12px 0 6px}
.je-account-panel input[type=search]{width:100%;padding:9px;border:1px solid #a1a1aa;border-radius:5px;color:#18181b;background:#fff}
.je-account-panel [data-account-results]{margin-top:10px}
.je-account-option{display:flex;align-items:center;gap:10px;width:100%;padding:9px 4px;text-align:left;border:0;border-bottom:1px solid #f4f4f5;background:#fff;color:#18181b;cursor:pointer}
.je-account-option:hover,.je-account-option:focus-visible{background:#fdf4ff;outline:2px solid #a21caf;outline-offset:-2px}
.je-account-option img,.je-account-initials{width:32px;height:32px;flex-shrink:0;border-radius:50%;object-fit:cover}
.je-account-initials{display:grid;place-items:center;background:#fae8ff;color:#86198f;font-weight:700}
.je-account-option small{display:block;color:#71717a;font-size:11px}
.je-account-return,.je-impersonation-bar button{padding:8px 10px;border:1px solid #a21caf;border-radius:5px;background:#a21caf;color:#fff;font-weight:600;cursor:pointer}
.je-impersonation-bar{position:fixed;bottom:var(--je-bottom-space);left:0;right:0;z-index:9997;display:flex;justify-content:center;align-items:center;gap:12px;padding:6px 12px;background:#fef3c7;color:#78350f;font-size:12px}
body:has(.je-impersonation-bar){padding-bottom:100px}
@media(min-width:1024px){.je-profile-slot--member{display:none}.je-profile-slot--admin:hover .je-account-panel,.je-profile-slot--admin:focus-within .je-account-panel{display:block}}
.je-social-card{border-radius:8px}
.je-comment-preview{display:flex;gap:10px;padding:10px 0;border-top:1px solid #f4f4f5;font-size:13px;line-height:1.5}
.je-comment-preview img,.je-comment-preview>.je-account-initials{width:30px;height:30px;flex-shrink:0}
.je-comment-preview img{border-radius:50%;object-fit:cover}
.je-comment-preview>div{min-width:0;flex:1}
.je-comment-preview p{margin:3px 0 0;overflow-wrap:anywhere;white-space:pre-line}
.je-comment-preview time{color:#71717a;font-size:11px;margin-left:8px}
.comments-modal{bottom:var(--je-bottom-space);z-index:10000}
.comments-modal .je-comments-sheet{height:100%;max-height:760px;max-width:800px;border-radius:10px}
.comments-modal .je-comments-composer{padding:10px 16px}
.comments-modal .comments-modal-textarea{border-radius:6px;padding:9px 12px;font-size:14px;line-height:1.5;max-height:120px}
#sm-modal{z-index:10000;bottom:var(--je-bottom-space)}
#sm-modal>div{max-height:calc(100dvh - var(--je-bottom-space) - 32px);overflow-y:auto}
body:has(.je-impersonation-bar) .comments-modal,body:has(.je-impersonation-bar) #sm-modal{bottom:calc(var(--je-bottom-space) + 48px)}
@media(max-width:1023px){.je-account-panel{display:none!important}.comments-modal .je-comments-sheet{max-height:none}}
