/* v231: catalog/detail isolation, standalone exact search, connected call tails. */
html:root body.spaces-catalog-route #mobile-profile-overview,
html:root body.spaces-catalog-route #cover-section,
html:root body.spaces-catalog-route #profile-tabs-container { display:none!important; }
html:root body #spaces-index-empty.hidden,
html:root body .spaces-index-grid > .spaces-index-card.hidden { display:none!important; }
html:root body.spaces-catalog-route .spaces-top-panel .spaces-top-limits,
html:root body.spaces-catalog-route #mobile-spaces-sections .spaces-top-panel .spaces-top-limits {
  margin-top:1rem!important;margin-bottom:1rem!important;
}
html:root body.spaces-catalog-route .spaces-top-panel .spaces-top-search { margin-top:.75rem!important; }
html:root body .space-exact-search-overlay {
  position:fixed;inset:0;z-index:100001;display:grid;place-items:center;
  padding:1rem;padding-bottom:max(1rem,env(safe-area-inset-bottom));
  background:rgb(0 0 0/.55);overflow:auto;
}
html:root body #space-exact-search-dialog .spaces-index-filter-panel {
  position:relative!important;inset:auto!important;transform:none!important;
  display:block!important;width:min(100%,38rem)!important;max-height:calc(100dvh - 2rem);
  height:auto!important;min-height:0!important;
  overflow:auto;margin:0!important;box-sizing:border-box;padding:1.25rem;border-radius:1.4rem;
  background:var(--theme-surface-panel,var(--adaptive-surface,#fff));color:var(--adaptive-text,var(--text-color,#172033));
  box-shadow:0 1.5rem 5rem rgb(0 0 0/.25);
}
html:root body #space-exact-search-dialog .spaces-index-filter-fields { gap:1rem!important; }
html:root body #space-exact-search-dialog header { margin-bottom:1.25rem!important; }
html:root body #space-exact-search-dialog footer { margin-top:1.5rem!important;gap:.75rem!important; }
html:root body .space-profile-identity { text-align:center;padding:1.5rem;background:var(--theme-surface-panel,var(--adaptive-surface,#fff));border-radius:1.5rem;margin-bottom:1rem; }
html:root body .space-profile-identity img { width:9rem;height:9rem;object-fit:cover;border-radius:1.75rem;margin:auto;border:3px solid var(--color-dynamic,#3775ca); }
html:root body .space-profile-identity h1 { font-size:2rem;font-weight:900;margin-top:.75rem; }
html:root body .space-profile-identity p { margin:.75rem 0; }
html:root body #space-profile-actions-host #space-left-actions { display:grid!important;margin:0 0 1rem!important; }
html:root body.space-route #profile-left-rail .upload-avatar-btn,
html:root body.space-route #cover-section #user-info-group { display:none!important; }
html:root body .space-profile-facts { display:flex;gap:1rem;justify-content:center;flex-wrap:wrap;margin-bottom:1rem; }
html:root body .space-profile-tools { display:flex;justify-content:center;gap:1rem;grid-column:1/-1;padding:.75rem; }
html:root body .space-profile-audience { margin-bottom:1rem;padding:1rem;border-radius:1rem;background:var(--theme-surface-panel,var(--adaptive-surface,#fff)); }
html:root body #messages-root .messenger-call-history-card::before,
html:root body #messages-root .messenger-call-history-card::after { content:none!important;display:none!important; }
html:root body #messages-root .messenger-call-history.is-outgoing.has-tail > .messenger-call-history-card { border-bottom-right-radius:.25rem!important; }
html:root body #messages-root .messenger-call-history.is-incoming.has-tail > .messenger-call-history-card { border-bottom-left-radius:.25rem!important; }
html:root body #messages-root .messenger-call-history.has-tail > .messenger-call-history-card > svg.messenger-bubble-tail { bottom:0!important;overflow:visible!important; }
@media(max-width:767px) {
  html:root body .space-profile-identity { display:none!important; }
  html:root body.mobile-section-without-profile-head #cover-section,
  html:root body.mobile-section-without-profile-head #mobile-profile-overview { display:none!important; }
  html:root body #space-exact-search-dialog .spaces-index-filter-panel { max-height:calc(100dvh - 2rem); }
}
