/* NOMI post sharing: mutually exclusive feed and private-message flows */
.nomi-share-dialog{width:min(560px,calc(100vw - 24px));max-height:calc(100dvh - 28px);box-sizing:border-box;overscroll-behavior:contain}
.nomi-share-box{gap:13px}
.nomi-share-head{display:flex;align-items:center;gap:12px;justify-content:space-between}
.nomi-share-head h3{font-size:clamp(18px,4.2vw,21px);line-height:1.3}
.nomi-share-close{border:1px solid #73528e;border-radius:12px;background:#301a47;color:#fff;min-width:40px;height:40px;font-size:26px;line-height:1;cursor:pointer}
.nomi-share-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.nomi-share-tab{min-width:0;padding:11px 8px;border:1px solid #70518e;border-radius:12px;background:#211332;color:#d8c3e5;font:inherit;font-weight:600;font-size:13px;line-height:1.35;cursor:pointer}
.nomi-share-tab.is-active{color:#fff;border-color:#d394eb;background:linear-gradient(125deg,#853ec5,#b84ca7);box-shadow:0 3px 12px #280f3d70}
.nomi-share-pane{min-width:0}
.nomi-share-box .nomi-share-label{display:grid;gap:8px;font-weight:700}
.nomi-share-box .nomi-share-audience{font-size:14px}
.nomi-share-note{box-sizing:border-box;width:100%;min-height:76px!important;max-height:140px;resize:vertical}
.nomi-share-dm{display:grid;gap:10px;min-width:0}
.nomi-share-dm[hidden],.nomi-share-pane[hidden],.nomi-share-box button[hidden]{display:none!important}
.nomi-share-friends-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;color:#fff}
.nomi-share-friends-heading strong{font-size:14px}
.nomi-share-count{border:1px solid #815ba0;border-radius:99px;background:#2a173b;padding:6px 10px;font-size:12px;font-weight:700;white-space:nowrap;color:#f3d6ff}
.nomi-share-search{width:100%;min-width:0;box-sizing:border-box;background:#170f29;border:1px solid #8255a3;border-radius:11px;color:#fff;padding:12px 13px;font:inherit;font-size:14px}
.nomi-share-search::placeholder{color:#c5b0d0}
.nomi-share-friends{display:grid;align-content:start;gap:7px;max-height:min(40vh,320px);overflow-y:auto;overscroll-behavior:contain;padding:4px 2px 4px 0}
.nomi-share-friend{width:100%;box-sizing:border-box;display:flex;align-items:center;gap:11px;padding:9px 11px;border:1px solid #695080;border-radius:12px;background:#261636;color:#f8ecff;text-align:left;font:inherit;cursor:pointer}
.nomi-share-friend.is-selected{background:#4b2760;border-color:#d393eb;box-shadow:inset 0 0 0 1px #aa66cb}
.nomi-share-avatar{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border:1px solid #956db3;border-radius:50%;background:#4d2b63;overflow:hidden;font-size:22px}
.nomi-share-avatar img{height:100%;width:100%;object-fit:cover;display:block}
.nomi-share-identity{min-width:0;flex:1;display:flex;flex-direction:column;gap:3px}
.nomi-share-identity strong,.nomi-share-identity small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nomi-share-identity strong{font-size:14px}.nomi-share-identity small{font-size:12px;color:#d3b9e0}
.nomi-share-identity .nomi-share-presence{font-size:11px;font-weight:650;color:#b9a7c7}
.nomi-share-identity .nomi-share-presence.is-online{color:#8de3b3}
.nomi-share-identity .nomi-share-presence.is-offline{color:#c1b0cc}
.nomi-share-identity .nomi-share-presence.is-hidden{color:#9f90b2}
.nomi-share-check{width:23px;height:23px;flex:0 0 23px;border:2px solid #ba96d0;border-radius:7px;display:grid;place-items:center;font-size:16px;color:#fff}
.nomi-share-friend.is-selected .nomi-share-check{background:#b44ac1;border-color:#d79ee7}
.nomi-share-empty{padding:22px 12px;text-align:center;border:1px dashed #775092;border-radius:12px;color:#dac7e9;font-size:13px}
.nomi-share-status{margin:0;white-space:pre-line;overflow-wrap:anywhere;font-size:13px}
.nomi-share-status.is-error{color:#ffc1d1}
.nomi-share-dialog button:focus-visible,.nomi-share-search:focus-visible,.nomi-share-note:focus-visible{outline:2px solid #f3b6ff;outline-offset:2px}
.nomi-share-dialog button:disabled{opacity:.55;cursor:wait}
.nomi-share-toast{position:fixed;z-index:100000;bottom:20px;left:50%;transform:translateX(-50%);max-width:min(90vw,450px);box-sizing:border-box;padding:13px 18px;border-radius:13px;border:1px solid #d28be1;background:#301743;box-shadow:0 12px 32px #0009;color:white;text-align:center;font-weight:700}
.nomi-chat-post-link{display:inline-block;align-self:flex-start;margin:8px 0 5px;padding:9px 13px;border:1px solid #ca8ee6;border-radius:9px;background:#5b277b;color:#fff!important;text-decoration:none;font-weight:700;font-size:13px}
@media(max-width:460px){.nomi-share-dialog{padding:13px!important}.nomi-share-tabs{gap:6px}.nomi-share-tab{padding:10px 6px;font-size:12px}.nomi-share-friends{max-height:33dvh}.nomi-feed-share-actions button{font-size:13px}}