.public-boot-shell {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #f6f7f4;
  color: #25332f;
  font:
    15px/1.7 'Segoe UI',
    'Microsoft YaHei',
    system-ui,
    sans-serif;
}
body:has(.public-boot-shell) {
  margin: 0;
}
.startup-main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 48px 24px;
  box-sizing: border-box;
}
.startup-card {
  width: min(100%, 400px);
  box-sizing: border-box;
  text-align: center;
  padding: 36px 32px;
  border: 1px solid #dce3d8;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 40px #152d2908;
}
.startup-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 28px;
}
.startup-brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.startup-spinner {
  display: block;
  box-sizing: border-box;
  width: 30px;
  height: 30px;
  margin: 0 auto 16px;
  border: 3px solid #e4ebdf;
  border-top-color: #2b5844;
  border-radius: 50%;
  animation: startup-spin 1s linear infinite;
}
.startup-card h1 {
  margin: 0;
  font-size: 23px;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: -0.4px;
}
.startup-card p {
  margin: 8px 0 0;
}
.startup-detail {
  color: #526456;
  font-size: 14px;
}
.startup-progress {
  margin: 24px auto 16px;
  height: 4px;
  max-width: 240px;
  overflow: hidden;
  border-radius: 4px;
  background: #e7ede2;
}
.startup-progress span {
  display: block;
  width: 40%;
  height: 100%;
  border-radius: inherit;
  background: #52765a;
  animation: startup-progress 1.8s ease-in-out infinite;
}
.startup-help {
  font-size: 13px;
  color: #526456;
}
.startup-retry {
  min-height: 44px;
  padding: 9px 20px;
  margin-top: 20px;
  border: 1px solid #244c3e;
  border-radius: 10px;
  background: #244c3e;
  color: #fff;
  cursor: pointer;
  font: inherit;
}
.startup-retry:focus-visible {
  outline: 3px solid #79955a;
  outline-offset: 4px;
}
.startup-retry:hover {
  background: #183c2e;
}
.startup-card[data-startup-failed] .startup-spinner,
.startup-card[data-startup-failed] .startup-progress,
.startup-card[data-startup-failed] .startup-detail {
  display: none;
}
.startup-no-script {
  color: #a13b22;
}
@keyframes startup-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes startup-progress {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(350%);
  }
}
@media (max-width: 480px) {
  .startup-main {
    padding: 32px 20px;
  }
  .startup-card {
    padding: 28px 24px;
  }
  .startup-card h1 {
    font-size: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .startup-spinner,
  .startup-progress span {
    animation: none;
  }
  .startup-progress span {
    width: 65%;
  }
}
