<?xml version="1.0" encoding="UTF-8"?>
<!-- Milionář: the rounded modal game panel (the one from the MyTV dialog) as a standalone dialog.
     Controls and properties are the same as the game panel in ai/DialogMyTV_appletv.xml (driven by
     wcs/games/MillionaireMyTVAdapter.py): an addon window cannot share XML with another one, so a change to the panel
     there has to be made here too. Difference: an answer that 50:50 removed is disabled, so the focus skips it. -->
<window type="dialog">
    <defaultcontrol always="true">9514</defaultcontrol>
    <animation effect="fade" start="0" end="100" time="250" tween="cubic" easing="out">WindowOpen</animation>
    <animation effect="fade" start="100" end="0" time="200" tween="cubic" easing="in">WindowClose</animation>
    <controls>
        <!-- Dim overlay -->
        <control type="image">
            <left>0</left><top>0</top><width>1920</width><height>1080</height>
            <texture colordiffuse="85000000">special://home/addons/plugin.video.milionar/resources/media/white.png</texture>
        </control>

        <!-- Game panel -->
        <control type="group">
            <animation effect="zoom" start="90" end="100" center="auto" time="300" tween="cubic" easing="out">WindowOpen</animation>
            <animation effect="zoom" start="100" end="90" center="auto" time="250" tween="cubic" easing="in">WindowClose</animation>
            <control type="group">
                <left>160</left>
                <top>115</top>
                <width>1600</width>
                <height>850</height>

                <!-- Panel background -->
                <control type="image">
                    <left>0</left><top>0</top><width>1600</width><height>850</height>
                    <texture border="34">special://home/addons/plugin.video.milionar/resources/media/dialog_rounded_large.png</texture>
                    <colordiffuse>F01A1A1A</colordiffuse>
                </control>

                <!-- ======= POSTER (left) ======= -->
                <control type="image">
                    <left>20</left>
                    <top>20</top>
                    <width>280</width>
                    <height>580</height>
                    <texture fallback="special://home/addons/plugin.video.milionar/resources/media/fanart_fallback.jpg" diffuse="special://home/addons/plugin.video.milionar/resources/media/game_poster_mask.png">$INFO[Window.Property(WCS.Game.Poster)]</texture>
                    <aspectratio scalediffuse="false">scale</aspectratio>
                </control>

                <!-- Logo overlay on poster (bottom) -->
                <control type="image">
                    <left>30</left>
                    <top>490</top>
                    <width>260</width>
                    <height>90</height>
                    <texture>$INFO[Window.Property(WCS.Game.Logo)]</texture>
                    <aspectratio aligny="bottom">keep</aspectratio>
                    <visible>!String.IsEmpty(Window.Property(WCS.Game.Logo))</visible>
                </control>

                <!-- Series name fallback (when no logo) -->
                <control type="label">
                    <left>30</left>
                    <top>530</top>
                    <width>260</width>
                    <height>60</height>
                    <font>font27</font>
                    <label>$INFO[Window.Property(WCS.Game.SeriesName)]</label>
                    <textcolor>white</textcolor>
                    <shadowcolor>black</shadowcolor>
                    <visible>String.IsEmpty(Window.Property(WCS.Game.Logo))</visible>
                </control>

                <!-- ======= LIFELINES HEADER (right-aligned, overflows left above content) ======= -->
                <control type="group">
                    <left>700</left>
                    <top>18</top>
                    <width>880</width>
                    <height>65</height>

                    <visible>String.IsEqual(Window.Property(WCS.Game.ShowAnswers),true)</visible>
                    <animation effect="fade" start="0" end="100" time="300">Visible</animation>
                    <animation effect="fade" start="100" end="0" time="200">Hidden</animation>

                    <!-- 50:50 button -->
                    <control type="button" id="9510">
                        <left>480</left>
                        <top>0</top>
                        <width>120</width>
                        <height>65</height>
                        <font>font14_bold</font>
                        <label>50:50</label>
                        <align>center</align><aligny>center</aligny>
                        <onup>noop</onup>
                        <ondown>9500</ondown>
                        <onleft>noop</onleft>
                        <onright>9511</onright>
                        <texturefocus border="32" colordiffuse="90FFFFFF">special://home/addons/plugin.video.milionar/resources/media/btn_rounded_dialog.png</texturefocus>
                        <texturenofocus border="32" colordiffuse="40FFFFFF">special://home/addons/plugin.video.milionar/resources/media/btn_rounded_dialog.png</texturenofocus>
                        <textcolor>AAFFFFFF</textcolor>
                        <focusedcolor>FFFFFFFF</focusedcolor>
                        <animation effect="zoom" start="100" end="108" center="auto" time="150">Focus</animation>
                        <animation effect="zoom" start="108" end="100" center="auto" time="150">UnFocus</animation>
                        <enable>String.IsEmpty(Window.Property(WCS.Game.Lifeline5050))</enable>
                    </control>

                    <!-- Tip button -->
                    <control type="button" id="9511">
                        <left>620</left>
                        <top>0</top>
                        <width>120</width>
                        <height>65</height>
                        <font>font14_bold</font>
                        <label>Tip</label>
                        <align>center</align><aligny>center</aligny>
                        <onup>noop</onup>
                        <ondown>9501</ondown>
                        <onleft>9510</onleft>
                        <onright>9512</onright>
                        <texturefocus border="32" colordiffuse="90FFFFFF">special://home/addons/plugin.video.milionar/resources/media/btn_rounded_dialog.png</texturefocus>
                        <texturenofocus border="32" colordiffuse="40FFFFFF">special://home/addons/plugin.video.milionar/resources/media/btn_rounded_dialog.png</texturenofocus>
                        <textcolor>AAFFFFFF</textcolor>
                        <focusedcolor>FFFFFFFF</focusedcolor>
                        <animation effect="zoom" start="100" end="108" center="auto" time="150">Focus</animation>
                        <animation effect="zoom" start="108" end="100" center="auto" time="150">UnFocus</animation>
                        <enable>String.IsEmpty(Window.Property(WCS.Game.LifelineTip))</enable>
                    </control>

                    <!-- Audience poll button -->
                    <control type="button" id="9512">
                        <left>760</left>
                        <top>0</top>
                        <width>120</width>
                        <height>65</height>
                        <font>font14_bold</font>
                        <label>Diváci</label>
                        <align>center</align><aligny>center</aligny>
                        <onup>noop</onup>
                        <ondown>9501</ondown>
                        <onleft>9511</onleft>
                        <onright>noop</onright>
                        <texturefocus border="32" colordiffuse="90FFFFFF">special://home/addons/plugin.video.milionar/resources/media/btn_rounded_dialog.png</texturefocus>
                        <texturenofocus border="32" colordiffuse="40FFFFFF">special://home/addons/plugin.video.milionar/resources/media/btn_rounded_dialog.png</texturenofocus>
                        <textcolor>AAFFFFFF</textcolor>
                        <focusedcolor>FFFFFFFF</focusedcolor>
                        <animation effect="zoom" start="100" end="108" center="auto" time="150">Focus</animation>
                        <animation effect="zoom" start="108" end="100" center="auto" time="150">UnFocus</animation>
                        <enable>String.IsEmpty(Window.Property(WCS.Game.LifelineAudience))</enable>
                    </control>
                </control>

                <!-- ======= ZEBRICEK / LADDER (right side) ======= -->
                <control type="group">
                    <left>1300</left>
                    <top>95</top>
                    <width>280</width>
                    <height>505</height>

                    <!-- Ladder background: rounded, semi-transparent -->
                    <control type="image">
                        <left>0</left><top>0</top><width>280</width><height>505</height>
                        <texture border="35" colordiffuse="20FFFFFF">special://home/addons/plugin.video.milionar/resources/media/game_ladder_bg.png</texture>
                    </control>

                    <!-- Ladder title -->
                    <control type="label">
                        <left>10</left><top>5</top><width>260</width><height>30</height>
                        <font>font10</font><label>ŽEBŘÍČEK</label>
                        <textcolor>50FFFFFF</textcolor><align>center</align><aligny>center</aligny>
                    </control>

                    <!-- Ladder rows: pill 260x48, gap=3, step=51. Title ends ~35. -->
                    <!-- L9=40, L8=91, L7=142, L6=193, L5=244, L4=295, L3=346, L2=397, L1=448 -->

                    <!-- Level 1: 1 000 Kc -->
                    <control type="image" id="9541">
                        <left>10</left><top>448</top><width>260</width><height>48</height>
                        <texture colordiffuse="$INFO[Window.Property(WCS.Game.Ladder.1)]">special://home/addons/plugin.video.milionar/resources/media/game_ladder_pill.png</texture>
                    </control>
                    <control type="label">
                        <left>10</left><top>448</top><width>260</width><height>48</height>
                        <font>font12</font><label>1 000 Kč</label>
                        <textcolor>$INFO[Window.Property(WCS.Game.Ladder.1.Color)]</textcolor>
                        <align>right</align><aligny>center</aligny><textoffsetx>15</textoffsetx>
                    </control>

                    <!-- Level 2: 2 000 Kc -->
                    <control type="image" id="9542">
                        <left>10</left><top>397</top><width>260</width><height>48</height>
                        <texture colordiffuse="$INFO[Window.Property(WCS.Game.Ladder.2)]">special://home/addons/plugin.video.milionar/resources/media/game_ladder_pill.png</texture>
                    </control>
                    <control type="label">
                        <left>10</left><top>397</top><width>260</width><height>48</height>
                        <font>font12</font><label>2 000 Kč</label>
                        <textcolor>$INFO[Window.Property(WCS.Game.Ladder.2.Color)]</textcolor>
                        <align>right</align><aligny>center</aligny><textoffsetx>15</textoffsetx>
                    </control>

                    <!-- Level 3: 5 000 Kc (milestone - easy complete) -->
                    <control type="image" id="9543">
                        <left>10</left><top>346</top><width>260</width><height>48</height>
                        <texture colordiffuse="$INFO[Window.Property(WCS.Game.Ladder.3)]">special://home/addons/plugin.video.milionar/resources/media/game_ladder_pill.png</texture>
                    </control>
                    <control type="label">
                        <left>10</left><top>346</top><width>260</width><height>48</height>
                        <font>font25_title</font><label>5 000 Kč</label>
                        <textcolor>$INFO[Window.Property(WCS.Game.Ladder.3.Color)]</textcolor>
                        <align>right</align><aligny>center</aligny><textoffsetx>15</textoffsetx>
                    </control>

                    <!-- Level 4: 10 000 Kc -->
                    <control type="image" id="9544">
                        <left>10</left><top>295</top><width>260</width><height>48</height>
                        <texture colordiffuse="$INFO[Window.Property(WCS.Game.Ladder.4)]">special://home/addons/plugin.video.milionar/resources/media/game_ladder_pill.png</texture>
                    </control>
                    <control type="label">
                        <left>10</left><top>295</top><width>260</width><height>48</height>
                        <font>font12</font><label>10 000 Kč</label>
                        <textcolor>$INFO[Window.Property(WCS.Game.Ladder.4.Color)]</textcolor>
                        <align>right</align><aligny>center</aligny><textoffsetx>15</textoffsetx>
                    </control>

                    <!-- Level 5: 20 000 Kc -->
                    <control type="image" id="9545">
                        <left>10</left><top>244</top><width>260</width><height>48</height>
                        <texture colordiffuse="$INFO[Window.Property(WCS.Game.Ladder.5)]">special://home/addons/plugin.video.milionar/resources/media/game_ladder_pill.png</texture>
                    </control>
                    <control type="label">
                        <left>10</left><top>244</top><width>260</width><height>48</height>
                        <font>font12</font><label>20 000 Kč</label>
                        <textcolor>$INFO[Window.Property(WCS.Game.Ladder.5.Color)]</textcolor>
                        <align>right</align><aligny>center</aligny><textoffsetx>15</textoffsetx>
                    </control>

                    <!-- Level 6: 50 000 Kc (milestone - medium complete) -->
                    <control type="image" id="9546">
                        <left>10</left><top>193</top><width>260</width><height>48</height>
                        <texture colordiffuse="$INFO[Window.Property(WCS.Game.Ladder.6)]">special://home/addons/plugin.video.milionar/resources/media/game_ladder_pill.png</texture>
                    </control>
                    <control type="label">
                        <left>10</left><top>193</top><width>260</width><height>48</height>
                        <font>font25_title</font><label>50 000 Kč</label>
                        <textcolor>$INFO[Window.Property(WCS.Game.Ladder.6.Color)]</textcolor>
                        <align>right</align><aligny>center</aligny><textoffsetx>15</textoffsetx>
                    </control>

                    <!-- Level 7: 100 000 Kc -->
                    <control type="image" id="9547">
                        <left>10</left><top>142</top><width>260</width><height>48</height>
                        <texture colordiffuse="$INFO[Window.Property(WCS.Game.Ladder.7)]">special://home/addons/plugin.video.milionar/resources/media/game_ladder_pill.png</texture>
                    </control>
                    <control type="label">
                        <left>10</left><top>142</top><width>260</width><height>48</height>
                        <font>font12</font><label>100 000 Kč</label>
                        <textcolor>$INFO[Window.Property(WCS.Game.Ladder.7.Color)]</textcolor>
                        <align>right</align><aligny>center</aligny><textoffsetx>15</textoffsetx>
                    </control>

                    <!-- Level 8: 500 000 Kc -->
                    <control type="image" id="9548">
                        <left>10</left><top>91</top><width>260</width><height>48</height>
                        <texture colordiffuse="$INFO[Window.Property(WCS.Game.Ladder.8)]">special://home/addons/plugin.video.milionar/resources/media/game_ladder_pill.png</texture>
                    </control>
                    <control type="label">
                        <left>10</left><top>91</top><width>260</width><height>48</height>
                        <font>font12</font><label>500 000 Kč</label>
                        <textcolor>$INFO[Window.Property(WCS.Game.Ladder.8.Color)]</textcolor>
                        <align>right</align><aligny>center</aligny><textoffsetx>15</textoffsetx>
                    </control>

                    <!-- Level 9: 1 000 000 Kc (top - jackpot) -->
                    <control type="image" id="9549">
                        <left>10</left><top>40</top><width>260</width><height>48</height>
                        <texture colordiffuse="$INFO[Window.Property(WCS.Game.Ladder.9)]">special://home/addons/plugin.video.milionar/resources/media/game_ladder_pill.png</texture>
                    </control>
                    <control type="label">
                        <left>10</left><top>40</top><width>260</width><height>48</height>
                        <font>font25_title</font><label>1 000 000 Kč</label>
                        <textcolor>$INFO[Window.Property(WCS.Game.Ladder.9.Color)]</textcolor>
                        <align>right</align><aligny>center</aligny><textoffsetx>15</textoffsetx>
                    </control>
                </control>

                <!-- ======= MAIN CONTENT AREA (center) ======= -->
                <control type="group">
                    <left>320</left>
                    <top>20</top>
                    <width>960</width>
                    <height>580</height>

                    <!-- Game title (same font as Series Detail title) -->
                    <control type="label">
                        <left>0</left>
                        <top>0</top>
                        <width>960</width>
                        <height>55</height>
                        <font>font45</font>
                        <label>$INFO[Window.Property(WCS.Game.Title)]</label>
                        <textcolor>white</textcolor>
                    </control>

                    <!-- Game text (moderator texts, feedback, explanations) -->
                    <control type="textbox" id="9521">
                        <left>0</left>
                        <top>70</top>
                        <width>960</width>
                        <height>510</height>
                        <font>font13</font>
                        <label>$INFO[Window.Property(WCS.Game.Text)]</label>
                        <textcolor>EEFFFFFF</textcolor>
                        <autoscroll delay="5000" time="2000" repeat="5000">true</autoscroll>
                    </control>
                </control>

                <!-- ======= FOOTER: QUESTION + ANSWERS (full width) ======= -->
                <!-- State: Playing - show question + 2x2 answer grid -->
                <control type="group">
                    <visible>String.IsEqual(Window.Property(WCS.Game.ShowAnswers),true)</visible>
                    <animation effect="fade" start="0" end="100" time="300">Visible</animation>
                    <animation effect="fade" start="100" end="0" time="200">Hidden</animation>

                    <!-- Question text -->
                    <control type="label" id="9520">
                        <left>20</left>
                        <top>600</top>
                        <width>1560</width>
                        <height>55</height>
                        <font>font14_bold</font>
                        <label>$INFO[Window.Property(WCS.Game.Question)]</label>
                        <textcolor>FFFFFFFF</textcolor>
                        <align>center</align>
                        <aligny>center</aligny>
                        <scroll>true</scroll>
                        <scrollspeed>40</scrollspeed>
                    </control>

                    <!-- Answer A (top-left) -->
                    <control type="button" id="9500">
                        <left>20</left>
                        <top>665</top>
                        <width>760</width>
                        <height>65</height>
                        <font>font14_bold</font>
                        <label>$INFO[Window.Property(WCS.Game.AnswerA)]</label>
                        <align>left</align><aligny>center</aligny>
                        <textoffsetx>25</textoffsetx>
                        <onup>9510</onup>
                        <ondown>9502</ondown>
                        <onleft>noop</onleft>
                        <onright>9501</onright>
                        <texturefocus border="32" colordiffuse="$INFO[Window.Property(WCS.Game.AnswerA.FocusColor)]">special://home/addons/plugin.video.milionar/resources/media/btn_rounded_dialog.png</texturefocus>
                        <texturenofocus border="32" colordiffuse="$INFO[Window.Property(WCS.Game.AnswerA.Color)]">special://home/addons/plugin.video.milionar/resources/media/btn_rounded_dialog.png</texturenofocus>
                        <textcolor>AAFFFFFF</textcolor>
                        <focusedcolor>FFFFFFFF</focusedcolor>
                        <enable>!String.IsEmpty(Window.Property(WCS.Game.AnswerA))</enable>
                    </control>

                    <!-- Answer B (top-right) -->
                    <control type="button" id="9501">
                        <left>800</left>
                        <top>665</top>
                        <width>760</width>
                        <height>65</height>
                        <font>font14_bold</font>
                        <label>$INFO[Window.Property(WCS.Game.AnswerB)]</label>
                        <align>left</align><aligny>center</aligny>
                        <textoffsetx>25</textoffsetx>
                        <onup>9511</onup>
                        <ondown>9503</ondown>
                        <onleft>9500</onleft>
                        <onright>noop</onright>
                        <texturefocus border="32" colordiffuse="$INFO[Window.Property(WCS.Game.AnswerB.FocusColor)]">special://home/addons/plugin.video.milionar/resources/media/btn_rounded_dialog.png</texturefocus>
                        <texturenofocus border="32" colordiffuse="$INFO[Window.Property(WCS.Game.AnswerB.Color)]">special://home/addons/plugin.video.milionar/resources/media/btn_rounded_dialog.png</texturenofocus>
                        <textcolor>AAFFFFFF</textcolor>
                        <focusedcolor>FFFFFFFF</focusedcolor>
                        <enable>!String.IsEmpty(Window.Property(WCS.Game.AnswerB))</enable>
                    </control>

                    <!-- Answer C (bottom-left) -->
                    <control type="button" id="9502">
                        <left>20</left>
                        <top>745</top>
                        <width>760</width>
                        <height>65</height>
                        <font>font14_bold</font>
                        <label>$INFO[Window.Property(WCS.Game.AnswerC)]</label>
                        <align>left</align><aligny>center</aligny>
                        <textoffsetx>25</textoffsetx>
                        <onup>9500</onup>
                        <ondown>noop</ondown>
                        <onleft>noop</onleft>
                        <onright>9503</onright>
                        <texturefocus border="32" colordiffuse="$INFO[Window.Property(WCS.Game.AnswerC.FocusColor)]">special://home/addons/plugin.video.milionar/resources/media/btn_rounded_dialog.png</texturefocus>
                        <texturenofocus border="32" colordiffuse="$INFO[Window.Property(WCS.Game.AnswerC.Color)]">special://home/addons/plugin.video.milionar/resources/media/btn_rounded_dialog.png</texturenofocus>
                        <textcolor>AAFFFFFF</textcolor>
                        <focusedcolor>FFFFFFFF</focusedcolor>
                        <enable>!String.IsEmpty(Window.Property(WCS.Game.AnswerC))</enable>
                    </control>

                    <!-- Answer D (bottom-right) -->
                    <control type="button" id="9503">
                        <left>800</left>
                        <top>745</top>
                        <width>760</width>
                        <height>65</height>
                        <font>font14_bold</font>
                        <label>$INFO[Window.Property(WCS.Game.AnswerD)]</label>
                        <align>left</align><aligny>center</aligny>
                        <textoffsetx>25</textoffsetx>
                        <onup>9501</onup>
                        <ondown>noop</ondown>
                        <onleft>9502</onleft>
                        <onright>noop</onright>
                        <texturefocus border="32" colordiffuse="$INFO[Window.Property(WCS.Game.AnswerD.FocusColor)]">special://home/addons/plugin.video.milionar/resources/media/btn_rounded_dialog.png</texturefocus>
                        <texturenofocus border="32" colordiffuse="$INFO[Window.Property(WCS.Game.AnswerD.Color)]">special://home/addons/plugin.video.milionar/resources/media/btn_rounded_dialog.png</texturenofocus>
                        <textcolor>AAFFFFFF</textcolor>
                        <focusedcolor>FFFFFFFF</focusedcolor>
                        <enable>!String.IsEmpty(Window.Property(WCS.Game.AnswerD))</enable>
                    </control>
                </control>

                <!-- State: Menu - show action buttons (welcome, game over, etc.) -->
                <control type="group">
                    <visible>!String.IsEqual(Window.Property(WCS.Game.ShowAnswers),true)</visible>
                    <animation effect="fade" start="0" end="100" time="300">Visible</animation>
                    <animation effect="fade" start="100" end="0" time="200">Hidden</animation>

                    <!-- Menu buttons row -->
                    <control type="group">
                        <left>20</left>
                        <top>765</top>
                        <width>1560</width>
                        <height>65</height>

                        <!-- Button 1: Dynamic (Play/Continue/Retry) -->
                        <control type="button" id="9514">
                            <left>420</left>
                            <top>0</top>
                            <width>220</width>
                            <height>65</height>
                            <font>font14_bold</font>
                            <label>$INFO[Window.Property(WCS.Game.MenuBtn1)]</label>
                            <align>center</align><aligny>center</aligny>
                            <onup>noop</onup>
                            <ondown>noop</ondown>
                            <onleft>noop</onleft>
                            <onright>9515</onright>
                            <texturefocus border="32" colordiffuse="CC2997FF">special://home/addons/plugin.video.milionar/resources/media/btn_rounded_dialog.png</texturefocus>
                            <texturenofocus border="32" colordiffuse="25FFFFFF">special://home/addons/plugin.video.milionar/resources/media/btn_rounded_dialog.png</texturenofocus>
                            <textcolor>AAFFFFFF</textcolor>
                            <focusedcolor>FFFFFFFF</focusedcolor>
                            <animation effect="zoom" start="100" end="108" center="auto" time="150">Focus</animation>
                            <animation effect="zoom" start="108" end="100" center="auto" time="150">UnFocus</animation>
                            <visible>!String.IsEmpty(Window.Property(WCS.Game.MenuBtn1))</visible>
                        </control>

                        <!-- Button 2: Dynamic (Rules/Back) -->
                        <control type="button" id="9515">
                            <left>660</left>
                            <top>0</top>
                            <width>220</width>
                            <height>65</height>
                            <font>font14_bold</font>
                            <label>$INFO[Window.Property(WCS.Game.MenuBtn2)]</label>
                            <align>center</align><aligny>center</aligny>
                            <onup>noop</onup>
                            <ondown>noop</ondown>
                            <onleft>9514</onleft>
                            <onright>9513</onright>
                            <texturefocus border="32" colordiffuse="90FFFFFF">special://home/addons/plugin.video.milionar/resources/media/btn_rounded_dialog.png</texturefocus>
                            <texturenofocus border="32" colordiffuse="25FFFFFF">special://home/addons/plugin.video.milionar/resources/media/btn_rounded_dialog.png</texturenofocus>
                            <textcolor>AAFFFFFF</textcolor>
                            <focusedcolor>FFFFFFFF</focusedcolor>
                            <animation effect="zoom" start="100" end="108" center="auto" time="150">Focus</animation>
                            <animation effect="zoom" start="108" end="100" center="auto" time="150">UnFocus</animation>
                            <visible>!String.IsEmpty(Window.Property(WCS.Game.MenuBtn2))</visible>
                        </control>

                        <!-- Button 3: End game / Close -->
                        <control type="button" id="9513">
                            <left>900</left>
                            <top>0</top>
                            <width>220</width>
                            <height>65</height>
                            <font>font14_bold</font>
                            <label>Konec hry</label>
                            <align>center</align><aligny>center</aligny>
                            <onup>noop</onup>
                            <ondown>noop</ondown>
                            <onleft>9515</onleft>
                            <onright>noop</onright>
                            <texturefocus border="32" colordiffuse="FFFF3B30">special://home/addons/plugin.video.milionar/resources/media/btn_rounded_dialog.png</texturefocus>
                            <texturenofocus border="32" colordiffuse="25FFFFFF">special://home/addons/plugin.video.milionar/resources/media/btn_rounded_dialog.png</texturenofocus>
                            <textcolor>AAFFFFFF</textcolor>
                            <focusedcolor>FFFFFFFF</focusedcolor>
                            <animation effect="zoom" start="100" end="108" center="auto" time="150">Focus</animation>
                            <animation effect="zoom" start="108" end="100" center="auto" time="150">UnFocus</animation>
                        </control>
                    </control>
                </control>

                <!-- Hidden focus trap (for loading states) -->
                <control type="button" id="9530">
                    <left>-100</left><top>-100</top><width>1</width><height>1</height>
                    <texturefocus></texturefocus><texturenofocus></texturenofocus>
                    <onup>noop</onup><ondown>noop</ondown>
                    <onleft>noop</onleft><onright>noop</onright>
                    <onclick>noop</onclick>
                </control>
            </control>
        </control>
    </controls>
</window>
