#boot-screen {
  display: grid;
  place-items: center;
  padding: 24px;
  background: #17291f;
  color: #fff9e8;
  text-align: center;
}
#boot-screen[hidden] { display: none; }
.boot-content { width: min(360px, 80vw); }
.boot-logo {
  display: block;
  width: 100%;
  max-height: 42vh;
  object-fit: contain;
  margin: 0 auto 28px;
  animation: boot-bob 1.85s ease-in-out infinite;
}
#boot-title { margin: 0 0 20px; font-size: clamp(20px, 4vw, 28px); font-weight: 400; }
.boot-meter { display: flex; align-items: center; gap: 14px; }
#boot-progress {
  display: block;
  appearance: none;
  width: 100%;
  height: 12px;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  background: #314639;
  accent-color: #c4e5a0;
}
#boot-progress::-webkit-progress-bar { background: #314639; border-radius: 12px; }
#boot-progress::-webkit-progress-value { background: #c4e5a0; border-radius: 12px; transition: width .15s linear; }
#boot-progress::-moz-progress-bar { background: #c4e5a0; border-radius: 12px; }
#boot-percent { min-width: 42px; font-size: 18px; font-variant-numeric: tabular-nums; color: #d8e8cb; }
#boot-retry {
  margin-top: 24px;
  padding: 12px 26px;
  border: 0;
  border-radius: 999px;
  background: #d4edac;
  color: #233b30;
  font: inherit;
  cursor: pointer;
}
@keyframes boot-bob { 50% { transform: translateY(-7px) rotate(-1deg); } }
@media (max-height: 450px) {
  .boot-logo { max-height: 40vh; margin-bottom: 12px; }
  #boot-title { margin-bottom: 12px; }
}
