/* Bozo's Theme 4.6.0: targeted mobile sizing and collision offsets.
   All controls can be disabled in Theme Settings. */
@media (max-width: 570px) {
  body.cm460-compact-mobile .cm-site-header.cm-v150 .cm-header-inner {
    padding-block: 5px!important;
    column-gap: clamp(3px,1.1vw,8px)!important;
  }
  body.cm460-compact-mobile .cm-site-header.cm-v150 .cm-brand-link { min-width:0; }
  body.cm460-compact-mobile .cm-site-header.cm-v150 .cm-header-actions {
    display:flex;align-items:center;gap:clamp(3px,1vw,6px)!important;flex-shrink:0;
  }
  body.cm460-compact-mobile .cm-site-header.cm-v150 .cm-header-actions > button,
  body.cm460-compact-mobile .cm-site-header.cm-v150 .cm-header-actions > a {
    min-height:44px;
  }
  body.cm460-compact-mobile .cm-site-header.cm-v150 .cm-brand-title { min-width:0; }
  body.cm460-compact-mobile .cm-site-header.cm-v150 .cm-header-actions > .cm-nav-bulb {
    min-height:44px!important;
  }
}
@media(max-width: 1080px) {
  /* Hidden while menu is open. No JS is needed to hide basic known widgets. */
  html.cm-mobile-menu-open body.cm460-hide-floats .bozat-floating,
  html.cm-mobile-menu-open body.cm460-hide-floats .cm-admin-quick-edit,
  html.cm-mobile-menu-open body.cm460-hide-floats .bsh-support-widget,
  html.bsh-mobile-menu-open body.cm460-hide-floats .bozat-floating,
  html.bsh-mobile-menu-open body.cm460-hide-floats .cm-admin-quick-edit,
  html.bsh-mobile-menu-open body.cm460-hide-floats .bsh-support-widget {
    visibility:hidden!important; opacity:0!important; pointer-events:none!important;
  }
}
@media(max-width: 650px) {
  /* Applied only when an actual overlap is measured in a single browser frame.
     The Support button's left/right values are not changed. */
  body.cm460-float-spacing .bozat-floating.bozat-bottom.cm460-lifted,
  body.cm460-float-spacing .cm-admin-quick-edit.cm460-lifted {
    bottom:var(--cm460-lift)!important;
  }
}
@media(prefers-reduced-motion:reduce){
 body.cm460-compact-mobile .cm-site-header.cm-v150 * {scroll-behavior:auto;}
}
