/* Balance recovery: visible only when the current wallet is below R$1,000. */
.lobby > header .account .wallet-restore-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: fit-content;
  min-height: 28px;
  margin-top: 5px;
  padding: 5px 9px;
  border: 1px solid #85edbf6b;
  border-radius: 9px;
  background: linear-gradient(135deg, #174937d9, #10342dbd);
  color: #c4ffdf;
  font: 750 10px/1.25 -apple-system, BlinkMacSystemFont, Inter, system-ui, sans-serif;
  text-align: center;
  letter-spacing: .012em;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition: background .18s, transform .18s;
}
.lobby > header .account .wallet-restore-open:hover { background: #1b5541; }
.lobby > header .account .wallet-restore-open[hidden] { display: none !important; }
.lobby .wallet-restore-dialog {
  width: min(430px, calc(100vw - 28px));
  max-height: calc(100dvh - 28px);
  padding: 0; border: 1px solid #e3d0a366;
  border-radius: 24px; background: #101b22;
  box-shadow: 0 24px 85px #000c, inset 0 1px #ffffff13;
  color: #f0f6f6;
  overflow: auto;
}
.lobby .wallet-restore-dialog::backdrop { background: #020809be; backdrop-filter: blur(5px); }
.lobby .wallet-restore-dialog .wallet-restore-content { padding: clamp(22px, 5vw, 30px); }
.lobby .wallet-restore-dialog .wallet-restore-eyebrow {
  color: #a5edc7; font: 800 11px/1.5 system-ui, sans-serif;
  letter-spacing: .09em;
}
.lobby .wallet-restore-dialog h2 {
  margin: 8px 0 12px; color: #f6e5b8;
  font: 850 clamp(21px, 5.5vw, 28px)/1.15 system-ui, sans-serif;
}
.lobby .wallet-restore-dialog p {
  margin: 0 0 12px; color: #b5c4ca; font-size: 13px; line-height: 1.65;
}
.lobby .wallet-restore-dialog strong {
  color: #faf6dc; font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.lobby .wallet-restore-actions {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.5fr);
  gap: 10px; margin-top: 20px;
}
.lobby .wallet-restore-actions button {
  min-width: 0; min-height: 47px; border-radius: 12px;
  padding: 10px 11px; cursor: pointer;
  font: 800 12px/1.3 system-ui, sans-serif;
  white-space: normal; overflow-wrap: anywhere;
}
.lobby .wallet-restore-cancel { color: #deeded; background: #ffffff0e; border: 1px solid #ffffff32; }
.lobby .wallet-restore-confirm {
  color: #092117; background: linear-gradient(135deg,#a8f1c8,#6ccca5);
  border: 1px solid #ceffe3; box-shadow: 0 7px 20px #55d1a42a;
}
.lobby .wallet-restore-actions button:disabled { opacity: .55; cursor: wait; }
.lobby .wallet-restore-status { color: #ffd1ad !important; font-weight: 700; }
@media(max-width:580px) {
  .lobby > header .account .wallet-restore-open { font-size: 9px; min-height: 26px; padding: 5px 7px; }
}
@media(prefers-reduced-motion:reduce) {
  .lobby .wallet-restore-dialog::backdrop { backdrop-filter: none; }
  .lobby > header .account .wallet-restore-open { transition: none; }
}
