/* PIPR Multi-Language v1.0.7 */
.pipr-ml-switcher{position:relative;display:inline-flex;align-items:center;margin:0 12px;color:#fff;font-weight:800;font-size:.78rem;letter-spacing:.05em;line-height:1;white-space:nowrap;z-index:40}
.pipr-ml-switcher__trigger{display:inline-flex;width:84px;min-width:84px;max-width:84px;min-height:38px;box-sizing:border-box;align-items:center;justify-content:center;gap:7px;padding:7px 9px;border:1px solid rgba(255,255,255,.12);border-radius:10px;background:rgba(255,255,255,.06);color:#fff;font:inherit;font-weight:800;letter-spacing:.05em;line-height:1;cursor:pointer;transition:background .16s ease,border-color .16s ease,color .16s ease}
.pipr-ml-switcher__trigger:hover,.pipr-ml-switcher__trigger:focus-visible,.pipr-ml-switcher.is-open .pipr-ml-switcher__trigger{border-color:rgba(255,255,255,.18);background:rgba(255,255,255,.075);color:#fff}
.pipr-ml-switcher__trigger:focus-visible{outline:2px solid rgba(255,255,255,.5);outline-offset:2px}
.pipr-ml-switcher__current{display:inline-flex;align-items:center;gap:7px}
.pipr-ml-switcher__option{display:flex;align-items:center;gap:7px;box-sizing:border-box;flex:0 0 auto}
.pipr-ml-switcher__flag{display:inline-block;font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;font-size:1.08rem;line-height:1;letter-spacing:0}
.pipr-ml-switcher__code{font-weight:850}
.pipr-ml-switcher__chevron{width:12px;height:12px;flex:0 0 12px;transition:transform .16s ease}
.pipr-ml-switcher.is-open .pipr-ml-switcher__chevron{transform:rotate(180deg)}
.pipr-ml-switcher__menu{position:absolute;top:calc(100% + 8px);left:0;right:auto;display:flex;flex-direction:column;gap:4px;width:148px;min-width:148px;max-width:calc(100vw - 24px);padding:6px;box-sizing:border-box;overflow:hidden;border:1px solid rgba(255,255,255,.12);border-radius:12px;background:#17191c;box-shadow:0 16px 38px rgba(0,0,0,.34);z-index:9999}
.pipr-ml-switcher__menu[hidden]{display:none!important}
.pipr-ml-switcher__option{width:100%;min-width:0;min-height:40px;padding:9px 10px;border-radius:8px;color:rgba(255,255,255,.76)!important;text-decoration:none!important;font-weight:800;letter-spacing:.04em;white-space:nowrap;transition:background .14s ease,color .14s ease}
.pipr-ml-switcher__option:hover,.pipr-ml-switcher__option:focus-visible{background:rgba(255,255,255,.075);color:#fff!important;outline:none}
.pipr-ml-switcher__option.is-active{background:rgba(227,24,37,.12);color:#fff!important}
.pipr-ml-switcher__option.is-active::after{margin-left:auto;color:#ef3943;content:"✓";font-size:.82rem}
.pipr-ml-switcher--desktop{width:84px;min-width:84px;max-width:84px;flex:0 0 84px}
.pipr-ml-switcher--mobile{display:none}

/* Mobile: same compact language control as desktop, not a full-width form field. */
@media(max-width:1180px){
  .pipr-ml-switcher--desktop{display:none}
  .pipr-ml-switcher--mobile{display:flex;width:108px;min-width:108px;max-width:108px;margin:18px auto 14px;z-index:120}
  .pipr-ml-switcher--mobile .pipr-ml-switcher__trigger{width:108px;min-width:108px;max-width:108px;min-height:44px;justify-content:center;gap:9px;padding:9px 11px;border-color:rgba(255,255,255,.13);background:rgba(255,255,255,.045);font-size:.9rem;border-radius:11px}
  .pipr-ml-switcher--mobile .pipr-ml-switcher__current{gap:8px}
  .pipr-ml-switcher--mobile .pipr-ml-switcher__flag{font-size:1.12rem}
  .pipr-ml-switcher--mobile .pipr-ml-switcher__menu{position:absolute;top:calc(100% + 7px);left:0;right:auto;width:148px;min-width:148px;max-width:min(148px,calc(100vw - 32px));margin:0;padding:6px}
  .pipr-ml-switcher--mobile .pipr-ml-switcher__option{min-height:42px;padding:9px 10px;font-size:.9rem}
}
