/* ===================== PREVIEW 2026-11-09 (evening) — mlite.css: smooth scroll on real phones =====================
   Tester's Android recording (Nov 9 7:06 PM): fast first paint, but scrolling down from the hero showed a dark/blank screen
   for ~1 s before the feature cards painted, and a frame with only the footer. Linked LAST.
   A. every screen (static mode): content that waited for an entrance animation is visible by default (static.css removed the
      animations, so the hero title / subtitle / team-ID card / stats were left at opacity:0).
   B. phones / touch only: no fixed full-screen backgrounds (the dark theme painted a radial gradient with
      background-attachment:fixed on html AND body: the phone repainted the whole screen on every scrolled frame), no blur /
      drop-shadow / masks / blend layers, glass becomes a denser fill of the same tint, small flat shadows, below-the-fold
      sections render lazily. Desktop look unchanged. */

/* ---------- A. visible by default (all devices, static mode) ---------- */
html.hx-static :is(.hx-eye,.hx-w,.hx-sub,.hx-entry,.hx-land .card.hx-entry,.hx-stats,.hx-scroll,.hx-f,.hx-f.on,#_){opacity:1!important;transform:none!important;filter:none!important;visibility:visible!important}
html.hx-static :is(.pwrap.hx-wait,.pwrap.hx-wait .tk,#_){opacity:1!important;visibility:visible!important}
/* the footer never stands alone at the top while a screen is being drawn */
html.hx-static #view{min-height:calc(100vh - 120px);min-height:calc(100svh - 120px)}

/* ---------- B. phones / touch ---------- */
@media (max-width:900px),(hover:none) and (pointer:coarse){
  /* 1. no fixed full-screen backgrounds: same gradient, painted once at the top of the page, scrolling with it */
  html.hx-static[data-theme=dark]:not([data-skin=hc]){background:#040908 radial-gradient(120% 70% at 50% -10%,#0c2a20 0%,#06110d 55%,#040908 100%) no-repeat scroll!important;background-size:100% 100vh!important}
  html.hx-static[data-theme=dark]:not([data-skin=hc]) body{background:transparent none!important}
  html.hx-static :is(html,body,#_){background-attachment:scroll!important}
  /* full-screen decorative layers (grid / noise / aurora / sky / particles): gone */
  html.hx-static body::before,html.hx-static body::after{display:none!important}
  html.hx-static :is(#hxBg,#hxSky,#hxFx,#hxWarp,#hx3d,.hx-mesh,.hx-grid,#_){display:none!important}

  /* 2. no blur, drop-shadow or blend layers anywhere (the masked gradient edges of the cards stay: they are the look) */
  html.hx-static :is(*,#_),html.hx-static :is(*,#_)::before,html.hx-static :is(*,#_)::after{
    -webkit-backdrop-filter:none!important;backdrop-filter:none!important;filter:none!important;
    mix-blend-mode:normal!important;
    text-shadow:none!important;will-change:auto!important}
  /* purely decorative glass overlays (holo / sweep / glow / glass edge): gone */
  html.hx-static :is(.hx-holo,.hx-sweep,.hx-glow,.hx-orbit,#_){display:none!important}

  /* 3. small, flat shadows only (no blur radius) */
  html.hx-static :is(*,#_){box-shadow:none!important}
  html.hx-static :is(.card,.hrow,.hx-f,.hx-entry,.sheet .in,#_){box-shadow:0 1px 0 rgba(0,0,0,.10)!important}
  html.hx-static :is(.pbtn,.plan-cta,.lgpill,.btn,#_){box-shadow:0 2px 0 rgba(0,0,0,.14)!important}
  html.hx-static :is(header.top,#_){box-shadow:0 1px 0 rgba(0,0,0,.08)!important}
  html.hx-static :is(nav.tabs,#_){box-shadow:0 -1px 0 rgba(0,0,0,.08)!important}

  /* 4. glass → a denser fill of the same tint (what used to sit behind the blur) */
  html.hx-static[data-theme=dark]:not([data-skin=hc]) :is(.hx-f,#_){background:linear-gradient(155deg,#132a22,#0b1a15)!important;border-color:rgba(255,255,255,.10)!important}
  html.hx-static[data-theme=dark]:not([data-skin=hc]) :is(.hx-land .card.hx-entry,#_){background:linear-gradient(155deg,#16302a,#0d1f19 55%,#0a1814)!important;border-color:rgba(255,255,255,.18)!important}
  html.hx-static[data-theme=light] :is(.hx-f,#_){background:linear-gradient(155deg,#ffffff,#f6faf8)!important;border-color:rgba(10,80,50,.12)!important}
  html.hx-static[data-theme=light] :is(.hx-land .card.hx-entry,#_){background:#ffffff!important}
  html.hx-static[data-theme=dark]:not([data-skin=hc]) :is(header.top,#_){background:#06110d!important}
  html.hx-static[data-theme=dark]:not([data-skin=hc]) :is(nav.tabs,#_){background:#07110d!important}
  html.hx-static[data-theme=light] :is(header.top,nav.tabs,#_){background:#ffffff!important}

  /* 5. no 3D / layer promotion */
  html.hx-static :is(.hx-f,.hx-f.on,.hx-f.tilt,.hx-field::before,.hx-cta::after,#_){transform:none!important;perspective:none!important}

  /* 6. below the fold renders lazily (the space is reserved, so nothing jumps) */
  html.hx-static :is(.hx-land .hx-feats,.hx-land .hx-sec,#_){content-visibility:auto;contain-intrinsic-size:auto 700px}
  html.hx-static #view>:is(.card,section):nth-child(n+4):not(:has(.cmp-heads,[style*=sticky],input,select,textarea)){content-visibility:auto;contain-intrinsic-size:auto 420px}
  html.hx-static .sfoot{content-visibility:auto;contain-intrinsic-size:auto 60px}
}
