html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: #fff;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

#game {
  display: block;
  width: 100vw;
  height: 100vh;
  outline: none;
  cursor: default;
}

#overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #2a1030 0%, #000 70%);
  transition: opacity 0.5s;
  z-index: 10;
}

#overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

#overlay-content {
  text-align: center;
  width: 360px;
}

#logo {
  font-size: 96px;
  font-weight: 700;
  color: #ff66aa;
  margin-bottom: 24px;
}

#status {
  font-size: 16px;
  opacity: 0.85;
  min-height: 1.5em;
  white-space: pre-wrap;
}

#progress {
  margin: 16px auto;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  overflow: hidden;
}

#progress-bar {
  height: 100%;
  width: 0;
  background: #ff66aa;
  transition: width 0.2s;
}

#start {
  margin-top: 16px;
  padding: 12px 36px;
  font-size: 18px;
  border: none;
  border-radius: 24px;
  background: #ff66aa;
  color: #fff;
  cursor: pointer;
}

#hint {
  margin-top: 32px;
  font-size: 12px;
  opacity: 0.5;
}
