html,
body {
  margin: 0;
  height: 100%;
  background: #0d0504;
  color: #ffffff;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow: hidden;
}

body {
  display: flex;
  flex-direction: column;
}

.top-bar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  padding: 0 16px;
  border-bottom: 2px solid #ffb347;
}

.game-title {
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: #ffd34d;
}

.hub-link {
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}

.hub-link:hover,
.hub-link:focus-visible {
  text-decoration: underline;
}

.stage-area {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

canvas {
  display: block;
}

.no-script {
  margin: 24px;
  font-size: 18px;
}
