/* laneYD.splash.css — r2_YD 2026-09-28：Telegram/小程序/非 Web 首屏走的 #boot 开屏与 SPA 加载页(/loading)
   原为 52.COM 深绿开屏（#081712 底 + 绿色骰子 logo + 绿色进度条），统一改为云顶国际浅色开屏。
   只改颜色/尺寸，不改显示时机与逻辑。回滚：删除本文件（和 .src）。 */
html body #boot.woai-boot{background:#f6f5fd!important;color:#6d7693!important}
html body #boot .woai-boot__logo{width:min(200px,52vw)!important;max-width:210px!important;filter:drop-shadow(0 6px 18px rgba(132,98,253,.22))!important;margin:0 0 34px!important}
html body #boot .woai-boot__bar{background:rgba(132,98,253,.16)!important}
html body #boot .woai-boot__bar::after{background:linear-gradient(90deg,#8462fd,#b18cff)!important}
html body #boot .woai-boot__status,html body #boot .woai-boot__status:not([data-woai52-boot])::after{color:#6d7693!important}
html body #boot .woai-boot__status[data-woai52-boot="2"]{color:#8462fd!important}
html body #boot .woai-boot__err{color:#e5484d!important}
html[data-theme] body .loading-page,html[data-theme] body .loading-page .loading-container{background:#f6f5fd!important}
html[data-theme] body .loading-page .logo,html[data-theme] body .loading-page .logo-wrapper .logo{width:min(200px,52vw)!important;max-width:210px!important;height:auto!important;object-fit:contain!important;filter:drop-shadow(0 6px 18px rgba(132,98,253,.22))!important}
html[data-theme] body .loading-page .loading-progress{background:rgba(132,98,253,.16)!important}
html[data-theme] body .loading-page .loading-progress .progress-fill{background:linear-gradient(90deg,#8462fd,#b18cff)!important}
html[data-theme] body .loading-page .loading-status .status-text:not(.error):not(.success)::after{color:#6d7693!important}
html[data-woai52-boot="2"] body .loading-page .loading-status .status-text:not(.error):not(.success)::after{color:#8462fd!important}
html[data-theme] body .loading-page .status-text.error{color:#e5484d!important}
html[data-theme] body .loading-page .retry-button{background:linear-gradient(135deg,#8462fd,#a57dff)!important;border:1px solid rgba(132,98,253,.55)!important;box-shadow:0 10px 24px rgba(132,98,253,.25)!important;color:#fff!important}
html[data-theme] body .loading-page .retry-button span{color:#fff!important}

/* 2026-09-29 启动页：静态云顶国际开屏 + 分段文案 + 平滑进度。回滚：去掉 yd-splash 相关规则，并还原 index.php 的 #boot。 */
html.yd-splash-on #l11-first-loading{display:none!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important}
html.yd-splash-on #boot.woai-boot.yd-splash,
html.woai-web-lobby.yd-splash-on #boot.woai-boot.yd-splash{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  pointer-events:auto!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
  background:#D9CCF8!important;
  z-index:2147483000!important;
}
html.yd-splash-on #boot.woai-boot.yd-splash.yd-out{
  opacity:0!important;
  transition:opacity .22s ease!important;
}
#boot.yd-splash .yd-fit{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:min(100vw, calc(100vh * 941 / 1671));
  height:min(100vh, calc(100vw * 1671 / 941));
  width:min(100vw, calc(100dvh * 941 / 1671));
  height:min(100dvh, calc(100vw * 1671 / 941));
  container-type:size;
}
#boot.yd-splash .yd-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:fill;
  display:block;
  animation:none;
}
#boot.yd-splash .yd-glow{display:none;
  position:absolute;
  left:50%;
  top:16.2%;
  width:46%;
  height:20%;
  border-radius:50%;
  pointer-events:none;
  background:radial-gradient(ellipse at center, rgba(255,228,160,.72) 0%, rgba(176,120,255,.34) 38%, rgba(176,120,255,0) 70%);
  animation:yd-breath 2.6s ease-in-out infinite;
  z-index:2;
}
#boot.yd-splash.yd-done .yd-glow{animation:none;opacity:.4}
@keyframes yd-breath{
  0%,100%{opacity:.32;transform:translate(-50%,-50%) scale(.94)}
  50%{opacity:.72;transform:translate(-50%,-50%) scale(1.06)}
}
#boot.yd-splash .yd-status{
  position:absolute;
  left:6%;
  right:6%;
  top:80.1%;
  transform:translateY(-50%);
  z-index:3;
  margin:0;
  text-align:center;
  font-size:2.65cqi;
  line-height:1.25;
  font-weight:600;
  letter-spacing:.04em;
  color:#4d3298;
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Noto Sans SC","Microsoft YaHei",sans-serif;
}
#boot.yd-splash .yd-row{
  position:absolute;
  left:14.8%;
  width:74.5%;
  top:83.25%;
  transform:translateY(-50%);
  z-index:3;
  height:2.35cqi;
  display:flex;
  align-items:center;
  gap:2.2cqi;
}
#boot.yd-splash .yd-track{
  flex:1 1 auto;
  height:100%;
  border-radius:999px;
  background:#d7cdff;
  overflow:hidden;
  box-shadow:inset 0 0 0 1px rgba(132,98,253,.12);
}
#boot.yd-splash .yd-fill{
  height:100%;
  width:0;
  border-radius:999px;
  background:linear-gradient(90deg,#6a2cf0 0%,#9b62ff 70%,#e4d6ff 100%);
  box-shadow:0 0 10px rgba(132,98,253,.45);
}
#boot.yd-splash .yd-pct{
  flex:0 0 auto;
  min-width:4.2em;
  text-align:right;
  font-size:2.45cqi;
  font-weight:650;
  font-variant-numeric:tabular-nums;
  color:#4d3298;
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Noto Sans SC","Microsoft YaHei",sans-serif;
}

/* 2026-09-29: 去掉启动页缓存进度条和百分比，开屏图保留 */
#boot.yd-splash .yd-status,
#boot.yd-splash .yd-row,
#boot.yd-splash .yd-track,
#boot.yd-splash .yd-fill,
#boot.yd-splash .yd-pct{display:none!important}

/* 2026-09-29 splash2: UK88 开屏图，竖屏手机 cover 铺满无留边（徽章与文字居中保留）；横屏/宽屏仍 contain，底色与图边缘一致。回滚：删除本段 */
html.yd-splash-on #boot.woai-boot.yd-splash,
html.woai-web-lobby.yd-splash-on #boot.woai-boot.yd-splash{background:#ede8fb!important}
@media (max-aspect-ratio:1/1) and (min-aspect-ratio:1/3){
  #boot.yd-splash .yd-fit{
    width:max(100vw, calc(100vh * 942 / 1670));
    height:max(100vh, calc(100vw * 1670 / 942));
    width:max(100vw, calc(100dvh * 942 / 1670));
    height:max(100dvh, calc(100vw * 1670 / 942));
  }
}
