/* BoothbysWorkShop v13.0.17: consistent sticky site chrome.
   Keep scrollable content and mobile safe areas accessible; no orb engine changes. */
:root { --bw-sticky-header-offset: 0px; }
html { scroll-padding-top: 92px; }
body { min-height: 100vh; min-height: 100dvh; }
#promoter-header, header#promoter-header, .site-header, header.sl-global-head, header.mast,
body > header:not(.window-header) {
 position: sticky !important; top: 0 !important; z-index: 180 !important;
 background-color: rgba(7, 14, 30, .95);
 -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
#tools-taskbar, footer#tools-taskbar, .site-footer, body > footer {
 position: sticky !important; bottom: 0 !important; z-index: 175 !important;
 background-color: rgba(6, 12, 28, .96);
 -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
/* Keep popups over site chrome and allow internal scroll. */
.tools-window, #start-menu, .bw-window, [role="dialog"] { z-index: 210; }
main, #desktop-area, .app-content { min-width: 0; }
@media (max-width: 700px) {
 html { scroll-padding-top: 73px; }
 #promoter-header, .site-header, header.sl-global-head, header.mast, body > header:not(.window-header) {
  max-width: 100%; }
 #tools-taskbar, .site-footer, body > footer { padding-bottom: max(4px, env(safe-area-inset-bottom, 0px)); }
}
@media print { #promoter-header, .site-header, header.sl-global-head, header.mast,
  #tools-taskbar, .site-footer, body > header, body > footer {
  position: static !important; -webkit-backdrop-filter: none !important; backdrop-filter:none !important; } }
