/* friend-menu-1 */
.fm-ov{position:fixed;inset:0;z-index:9700;background:#000a;display:grid;place-items:end center;animation:fmF .15s}
@keyframes fmF{from{opacity:0}}
.fm-sh{width:100%;max-width:560px;background:var(--bg,#0b1020);border-radius:26px 26px 0 0;padding:10px 16px calc(22px + env(safe-area-inset-bottom));animation:fmU .2s ease-out}
@keyframes fmU{from{transform:translateY(40px)}}
.fm-grip{display:block;width:44px;height:5px;border-radius:3px;background:#ffffff33;margin:0 auto 12px}
.fm-who{display:flex;align-items:center;gap:12px;margin-bottom:14px}.fm-who>:first-child{width:64px;height:64px;border-radius:50%;overflow:hidden}
.fm-who b{display:block;font-size:19px;color:var(--text,#fff)}.fm-who small{color:var(--text-2,#9aa3b8)}
.fm-h{margin:0 0 12px;color:var(--text,#fff)}
.fm-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.fm-grid button{display:grid;justify-items:center;gap:6px;border:1px solid var(--line,#ffffff1f);background:var(--surface,#151b2e);border-radius:18px;padding:14px 6px;cursor:pointer}
.fm-grid button:active{transform:scale(.96)}.fm-grid button:disabled{opacity:.5}
.fm-grid span{font-size:28px;line-height:1}.fm-grid em{font-style:normal;font-size:13px;font-weight:600;color:var(--text,#fff);text-align:center}
.fm-cover{height:130px;margin:0 -14px;background:linear-gradient(135deg,#f59e0b,#8b5cf6 60%,#0ea5e9)}
.fm-prof{display:grid;justify-items:center;gap:4px;margin-top:-52px;text-align:center}
.fm-prof>:first-child{width:96px;height:96px;border-radius:50%;overflow:hidden;border:4px solid var(--bg,#0b1020);background:var(--surface,#151b2e)}
.fm-prof b{font-size:22px;color:var(--text,#fff)}.fm-prof small{color:var(--text-2,#9aa3b8)}
.fm-acts{display:flex;gap:8px;margin-top:10px}
.fm-ph{margin:22px 0 8px;color:var(--text,#fff)}
.fm-post{background:var(--surface,#151b2e);border:1px solid var(--line,#ffffff1a);border-radius:18px;padding:12px;margin-bottom:10px}
.fm-post header{display:flex;gap:10px;align-items:center}.fm-post header>:first-child{width:40px;height:40px;border-radius:50%;overflow:hidden}
.fm-post header b{display:block;color:var(--text,#fff)}.fm-post header small{color:var(--text-2,#9aa3b8);font-size:12px}
.fm-post p{color:var(--text,#fff);white-space:pre-wrap;margin:10px 0}.fm-post img{width:100%;border-radius:12px;margin-top:6px}
.fm-post footer{color:var(--text-2,#9aa3b8);font-size:13px;margin-top:8px}
html[data-theme="light"] .fm-sh{background:#fff}html[data-theme="light"] .fm-grid button,html[data-theme="light"] .fm-post{background:#f7f5f0;border-color:#e7e2d8}
html[data-theme="light"] .fm-who b,html[data-theme="light"] .fm-grid em,html[data-theme="light"] .fm-h,html[data-theme="light"] .fm-prof b,html[data-theme="light"] .fm-ph,html[data-theme="light"] .fm-post b,html[data-theme="light"] .fm-post p{color:#101828}
html[data-theme="light"] .fm-grip{background:#0002}html[data-theme="light"] .fm-prof>:first-child{border-color:#f7f5f0}
