/* Shared screen and touch adjustments. No media or message layout overrides. */
@layer gm-screen35 {
 html.gm-screen35 {scroll-padding-top:calc(var(--gm35-top,72px) + 12px);scroll-padding-bottom:calc(var(--gm35-bottom,66px) + 12px)}
 html.gm-screen35 body header.gm-brand-header{padding-left:max(12px,env(safe-area-inset-left))!important;padding-right:max(12px,env(safe-area-inset-right))!important}
 html.gm-screen35 header.gm-brand-header :is(.top-actions,.landing-actions){flex-shrink:0!important;overflow:visible!important}
 html.gm-screen35 header.gm-brand-header :is(.page-exit-btn,.notification-bell,.mobile-menu-btn,.top-avatar){min-width:44px!important;min-height:44px!important;touch-action:manipulation}
 html.gm-screen35 nav.bottom-nav.gm-bottom29{padding-left:env(safe-area-inset-left,0px)!important;padding-right:env(safe-area-inset-right,0px)!important}
 html.gm-screen35 nav.bottom-nav.gm-bottom29>a{min-height:66px!important;touch-action:manipulation}
 html.gm-screen35 nav.bottom-nav.gm-bottom29>a,
 html.gm-screen35 nav.bottom-nav.gm-bottom29>a>small{color:#d5d5d3!important}
 html.gm-screen35 nav.bottom-nav.gm-bottom29>a.active,
 html.gm-screen35 nav.bottom-nav.gm-bottom29>a.active>small{color:#fff!important}
 html.gm-screen35 nav.bottom-nav.gm-bottom29>a.active>small{text-decoration:underline;text-underline-offset:3px}
 html.gm35-content :is(button,summary,a,[role=button]):focus-visible{outline:3px solid #747471!important;outline-offset:3px!important}
 html.gm35-content :is([data-gm34-dots],a.gm-round,button.gm-round,.back-btn,.notification-menu-btn,.gm-emoji-button){min-width:44px!important;min-height:44px!important;box-sizing:border-box!important;touch-action:manipulation}
 html.gm35-content [data-gm34-dots] {flex-shrink:0!important}
 html.gm35-content :is(.gm-feed-search,.gm-search,.notification-search,.notifications-search){min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
 html.gm35-content :is(.gm-feed-search,.gm-search,.notification-search,.notifications-search) input{min-width:0!important;max-width:100%!important;flex:1 1 0!important;min-height:44px!important;box-sizing:border-box!important}
 html.gm35-content .gm-feed-search>button[type=submit],html.gm35-content .gm-feed-search>a{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:44px!important;min-height:44px!important;flex-shrink:0!important;touch-action:manipulation}
 html.gm35-content :is(.gm-tabs,.filter-bar,.notification-filters,.video-top-tabs){max-width:100%!important;min-width:0!important;overflow-x:auto!important;overscroll-behavior-x:contain;scrollbar-width:thin!important;scroll-padding-inline:10px}
 html.gm35-content :is(.gm-tabs,.filter-bar,.notification-filters,.video-top-tabs)>:is(a,button){flex-shrink:0!important;min-height:44px!important;touch-action:manipulation}
 html.gm35-content :is(.notification-pro-card,.notification-card,.gm-notification-card){min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
 html.gm35-content :is(.notification-main,.notification-copy,.notif-main,.notif-copy){min-width:0!important;overflow-wrap:anywhere}
 html.gm35-content .gm-drawer{max-width:min(390px,100vw)!important;max-height:100dvh!important;box-sizing:border-box!important}
 html.gm35-content .gm-drawer-scroll{min-height:0!important;overflow-y:auto!important;padding-bottom:max(16px,env(safe-area-inset-bottom))!important;overscroll-behavior-y:contain}
 html.gm35-content .gm-drawer :is(.gm-drawer-link,.gm-drawer-quick a){min-height:48px!important;touch-action:manipulation}
 @media(max-width:760px){
  html.gm35-content :is(input[type=search],input[type=text],input[type=email],input[type=password],textarea,select){font-size:16px!important}
 }
 @media(max-width:359px){
  html.gm-screen35 body header.gm-brand-header{height:auto!important;min-height:110px!important;flex-wrap:wrap!important;justify-content:center!important}
  html.gm-screen35 header.gm-brand-header .gm-brand-anchor{flex:1 1 100%!important;max-width:none!important;display:flex!important;justify-content:center!important}
  html.gm-screen35 header.gm-brand-header .gm-brand-name{font-size:15px!important}
 }
 @media(prefers-reduced-motion:reduce){html.gm-screen35{scroll-behavior:auto!important}}
}
