/* V102 — Mobile home foundation only. Intentionally no desktop/service changes. */
@media screen and (max-width:700px){
  /* The mobile viewport chrome is independent from document scroll. */
  html{scroll-padding:0!important}
  #mobileFrame{position:fixed!important;top:0!important;left:0!important;right:0!important;bottom:auto!important;width:100%!important;height:var(--afsc-mobile-height,100svh)!important;transform:none!important;will-change:auto!important;z-index:45!important;overflow:hidden!important}
  #mobileFrame path{opacity:1!important}
  body header{top:22px!important;left:29px!important;right:29px!important;height:52px!important;z-index:47!important}
  body header img{width:77px!important;max-width:77px!important;max-height:43px!important}
  #mobileHeaderMenu{top:23px!important;right:29px!important;width:auto!important;min-width:0!important;height:48px!important;min-height:48px!important;padding:0 4px 0 10px!important;background:transparent!important;border:0!important;clip-path:none!important;box-shadow:none!important;font-size:10px!important;z-index:49!important;gap:8px!important}
  #mobileHeaderMenu[aria-expanded="true"]{border:0!important;background:transparent!important}
  #mobileHeaderMenu .m-glyph{font-size:16px!important;color:#d4af37!important}
  /* footer: divisions fixed; progress glass begins at inner edge of SOUND partition */
  #mobileFooter{position:fixed!important;bottom:auto!important;top:calc(var(--afsc-mobile-height,100svh) - 82px)!important;left:19px!important;right:19px!important;height:63px!important;z-index:47!important;transform:none!important;overflow:hidden!important}
  #mobileFooter #mobileProgressTrack{position:absolute!important;display:block!important;pointer-events:none!important;z-index:0!important;top:1px!important;bottom:0!important;left:61px!important;right:61px!important;background:transparent!important;overflow:hidden!important}
  #mobileFooter #mobileProgressFill{height:100%!important;width:100%!important;transform:scaleX(var(--afsc-progress,0));transform-origin:left center;background:linear-gradient(90deg,rgba(149,163,175,.12),rgba(181,194,206,.07));border-right:1px solid rgba(212,175,55,.22);transition:transform .14s linear}
  #mobileFooter>*:not(#mobileProgressTrack){position:relative;z-index:2}
  #mobileSceneControls{background:transparent!important}
  #mobileSound[aria-pressed="true"]{color:#d4af37!important}
  #mobileSound:focus-visible,#mobileHeaderMenu:focus-visible{outline:1px solid rgba(212,175,55,.6);outline-offset:-4px}
  /* Prevent desktop HUD edges from drawing a second, sliding border */
  #frame,#afscFrameOutline,#footer{display:none!important}
  /* Readable hero region, no change to cinematic background */
  body #copy{left:34px!important;width:calc(100% - 68px)!important;bottom:clamp(141px,18%,169px)!important}
  body #copy h1,body #copy #title{font-size:clamp(29px,8vw,39px)!important;line-height:1.14!important;letter-spacing:-.012em!important;margin:0 0 14px!important}
  body #copy #desc{max-width:305px!important;font-size:12px!important;line-height:1.55!important}
  #mobileOverlay{position:fixed!important;top:86px!important;bottom:auto!important;height:calc(var(--afsc-mobile-height,100svh) - 168px)!important;max-height:none!important;z-index:48!important}
}
@media screen and (max-width:380px){#mobileFooter #mobileProgressTrack{left:54px!important;right:54px!important}body #copy{left:30px!important;width:calc(100% - 60px)!important}}
@media (prefers-reduced-motion:reduce){#mobileProgressFill{transition:none!important}}
