/* REC0DET country flag hit-area isolation V3.
   Only the visible flag button is interactive; the country select is
   rendered in a separate dialog, never above Back/Team/Brand/RC. */
.topbar.topbarTwoRow #recodetGlobalCountry {
  -webkit-appearance:none!important;appearance:none!important;
  padding:0!important;box-sizing:border-box!important;
  overflow:hidden!important;isolation:isolate!important;
  touch-action:manipulation!important;
  pointer-events:auto!important;cursor:pointer!important;
}
.topbar.topbarTwoRow #recodetGlobalCountry[hidden] {
  display:none!important;pointer-events:none!important;
}
.topbar.topbarTwoRow #recodetGlobalCountry .recodetGlobalCountryFlag {
  display:block!important;pointer-events:none!important;
  user-select:none!important;-webkit-user-select:none!important;
}
.topbar.topbarTwoRow #recodetGlobalCountry:focus-visible {
  outline:2px solid #f4d477!important;outline-offset:2px!important;
}
.recodetCountryPickerOverlay {
  position:fixed;inset:0;z-index:100600;
  display:flex;align-items:center;justify-content:center;
  padding:calc(16px + env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom));
  background:rgba(0,0,0,.75);box-sizing:border-box;
}
.recodetCountryPickerPanel {
  box-sizing:border-box;width:min(100%,440px);
  display:grid;gap:15px;padding:20px 17px;
  border:1px solid rgba(231,185,67,.58);border-radius:18px;
  background:linear-gradient(160deg,#19150b,#080807);
  box-shadow:0 14px 60px rgba(0,0,0,.62);
  color:#f4ddb1;font-family:system-ui,-apple-system,sans-serif;
}
.recodetCountryPickerTitle {
  display:block;font-size:17px;line-height:1.4;font-weight:800;
}
.recodetCountryPickerSelect {
  box-sizing:border-box;width:100%;min-height:48px;
  font:600 15px/1.4 system-ui,-apple-system,sans-serif;
  background:#0e0e0d;color:#ffecbe;
  border:1px solid rgba(231,185,67,.5);border-radius:11px;
  padding:9px 12px;
}
.recodetCountryPickerClose {
  justify-self:end;min-width:80px;min-height:44px;
  font:700 13px/1 system-ui,-apple-system,sans-serif;
  border-radius:11px;border:1px solid rgba(231,185,67,.5);
  background:#17130b;color:#f5d078;cursor:pointer;
}
.recodetCountryPickerClose:focus-visible,
.recodetCountryPickerSelect:focus-visible {
  outline:2px solid #f2d47b;outline-offset:3px;
}
@media(max-width:760px){
  .recodetCountryPickerPanel{width:100%;}
}
