/* mobile-fixes-v26 · live · 5 Nov 2026 ~12:25 AM (America/New_York) · Bryan (iPhone screenshots 12:16 + 12:19 AM)
   1) Five-state bar hidden on Creation Density on phones, keyed to data-fs-stop="density" which the flight itself
      (js/main.js dom()) and the still page (js/journey.js) set on <html>; js/mobile-fixes-v26.js adds inline !important.
   2) Safety net: density CTA + "Follow the Journey" sit >=96px + safe area above the bottom on phones,
      so even if the bar showed it could not cross them.
   3) About (phone): show the rest of the story (FlowState gloss, closing line, sign-off) and let the block rise. */
@media (max-width:1023px), (max-aspect-ratio:21/20){
  html[data-fs-stop="density"] .statebar,
  html[data-fs-density="1"] .statebar,
  html.in-density .statebar{
    opacity:0 !important; visibility:hidden !important; pointer-events:none !important; display:none !important;
  }
}
@media (max-width:760px){
  html.gl #density .ov{
    padding-bottom:calc(96px + env(safe-area-inset-bottom,0px)) !important;
  }
  html.gl #density .block--density,
  html.gl #density .block--density.dens22{padding-bottom:0 !important}
}

/* About · phone: full story, block rises; 0 gap p2→p3 kept (v25b) */
@media (max-width:760px){
  html.gl #about .block--about .story--v3 > p:nth-child(n+6),
  html.gl #about .block--about .story--v3 > .story__sign{display:block !important}
  html.gl #about .ov{
    padding-top:calc(var(--nav-h,64px) + 6px) !important;
    padding-bottom:calc(96px + env(safe-area-inset-bottom,0px)) !important;
  }
  html.gl #about .block--about .story--v3 > .story__sign{margin-top:8px !important;font-size:clamp(15px,3.85vw,16.5px) !important;line-height:1.35 !important}
}
@media (max-width:760px) and (max-height:760px){
  html.gl #about .block--about .label{margin-bottom:2px !important}
  html.gl #about .block--about h2{font-size:clamp(24px,6.6vw,30px) !important;margin-bottom:2px !important}
  html.gl #about .block--about .story--v3 > p{margin-top:3px !important;font-size:14.5px !important;line-height:1.34 !important}
  html.gl #about .block--about .story--v3 > p:first-child{margin-top:0 !important;font-size:16.5px !important;line-height:1.24 !important}
  html.gl #about .block--about .story--v3 > p:nth-child(3){margin-top:0 !important}
  html.gl #about .block--about .story--v3 > .story__q{margin-top:5px !important;font-size:17px !important;line-height:1.22 !important}
}
@media (max-width:760px) and (max-height:760px){
  html.gl #density .ov{padding-bottom:calc(100px + env(safe-area-inset-bottom,0px)) !important;padding-top:calc(var(--nav-h,64px) + 4px) !important}
  html.gl #density .dens22__head h2{font-size:clamp(23px,6.4vw,27px) !important;line-height:1.08 !important}
  html.gl #density .dens23-art{max-height:38px !important}
  html.gl #density .density__p{font-size:14.5px !important;line-height:1.32 !important}
}
@media (max-width:380px) and (max-height:760px){
  html.gl #density .density__p,html.gl #density .dens22__cols p{font-size:14px !important;line-height:1.28 !important}
  html.gl #density .density__ctas{margin-top:10px !important}
}
@media (max-width:760px){
  html.gl #density .dens23-art{max-height:44px !important;width:auto !important;height:auto !important}
}
@media (max-width:760px) and (max-height:760px){
  html.gl #density .dens23-art{max-height:34px !important}
}
@media (max-width:760px) and (max-height:700px){
  html.gl #density .dens22__head h2{font-size:22px !important}
  html.gl #density .density__p,html.gl #density .dens22__cols p{font-size:14px !important;line-height:1.26 !important}
}
@media (max-width:400px) and (min-height:761px) and (max-height:900px){
  html.gl #density .density__p{font-size:14.5px !important;line-height:1.3 !important}
  html.gl #density .dens22__head h2{font-size:27px !important;line-height:1.08 !important}
  html.gl #density .density__qs li{line-height:1.25 !important}
}
