@php $roleLabel = session('activeProfileRoleLabel') ? __(session('activeProfileRoleLabel')) : null; @endphp {{-- Centered auto-dismissing overlay — works reliably in WebView without depending on Alpine timing --}}
@if(session('activeProfilePhoto')) {{ session('activeProfileName') }} @endif
{{ __('You are now acting as') }}
{{ session('activeProfileName') }}
@if($roleLabel)
{{ $roleLabel }}
@endif