/* 仅普通 Web 入口加载；尺寸以 1920×1080 设计稿为基准，小屏自适应。 */
#splash-loading {
  /* 脱离居中布局，显示进度时不挤动 Logo。 */
  position: absolute;
  top: 72%;
  left: 0;
  right: 0;
  margin: 0 auto;
  max-width: 640px;
  text-align: center;
}
#splash-loading.active { display: block; }
#splash-loading .progress-wrapper { margin-left: auto; margin-right: auto; }
#splash-loading .loading-text { letter-spacing: 0.04em; overflow-wrap: anywhere; }
.loading-detail { min-height: 24px; margin-top: 10px; color: #ff8652; font-size: 13px; }

.startup-confirm {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.72);
}
.startup-confirm[hidden], .startup-confirm button[hidden] { display: none; }
.startup-confirm-panel {
  width: 520px;
  max-width: 100%;
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  padding: 32px;
  border: 1px solid #55515a;
  border-radius: 16px;
  background: #202024;
  color: #f5f5f7;
  text-align: center;
  box-shadow: 0 16px 64px rgba(0, 0, 0, 0.5);
}
.startup-confirm-panel h2 { margin: 0 0 20px; font-size: 22px; }
.startup-confirm-message { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.6; font-size: 16px; }
.startup-confirm-actions { display: flex; justify-content: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.startup-confirm button {
  min-width: 104px;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid #66616a;
  border-radius: 8px;
  background: #343439;
  color: #fff;
  font: inherit;
  cursor: pointer;
}
.startup-confirm button.primary { background: #ff8652; border-color: #ff8652; color: #21130d; }
.startup-confirm button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.startup-confirm button:disabled { opacity: 0.55; cursor: default; }
