<theme>
    <fontSize name="medium">
        <variables>
            <helpsystemFontSize>0.025</helpsystemFontSize>
            <systemInfoSize>0.70 0.03</systemInfoSize>
            <systemInfoFontSize>0.023</systemInfoFontSize>
            <systemInfoPos1>0.05 0.675</systemInfoPos1>
            <systemInfoPos2>0.05 0.690</systemInfoPos2>
            <systemInfoPos3>0.05 0.705</systemInfoPos3>
            <systemInfoPos4>0.05 0.720</systemInfoPos4>
            <systemInfoPos5>0.05 0.750</systemInfoPos5>
            <systemInfoPos6>0.05 0.765</systemInfoPos6>
            <systemInfoPos7>0.05 0.780</systemInfoPos7>
            <systemInfoPos8>0.05 0.795</systemInfoPos8>
            <systemInfoPos9>0.05 0.810</systemInfoPos9>
            <systemInfoPos10>0.05 0.825</systemInfoPos10>
            <gamelistFontSize>0.0264</gamelistFontSize>
            <gamelistInfoFontSize>0.026</gamelistInfoFontSize>
            <descriptionFontSize>0.026</descriptionFontSize>
            <metadataFontSize>0.026</metadataFontSize>
            <ratingSize>0 0.02</ratingSize>
            <badgesSize>0.11 0.235</badgesSize>
        </variables>
    </fontSize>
    <fontSize name="large">
        <variables>
            <helpsystemFontSize>0.027</helpsystemFontSize>
            <systemInfoSize>0.70 0.03</systemInfoSize>
            <systemInfoFontSize>0.027</systemInfoFontSize>
            <systemInfoPos1>0.05 0.675</systemInfoPos1>
            <systemInfoPos2>0.05 0.692</systemInfoPos2>
            <systemInfoPos3>0.05 0.709</systemInfoPos3>
            <systemInfoPos4>0.05 0.726</systemInfoPos4>
            <systemInfoPos5>0.05 0.756</systemInfoPos5>
            <systemInfoPos6>0.05 0.773</systemInfoPos6>
            <systemInfoPos7>0.05 0.790</systemInfoPos7>
            <systemInfoPos8>0.05 0.807</systemInfoPos8>
            <systemInfoPos9>0.05 0.824</systemInfoPos9>
            <systemInfoPos10>0.05 0.841</systemInfoPos10>
            <gamelistFontSize>0.0326</gamelistFontSize>
            <gamelistInfoFontSize>0.03</gamelistInfoFontSize>
            <descriptionFontSize>0.0315</descriptionFontSize>
            <metadataFontSize>0.028</metadataFontSize>
            <ratingSize>0 0.02</ratingSize>
            <badgesSize>0.11 0.235</badgesSize>
        </variables>
    </fontSize>

    <variant name="withVideos, withoutVideos, noGameMedia">
        <view name="system, gamelist">
            <helpsystem name="help">
                <pos>0.012 0.98</pos>
                <fontSize>${helpsystemFontSize}</fontSize>
            </helpsystem>
        </view>

        <view name="system">
            <text name="gameCounter">
                <pos>0.5 0.619</pos>
                <size>1 0.038</size>
                <fontSize>0.037</fontSize>
            </text>
        </view>

        <view name="gamelist">
            <textlist name="gamelistTextlist">
                <fontSize>${gamelistFontSize}</fontSize>
            </textlist>
            <image name="consolegame">
                <maxSize>0.35 0.12</maxSize>
            </image>
            <image name="logo">
                <maxSize>0.30 0.10</maxSize>
            </image>
        </view>
    </variant>

    <variant name="withVideos, withoutVideos">
        <view name="system">
            <carousel name="systemCarousel">
                <pos>0 0.40</pos>
                <size>1 0.20</size>
                <maxItemCount>1.85</maxItemCount>
                <itemSize>0.38 0.11</itemSize>
                <itemScale>1.3</itemScale>
                <fontSize>0.065</fontSize>
            </carousel>
            <image name="consolegame">
                <pos>0.02 0.376</pos>
                <maxSize>0.45 0.2</maxSize>
            </image>
            <image name="controller">
                <pos>0.77 0.376</pos>
                <maxSize>0.12 0.14</maxSize>
            </image>
            <text name="info1, info2, info3, info4, info5, info6, info7, info8, info9, info10">
                <size>${systemInfoSize}</size>
                <fontSize>${systemInfoFontSize}</fontSize>
            </text>
            <text name="info1">
                <pos>${systemInfoPos1}</pos>
            </text>
            <text name="info2">
                <pos>${systemInfoPos2}</pos>
            </text>
            <text name="info3">
                <pos>${systemInfoPos3}</pos>
            </text>
            <text name="info4">
                <pos>${systemInfoPos4}</pos>
            </text>
            <text name="info5">
                <pos>${systemInfoPos5}</pos>
            </text>
            <text name="info6">
                <pos>${systemInfoPos6}</pos>
            </text>
            <text name="info7">
                <pos>${systemInfoPos7}</pos>
            </text>
            <text name="info8">
                <pos>${systemInfoPos8}</pos>
            </text>
            <text name="info9">
                <pos>${systemInfoPos9}</pos>
            </text>
            <text name="info10">
                <pos>${systemInfoPos10}</pos>
            </text>
        </view>

        <view name="gamelist">
            <text name="collectionsSystemName">
                <visible>false</visible>
            </text>
            <text name="customCollectionsSystemName">
                <pos>0.78 0.13</pos>
                <size>0.32 0.02</size>
            </text>
            <text name="customCollectionsHeader">
                <pos>0.78 0.153</pos>
                <size>0.32 0.03</size>
                <fontSize>0.04</fontSize>
            </text>
            <text name="labelReleasedate, labelDeveloper, labelPublisher, labelGenre,
                        labelPlayers, labelPlaytime, developer, publisher, genre, players,
                        playtime">
                <size>0.155 0.02</size>
                <fontSize>${metadataFontSize}</fontSize>
            </text>
            <text name="labelReleasedate">
                <pos>0.454 0.535</pos>
            </text>
            <datetime name="releasedate">
                <pos>0.454 0.558</pos>
                <size>0.155 0.02</size>
                <fontSize>${metadataFontSize}</fontSize>
            </datetime>
            <text name="labelDeveloper">
                <pos>0.62 0.535</pos>
            </text>
            <text name="developer">
                <pos>0.62 0.558</pos>
            </text>
            <text name="labelPublisher">
                <pos>0.79 0.535</pos>
            </text>
            <text name="publisher">
                <pos>0.79 0.558</pos>
            </text>
            <text name="labelGenre">
                <pos>0.454 0.59</pos>
            </text>
            <text name="genre">
                <pos>0.454 0.613</pos>
            </text>
            <text name="labelPlayers">
                <pos>0.62 0.59</pos>
            </text>
            <text name="players">
                <pos>0.62 0.613</pos>
            </text>
            <text name="labelPlaytime">
                <pos>0.79 0.59</pos>
            </text>
            <text name="playtime">
                <pos>0.79 0.613</pos>
            </text>
            <text name="labelLastplayed">
                <visible>false</visible>
            </text>
            <datetime name="lastplayed">
                <visible>false</visible>
            </datetime>
            <text name="description">
                <pos>0.454 0.655</pos>
                <size>0.384 0.262</size>
                <fontSize>${descriptionFontSize}</fontSize>
            </text>
            <rating name="rating">
                <size>${ratingSize}</size>
            </rating>
            <gamelistinfo name="gamelistInfo">
                <pos>0.723 0.192</pos>
                <size>0.24 0.042</size>
                <fontSize>${gamelistInfoFontSize}</fontSize>
            </gamelistinfo>
            <badges name="badges">
                <pos>0.96 0.655</pos>
                <size>${badgesSize}</size>
                <origin>1 0</origin>
                <lines>5</lines>
                <itemsPerLine>2</itemsPerLine>
            </badges>
        </view>
    </variant>

    <variant name="withVideos">
        <view name="gamelist">
            <video name="gameVideo">
                <pos>0.708 0.38</pos>
                <maxSize>0.506 0.29</maxSize>
            </video>
        </view>
    </variant>

    <variant name="withoutVideos">
        <view name="gamelist">
            <image name="gameImage">
                <pos>0.708 0.38</pos>
                <maxSize>0.506 0.29</maxSize>
            </image>
        </view>
    </variant>

    <variant name="noGameMedia">
        <view name="gamelist">
            <text name="customCollectionsHeaderNoMedia">
                <pos>0.78 0.153</pos>
                <size>0.32 0.03</size>
                <fontSize>0.04</fontSize>
                <visible>true</visible>
            </text>
        </view>
    </variant>
</theme>