#cmh-language-picker{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;color:#e8e8ef;font:600 12px/1.2 system-ui,sans-serif;z-index:30;flex-shrink:0}#cmh-language-picker button{appearance:none;background:rgba(10,13,24,.75);border:1px solid rgba(255,255,255,.23);border-radius:8px;color:#e9e9ee;padding:7px 8px;min-height:34px;cursor:pointer;font:inherit;letter-spacing:.01em}#cmh-language-picker button.is-active{background:#eee;color:#14141d;border-color:#fff}#cmh-language-picker button:focus-visible{outline:2px solid #ffce50;outline-offset:2px}#cmh-language-picker.cmh-language-floating{position:fixed;right:14px;top:14px;padding:6px;background:#151725;border-radius:10px;box-shadow:0 4px 20px #0008;z-index:99999}@media(max-width:720px){#cmh-language-picker{gap:3px}#cmh-language-picker button{font-size:11px;padding:6px;min-height:32px}#cmh-language-picker.cmh-language-floating{right:8px;top:8px}}
/* beta220: place language control directly after the account action. */
.cmh-home-topactions>#cmh-language-picker{display:inline-flex;position:static;align-self:center;align-items:center;flex:0 0 auto;margin:0 0 0 8px;padding:0;background:transparent;box-shadow:none;white-space:nowrap;z-index:2}
.cmh-home-topactions>#cmh-language-picker button{min-height:34px}
@media(max-width:1050px){.cmh-home-topactions>#cmh-language-picker{margin-left:4px;gap:2px}.cmh-home-topactions>#cmh-language-picker button{padding:5px 6px}}
@media(max-width:720px){.cmh-home-topactions>#cmh-language-picker{margin-left:4px}.cmh-home-topactions>#cmh-language-picker button{min-height:30px;font-size:10px;padding:4px 5px}}

/* 2.9.20.222 – all site subpages: flags belong to the real app header. */
#cmh-language-picker:not(.cmh-language-in-header){display:none!important}
html body .cmh-unified-header #cmh-language-picker.cmh-language-in-header,
html body .cinematch-header #cmh-language-picker.cmh-language-in-header{display:inline-flex!important;align-items:center;gap:3px;position:static;z-index:100505;visibility:visible;opacity:1}
html body .cmh-unified-header #cmh-language-picker button{min-height:34px;padding:6px 7px;white-space:nowrap}
@media(min-width:861px){
  html body:not(.cmh-home-wp-page) header.cmh-app-header.cmh-unified-header{grid-template-columns:auto minmax(0,1fr) auto auto auto auto!important}
  html body:not(.cmh-home-wp-page) .cmh-unified-header>.cmh-unified-actions>#cmh-language-picker{grid-column:6!important;grid-row:1!important;justify-self:end;align-self:center;margin-left:1px!important}
  html body:not(.cmh-home-wp-page) .cmh-unified-header>.cmh-unified-actions{display:contents!important}
}
@media(min-width:861px) and (max-width:1150px){
  html body:not(.cmh-home-wp-page) .cmh-unified-header #cmh-language-picker button{font-size:11px;padding:6px 5px}
  html body:not(.cmh-home-wp-page) .cmh-unified-header>.cmh-unified-topnav{gap:8px!important}
}
@media(max-width:860px){
  html body:not(.cmh-home-wp-page) header.cmh-app-header.cmh-unified-header{grid-template-columns:minmax(0,1fr) auto 44px!important;gap:0 6px!important}
  html body:not(.cmh-home-wp-page) .cmh-unified-header>#cmh-language-picker.cmh-language-mobile-header{grid-column:2!important;grid-row:1!important;justify-self:end!important;align-self:center!important;gap:2px!important}
  html body:not(.cmh-home-wp-page) .cmh-unified-header>.cmh-mobile-menu-toggle{grid-column:3!important;grid-row:1!important}
  html body:not(.cmh-home-wp-page) .cmh-unified-header>#cmh-language-picker .cmh-language-code,
  html body:not(.cmh-home-wp-page) .cmh-unified-header>#cmh-language-picker .cmh-language-divider{display:none}
  html body:not(.cmh-home-wp-page) .cmh-unified-header>#cmh-language-picker button{min-height:34px;min-width:32px;padding:5px 4px!important;line-height:1.2}
  html body.cmh-home-wp-page .cmh-home-mobile-menu-account>#cmh-language-picker.cmh-language-mobile-menu{display:flex!important;justify-content:center;grid-column:1/-1;padding:6px 0}
}
