.game-body {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-template-columns: none;
}

.game-body > * {
  grid-column: auto;
}

.game-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  min-height: 100vh;
  justify-content: center;
}

.game-stage {
  width: 160px;
  height: 144px;
  border: 1px solid var(--border);
  background: #0a0a0d;
  box-shadow: inset 0 0 0 1px rgba(255, 176, 0, 0.08);
  image-rendering: pixelated;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

#game-canvas {
  width: 160px;
  height: 144px;
  display: block;
  image-rendering: pixelated;
}

.post-popup {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0, 0, 0, 0.62);
  z-index: 2;
  pointer-events: none;
}

.post-popup.hidden {
  display: none;
}

.post-popup-inner {
  width: min(160px, calc(100vw - 1rem));
  margin: 0 auto 0.75rem;
  background: var(--panel-bg);
  border: 2px solid #f0f0f0;
  color: #f7f5f0;
  box-shadow: 0 0 0 1px #000;
  padding: 0.45rem 0.5rem;
  pointer-events: auto;
  min-height: 44px;
}

.post-popup-inner h2 {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.15;
}

#post-excerpt {
  margin: 0.35rem 0 0;
  line-height: 1.15;
  white-space: pre-wrap;
  font-size: 0.78rem;
}

.post-actions {
  display: none;
}

#post-close,
.post-actions a {
  display: none;
}

#post-close:hover,
.post-actions a:hover,
#post-close:focus-visible,
.post-actions a:focus-visible {
  color: inherit;
  outline: none;
}
