/* Language flags for guest top bar, athlete sidebar and mobile header. */
.fi-language{display:inline-flex!important;align-items:center;gap:3px;flex:none;border:1px solid rgba(125,151,166,.4);border-radius:9px;padding:4px;background:rgba(255,255,255,.09)}
.fi-language a{display:inline-flex!important;align-items:center;justify-content:center;gap:4px;padding:7px 9px!important;border-radius:6px;font:700 11px/1.1 Inter,system-ui,sans-serif!important;color:#eff6ff!important;text-decoration:none!important;white-space:nowrap;transition:background .55s cubic-bezier(.16,1,.3,1)}
.fi-language a:hover,.fi-language a[aria-current="true"]{background:#0b648d!important;color:#fff!important}
.fi-language a:focus-visible{outline:2px solid #0a779d;outline-offset:2px}
.fi-language-name{text-transform:uppercase;letter-spacing:.04em}
.portal-app .fi-portal{align-self:center;max-width:100%;margin:0 0 3px}
.portal-guest .fi-portal{margin-left:auto}
@media(max-width:850px){.portal-app .fi-portal{margin:0;justify-self:end;align-self:center;grid-column:2;grid-row:1}.portal-app .topbar-in>.brand{grid-column:1;grid-row:1}.portal-guest .fi-portal{margin-left:auto}}
@media(max-width:375px){.fi-language{gap:1px;padding:3px}.fi-language a{padding:6px!important}.fi-language-name{font-size:9px}}
/* Editorial theme's generic anchor rule must never darken flags on dark sidebar. */
body.portal-app .fi-language a{color:#f5f9fc!important}
body.portal-guest .fi-language{background:#f5f6f7;border-color:#d8e1e6}
body.portal-guest .fi-language a{color:#262626!important}
body.portal-app .fi-language a[aria-current="true"],body.portal-app .fi-language a:hover,body.portal-guest .fi-language a[aria-current="true"],body.portal-guest .fi-language a:hover{background:#0b648d!important;color:#fff!important}

/* v3.1.1: SVG assets rather than OS-dependent emoji flags. */
.fi-language a .fi-language-flag{display:block!important;flex:0 0 auto!important;width:23px!important;height:16px!important;min-width:23px;object-fit:fill;vertical-align:middle;border:1px solid rgba(0,0,0,.08);border-radius:2px;background:#fff} 
@media(max-width:600px){.fi-language a .fi-language-flag{width:21px!important;height:15px!important;min-width:21px}}
