/* v232: URL-owned shell and actions/audience belonging to the open space. */
html:root[data-vmesta-route-shell="spaces"] body #mobile-profile-overview,
html:root[data-vmesta-route-shell="spaces"] body #cover-section,
html:root[data-vmesta-route-shell="spaces"] body #profile-tabs-container { display:none!important; }
html:root body.space-route #friend-actions-container,
html:root body.space-route #profile-safety-menu,
html:root body.space-route #btn-tab-my { display:none!important; }
html:root[data-vmesta-route-shell="space"] body #cover-section #user-info-group,
html:root[data-vmesta-route-shell="space"] body #mobile-cover-avatar { visibility:hidden!important;pointer-events:none!important; }
html:root body #space-profile-avatar-wrap { position:relative;width:9rem;margin:auto; }
html:root body #space-profile-subscribers { padding:1rem;border-radius:1.2rem;background:var(--theme-surface-control,var(--adaptive-surface-2,#eef3f9));text-align:left; }
html:root body #space-profile-subscribers header,
html:root body #space-profile-subscribers header > span,
html:root body #space-profile-subscribers .mobile-profile-friends-row { display:flex;align-items:center;gap:.6rem;justify-content:space-between; }
html:root body #space-profile-subscribers header > span { justify-content:flex-start; }
html:root body #space-profile-subscribers header { margin-bottom:.75rem; }
html:root body #space-profile-subscribers svg { width:1.2rem;height:1.2rem;fill:none;stroke:var(--color-dynamic,#3775ca);stroke-width:2; }
html:root body #space-profile-subscribers header > b { padding:.4rem .7rem;border-radius:999px;color:var(--color-dynamic,#3775ca);background:color-mix(in srgb,var(--color-dynamic,#3775ca) 12%,transparent); }
html:root body #space-profile-subscribers .mobile-profile-friends-list { display:flex;gap:.55rem;min-width:0; }
html:root body #space-profile-subscribers .space-audience-person { position:relative;width:3rem;height:3rem;padding:2px;border:2px solid color-mix(in srgb,var(--color-dynamic,#3775ca) 50%,transparent);border-radius:.9rem; }
html:root body #space-profile-subscribers .space-audience-person img { width:100%;height:100%;object-fit:cover;border:0;border-radius:.65rem; }
html:root body #space-profile-subscribers .user-online-dot { position:absolute;right:-3px;bottom:-3px;width:.8rem;height:.8rem; }
html:root body #space-profile-subscribers .mobile-profile-all-friends { display:flex;align-items:center;gap:.4rem;font-size:.75rem;color:var(--color-dynamic,#3775ca); }
html:root body #space-profile-subscribers .mobile-profile-friends-empty { color:var(--adaptive-text-muted,#718096);font-size:.8rem; }
html:root body.space-route #space-left-actions { display:grid!important;gap:.6rem!important;margin:0!important;width:100%; }
html:root body.space-route #space-profile-actions-host { margin:.9rem 0; }
html:root body.space-route .space-profile-tools { padding:.25rem 0!important;font-size:.75rem; }
@media(max-width:767px) {
  html:root[data-vmesta-route-shell="section"] body #mobile-profile-overview,
  html:root[data-vmesta-route-shell="section"] body #cover-section,
  html:root[data-vmesta-route-shell="section"] body #profile-tabs-container { display:none!important; }
  html:root[data-vmesta-route-shell="space"] body #mobile-profile-overview:not([data-profile-scope="space"]) { display:none!important; }
  html:root body.space-route #mobile-profile-actions-slot { width:100%; }
  html:root body.space-route #mobile-profile-actions-slot .space-left-message,
  html:root body.space-route #mobile-profile-actions-slot .space-subscribe-split { min-height:3rem;border-radius:1rem; }
  html:root body.space-route #mobile-profile-actions-slot .space-left-message { background:linear-gradient(105deg,var(--color-dynamic,#3775ca),color-mix(in srgb,var(--color-dynamic,#3775ca) 58%,#f084b1))!important;color:#fff; }
  html:root body.space-route #mobile-profile-actions-slot .space-left-message svg { width:1.1rem;height:1.1rem; }
  html:root body.space-route .mobile-profile-friends-row { min-height:2.8rem; }
  html:root body.space-route #mobile-profile-friends-list { display:flex!important;gap:.55rem!important;width:auto!important; }
  html:root body.space-route #mobile-profile-friends-list .space-audience-person { flex:0 0 clamp(1.6rem,8vw,2.8rem);width:clamp(1.6rem,8vw,2.8rem)!important;height:clamp(1.6rem,8vw,2.8rem)!important; }
}
/* Subscriber totals belong to the audience card, not the action button. */
html:root body.space-route .space-subscribe-split { grid-template-columns:minmax(0,1fr)!important; }
html:root body.space-route .space-left-subscribe { width:100%; }

/* Keep decorative pulses off the capture pipeline. Camera/video and
   recorder feedback are deliberately excluded from this pause. */
html:root body.messenger-recording-active .online-dot-pulse,
html:root body.messenger-recording-active .vmesta-cover-skeleton::after,
html:root body.messenger-recording-active .vmesta-profile-skeleton::after { animation-play-state:paused!important; }
