/*
 * VELVET ROOM — PROFILE PREVIEW SINGLE HEADER AUTHORITY R6
 *
 * The shared #vrEcosystemHeader is the ONLY Profile Preview header.
 * The legacy .topbar is retired from layout.
 *
 * Any surviving useful legacy control is migrated into the shared header
 * by vr-room-profile-single-header-r6.js before the legacy row is hidden.
 */

body[data-vr-top-skin="r5"][data-vr-r5-surface="profile"] .topbar{
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
  pointer-events:none!important;
}

/* No phantom space should survive from the retired local header. */
body[data-vr-top-skin="r5"][data-vr-r5-surface="profile"] .topbar + *{
  margin-top:0!important;
}

/* Migrated legacy action (normally Refresh) belongs to the canonical row. */
#vrEcosystemHeader .vrProfileMigratedHeaderAction{
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  min-height:44px!important;
  display:grid!important;
  place-items:center!important;
  margin:0!important;
  padding:0!important;
  border:1px solid rgba(255,255,255,.18)!important;
  border-radius:50%!important;
  background:rgba(5,5,8,.20)!important;
  color:#fff!important;
  font:800 18px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  text-decoration:none!important;
  box-shadow:none!important;
  backdrop-filter:blur(4px)!important;
  pointer-events:auto!important;
}

#vrEcosystemHeader .vrProfileMigratedHeaderAction[hidden]{
  display:none!important;
}

