/* Moonbase Website World: minimal, cinematic social header; no world/simulation changes. */
body > header{position:relative;z-index:80;min-height:76px;flex-shrink:0;gap:16px}
.moonbase-social-desktop{display:flex;align-items:center;justify-content:flex-end;gap:21px;flex-shrink:0}
#moonbase-header-video-slot{display:inline-flex;align-items:center;min-width:47px}
.moonbase-social-icon{display:inline-flex;align-items:center;justify-content:center;
 color:#a4ffc0;text-decoration:none;width:30px;height:34px;transition:color .15s ease,filter .15s ease}
.moonbase-social-icon:hover{color:#c8ffdc;filter:drop-shadow(0 0 6px rgba(85,255,151,.32))}
.moonbase-social-icon:focus-visible{outline:2px solid #a4ffc0;outline-offset:3px;border-radius:4px}
.moonbase-mobile-nav{display:none}
@media (max-width:840px){
 body > header{padding:0 15px;height:70px;min-height:70px;gap:10px}
 body > header > div:first-child{min-width:0}
 body > header h1{font-size:clamp(14px,3.7vw,20px);white-space:nowrap;line-height:1.2;letter-spacing:.025em}
 body > header .integration-subhead{display:block;font-size:9px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 body > header .moonbase-social-desktop{display:none!important}
 body > header .header-actions{
  display:flex!important;position:absolute!important;left:15px!important;right:auto!important;top:auto!important;bottom:12px!important;transform:none!important;
  justify-content:flex-start!important;align-items:center!important;
  gap:7px!important;max-width:none!important;margin-top:4px;
  white-space:nowrap;pointer-events:none;
 }
 body > header .header-actions #clock.world-live-clock{
  position:static!important;transform:none!important;
  font-size:11px!important;line-height:1.25!important;
  font-variant-numeric:tabular-nums;
 }
 body > header .header-actions .staging-label{font-size:9px!important;line-height:1.25!important}
 body > header > div:first-child{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;align-self:flex-start;gap:0;flex:1 1 auto;min-width:0;margin-top:12px}
 body > header .integration-subhead{font-size:10px;line-height:1.3;margin-top:5px;max-width:none;white-space:nowrap}
 body > header{height:88px!important;min-height:88px!important;flex-basis:88px!important;align-items:center!important}
 @media(max-width:700px) and (orientation:portrait){
  body > header{height:calc(94px + env(safe-area-inset-top,0px))!important;
   min-height:calc(94px + env(safe-area-inset-top,0px))!important;
   flex-basis:calc(94px + env(safe-area-inset-top,0px))!important;
   padding:env(safe-area-inset-top,0px) 14px 0!important;align-items:center!important}
 }
 @media(orientation:landscape) and (max-height:480px){
  body > header{height:calc(70px + env(safe-area-inset-top,0px))!important;
   min-height:calc(70px + env(safe-area-inset-top,0px))!important;
   flex-basis:calc(70px + env(safe-area-inset-top,0px))!important}
 }
 @media(max-width:380px){
  body > header .integration-subhead{font-size:9px}
 }
 @media(max-width:340px){body > header .integration-subhead{font-size:8.5px}}

 .moonbase-mobile-nav{display:block;margin-left:auto;flex:0 0 auto}
 .moonbase-mobile-menu-toggle{display:grid;place-items:center;width:41px;height:41px;padding:0;
  background:transparent;border:1px solid #37444b;border-radius:6px;color:#c5d3da;cursor:pointer}
 .moonbase-mobile-menu-toggle[aria-expanded="true"]{color:#e4f5eb;border-color:#729a8b;background:#14221e}
 .moonbase-mobile-menu-toggle:focus-visible,.moonbase-mobile-menu a:focus-visible,
 .moonbase-mobile-menu button:focus-visible{outline:2px solid #9ce7b5;outline-offset:2px}
 .moonbase-mobile-menu{position:absolute;top:calc(100% - 1px);right:12px;
  width:min(270px,calc(100vw - 24px));padding:8px;border:1px solid #354b51;
  border-radius:0 0 9px 9px;background:#101a20f2;
  box-shadow:0 15px 36px rgba(0,0,0,.63);backdrop-filter:blur(12px);
  display:flex;flex-direction:column;gap:2px;z-index:90}
 .moonbase-mobile-menu[hidden]{display:none!important}
 .moonbase-mobile-menu a,.moonbase-mobile-menu button{display:flex;align-items:center;
  justify-content:space-between;width:100%;min-height:47px;padding:0 13px;
  background:transparent;border:0;border-radius:5px;color:#d3e0e7;
  text-decoration:none;text-align:left;font:650 12px ui-monospace,SFMono-Regular,Menlo,monospace;
  letter-spacing:.09em;cursor:pointer}
 .moonbase-mobile-menu a:hover,.moonbase-mobile-menu button:hover{background:#1b2b31;color:#e1ffed}
 .moonbase-mobile-menu svg{flex-shrink:0}
}
@media(max-width:340px){body > header{padding:0 9px}body > header h1{font-size:13px}.moonbase-mobile-menu{right:6px}}
@media(prefers-reduced-motion:reduce){.moonbase-social-icon{transition:none}}

/* Approved subtitle and live authoritative clock; title element/typography unchanged. */
@media(max-width:840px){
 body > header .integration-subhead{display:block!important;overflow:hidden;text-overflow:ellipsis;color:#bcd4c8}
 body > header .header-actions .integration-status{display:none!important}
 body > header .moonbase-mobile-nav{position:relative;z-index:5}
}
