/* MOBILE_FOUNDATION_REVIEW_V1 */
/* Only mobile layout. No business or chat event changes. */
@media(max-width:650px){
 html,body{
  width:100%;
  min-width:0;
 }
 *,*::before,*::after{
  box-sizing:border-box;
 }
 .site{
  width:100%;
  min-width:0;
  max-width:100%;
 }
 .site>main{
  width:100%;
  min-width:0;
  max-width:100%;
 }
 .site>main img,
 .site>main video,
 .site>main canvas{
  max-width:100%;
 }
 .site .topbar,
 .site .head-search,
 .site .head-search input{
  min-width:0;
 }
 .site .auth-card,
 .site .mc-page,
 .site .mc-profile,
 .site .mc-plan-section{
  width:100%;
  min-width:0;
  max-width:100%;
 }
 .site input:not([type=checkbox]):not([type=radio]),
 .site select,
 .site textarea{
  max-width:100%;
 }
 input,select,textarea{
  font-size:max(16px,1em);
 }
 .mc-plan-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
 }
 .mc-plan-grid>*{
  min-width:0;
 }
 .a48-shell,
 .a48-workspace,
 .a48-content{
  min-width:0;
  max-width:100%;
 }
 .a48-shell .admin-grid{
  grid-template-columns:minmax(0,1fr);
 }
}


/* HOME_TOPBAR_LAYER_FIX_V1 */
@media(max-width:650px){
 body:has(.yj-feed-card) .topbar{
  z-index:1000;
 }
}


/* HOME_SEARCH_HIDE_20261116 */
@media(max-width:650px){
 body:has(.yj-feed-card) .topbar .head-search{
  display:none!important;
 }
 body:has(.yj-feed-card) .topbar{
  justify-content:space-between;
 }
}
