<UserControl x:Class="DansoriEQ.App.Controls.Live2DCharacterView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:wv2="clr-namespace:Microsoft.Web.WebView2.Wpf;assembly=Microsoft.Web.WebView2.Wpf">
    <Grid ClipToBounds="True">
        <Border Background="#121216" CornerRadius="8"/>
        <wv2:WebView2 x:Name="CharacterWebView"
                      DefaultBackgroundColor="Transparent"/>
        <Border x:Name="Fallback" Background="#E6121216" CornerRadius="8"
                BorderBrush="#334CC2FF" BorderThickness="1">
            <StackPanel VerticalAlignment="Center" HorizontalAlignment="Center" Margin="16">
                <TextBlock Text="Live2D Host" Foreground="#F2F3F5" FontWeight="Bold"
                           HorizontalAlignment="Center"/>
                <TextBlock x:Name="FallbackText" Text="initializing" Foreground="#A8ABB4" FontSize="12"
                           Margin="0,6,0,0" HorizontalAlignment="Center"/>
            </StackPanel>
        </Border>
    </Grid>
</UserControl>
