/* ============================================================
   加载中页面样式（第二屏）
   —— 纯 CSS，无任何外部请求、无跳转、无脚本注入
   ============================================================ */

.screen-loading {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #e0e0e0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .42s ease;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
}
.screen-loading.is-on {
  opacity: 1;
  pointer-events: auto;
}

.screen-loading .container {
  text-align: center;
  padding: 40px;
  max-width: 520px;
  width: 90%;
}
.screen-loading .icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border: 4px solid rgba(255, 255, 255, .1);
  border-top: 4px solid #00d9ff;
  border-radius: 50%;
  animation: ldSpin 1s linear infinite;
}
@keyframes ldSpin { to { transform: rotate(360deg); } }

.screen-loading h1 {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 12px;
  color: #fff;
}
.screen-loading .sub {
  font-size: 14px;
  color: #8a8a9a;
  margin-bottom: 8px;
}
.screen-loading .tip {
  font-size: 13px;
  color: #00d9ff;
  margin-bottom: 32px;
  letter-spacing: 1px;
}

.screen-loading .progress-wrap {
  background: rgba(255, 255, 255, .08);
  border-radius: 50px;
  height: 14px;
  overflow: hidden;
  margin-bottom: 14px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .4);
}
.screen-loading .progress-bar {
  background: linear-gradient(90deg, #00d9ff, #7b2ff7);
  height: 100%;
  width: 5%;
  border-radius: 50px;
  transition: width .4s linear;
  box-shadow: 0 0 12px rgba(0, 217, 255, .6);
}
.screen-loading .percent {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 28px;
  font-variant-numeric: tabular-nums;
}
.screen-loading .percent span {
  font-size: 18px;
  color: #8a8a9a;
}
.screen-loading .contact {
  font-size: 13px;
  color: #6a6a7a;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  margin-top: 20px;
}

.screen-loading .done { display: none; }
.screen-loading .done.show {
  display: block;
  animation: ldFadeIn .6s ease;
}
@keyframes ldFadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- 第一屏（新闻页）淡出用 ---------- */
.screen-news {
  transition: opacity .42s ease;
}
.screen-news.is-off {
  opacity: 0;
}
