<?xml version="1.0" encoding="UTF-8"?>
<window id="13002">
    <defaultcontrol>101</defaultcontrol>
    <allowoverlay>no</allowoverlay>
    
    <!-- Include theme definitions -->
    <include>theme_includes.xml</include>
    
    <!-- Slide transition animations -->
    <animation effect="slide" start="-1280,0" end="0,0" time="400" tween="cubic" easing="out">WindowOpen</animation>
    <animation effect="slide" start="0,0" end="1280,0" time="300" tween="cubic" easing="in">WindowClose</animation>
    <animation effect="fade" start="0" end="100" time="400">WindowOpen</animation>
    <animation effect="fade" start="100" end="0" time="300">WindowClose</animation>
    
    <coordinates>
        <system>1</system>
        <posx>0</posx>
        <posy>0</posy>
    </coordinates>
    <controls>
        
        <!-- Enhanced Background -->
        <control type="image">
            <posx>0</posx>
            <posy>0</posy>
            <width>1280</width>
            <height>720</height>
            <texture fallback="Background.png">special://home/addons/plugin.video.jet_guide/resources/skins/default/720p/media/Background.png</texture>
        </control>
        
        <!-- Header section with theme-aware background -->
        <control type="image">
            <posx>0</posx>
            <posy>0</posy>
            <width>1280</width>
            <height>110</height>
            <texture>special://home/addons/plugin.video.jet_guide/resources/skins/default/720p/media/Background.png</texture>
            <colordiffuse>$INFO[Window.Property(theme_header_bg)]</colordiffuse>
        </control>

        <!-- Title Image -->
        <control type="image">
            <posx>50</posx>
            <posy>30</posy>
            <width>40</width>
            <height>40</height>
            <texture>special://home/addons/plugin.video.jet_guide/resources/skins/default/720p/media/epg1.png</texture>
        </control>
        <control type="image">
            <posx>-300</posx>
            <posy>0</posy>
            <width>2000</width>
            <height>110</height>
            <texture colordiffuse="blue">special://home/addons/plugin.video.jet_guide/resources/skins/default/720p/media/testb1.png</texture>
        </control>
        <control type="image">
            <posx>8</posx>
            <posy>7</posy>
            <width>40</width>
            <height>40</height>
            <texture>special://home/addons/plugin.video.jet_guide/resources/skins/default/720p/media/epg1.png</texture>
        </control>
        <control type="textbox" id="300">
            <posx>51</posx>
            <posy>23</posy>
            <width>394</width> #1180
            <height>78</height>
            <font>font12</font>
            <align>left</align>
            <!-- <textcolor>yellow</textcolor> -->
            <label>$INFO[Window.Property(ticker_text)]</label>
            <autoscroll time="3000" delay="1000" repeat="5000"/>
        </control>
        

        <control type="image">
            <posx>1075</posx>
            <posy>5</posy>
            <width>200</width>
            <height>100</height>
            <align>center</align>
            <aligny>center</aligny>
            <texture>special://home/addons/plugin.video.jet_guide/resources/skins/default/720p/media/jet_captain.png</texture>
        </control>
        <!-- <control type="image">
            <description>live games</description>
            <posx>504</posx>
            <posy>4</posy>
            <width>371</width>
            <height>100</height>
            <texture>special://home/addons/plugin.video.jet_guide/resources/skins/default/720p/media/white.png</texture>
        </control> -->
        
        <!-- Live Games Slideshow Display -->
        <control type="group">
            <visible>!String.IsEmpty(Window.Property(SlideshowTeam1))</visible>
            <control type="image">
                <posx>5</posx>
                <posy>4</posy>
                <width>500</width>
                <height>100</height>
                <!-- <texture colordiffuse="blue">special://home/addons/plugin.video.jet_guide/resources/skins/default/720p/media/white.png</texture> -->
                <texture>special://home/addons/plugin.video.jet_guide/resources/skins/default/720p/media/white.png</texture>
                <colordiffuse>FF0000FF</colordiffuse>   
            </control>
            <!-- Left team logo -->
            <control type="image">
                <posx>10</posx>
                <posy>10</posy>
                <width>40</width>
                <height>40</height>
                <texture>$INFO[Window.Property(SlideshowLogo1)]</texture>
                <aspectratio>keep</aspectratio>
            </control>
            <!-- Left team name -->
            <control type="label">
                <posx>55</posx>
                <posy>10</posy>
                <width>300</width>
                <height>20</height>
                <font>font13</font>
                <label>[B]$INFO[Window.Property(SlideshowTeam1)][/B]</label>
                <textcolor>yellow</textcolor>
            </control>
            <!-- Score 1 -->
            <control type="label">
                <posx>380</posx>
                <posy>10</posy>
                <width>50</width>
                <height>25</height>
                <font>font16</font>
                <label>[B][COLORyellow]$INFO[Window.Property(SlideshowScore1)][/COLOR][/B]</label>
                <textcolor>black</textcolor>
            </control>
            <!-- VS separator -->
            <control type="label">
                <posx>200</posx>
                <posy>28</posy>
                <width>40</width>
                <height>40</height>
                <font>font16</font>
                <label>[COLORlime]VS[/COLOR]</label>
                <textcolor>black</textcolor>
            </control>
            <!-- Right team logo -->
            <control type="image">
                <posx>10</posx>
                <posy>50</posy>
                <width>40</width>
                <height>40</height>
                <texture>$INFO[Window.Property(SlideshowLogo2)]</texture>
                <aspectratio>keep</aspectratio>
            </control>
            <!-- Right team name -->
            <control type="label">
                <posx>55</posx>
                <posy>50</posy>
                <width>300</width>
                <height>20</height>
                <font>font13</font>
                <label>[B]$INFO[Window.Property(SlideshowTeam2)][/B]</label>
                <textcolor>yellow</textcolor>
            </control>
            <!-- Score 2 -->
            <control type="label">
                <posx>380</posx>
                <posy>50</posy>
                <width>50</width>
                <height>25</height>
                <font>font16</font>
                <!-- <label>[B]$INFO[Window.Property(SlideshowScore2)][/B]</label> -->
                <label>[B][COLORsilver]$INFO[Window.Property(SlideshowScore2)][/COLOR][/B]</label>
                <textcolor>white</textcolor>
            </control>
            <!-- Live badge -->
            <control type="label">
                <posx>300</posx>
                <posy>75</posy>
                <width>80</width>
                <height>20</height>
                <font>font13</font>
                <label>[B][COLOR=red]LIVE[/COLOR][/B]</label>
                <visible>!String.IsEmpty(Window.Property(SlideshowStatus))</visible>
            </control>
            <!-- Network -->
            <control type="label">
                <posx>385</posx>
                <posy>75</posy>
                <width>120</width>
                <height>20</height>
                <font>font13</font>
                <label>[B]$INFO[Window.Property(SlideshowNetwork)][/B]</label>
                <textcolor>yellow</textcolor>
            </control>
        </control>
        
        <!-- Vertical Main Navigation -->
        <control type="grouplist">
            <posx>20</posx>
            <posy>125</posy>
            <width>270</width>
            <height>460</height>
            <onup>130</onup>
            <itemgap>8</itemgap>
            <orientation>vertical</orientation>
            <control type="button" id="101">
                <onup>130</onup>
                <ondown>102</ondown>
                <onleft>130</onleft>
                <onright>362</onright>
                <width>260</width>
                <height>45</height>
                <font>font16</font>
                <textcolor>FFFFFFFF</textcolor>
                <focusedcolor>$INFO[Window.Property(theme_primary)]</focusedcolor>
                <texturefocus colordiffuse="$INFO[Window.Property(theme_focused)]">special://home/addons/plugin.video.jet_guide/resources/skins/default/720p/media/ButtonFocus.png</texturefocus>
                <texturenofocus colordiffuse="$INFO[Window.Property(theme_button_bg)]">special://home/addons/plugin.video.jet_guide/resources/skins/default/720p/media/Background.png</texturenofocus>
                <control type="label">
                    <posx>14</posx>
                    <posy>10</posy>
                    <width>230</width>
                    <height>26</height>
                    <font>font16</font>
                    <label>EPG Guide</label>
                    <textcolor>FFFFFFFF</textcolor>
                </control>
            </control>
            <control type="button" id="102">
                <onup>101</onup>
                <ondown>106</ondown>
                <onleft>102</onleft>
                <onright>361</onright>
                <width>260</width>
                <height>45</height>
                <font>font16</font>
                <textcolor>FFFFFFFF</textcolor>
                <focusedcolor>$INFO[Window.Property(theme_primary)]</focusedcolor>
                <texturefocus colordiffuse="$INFO[Window.Property(theme_focused)]">special://home/addons/plugin.video.jet_guide/resources/skins/default/720p/media/ButtonFocus.png</texturefocus>
                <texturenofocus colordiffuse="$INFO[Window.Property(theme_button_bg)]">special://home/addons/plugin.video.jet_guide/resources/skins/default/720p/media/Background.png</texturenofocus>
                <control type="label"><posx>14</posx><posy>10</posy><width>230</width><height>26</height><font>font16</font><label>Sports Events</label><textcolor>FFFFFFFF</textcolor></control>
            </control>
            <control type="button" id="106">
                <onup>102</onup>
                <ondown>150</ondown>
                <onleft>106</onleft>
                <onright>360</onright>
                <width>260</width>
                <height>45</height>
                <font>font16</font>
                <textcolor>FFFFFFFF</textcolor>
                <focusedcolor>$INFO[Window.Property(theme_primary)]</focusedcolor>
                <texturefocus colordiffuse="$INFO[Window.Property(theme_focused)]">special://home/addons/plugin.video.jet_guide/resources/skins/default/720p/media/ButtonFocus.png</texturefocus>
                <texturenofocus colordiffuse="$INFO[Window.Property(theme_button_bg)]">special://home/addons/plugin.video.jet_guide/resources/skins/default/720p/media/Background.png</texturenofocus>
                <control type="label"><posx>14</posx><posy>10</posy><width>230</width><height>26</height><font>font16</font><label>Sports Stats</label><textcolor>FFFFFFFF</textcolor></control>
            </control>
            <control type="button" id="150">
                <onup>106</onup>
                <ondown>104</ondown>
                <onleft>150</onleft>
                <onright>363</onright>
                <width>260</width>
                <height>45</height>
                <font>font16</font>
                <textcolor>FFFFFFFF</textcolor>
                <focusedcolor>$INFO[Window.Property(theme_primary)]</focusedcolor>
                <texturefocus colordiffuse="$INFO[Window.Property(theme_focused)]">special://home/addons/plugin.video.jet_guide/resources/skins/default/720p/media/ButtonFocus.png</texturefocus>
                <texturenofocus colordiffuse="$INFO[Window.Property(theme_button_bg)]">special://home/addons/plugin.video.jet_guide/resources/skins/default/720p/media/Background.png</texturenofocus>
                <control type="label"><posx>14</posx><posy>10</posy><width>230</width><height>26</height><font>font16</font><label>Tools</label><textcolor>FFFFFFFF</textcolor></control>
            </control>
            <control type="button" id="104">
                <onup>150</onup>
                <ondown>105</ondown>
                <onleft>104</onleft>
                <onright>310</onright>
                <width>260</width>
                <height>45</height>
                <font>font16</font>
                <textcolor>FFFFFFFF</textcolor>
                <focusedcolor>$INFO[Window.Property(theme_primary)]</focusedcolor>
                <texturefocus colordiffuse="$INFO[Window.Property(theme_focused)]">special://home/addons/plugin.video.jet_guide/resources/skins/default/720p/media/ButtonFocus.png</texturefocus>
                <texturenofocus colordiffuse="$INFO[Window.Property(theme_button_bg)]">special://home/addons/plugin.video.jet_guide/resources/skins/default/720p/media/Background.png</texturenofocus>
                <control type="label"><posx>14</posx><posy>10</posy><width>230</width><height>26</height><font>font16</font><label>Search</label><textcolor>FFFFFFFF</textcolor></control>
            </control>
            <control type="button" id="105">
                <onup>104</onup>
                <ondown>199</ondown>
                <onleft>105</onleft>
                <onright>310</onright>
                <width>260</width>
                <height>45</height>
                <font>font16</font>
                <textcolor>FFFFFFFF</textcolor>
                <focusedcolor>$INFO[Window.Property(theme_primary)]</focusedcolor>
                <texturefocus colordiffuse="$INFO[Window.Property(theme_focused)]">special://home/addons/plugin.video.jet_guide/resources/skins/default/720p/media/ButtonFocus.png</texturefocus>
                <texturenofocus colordiffuse="$INFO[Window.Property(theme_button_bg)]">special://home/addons/plugin.video.jet_guide/resources/skins/default/720p/media/Background.png</texturenofocus>
                <control type="label"><posx>14</posx><posy>10</posy><width>230</width><height>26</height><font>font16</font><label>Favorites</label><textcolor>FFFFFFFF</textcolor></control>
            </control>
            <control type="button" id="199">
                <onup>105</onup>
                <ondown>108</ondown>
                <onleft>199</onleft>
                <onright>364</onright>
                <width>260</width>
                <height>45</height>
                <font>font16</font>
                <textcolor>FFFFFFFF</textcolor>
                <focusedcolor>$INFO[Window.Property(theme_primary)]</focusedcolor>
                <texturefocus colordiffuse="$INFO[Window.Property(theme_focused)]">special://home/addons/plugin.video.jet_guide/resources/skins/default/720p/media/ButtonFocus.png</texturefocus>
                <texturenofocus colordiffuse="$INFO[Window.Property(theme_button_bg)]">special://home/addons/plugin.video.jet_guide/resources/skins/default/720p/media/Background.png</texturenofocus>
                <control type="label"><posx>14</posx><posy>10</posy><width>230</width><height>26</height><font>font16</font><label>Record / Players</label><textcolor>FFFFFFFF</textcolor></control>
            </control>
            <control type="button" id="108">
                <description>Main Menu</description>
                <onup>199</onup>
                <ondown>114</ondown>
                <onleft>108</onleft>
                <onright>310</onright>
                <width>260</width>
                <height>45</height>
                <font>font16</font>
                <textcolor>FFFFFFFF</textcolor>
                <focusedcolor>$INFO[Window.Property(theme_primary)]</focusedcolor>
                <texturefocus colordiffuse="$INFO[Window.Property(theme_focused)]">special://home/addons/plugin.video.jet_guide/resources/skins/default/720p/media/ButtonFocus.png</texturefocus>
                <texturenofocus colordiffuse="$INFO[Window.Property(theme_button_bg)]">special://home/addons/plugin.video.jet_guide/resources/skins/default/720p/media/Background.png</texturenofocus>
                <control type="label"><posx>14</posx><posy>10</posy><width>230</width><height>26</height><font>font16</font><label>Main Menu</label><textcolor>FFFFFFFF</textcolor></control>
            </control>
            <control type="button" id="114">
                <onup>108</onup>
                <ondown>310</ondown>
                <onleft>114</onleft>
                <onright>310</onright>
                <width>260</width>
                <height>45</height>
                <font>font16</font>
                <textcolor>FFFFFFFF</textcolor>
                <focusedcolor>$INFO[Window.Property(theme_primary)]</focusedcolor>
                <texturefocus colordiffuse="$INFO[Window.Property(theme_focused)]">special://home/addons/plugin.video.jet_guide/resources/skins/default/720p/media/ButtonFocus.png</texturefocus>
                <texturenofocus colordiffuse="$INFO[Window.Property(theme_button_bg)]">special://home/addons/plugin.video.jet_guide/resources/skins/default/720p/media/Background.png</texturenofocus>
                <control type="label"><posx>14</posx><posy>10</posy><width>230</width><height>26</height><font>font16</font><label>Exit</label><textcolor>FFFFFFFF</textcolor></control>
            </control>
        </control>

        <!-- Contextual Preview Panel -->
        <control type="group">
            <posx>300</posx>
            <posy>125</posy>
            <control type="image">
                <posx>0</posx>
                <posy>0</posy>
                <width>960</width>
                <height>275</height>
                <texture>special://home/addons/plugin.video.jet_guide/resources/skins/default/720p/media/Background.png</texture>
                <colordiffuse>$INFO[Window.Property(theme_panel_bg)]</colordiffuse>
            </control>
            <control type="label">
                <posx>20</posx>
                <posy>14</posy>
                <width>920</width>
                <height>30</height>
                <font>font16</font>
                <label>[B]Context Preview[/B]</label>
                <textcolor>$INFO[Window.Property(theme_primary)]</textcolor>
            </control>

            <control type="group">
                <visible>String.IsEqual(Window.Property(HomePreviewContext),101) | Control.HasFocus(101) | Control.HasFocus(362)</visible>
                <control type="label"><posx>20</posx><posy>52</posy><width>900</width><height>26</height><font>font13</font><label>[B]EPG Guide[/B]</label></control>
                <control type="textbox"><posx>20</posx><posy>85</posy><width>900</width><height>70</height><font>font13</font><textcolor>FFFFFFFF</textcolor><label>Browse live channels and upcoming schedule blocks. Use left/right to move across time and up/down to change channels.</label></control>
                <control type="label"><posx>20</posx><posy>160</posy><width>900</width><height>22</height><font>font12</font><textcolor>FFFFFFFF</textcolor><label>Last Watched: move right and press OK to resume instantly.</label></control>
                <control type="fixedlist" id="362">
                    <posx>20</posx>
                    <posy>186</posy>
                    <width>900</width>
                    <height>80</height>
                    <onleft>101</onleft>
                    <onright>362</onright>
                    <onup>101</onup>
                    <ondown>310</ondown>
                    <orientation>horizontal</orientation>
                    <itemgap>12</itemgap>
                    <focusposition>2</focusposition>
                    <scrolltime>180</scrolltime>
                    <itemlayout width="110" height="72">
                        <control type="image">
                            <posx>8</posx>
                            <posy>4</posy>
                            <width>92</width>
                            <height>52</height>
                            <aspectratio>keep</aspectratio>
                            <texture>$INFO[ListItem.Icon]</texture>
                        </control>
                        <control type="label">
                            <posx>6</posx>
                            <posy>58</posy>
                            <width>96</width>
                            <height>14</height>
                            <font>font10</font>
                            <align>center</align>
                            <label>$INFO[ListItem.Label]</label>
                            <textcolor>FFFFFFFF</textcolor>
                        </control>
                    </itemlayout>
                    <focusedlayout width="110" height="72">
                        <control type="image">
                            <posx>0</posx>
                            <posy>0</posy>
                            <width>108</width>
                            <height>72</height>
                            <texture>special://home/addons/plugin.video.jet_guide/resources/skins/default/720p/media/ButtonFocus.png</texture>
                            <colordiffuse>$INFO[Window.Property(theme_focused)]</colordiffuse>
                        </control>
                        <control type="image">
                            <posx>8</posx>
                            <posy>4</posy>
                            <width>92</width>
                            <height>52</height>
                            <aspectratio>keep</aspectratio>
                            <texture>$INFO[ListItem.Icon]</texture>
                        </control>
                        <control type="label">
                            <posx>6</posx>
                            <posy>58</posy>
                            <width>96</width>
                            <height>14</height>
                            <font>font10</font>
                            <align>center</align>
                            <label>$INFO[ListItem.Label]</label>
                            <textcolor>FF000000</textcolor>
                        </control>
                    </focusedlayout>
                </control>
            </control>

            <control type="group">
                <visible>String.IsEqual(Window.Property(HomePreviewContext),102) | Control.HasFocus(102) | Control.HasFocus(361)</visible>
                <control type="label"><posx>20</posx><posy>52</posy><width>900</width><height>26</height><font>font13</font><label>[B]Sports Events[/B]</label></control>
                <control type="group">
                    <visible>!String.IsEmpty(Window.Property(SlideshowTeam1))</visible>
                    <control type="image"><posx>20</posx><posy>84</posy><width>900</width><height>96</height><texture>special://home/addons/plugin.video.jet_guide/resources/skins/default/720p/media/ButtonFocus.png</texture><colordiffuse>$INFO[Window.Property(theme_button_bg)]</colordiffuse></control>
                    <control type="label"><posx>36</posx><posy>96</posy><width>380</width><height>24</height><font>font13</font><label>[B]$INFO[Window.Property(SlideshowTeam1)][/B]</label><textcolor>FFFFFFFF</textcolor></control>
                    <control type="label"><posx>36</posx><posy>126</posy><width>380</width><height>24</height><font>font13</font><label>[B]$INFO[Window.Property(SlideshowTeam2)][/B]</label><textcolor>FFFFFFFF</textcolor></control>
                    <control type="label"><posx>430</posx><posy>96</posy><width>100</width><height>24</height><font>font13</font><label>[B]$INFO[Window.Property(SlideshowScore1)][/B]</label><textcolor>$INFO[Window.Property(theme_primary)]</textcolor></control>
                    <control type="label"><posx>430</posx><posy>126</posy><width>100</width><height>24</height><font>font13</font><label>[B]$INFO[Window.Property(SlideshowScore2)][/B]</label><textcolor>$INFO[Window.Property(theme_primary)]</textcolor></control>
                    <control type="label"><posx>540</posx><posy>96</posy><width>360</width><height>24</height><font>font12</font><label>Status: $INFO[Window.Property(SlideshowStatus)]</label><textcolor>$INFO[Window.Property(theme_primary)]</textcolor></control>
                    <control type="label"><posx>540</posx><posy>126</posy><width>360</width><height>24</height><font>font12</font><label>Network: $INFO[Window.Property(SlideshowNetwork)]</label><textcolor>$INFO[Window.Property(theme_primary)]</textcolor></control>
                </control>
                <control type="textbox"><visible>String.IsEmpty(Window.Property(SlideshowTeam1))</visible><posx>20</posx><posy>90</posy><width>900</width><height>85</height><font>font13</font><textcolor>FFFFFFFF</textcolor><label>No live games now. Move right to browse game cards and open detailed game stats.</label></control>
                <control type="label"><posx>20</posx><posy>186</posy><width>900</width><height>22</height><font>font12</font><textcolor>FFFFFFFF</textcolor><label>Move right to select a game. Press OK for matchup details and leaders.</label></control>
                <control type="fixedlist" id="361">
                    <posx>20</posx>
                    <posy>212</posy>
                    <width>900</width>
                    <height>56</height>
                    <onleft>102</onleft>
                    <onright>361</onright>
                    <onup>102</onup>
                    <ondown>310</ondown>
                    <orientation>horizontal</orientation>
                    <itemgap>10</itemgap>
                    <focusposition>2</focusposition>
                    <scrolltime>180</scrolltime>
                    <itemlayout width="210" height="52">
                        <control type="image">
                            <posx>0</posx>
                            <posy>0</posy>
                            <width>206</width>
                            <height>48</height>
                            <texture>special://home/addons/plugin.video.jet_guide/resources/skins/default/720p/media/Background.png</texture>
                            <colordiffuse>CC2A2A2A</colordiffuse>
                        </control>
                        <control type="label">
                            <posx>8</posx>
                            <posy>5</posy>
                            <width>188</width>
                            <height>20</height>
                            <font>font12</font>
                            <label>$INFO[ListItem.Label]</label>
                            <textcolor>FFFFFFFF</textcolor>
                        </control>
                        <control type="label">
                            <posx>8</posx>
                            <posy>26</posy>
                            <width>188</width>
                            <height>18</height>
                            <font>font10</font>
                            <label>$INFO[ListItem.Property(game_meta)]</label>
                            <textcolor>FFDDDDDD</textcolor>
                        </control>
                    </itemlayout>
                    <focusedlayout width="210" height="52">
                        <control type="image">
                            <posx>0</posx>
                            <posy>0</posy>
                            <width>206</width>
                            <height>48</height>
                            <texture>special://home/addons/plugin.video.jet_guide/resources/skins/default/720p/media/ButtonFocus.png</texture>
                            <colordiffuse>$INFO[Window.Property(theme_focused)]</colordiffuse>
                        </control>
                        <control type="label">
                            <posx>8</posx>
                            <posy>5</posy>
                            <width>188</width>
                            <height>20</height>
                            <font>font12</font>
                            <label>[B]$INFO[ListItem.Label][/B]</label>
                            <textcolor>FF000000</textcolor>
                        </control>
                        <control type="label">
                            <posx>8</posx>
                            <posy>26</posy>
                            <width>188</width>
                            <height>18</height>
                            <font>font10</font>
                            <label>$INFO[ListItem.Property(game_meta)]</label>
                            <textcolor>FF000000</textcolor>
                        </control>
                    </focusedlayout>
                </control>
            </control>

            <control type="group">
                <visible>String.IsEqual(Window.Property(HomePreviewContext),106) | Control.HasFocus(106) | Control.HasFocus(360)</visible>
                <control type="label"><posx>20</posx><posy>52</posy><width>900</width><height>26</height><font>font13</font><label>[B]Sports Stats / Grid[/B]</label></control>
                <control type="label"><posx>20</posx><posy>88</posy><width>900</width><height>22</height><font>font12</font><textcolor>FFFFFFFF</textcolor><label>Move right to pick a league, then press OK to open that sport's stats grid.</label></control>
                <control type="fixedlist" id="360">
                    <posx>20</posx>
                    <posy>118</posy>
                    <width>900</width>
                    <height>118</height>
                    <onleft>106</onleft>
                    <onright>360</onright>
                    <onup>106</onup>
                    <ondown>310</ondown>
                    <orientation>horizontal</orientation>
                    <itemgap>14</itemgap>
                    <focusposition>2</focusposition>
                    <scrolltime>180</scrolltime>
                    <itemlayout width="130" height="96">
                        <control type="image">
                            <posx>0</posx>
                            <posy>0</posy>
                            <width>124</width>
                            <height>88</height>
                            <texture>special://home/addons/plugin.video.jet_guide/resources/skins/default/720p/media/Background.png</texture>
                            <colordiffuse>CC2A2A2A</colordiffuse>
                        </control>
                        <control type="label">
                            <posx>8</posx>
                            <posy>32</posy>
                            <width>108</width>
                            <height>24</height>
                            <font>font12</font>
                            <align>center</align>
                            <label>$INFO[ListItem.Label]</label>
                            <textcolor>FFFFFFFF</textcolor>
                        </control>
                    </itemlayout>
                    <focusedlayout width="130" height="96">
                        <control type="image">
                            <posx>0</posx>
                            <posy>0</posy>
                            <width>124</width>
                            <height>88</height>
                            <texture>special://home/addons/plugin.video.jet_guide/resources/skins/default/720p/media/ButtonFocus.png</texture>
                            <colordiffuse>$INFO[Window.Property(theme_focused)]</colordiffuse>
                        </control>
                        <control type="label">
                            <posx>8</posx>
                            <posy>32</posy>
                            <width>108</width>
                            <height>24</height>
                            <font>font12</font>
                            <align>center</align>
                            <label>[B]$INFO[ListItem.Label][/B]</label>
                            <textcolor>FF000000</textcolor>
                        </control>
                    </focusedlayout>
                </control>
            </control>

            <control type="group">
                <visible>String.IsEqual(Window.Property(HomePreviewContext),150) | Control.HasFocus(150) | Control.HasFocus(363)</visible>
                <control type="label"><posx>20</posx><posy>52</posy><width>900</width><height>26</height><font>font13</font><label>[B]Tools[/B]</label></control>
                <control type="textbox"><posx>20</posx><posy>90</posy><width>900</width><height>58</height><font>font13</font><textcolor>FFFFFFFF</textcolor><label>Open settings, cache tools, widgets manager, reminders, custom groups, and utility actions.</label></control>
                <control type="label"><posx>20</posx><posy>154</posy><width>900</width><height>22</height><font>font12</font><textcolor>FFFFFFFF</textcolor><label>Move right to pick a Tools action. Press OK to run it.</label></control>
                <control type="fixedlist" id="363">
                    <posx>20</posx>
                    <posy>182</posy>
                    <width>900</width>
                    <height>82</height>
                    <onleft>150</onleft>
                    <onright>363</onright>
                    <onup>150</onup>
                    <ondown>310</ondown>
                    <orientation>horizontal</orientation>
                    <itemgap>10</itemgap>
                    <focusposition>2</focusposition>
                    <scrolltime>180</scrolltime>
                    <itemlayout width="170" height="72">
                        <control type="image">
                            <posx>0</posx>
                            <posy>0</posy>
                            <width>164</width>
                            <height>66</height>
                            <texture>special://home/addons/plugin.video.jet_guide/resources/skins/default/720p/media/Background.png</texture>
                            <colordiffuse>CC2A2A2A</colordiffuse>
                        </control>
                        <control type="label">
                            <posx>8</posx>
                            <posy>22</posy>
                            <width>148</width>
                            <height>22</height>
                            <font>font12</font>
                            <align>center</align>
                            <label>$INFO[ListItem.Label]</label>
                            <textcolor>FFFFFFFF</textcolor>
                        </control>
                    </itemlayout>
                    <focusedlayout width="170" height="72">
                        <control type="image">
                            <posx>0</posx>
                            <posy>0</posy>
                            <width>164</width>
                            <height>66</height>
                            <texture>special://home/addons/plugin.video.jet_guide/resources/skins/default/720p/media/ButtonFocus.png</texture>
                            <colordiffuse>$INFO[Window.Property(theme_focused)]</colordiffuse>
                        </control>
                        <control type="label">
                            <posx>8</posx>
                            <posy>22</posy>
                            <width>148</width>
                            <height>22</height>
                            <font>font12</font>
                            <align>center</align>
                            <label>[B]$INFO[ListItem.Label][/B]</label>
                            <textcolor>FF000000</textcolor>
                        </control>
                    </focusedlayout>
                </control>
            </control>

            <control type="group">
                <visible>String.IsEqual(Window.Property(HomePreviewContext),104) | Control.HasFocus(104)</visible>
                <control type="label"><posx>20</posx><posy>52</posy><width>900</width><height>26</height><font>font13</font><label>[B]Search[/B]</label></control>
                <control type="textbox"><posx>20</posx><posy>90</posy><width>900</width><height>150</height><font>font13</font><textcolor>FFFFFFFF</textcolor><label>Search channels, shows, and events across configured guides.</label></control>
            </control>

            <control type="group">
                <visible>String.IsEqual(Window.Property(HomePreviewContext),105) | Control.HasFocus(105)</visible>
                <control type="label"><posx>20</posx><posy>52</posy><width>900</width><height>26</height><font>font13</font><label>[B]Favorites[/B]</label></control>
                <control type="textbox"><posx>20</posx><posy>90</posy><width>900</width><height>150</height><font>font13</font><textcolor>FFFFFFFF</textcolor><label>Open saved channels and quickly jump to preferred content.</label></control>
            </control>

            <control type="group">
                <visible>String.IsEqual(Window.Property(HomePreviewContext),199) | Control.HasFocus(199) | Control.HasFocus(364)</visible>
                <control type="label"><posx>20</posx><posy>52</posy><width>900</width><height>26</height><font>font13</font><label>[B]Record / External Players[/B]</label></control>
                <control type="textbox"><posx>20</posx><posy>90</posy><width>900</width><height>58</height><font>font13</font><textcolor>FFFFFFFF</textcolor><label>Quick actions: mpv, record, multi-stream, VLC, MPC-HC, Android player.</label></control>
                <control type="textbox"><posx>20</posx><posy>115</posy><width>900</width><height>58</height><font>font12</font><textcolor>FFFFFFFF</textcolor><label>Works best with Windows (PC) But external players can be used on other platforms with no recording option or multi-stream support.</label></control>
                <control type="label"><posx>20</posx><posy>160</posy><width>900</width><height>22</height><font>font12</font><textcolor>FFFFFFFF</textcolor><label>Move right to pick an action. Press OK to run it.</label></control>
                <control type="fixedlist" id="364">
                    <posx>20</posx>
                    <posy>182</posy>
                    <width>900</width>
                    <height>82</height>
                    <onleft>199</onleft>
                    <onright>364</onright>
                    <onup>199</onup>
                    <ondown>310</ondown>
                    <orientation>horizontal</orientation>
                    <itemgap>10</itemgap>
                    <focusposition>2</focusposition>
                    <scrolltime>180</scrolltime>
                    <itemlayout width="170" height="72">
                        <control type="image">
                            <posx>0</posx>
                            <posy>0</posy>
                            <width>164</width>
                            <height>66</height>
                            <texture>special://home/addons/plugin.video.jet_guide/resources/skins/default/720p/media/Background.png</texture>
                            <colordiffuse>CC2A2A2A</colordiffuse>
                        </control>
                        <control type="label">
                            <posx>8</posx>
                            <posy>22</posy>
                            <width>148</width>
                            <height>22</height>
                            <font>font12</font>
                            <align>center</align>
                            <label>$INFO[ListItem.Label]</label>
                            <textcolor>FFFFFFFF</textcolor>
                        </control>
                    </itemlayout>
                    <focusedlayout width="170" height="72">
                        <control type="image">
                            <posx>0</posx>
                            <posy>0</posy>
                            <width>164</width>
                            <height>66</height>
                            <texture>special://home/addons/plugin.video.jet_guide/resources/skins/default/720p/media/ButtonFocus.png</texture>
                            <colordiffuse>$INFO[Window.Property(theme_focused)]</colordiffuse>
                        </control>
                        <control type="label">
                            <posx>8</posx>
                            <posy>22</posy>
                            <width>148</width>
                            <height>22</height>
                            <font>font12</font>
                            <align>center</align>
                            <label>[B]$INFO[ListItem.Label][/B]</label>
                            <textcolor>FF000000</textcolor>
                        </control>
                    </focusedlayout>
                </control>
            </control>

            <control type="group">
                <visible>String.IsEqual(Window.Property(HomePreviewContext),108) | Control.HasFocus(108)</visible>
                <control type="label"><posx>20</posx><posy>52</posy><width>900</width><height>26</height><font>font13</font><label>[B]Main Menu[/B]</label></control>
                <control type="textbox"><posx>20</posx><posy>90</posy><width>900</width><height>150</height><font>font13</font><textcolor>FFFFFFFF</textcolor><label>Testing, old setup. Not all options in this selection</label></control>
            </control>

            <control type="group">
                <visible>String.IsEqual(Window.Property(HomePreviewContext),114) | Control.HasFocus(114)</visible>
                <control type="label"><posx>20</posx><posy>52</posy><width>900</width><height>26</height><font>font13</font><label>[B]Exit[/B]</label></control>
                <control type="textbox"><posx>20</posx><posy>90</posy><width>900</width><height>150</height><font>font13</font><textcolor>FFFFFFFF</textcolor><label>Exit this home screen window and return to the previous Kodi screen.</label></control>
            </control>
        </control>

        <!-- <control type="button" id="960">
            <onup>108</onup>
            <ondown>200</ondown>
            <onleft>112</onleft>
            <onright>111</onright>
            <width>180</width>
            <height>85</height>
            <label>YouTube Genre Channels</label>
            <font>font13</font>
            <textcolor>FFFFFFFF</textcolor>
            <texturefocus>special://home/addons/plugin.video.jet_guide/resources/skins/default/720p/media/red.png</texturefocus>
                <onup>108</onup>
                <ondown>200</ondown>
                <onleft>112</onleft>
                <onright>111</onright>
                <width>180</width>
                <height>85</height>
                <label>YouTube Genre Channels</label>
                <font>font13</font>
                <textcolor>FFFFFFFF</textcolor>
                <texturefocus>special://home/addons/plugin.video.jet_guide/resources/skins/default/720p/media/red.png</texturefocus>
                <texturenofocus>special://home/addons/plugin.video.jet_guide/resources/skins/default/720p/media/color_tiles/red.png</texturenofocus>
                <animation effect="Zoom" start="100,100" end="110,110" time="200" condition="Control.HasFocus(960)">Conditional</animation>
                <animation effect="fade" start="80" end="100" time="200" condition="Control.HasFocus(960)">Conditional</animation>
                <animation effect="slide" start="0,-100" end="0,0" time="600" delay="500" tween="cubic" easing="out">WindowOpen</animation>
                <animation effect="fade" start="0" end="100" time="600" delay="500">WindowOpen</animation>
            </control> -->
        <!-- </control> -->
    

        
        
        
        <!-- Widget Controls (single control with settings-based layout) -->
        <control type="fixedlist" id="310">
            <posx>300</posx>
            <posy>420</posy>
            <onup>101</onup>
            <ondown>311</ondown>
            <width>950</width>
            <height>300</height>
            <orientation>horizontal</orientation>
            <wrapmultiline>true</wrapmultiline>
            <itemgap>100</itemgap>
            <autoscroll time="3000" delay="1000" repeat="5000"/>
            <focusposition>2</focusposition>
            <zorder>100</zorder>
            <visible>true</visible>
            <content>
            </content>
            <itemlayout height="65" width="200">
                <control type="image">
                    <posx>0</posx>
                    <posy>0</posy>
                    <width>130</width>
                    <height>130</height>
                    <texture>$INFO[ListItem.Icon]</texture>
                </control>
            </itemlayout>
            <focusedlayout height="200" width="200">
                <control type="image">
                    <visible>Control.HasFocus(310)</visible>
                    <posx>-30</posx>
                    <posy>-85</posy>
                    <width>200</width>
                    <height>280</height>
                    <texture>special://home/addons/plugin.video.jet_guide/resources/skins/default/720p/media/ButtonFocus.png</texture>
                    <colordiffuse>white</colordiffuse>
                </control>
                <control type="image">
                    <posx>0</posx>
                    <posy>0</posy>
                    <width>130</width>
                    <height>130</height>
                    <texture>$INFO[ListItem.Icon]</texture>
                    <animation effect="Zoom" start="100,100" end="110,110" time="200" condition="Control.HasFocus(310)">Conditional</animation>
                    <description>Picture-in-Picture Preview</description>
                </control>
                <control type="label">
                    <posx>894</posx>
                    <posy>24</posy>
                    <width>180</width>
                    <height>80</height>
                    <font>font13</font>
                    <align>left</align>
                    <label>Tap to Restore</label>
                    <scroll>true</scroll>
                </control>
            </focusedlayout>
        </control>
        
        <control type="fixedlist" id="311">
            <posx>300</posx>
            <posy>520</posy>
            <onup>310</onup>
            <ondown>200</ondown>
            <width>950</width>
            <height>300</height>
            <orientation>horizontal</orientation>
            <wrapmultiline>true</wrapmultiline>
            <itemgap>100</itemgap>
            <autoscroll time="3000" delay="1000" repeat="5000"/>
            <focusposition>2</focusposition>
            <zorder>100</zorder>
            <visible>true</visible>
            <content>
            </content>
            <itemlayout height="65" width="200">
                <control type="image">
                    <posx>0</posx>
                    <posy>0</posy>
                    <width>130</width>
                    <height>130</height>
                    <texture>$INFO[ListItem.Icon]</texture>
                </control>
                <control type="label">
                    <posx>-25</posx>
                    <posy>135</posy>
                    <width>185</width>
                    <height>50</height>
                    <font>font13</font>
                    <align>left</align>
                    <label>$INFO[ListItem.Label]</label>
                </control>
            </itemlayout>
            <focusedlayout height="65" width="200">
                <control type="image">
                    <visible>Control.HasFocus(311)</visible>
                    <posx>-25</posx>
                    <posy>-85</posy>
                    <width>200</width>
                    <height>280</height>
                    <texture>special://home/addons/plugin.video.jet_guide/resources/skins/default/720p/media/ButtonFocus.png</texture>
                    <colordiffuse>white</colordiffuse>
                </control>
                <control type="image">
                    <posx>0</posx>
                    <posy>0</posy>
                    <width>130</width>
                    <height>130</height>
                    <texture>$INFO[ListItem.Icon]</texture>
                </control>
                <control type="label">
                    <posx>-25</posx>
                    <posy>135</posy>
                    <width>185</width>
                    <height>50</height>
                    <font>font13</font>
                    <align>left</align>
                    <label>$INFO[ListItem.Label]</label>
                    <scroll>true</scroll>
                    <focusedcolor>black</focusedcolor>
                </control>
            </focusedlayout>
        </control>

        <!-- Last Watched Header with background -->
        <control type="image">
            <posx>300</posx>
            <posy>600</posy>
            <width>950</width>
            <height>40</height>
            <texture>special://home/addons/plugin.video.jet_guide/resources/skins/default/720p/media/Background.png</texture>
            <colordiffuse>$INFO[Window.Property(theme_header_bg)]</colordiffuse>
            <visible>false</visible>
        </control>

        <!-- Picture-in-Picture Preview Button (center top) -->
        <control type="button" id="130">
            <description>Picture-in-Picture Preview</description>
            <enable>yes</enable>
            <posx>893</posx>
            <posy>17</posy>
            <width>180</width>
            <height>80</height>
            <font>font13</font>
            <wrapmultiline>true</wrapmultiline>
            <label>Tap to Restore</label>
            <textcolor>white</textcolor>
            <focusedcolor>$INFO[Window.Property(theme_focused)]</focusedcolor>
            <texturefocus>special://home/addons/plugin.video.jet_guide/resources/skins/default/720p/media/ButtonFocus.png</texturefocus>
            <texturenofocus colordiffuse="$INFO[Window.Property(theme_button_bg)]">special://home/addons/plugin.video.jet_guide/resources/skins/default/720p/media/Background.png</texturenofocus>
            <colordiffuse>$INFO[Window.Property(theme_panel_bg)]</colordiffuse>
            <visible>Player.HasMedia</visible>
            <onclick>130</onclick>
            <onup>101</onup>
            <ondown>101</ondown>
            <onleft>108</onleft>
            <onright>114</onright>
        </control>
        
        
        <control type="label">
            <posx>320</posx>
            <posy>605</posy>
            <width>900</width>
            <height>30</height>
            <font>font16</font>
            <align>left</align>
            <aligny>center</aligny>
            <textcolor>$INFO[Window.Property(theme_primary)]</textcolor>
            <label>[B]Last Watched Channels[/B]</label>
            <visible>false</visible>
        </control>

        <!-- Last Watched Channels -->
        <control type="fixedlist" id="200">
            <posx>320</posx>
            <posy>598</posy>
            <width>900</width>
            <height>120</height>
            <onup>311</onup>
            <ondown>101</ondown>
            <onleft>200</onleft>
            <onright>200</onright>
            <visible>false</visible>
            <orientation>horizontal</orientation>
            <scrolltime>200</scrolltime>
            <preloaditems>2</preloaditems>
            <focusposition>1</focusposition>
            <movement>1</movement>
            <itemlayout width="150" height="150">
                <control type="image">
                    <posx>5</posx>
                    <posy>35</posy>
                    <width>100</width>
                    <height>100</height>
                    <aspectratio>keep</aspectratio>
                    <texture>$INFO[ListItem.Icon]</texture>
                </control>
            </itemlayout>
            <focusedlayout width="150" height="150">
                <control type="group">
                    <!-- Enhanced focus background -->
                    <control type="image">
                        <visible>Control.HasFocus(200)</visible>
                        <posx>-5</posx>
                        <posy>30</posy>
                        <width>160</width>
                        <height>120</height>
                        <texture>special://home/addons/plugin.video.jet_guide/resources/skins/default/720p/media/ButtonFocus.png</texture>
                        <!-- <colordiffuse>80FFD700</colordiffuse> -->
                        <colordiffuse>white</colordiffuse>
                        <animation effect="fade" start="70" end="100" time="200" condition="Control.HasFocus(200)">Conditional</animation>
                        <animation effect="slide" start="0,-100" end="0,0" time="600" delay="300" tween="cubic" easing="out">WindowOpen</animation>
                        <animation effect="fade" start="0" end="100" time="600" delay="300">WindowOpen</animation>
                    </control>
                    
                    <!-- Channel logo -->
                    <control type="image">
                        <posx>5</posx>
                        <posy>35</posy>
                        <width>140</width>
                        <height>100</height>
                        <aspectratio>keep</aspectratio>
                        <texture>$INFO[ListItem.Icon]</texture>
                        <animation effect="Zoom" start="100,100" end="105,105" time="200" condition="Control.HasFocus(200)">Conditional</animation>
                        <animation effect="slide" start="0,-100" end="0,0" time="600" delay="300" tween="cubic" easing="out">WindowOpen</animation>
                        <animation effect="fade" start="0" end="100" time="600" delay="300">WindowOpen</animation>
                    </control>
                    <control type="image">
                        <posx>5</posx>
                        <posy>35</posy>
                        <width>140</width>
                        <height>100</height>
                        <aspectratio>keep</aspectratio>
                        <texture>$INFO[ListItem.Label]</texture>
                        <animation effect="Zoom" start="100,100" end="105,105" time="200" condition="Control.HasFocus(200)">Conditional</animation>
                        <animation effect="slide" start="0,-100" end="0,0" time="600" delay="300" tween="cubic" easing="out">WindowOpen</animation>
                        <animation effect="fade" start="0" end="100" time="600" delay="300">WindowOpen</animation>
                    </control>
                    
                    <!-- Glowing border when focused -->
                    <control type="image">
                        <visible>Control.HasFocus(200)</visible>
                        <posx>0</posx>
                        <posy>30</posy>
                        <width>150</width>
                        <height>110</height>
                        <texture>special://home/addons/plugin.video.jet_guide/resources/skins/default/720p/media/ButtonFocus.png</texture>
                        <animation effect="slide" start="0,-100" end="0,0" time="600" delay="300" tween="cubic" easing="out">WindowOpen</animation>
                        <animation effect="fade" start="0" end="100" time="600" delay="300">WindowOpen</animation>
                        <!-- <colordiffuse>40FFD700</colordiffuse> -->
                        <colordiffuse>40white</colordiffuse>
                    </control>
                </control>
            </focusedlayout>
        </control>
        
        
    </controls>
</window>
