/* Keep discovery pages inside the same canvas and typographic scale as chats. */
.nexo-identity .chat{min-width:0;min-height:0;box-sizing:border-box}.nexo-identity .workspace.discovering .chat{display:flex!important;flex-direction:column!important}.nexo-identity .workspace.discovering .chat-header{flex:none}.nexo-identity .nexo-discover-home{height:auto!important;flex:1;min-height:0;box-sizing:border-box;overflow:auto;padding:24px!important}.nexo-identity .discovery-heading h1{font-size:28px!important;line-height:1.2;margin:8px 0 12px}.discovery-grid{align-items:stretch}.nexo-identity .discovery-card{display:flex;flex-direction:column;padding:20px!important;min-width:0}.discovery-card .discovery-description{min-height:72px;line-height:1.6}.discovery-card .discovery-card-actions{margin-top:auto!important;padding-top:18px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.nexo-identity .discovery-card h2{font-size:20px}.discovery-card .market-review-score{min-height:20px}.discovery-card button{font-size:12px}
.inline-friends{flex:1;min-height:0;overflow:auto;padding:28px;box-sizing:border-box}.inline-friends[hidden]{display:none!important}.chat.friends-visible{display:flex!important;flex-direction:column!important}.friends-visible>.chat-header{flex:none}.inline-friends>.modal-close{position:static;float:right}.inline-friends h2{font-size:28px}.inline-friends #friend-request-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end;max-width:850px}.inline-friends #friend-request-form label{display:grid;gap:8px}.inline-friends .friend-tabs{display:flex;gap:10px;margin:24px 0}.inline-friends .friend-tabs button{border-radius:12px;padding:12px}.inline-friends .friend-tabs [aria-selected=true]{color:var(--accent);border-color:var(--accent)}.inline-friends #friend-list{max-width:850px}.nexo-identity .friend-row{margin:10px 0!important;border-radius:14px;padding:14px!important;gap:16px}.people-letter{font-size:11px;letter-spacing:2px;color:var(--muted);margin:20px 8px 8px}.dm-list-row{position:relative;display:flex;align-items:center;gap:3px;margin:7px 0;padding-right:4px;border-radius:12px;background:color-mix(in srgb,var(--paper) 80%,transparent)}.dm-list-row .dm-channel{flex:1;min-width:0;margin:0!important;padding-right:2px!important}.dm-list-row .dm-channel>span:not(.avatar):not(.verified-mark){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dm-list-row .dm-close{width:24px;height:30px;min-width:24px;min-height:30px;padding:0;border:0;background:transparent;color:var(--muted);flex:none}.dm-list-row .dm-close{opacity:0}.dm-list-row:hover .dm-close,.dm-list-row:focus-within .dm-close{opacity:1}.dm-close:hover{color:var(--ink)!important}.nexo-action-menu{position:fixed;z-index:2147483646;display:grid;gap:5px;padding:8px;min-width:180px;max-width:calc(100vw - 16px);background:var(--panel);border:1px solid var(--line);border-radius:13px;box-shadow:0 15px 45px #0005}.nexo-action-menu button{text-align:left;border:0;background:transparent;padding:11px 14px;color:var(--ink);font-size:13px}.nexo-action-menu button:hover,.nexo-action-menu button:focus-visible{background:color-mix(in srgb,var(--accent) 15%,transparent);border-radius:8px}.news-feed-card,.home-post{position:relative;padding-right:58px!important}.post-options-button{position:absolute;top:14px;right:14px;width:32px;height:32px;padding:0;font-size:22px;border-radius:50%;background:transparent}.news-feed-card>header .follow-server-button{margin-left:auto}.feed-post-image{display:block;margin:16px 0;max-width:100%}
.nexo-identity #voice-dock{padding:10px!important;gap:7px!important;border-radius:14px!important}.nexo-identity #voice-dock-people{gap:8px!important;padding:3px 0!important}.nexo-identity #voice-dock-people .avatar{width:28px!important;height:28px!important;min-width:28px!important}.nexo-identity #voice-dock .voice-controls{display:flex!important;flex-wrap:nowrap!important;gap:4px!important}.nexo-identity #voice-dock .voice-controls button{width:27px!important;height:29px!important;min-width:27px!important;min-height:29px!important;padding:5px!important;border-radius:50%!important;overflow:visible!important}.nexo-identity #voice-dock .voice-controls svg{width:16px;height:16px}.nexo-identity #voice-dock-title{font-size:11px}.nexo-identity #voice-dock-status{font-size:10px}.voice-dock-toggle{display:none!important}
.nexo-identity .server-identity-create{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:20px 0}.nexo-identity #modal-form label{display:grid;gap:8px;margin:0 0 16px;align-items:start}.nexo-identity #modal-form input:not([type=checkbox]),.nexo-identity #modal-form textarea,.nexo-identity #modal-form select{display:block;width:100%;box-sizing:border-box;min-height:44px;border:1px solid var(--line);border-radius:12px;background:var(--surface-input);color:var(--ink);padding:12px;font:inherit}.nexo-identity #modal-form textarea{min-height:96px;resize:vertical}.server-identity-create>label:first-child,.server-identity-create>label:nth-child(2){grid-column:1/-1}.nexo-identity #modal-form input[type=color]{height:44px}.nexo-identity #modal-form label:has(input[type=checkbox]){display:flex;align-items:center;gap:10px}.nexo-identity #modal{width:min(680px,calc(100vw - 28px));box-sizing:border-box;padding:30px}.nexo-identity #modal .server-template-options{gap:12px}
.nexo-identity #profile-dialog.profile-organized.mini-profile{width:min(370px,calc(100vw - 24px))!important;border-radius:22px!important;overflow:auto;max-height:calc(100dvh - 24px)}.profile-organized .card-banner{height:120px!important;border-radius:20px 20px 0 0}.profile-organized .profile-card-top{margin-top:-35px!important;padding:0 22px!important;position:relative}.profile-organized .card-avatar{width:72px!important;height:72px!important;min-width:72px!important;border:5px solid var(--panel)!important}.profile-organized .profile-card-content{padding:12px 22px 22px!important}.nexo-identity .profile-organized #card-name{font-size:26px!important;margin:6px 0}.profile-organized #card-username{margin:8px 0 16px!important;font-size:13px}.profile-organized #card-badges{background:transparent!important;padding:0!important;gap:8px!important;margin:14px 0!important;flex-wrap:wrap}.profile-organized .badge{border-radius:50%!important;width:30px!important;height:30px!important;min-width:30px!important;padding:6px!important}.profile-organized .profile-card-details{display:grid!important;gap:14px!important;margin:14px 0!important;background:transparent!important}.profile-organized .profile-card-details>section{padding:16px!important;border:1px solid var(--line)!important;border-radius:14px!important;background:color-mix(in srgb,var(--paper) 65%,transparent)!important}.profile-organized .profile-card-details h3{font-size:10px!important;letter-spacing:1.3px}.profile-organized .profile-card-details p{font-size:13px!important;line-height:1.6}.profile-organized .phone-profile-actions{display:flex!important;flex-wrap:wrap;gap:8px!important;margin-top:18px}.profile-organized .phone-profile-actions button{flex:1 1 42%;margin:0!important;padding:10px!important;font-size:11px!important;min-height:38px!important;border-radius:12px!important}.profile-organized .modal-close,.profile-organized .profile-more{width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;border-radius:50%!important;padding:0!important;top:12px!important}.nexo-identity .profile-organized .full-profile-layout{grid-template-columns:280px minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important}.nexo-identity .profile-organized.profile-wide{width:min(850px,calc(100vw - 32px))!important;height:min(640px,calc(100dvh - 32px))!important}.nexo-identity .profile-organized .full-profile-identity{grid-column:1;grid-row:1;overflow:auto!important;border-right:1px solid var(--line);background:var(--panel)!important}.nexo-identity .profile-organized .profile-section-tabs{grid-column:2;grid-row:1;align-self:start;z-index:2;position:relative;padding:18px!important}.nexo-identity .profile-organized .full-profile-details{grid-column:2;grid-row:1;padding:80px 22px 22px!important;overflow:auto!important}.nexo-identity .profile-organized .full-profile-details .profile-card-details{grid-template-columns:1fr!important}.bio-mention{display:inline!important;width:auto!important;padding:1px 4px!important;margin:0!important;background:color-mix(in srgb,var(--accent) 15%,transparent);color:var(--accent);border:0;border-radius:4px;font:inherit}.bio-mention-suggestions{display:grid;gap:4px;border:1px solid var(--line);border-radius:12px;padding:8px;max-height:210px;overflow:auto}.bio-mention-suggestions[hidden]{display:none}.bio-mention-suggestions button{display:flex;align-items:center;gap:10px;text-align:left}.bio-mention-suggestions .avatar{width:28px;height:28px;min-width:28px;font-size:11px}.voice-people-ranking{margin-top:28px;padding:22px;border:1px solid var(--line);border-radius:18px}.voice-ranking-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.voice-ranking-person{display:grid;grid-template-columns:auto 1fr;gap:10px;padding:14px;border:1px solid var(--line);border-radius:12px}.voice-ranking-person small{grid-column:2;color:var(--muted)}
@media(max-width:760px){.inline-friends{padding:18px}.inline-friends #friend-request-form{grid-template-columns:1fr}.inline-friends .friend-row{flex-wrap:wrap}.dm-list-row .dm-close{opacity:1}.nexo-identity .server-identity-create{grid-template-columns:1fr}.server-identity-create>label{grid-column:1!important}.nexo-identity .profile-organized .full-profile-layout{display:flex!important;flex-direction:column!important;overflow:auto!important}.nexo-identity .profile-organized .full-profile-identity{overflow:visible!important;flex:none;border:0}.nexo-identity .profile-organized .full-profile-details{padding:16px!important;overflow:visible!important}.nexo-identity .profile-organized.profile-wide{height:auto!important;max-height:calc(100dvh - 24px)!important;overflow:auto!important}.nexo-identity .profile-organized .profile-section-tabs{flex:none}.news-feed-card,.home-post{padding-right:48px!important}.voice-people-ranking{padding:16px}}
.nexo-identity .inline-friends #friend-request-form label{margin:0!important}.inline-friends #friend-error:empty{display:none}.nexo-identity .inline-friends .friend-tabs button{background:transparent!important;color:var(--muted)!important;border:1px solid var(--line)!important}.nexo-identity .inline-friends .friend-tabs [aria-selected=true]{background:color-mix(in srgb,var(--accent) 12%,transparent)!important;color:var(--accent)!important;border-color:var(--accent)!important}.profile-organized .profile-member-settings,.profile-organized .profile-nickname-edit{display:none!important}.profile-organized .profile-card-details>#card-bio-section{padding:16px!important;border:1px solid var(--line)!important;border-radius:14px!important;background:transparent!important}.inline-friends .friend-tabs{margin-top:24px!important}
.nexo-identity #profile-dialog.profile-organized.profile-wide:not(.mini-profile){width:min(850px,calc(100vw - 32px))!important;height:min(640px,calc(100dvh - 32px))!important;background:var(--panel)!important;padding:0!important}.nexo-identity #profile-dialog.profile-organized .profile-card-top{position:relative!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;width:auto!important;margin-top:-36px!important;padding:0 22px!important;align-items:center;flex-wrap:wrap}.nexo-identity #profile-dialog.profile-organized .profile-card-content{padding:20px 22px!important;min-height:0!important}.nexo-identity #profile-dialog.profile-organized #card-name,.nexo-identity #profile-dialog.profile-organized #card-username{max-width:100%!important;width:auto!important;overflow-wrap:anywhere}.nexo-identity #profile-dialog.profile-organized .card-avatar{border-radius:50%!important}.nexo-identity #profile-dialog.profile-organized .profile-card-content>.spotify-listening{position:static!important;width:100%!important;margin:12px 0!important}.nexo-identity #profile-dialog.profile-organized .profile-card-top .badges{max-width:100%!important}.nexo-identity #modal-form .server-identity-create label{margin:0!important}.nexo-identity #modal-form .server-identity-create{margin:14px 0;gap:14px}.nexo-identity #modal-form .server-identity-create textarea{min-height:72px}.nexo-identity #profile-dialog.profile-organized .phone-profile-actions{display:flex!important;gap:8px;flex-wrap:wrap}.nexo-identity #profile-dialog.profile-organized .phone-profile-actions button[hidden]{display:none!important}
@media(max-width:760px){.nexo-identity #profile-dialog.profile-organized.profile-wide:not(.mini-profile){width:calc(100vw - 24px)!important;height:auto!important;max-height:calc(100dvh - 24px)!important}.nexo-identity #profile-dialog.profile-organized .full-profile-layout{display:flex!important}.nexo-identity #profile-dialog.profile-organized .full-profile-details{padding:18px!important;overflow:visible!important}}
.nexo-identity #member-list .member-row{margin:8px 0!important}.nexo-identity .inline-friends #friend-list .friend-row .friend-actions{gap:10px}.nexo-identity .inline-friends #friend-list .friend-row{align-items:center}
/* One scale and canvas geometry across chat, discovery and the feed. */

.nexo-identity .nexo-discover-home,.nexo-identity .nexo-news-feed,.nexo-identity #server-home-panel{font-size:13px!important;box-sizing:border-box;min-height:0;scroll-padding-top:20px}.nexo-identity .discovery-heading h1,.nexo-identity .news-feed-heading h1,.nexo-identity .server-home-hero h1{font-size:26px!important}.nexo-identity .chat.server-home-visible{display:flex!important;flex-direction:column!important}.nexo-identity .server-home-visible>.chat-header{flex:none}.nexo-identity #server-home-panel{flex:1;height:auto!important;overflow:auto;padding-top:22px!important}
.nexo-identity #channel-list #server-home-button,.nexo-identity #channel-list .learning-tools-button,.nexo-identity #channel-list .feed-sidebar-button{display:inline-flex!important;align-items:center;justify-content:center;width:38px!important;min-width:38px!important;height:38px!important;min-height:38px!important;padding:9px!important;margin:0 7px 12px 0!important;vertical-align:top;border-radius:11px;gap:0!important}.nexo-identity #channel-list #server-home-button::after,.nexo-identity #channel-list .learning-tools-button::after,.nexo-identity #channel-list .feed-sidebar-button::after{display:none!important}.feed-tabs button{width:38px;height:38px;padding:9px;display:inline-flex;align-items:center;justify-content:center}.feed-tabs svg,.home-following-servers svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}
.home-following{margin:22px 0;padding:20px;border:1px solid var(--line);border-radius:16px}.home-following h2{font-size:20px;margin:0 0 14px}.home-following-servers{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:14px}.home-following-servers button{display:flex;align-items:center;gap:10px}
.nexo-identity #profile-dialog.profile-organized.mini-profile{width:300px!important;max-width:calc(100vw - 24px)!important;max-height:min(560px,calc(100dvh - 24px))!important;overflow:auto!important;box-sizing:border-box!important}.nexo-identity #profile-dialog.profile-organized.mini-profile .card-banner{height:84px!important}.nexo-identity #profile-dialog.profile-organized.mini-profile .card-avatar{width:56px!important;height:56px!important;min-width:56px!important}.nexo-identity #profile-dialog.profile-organized.mini-profile .profile-card-content{padding:10px 16px 16px!important}.nexo-identity #profile-dialog.profile-organized.mini-profile .profile-card-top{padding:0 16px!important;margin-top:-25px!important}.nexo-identity #profile-dialog.profile-organized.mini-profile #card-name{font-size:21px!important}.nexo-identity #profile-dialog.profile-organized.mini-profile .profile-mutuals{display:none!important}.nexo-identity #profile-dialog.profile-organized.profile-wide:not(.mini-profile){width:min(700px,calc(100vw - 28px))!important;height:min(520px,calc(100dvh - 28px))!important}.nexo-identity #profile-dialog.profile-organized.profile-wide .full-profile-layout{grid-template-columns:240px minmax(0,1fr)!important}
@media(max-width:760px){.nexo-identity #workspace{zoom:1!important}.nexo-identity #profile-dialog.profile-organized.profile-wide:not(.mini-profile){height:auto!important;max-height:calc(100dvh - 24px)!important}.nexo-identity #server-home-panel{padding:16px!important}}
.nexo-identity #profile-dialog.profile-organized.mini-profile{max-height:min(480px,calc(100dvh - 24px))!important}.nexo-identity #profile-dialog.profile-organized.mini-profile #card-membership-section{display:none!important}.nexo-identity #profile-dialog.profile-organized.mini-profile .profile-card-details{padding:0!important;border:0!important;background:transparent!important;display:block!important;margin:10px 0!important}.nexo-identity #profile-dialog.profile-organized.mini-profile #card-bio-section{padding:10px!important;margin:0!important}.nexo-identity #profile-dialog.profile-organized.mini-profile #card-bio{font-size:12px!important;line-height:1.5!important;max-height:64px;overflow:auto;margin:8px 0 0}.nexo-identity #profile-dialog.profile-organized.mini-profile #card-badges{margin:8px 0!important}.nexo-identity #profile-dialog.profile-organized.mini-profile .phone-profile-actions{margin-top:10px!important;gap:6px!important}.nexo-identity #profile-dialog.profile-organized.mini-profile .phone-profile-actions button{min-height:32px!important;font-size:11px!important;padding:8px!important}
