body.friend-page{background:#111015;color:#f6f1fa;font:16px Arial,sans-serif;margin:0}.friend-wrap{max-width:720px;margin:auto;padding:24px 20px 70px}.friend-header{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:36px}.friend-page a,.friend-card a{color:#b7f28c}.friend-card{display:block;background:#26212c;border:1px solid #564461;border-radius:16px;padding:20px;margin:14px 0;overflow-wrap:anywhere}.friend-card .people-result{display:block;margin:0;padding:0;border:0}.friend-controls{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:18px}.friend-button{padding:12px 16px;background:#bcf578;border:0;border-radius:12px;color:#14200b;font:inherit;cursor:pointer}.friend-button:disabled{opacity:.6}.person-avatar{width:88px;height:88px;border-radius:50%;background:#56336c;display:grid;place-items:center;font-size:36px}.person-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.person-cover{width:100%;max-height:250px;object-fit:cover;border-radius:18px;margin-bottom:20px}#personProfile p{white-space:pre-wrap;overflow-wrap:anywhere}
.friend-wrap{max-width:1040px}.person-hero{background:#211a2a;border:1px solid #503b60;border-radius:24px;overflow:hidden;box-shadow:0 20px 70px #0004}.person-cover-wrap{height:260px;background:radial-gradient(ellipse at 80% 20%,#7853a9,transparent 60%),linear-gradient(130deg,#314f55,#3f254f);display:grid;place-items:center}.person-cover-label{font-size:clamp(18px,3vw,30px);font-weight:700;color:#eee3ff}.person-cover-button{border:0;padding:0;width:100%;height:100%;cursor:zoom-in;background:none}.person-cover-button img{width:100%;height:100%;object-fit:cover}.person-identity{display:flex;align-items:end;gap:24px;padding:0 32px;margin-top:-64px;position:relative}.person-avatar-large{flex-shrink:0;width:164px;height:164px;padding:0;border:6px solid #211a2a;border-radius:50%;background:#67438b;box-shadow:0 8px 25px #0006;cursor:zoom-in;overflow:hidden}.person-avatar-large img{width:100%;height:100%;object-fit:cover}.person-initial{display:grid;place-items:center;font-size:64px;cursor:default;box-sizing:border-box}.person-identity h1{font-size:clamp(28px,5vw,42px);margin:10px 0}.person-tag{margin:0 0 8px;color:#c9b7d8}.person-actions{padding:0 32px 14px}.person-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:22px;margin-top:24px}.person-about,.person-post{background:#211a2a;border:1px solid #503b60;border-radius:20px;padding:22px}.person-about{align-self:start}.person-about p,.person-post p{line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.person-post{margin:16px 0}.person-post-heading{display:flex;flex-direction:column;gap:8px}.person-post small,.person-empty{color:#c9b7d8}.person-post-photo{padding:0;border:0;background:none;width:100%;cursor:zoom-in}.person-post-photo img,.person-post video{width:100%;max-height:520px;object-fit:contain;border-radius:12px;background:#100c14}.person-result{display:flex!important;align-items:center;gap:16px;text-decoration:none}.person-result-avatar{display:grid;place-items:center;width:76px;height:76px;border-radius:50%;background:#67438b;font-size:30px;overflow:hidden;border:3px solid #c8a6e6;flex-shrink:0}.person-result-avatar img{width:100%;height:100%;object-fit:cover}.person-result strong{display:block;font-size:21px;color:#fff}.person-result small{display:block;margin-top:7px;color:#c9b7d8}.person-lightbox{padding:16px;background:#100c14;color:#fff;border:1px solid #6d547d;border-radius:18px;max-width:94vw;max-height:94vh}.person-lightbox::backdrop{background:#000d}.person-lightbox>button{display:block;margin:0 0 12px auto}.person-lightbox>img{display:block;max-width:85vw;max-height:78vh;object-fit:contain}.friend-button:focus-visible,a:focus-visible,.person-avatar-large:focus-visible,.person-cover-button:focus-visible{outline:3px solid #fff;outline-offset:4px}@media(max-width:650px){.friend-wrap{padding:18px 12px 50px}.person-cover-wrap{height:180px}.person-identity{gap:14px;padding:0 18px;margin-top:-46px;align-items:center}.person-avatar-large{width:112px;height:112px;border-width:4px}.person-initial{font-size:44px}.person-identity h1{margin-top:50px;font-size:27px}.person-actions{padding:0 18px 10px}.person-layout{grid-template-columns:1fr}.person-result-avatar{width:64px;height:64px}}

/* Full profiles and clear search identities */
.friend-page .friend-wrap{width:100%;max-width:none;min-height:100dvh;box-sizing:border-box;padding:24px clamp(16px,4vw,70px) 70px}.friend-page .person-cover-wrap{height:clamp(240px,32vw,420px)}.friend-page .person-hero{width:100%}.friend-page .person-layout{grid-template-columns:minmax(250px,30%) minmax(0,1fr);min-height:40vh}.friend-page .person-avatar-large{width:180px;height:180px}.person-message{display:inline-block;text-decoration:none;background:#e6d1fc;color:#24172e!important;font-weight:700;margin:4px 0 14px}.friend-controls{margin-bottom:8px}.person-result-avatar{box-shadow:0 6px 22px #0005}.person-result{min-height:84px}.person-result:hover strong{text-decoration:underline}@media(max-width:650px){.friend-page .friend-wrap{padding:16px 12px 50px}.friend-page .person-cover-wrap{height:220px}.friend-page .person-layout{grid-template-columns:1fr}.friend-page .person-avatar-large{width:120px;height:120px}}

.profile-open-link{display:inline-block;text-decoration:none;margin:18px 12px 8px 0;background:#c4ef91;color:#14200b!important;font-weight:750}.person-result{position:relative;z-index:1}.friend-card{max-width:100%;box-sizing:border-box}.friend-page #personProfile{width:100%;min-height:85dvh}.friend-page .person-hero{border-radius:22px}.friend-page .person-cover-wrap{min-height:280px}.friend-page .person-posts{min-height:45vh}@media(max-width:650px){.friend-page .person-cover-wrap{min-height:210px}}
