{#if pickerMode}
{:else}
> s.active !== false)} announcement={disabled && !activating ? accessMessage(accessReason, isParent) : ''} connected={!famStore.connectionDown} > {#if data.session && sharedDevice.on && (data.deviceChildIds?.length || 0) > 0} {/if}
{@render children()}
{#if showLoggedOut}
You're logged out Your session expired, so everything below is read-only — toggles and claims won't work until you log back in. Parent log in {#if page.params.username} Rejoin as {page.params.username} {/if} Kids: re-open your invite link, or ask a parent to send it again.
{/if} {#if locked}
{#if !hasAuth}

You need to be logged in to view this page

{:else if activating} Activating your subscription… Payment received — this usually only takes a few seconds. {:else} Access paused {isParent ? 'Add an access code or resume your subscription to keep using FamDone.' : 'Your family access is paused.'} {/if}
{/if}
{#if claimToast} {claimToast} — view dashboard → {/if}
{#if chatStore.open} {/if} {#if pickerOpen && deviceProfiles.length > 0} (pickerOpen = false)} /> {/if} {#if famStore.connectionDown}
Reconnecting… live updates paused
{/if}
{/if}