/*
 * Country flags from https://flagpedia.net/download/icons (public domain).
 * Codes from https://github.com/datasets/country-codes and https://directory.fide.com/list/member_federations/main.
 * Each sprite cell is 20 x 12 pixels.
 */
.country-flag {
    display: inline-block;
    vertical-align: middle;
}
.country-flag::before {
    content: "";
    display: var(--flag-image-display, none);
    width: 20px;
    height: 12px;
    background: url('../img/country-flags.png') var(--flag-position, 0 0) / 320px 192px no-repeat;
}
.country-flag > span {
    display: var(--flag-text-display, inline);
}

.country-flag:is([data-country-code="AD"], [data-country-code="AND"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: 0px 0px; }
.country-flag:is([data-country-code="AE"], [data-country-code="ARE"], [data-country-code="UAE"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -20px 0px; }
.country-flag:is([data-country-code="AF"], [data-country-code="AFG"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -40px 0px; }
.country-flag:is([data-country-code="AG"], [data-country-code="ANT"], [data-country-code="ATG"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -60px 0px; }
.country-flag:is([data-country-code="AI"], [data-country-code="AIA"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -80px 0px; }
.country-flag:is([data-country-code="AL"], [data-country-code="ALB"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -100px 0px; }
.country-flag:is([data-country-code="AM"], [data-country-code="ARM"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -120px 0px; }
.country-flag:is([data-country-code="AGO"], [data-country-code="ANG"], [data-country-code="AO"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -140px 0px; }
.country-flag:is([data-country-code="AQ"], [data-country-code="ATA"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -160px 0px; }
.country-flag:is([data-country-code="AR"], [data-country-code="ARG"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -180px 0px; }
.country-flag:is([data-country-code="AS"], [data-country-code="ASM"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -200px 0px; }
.country-flag:is([data-country-code="AT"], [data-country-code="AUT"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -220px 0px; }
.country-flag:is([data-country-code="AU"], [data-country-code="AUS"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -240px 0px; }
.country-flag:is([data-country-code="ABW"], [data-country-code="ARU"], [data-country-code="AW"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -260px 0px; }
.country-flag:is([data-country-code="ALA"], [data-country-code="AX"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -280px 0px; }
.country-flag:is([data-country-code="AZ"], [data-country-code="AZE"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -300px 0px; }
.country-flag:is([data-country-code="BA"], [data-country-code="BIH"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: 0px -12px; }
.country-flag:is([data-country-code="BAR"], [data-country-code="BB"], [data-country-code="BRB"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -20px -12px; }
.country-flag:is([data-country-code="BAN"], [data-country-code="BD"], [data-country-code="BGD"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -40px -12px; }
.country-flag:is([data-country-code="BE"], [data-country-code="BEL"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -60px -12px; }
.country-flag:is([data-country-code="BF"], [data-country-code="BFA"], [data-country-code="BUR"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -80px -12px; }
.country-flag:is([data-country-code="BG"], [data-country-code="BGR"], [data-country-code="BUL"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -100px -12px; }
.country-flag:is([data-country-code="BDI"], [data-country-code="BI"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -140px -12px; }
.country-flag:is([data-country-code="BEN"], [data-country-code="BJ"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -160px -12px; }
.country-flag:is([data-country-code="BL"], [data-country-code="BLM"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -180px -12px; }
.country-flag:is([data-country-code="BER"], [data-country-code="BM"], [data-country-code="BMU"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -200px -12px; }
.country-flag:is([data-country-code="BN"], [data-country-code="BRN"], [data-country-code="BRU"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -220px -12px; }
.country-flag:is([data-country-code="BO"], [data-country-code="BOL"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -240px -12px; }
.country-flag:is([data-country-code="BES"], [data-country-code="BQ"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -260px -12px; }
.country-flag:is([data-country-code="BR"], [data-country-code="BRA"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -280px -12px; }
.country-flag:is([data-country-code="BAH"], [data-country-code="BHS"], [data-country-code="BS"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -300px -12px; }
.country-flag:is([data-country-code="BHU"], [data-country-code="BT"], [data-country-code="BTN"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: 0px -24px; }
.country-flag:is([data-country-code="BV"], [data-country-code="BVT"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -20px -24px; }
.country-flag:is([data-country-code="BOT"], [data-country-code="BW"], [data-country-code="BWA"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -40px -24px; }
.country-flag:is([data-country-code="BLR"], [data-country-code="BY"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -60px -24px; }
.country-flag:is([data-country-code="BIZ"], [data-country-code="BLZ"], [data-country-code="BZ"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -80px -24px; }
.country-flag:is([data-country-code="CA"], [data-country-code="CAN"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -100px -24px; }
.country-flag:is([data-country-code="CC"], [data-country-code="CCK"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -120px -24px; }
.country-flag:is([data-country-code="CD"], [data-country-code="COD"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -140px -24px; }
.country-flag:is([data-country-code="CAF"], [data-country-code="CF"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -160px -24px; }
.country-flag:is([data-country-code="CG"], [data-country-code="COG"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -180px -24px; }
.country-flag:is([data-country-code="CH"], [data-country-code="CHE"], [data-country-code="SUI"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -200px -24px; }
.country-flag:is([data-country-code="CI"], [data-country-code="CIV"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -220px -24px; }
.country-flag:is([data-country-code="CK"], [data-country-code="COK"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -240px -24px; }
.country-flag:is([data-country-code="CHI"], [data-country-code="CHL"], [data-country-code="CL"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -260px -24px; }
.country-flag:is([data-country-code="CM"], [data-country-code="CMR"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -280px -24px; }
.country-flag:is([data-country-code="CHN"], [data-country-code="CN"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -300px -24px; }
.country-flag:is([data-country-code="CO"], [data-country-code="COL"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: 0px -36px; }
.country-flag:is([data-country-code="CR"], [data-country-code="CRC"], [data-country-code="CRI"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -20px -36px; }
.country-flag:is([data-country-code="CU"], [data-country-code="CUB"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -40px -36px; }
.country-flag:is([data-country-code="CPV"], [data-country-code="CV"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -60px -36px; }
.country-flag:is([data-country-code="CUR"], [data-country-code="CUW"], [data-country-code="CW"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -80px -36px; }
.country-flag:is([data-country-code="CX"], [data-country-code="CXR"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -100px -36px; }
.country-flag:is([data-country-code="CY"], [data-country-code="CYP"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -120px -36px; }
.country-flag:is([data-country-code="CZ"], [data-country-code="CZE"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -140px -36px; }
.country-flag:is([data-country-code="DE"], [data-country-code="DEU"], [data-country-code="GER"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -160px -36px; }
.country-flag:is([data-country-code="DJ"], [data-country-code="DJI"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -180px -36px; }
.country-flag:is([data-country-code="DEN"], [data-country-code="DK"], [data-country-code="DNK"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -200px -36px; }
.country-flag:is([data-country-code="DM"], [data-country-code="DMA"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -220px -36px; }
.country-flag:is([data-country-code="DO"], [data-country-code="DOM"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -240px -36px; }
.country-flag:is([data-country-code="ALG"], [data-country-code="DZ"], [data-country-code="DZA"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -260px -36px; }
.country-flag:is([data-country-code="EC"], [data-country-code="ECU"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -280px -36px; }
.country-flag:is([data-country-code="EE"], [data-country-code="EST"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -300px -36px; }
.country-flag:is([data-country-code="EG"], [data-country-code="EGY"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: 0px -48px; }
.country-flag:is([data-country-code="EH"], [data-country-code="ESH"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -20px -48px; }
.country-flag:is([data-country-code="ER"], [data-country-code="ERI"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -40px -48px; }
.country-flag:is([data-country-code="ES"], [data-country-code="ESP"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -60px -48px; }
.country-flag:is([data-country-code="ET"], [data-country-code="ETH"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -80px -48px; }
.country-flag:is([data-country-code="FI"], [data-country-code="FIN"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -100px -48px; }
.country-flag:is([data-country-code="FIJ"], [data-country-code="FJ"], [data-country-code="FJI"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -120px -48px; }
.country-flag:is([data-country-code="FK"], [data-country-code="FLK"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -140px -48px; }
.country-flag:is([data-country-code="FM"], [data-country-code="FSM"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -160px -48px; }
.country-flag:is([data-country-code="FAI"], [data-country-code="FO"], [data-country-code="FRO"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -180px -48px; }
.country-flag:is([data-country-code="FR"], [data-country-code="FRA"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -200px -48px; }
.country-flag:is([data-country-code="GA"], [data-country-code="GAB"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -220px -48px; }
.country-flag:is([data-country-code="GB"], [data-country-code="GBR"], [data-country-code="UK"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -240px -48px; }
.country-flag:is([data-country-code="ENG"], [data-country-code="GB-ENG"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -260px -48px; }
.country-flag:is([data-country-code="GB-NIR"], [data-country-code="NIR"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -280px -48px; }
.country-flag:is([data-country-code="GB-SCT"], [data-country-code="SCO"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -300px -48px; }
.country-flag:is([data-country-code="GB-WLS"], [data-country-code="WLS"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: 0px -60px; }
.country-flag:is([data-country-code="GD"], [data-country-code="GRD"], [data-country-code="GRN"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -20px -60px; }
.country-flag:is([data-country-code="GE"], [data-country-code="GEO"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -40px -60px; }
.country-flag:is([data-country-code="GF"], [data-country-code="GUF"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -60px -60px; }
.country-flag:is([data-country-code="GCI"], [data-country-code="GG"], [data-country-code="GGY"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -80px -60px; }
.country-flag:is([data-country-code="GH"], [data-country-code="GHA"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -100px -60px; }
.country-flag:is([data-country-code="GI"], [data-country-code="GIB"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -120px -60px; }
.country-flag:is([data-country-code="GL"], [data-country-code="GRL"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -140px -60px; }
.country-flag:is([data-country-code="GAM"], [data-country-code="GM"], [data-country-code="GMB"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -160px -60px; }
.country-flag:is([data-country-code="GIN"], [data-country-code="GN"], [data-country-code="GUI"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -180px -60px; }
.country-flag:is([data-country-code="GLP"], [data-country-code="GP"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -200px -60px; }
.country-flag:is([data-country-code="GEQ"], [data-country-code="GNQ"], [data-country-code="GQ"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -220px -60px; }
.country-flag:is([data-country-code="GR"], [data-country-code="GRC"], [data-country-code="GRE"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -240px -60px; }
.country-flag:is([data-country-code="GS"], [data-country-code="SGS"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -260px -60px; }
.country-flag:is([data-country-code="GT"], [data-country-code="GTM"], [data-country-code="GUA"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -280px -60px; }
.country-flag:is([data-country-code="GU"], [data-country-code="GUM"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -300px -60px; }
.country-flag:is([data-country-code="GNB"], [data-country-code="GW"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: 0px -72px; }
.country-flag:is([data-country-code="GUY"], [data-country-code="GY"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -20px -72px; }
.country-flag:is([data-country-code="HK"], [data-country-code="HKG"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -40px -72px; }
.country-flag:is([data-country-code="HM"], [data-country-code="HMD"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -60px -72px; }
.country-flag:is([data-country-code="HN"], [data-country-code="HND"], [data-country-code="HON"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -80px -72px; }
.country-flag:is([data-country-code="CRO"], [data-country-code="HR"], [data-country-code="HRV"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -100px -72px; }
.country-flag:is([data-country-code="HAI"], [data-country-code="HT"], [data-country-code="HTI"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -120px -72px; }
.country-flag:is([data-country-code="HU"], [data-country-code="HUN"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -140px -72px; }
.country-flag:is([data-country-code="ID"], [data-country-code="IDN"], [data-country-code="INA"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -160px -72px; }
.country-flag:is([data-country-code="IE"], [data-country-code="IRL"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -180px -72px; }
.country-flag:is([data-country-code="IL"], [data-country-code="ISR"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -200px -72px; }
.country-flag:is([data-country-code="IM"], [data-country-code="IMN"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -220px -72px; }
.country-flag:is([data-country-code="IN"], [data-country-code="IND"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -240px -72px; }
.country-flag:is([data-country-code="IO"], [data-country-code="IOT"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -260px -72px; }
.country-flag:is([data-country-code="IQ"], [data-country-code="IRQ"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -280px -72px; }
.country-flag:is([data-country-code="IR"], [data-country-code="IRI"], [data-country-code="IRN"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -300px -72px; }
.country-flag:is([data-country-code="IS"], [data-country-code="ISL"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: 0px -84px; }
.country-flag:is([data-country-code="IT"], [data-country-code="ITA"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -20px -84px; }
.country-flag:is([data-country-code="JCI"], [data-country-code="JE"], [data-country-code="JEY"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -40px -84px; }
.country-flag:is([data-country-code="JAM"], [data-country-code="JM"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -60px -84px; }
.country-flag:is([data-country-code="JO"], [data-country-code="JOR"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -80px -84px; }
.country-flag:is([data-country-code="JP"], [data-country-code="JPN"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -100px -84px; }
.country-flag:is([data-country-code="KE"], [data-country-code="KEN"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -120px -84px; }
.country-flag:is([data-country-code="KG"], [data-country-code="KGZ"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -140px -84px; }
.country-flag:is([data-country-code="CAM"], [data-country-code="KH"], [data-country-code="KHM"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -160px -84px; }
.country-flag:is([data-country-code="KI"], [data-country-code="KIR"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -180px -84px; }
.country-flag:is([data-country-code="COM"], [data-country-code="KM"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -200px -84px; }
.country-flag:is([data-country-code="KN"], [data-country-code="KNA"], [data-country-code="SKN"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -220px -84px; }
.country-flag:is([data-country-code="KP"], [data-country-code="PRK"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -240px -84px; }
.country-flag:is([data-country-code="KOR"], [data-country-code="KR"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -260px -84px; }
.country-flag:is([data-country-code="KUW"], [data-country-code="KW"], [data-country-code="KWT"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -280px -84px; }
.country-flag:is([data-country-code="CAY"], [data-country-code="CYM"], [data-country-code="KY"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -300px -84px; }
.country-flag:is([data-country-code="KAZ"], [data-country-code="KZ"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: 0px -96px; }
.country-flag:is([data-country-code="LA"], [data-country-code="LAO"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -20px -96px; }
.country-flag:is([data-country-code="LB"], [data-country-code="LBN"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -40px -96px; }
.country-flag:is([data-country-code="LC"], [data-country-code="LCA"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -60px -96px; }
.country-flag:is([data-country-code="LI"], [data-country-code="LIE"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -80px -96px; }
.country-flag:is([data-country-code="LK"], [data-country-code="LKA"], [data-country-code="SRI"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -100px -96px; }
.country-flag:is([data-country-code="LBR"], [data-country-code="LR"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -120px -96px; }
.country-flag:is([data-country-code="LES"], [data-country-code="LS"], [data-country-code="LSO"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -140px -96px; }
.country-flag:is([data-country-code="LT"], [data-country-code="LTU"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -160px -96px; }
.country-flag:is([data-country-code="LU"], [data-country-code="LUX"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -180px -96px; }
.country-flag:is([data-country-code="LAT"], [data-country-code="LV"], [data-country-code="LVA"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -200px -96px; }
.country-flag:is([data-country-code="LBA"], [data-country-code="LBY"], [data-country-code="LY"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -220px -96px; }
.country-flag:is([data-country-code="MA"], [data-country-code="MAR"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -240px -96px; }
.country-flag:is([data-country-code="MC"], [data-country-code="MCO"], [data-country-code="MNC"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -260px -96px; }
.country-flag:is([data-country-code="MD"], [data-country-code="MDA"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -280px -96px; }
.country-flag:is([data-country-code="ME"], [data-country-code="MNE"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -300px -96px; }
.country-flag:is([data-country-code="MAF"], [data-country-code="MF"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: 0px -108px; }
.country-flag:is([data-country-code="MAD"], [data-country-code="MDG"], [data-country-code="MG"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -20px -108px; }
.country-flag:is([data-country-code="MH"], [data-country-code="MHL"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -40px -108px; }
.country-flag:is([data-country-code="MK"], [data-country-code="MKD"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -60px -108px; }
.country-flag:is([data-country-code="ML"], [data-country-code="MLI"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -80px -108px; }
.country-flag:is([data-country-code="MM"], [data-country-code="MMR"], [data-country-code="MYA"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -100px -108px; }
.country-flag:is([data-country-code="MGL"], [data-country-code="MN"], [data-country-code="MNG"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -120px -108px; }
.country-flag:is([data-country-code="MAC"], [data-country-code="MO"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -140px -108px; }
.country-flag:is([data-country-code="MNP"], [data-country-code="MP"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -160px -108px; }
.country-flag:is([data-country-code="MQ"], [data-country-code="MTQ"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -180px -108px; }
.country-flag:is([data-country-code="MR"], [data-country-code="MRT"], [data-country-code="MTN"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -200px -108px; }
.country-flag:is([data-country-code="MS"], [data-country-code="MSR"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -220px -108px; }
.country-flag:is([data-country-code="MLT"], [data-country-code="MT"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -240px -108px; }
.country-flag:is([data-country-code="MRI"], [data-country-code="MU"], [data-country-code="MUS"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -260px -108px; }
.country-flag:is([data-country-code="MDV"], [data-country-code="MV"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -280px -108px; }
.country-flag:is([data-country-code="MAW"], [data-country-code="MW"], [data-country-code="MWI"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -300px -108px; }
.country-flag:is([data-country-code="MEX"], [data-country-code="MX"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: 0px -120px; }
.country-flag:is([data-country-code="MAS"], [data-country-code="MY"], [data-country-code="MYS"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -20px -120px; }
.country-flag:is([data-country-code="MOZ"], [data-country-code="MZ"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -40px -120px; }
.country-flag:is([data-country-code="NA"], [data-country-code="NAM"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -60px -120px; }
.country-flag:is([data-country-code="NC"], [data-country-code="NCL"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -80px -120px; }
.country-flag:is([data-country-code="NE"], [data-country-code="NER"], [data-country-code="NIG"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -100px -120px; }
.country-flag:is([data-country-code="NF"], [data-country-code="NFK"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -120px -120px; }
.country-flag:is([data-country-code="NG"], [data-country-code="NGA"], [data-country-code="NGR"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -140px -120px; }
.country-flag:is([data-country-code="NCA"], [data-country-code="NI"], [data-country-code="NIC"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -160px -120px; }
.country-flag:is([data-country-code="NED"], [data-country-code="NL"], [data-country-code="NLD"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -180px -120px; }
.country-flag:is([data-country-code="NO"], [data-country-code="NOR"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -200px -120px; }
.country-flag:is([data-country-code="NEP"], [data-country-code="NP"], [data-country-code="NPL"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -220px -120px; }
.country-flag:is([data-country-code="NR"], [data-country-code="NRU"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -240px -120px; }
.country-flag:is([data-country-code="NIU"], [data-country-code="NU"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -260px -120px; }
.country-flag:is([data-country-code="NZ"], [data-country-code="NZL"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -280px -120px; }
.country-flag:is([data-country-code="OM"], [data-country-code="OMA"], [data-country-code="OMN"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -300px -120px; }
.country-flag:is([data-country-code="PA"], [data-country-code="PAN"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: 0px -132px; }
.country-flag:is([data-country-code="PE"], [data-country-code="PER"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -20px -132px; }
.country-flag:is([data-country-code="PF"], [data-country-code="PYF"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -40px -132px; }
.country-flag:is([data-country-code="PG"], [data-country-code="PNG"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -60px -132px; }
.country-flag:is([data-country-code="PH"], [data-country-code="PHI"], [data-country-code="PHL"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -80px -132px; }
.country-flag:is([data-country-code="PAK"], [data-country-code="PK"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -100px -132px; }
.country-flag:is([data-country-code="PL"], [data-country-code="POL"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -120px -132px; }
.country-flag:is([data-country-code="PM"], [data-country-code="SPM"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -140px -132px; }
.country-flag:is([data-country-code="PCN"], [data-country-code="PN"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -160px -132px; }
.country-flag:is([data-country-code="PR"], [data-country-code="PRI"], [data-country-code="PUR"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -180px -132px; }
.country-flag:is([data-country-code="PLE"], [data-country-code="PS"], [data-country-code="PSE"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -200px -132px; }
.country-flag:is([data-country-code="POR"], [data-country-code="PRT"], [data-country-code="PT"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -220px -132px; }
.country-flag:is([data-country-code="PLW"], [data-country-code="PW"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -240px -132px; }
.country-flag:is([data-country-code="PAR"], [data-country-code="PRY"], [data-country-code="PY"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -260px -132px; }
.country-flag:is([data-country-code="QA"], [data-country-code="QAT"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -280px -132px; }
.country-flag:is([data-country-code="RE"], [data-country-code="REU"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -300px -132px; }
.country-flag:is([data-country-code="RO"], [data-country-code="ROU"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: 0px -144px; }
.country-flag:is([data-country-code="RS"], [data-country-code="SRB"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -20px -144px; }
.country-flag:is([data-country-code="RU"], [data-country-code="RUS"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -40px -144px; }
.country-flag:is([data-country-code="RW"], [data-country-code="RWA"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -60px -144px; }
.country-flag:is([data-country-code="KSA"], [data-country-code="SA"], [data-country-code="SAU"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -80px -144px; }
.country-flag:is([data-country-code="SB"], [data-country-code="SLB"], [data-country-code="SOL"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -100px -144px; }
.country-flag:is([data-country-code="SC"], [data-country-code="SEY"], [data-country-code="SYC"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -120px -144px; }
.country-flag:is([data-country-code="SD"], [data-country-code="SDN"], [data-country-code="SUD"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -140px -144px; }
.country-flag:is([data-country-code="SE"], [data-country-code="SWE"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -160px -144px; }
.country-flag:is([data-country-code="SG"], [data-country-code="SGP"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -180px -144px; }
.country-flag:is([data-country-code="SH"], [data-country-code="SHN"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -200px -144px; }
.country-flag:is([data-country-code="SI"], [data-country-code="SLO"], [data-country-code="SVN"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -220px -144px; }
.country-flag:is([data-country-code="SJ"], [data-country-code="SJM"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -240px -144px; }
.country-flag:is([data-country-code="SK"], [data-country-code="SVK"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -260px -144px; }
.country-flag:is([data-country-code="SL"], [data-country-code="SLE"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -280px -144px; }
.country-flag:is([data-country-code="SM"], [data-country-code="SMR"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -300px -144px; }
.country-flag:is([data-country-code="SEN"], [data-country-code="SN"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: 0px -156px; }
.country-flag:is([data-country-code="SO"], [data-country-code="SOM"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -20px -156px; }
.country-flag:is([data-country-code="SR"], [data-country-code="SUR"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -40px -156px; }
.country-flag:is([data-country-code="SS"], [data-country-code="SSD"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -60px -156px; }
.country-flag:is([data-country-code="ST"], [data-country-code="STP"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -80px -156px; }
.country-flag:is([data-country-code="ESA"], [data-country-code="SLV"], [data-country-code="SV"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -100px -156px; }
.country-flag:is([data-country-code="SX"], [data-country-code="SXM"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -120px -156px; }
.country-flag:is([data-country-code="SY"], [data-country-code="SYR"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -140px -156px; }
.country-flag:is([data-country-code="SWZ"], [data-country-code="SZ"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -160px -156px; }
.country-flag:is([data-country-code="TC"], [data-country-code="TCA"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -180px -156px; }
.country-flag:is([data-country-code="CHA"], [data-country-code="TCD"], [data-country-code="TD"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -200px -156px; }
.country-flag:is([data-country-code="ATF"], [data-country-code="TF"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -220px -156px; }
.country-flag:is([data-country-code="TG"], [data-country-code="TGO"], [data-country-code="TOG"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -240px -156px; }
.country-flag:is([data-country-code="TH"], [data-country-code="THA"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -260px -156px; }
.country-flag:is([data-country-code="TJ"], [data-country-code="TJK"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -280px -156px; }
.country-flag:is([data-country-code="TK"], [data-country-code="TKL"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -300px -156px; }
.country-flag:is([data-country-code="TL"], [data-country-code="TLS"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: 0px -168px; }
.country-flag:is([data-country-code="TKM"], [data-country-code="TM"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -20px -168px; }
.country-flag:is([data-country-code="TN"], [data-country-code="TUN"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -40px -168px; }
.country-flag:is([data-country-code="TGA"], [data-country-code="TO"], [data-country-code="TON"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -60px -168px; }
.country-flag:is([data-country-code="TR"], [data-country-code="TUR"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -80px -168px; }
.country-flag:is([data-country-code="TT"], [data-country-code="TTO"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -100px -168px; }
.country-flag:is([data-country-code="TUV"], [data-country-code="TV"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -120px -168px; }
.country-flag:is([data-country-code="TW"], [data-country-code="TWN"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -140px -168px; }
.country-flag:is([data-country-code="TAN"], [data-country-code="TZ"], [data-country-code="TZA"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -160px -168px; }
.country-flag:is([data-country-code="UA"], [data-country-code="UKR"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -180px -168px; }
.country-flag:is([data-country-code="UG"], [data-country-code="UGA"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -200px -168px; }
.country-flag:is([data-country-code="UM"], [data-country-code="UMI"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -220px -168px; }
.country-flag:is([data-country-code="US"], [data-country-code="USA"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -240px -168px; }
.country-flag:is([data-country-code="URU"], [data-country-code="URY"], [data-country-code="UY"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -260px -168px; }
.country-flag:is([data-country-code="UZ"], [data-country-code="UZB"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -280px -168px; }
.country-flag:is([data-country-code="VA"], [data-country-code="VAT"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -300px -168px; }
.country-flag:is([data-country-code="VC"], [data-country-code="VCT"], [data-country-code="VIN"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: 0px -180px; }
.country-flag:is([data-country-code="VE"], [data-country-code="VEN"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -20px -180px; }
.country-flag:is([data-country-code="IVB"], [data-country-code="VG"], [data-country-code="VGB"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -40px -180px; }
.country-flag:is([data-country-code="ISV"], [data-country-code="VI"], [data-country-code="VIR"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -60px -180px; }
.country-flag:is([data-country-code="VIE"], [data-country-code="VN"], [data-country-code="VNM"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -80px -180px; }
.country-flag:is([data-country-code="VAN"], [data-country-code="VU"], [data-country-code="VUT"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -100px -180px; }
.country-flag:is([data-country-code="WF"], [data-country-code="WLF"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -120px -180px; }
.country-flag:is([data-country-code="WS"], [data-country-code="WSM"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -140px -180px; }
.country-flag:is([data-country-code="KOS"], [data-country-code="XK"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -160px -180px; }
.country-flag:is([data-country-code="YE"], [data-country-code="YEM"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -180px -180px; }
.country-flag:is([data-country-code="MYT"], [data-country-code="YT"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -200px -180px; }
.country-flag:is([data-country-code="RSA"], [data-country-code="ZA"], [data-country-code="ZAF"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -220px -180px; }
.country-flag:is([data-country-code="ZAM"], [data-country-code="ZM"], [data-country-code="ZMB"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -240px -180px; }
.country-flag:is([data-country-code="ZIM"], [data-country-code="ZW"], [data-country-code="ZWE"]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -260px -180px; }
/* FIDE uses BRN for Bahrain. ISO uses BRN for Brunei. */
.country-flag:is([data-country-code="BH"], [data-country-code="BHR"], [data-country-code="BRN"][data-federation]) { --flag-image-display: block; --flag-text-display: none; --flag-position: -120px -12px; }
