/* v0.6.17: conversation controls, emoji picker and private saved items. */
.ui-icon{width:26px;height:26px;flex:none;vertical-align:middle}
#composer{position:relative;min-height:196px;height:clamp(180px,24vh,260px);flex-shrink:0;grid-template-rows:48px auto minmax(90px,1fr);grid-template-columns:minmax(0,1fr) 52px;padding:0 20px 16px;gap:0 12px}
#composer .chat-tools{height:48px;gap:5px;grid-column:1/-1;grid-row:1;overflow-y:hidden}
#composer .chat-tools>button{min-width:40px;min-height:40px;padding:7px;color:#6d8399;border-radius:9px}
#composer .chat-tools>button:hover{color:#1979cb;background:#edf5ff}
#composer .chat-tools #recordsButton{margin-left:auto;flex:0 0 auto;font-size:15px;font-weight:600;min-height:40px;padding:8px 14px;color:#287dbe;background:#edf5fe}
#composer #uploadState{grid-row:2;grid-column:1/-1;font-size:12px;max-height:40px;overflow:auto}
#composer #uploadState:empty{display:none}
#composer #text{grid-row:3;grid-column:1;min-height:100px;height:100%;padding:12px 0;line-height:1.65;font-size:15px;resize:none;align-self:stretch}
#composer #send{grid-row:3;grid-column:2;align-self:end;width:46px;height:46px}
#chatTitle .group-title{background:transparent;text-align:left;padding:6px 0;color:#22394b;font-weight:600;font-size:16px}
#chatTitle .group-title:hover{color:#1f82d0}
#chatTitle>.avatar{width:42px;height:42px;min-width:42px;cursor:pointer}
#chatTitle>.avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}
#functionRail{padding-top:8px;display:flex;flex-direction:column;align-items:center;gap:10px;overflow-y:auto}
#functionRail #changeAvatar{display:grid;place-items:center;width:62px;height:62px;min-height:62px;flex-shrink:0;padding:2px;margin:0;border-radius:50%;background:transparent;box-shadow:none}
#functionRail #changeAvatar::after{content:none}
#functionRail #changeAvatar:hover{background:#e8f3ff}
#functionRail #changeAvatar .self-avatar{width:56px;height:56px;min-width:56px;font-size:24px}
#functionRail .rail-icon.ui-icon{width:25px;height:25px}
#mainNavigation .rail-nav{flex-shrink:0}
.emoji-picker,#emojiPanel.emoji-picker{position:absolute;z-index:130;left:16px;bottom:calc(100% - 2px);display:flex;flex-direction:column;width:360px;max-width:calc(100% - 32px);height:350px;max-height:55vh;background:#fff;color:#263c50;border:1px solid #dce5ef;border-radius:16px;box-shadow:0 14px 40px #16334d30;padding:10px;gap:8px;overflow:hidden}
.emoji-search-row{display:flex;gap:6px;flex-shrink:0}.emoji-search-row input{flex:1;min-width:0;padding:9px 12px;background:#f1f5fa;border:0;border-radius:10px;font-size:13px}.emoji-search-row button{font-size:23px;color:#71859a;background:transparent;padding:2px 8px}
.emoji-categories{display:flex;gap:2px;overflow-x:auto;flex-shrink:0;padding-bottom:3px}.emoji-categories button{flex:0 0 31px;font-size:19px;padding:4px 2px;background:transparent}.emoji-categories button[aria-selected=true]{background:#e7f2ff;border-radius:8px}
.emoji-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:3px;overflow-y:auto;flex:1;min-height:0;align-content:start}.emoji-grid .emoji,#emojiPanel .emoji-grid .emoji{font-family:'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif;font-size:27px;line-height:1.3;min-height:37px;padding:3px;background:transparent;border-radius:8px;color:#263c50}.emoji-grid .emoji:hover{background:#eaf4ff;transform:scale(1.12)}.emoji-grid>p{grid-column:1/-1;text-align:center;font-size:13px;color:#8294a7}
.emoji-bottom{display:flex;align-items:center;justify-content:space-between;color:#7d8fa1;flex-shrink:0}.emoji-bottom select{font-size:11px;border:0;background:#f3f6fa;border-radius:6px;padding:4px 6px;color:#607489}
#remindersPane>header>div:last-child{display:flex;gap:6px;align-items:center}.request-detail{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;color:#697e91;margin:6px 0}.request-info{min-width:0;overflow-wrap:anywhere}.request-row .request-actions{flex-shrink:0}
#favoritesPane{flex:1;min-width:0;display:flex;flex-direction:column;background:#f2f6fa;color:#263c50;height:100dvh;overflow:hidden}
.favorites-heading{height:76px;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 26px;background:white;border-bottom:1px solid #e4ebf2;flex-shrink:0}.favorites-heading strong{font-size:20px}.favorites-heading small{display:block;font-size:12px;color:#8a9baa;margin-top:5px}.favorites-heading button{color:#287cbd;background:#edf5ff;padding:9px 16px}
.favorites-search{display:flex;align-items:center;gap:15px;padding:14px 26px 8px;flex-shrink:0}.favorites-search input{flex:1;min-width:0;max-width:460px;background:#fff;border:1px solid #e0e8f0;border-radius:10px;font-size:13px}.favorites-search small{font-size:11px;color:#7d8fa0;margin-left:auto;white-space:nowrap}
#favoritesStatus{font-size:12px;color:#688097;margin:0;padding:2px 26px 7px;min-height:0;flex-shrink:0}#favoritesStatus:empty{display:none}
#favoritesList{flex:1;overflow:auto;min-height:0;padding:10px 26px 24px;display:flex;flex-direction:column;gap:14px;align-items:center}.favorite-item{width:100%;max-width:820px;flex-shrink:0;background:#fff;border:1px solid #e4ebf2;border-radius:13px;box-shadow:0 2px 8px #23415a05;padding:13px 16px}.favorite-item-heading{display:flex;align-items:center;gap:15px;justify-content:space-between;color:#8799aa}.favorite-item-heading>small{font-size:11px}.favorite-delete,.favorite-copy{padding:5px 7px;font-size:12px;color:#6e879d;background:transparent}.favorite-delete:hover{color:#d65763;background:#fff1f2}.favorite-copy:hover{color:#2686ce;background:#eaf5ff}.favorite-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.7;margin:8px 0;color:#263c50;user-select:text}.favorite-media{display:flex;flex-direction:column;align-items:flex-start;gap:9px;padding:12px 0 5px;background:transparent;max-width:100%;color:#4485b7}.favorite-media small{font-size:11px;color:#899cae}.favorite-media.image img{max-width:100%;width:auto;min-width:120px;max-height:220px;min-height:80px;border-radius:9px;object-fit:contain;background:#f4f7fa}.favorite-media.video{width:100%;padding:22px;background:#f2f7fc;border-radius:10px;align-items:center;margin-top:9px}.favorite-media.video .ui-icon{width:40px;height:40px}.favorites-empty{margin:auto;white-space:pre-line;text-align:center;color:#8ca0b3;line-height:2;font-size:14px;padding:35px 0}
#favoritesMore{margin:0 auto 8px;padding:8px 18px;font-size:12px;color:#3885c0;background:#e8f2fb;flex-shrink:0}
#favoritesComposer{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 52px;grid-template-rows:48px auto minmax(90px,1fr);min-height:196px;height:clamp(180px,24vh,260px);flex-shrink:0;gap:0 12px;padding:0 26px 16px;background:#fff;border-top:1px solid #e4ebf2}.favorite-tools{display:flex;align-items:center;gap:5px;grid-row:1;grid-column:1/-1;height:48px}.favorite-tools button{width:40px;height:40px;padding:7px;background:transparent;color:#6d8399;border-radius:9px}.favorite-tools button:hover{background:#edf5ff;color:#1979cb}.favorite-tools small{margin-left:auto;font-size:12px;color:#96a7b5}#favoriteUploadStatus{grid-row:2;grid-column:1/-1;max-height:40px;overflow:auto;margin:0;font-size:12px;color:#688097}#favoriteUploadStatus:empty{display:none}#favoriteUploadStatus button{font-size:12px;margin-left:10px;padding:3px 8px;color:#287cbd;background:#edf5ff}#favoriteText{grid-row:3;grid-column:1;width:100%;height:100%;min-height:100px;padding:12px 0;background:transparent;border:0;resize:none;line-height:1.65;font-size:15px;outline:none}#favoriteSave{grid-column:2;grid-row:3;align-self:end;width:46px;height:46px;display:grid;place-items:center;background:#328ee4;color:white;border-radius:50%;padding:10px}#favoriteSave:disabled{opacity:.5;cursor:wait}
#favoritePreview{width:min(900px,90vw);max-height:90vh;padding:18px}#favoritePreview>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}#favoritePreviewBody{display:flex;align-items:center;flex-direction:column;gap:12px}#favoritePreviewBody img,#favoritePreviewBody video{max-width:100%;max-height:65vh;object-fit:contain}.favorite-download{font-size:13px;color:#2887ca;text-decoration:none}
@media(max-height:650px){#composer,#favoritesComposer{height:166px;min-height:166px;grid-template-rows:44px auto minmax(80px,1fr);padding-bottom:10px}#composer #text,#favoriteText{min-height:80px}.emoji-picker,#emojiPanel.emoji-picker{max-height:48vh}}
@media(max-width:700px){#composer,#favoritesComposer{padding-left:12px;padding-right:12px}#composer .chat-tools{gap:0}#composer .chat-tools>button{min-width:36px;padding:5px}.favorites-heading,.favorites-search{padding-left:16px;padding-right:16px}#favoritesList{padding:10px 14px 18px}.favorites-search{flex-wrap:wrap;gap:6px}.favorites-search small{margin-left:0}.emoji-grid{grid-template-columns:repeat(7,minmax(0,1fr))}#remindersPane>header{gap:10px;padding:14px}.request-row{flex-wrap:wrap}}

/* Protected profile photos inside recommended contact cards. */
.contact-card{display:grid;grid-template-columns:50px minmax(0,1fr);gap:10px 12px;width:260px;max-width:100%;min-width:190px;align-items:center;padding:6px 4px;color:#2b4355}
.contact-card .card-avatar,.contact-choice .card-avatar{display:grid;place-items:center;width:50px;height:50px;min-width:50px;padding:0;border:0;border-radius:10px;overflow:hidden;background:#83b4df;color:white;font-size:22px;flex:none}
.card-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.card-info{min-width:0;display:flex;flex-direction:column;gap:5px;text-align:left}.card-info strong{font-size:15px;line-height:1.4}.card-info>small{display:block;font-size:12px;color:#829381;overflow-wrap:anywhere;line-height:1.5}.contact-card .card-footer{grid-column:1/-1;display:block;padding-top:9px;border-top:1px solid #c4d8cc;font-size:11px;color:#708777;text-align:left}
.contact-card .vip-label,.contact-card .vip-identity{border:0;padding-top:0;font-size:inherit;color:inherit}.contact-card .vip-badge{padding:0 5px}
#cardChoices .contact-choice{flex-direction:row;align-items:center;gap:12px}.contact-choice .card-info>span{font-weight:600;font-size:14px}
@media(max-width:700px){#functionRail #changeAvatar{width:54px;height:58px;min-height:58px}#functionRail #changeAvatar .self-avatar{width:50px;height:50px;min-width:50px}#composer .chat-tools #recordsButton{padding:8px 10px;font-size:14px}.contact-card{width:230px}}
.settings-action{display:grid;grid-template-columns:minmax(0,1fr) 18px;gap:7px;text-align:left;width:100%;padding:14px 8px;color:#294966}.settings-action>span{font-size:16px}.settings-action>small{grid-column:1;font-size:12px;color:#8a9cab}.settings-action>b{grid-column:2;grid-row:1/3;align-self:center;color:#acb8c5;font-size:22px}.notification-setting{display:flex;gap:20px;align-items:center;justify-content:space-between;padding:12px 8px}.notification-setting strong{display:block;font-size:16px;font-weight:500;color:#294966}.notification-setting small{display:block;margin-top:8px;color:#8a9cab;font-size:12px}#systemNotifications{flex:none;font-size:13px;border-radius:20px;background:#edf0f4;color:#7b8b9a;padding:9px 17px}#systemNotifications[aria-checked=true]{background:#328ee4;color:white}#systemNotificationStatus{margin:5px 8px;font-size:12px;color:#8a9cab;line-height:1.7}#passwordDialog{width:410px;max-width:calc(100vw - 28px)}#changePasswordForm{display:flex;flex-direction:column;gap:14px}#changePasswordForm h2{margin:0}#changePasswordForm label{display:flex;flex-direction:column;gap:6px}#changePasswordForm p{margin:0;font-size:12px;line-height:1.7}#passwordChangeStatus{color:#b45d47}

.level-card .vip-growth{color:#c98325;font-weight:600;margin:4px 0}

#recordsList .record-image{display:flex;flex-direction:column;align-items:flex-start;gap:7px;padding:8px 0;background:transparent;max-width:100%;color:#6886a0}#recordsList .record-image img{max-width:100%;width:auto;min-width:80px;max-height:180px;min-height:70px;object-fit:contain;border-radius:8px;background:#f2f5f7}#recordsList .record-image span{font-size:12px}
/* Private-chat status below the peer's name, matching the supplied reference. */
#chatTitle{height:auto;min-height:64px}#chatTitle .peer-header-identity{min-width:0;flex:1}#chatTitle .peer-header-identity>strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#chatTitle .peer-header-meta{display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px;margin-top:5px;color:#909fac;font-size:12px;line-height:1.5;font-weight:400;overflow-wrap:anywhere}
.peer-header-meta>span{display:inline-flex;align-items:center;gap:5px}.peer-header-meta i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#a6b1bb}.peer-header-meta .peer-online{color:#36a481}.peer-header-meta .peer-online i{background:#36b68c}
.self-region-select{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.self-region-select label{min-width:0;margin:0!important}.self-region-select select{width:100%;min-width:0;padding:11px 8px;font:inherit;font-size:13px;color:#33495c;background:#f5f7fa;border:1px solid #dfe6ef;border-radius:7px}.self-region-select small{grid-column:1/-1;color:#8a99a6;font-size:11px;line-height:1.5}.self-region-select small:empty{display:none}

/* v0.6.17: compact account search and an explicit post-add chat choice. */
#friendsDialog{position:fixed;width:min(500px,calc(100vw - 32px));padding:42px 24px 24px;max-height:80dvh;border-radius:14px}
#friendsDialog #closeFriends{position:absolute;top:8px;right:10px;padding:0;width:28px;height:28px;line-height:28px;font-size:24px;color:#8697a6;background:transparent;border-radius:50%}#friendsDialog #closeFriends:hover{background:#edf3f8}
#friendSearchForm{display:flex;flex-direction:column;gap:10px}#friendSearchForm #friendName{width:100%;padding:12px 14px;font-size:14px;background:#f5f7fa;border:1px solid #dce5ee;border-radius:9px}#friendSearchForm #friendSearchButton{background:#3390ec;color:#fff;border-radius:8px;padding:11px 16px;font-size:14px;font-weight:600}
#friendSearchResult{font-size:13px;color:#82919e;line-height:1.6}#friendSearchResult:not(:empty){margin-top:18px}.friend-search-card{display:flex;align-items:center;gap:16px;padding:14px 0 0;border-top:1px solid #e8edf2}.friend-search-identity{min-width:0;flex:1;display:flex;flex-direction:column;gap:4px}.friend-search-identity strong{color:#2b4153;font-size:14px;font-weight:600;overflow-wrap:anywhere}.friend-search-identity small{font-size:12px;color:#8a9baa}.friend-search-identity .vip-badge{flex:none;width:auto}.friend-search-status:empty{display:none}.friend-add-action{flex:none;color:#2386d9;background:#eaf4ff;padding:9px 12px;font-size:13px;border-radius:7px}.friend-add-action:disabled{color:#8e9cac;background:#f0f3f6;cursor:default}
#friendChatDialog{width:min(390px,calc(100vw - 32px));padding:26px;border-radius:14px}#friendChatDialog h2{font-size:18px;margin:0 0 14px}#friendChatDialog p{font-size:14px;line-height:1.7;overflow-wrap:anywhere}#friendChatDialog strong{color:#344f65}#friendChatError:empty{display:none}#friendChatError{font-size:12px!important}.friend-chat-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.friend-chat-actions button{font-size:13px;padding:10px 15px;border-radius:7px}#friendChatLater{background:#f0f4f8;color:#81909f}#friendChatSend{background:#3390ec;color:white}#friendChatSend:disabled,#friendSearchButton:disabled{opacity:.55;cursor:wait}

/* v0.6.17: avatar and staff-only login network details in the single search result. */
.friend-search-card{align-items:flex-start;gap:12px}.friend-search-avatar{display:grid;place-items:center;flex:none;width:52px;height:52px;margin-top:2px;border-radius:50%;overflow:hidden;background:#dceeff;color:#4d90cd;font-size:21px;font-weight:600}.friend-search-avatar img{width:100%;height:100%;object-fit:cover}.friend-search-network{display:flex;flex-direction:column;gap:3px;margin-top:3px}.friend-search-network small{font-size:11px;line-height:1.6;overflow-wrap:anywhere;color:#8798a8}.friend-search-card .friend-add-action{align-self:center}
@media(max-width:430px){.friend-search-card{gap:9px}.friend-search-avatar{width:42px;height:42px;font-size:18px}.friend-search-card .friend-add-action{padding:8px;font-size:12px}}
/* Client configuration affects presentation only; membership permissions are enforced by the server. */
.hide-group-counts .group-count-summary,.hide-group-counts .group-count{display:none!important}.client-config-panel select{display:block;width:100%;max-width:440px;padding:10px;margin:10px 0;border:1px solid #dbe2eb;border-radius:8px;background:white;color:#334155}.client-config-panel a{display:inline-block;color:#1575c8;border:1px solid #cbe2f6;border-radius:8px;padding:10px 16px;margin:4px 12px 8px 0;text-decoration:none}.client-config-panel p{white-space:pre-wrap;overflow-wrap:anywhere;color:#718096}.client-config-panel small{display:block;color:#718096}.client-update-dialog{max-width:420px}.client-update-dialog button{margin:12px 12px 0 0}
#createGroupDialog{width:min(620px,calc(100vw - 48px));max-width:620px;padding:26px 30px;border-radius:14px}.create-group-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.create-group-top h2{font-size:20px;margin:0}.create-group-top button{background:transparent;color:#8b97a5;border:0;font-size:26px;padding:0 6px}#createGroupForm>#groupName{box-sizing:border-box;width:100%;padding:13px 15px;border:1px solid #e3eaf1;border-radius:8px;background:#f4f7fa}.create-group-avatar-row{display:flex;align-items:center;gap:18px;margin:22px 0}.create-group-avatar-row>span{color:#506072}.create-group-avatar-row small{display:block;color:#97a3b1;font-size:12px;margin:5px 0}.create-group-avatar-row #chooseGroupAvatar{width:64px;height:64px;padding:0;border:2px dashed #c5d8e9;background:#f3f8fc;border-radius:50%;overflow:hidden;flex-shrink:0;color:#428ac5;font-size:30px}.create-group-avatar-row #createGroupAvatarPreview{display:flex;align-items:center;justify-content:center;width:100%;height:100%}#createGroupAvatarPreview img{width:100%;height:100%;object-fit:cover}.create-group-avatar-row #changeCreateGroupAvatar,.create-group-avatar-row #removeCreateGroupAvatar{padding:0;border:0;background:transparent;color:#2585d7;font-size:13px}#createGroupAvatarError{color:#bf3b48;font-size:13px}#groupFriendChoices{max-height:320px;overflow:auto;padding:10px 2px}.create-group-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:20px}.create-group-actions button{width:auto!important;padding:10px 26px!important}.create-group-actions button[type=submit]{background:#2686ed;color:white}#createGroupForm #groupFriendFilter{box-sizing:border-box;width:100%}
#unifiedReminders{background:#fff;border:1px solid #e8eef5;border-radius:12px;overflow:hidden}#unifiedReminders .request-row{margin:0;border-radius:0;border-bottom:1px solid #edf1f6;padding:18px 22px}#unifiedReminders .request-row:last-child{border-bottom:0}.request-type{display:block;width:fit-content;border-radius:4px;background:#edf5ff;color:#4b86b8;padding:3px 7px;margin-bottom:8px;font-size:11px;font-weight:500}#moreReminders{display:block;margin:20px auto;padding:10px 24px;border:1px solid #d4e5f5;border-radius:8px;background:#fff;color:#2c83cb}#moreReminders[hidden]{display:none}
/* Compact profile layout with content-driven height. */
#selfProfileDialog,#selfProfileDialog.is-other-profile{box-sizing:border-box;width:400px;max-width:calc(100vw - 24px);max-height:min(720px,calc(100dvh - 24px));border-radius:12px;overflow-x:hidden;overflow-y:auto}
#selfProfileDialog #profileDragHandle{flex-shrink:0}
#selfProfileDialog.is-other-profile #profileDragHandle{min-height:62px;box-sizing:border-box;padding:7px 12px}
#selfProfileDialog #profileCardView,#selfProfileDialog.is-other-profile #profileCardView{padding:0 18px 12px}
#selfProfileDialog .profile-card-hero{min-height:68px;gap:12px;padding:6px 0}
#selfProfileDialog.is-other-profile .profile-card-hero{min-height:48px;margin-top:-18px;padding:0 0 4px}
#selfProfileDialog #profileCardAvatar,#selfProfileDialog.is-other-profile #profileCardAvatar{width:56px;height:56px;min-width:56px;font-size:22px}
#selfProfileDialog.is-other-profile .profile-card-identity{padding-top:14px}
#selfProfileDialog .profile-card-identity h2{font-size:18px;line-height:1.35;margin-bottom:2px}
#selfProfileDialog #friendNoteInline{gap:6px;margin:8px 0 10px}
#selfProfileDialog #friendNoteValue{min-height:34px;padding:7px 10px;margin-top:4px;font-size:13px}
#selfProfileDialog #saveFriendInlineNote{min-height:32px;padding:6px 14px;font-size:13px}
#selfProfileDialog .friend-profile-fields{grid-template-columns:98px minmax(0,1fr);gap:6px 10px;margin:8px 0 10px;line-height:1.5}
#selfProfileDialog #profileCardLevel,#selfProfileDialog.is-other-profile #profileCardLevel{padding:2px 0;min-height:26px}
#selfProfileDialog #profileCardLevel .level-title{gap:8px}
#selfProfileDialog #profileCardView .profile-card-region{font-size:13px;line-height:1.5;margin:6px 0 8px;font-weight:500}
#selfProfileDialog .profile-card-about{gap:6px 8px;margin:0 0 9px;line-height:1.5}
#selfProfileDialog #friendActivity{margin-top:8px;padding-top:8px}
#selfProfileDialog #profileNetwork{margin:8px 0 6px;padding:8px 0 0}
#selfProfileDialog #profileNetwork h3{margin:0 0 6px;font-size:12px}
#selfProfileDialog #profileNetworkStatus{margin:5px 0;font-size:11px;line-height:1.45}
#selfProfileDialog #profileNetwork small{font-size:11px;line-height:1.45}
#selfProfileDialog #profileCardView .profile-card-footer{min-height:32px;padding-top:5px}
#selfProfileDialog #profileCardView .profile-card-footer button{font-size:14px;padding:6px 0}
#selfProfileDialog #selfProfileForm,#selfProfileDialog #profileNoteForm{padding:14px 18px 18px;gap:10px}
#selfProfileDialog #selfProfileForm label{gap:3px}
#selfProfileDialog #selfProfileForm input,#selfProfileDialog #selfProfileForm textarea{padding:8px 10px}
@media(max-width:440px){#selfProfileDialog,#selfProfileDialog.is-other-profile{width:calc(100vw - 24px)}#selfProfileDialog #profileCardView{padding-left:14px;padding-right:14px}}
/* v0.6.18: two scoped friend lists for group creation. */
#createGroupDialog{width:min(880px,calc(100vw - 48px));max-width:880px;padding:24px 30px}
#createGroupForm>#groupName{max-width:580px}
#createGroupForm .create-group-avatar-row{margin:18px 0 20px}
#groupFriendChoices{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);max-height:none;overflow:visible;padding:0;gap:28px}
.gc-column{min-width:0}.gc-column+.gc-column{border-left:1px solid #edf0f5;padding-left:28px}.gc-column h3{color:#29425a;font-size:14px;font-weight:600;border-bottom:1px solid #edf0f5;padding:0 0 12px;margin:0 0 14px}
.gc-search-row{display:flex;align-items:center;gap:10px;margin-bottom:10px;min-width:0}#groupFriendChoices .gc-search-row input[type=search]{box-sizing:border-box;min-width:0;flex:1;width:0;padding:8px 10px;border:0;border-radius:6px;font-size:12px;background:#f4f6f9;color:#35465a}
#groupFriendChoices .gc-select-all{display:flex;gap:5px;align-items:center;padding:0;white-space:nowrap;color:#7a8796;font-size:12px}
#groupFriendChoices input[type=checkbox]{width:16px;height:16px;flex-shrink:0;margin:0;accent-color:#3988fa;cursor:pointer}
.gc-user-list{height:288px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c7d1dc transparent}
#groupFriendChoices .gc-user-row{display:flex;align-items:center;gap:11px;padding:9px 8px;margin:0;border-radius:7px;cursor:pointer;min-height:62px;box-sizing:border-box}
.gc-user-row:hover{background:#f3f7fc}.gc-user-row:has(input:checked){background:#eff6ff}.gc-avatar{width:38px;height:38px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;overflow:hidden;font-size:16px;font-weight:600;color:#fff;background:#6ca7d6}.gc-avatar img{width:100%;height:100%;object-fit:cover}.gc-tone-1{background:#8b9fc9}.gc-tone-2{background:#85b7ae}.gc-tone-3{background:#b4a0c9}
.gc-user-info{min-width:0;display:flex;flex-direction:column;gap:1px;line-height:1.35}.gc-user-info strong{font-size:13px;font-weight:500;overflow-wrap:anywhere}.gc-user-info strong.vip-identity{display:flex;align-items:center;gap:2px;flex-wrap:wrap}.gc-user-info small{color:#99a3ad;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gc-user-account{color:#7a8b9d!important}.gc-empty{padding:26px 10px;margin:0;color:#99a6b3;font-size:12px;text-align:center}
.gc-pager{display:flex;align-items:center;justify-content:center;gap:12px;min-height:30px;margin-top:8px}.gc-pager:empty{display:none}.gc-pager button{background:transparent;padding:4px 8px;color:#3c85c3;font-size:11px}.gc-pager button:disabled{opacity:.4;cursor:default}.gc-pager small{color:#8b99a8;font-size:11px}
.gc-selection-summary{display:flex;align-items:center;gap:12px;margin-top:16px;font-size:12px;color:#4382b4}.gc-selection-summary small{color:#9aa5b1;font-size:12px}
#groupCandidatesStatus,#groupCreateStatus{font-size:12px;color:#a35151;line-height:1.5;margin:4px 0 10px;overflow-wrap:anywhere}#groupCandidatesStatus:empty,#groupCreateStatus:empty{display:none}
@media(max-width:650px){#createGroupDialog{padding:20px;width:calc(100vw - 28px);max-height:calc(100dvh - 28px)}#groupFriendChoices{grid-template-columns:1fr;gap:20px}.gc-column+.gc-column{border-left:0;padding-left:0}.gc-user-list{height:210px}.gc-selection-summary{flex-wrap:wrap;gap:5px 12px}}
