.startup-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 248, 240, 0.9)),
    url("默认背景.jpg") center / cover no-repeat;
  backdrop-filter: blur(14px) saturate(105%);
  -webkit-backdrop-filter: blur(14px) saturate(105%);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.38s ease, visibility 0.38s ease;
}

.startup-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.startup-card {
  width: min(100%, 320px);
  padding: 28px 22px 24px;
  border-radius: 28px;
  background: rgba(255, 252, 248, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    0 18px 42px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  text-align: center;
}

.startup-logo {
  width: 74px;
  height: 74px;
  margin: 0 auto 16px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  font-size: 36px;
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.26) 35%, transparent 36%),
    linear-gradient(180deg, #ffd978, #f7b733 55%, #f59e0b);
  box-shadow:
    inset 0 2px 8px rgba(255, 255, 255, 0.88),
    0 10px 24px rgba(245, 158, 11, 0.22);
}

.startup-title {
  margin: 0;
  color: #4a3423;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.startup-subtitle {
  margin-top: 8px;
  color: rgba(74, 52, 35, 0.68);
  font-size: 13px;
  line-height: 1.6;
}

.startup-progress-meta {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #6a4a32;
  font-size: 12px;
  line-height: 1.4;
}

.startup-progress-text {
  flex: 1 1 auto;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.startup-progress-value {
  flex: 0 0 auto;
  font-weight: 700;
  color: #8a4b00;
}

.startup-progress-track {
  margin-top: 10px;
  width: 100%;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 224, 163, 0.5);
  box-shadow: inset 0 1px 3px rgba(138, 75, 0, 0.08);
}

.startup-progress-fill {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f59e0b, #fbbf24, #f59e0b);
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.28);
  transition: width 0.28s ease;
}

.startup-tip {
  margin-top: 14px;
  color: rgba(106, 74, 50, 0.72);
  font-size: 11px;
  line-height: 1.6;
}

@media (prefers-reduced-motion: reduce) {
  .startup-screen,
  .startup-progress-fill {
    transition: none;
  }
}
