/* wallet / deposit UI added on top of style.css */
.chip { background: var(--surface2); border: 1px solid var(--gold); color: var(--gold); padding: 4px 11px; border-radius: 999px; font-size: 0.8rem; font-weight: 700; white-space: nowrap; }
.wa { display: flex; gap: 6px; }
.btn-ghost { background: transparent; color: var(--gold); border: 1px solid var(--gold); }
.btn-ghost:hover { background: rgba(255,215,0,.1); }
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.65); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 16px; }
.modal[hidden] { display: none; }
.modal-box { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 22px; width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 12px; }
.modal-box h3 { font-size: 1.15rem; }
.modal-info { font-size: 0.8rem; color: var(--muted); font-family: var(--mono); }
.modal-close { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 0.85rem; padding: 4px; }
.modal-close:hover { color: var(--text); }
.bet-status { white-space: pre-line; }
table.hist { width: 100%; border-collapse: collapse; font-size: 0.85rem; margin-top: 8px; }
table.hist th { text-align: left; color: var(--muted); font-weight: 600; font-size: 0.72rem; text-transform: uppercase; letter-spacing: .05em; padding: 4px 8px; }
table.hist td { padding: 6px 8px; border-top: 1px solid var(--border); }
.fair-box + .fair-box { margin-top: 16px; }
@media (max-width: 760px) {
  .hdr-inner { flex-wrap: wrap; height: auto; padding: 8px 20px; }
  .player-bar { width: 100%; justify-content: flex-end; flex-wrap: wrap; }
}
