/* One 44px flag button, aligned with the existing header actions. */
.af-host-app .afHeaderActions{display:flex;align-items:center;gap:6px;flex:0 0 auto}
.af-host-app .afHeaderActions>.roundbtn,.af-host-app #afManagePropertiesButton,.af-host-app #afPremiumButton{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;max-width:44px;padding:0!important;flex:0 0 44px}
.af-host-app .afLanguageSelectorButton img,.afLanguageSelectorList img{display:block;width:26px;height:18px;object-fit:cover;border-radius:3px;border:1px solid rgba(15,35,62,.13);box-sizing:border-box}
.af-host-app .brand{gap:8px}
.af-host-app .brand-main{flex:1;min-width:0;gap:8px!important}
.af-host-app .brandtxt{min-width:0}
.af-host-app .brand #afBrandTagline{font-size:11px!important;line-height:1.22!important;letter-spacing:-.012em;max-width:38ch;overflow-wrap:normal;text-wrap:balance}
.af-host-app .afInternalHeading{padding-right:102px!important}
.af-host-app .afHomeTools{justify-content:flex-end}
.afLanguagePreference{flex:0 1 170px;min-width:120px;max-width:100%;min-height:44px;border:1px solid #cbd8ea;border-radius:12px;background:#fff;color:#193651;padding:8px 30px 8px 10px;font:inherit}
.afLanguageSelectorDialog{box-sizing:border-box;position:fixed;inset:auto;margin:0;padding:8px;width:280px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;border:1px solid #d9e4f1;border-radius:20px;background:#fff;color:#193651;box-shadow:0 20px 60px rgba(11,40,77,.22);font-family:inherit}
.afLanguageSelectorDialog::backdrop{background:rgba(15,35,62,.12)}
.afLanguageSelectorHeading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:3px 4px 4px 10px}
.afLanguageSelectorHeading h2{font-size:16px;line-height:1.3;margin:0;font-weight:750}
.afLanguageSelectorClose{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;border:0;border-radius:12px;background:transparent;color:inherit;font-size:26px;cursor:pointer}
.afLanguageSelectorClose:hover{background:#f2f6fc}
.afLanguageSelectorList{display:grid;gap:4px}
.afLanguageSelectorList button{display:flex;align-items:center;gap:12px;min-height:48px;width:100%;border:0;border-radius:12px;background:transparent;color:#193651;padding:10px 12px;text-align:left;font-family:inherit;font-size:16px;line-height:1.25;cursor:pointer}
.afLanguageSelectorList button.active{background:#e9f1ff;color:#075acb;font-weight:700}
.afLanguageSelectorList button:hover{background:#f0f5fd}
.afLanguageSelectorCheck{margin-left:auto;visibility:hidden}
.afLanguageSelectorList button.active .afLanguageSelectorCheck{visibility:visible}
.afLanguageSelectorList button:focus-visible,.afLanguageSelectorClose:focus-visible,.afLanguageSelectorButton:focus-visible,.afLanguagePreference:focus-visible{outline:3px solid #1479ed;outline-offset:2px}
@media(max-width:640px){
  .afLanguageSelectorDialog{left:0!important;right:0;top:auto!important;bottom:0;width:100%;max-width:none;max-height:calc(100dvh - 24px);border-radius:24px 24px 0 0;padding:12px 14px calc(18px + env(safe-area-inset-bottom));box-shadow:0 -14px 50px rgba(11,40,77,.2)}
  .afLanguageSelectorDialog::backdrop{background:rgba(12,28,47,.36)}
  .afLanguageSelectorList{gap:6px}
  .afLanguageSelectorList button{min-height:52px}
}
@media(max-width:390px){
  .af-host-app .brand #afBrandTagline{font-size:10px!important;letter-spacing:-.025em}
  .af-host-app .brand h1{font-size:19px!important}
  .af-host-app .brand-main{gap:6px!important}
}
