/* ===== Page Layout ===== */

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

.app {
  height: 100vh;
}

.card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #06081a;
  overflow: hidden;
}

/* ===== Top Bar ===== */

.topbar {
  position: relative;
  z-index: 20;
  height: 44px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 0 12px;
}

.topbar .back {
  position: static;
  justify-self: start;
}

.topbar-title {
  background: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;

  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.2px;

  pointer-events: none;
  white-space: nowrap;
}



/* ===== Game Stats ===== */

.game-stats {
  position: relative;
  z-index: 15;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 6px 0 8px;
  flex-shrink: 0;
}

.stat-pill {
  background: rgba(255,255,255,0.92);
  color: #111;
  border-radius: 16px;
  font-size: 13px;
  padding: 6px 10px;
  min-width: 70px;
  text-align: center;
}

/* ===== Game Canvas ===== */

#spaceGame {
  position: relative;
  flex: 1;
  width: 100%;
  overflow: hidden;
}
