/* ============================================================
   Zeus Style · 开屏页 v0.5.23
   设计：品牌紫 (#2A1B52 → #120A28) + App 正式图标 /icon-512.png
   说明：原生 windowBackground 与 WebView 开屏同色系，启动无跳色
   ============================================================ */
.ts-splash{
  position:fixed; inset:0; z-index:99999;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:0; overflow:hidden;
  background:linear-gradient(165deg,#2A1B52 0%,#1B1038 52%,#120A28 100%);
  color:#fff;
  font-family:-apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-tap-highlight-color:transparent;
  transition:opacity .55s ease, transform .55s ease, filter .55s ease;
  will-change:opacity, transform;
}
/* zs-app.js init() 添加的是 .off；旧版 CSS 只写了 .is-hidden，导致开屏一直硬切 */
.ts-splash.off,.ts-splash.is-hidden{ opacity:0; transform:scale(1.04); filter:blur(4px); pointer-events:none; }

/* 同色系柔光（不是白色羽化雾） */
.ts-aura{ position:absolute; border-radius:50%; pointer-events:none; }
.ts-aura-1{
  width:76vw; height:76vw; left:-28vw; top:-20vh; opacity:.62;
  background:radial-gradient(circle, rgba(124,92,255,.30), rgba(124,92,255,0) 68%);
  animation:tsGlow 7s ease-in-out infinite alternate;
}
.ts-aura-2{
  width:68vw; height:68vw; right:-26vw; bottom:-22vh; opacity:.50;
  background:radial-gradient(circle, rgba(198,160,255,.20), rgba(198,160,255,0) 70%);
  animation:tsGlow 9s ease-in-out infinite alternate-reverse;
}
@keyframes tsGlow{
  0%{ transform:translate3d(0,0,0) scale(1); }
  100%{ transform:translate3d(3vw,2vh,0) scale(1.10); }
}

/* 中心：App 正式图标（桌面图标同一张，不重绘、不拉伸） */
.ts-core{
  position:relative; width:132px; height:132px;
  display:flex; align-items:center; justify-content:center;
  animation:tsFloat 4.2s ease-in-out infinite, tsIn .45s ease both;
}
.ts-logo{
  width:132px; height:132px; border-radius:30px; display:block;
  box-shadow:0 18px 48px rgba(0,0,0,.46), 0 0 0 1px rgba(255,255,255,.15), 0 0 46px rgba(124,92,255,.40);
}
@keyframes tsFloat{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-8px); } }
@keyframes tsIn{ from{ opacity:0; transform:scale(.88); } to{ opacity:1; transform:scale(1); } }

.ts-word{
  margin-top:24px; font-size:27px; font-weight:800; letter-spacing:.18em;
  color:#ffffff; text-shadow:0 2px 18px rgba(124,92,255,.55);
  animation:tsIn .40s ease both;
}
.ts-tagline{
  margin:9px 0 0; font-size:13px; letter-spacing:.24em; font-weight:400;
  color:#d7c9ff; animation:tsIn .46s ease .05s both;
}
/* 兜底：h5 内联样式晚于本文件加载，用 ID 特异性保证品牌名/副标题可见 */
#zs-splash .ts-word, #zs-splash .ts-tagline{ display:block; }

.ts-bar{
  margin-top:32px; width:132px; height:3px; border-radius:9px;
  background:rgba(255,255,255,.13); overflow:hidden;
}
.ts-bar i{
  display:block; height:100%; width:38%; border-radius:9px;
  background:linear-gradient(90deg,#7c5cff,#d8b878);
  animation:tsBar 1.35s ease-in-out infinite;
}
@keyframes tsBar{ 0%{ transform:translateX(-110%); } 100%{ transform:translateX(300%); } }

@media (prefers-reduced-motion: reduce){
  .ts-aura,.ts-core,.ts-word,.ts-tagline,.ts-bar i{ animation:none !important; }
  .ts-word,.ts-tagline{ opacity:1; transform:none; }
  .ts-splash{ transition:opacity .25s ease; }
}
