* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: #fff; min-height: 100vh; }
.is-hidden { display: none; }
.is-visible { display: block; }
.ld {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
}
.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #333;
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 12px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.ld p, .status-message { color: #666; font-size: 13px; font-family: sans-serif; }
#content { width: 100%; max-width: 750px; margin: 0 auto; }
.wechat-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  color: #fff;
  text-align: right;
  padding: 30px 20px;
}
.wechat-overlay p { font-size: 18px; margin-bottom: 10px; }
.wechat-overlay .arrow { font-size: 48px; }
.landing-container {
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
  position: relative;
}
.landing-container img,
.component-wrapper img {
  display: block;
  width: 100%;
  height: auto;
}
.component-wrapper { position: relative; width: 100%; }
.download-button {
  position: sticky;
  bottom: 0;
  z-index: 99;
  cursor: pointer;
}
.floating-widget {
  position: fixed;
  right: 2.67vw;
  bottom: 11.99vh;
  width: 15%;
  z-index: 98;
  cursor: pointer;
  text-align: center;
}
.floating-widget img { display: block; width: 100%; height: auto; }
.floating-widget .fw-label {
  display: block;
  margin-top: 2px;
  padding: 2px 6px;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: #fff;
  font-size: 10px;
  border-radius: 4px;
  white-space: nowrap;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.animate-fadeIn { animation: fadeIn 0.5s ease-out; }
.animation-delay-0 { animation-delay: 0s; }
.animation-delay-100 { animation-delay: 0.1s; }
.animation-delay-200 { animation-delay: 0.2s; }
html.boot-skip #boot-gate { display: none !important; }
#boot-gate {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #111;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif;
}
#boot-gate.hide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
#boot-gate .boot-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #ff6b9d, #ffd36a, #6ad4ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
#boot-gate .boot-sub { font-size: 14px; color: #7ee0ff; margin-bottom: 22px; }
#boot-gate .boot-bar {
  width: min(72vw, 280px);
  height: 6px;
  border-radius: 999px;
  background: #2a2a32;
  overflow: hidden;
}
#boot-gate .boot-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff6b9d, #ffd36a, #6ad4ff);
}
#boot-gate .boot-pct {
  margin-top: 12px;
  font-size: 13px;
  color: #ffd36a;
  font-variant-numeric: tabular-nums;
}
