
/* Only the mobile watch header; native controls and game headers keep their behavior. */
@media(max-width:920px){
  body.is-watch-layout .reference-watch-header.boss-film-header{
    position:relative!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 38px max-content max-content!important;
    grid-template-areas:"brand language film theme" "search search search search"!important;
    align-items:center!important;
    gap:8px 4px!important;
    padding:8px!important;
  }
  body.is-watch-layout .reference-watch-header.boss-film-header>.reference-watch-brand{
    grid-area:brand!important;
    min-width:0!important;
    width:100%!important;
    margin:0!important;
  }
  body.is-watch-layout .reference-watch-header.boss-film-header>.reference-watch-brand img{
    display:block!important;
    width:min(100%,170px)!important;
    max-width:100%!important;
    height:36px!important;
    object-fit:contain!important;
    object-position:left center!important;
  }
  body.is-watch-layout .reference-watch-header.boss-film-header>.reference-header-actions.boss-film-actions{
    display:contents!important;
  }
  body.is-watch-layout .reference-watch-header.boss-film-header>.reference-search-box{
    grid-area:search!important;
    min-width:0!important;
    width:100%!important;
    margin:0!important;
  }
  body.is-watch-layout .reference-watch-header.boss-film-header .boss-film-actions>.boss-language-menu{
    position:static!important;
    grid-area:language!important;
    width:38px!important;
    min-width:0!important;
    max-width:38px!important;
    margin:0!important;
    flex:none!important;
  }
  body.is-watch-layout .reference-watch-header.boss-film-header .boss-film-actions .reference-language-trigger{
    display:grid!important;
    grid-template-columns:22px 8px!important;
    align-items:center!important;
    justify-content:center!important;
    gap:4px!important;
    width:38px!important;
    min-width:0!important;
    min-height:36px!important;
    height:36px!important;
    padding:0!important;
    border:0!important;
    border-radius:4px!important;
    background:transparent!important;
    box-shadow:none!important;
    outline:0!important;
  }
  body.is-watch-layout .reference-watch-header.boss-film-header .boss-film-actions .reference-language-trigger:focus-visible{
    outline:2px solid #1266e8!important;
    outline-offset:2px!important;
  }
  body.is-watch-layout .reference-watch-header.boss-film-header .reference-language-trigger__globe,
  body.is-watch-layout .reference-watch-header.boss-film-header .reference-language-trigger__code{
    display:none!important;
  }
  body.is-watch-layout .reference-watch-header.boss-film-header .reference-language-trigger__flag{
    width:22px!important;
    height:16px!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  body.is-watch-layout .reference-watch-header.boss-film-header .reference-language-popover{
    position:absolute!important;
    top:50px!important;
    right:8px!important;
    left:auto!important;
    box-sizing:border-box!important;
    width:min(270px,calc(100% - 16px))!important;
    max-width:calc(100% - 16px)!important;
  }
  body.is-watch-layout .reference-watch-header.boss-film-header .reference-language-popover::before{
    display:none!important;
  }
  body.is-watch-layout .reference-watch-header.boss-film-header .boss-film-actions>.boss-film-link{
    grid-area:film!important;
    min-height:34px!important;
    height:34px!important;
    margin:0!important;
    padding:6px 5px!important;
    font-size:11.5px!important;
  }
  body.is-watch-layout .reference-watch-header.boss-film-header .boss-film-actions>.reference-theme-toggle{
    grid-area:theme!important;
    display:flex!important;
    align-items:center!important;
    gap:0!important;
    width:auto!important;
    min-width:0!important;
    height:34px!important;
    padding:0!important;
    margin:0!important;
  }
  body.is-watch-layout .reference-watch-header.boss-film-header .reference-theme-toggle>button{
    display:grid!important;
    place-items:center!important;
    flex:0 0 26px!important;
    width:26px!important;
    min-width:0!important;
    height:32px!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    font-size:17px!important;
    line-height:1!important;
  }
  body.is-watch-layout .reference-watch-header.boss-film-header .boss-film-actions>.games-top-nav{
    grid-column:1/-1!important;
    grid-row:3!important;
    width:100%!important;
    margin:0!important;
    justify-content:flex-end!important;
  }
}
@media(max-width:360px){
  body.is-watch-layout .reference-watch-header.boss-film-header{
    grid-template-columns:minmax(0,1fr) 38px max-content max-content!important;
    column-gap:3px!important;
    padding-left:6px!important;
    padding-right:6px!important;
  }
  body.is-watch-layout .reference-watch-header.boss-film-header .boss-film-actions>.boss-language-menu,
  body.is-watch-layout .reference-watch-header.boss-film-header .boss-film-actions .reference-language-trigger{
    width:38px!important;
    max-width:38px!important;
  }
  body.is-watch-layout .reference-watch-header.boss-film-header .boss-film-actions>.boss-film-link{
    padding:6px 5px!important;
    font-size:11px!important;
  }
  body.is-watch-layout .reference-watch-header.boss-film-header .reference-theme-toggle>button{
    flex-basis:24px!important;
    width:24px!important;
    font-size:16px!important;
  }
}
