/* V112: one persistent, compact account row on every mobile page.
   Desktop utility-bar preference, large-title drawing, and existing board icons remain unchanged. */
@media (min-width:701px) {
  header.site-header > .utility-bar.sg-mobile-account-only {display:none!important;}
}
@media (max-width:700px),
       (orientation:landscape) and (max-height:650px) and (max-width:1200px) and (pointer:coarse) {
  header.site-header > .utility-bar {display:block!important;height:auto!important;min-height:25px!important;max-height:none!important;padding:0!important;margin:0!important;position:relative!important;z-index:20!important;}
  header.site-header > .utility-bar .utility-inner {display:flex!important;justify-content:flex-end!important;align-items:center!important;min-height:25px!important;height:auto!important;padding:2px 9px!important;gap:0!important;box-sizing:border-box!important;}
  header.site-header > .utility-bar .utility-inner > span {display:none!important;}
  header.site-header > .utility-bar nav {display:flex!important;flex-wrap:nowrap!important;justify-content:flex-end!important;align-items:center!important;gap:2px!important;min-width:0!important;}
  header.site-header > .utility-bar nav > a {display:inline-flex!important;align-items:center!important;padding:2px 5px!important;min-height:20px!important;font-size:11px!important;line-height:1.1!important;white-space:nowrap!important;text-decoration:none!important;}
  /* The large duplicate account/login card is not the persistent account menu. */
  .home-sidebar .member-card, .home-sidebar .login-card {display:none!important;}
}
/* Landscape phone: use only existing icon-based navigation, remove duplicate shortcuts,
   and present one editable search field plus the magnifying-glass submit button. */
@media (orientation:landscape) and (max-height:650px) and (max-width:1200px) and (pointer:coarse) {
  header.site-header > .utility-bar .utility-inner {min-height:23px!important;padding:1px 8px!important;}
  header.site-header > .utility-bar nav > a {font-size:10px!important;min-height:19px!important;padding:1px 4px!important;}
  .home-sidebar .quick-card, .mobile-board-tabs, .home-sidebar .home-search-card {display:none!important;}
  header.site-header .sg-mobile-search-above-menu {display:block!important;width:100%!important;max-width:100%!important;padding:5px 9px!important;margin:0!important;box-sizing:border-box!important;background:#fff!important;}
  header.site-header .sg-mobile-search-above-menu form {display:grid!important;grid-template-columns:minmax(0,1fr) 35px!important;gap:5px!important;align-items:center!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;}
  header.site-header .sg-mobile-search-above-menu input[type=search] {display:block!important;grid-column:1!important;width:100%!important;min-width:0!important;max-width:100%!important;height:34px!important;min-height:34px!important;padding:5px 9px!important;margin:0!important;box-sizing:border-box!important;font-size:13px!important;}
  header.site-header .sg-mobile-search-above-menu button {display:grid!important;grid-column:2!important;place-items:center!important;width:35px!important;min-width:35px!important;max-width:35px!important;height:34px!important;min-height:34px!important;margin:0!important;padding:0!important;font-size:23px!important;line-height:1!important;box-sizing:border-box!important;}
}
