/* ═══ Game Arena ═══ */
#screen-game { flex-direction: column; }

.game-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
}

/* ── Top bar ───────────────── */
.game-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}

.player-score {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.score-name { font-weight: 600; font-size: 0.95rem; }
.score-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  min-width: 2ch;
  text-align: center;
}

.round-info { text-align: center; }
#round-label { font-weight: 600; }
.mode-tag {
  display: inline-block;
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 20px;
  background: var(--accent-glow);
  color: var(--accent);
  margin-left: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Arena ──────────────────── */
.arena {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  gap: 2rem;
}

.arena-status {
  font-size: 1.2rem;
  color: var(--text-secondary);
  text-align: center;
  min-height: 2em;
}

/* ── Choice buttons ────────── */
.choices {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.choice-btn {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  min-width: 100px;
}
.choice-btn:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 8px 30px var(--accent-glow); }
.choice-btn.selected { border-color: var(--accent); background: linear-gradient(135deg, var(--accent-glow), transparent); transform: scale(1.05); }
.choice-btn.locked { opacity: 0.5; pointer-events: none; }
.choice-btn:active { transform: scale(0.95); }

.choice-emoji { font-size: 2.5rem; }
.choice-label { font-size: 0.85rem; color: var(--text-secondary); font-weight: 600; }

/* MindGames picks display */
.mindgames-confirm {
  text-align: center;
}
.picks-display {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 1rem 0;
}
.pick-chip {
  background: var(--bg-card);
  border: 2px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 0.5rem 1rem;
  font-size: 1.5rem;
  cursor: pointer;
}
.pick-chip:hover { background: rgba(214, 48, 49, 0.2); border-color: var(--danger); }

.discard-phase { text-align: center; }
.discard-options {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}
.discard-btn {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  cursor: pointer;
  font-size: 2rem;
  transition: all 0.2s ease;
}
.discard-btn:hover { border-color: var(--danger); background: rgba(214, 48, 49, 0.1); transform: scale(1.05); }

/* ── Reveal area ───────────── */
.reveal-area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  width: 100%;
}

.reveal-hand {
  text-align: center;
}
.reveal-hand .hand-icon {
  font-size: 4rem;
  transition: all 0.3s ease;
}
.reveal-vs {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-secondary);
}

/* ── Result ────────────────── */
.result-display { text-align: center; }
.result-text {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.result-text.win { color: var(--win); }
.result-text.lose { color: var(--lose); }
.result-text.draw { color: var(--draw); }
.result-detail { color: var(--text-secondary); }

/* ── Game controls ─────────── */
.game-controls {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  gap: 0.25rem;
  z-index: 10;
}

/* ── Overlay ───────────────── */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  animation: fadeIn 0.3s ease;
}
.overlay-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  max-width: 400px;
  width: 90%;
}
.overlay-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

@media (max-width: 480px) {
  .choice-btn { padding: 1rem 1.25rem; min-width: 80px; }
  .choice-emoji { font-size: 2rem; }
  .reveal-hand .hand-icon { font-size: 3rem; }
  .game-topbar { padding: 0.75rem 1rem; }
}
