.result-btn {
  width: 100%; padding: 13px; border: none; border-radius: 12px;
  background: linear-gradient(120deg, #7c3aed, #a855f7); color: #fff;
  font-family: inherit; font-size: 14px; font-weight: 800; cursor: pointer;
  margin-top: 6px;
}
.result-btn.secondary { background: var(--bg); color: var(--ink); border: 1.5px solid var(--line); }


/* ── How to play overlay (shared shell) ── */
.howto-overlay {
  display: none; position: fixed; inset: 0; z-index: 300;
  background: rgba(15,23,42,.55); backdrop-filter: blur(3px);
  align-items: center; justify-content: center; padding: 20px;
}
.howto-overlay.show { display: flex; }
.howto-card {
  background: var(--surface); border-radius: 18px; padding: 22px 20px;
  max-width: 380px; width: 100%; max-height: 85vh; overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.howto-title { font-size: 19px; font-weight: 800; text-align: center; margin-bottom: 16px; }
.howto-step { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.howto-emoji { font-size: 24px; flex-shrink: 0; line-height: 1.3; }
.howto-step b { display: block; font-size: 13px; margin-bottom: 2px; }
.howto-step p { font-size: 12px; color: var(--muted); line-height: 1.4; }

@media (max-width: 360px) {
  .player-name { max-width: 64px; }
  .card-back::after { font-size: 1.3rem; }
}
