/* Steam app: "your kingdom in your pocket" (views/tinybits/steamPhoneNudge.jsx,
   views/modals/steamPhoneGuide.jsx, views/modals/addEmailModal.jsx). Same
   dark wood and gold as the home screen's map nudge (.home-map-nudge). */

/* ── Home prompt ──────────────────────────────────────────────────────── */
/* Stacked: flow, line, buttons. The home column is narrow even on desktop. */
.steam-nudge {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 14px 16px 12px;
  border-radius: 14px;
  border: 2px solid #c98a12;
  background: linear-gradient(180deg, rgba(48, 44, 40, 0.94), rgba(22, 20, 18, 0.96));
  color: #f6e9cc;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}
.steam-nudge-close {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #d4c39f;
  cursor: pointer;
}
.steam-nudge-close:hover { background: rgba(255, 255, 255, 0.08); color: #ffe9b0; }

/* The flow: Steam » code » phone, then the two goals with their ticks. */
.steam-nudge-flow { display: flex; align-items: center; gap: 6px; }
.steam-nudge-node {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 210, 58, 0.12);
  border: 1px solid rgba(255, 210, 58, 0.35);
  color: #ffe9b0;
  font-size: 1.35rem;
}
.steam-nudge-node.is-code { color: #ffd23a; }
.steam-nudge-node.is-phone { width: 34px; height: 50px; border-radius: 9px; }
.steam-nudge-link { color: #c98a12; font-size: 0.85rem; }
.steam-nudge-goals { display: flex; flex-direction: column; gap: 4px; margin-left: 2px; }
.steam-nudge-goal {
  position: relative;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: #d4c39f;
  font-size: 0.78rem;
}
.steam-nudge-goal.is-done { background: rgba(76, 175, 80, 0.25); color: #b8f0bb; }
.steam-nudge-tick {
  position: absolute;
  right: -5px;
  bottom: -4px;
  font-size: 0.6rem;
  background: #2e7d32;
  color: #fff;
  border-radius: 50%;
  padding: 2px;
}

.steam-nudge-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.steam-nudge-title { font-family: "Cinzel", serif; font-weight: 800; font-size: 1.12rem; color: #ffe9b0; }
.steam-nudge-sub { font-size: 0.86rem; color: #d4c39f; }

.steam-nudge-actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.steam-nudge-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 210, 58, 0.45);
  background: rgba(255, 210, 58, 0.1);
  color: #ffe9b0;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
}
.steam-nudge-btn:hover { background: rgba(255, 210, 58, 0.2); }
.steam-nudge-btn.is-gold {
  border-color: #7a5310;
  background: linear-gradient(180deg, #ffe48a 0%, #f0b52e 55%, #c98a12 100%);
  color: #3d2000;
}
.steam-nudge-btn.is-ghost { border-color: transparent; background: transparent; color: #d4c39f; }
.steam-nudge-btn.is-ghost:hover { color: #ffe9b0; background: rgba(255, 255, 255, 0.06); }


/* ── The guide ────────────────────────────────────────────────────────── */
.steam-guide-head { text-align: center; margin-bottom: 10px; }
.steam-flow { display: inline-flex; align-items: center; gap: 12px; font-size: 2.2rem; color: #c98a12; margin-bottom: 6px; }
.steam-flow .fa-steam { color: #2a475e; }
.steam-flow-arrow { font-size: 1.2rem; opacity: 0.8; }
.steam-flow-small { font-size: 1.2rem; align-self: flex-start; }

.steam-guide-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.steam-guide-step {
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(120, 80, 20, 0.25);
}
.steam-guide-step.is-done { background: rgba(76, 175, 80, 0.12); border-color: rgba(76, 175, 80, 0.4); }
.steam-guide-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 64px;
  border-radius: 10px;
  background: linear-gradient(180deg, #3a3128, #1f1a15);
  color: #ffd23a;
  font-size: 1.6rem;
}
.steam-guide-art i + i { font-size: 1.15rem; color: #ffe9b0; }
.steam-guide-n {
  position: absolute;
  top: -8px;
  left: -8px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #c98a12;
  color: #2d1d00;
  font-size: 0.8rem;
  font-weight: 800;
}
.steam-guide-step.is-done .steam-guide-n { background: #2e7d32; color: #fff; }
.steam-guide-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.steam-guide-title { font-weight: 800; }
.steam-guide-sub { font-size: 0.86rem; opacity: 0.8; }
.steam-guide-alerts { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.steam-guide-alerts i { color: #c98a12; }
.steam-guide-tip { font-size: 0.8rem; opacity: 0.75; }
.steam-guide-tip i { width: 14px; text-align: center; }
.steam-guide-btn { align-self: flex-start; min-height: 36px; padding: 6px 14px; font-size: 0.9rem; }
.steam-guide-foot { text-align: center; font-size: 0.85rem; opacity: 0.75; margin: 12px 0 4px; }

@media (max-width: 420px) {
  .steam-guide-step { grid-template-columns: 72px 1fr; }
  .steam-guide-art { height: 56px; font-size: 1.35rem; }
}

/* ── Add email ────────────────────────────────────────────────────────── */
.add-email-perks { list-style: none; display: flex; justify-content: center; gap: 18px; margin: 0 0 12px; padding: 0; }
.add-email-perks li { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 0.82rem; font-weight: 700; }
.add-email-perks i {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(180deg, #3a3128, #1f1a15);
  color: #ffd23a;
  font-size: 1.2rem;
}
.add-email-error { color: #b3261e; font-weight: 700; text-align: center; margin: 0 0 8px; }
.add-email-note { text-align: center; }
.add-email-done { text-align: center; padding: 10px 0; }
.add-email-big { font-size: 3rem; color: #c98a12; margin-bottom: 8px; display: block; }
