/* ============================================================
   Shared game-page chrome (used by every /games/*.php page)
   ============================================================ */

.game-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.game-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.fullscreen-btn {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.9rem;
  background: var(--surface);
  border: 2px solid var(--ink);
  color: var(--ink);
  border-radius: 999px;
  padding: 9px 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 0 rgba(34, 49, 74, 0.15);
  transition: transform 0.1s ease;
}
.fullscreen-btn:hover { transform: translateY(-2px); }
.fullscreen-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(34,49,74,0.15); }

/* --- Game stage: everything that becomes fullscreen --- */
#game-stage {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  border: 3px solid var(--ink);
  padding: 40px 24px 34px;
  margin: 28px 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

.scoreboard {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
.score-chip {
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  padding: 10px 18px;
  text-align: center;
  min-width: 130px;
  box-shadow: var(--shadow);
}
.score-chip .label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.score-chip .value {
  font-family: var(--font-score);
  font-size: 1.2rem;
  color: var(--pink-deep);
}
.score-chip.high .value { color: var(--purple-deep); }

.instructions {
  max-width: 440px;
  text-align: center;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 480px) {
  .scoreboard { gap: 10px; }
  .score-chip { min-width: 110px; padding: 8px 12px; }
}
