/* Compact circular profile cards; no cover-photo decoding or animated blur. */
#peer-profile.peer-card125{width:min(540px,100vw);--card125:#1c1c1e;background:var(--bg);overflow-x:hidden}
#peer-profile.peer-card125>.page-head{border:0;background:var(--bg);min-height:58px;z-index:4;gap:8px}
#peer-profile.peer-card125>.page-head>strong{opacity:0}
#peer-profile.peer-card125.cover-scrolled>.page-head>strong{opacity:1}
#peer-profile.peer-card125>.page-head .icon,#peer-profile.peer-card125>.page-head .text-button{color:var(--text);background:var(--card125);border:1px solid var(--line);border-radius:50px;min-width:44px;height:44px;}
#peer-profile.peer-card125>.page-head .text-button{font-size:17px;padding:8px 14px;margin:0}
#peer-profile.peer-card125 .peer-cover,#peer-profile.peer-card125 .peer-cover.has-photo{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;height:auto;min-height:0;padding:4px 16px 20px;margin:0;background:transparent;overflow:visible;isolation:auto}
#peer-profile.peer-card125 .peer-cover::after,#peer-profile.peer-card125 .cover-photo-progress{display:none}
#peer-profile.peer-card125 #peer-picture{position:static;inset:auto;z-index:auto;width:116px;height:116px;margin:2px 0 12px}
#peer-profile.peer-card125 #peer-picture>.profile-picture-open,#peer-profile.peer-card125 #peer-picture .avatar{width:116px;height:116px;border-radius:50%;overflow:hidden;display:block;margin:0;font-size:43px}
#peer-profile.peer-card125 #peer-picture .avatar:not(:has(img)){display:grid;place-items:center}
#peer-profile.peer-card125 #peer-picture img{width:100%;height:100%;object-fit:cover;border-radius:50%}
#peer-profile.peer-card125 .peer-summary{text-align:center;margin:0;width:100%}
#peer-profile.peer-card125 #peer-name{display:flex;justify-content:center;align-items:baseline;gap:5px;font-size:28px;line-height:1.18;font-weight:600;white-space:normal;margin:0 0 6px;color:var(--text);overflow:visible}
.peer-card-name{min-width:0;overflow-wrap:anywhere}.peer-card-emoji{flex:none;font-size:.8em;white-space:nowrap}
#peer-profile.peer-card125 #peer-status{font-size:17px;color:var(--muted)}
#peer-profile.peer-card125 #peer-actions{display:flex;width:100%;padding:0;gap:8px;margin:32px 0 10px}
#peer-profile.peer-card125 #peer-actions>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;flex:1;min-width:0;min-height:62px;height:64px;padding:8px 1px;background:var(--card125);color:var(--blue);border:0;border-radius:18px;font-size:12px;}
#peer-profile.peer-card125 #peer-actions .glyph{width:25px;height:25px}
#peer-profile.peer-card125 #peer-details{margin:0 16px 18px;padding:0 16px;border-radius:26px;background:var(--card125)}
#peer-profile.peer-card125 #peer-details:empty{display:none}
#peer-profile.peer-card125 .profile-detail{padding:15px 0;position:relative}
#peer-profile.peer-card125 .profile-detail .help{font-size:15px;color:var(--text);font-weight:400}
#peer-profile.peer-card125 .profile-copy-value,#peer-profile.peer-card125 .profile-detail p{font-size:18px;margin:3px 0 0}
#peer-profile.peer-card125 #peer-tabs{padding:3px;margin:0 16px 16px;gap:0;border:1px solid var(--line);border-radius:24px;background:var(--card125);top:58px;scroll-padding:4px}
#peer-profile.peer-card125 #peer-tabs button{padding:8px 14px;border:0;border-radius:22px;color:var(--text);font-size:15px;min-height:37px}
#peer-profile.peer-card125 #peer-tabs button.active{background:#7774;color:var(--text);box-shadow:0 2px 4px #0003}
#peer-profile.peer-card125 .profile-content:not(.media-grid){margin:0 16px 20px;padding:4px 12px;background:var(--card125);border-radius:24px;overflow:hidden}
#peer-profile.peer-card125 .profile-content .contact-row{width:100%;display:flex;align-items:center;gap:12px;background:none;color:var(--text);text-align:left;min-height:62px;padding:8px 0}
#peer-profile.peer-card125 .contact-row .avatar{width:42px;height:42px;font-size:17px;flex:none}
#peer-profile.peer-card125 .contact-row .row-body{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0;padding:0;flex:1}
#peer-profile.peer-card125 .contact-row strong{font-weight:500;font-size:16px}
#peer-profile.peer-card125 .contact-row .help{font-size:12px;margin:0}
#peer-profile.peer-card125 .profile-add125{display:flex;align-items:center;gap:12px;min-height:48px;background:none;color:var(--blue);font-size:15px;width:100%;padding:8px 0}
.profile-more125{width:min(390px,94vw);max-height:85dvh}.profile-more125 .menu-actions{overflow:auto;max-height:65dvh}.profile-more125 .menu-row{display:flex!important;flex-direction:row!important;align-items:center;justify-content:flex-start!important;gap:12px;text-align:left!important;width:100%;padding:13px 8px;font-size:16px;background:transparent!important;border:0;box-shadow:none;color:var(--text)}.profile-more125 .menu-row.danger{color:#f26770}
.theme-light #peer-profile.peer-card125{--card125:#fff}
/* Search changes chrome, never the message collection or composer draft. */
.conversation-search-head{display:flex;align-items:center;gap:10px;min-height:62px;padding:8px 12px;background:var(--bg);border-bottom:1px solid var(--line);flex:none}
.conversation-search-field{margin:0;display:flex;align-items:center;gap:8px;border-radius:24px;background:#8882;padding:0 12px;min-width:0;flex:1;color:var(--muted)}
.conversation-search-field .glyph{width:18px;height:18px}.conversation-search-field input{margin:0;padding:9px 0;background:none;border:0;box-shadow:none!important;font-size:16px;font-weight:400;min-width:0;width:100%;outline:none;height:38px}
.conversation-search-head>.icon{width:36px;height:36px;border-radius:50%;background:#8882;font-size:22px}
.conversation-search-dock{display:flex;align-items:center;gap:3px;min-height:48px;padding:4px 10px max(4px,env(safe-area-inset-bottom));background:var(--bg);flex:none;z-index:2}
.conversation-search-dock .icon{width:34px;height:36px;background:none;color:var(--blue);flex:none}.conversation-search-dock .glyph{width:23px;height:23px}
.conversation-search-count{color:var(--muted);font-size:12px;min-width:45px;white-space:nowrap;flex:1}
.conversation-search-dock>button:not(.icon){background:none;padding:6px 5px;color:var(--blue);font-size:12px;white-space:nowrap}
.conversation-search-dock button:disabled{opacity:.35}.conversation-search-chips{display:flex;gap:6px;padding:4px 12px;background:var(--bg)}.conversation-search-chips button{border-radius:20px;padding:5px 10px;background:#419cff24;color:var(--blue);font-size:12px}
.conversation-search-arrows{position:absolute;right:12px;bottom:calc(65px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:6px;z-index:3}.conversation-search-arrows .icon{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--panel);color:var(--blue);border:1px solid var(--line)}.conversation-search-arrows .glyph{width:24px;height:24px}.conversation-search-arrows button:disabled{opacity:.4}
#chat.conversation-searching>.chat-head,#chat.conversation-searching>#composer,#chat.conversation-searching>#message-pin,#chat.conversation-searching>#reply-preview,#chat.conversation-searching>.chat-scroll-down,#chat.conversation-searching>#expression-panel{display:none!important}
.conversation-search-head[hidden],.conversation-search-dock[hidden],.conversation-search-chips[hidden]{display:none!important}
#messages .conversation-search-hit{outline:none!important;box-shadow:none!important;background-image:linear-gradient(#f4bd3e08,#f4bd3e08)}::highlight(e-chat-search){background:#f4bd3e;color:#18181b}
.conversation-search-sheet{width:min(480px,94vw);padding:14px;max-height:85dvh;overflow:hidden;background:var(--panel);border-radius:26px}
.conversation-search-sheet>header{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:40px;margin-bottom:10px}.conversation-search-sheet>header strong{font-size:17px}.conversation-search-sheet .icon{background:none;width:34px;height:34px;color:var(--blue)}
.conversation-search-list{max-height:65dvh;overflow:auto;overscroll-behavior:contain}
.conversation-search-result,.conversation-search-person{display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:none;color:var(--text);padding:12px 2px;border:0;border-bottom:1px solid var(--line)}
.conversation-search-list .avatar{width:40px;height:40px;font-size:17px;flex:none}.conversation-search-result .row-body{display:flex;flex-direction:column;gap:4px;min-width:0;padding:0}.conversation-search-result .row-body>span{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}.conversation-search-result .row-body strong{font-size:14px}.conversation-search-result small{font-size:11px}.conversation-search-load{display:block;margin:12px auto;background:none;color:var(--blue)}
.conversation-search-month{display:flex;align-items:center;justify-content:space-between;margin:12px 0}.conversation-search-month strong{font-size:15px}.conversation-search-week,.conversation-search-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));text-align:center;gap:4px}.conversation-search-week{color:var(--muted);font-size:11px;margin:14px 0}.conversation-search-days button{aspect-ratio:1;border-radius:50%;background:none;color:var(--text);padding:3px;font-size:14px}.conversation-search-days button[aria-pressed=true]{background:var(--blue);color:white}.conversation-search-days button:disabled{color:var(--muted);opacity:.45}.conversation-search-days .other-month{opacity:.35}#conversation-search-date .primary{width:100%;border-radius:20px;margin-top:20px;min-height:44px}
@media(max-width:700px){#peer-profile.peer-card125{width:100%;height:100%;max-height:100%;border-radius:0;border:0}#peer-profile.peer-card125 #peer-picture,#peer-profile.peer-card125 #peer-picture>.profile-picture-open,#peer-profile.peer-card125 #peer-picture .avatar{width:108px;height:108px}#peer-profile.peer-card125 #peer-name{font-size:27px}.conversation-search-sheet{margin:auto auto 0;max-height:82dvh;width:100%;border-radius:26px 26px 0 0;border:0;padding-bottom:max(20px,env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:no-preference){#peer-profile.peer-card125[open]{animation:profile125-enter .18s ease-out}@keyframes profile125-enter{from{opacity:.65;transform:translateY(10px)}to{opacity:1;transform:none}}}
.energy-motion #peer-profile.peer-card125[open]{animation:none}
