/* ============================================================
   12-wallet-profile-support.css — Wallet, profile, support, sheets, forms, network overlay
   ============================================================ */

.tab-page {
  display: block !important;
  min-height: calc(100vh - 100px);
  align-items: initial;
  justify-content: initial;
  padding: 14px 14px 110px;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.sec {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 20px 4px 10px;
}

.box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.empty { text-align: center; color: var(--text-muted); font-size: 13px; padding: 28px 12px; }

.note { text-align: center; color: var(--text-muted); font-size: 11px; margin-top: 16px; line-height: 1.5; }

.wcard {
  border-radius: 22px;
  padding: 22px 20px;
  color: #fff;
  background: linear-gradient(135deg,#1f6feb 0%,#6e40c9 55%,#8957e5 100%);
  box-shadow: 0 10px 28px rgba(31,111,235,.28);
}

.wl { font-size: 13px; opacity: .9; font-weight: 600; letter-spacing: .3px; }

.wb { font-size: 38px; font-weight: 900; margin: 6px 0 18px; letter-spacing: -0.5px; }

.wb small { font-size: 15px; font-weight: 700; opacity: .85; }

.wact { display: flex; gap: 10px; }

.wbtn {
  flex: 1;
  padding: 12px;
  border: 1.5px solid rgba(255,255,255,.55);
  border-radius: 12px;
  background: rgba(255,255,255,.14);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.wbtn.gold { background: #f0c14b; border-color: #f0c14b; color: #1a1300; }

.tx {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--border);
}

.tx:last-child { border-bottom: none; }

.tx-ic {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 900;
  flex-shrink: 0;
}

.tx-ic.in { background: rgba(46,160,67,.18); color: #2ea043; }

.tx-ic.out { background: rgba(248,81,73,.16); color: #f85149; }

.tx-mid { flex: 1; min-width: 0; }

.tx-t { font-size: 14px; font-weight: 700; }

.tx-d { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

.tx-amt { text-align: right; font-weight: 800; font-size: 14px; }

.badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 20px;
  margin-top: 3px;
}

.badge.done { background: rgba(46,160,67,.18); color: #2ea043; }

.badge.pend { background: rgba(240,193,75,.2); color: #b88a00; }

.sheet-bg {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 40000;
  display: none;
  align-items: flex-end;
  justify-content: center;
}

.sheet-bg.show { display: flex; }

.sheet {
  width: 100%;
  max-width: 480px;
  background: var(--card-bg);
  border-radius: 22px 22px 0 0;
  padding: 18px 16px calc(20px + env(safe-area-inset-bottom,0px));
  max-height: 88vh;
  overflow-y: auto;
  animation: sheetUp .22s ease-out;
}

@keyframes sheetUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: none; opacity: 1; }
}

.sheet h3 { font-size: 18px; margin-bottom: 12px; }

.lbl { font-size: 12px; font-weight: 700; color: var(--text-muted); margin: 12px 0 6px; }

.inp {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  outline: none;
}

.inp:focus { border-color: #f0c14b; }

textarea.inp { min-height: 90px; resize: vertical; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  padding: 9px 13px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.chip.on { border-color: #f0c14b; background: rgba(240,193,75,.18); }

.err { color: #f85149; font-size: 12px; min-height: 16px; margin-top: 8px; }

.cta {
  width: 100%;
  padding: 14px;
  margin-top: 10px;
  border: none;
  border-radius: 13px;
  font-size: 16px;
  font-weight: 900;
  background: linear-gradient(90deg,#f0c14b,#e3a008);
  color: #1a1300;
  cursor: pointer;
}

.cta.ghost { background: var(--surface); color: var(--text); border: 1.5px solid var(--border); }

.prof { display: flex; align-items: center; gap: 14px; }

.avatar {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg,#f0c14b,#e3a008);
  color: #1a1300;
  font-size: 26px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pn { font-size: 18px; font-weight: 800; }

.pu { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

.linkbox {
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: 10px;
  padding: 10px;
  font-size: 12px;
  word-break: break-all;
  margin: 10px 0;
}

.row2 { display: flex; gap: 8px; }

.set {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.set:last-child { border-bottom: none; }

.set > span { font-size: 14px; font-weight: 700; }

.seg { display: flex; background: var(--surface); border-radius: 10px; padding: 3px; }

.seg button {
  border: none;
  background: none;
  color: var(--text-muted);
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.seg button.on { background: #f0c14b; color: #1a1300; }

.stepper { display: flex; align-items: center; gap: 8px; }

.stepper button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

.stepper b { min-width: 42px; text-align: center; font-size: 13px; }

#dim { position: fixed; inset: 0; pointer-events: none; z-index: 9990; opacity: 0; }

.hero { text-align: center; padding: 8px 8px 4px; }

.hero h2 { font-size: 22px; }

.hero p { color: var(--text-muted); font-size: 13px; margin-top: 4px; }

.contacts { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 14px; }

.ct {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 6px;
  text-align: center;
  color: var(--text);
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}

.ct i { display: block; font-style: normal; font-size: 24px; margin-bottom: 6px; }

.wbtn { transition: transform .12s, background .2s, color .2s, box-shadow .2s; }

.wbtn:active,
.ct:active,
.faq:active,
.cta:active,
.chip:active {
  transform: scale(.95);
}

.wbtn.sel {
  background: #f0c14b;
  border-color: #f0c14b;
  color: #1a1300;
  box-shadow: 0 0 0 3px rgba(240,193,75,.4);
}

.wbtn.pulse { animation: pulse .3s ease-out; }

@keyframes pulse {
  50% { transform: scale(1.07); }
}

.ct { font-family: inherit; cursor: pointer; transition: transform .12s, border-color .2s; }

.ct:hover { border-color: #f0c14b; }

.faq {
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: border-color .2s, transform .12s;
}

.faq.open { border-color: #f0c14b; }

.faq-q { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 800; }

.faq-q span { flex: 1; }

.chev { font-size: 22px; color: #f0c14b; transition: transform .25s; font-style: normal; }

.faq.open .chev { transform: rotate(90deg); }

.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }

.faq.open .faq-a { max-height: 240px; }

.faq-a p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  padding-top: 10px;
  margin-top: 10px;
  border-top: 1px solid var(--border);
}

.big {
  font-size: 24px;
  font-weight: 900;
  text-align: center;
  margin: 6px 0 14px;
  letter-spacing: .5px;
  word-break: break-all;
}

.faq-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 15px 14px;
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color .2s, transform .12s;
}

.faq-toggle:active { transform: scale(.97); }

.faq-toggle span { flex: 1; text-align: left; }

.faq-toggle.open { border-color: #f0c14b; }

.faq-toggle.open .chev { transform: rotate(90deg); }

.faq-list { display: none; margin-top: 8px; }

.faq-list.show { display: block; animation: sheetUp .25s ease-out; }

.t-compose { display: none; }

.t-compose.show { display: block; animation: sheetUp .25s ease-out; }

.hint {
  background: rgba(240,193,75,.12);
  border: 1px solid rgba(240,193,75,.45);
  color: var(--text);
  border-radius: 10px;
  padding: 9px 11px;
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 8px;
}

.inp.flash { border-color: #f0c14b; animation: flashRing .9s ease-out; }

@keyframes flashRing {
  from { box-shadow: 0 0 0 0 rgba(240,193,75,.75); }
  to { box-shadow: 0 0 0 12px rgba(240,193,75,0); }
}

a.cta { display: block; text-align: center; text-decoration: none; }

details { border-bottom: 1px solid var(--border); padding: 12px 2px; }

details:last-child { border-bottom: none; }

summary {
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

summary::after { content: '＋'; color: #f0c14b; }

details[open] summary::after { content: '－'; }

details p { font-size: 13px; color: var(--text-muted); margin-top: 8px; line-height: 1.55; }

.mrow {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px;
  margin-bottom: 8px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  cursor: pointer;
  transition: transform .12s, border-color .2s;
}

.mrow:active { transform: scale(.97); }

.mrow b { flex: 1; text-align: left; }

.mi {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg,#f0c14b,#e3a008);
  color: #1a1300;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.back {
  background: none;
  border: none;
  color: #2ea043;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  padding: 0 0 10px;
  font-family: inherit;
}

.mtitle {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 4px;
}

.inst {
  background: var(--surface);
  border-radius: 12px;
  padding: 12px 14px 12px 32px;
  font-size: 13px;
  line-height: 1.7;
}

.inst li { margin-bottom: 2px; }

.acct { background: var(--surface); border-radius: 12px; padding: 2px 14px; }

.arow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.arow:last-child { border-bottom: none; }

.arow span { color: var(--text-muted); }

.arow b { text-align: right; word-break: break-all; }

.arow .chip { padding: 6px 12px; margin-left: 8px; }

.proof {
  flex: 1;
  padding: 14px 8px;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-weight: 800;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  transition: transform .12s;
}

.proof:active { transform: scale(.96); }

.proof.on {
  background: linear-gradient(135deg,#f0c14b,#e3a008);
  color: #1a1300;
  border-color: #f0c14b;
}

.upload {
  display: block;
  text-align: center;
  padding: 22px 10px;
  border: 2px dashed var(--border);
  border-radius: 14px;
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
}

.pv { max-width: 100%; max-height: 200px; border-radius: 10px; margin-top: 8px; display: block; }

.net-overlay {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(5,8,12,.93);
  backdrop-filter: blur(6px);
}

.net-overlay.show { display: flex; }

.net-card { width: 100%; max-width: 340px; text-align: center; color: #e6edf3; }

.net-ic { font-size: 56px; animation: netPulse 1.6s ease-in-out infinite; }

@keyframes netPulse {
  50% { transform: scale(1.12); opacity: .6; }
}

.net-card h3 { font-size: 21px; margin: 10px 0 8px; }

.net-card p { font-size: 14px; line-height: 1.65; color: #9da7b3; margin-bottom: 16px; }

.net-sub { font-size: 12px; color: #f0c14b; margin-top: 12px; min-height: 16px; }

.net-banner {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  z-index: 180;
  display: none;
  padding: calc(8px + env(safe-area-inset-top,0px)) 12px 8px;
  background: #f0c14b;
  color: #1a1300;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.net-banner.show { display: block; }

/* ============================================================
   Wallet v2 — inline Deposit / Withdraw / History tabs
   (bordered balance card + pill tab-bar instead of the old bottom sheet)
   ============================================================ */

/* ===== Wallet — Fantasy deposit/withdraw (forced layout) ===== */

#tab-wallet .balance-big,
.tab-page#tab-wallet .balance-big {
  font-size: 34px !important;
  font-weight: 900 !important;
  color: #fbbf24 !important;
  letter-spacing: -0.03em;
  margin: 0 0 16px 0 !important;
  text-shadow: 0 0 24px rgba(251, 191, 36, 0.25);
  line-height: 1.15;
}

#tab-wallet .wallet-tabs,
.tab-page#tab-wallet .wallet-tabs {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  margin: 0 0 16px 0 !important;
  background: rgba(0, 0, 0, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 14px !important;
  padding: 5px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

#tab-wallet .wallet-tabs > button,
.tab-page#tab-wallet .wallet-tabs > button {
  flex: 1 1 0 !important;
  display: block !important;
  width: auto !important;
  padding: 12px 10px !important;
  border-radius: 11px !important;
  border: none !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  font-family: inherit !important;
  text-align: center !important;
  line-height: 1.2 !important;
  margin: 0 !important;
}

#tab-wallet .wallet-tabs > button.tab-active,
.tab-page#tab-wallet .tab-active {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
  color: #04140e !important;
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.55),
    0 4px 14px rgba(245, 158, 11, 0.35) !important;
}

#tab-wallet .wallet-tabs > button.tab-inactive,
.tab-page#tab-wallet .tab-inactive {
  background: rgba(26, 70, 52, 0.85) !important;
  color: #d1fae5 !important;
  border: 1px solid rgba(52, 211, 153, 0.25) !important;
  box-shadow: none !important;
}

#tab-wallet .deposit-box,
#tab-wallet .withdraw-box,
.tab-page#tab-wallet .deposit-box,
.tab-page#tab-wallet .withdraw-box {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  background: linear-gradient(145deg, rgba(16, 52, 40, 0.95) 0%, rgba(8, 28, 20, 0.98) 100%) !important;
  border-radius: 18px !important;
  padding: 16px !important;
  border: 1px solid rgba(52, 211, 153, 0.25) !important;
  margin: 0 0 16px 0 !important;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.08),
    0 10px 28px rgba(0, 0, 0, 0.28) !important;
}

#tab-wallet .method-card,
.tab-page#tab-wallet .method-card,
#tab-wallet button.method-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  padding: 14px 14px !important;
  margin: 8px 0 0 0 !important;
  background: rgba(26, 70, 52, 0.9) !important;
  border-radius: 12px !important;
  border: 1px solid rgba(52, 211, 153, 0.22) !important;
  cursor: pointer !important;
  font-family: inherit !important;
  text-align: left !important;
  color: #fff !important;
  float: none !important;
  clear: both !important;
}

#tab-wallet .method-card:first-of-type,
#tab-wallet button.method-card:first-of-type {
  margin-top: 4px !important;
}

#tab-wallet .method-card-arrow {
  margin-left: auto !important;
  color: #8b9a8f !important;
  font-size: 18px !important;
  flex-shrink: 0 !important;
}

#tab-wallet .pay-brand {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 14px !important;
}

#tab-wallet .pay-brand-icon {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #fbbf24, #f59e0b) !important;
  color: #04140e !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  flex-shrink: 0 !important;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3) !important;
}

#tab-wallet .pay-brand-icon.pay-brand-cbe {
  background: linear-gradient(135deg, #7c3aed, #5b21b6) !important;
  color: #fff !important;
  font-size: 11px !important;
}

#tab-wallet .pay-brand-name {
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #fff !important;
  letter-spacing: 0.3px;
  flex: 1 1 auto !important;
}

#tab-wallet .back-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  font-size: 13px !important;
  color: #a8c5b5 !important;
  cursor: pointer !important;
  margin: 0 0 12px 0 !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  font-family: inherit !important;
  font-weight: 600 !important;
}

#tab-wallet .steps-box {
  background: rgba(0, 0, 0, 0.35) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px !important;
  padding: 12px 14px !important;
  font-size: 13px !important;
  line-height: 1.7 !important;
  color: #a8c5b5 !important;
  margin: 0 0 14px 0 !important;
}

#tab-wallet .field-label {
  display: block !important;
  font-size: 12px !important;
  color: #9ca3af !important;
  margin: 12px 0 6px 0 !important;
  font-weight: 600 !important;
}

#tab-wallet .field-hint {
  font-size: 11px !important;
  color: #6b8f7a !important;
  margin: 4px 0 10px 0 !important;
}

#tab-wallet .bank-info {
  margin-top: 4px !important;
  font-size: 13px !important;
  background: rgba(0, 0, 0, 0.32) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px !important;
  padding: 4px 12px !important;
}

#tab-wallet .bank-info-title {
  font-size: 11px !important;
  color: #86efac !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700 !important;
  margin: 10px 0 4px 0 !important;
}

#tab-wallet .bank-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 11px 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  gap: 8px !important;
}
#tab-wallet .bank-row:last-child { border-bottom: none !important; }
#tab-wallet .bank-row > span:first-child { color: #9ca3af !important; }
#tab-wallet .bank-row .bank-value {
  color: #fff !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

#tab-wallet .copy-btn {
  background: rgba(26, 70, 52, 0.9) !important;
  border: 1px solid rgba(52, 211, 153, 0.3) !important;
  color: #fbbf24 !important;
  padding: 5px 11px !important;
  border-radius: 9px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  font-family: inherit !important;
}

#tab-wallet .input-field {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 12px 14px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: rgba(0, 0, 0, 0.35) !important;
  color: #f3f4f6 !important;
  font-size: 14px !important;
  outline: none !important;
  font-family: inherit !important;
  margin: 0 !important;
}
#tab-wallet .input-field:focus {
  border-color: rgba(52, 211, 153, 0.45) !important;
}
#tab-wallet .input-field::placeholder { color: #6b8f7a !important; }
#tab-wallet textarea.input-field {
  min-height: 72px !important;
  resize: vertical !important;
}

#tab-wallet .submit-btn {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  margin: 14px 0 0 0 !important;
  padding: 14px 16px !important;
  border-radius: 14px !important;
  border: none !important;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
  color: #04140e !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  letter-spacing: 0.02em;
  font-family: inherit !important;
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.55),
    0 6px 18px rgba(245, 158, 11, 0.35) !important;
}
#tab-wallet .submit-btn:active { transform: scale(0.98); }

#tab-wallet .wallet-history-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin: 20px 2px 8px !important;
}
#tab-wallet .wallet-history-title {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #e8f5e9 !important;
}
#tab-wallet .wallet-history-list {
  min-height: 8px;
  margin-bottom: 12px;
}

/* support page still uses some of these */
.wsms {
  width: 100%;
  min-height: 100px;
  margin-top: 4px;
  padding: 12px;
  border-radius: 12px;
  border: 1.5px solid rgba(46, 160, 67, 0.2);
  background: #0a1f19;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  outline: none;
  box-sizing: border-box;
}
.wsms:focus { border-color: #fbbf24; }
.wcta {
  width: 100%;
  padding: 15px;
  margin: 8px 0 10px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #04140e;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  font-family: inherit;
  box-sizing: border-box;
  transition: transform .12s;
}
.wcta:active { transform: scale(.98); }
.winp {
  width: 100%;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1.5px solid rgba(46, 160, 67, 0.2);
  background: #0a1f19;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
}
.whist-sec {
  font-size: 15px;
  font-weight: 800;
  color: #c5d5cb;
  margin: 22px 4px 10px;
}
.whist-list { min-height: 8px; }
.whist-empty {
  color: #8b9a8f;
  font-size: 14px;
  padding: 8px 4px 14px;
}

/* ============================================================
   Support v2 — plain title + one message box + one send button
   ============================================================ */

.page-title { font-size: 22px; font-weight: 800; color: var(--text); margin: 0 0 14px; }

.sup-box { min-height: 230px; margin-bottom: 4px; } /* .wsms's own border/background/focus colour still apply */

/* ============================================================
   History page — filter chips + result rows (matches product screenshots)
   ============================================================ */

#tab-history {
  padding: 12px 16px 90px;
  max-width: 480px;
  margin: 0 auto;
}

.hist-page-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin: 4px 0 14px;
}

.hist-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hist-chip {
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  background: #1c2430;
  color: #8b949e;
  transition: background .15s, color .15s;
}

.hist-chip.on {
  background: #238636;
  color: #fff;
}

.hist-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hist-row {
  background: #161d27;
  border: 1px solid #2a3444;
  border-radius: 12px;
  padding: 14px 16px;
  text-align: center;
}

.hist-row-code {
  font-size: 14px;
  font-weight: 700;
  color: #e6edf3;
  letter-spacing: 0.3px;
  margin-bottom: 4px;
}

.hist-row-status {
  font-size: 13px;
  font-weight: 600;
}

.hist-row-status.lost { color: #e74c3c; }
.hist-row-status.won { color: #3fb950; }
.hist-row-status.released { color: #8b949e; }
.hist-row-status.removed { color: #8b949e; }

.hist-empty {
  background: #0f2a1a;
  border: 1px solid #1a4d2e;
  border-radius: 12px;
  padding: 18px 16px;
  text-align: center;
  color: #3fb950;
  font-size: 14px;
  font-weight: 600;
}

/* Compact deposit account card (number + copy) — minimal, no growth */
#tab-wallet .dep-acct-card {
  margin-top: 12px !important;
  background: rgba(0, 0, 0, 0.32) !important;
  border: 1px solid rgba(52, 211, 153, 0.22) !important;
  border-radius: 14px !important;
  padding: 12px 14px !important;
}
#tab-wallet .dep-acct-label {
  font-size: 11px !important;
  color: #86efac !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700 !important;
  margin: 0 0 8px 0 !important;
}
#tab-wallet .dep-acct-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
}
#tab-wallet .dep-acct-num {
  color: #fff !important;
  font-weight: 800 !important;
  font-size: 17px !important;
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
  word-break: break-all;
}
#tab-wallet .dep-copy-btn {
  flex-shrink: 0 !important;
  background: rgba(26, 70, 52, 0.95) !important;
  border: 1px solid rgba(52, 211, 153, 0.35) !important;
  color: #fbbf24 !important;
  padding: 7px 14px !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  font-family: inherit !important;
}
#tab-wallet .dep-acct-name {
  margin-top: 6px !important;
  font-size: 12px !important;
  color: #9ca3af !important;
  font-weight: 500 !important;
}
