/* Shared mobile canvas, matched to the validated welcome page. */
@media (max-width:767.98px) {
  html[data-mobile-palette="night"] { --em-bg:#132733; background:#132733; }
  html[data-mobile-palette="night"] body,
  html[data-mobile-palette="night"] body#ethnosMobileDiscoveryR1234 {
    background:#132733!important;
  }
  html[data-mobile-palette="night"] :is(.studio,.device,.screen,.home,.sheet),
  .device[data-mobile-palette="night"],
  .device[data-mobile-palette="night"] :is(.screen,.sheet) {
    background:#132733;
  }
  html[data-mobile-palette="night"] body#ethnosMobileDiscoveryR1234 :is(.memberLayout,.memberWorkspace),
  html[data-mobile-palette="night"] body#ethnosMobileDiscoveryR1234 .memberWorkspace > :is(#emMemberHome,.bodyView,.emMemberPage,.ethnosGamesR649),
  html[data-mobile-palette="night"].emMemberMobile body > .emMemberMenu {
    background:#132733!important;
  }
}

@media(max-width:767.98px){html.ethnosMobileGuest .emMemberTop>div{gap:5px}html.ethnosMobileGuest .emMemberTop .emGuestLogin{border:1px solid #456570;border-radius:12px;padding:7px 10px;color:#ffad77;font-weight:650;white-space:nowrap}html.ethnosMobileGuest .emMemberTop{padding-inline:14px}}

@media(max-width:767.98px){
 html.emMemberMobile{--em-top:50px}
 html.emMemberMobile body#ethnosMobileDiscoveryR1234 #emMemberChrome .emMemberTop{padding-block:3px;background:#132733}
 html.emMemberMobile body#ethnosMobileDiscoveryR1234 #emMemberChrome .emMemberNav{background:#132733}
 html.emMemberMobile body#ethnosMobileDiscoveryR1234 #emMemberHome .emHomeIntro{background:#132733}
 html.emMemberMobile .emMemberTop .emBrandMark{width:24px;height:28px}
 html.emMemberMobile .emMemberTop>div .emRound{width:32px;height:32px;min-height:32px}
 html.emMemberMobile .emMemberTop>div .emRound img{width:21px;height:21px}
 html.emMemberMobile .emMemberTop>div .emGuestLogin{min-height:36px;padding:5px 10px}
 html.emMemberMobile body #emMemberHome .emExploreLink{display:inline-flex;align-self:flex-start;align-items:center;flex-direction:row-reverse;gap:9px;min-height:44px;width:auto;padding:4px 0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#ffb67d;font-size:14px;font-weight:650}
 html.emMemberMobile body #emMemberHome .emExploreLink>span:first-child{font-size:18px}
 html.emMemberMobile[dir=rtl] .emExploreLink>span:first-child{transform:scaleX(-1)}
}
