{{-- Live banner --}} @if ($liveEpisode)

{{ __('Live now') }}

{{ $liveEpisode->show?->title }} — {{ __('Episode') }} {{ $liveEpisode->episode_number }}

@endif {{-- Stat cards --}}
@php $cards = [ [__('Total Shows'), $stats['shows']['total'], $stats['shows']['active'].' '.__('active'), 'text-gold-300'], [__('Contestants'), $stats['contestants']['total'], $stats['contestants']['active'].' '.__('active'), 'text-emerald-300'], [__('Questions'), $stats['questions']['total'], $stats['questions']['published'].' '.__('published'), 'text-sky-300'], [__('Episodes'), $stats['episodes']['total'], $stats['episodes']['completed'].' '.__('completed'), 'text-fuchsia-300'], ]; @endphp @foreach ($cards as [$label, $value, $sub, $color])

{{ $label }}

{{ number_format($value) }}

{{ $sub }}

@endforeach
{{-- Financial summary --}} @can('finance.view')

{{ __('Financial Summary') }}

@php $finance = [ [__('Recorded Income'), $stats['finance']['income'], 'text-emerald-300'], [__('Prizes Committed'), $stats['finance']['prizes_committed'], 'text-gold-300'], [__('Payments Completed'), $stats['finance']['payments_completed'], 'text-sky-300'], [__('Outstanding Balances'), $stats['finance']['outstanding_balances'], 'text-red-300'], ]; @endphp @foreach ($finance as [$label, $value, $color])

{{ $label }}

${{ number_format((float) $value, 2) }}

@endforeach
@endcan
{{-- Quick actions --}}

{{ __('Quick Actions') }}

@can('shows.create'){{ __('Create a show') }}@endcan @can('contestants.manage'){{ __('Add a contestant') }}@endcan @can('questions.manage'){{ __('Create a question') }}@endcan @can('shows.view'){{ __('View all shows') }}@endcan
{{-- Upcoming --}}

{{ __('Upcoming Episodes') }}

@forelse ($upcoming as $episode)

{{ $episode->show?->title }}

{{ __('Ep') }} {{ $episode->episode_number }} · {{ $episode->scheduled_at?->format('M d, H:i') ?? __('Unscheduled') }}

{{ $episode->status }}
@empty

{{ __('No upcoming episodes.') }}

@endforelse
{{-- Recent activity --}}

{{ __('Recent Activity') }}

@forelse ($recentActivity as $log)

{{ $log->description ?? $log->action }}

{{ $log->user?->name ?? __('System') }} · {{ $log->created_at?->diffForHumans() }}

@empty

{{ __('No activity yet.') }}

@endforelse