.game-page {
  min-height: 100vh;
}

.game-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--line);
}

.game-top a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.game-top a:hover {
  color: var(--acid);
}

.game-top h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  font-weight: 400;
}

.game-top .account {
  justify-content: flex-end;
}

.game-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 1rem 2rem;
  gap: 1rem;
}

.hud {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  width: min(100%, 480px);
}

.hud .stat {
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  font-size: 0.9rem;
}

.hud .stat strong {
  color: var(--acid);
  font-weight: 500;
}

#stage {
  width: min(100%, 480px);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  background: #080a0c;
  position: relative;
  overflow: hidden;
}

#stage canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.game-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
  max-width: 28rem;
  line-height: 1.45;
}

.stub-panel {
  width: min(100%, 480px);
  padding: 2rem 1.5rem;
  border: 1px dashed var(--line);
  text-align: center;
}

.stub-panel h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.04em;
  font-weight: 400;
}

.stub-panel p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.stub-panel code {
  color: var(--acid);
  font-size: 0.85rem;
}
