html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  background: #123f34;
}
#game-loading {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
  box-sizing: border-box;
  background: radial-gradient(ellipse at top, #22775b, #123f34 65%);
  color: #faf5e6;
  text-align: center;
  font-family: system-ui, sans-serif;
}
#game-loading[hidden] {
  display: none;
}
.loading-content {
  max-width: 360px;
}
.loading-tile {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 82px;
  border-radius: 12px;
  background: #fff7ed;
  box-shadow:
    0 7px 0 #9974bd,
    0 15px 35px #0004;
  color: #ae3340;
  font-size: 46px;
  font-weight: 700;
  margin-bottom: 28px;
}
#game-loading h1 {
  font-size: 25px;
  letter-spacing: 1px;
  margin: 0 0 24px;
}
.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #ffffff30;
  border-top-color: #e8c57c;
  border-radius: 50%;
  margin: 0 auto 20px;
  animation: spin 1s linear infinite;
}
#loading-status {
  font-size: 16px;
  line-height: 1.5;
}
#loading-help {
  font-size: 13px;
  color: #d0ded4;
  line-height: 1.6;
  margin-top: 12px;
}
.loading-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
  margin-top: 25px;
}
#game-loading button,
#game-loading a {
  font: inherit;
  font-size: 13px;
  color: #fff;
}
#game-loading button {
  border: 0;
  background: #dec080;
  color: #193d32;
  padding: 12px 18px;
  border-radius: 7px;
  cursor: pointer;
}
#game-loading a {
  text-underline-offset: 4px;
}
#game-loading button:focus-visible,
#game-loading a:focus-visible {
  outline: 3px solid white;
  outline-offset: 5px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .spinner {
    animation: none;
  }
}

.loading-wordmark {
  display: block;
  width: min(100%, 440px);
  height: auto;
  margin: 0 auto 32px;
}
