html {
  font-size: 62.5%;
}

html, body {
  background-color: #070b16;
  background-image: radial-gradient(1px 1px at 12% 18%, rgba(255, 255, 255, 0.7), transparent), radial-gradient(1px 1px at 68% 32%, rgba(255, 255, 255, 0.5), transparent), radial-gradient(1.5px 1.5px at 38% 74%, rgba(255, 255, 255, 0.6), transparent), radial-gradient(1px 1px at 86% 82%, rgba(255, 255, 255, 0.45), transparent), radial-gradient(1px 1px at 24% 56%, rgba(190, 205, 255, 0.5), transparent);
  background-size: 23rem 19rem;
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: center;
  font-family: Verdana, Geneva, sans-serif;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body:has(main .main-menu) .game-header h1 {
  position: relative !important;
  width: auto !important;
  height: auto !important;
  margin: 5rem 1rem 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  white-space: normal !important;
  color: #e8ecf8;
  font-size: clamp(3rem, 9vw, 9rem);
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-shadow: 0 0 2.4rem rgba(255, 138, 61, 0.45);
  text-indent: 0.22em;
}

.intro-demo {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  opacity: 0.3;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.intro-demo .ships-control, .intro-demo .player-stats, .intro-demo .turn-badge {
  display: none;
}

body:not(:has(main .main-menu)) .intro-demo {
  display: none;
}

.game-header, main.game {
  position: relative;
  z-index: 1;
}