.wallet-affiliate .wallet-section-header { align-items: flex-start; }
.aff-program-link { color: var(--text); font-size: 14px; white-space: nowrap; }
.aff-toolbar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 22px 0 16px; }
.aff-segment { display: inline-flex; padding: 4px; gap: 3px; border: 1px solid var(--bdr-subtle); border-radius: var(--radius); background: var(--bg); }
.aff-segment button { border: 0; border-radius: 6px; padding: 8px 12px; font: inherit; font-size: 14px; color: var(--muted); background: transparent; cursor: pointer; }
.aff-segment button[aria-pressed=true] { background: var(--accent); color: var(--soft); }
.aff-stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.aff-stat { padding: 20px; border: 1px solid var(--bdr-subtle); border-radius: var(--radius); background: var(--bg); }
.aff-stat-label { color: var(--muted); font-size: 15px; }
.aff-stat-value { margin: 9px 0 5px; color: var(--soft); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; font-weight: 650; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.aff-stat-note, .aff-note { color: var(--muted); font-size: 14px; line-height: 1.5; }
.wallet-affiliate .wallet-aff-grid { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--bdr-subtle); }
.wallet-affiliate .wallet-aff-card { align-content: start; }
.wallet-affiliate p { margin: 0; }
.wallet-affiliate #affCurrencyNote { margin-top: 10px; }
.aff-code-row { display: flex; gap: 8px; align-items: center; }
.aff-code-row input { min-width: 0; flex: 1; }
.aff-code-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.aff-custom-details { border-top: 1px solid var(--bdr-subtle); padding-top: 14px; }
.aff-custom-details summary { color: var(--soft); font-size: 14px; cursor: pointer; }
.aff-custom-details[open] summary { margin-bottom: 10px; }
.aff-custom-details form { display: grid; gap: 8px; margin-top: 12px; }
.aff-request-status, .aff-message { padding: 12px; background: var(--bg); border-left: 3px solid var(--accent); border-radius: 6px; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.wallet-affiliate .aff-message { margin-top: 16px; }
.aff-message.is-error { border-left-color: var(--danger); }
.wallet-affiliate button:disabled { opacity: .5; cursor: not-allowed; }
.aff-confirm { width: min(460px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; padding: 24px; border: 1px solid var(--bdr-subtle); border-radius: var(--radius-lg); color: var(--text); background: var(--bg-soft); }
.aff-confirm::backdrop { background: rgba(0,0,0,.68); backdrop-filter: blur(8px); }
.aff-confirm h3 { margin: 0 0 12px; color: var(--soft); font-size: 22px; }
.aff-confirm p { margin: 10px 0; font-size: 15px; line-height: 1.5; }
.aff-confirm-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.aff-confirm .btn { background: var(--accent); color: var(--soft); }
@media (max-width: 640px) {
  .wallet-affiliate .wallet-section-header { flex-direction: column; gap: 10px; }
  .aff-stat-grid { gap: 10px; }
  .aff-stat { padding: 14px; }
  .aff-stat-label { font-size: 14px; }
  .aff-segment button { padding: 8px 9px; }
  .aff-confirm { padding: 20px; }
}
@media (max-width: 380px) {
  .aff-stat-grid { grid-template-columns: 1fr; }
  .aff-segment button { padding: 8px; font-size: 13px; }
}

.wallet-page {
  --wallet-line: rgba(148, 163, 184, .14);
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 24px 0 16px;
  font-size: 15px;
  line-height: 1.5;
}

.wallet-page *, .wallet-modal-box * { min-width: 0; }
.wallet-page #topbar.wallet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 0 4px;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.wallet-heading { margin: 0; font-size: clamp(28px, 3vw, 36px); line-height: 1.2; font-weight: 750; letter-spacing: -.03em; }
.wallet-header-subtitle { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.wallet-header-actions, .wallet-balance-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.wallet-page .btn, .wallet-modal-box .btn { min-height: 44px; padding: 10px 18px; font-size: 14px; font-weight: 650; }
.wallet-header-actions #logout { color: var(--muted); }
.wallet-header-actions #logout:hover { color: var(--text); }
.wallet-page .wallet-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 11px; border: 1px solid var(--wallet-line); border-radius: 8px; color: var(--soft); background: var(--bg); font-size: 14px; }

.wallet-page .wallet-section { padding: 24px; border: 1px solid var(--wallet-line); border-radius: 14px; background: var(--bg-soft); box-shadow: none; }
.wallet-section-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.wallet-section h2 { margin: 0; color: var(--soft); font-size: 20px; font-weight: 650; letter-spacing: -.02em; }
.wallet-section-subtitle { margin-top: 5px; color: var(--muted); font-size: 14px; line-height: 1.5; }

.wallet-balance-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 28px; }
.wallet-balance-label { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; color: #bcc7d7; font-size: 15px; }
.wallet-money { display: flex; flex-direction: column; gap: 5px; font-variant-numeric: tabular-nums; }
.wallet-money-primary { color: var(--soft); font-size: 24px; font-weight: 650; line-height: 1.2; letter-spacing: -.025em; overflow-wrap: anywhere; }
.wallet-money-secondary { color: var(--muted); font-size: 14px; line-height: 1.4; }
.wallet-balance .wallet-money-primary { font-size: clamp(34px, 4vw, 46px); font-weight: 700; }
.wallet-balance .wallet-money-secondary { font-size: 15px; }
.wallet-page #walletDeposit { background: var(--accent); color: #fff; border: 1px solid transparent; }
.wallet-page #walletWithdraw { background: var(--panel); color: var(--soft); border: 1px solid rgba(148,163,184,.22); }
.wallet-balance-actions .btn { min-width: 132px; min-height: 46px; display: inline-flex; justify-content: center; align-items: center; gap: 8px; font-size: 15px; }
.wallet-balance-actions svg { width: 18px; height: 18px; }
.wallet-page #walletDeposit:hover, .wallet-page #walletWithdraw:hover { filter: brightness(1.12); }
.wallet-stats-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.wallet-stat-card { padding: 18px; border: 1px solid var(--wallet-line); border-radius: 10px; background: var(--bg); }
.wallet-stat-label { margin-bottom: 10px; font-size: 14px; color: #bac4d3; }
.wallet-stat-value { font-size: 22px; }
.wallet-withdraw-status { display: flex; align-items: center; gap: 14px; padding: 18px 0 0; margin-top: 20px; border-top: 1px solid var(--wallet-line); }
.wallet-withdraw-status::before { content: ''; flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.wallet-withdraw-status.is-ready::before { background: #62d58c; }
.wallet-withdraw-status.is-warning::before { background: #f6c76b; }
.wallet-status-stack { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 12px; row-gap: 4px; }
.wallet-status-main { font-size: 14px; font-weight: 650; color: var(--text); }
.is-warning .wallet-status-main { color: #f6c76b; }
.wallet-status-detail { color: var(--muted); font-size: 14px; line-height: 1.5; }
.wallet-market { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; white-space: nowrap; }
.wallet-market strong { color: var(--text); font-weight: 550; font-variant-numeric: tabular-nums; }

.wallet-promo-card { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--wallet-line); }

.wallet-table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--wallet-line); border-radius: 10px; }
.wallet-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.wallet-table th, .wallet-table td { padding: 16px; text-align: left; vertical-align: middle; }
.wallet-table th { background: var(--bg); color: var(--muted); font-weight: 500; font-size: 14px; white-space: nowrap; }
.wallet-table td { border-top: 1px solid var(--wallet-line); }
.wallet-table tbody tr:hover { background: rgba(148,163,184,.035); }
.wallet-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wallet-table td.num { font-weight: 550; }
.wallet-table .sig { display: inline-block; max-width: 160px; padding: 0; border: 0; background: transparent; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; white-space: nowrap; font-family: ui-monospace,monospace; color: #99bce8; cursor: pointer; font-size: 14px; }
.wallet-table .sig:hover { color: #dbeafe; }
.wallet-date { display: grid; gap: 2px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.wallet-date small { font-size: 13px; color: var(--muted); }
.wallet-status-badge { display: inline-flex; align-items: center; align-self: flex-start; width: fit-content; padding: 5px 9px; background: rgba(148,163,184,.08); border-radius: 6px; color: #c1cad8; font-size: 13px; font-weight: 600; line-height: 1.4; }
.wallet-status-badge.is-success { color: #91dbad; background: rgba(98,213,140,.08); }
.wallet-status-badge.is-pending { color: #e6c589; background: rgba(246,199,107,.08); }
.wallet-status-badge.is-alert { color: #f0aaaa; background: rgba(239,68,68,.08); }
.wallet-status-btn { font-family: inherit; border: 0; cursor: pointer; }
.wallet-status-pending-open:hover { text-decoration: underline; }
.wallet-status-cell { display: grid; gap: 7px; }
.wallet-status-note { display: block; max-width: 260px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.wallet-table .wallet-table-empty { padding: 32px 16px; text-align: center; color: var(--muted); font-size: 15px; }

.wallet-aff-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.wallet-aff-card { display: flex; flex-direction: column; gap: 14px; padding: 20px; background: var(--bg); border: 1px solid var(--wallet-line); border-radius: 10px; }
.wallet-aff-title { font-size: 15px; font-weight: 600; color: var(--text); }
.wallet-aff-row { display: flex; gap: 8px; align-items: center; }
.wallet-aff-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 14px; }
.wallet-aff-meta strong { color: var(--text); font-weight: 550; }
:is(.wallet-page, .wallet-modal-box) .wallet-input { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid rgba(148,163,184,.22); border-radius: 8px; background: var(--bg-soft); color: var(--text); font: inherit; font-size: 15px; outline: none; }
:is(.wallet-page, .wallet-modal-box) .wallet-input::placeholder { color: var(--muted); }
:is(.wallet-page, .wallet-modal-box) .wallet-input:focus { border-color: #528cce; }
.wallet-page .btn-soft, .wallet-modal-box .btn-soft { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; min-height: 44px; padding: 10px 14px; border: 1px solid rgba(148,163,184,.22); border-radius: 8px; background: var(--panel); color: var(--text); font: inherit; font-size: 14px; font-weight: 550; cursor: pointer; }
.wallet-page .btn-soft:hover, .wallet-modal-box .btn-soft:hover { background: var(--panel-soft); }
.wallet-page :is(button,a,input):focus-visible, .wallet-modal-box :is(button,input):focus-visible { outline: 2px solid #78a9e8; outline-offset: 3px; }

#modal.overlay { position: fixed; inset: 0; z-index: 2200; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,.68); backdrop-filter: blur(10px); }
#modal.overlay.open { display: flex; }
.wallet-modal-box { position: relative; display: flex; flex-direction: column; gap: 14px; width: min(680px,100%); height: min(680px,calc(100dvh - 40px)); max-height: calc(100dvh - 40px); overflow-y: auto; padding: 24px; border: 1px solid rgba(148,163,184,.2); border-radius: 14px; background: var(--bg-soft); }
.wallet-modal-box .wallet-modal-title { margin: 0 0 4px; font-size: 22px; font-weight: 650; padding-right: 44px; }
.wallet-modal-muted { color: var(--muted); font-size: 14px; line-height: 1.5; }
#depBox, #wdBox { display: none; flex: 1 0 auto; flex-direction: column; gap: 14px; }
#depTimer { font-size: 13px; font-variant-numeric: tabular-nums; }
#depTimer.expired { color: var(--muted); }
.wallet-page-qr-frame { width: 176px; height: 176px; display: grid; place-items: center; overflow: hidden; border-radius: 10px; background: #fff; }
.wallet-page-qr-frame #qrImg, .wallet-page-qr-status { grid-area: 1 / 1; }
#qrImg { width: 176px; height: 176px; image-rendering: pixelated; }
.wallet-page-qr-status { padding: 14px; color: #334155; font-size: 14px; text-align: center; }
.wallet-modal-box :is(.deposit-request, .withdraw-submit):is(:hover, :focus-visible) { background: var(--accent); color: #fff; transform: none; }

@media (max-width: 1000px) {
  .wallet-aff-grid { grid-template-columns: 1fr; }
  .wallet-page #topbar.wallet-header { align-items: flex-start; }
  .wallet-header-actions { justify-content: flex-end; }
  .wallet-table th, .wallet-table td { padding: 14px 12px; }
}
@media (max-width: 640px) {
  #modal.overlay { padding: 12px; }
  .wallet-modal-box { padding: 20px; height: min(820px,calc(100dvh - 24px)); max-height: calc(100dvh - 24px); }
  .wallet-page { gap: 20px; margin-top: 16px; }
  .wallet-page #topbar.wallet-header { flex-direction: column; gap: 12px; }
  .wallet-header-actions { justify-content: flex-start; }
  .wallet-header-actions .btn { padding: 8px 12px; }
  .wallet-page .wallet-section { padding: 18px; }
  .wallet-balance-top { flex-direction: column; align-items: stretch; gap: 22px; margin-bottom: 20px; }
  .wallet-balance-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .wallet-balance-actions .btn { min-width: 0; padding: 10px; }
  .wallet-stats-grid { grid-template-columns: 1fr; gap: 0; border: 1px solid var(--wallet-line); border-radius: 10px; background: var(--bg); }
  .wallet-stat-card { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px; border: 0; border-bottom: 1px solid var(--wallet-line); border-radius: 0; background: transparent; }
  .wallet-stat-card:last-child { border-bottom: 0; }
  .wallet-stat-label { margin: 0; }
  .wallet-stat-value { text-align: right; }
  .wallet-stat-value .wallet-money-primary { font-size: 21px; }
  .wallet-section-header { flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
  .wallet-section h2 { font-size: 19px; }
  .wallet-table-wrap { overflow: visible; border: 0; }
  .wallet-table, .wallet-table tbody { display: block; }
  .wallet-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .wallet-table tr { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 14px 12px; margin-top: 12px; padding: 16px; border: 1px solid var(--wallet-line); border-radius: 10px; background: var(--bg); }
  .wallet-table tr:first-child { margin-top: 0; }
  .wallet-table td, .wallet-table td.num { display: block; padding: 0; border: 0; text-align: left; white-space: normal; overflow-wrap: anywhere; }
  .wallet-table td::before { content: attr(data-label); display: block; margin-bottom: 5px; color: var(--muted); font-size: 13px; font-weight: 400; }
  .wallet-table td:first-child { grid-column: 1 / -1; }
  .wallet-table td:first-child::before, .wallet-table td[colspan]::before { display: none; }
  .wallet-table td[colspan] { grid-column: 1 / -1; padding: 12px 0; }
  .wallet-status-note { max-width: none; }
  .wallet-date { white-space: normal; }
  .wallet-aff-card { padding: 16px; }
  .wallet-aff-row { flex-wrap: wrap; }
  .wallet-aff-row .wallet-input { flex: 1 1 100%; }
  .wallet-aff-row .btn-soft { flex: 1; }
  :is(.wallet-page, .wallet-modal-box) .wallet-input { font-size: 16px; }
  .wallet-modal-box { padding: 20px; }
}

/* The ready deposit panel is positioned; keep it below the close button. */
.wallet-page-modal-close { position: absolute; z-index: 1; top: 18px; right: 18px; width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(148,163,184,.18); border-radius: 8px; background: transparent; color: var(--muted); font-size: 23px; cursor: pointer; }
.wallet-page-modal-close:hover { background: var(--panel); color: var(--text); }
.wallet-modal-box .btn { justify-content: center; text-align: center; }
.wallet-page-modal-cancel { width: 100%; flex-shrink: 0; margin-top: 4px; }
.wallet-modal-box #addr { font-family: ui-monospace, monospace; font-size: 14px; }
.wallet-legacy-balance { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; color: var(--muted); font-size: 14px; }
.wallet-legacy-balance .wallet-money { text-align: right; }
.wallet-legacy-balance .wallet-money-primary { font-size: 16px; }
.wallet-rewards[hidden], .wallet-legacy-balance[hidden] { display: none; }
.wallet-rewards { display: grid; gap: 24px; margin-top: 24px; }
.wallet-rewards-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.wallet-rewards h3 { margin: 0; color: var(--soft); font-size: 15px; font-weight: 600; }
.wallet-rewards-heading > span { flex-shrink: 0; color: var(--muted); font-size: 12px; }
.wallet-playthrough { padding: 18px 20px; border: 1px solid var(--wallet-line); border-radius: 10px; background: var(--bg); }
.wallet-playthrough-total { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-bottom: 10px; font-size: 13px; font-variant-numeric: tabular-nums; }
.wallet-playthrough-total strong { color: var(--soft); font-weight: 600; }
.wallet-playthrough-total > span { color: var(--muted); }
.wallet-wager-meter { display: block; width: 100%; height: 5px; overflow: hidden; border: 0; border-radius: 5px; background: rgba(148,163,184,.12); color: #81b4e8; appearance: none; }
.wallet-wager-meter::-webkit-progress-bar { background: rgba(148,163,184,.12); border-radius: 5px; }
.wallet-wager-meter::-webkit-progress-value { background: #81b4e8; border-radius: 5px; }
.wallet-wager-meter::-moz-progress-bar { background: #81b4e8; border-radius: 5px; }
.wallet-rewards summary { width: fit-content; color: var(--muted); cursor: pointer; font-size: 13px; }
.wallet-rewards summary:hover { color: var(--soft); }
.wallet-rewards :is(summary,button,[tabindex]):focus-visible { outline: 2px solid #78a9e8; outline-offset: 4px; border-radius: 3px; }
.wallet-playthrough-help { margin-top: 12px; }
.wallet-playthrough-help p, .wallet-bonus-details p { margin: 10px 0 0; max-width: 70ch; color: var(--muted); font-size: 13px; line-height: 1.6; }
.wallet-bonus-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%,280px),1fr)); align-items: start; gap: 14px; }
.wallet-bonus-grid[data-expanded="false"] > .wallet-bonus-card:nth-child(n+4) { display: none; }
.wallet-bonus-card { max-width: 360px; padding: 20px; border: 1px solid var(--wallet-line); border-radius: 12px; background: var(--bg); }
.wallet-bonus-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.wallet-bonus-icon { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(129,180,232,.14); border-radius: 10px; background: rgba(129,180,232,.07); color: #a2c7ef; }
.wallet-bonus-icon svg { width: 19px; height: 19px; }
.wallet-bonus-lock { color: #d6bb88; background: rgba(214,187,136,.07); border-radius: 6px; padding: 3px 8px; font-size: 11px; font-weight: 600; }
.wallet-bonus-amount { display: grid; gap: 3px; margin-top: 16px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.wallet-bonus-amount > strong { color: var(--soft); font-size: 28px; line-height: 1.2; letter-spacing: -.03em; font-weight: 650; }
.wallet-bonus-amount > small { color: var(--muted); font-size: 13px; }
.wallet-bonus-caption { margin: 5px 0 20px; color: var(--muted); font-size: 12px; }
.wallet-bonus-progress-label { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 8px; color: var(--muted); font-size: 12px; }
.wallet-bonus-progress-label strong { color: #a2c7ef; font-weight: 500; }
.wallet-bonus-left { margin: 9px 0 16px; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.wallet-bonus-left strong { color: #c4d2e4; font-weight: 500; font-variant-numeric: tabular-nums; }
.wallet-bonus-details { padding-top: 12px; border-top: 1px solid var(--wallet-line); }
.wallet-bonus-details dl { display: grid; gap: 9px; margin: 16px 0 0; font-size: 12px; }
.wallet-bonus-details dl div { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 3px 8px; }
.wallet-bonus-details dt { color: var(--muted); }
.wallet-bonus-details dd { margin: 0; color: var(--soft); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.wallet-rewards-toggle { display: block; margin-top: 14px; padding: 7px 0; border: 0; background: transparent; color: #a2c7ef; font: inherit; font-size: 13px; cursor: pointer; }
.wallet-rewards-toggle:hover { color: var(--soft); }
.wallet-rewards-note { margin: 0; color: var(--muted); font-size: 13px; }
.wallet-bonus-history { padding-top: 18px; border-top: 1px solid var(--wallet-line); }
.wallet-bonus-history > summary span { display: inline-block; margin-left: 7px; padding: 0 6px; border-radius: 4px; background: rgba(148,163,184,.08); font-size: 11px; }
.wallet-bonus-history-scroll { max-height: 280px; overflow-y: auto; overscroll-behavior: contain; margin-top: 12px; padding-right: 8px; }
.wallet-bonus-history-scroll > p { margin: 0 0 12px; color: var(--muted); font-size: 12px; }
.wallet-bonus-history ul { list-style: none; padding: 0; margin: 0; }
.wallet-bonus-history li { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 0; border-top: 1px solid var(--wallet-line); }
.wallet-bonus-history li > div { display: grid; gap: 3px; }
.wallet-bonus-history li strong { color: #c4d2e4; font-size: 13px; font-weight: 500; }
.wallet-bonus-history li small { color: var(--muted); font-size: 12px; }
.wallet-bonus-history-amount { text-align: right; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .wallet-playthrough { padding: 16px; }
  .wallet-bonus-card { max-width: none; padding: 18px; }
}
.wallet-aff-card > .wallet-aff-title { display: block; margin-top: 12px; }
