/* NOXER V39 - remove all legacy clock/timer UI and fix the landing navbar.
   Loaded last to override V32/V33/V37 even if cached by the service worker. */
#nx32ClockDock, #nx32TimerPanel, #nx37ClockDate,
.nx32-clock-dock, .nx32-timer-panel, .nx33-grip-timer-trigger,
.nx33-grip-timer-panel { display:none !important; visibility:hidden !important; }

/* Header repair: keep the logo, menus and actions in separate flex lanes. */
body.site-page .site-header {
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:clamp(16px,2vw,34px) !important;
  padding-inline:clamp(22px,4vw,66px) !important;
  min-width:0;
}
body.site-page .site-header > .brand {flex:0 0 auto; min-width:max-content; z-index:2;}
body.site-page .site-header > .site-nav {
  display:flex;
  position:static !important;
  left:auto !important;
  right:auto !important;
  top:auto !important;
  transform:none !important;
  margin-inline:auto !important;
  flex:0 1 auto;
  align-items:center;
  justify-content:center;
  gap:clamp(8px,1.15vw,23px) !important;
  min-width:0;
  white-space:nowrap;
}
body.site-page .site-header > .header-right {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:clamp(8px,.9vw,15px) !important;
  flex:0 0 auto;
  min-width:max-content;
  margin-left:0 !important;
  z-index:2;
}
body.site-page .site-header .site-nav > a,
body.site-page .site-header .site-nav .nav-link,
body.site-page .site-header .header-right .nav-link {font-size:12px; white-space:nowrap;}
body.site-page .site-header .site-nav .nav-link {padding-inline:5px;}
body.site-page .site-header .site-nav > .nx35-mercury-indicator {display:none !important;}
body.site-page .hero {padding-top:80px !important;}
body.site-page .hero .hero-content {position:relative; z-index:5 !important;}
body.site-page .hero h1 {position:relative; margin-top:0;}
/* The old floating clock sometimes left a ghost silver pill after removal. */
body.site-page #nx37ClockDate,
body.site-page .nx37-time-float {display:none !important;}
@media (max-width:1080px) {
  body.site-page .site-header {padding-inline:24px !important;}
  body.site-page .site-header > .site-nav,
  body.site-page .site-header > .header-right {display:none !important;}
  body.site-page .site-header > .mobile-menu-toggle {display:grid !important; margin-left:auto; z-index:45;}
  body.site-page .site-header.mobile-open > .site-nav {
    display:flex !important;
    position:absolute !important;
    left:16px !important; right:16px !important;
    top:calc(100% + 6px) !important;
    margin:0 !important; padding:15px !important;
    transform:none !important;
    flex-direction:column; align-items:stretch; gap:5px !important;
    width:auto; min-width:0;
    border:1px solid rgba(255,255,255,.19);
    border-radius:17px;
    background:rgba(18,20,29,.96);
    backdrop-filter:blur(24px);
    -webkit-backdrop-filter:blur(24px);
    box-shadow:0 24px 55px #0008;
    z-index:44;
  }
  body.site-page .site-header.mobile-open > .site-nav > a,
  body.site-page .site-header.mobile-open > .site-nav > .menu-wrap > .nav-link {display:flex; width:100%;padding:12px;}
  body.site-page .site-header.mobile-open > .site-nav > .menu-wrap > .mega-menu {
    top:44px; left:10px; right:auto; width:min(330px,calc(100vw - 65px));
    max-width:calc(100vw - 65px);
  }
}
@media(max-width:600px) {
  body.site-page .hero {padding-top:65px !important;}
  body.site-page .hero h1 {font-size:clamp(54px,12vw,78px);}
}
