/* ============================================================
   Jxs 开屏加载层  —— /static/jxs/v3/loader.css
   skin-A：入口页（登录 / 注册 / 首页）   深蓝品牌渐变
   skin-C：内页（会员中心）               极简白
   兜底：即使 JS 完全没执行，2.6 秒后也会自动淡出，绝不卡页面
   ============================================================ */
#jxsLoader{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;
  overflow:hidden;font-family:-apple-system,"Microsoft YaHei","PingFang SC","Helvetica Neue",sans-serif;
  transition:opacity .45s ease,visibility .45s ease;
  animation:jxsLoaderAutoOff .01s linear 2.6s forwards}
#jxsLoader.jl-out{opacity:0;visibility:hidden}
/* 站内连续跳转时整层不出现（判定在 body 渲染前完成，不会闪） */
html.jl-skip #jxsLoader{display:none!important;animation:none!important}
@keyframes jxsLoaderAutoOff{to{opacity:0;visibility:hidden}}

#jxsLoader .jl-halo{position:absolute;width:430px;height:430px;border-radius:50%;pointer-events:none}
#jxsLoader .jl-ring{position:absolute;border-radius:50%;pointer-events:none}
#jxsLoader .jl-box{position:relative;z-index:3;display:flex;flex-direction:column;align-items:center;
  text-align:center;padding:0 20px}
#jxsLoader .jl-logo{width:92px;height:92px;display:block}
#jxsLoader .jl-brand{font-size:20px;font-weight:800;letter-spacing:1.5px;margin:18px 0 6px;line-height:1.2}
#jxsLoader .jl-sub{font-size:12.5px;letter-spacing:.3px;min-height:18px}
#jxsLoader .jl-bar{width:222px;max-width:64vw;height:3px;border-radius:3px;margin-top:20px;overflow:hidden}
#jxsLoader .jl-bar i{display:block;height:100%;width:0;border-radius:3px;transition:width .16s linear}
#jxsLoader .jl-num{font-size:12px;margin-top:9px;font-variant-numeric:tabular-nums;letter-spacing:.5px}

/* ---------------- A：品牌渐变 ---------------- */
#jxsLoader.skin-A{background:radial-gradient(120% 90% at 50% 0%,#1d4ed8 0%,#0b2a6f 42%,#06122f 100%)}
#jxsLoader.skin-A .jl-halo{background:radial-gradient(circle,rgba(80,205,255,.5) 0%,rgba(37,99,235,.2) 40%,transparent 70%)}
#jxsLoader.skin-A .jl-ring{border:1px solid rgba(255,255,255,.26)}
#jxsLoader.skin-A .jl-ring.r1{width:126px;height:126px;animation:jxsSpin 7s linear infinite}
#jxsLoader.skin-A .jl-ring.r2{width:160px;height:160px;border-color:rgba(255,255,255,.1);
  border-top-color:rgba(125,211,252,.72);animation:jxsSpin 2.6s linear infinite}
#jxsLoader.skin-A .jl-brand{color:#fff}
#jxsLoader.skin-A .jl-sub{color:rgba(255,255,255,.62)}
#jxsLoader.skin-A .jl-bar{background:rgba(255,255,255,.16)}
#jxsLoader.skin-A .jl-bar i{background:linear-gradient(90deg,#60a5fa,#22d3ee);box-shadow:0 0 12px rgba(34,211,238,.6)}
#jxsLoader.skin-A .jl-num{color:rgba(255,255,255,.78)}

/* ---------------- C：极简白 ---------------- */
#jxsLoader.skin-C{background:#f7f9fc}
#jxsLoader.skin-C .jl-halo{background:radial-gradient(circle at 50% 46%,#ffffff 0%,#ffffff 46%,rgba(255,255,255,0) 74%)}
#jxsLoader.skin-C .jl-ring{display:none}
#jxsLoader.skin-C .jl-brand{color:#0f172a}
#jxsLoader.skin-C .jl-sub{color:#7c8698}
#jxsLoader.skin-C .jl-bar{background:#e6ebf3}
#jxsLoader.skin-C .jl-bar i{background:#2563eb}
#jxsLoader.skin-C .jl-num{color:#8b95a7}

@keyframes jxsSpin{to{transform:rotate(360deg)}}

@media (max-width:520px){
  #jxsLoader .jl-logo{width:78px;height:78px}
  #jxsLoader.skin-A .jl-ring.r1{width:106px;height:106px}
  #jxsLoader.skin-A .jl-ring.r2{width:136px;height:136px}
  #jxsLoader .jl-brand{font-size:18px}
}
@media (prefers-reduced-motion:reduce){
  #jxsLoader .jl-ring{animation:none!important}
  #jxsLoader .jl-halo{animation:none!important}
}
