/* Flag language chip: native game palette, with a separate compact popover. */
.br-language-picker{position:relative;display:flex;align-items:center;flex:0 0 auto;align-self:center;margin-left:auto;z-index:8;line-height:1.2}
.br-language-trigger,.br-language-option{font-family:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.br-language-trigger{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 11px;border:1px solid #e4ba78;border-radius:12px;color:#fff1d5;background:linear-gradient(145deg,#6e3d3f,#362239 72%);box-shadow:inset 0 1px #ffe5ad66,0 3px 0 #1b1025;white-space:nowrap;font-family:inherit;font-weight:850;font-size:14px;transition:filter .16s,transform .16s}
.br-language-trigger:hover{filter:brightness(1.14)}
.br-language-trigger:active{transform:translateY(2px);box-shadow:inset 0 1px #ffe5ad66,0 1px 0 #1b1025}
.br-language-trigger:focus-visible,.br-language-option:focus-visible{outline:3px solid #fff2b0;outline-offset:3px}
.br-language-flag{display:inline-flex;flex:0 0 30px;width:30px;height:21px;overflow:hidden;border-radius:4px;box-shadow:0 1px 0 #fff6,0 2px 5px #160b1b77}
.br-language-flag svg{display:block;width:100%;height:100%}
.br-language-code{display:none}.br-language-chevron{width:6px;height:6px;border:solid #ffdb8e;border-width:0 2px 2px 0;transform:rotate(45deg);margin:-3px 1px 0 3px}
.br-language-trigger[aria-expanded="true"] .br-language-chevron{transform:translateY(3px) rotate(225deg)}
.br-language-panel{position:fixed;z-index:2000;box-sizing:border-box;padding:16px;border:2px solid #f0c27c;border-radius:17px;color:#fff0d4;background:linear-gradient(145deg,#613740,#352138 75%);box-shadow:0 7px 0 #180d21dd,0 14px 35px #140b1e99,inset 0 1px #ffeac377;font-family:inherit;animation:br-language-arrive .15s ease-out}
.br-language-panel[hidden]{display:none!important}
.br-language-heading{display:block;color:#ffdc91;font-size:12px;letter-spacing:1.6px;line-height:1.3;font-weight:900}
.br-language-hint{margin:4px 0 13px;color:#ead4d0;font-size:13px;line-height:1.4}
.br-language-option{box-sizing:border-box;display:flex;align-items:center;gap:11px;width:100%;min-height:48px;margin-top:8px;padding:10px;border:1px solid #a8758066;border-radius:10px;color:#fff0dc;background:#23172980;font-family:inherit;font-weight:800;font-size:15px;text-align:left;transition:background .15s,transform .15s}
.br-language-option:hover{background:#76414888}.br-language-option.is-selected{color:#2b1730;background:linear-gradient(135deg,#ffe99a,#ffbf5d);border-color:#fff0b6;box-shadow:inset 0 1px #fff8}
.br-language-option:active{transform:scale(.98)}
.br-language-check{margin-left:auto;font-size:18px;font-weight:900;min-width:18px}
.account-topbar.br-language-host{flex-wrap:wrap;gap:10px}.account-topbar .br-language-picker{margin-left:0}
header.hud>.br-language-picker{order:2}.br-language-host .br-resources{min-width:0}
.br-interface .br-header-tools.br-language-host{display:grid;grid-template-columns:repeat(3,auto);gap:6px;align-items:center}
.br-header-tools>.br-language-picker{grid-column:1/-1;justify-self:end;margin-left:0}
.br-header-tools>.br-language-picker .br-language-trigger{min-height:44px}
.mast-inner>.br-language-picker{margin-block:8px}.install-topbar>.br-language-picker{margin-left:0}
html[lang="en"] #arena.touch .scoreline .team-blue::before{content:'YOU'}
@keyframes br-language-arrive{from{opacity:0;transform:translateY(-5px) scale(.97)}to{opacity:1;transform:none}}
@media(max-width:900px){.br-language-trigger{gap:6px;padding:7px 9px}.br-language-name{display:none}.br-language-code{display:inline;font-size:12px}.br-language-flag{width:26px;height:18px;flex-basis:26px}.br-language-option .br-language-flag{width:30px;height:21px;flex-basis:30px}.br-language-trigger .br-language-chevron{margin-left:0}.mast-inner>.br-language-picker{margin-left:auto}.operations-header>.br-language-picker{margin-left:auto}.topbar>.br-language-picker{margin-left:auto}}
@media(max-width:480px){.br-language-trigger{gap:5px;padding:7px 8px}.account-topbar .br-language-picker{margin-left:auto}.account-topbar #account-sound{margin-left:0}.br-language-panel{padding:13px}.br-language-option{min-height:48px}}
@media(prefers-reduced-motion:reduce){.br-language-panel{animation:none}.br-language-trigger,.br-language-option{transition:none}}
