* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --brand: #111827;
  --accent: #12805c;
  --bg: #ffffff;
  --panel: #ffffff;
  --soft: #f3f3f1;
  --soft-2: #ececea;
  --text: #111318;
  --muted: #6b7280;
  --border: #e7e7e4;
  --green: #12805c;
  --red: #e0483d;
  --radius: 16px;
  --max: 620px;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--soft);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.up { color: var(--green); }
.down { color: var(--red); }
.accent { color: var(--accent); }
.right { text-align: right; margin-left: auto; }
.hidden { display: none !important; }

/* Hide balances mode */
body.hide-bal .bal { filter: blur(7px); user-select: none; }

/* ============ AUTH ============ */
.auth-body { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; background: var(--soft); }
.auth-card { width: 100%; max-width: 400px; background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 32px; }
.auth-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; letter-spacing: -.5px; }
.auth-brand img { height: 30px; }
.brand-mark { color: var(--accent); }
.auth-tabs { display: flex; gap: 8px; margin: 22px 0 18px; background: var(--soft); border-radius: 12px; padding: 4px; }
.auth-tabs a { flex: 1; text-align: center; padding: 9px; border-radius: 9px; color: var(--muted); font-weight: 600; font-size: 14px; }
.auth-tabs a.active { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.auth-card form { display: flex; flex-direction: column; gap: 6px; }
label { font-size: 13px; color: var(--muted); margin-top: 8px; }
input, select { background: #fff; border: 1px solid var(--border); color: var(--text); border-radius: 11px; padding: 12px 13px; font-size: 15px; width: 100%; }
input:focus, select:focus { outline: none; border-color: var(--brand); }
.form-error { color: var(--red); font-size: 14px; min-height: 20px; margin-top: 6px; }
.auth-foot { text-align: center; color: var(--muted); font-size: 14px; margin-top: 16px; }
.auth-foot a, .link-accent { color: var(--accent); font-weight: 600; }
.back-link { display: block; text-align: center; margin-top: 14px; color: var(--muted); font-size: 14px; }

/* ============ BUTTONS ============ */
.btn-brand { background: var(--brand); color: #fff; border: none; border-radius: 12px; padding: 13px 18px; font-weight: 600; font-size: 15px; }
.btn-brand:hover { filter: brightness(1.15); }
.btn-soft { background: var(--soft); color: var(--text); border: none; border-radius: 12px; padding: 13px 18px; font-weight: 600; }
.btn-outline { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 12px; font-weight: 600; }
.btn-danger { background: #fdecec; color: var(--red); border: none; border-radius: 12px; padding: 14px; font-weight: 700; }
.full { width: 100%; }

/* ============ TOP BAR ============ */
.topbar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 0 16px; background: #fff; border-bottom: 1px solid var(--border); }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 20px; letter-spacing: -.5px; }
.brand-logo { height: 28px; }
.topbar-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { position: relative; background: var(--soft); border: none; width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--text); }
.avatar-btn { background: none; border: none; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg,#c7c7c2,#a0a09a); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.badge-dot { position: absolute; top: 8px; right: 9px; width: 9px; height: 9px; background: var(--red); border-radius: 50%; border: 2px solid #fff; }

/* ============ SIDE MENU ============ */
.scrim, .sheet-scrim { position: fixed; inset: 0; background: rgba(17,19,24,.4); opacity: 0; pointer-events: none; transition: .25s; z-index: 45; }
.scrim.show, .sheet-scrim.show { opacity: 1; pointer-events: auto; }
.side-menu { position: fixed; top: 0; right: 0; height: 100%; width: 82%; max-width: 340px; background: #fff; z-index: 50; transform: translateX(100%); transition: transform .28s ease; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.side-menu.open { transform: translateX(0); }
.side-head { display: flex; align-items: center; justify-content: space-between; height: 50px; padding: 0 6px; margin-bottom: 8px; }
.side-menu a { display: flex; align-items: center; gap: 14px; padding: 15px 16px; border-radius: 12px; font-weight: 600; font-size: 16px; }
.side-menu a:hover { background: var(--soft); }
.side-menu a.active { background: var(--soft); }
.side-menu .mi { width: 22px; text-align: center; opacity: .7; }
.menu-cta { margin-top: auto; background: var(--brand); color: #fff; justify-content: center; }
.menu-cta:hover { filter: brightness(1.15); }

/* ============ ACCOUNT SHEET ============ */
.sheet { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; z-index: 50; border-radius: 22px 22px 0 0; padding: 8px 16px 26px; transform: translateY(100%); transition: transform .28s ease; }
.sheet.open { transform: translateY(0); }
.sheet-handle { width: 44px; height: 5px; background: #d9d9d5; border-radius: 3px; margin: 8px auto 12px; }
.sheet-row { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 6px; border-bottom: 1px solid var(--border); font-size: 16px; font-weight: 500; background: none; border-left: none; border-right: none; border-top: none; text-align: left; color: var(--text); }
.sheet-row:last-child { border-bottom: none; }
.sheet-row .si { width: 22px; text-align: center; }
.sheet-row .val { margin-left: auto; color: var(--muted); }
.sheet-row .chev { margin-left: auto; color: var(--muted); }
.sheet-row.danger { color: var(--red); }
.toggle-row { justify-content: space-between; }

/* Switch */
.switch { position: relative; display: inline-block; width: 46px; height: 26px; margin-left: auto; }
.switch input { display: none; }
.slider { position: absolute; inset: 0; background: #cfcfca; border-radius: 30px; transition: .2s; }
.slider::before { content: ""; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; }
.switch input:checked + .slider { background: var(--accent); }
.switch input:checked + .slider::before { transform: translateX(20px); }

/* ============ MAIN ============ */
.app-main { max-width: var(--max); margin: 0 auto; padding: 16px 16px 90px; display: flex; flex-direction: column; gap: 14px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.block-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.block-head h3 { font-size: 17px; }
.page-head { padding: 6px 2px; }
.page-head.between, .page-head.between h1 { display: flex; align-items: center; justify-content: space-between; }
.page-head h1 { font-size: 26px; letter-spacing: -.5px; }
.page-head p { margin-top: 2px; }

/* Portfolio */
.portfolio { padding: 10px 2px 0; }
.pf-label { color: var(--muted); font-size: 15px; display: flex; align-items: center; gap: 8px; }
.pf-label .eye, .pf-value .chev { cursor: pointer; }
.pf-value { font-size: 40px; font-weight: 800; letter-spacing: -1.5px; margin: 6px 0 4px; }
.pf-value .chev { font-size: 26px; color: var(--muted); }
.pf-change { color: var(--muted); font-size: 15px; }

/* Quick actions */
.quick-actions { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.qa { background: var(--soft); border: none; border-radius: var(--radius); padding: 16px 8px; display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.qa:hover { background: var(--soft-2); }
.qa-ic { width: 34px; height: 34px; border-radius: 10px; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 17px; }

/* Hubs */
.hub-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hub { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.hub-top { display: flex; justify-content: space-between; font-weight: 600; }
.hub-val { font-size: 24px; font-weight: 800; margin: 10px 0 2px; }
.hub-val.credit { color: #5b57e0; }
.hub-val.savings { color: var(--green); }
.hub-sub { color: var(--muted); font-size: 13px; }
.chev { color: var(--muted); }

/* Promo */
.promo { background: #eee7e0; border-radius: var(--radius); padding: 20px; display: flex; align-items: center; justify-content: space-between; }
.promo-title { font-size: 22px; font-weight: 800; line-height: 1.2; max-width: 200px; }
.promo-cta { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.promo-arrow { background: var(--brand); color: #fff; width: 26px; height: 26px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; }
.promo-card { font-size: 60px; opacity: .5; }

/* Mini tabs */
.mini-tabs { display: flex; gap: 6px; margin-bottom: 8px; }
.mini-tabs button { background: none; border: none; padding: 8px 12px; border-radius: 10px; font-weight: 600; color: var(--muted); font-size: 14px; }
.mini-tabs button.active { background: var(--soft); color: var(--text); }
.mini-tabs.underline button { border-radius: 0; padding: 8px 2px; margin-right: 18px; border-bottom: 2px solid transparent; }
.mini-tabs.underline button.active { background: none; border-bottom-color: var(--brand); }
.mini-tabs .buy.active { background: #e4f5ee; color: var(--green); }
.mini-tabs .sell.active { background: #fdecec; color: var(--red); }

/* Search */
.search-box { margin: 10px 0; }
.search-box.wide { margin: 0 0 12px; }
.search-box input { background: #fff; border: 1px solid var(--border); }

/* Asset rows */
.asset-rows { display: flex; flex-direction: column; }
.asset-row { display: flex; align-items: center; gap: 12px; padding: 13px 2px; border-top: 1px solid var(--border); }
.asset-rows > .asset-row:first-child, .asset-rows > div:first-child .asset-row { border-top: none; }
.coin-dot { width: 38px; height: 38px; border-radius: 50%; color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.coin-dot.lg { width: 44px; height: 44px; }
.coin-id { display: flex; flex-direction: column; }
.coin-id b { font-size: 15px; }
.coin-id small { color: var(--muted); font-size: 13px; }
.coin-bal { margin-left: auto; text-align: right; display: flex; flex-direction: column; }
.coin-bal small { color: var(--muted); font-size: 13px; }
.coin-price { margin-left: auto; text-align: right; display: flex; flex-direction: column; }
.coin-price small { font-size: 13px; }
.spark { width: 84px; height: 30px; margin-left: auto; }
.spark.up { color: var(--green); }
.spark.down { color: var(--red); }
.market .coin-price { margin-left: 12px; min-width: 84px; }
.empty { text-align: center; color: var(--muted); padding: 20px; }
.empty.tall { padding: 40px 20px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.empty-ic { width: 56px; height: 56px; border-radius: 50%; background: var(--soft); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 6px; }
.empty.tall b { color: var(--text); }

/* Asset detail */
.asset-chips, .asset-detail + .asset-detail { margin-top: 0; }
.asset-chips { display: flex; gap: 8px; }
.asset-chips button { background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 8px 16px; font-weight: 600; color: var(--muted); }
.asset-chips button.active { background: var(--soft); color: var(--text); }
.ad-head { display: flex; align-items: center; gap: 12px; }
.ad-stats { margin: 16px 0; display: flex; flex-direction: column; gap: 2px; }
.ad-stats > div { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-top: 1px solid var(--border); }
.ad-stats span { color: var(--muted); }
.pill { background: var(--soft); color: var(--text); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 600; }
.pill.on { background: #e4f5ee; color: var(--green); text-transform: capitalize; }
.ad-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ad-actions.three { grid-template-columns: 1fr 1fr 1fr; margin-bottom: 10px; }

/* Swap */
.swap-card { display: flex; flex-direction: column; gap: 4px; position: relative; }
.swap-field { background: var(--soft); border-radius: 14px; padding: 14px; }
.swap-field label { margin: 0 0 6px; }
.swap-row { display: flex; gap: 8px; }
.swap-row input { background: none; border: none; font-size: 24px; font-weight: 700; padding: 0; }
.swap-row select { width: auto; background: #fff; border-radius: 999px; font-weight: 700; padding: 8px 12px; }
.swap-bal { color: var(--muted); font-size: 13px; margin-top: 8px; }
.swap-switch { align-self: center; width: 40px; height: 40px; border-radius: 50%; border: 3px solid #fff; background: var(--brand); color: #fff; margin: -14px 0; z-index: 1; font-size: 18px; }

/* Futures */
.futures-ticker { display: flex; justify-content: space-between; align-items: center; }
.ft-left { display: flex; align-items: center; gap: 12px; }
.ft-right { text-align: right; display: flex; flex-direction: column; }
.fut-summary { margin: 14px 0; }
.fut-summary > div { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--border); }
.fut-summary span { color: var(--muted); }
.field { margin-bottom: 12px; }
input[type=range] { accent-color: var(--brand); padding: 0; }

/* Card visual — professional */
.card-visual {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 140% at 85% 10%, rgba(79,124,255,.35), transparent 45%),
    radial-gradient(120% 120% at 0% 100%, rgba(18,209,142,.22), transparent 50%),
    linear-gradient(140deg, #23262e 0%, #14151a 45%, #0a0b0e 100%);
  color: #fff; border-radius: 20px; padding: 24px; aspect-ratio: 1.586;
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 24px 48px -20px rgba(0,0,0,.65), inset 0 1px 0 rgba(255,255,255,.08);
}
.card-visual.locked { filter: saturate(.7) brightness(.92); }
.cv-sheen { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.10) 48%, transparent 56%); pointer-events: none; }
.card-visual > * { position: relative; z-index: 1; }
.cv-top { display: flex; align-items: center; justify-content: space-between; }
.cv-logo { height: 30px; width: auto; }
.cv-contactless { width: 24px; height: 24px; opacity: .85; }
.cv-chip { width: 46px; height: 36px; border-radius: 7px; background: linear-gradient(135deg,#f4d98b 0%,#d9b45c 40%,#b8923f 100%); position: relative; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.cv-chip::before { content: ""; position: absolute; inset: 6px 8px; border: 1px solid rgba(0,0,0,.25); border-radius: 3px; background:
  linear-gradient(to right, transparent 45%, rgba(0,0,0,.25) 45%, rgba(0,0,0,.25) 55%, transparent 55%),
  linear-gradient(to bottom, transparent 45%, rgba(0,0,0,.25) 45%, rgba(0,0,0,.25) 55%, transparent 55%); }
.cv-number { font-size: 22px; letter-spacing: 3px; font-weight: 600; font-family: ui-monospace, "SF Mono", Menlo, monospace; text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.cv-bottom { display: flex; align-items: flex-end; gap: 22px; }
.cv-field small { display: block; opacity: .55; font-size: 9px; letter-spacing: 1.2px; margin-bottom: 3px; }
.cv-field span { font-size: 14px; letter-spacing: .5px; }
.cv-brandmark { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.cv-type { font-size: 11px; opacity: .7; text-transform: uppercase; letter-spacing: 1px; }
.cv-mc { display: flex; }
.cv-mc span { width: 30px; height: 30px; border-radius: 50%; }
.cv-mc span:first-child { background: #eb001b; }
.cv-mc span:last-child { background: #f79e1b; margin-left: -13px; mix-blend-mode: screen; }
.ac-head { display: flex; justify-content: space-between; align-items: center; }
.status-pill { font-size: 12px; padding: 3px 10px; border-radius: 999px; font-weight: 600; }
.status-pill.on { background: #e4f5ee; color: var(--green); }
.status-pill.off { background: var(--soft); color: var(--muted); }
.ac-balance { font-size: 34px; font-weight: 800; margin: 8px 0 14px; }
.ac-balance small { font-size: 16px; color: var(--muted); font-weight: 600; }
.ac-note { display: flex; gap: 10px; background: var(--soft); border-radius: 12px; padding: 14px; margin-bottom: 14px; }
.ac-note .i { width: 22px; height: 22px; border-radius: 50%; background: #dfe3ea; color: #4b5563; display: flex; align-items: center; justify-content: center; font-style: italic; flex-shrink: 0; }
.ac-note p { color: var(--muted); font-size: 14px; }
.chip-dark { background: var(--brand); color: #fff; font-size: 12px; padding: 4px 10px; border-radius: 8px; font-weight: 700; }
.cashback-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 8px; }
.cb-box { background: var(--soft); border-radius: 12px; padding: 14px; }
.cb-box small { color: var(--muted); display: block; margin-bottom: 4px; }
.cb-box b { font-size: 20px; }
.row-link { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; border: 1px solid var(--border); }
.rl-ic { width: 44px; height: 44px; border-radius: 10px; background: var(--soft); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.rl-text { display: flex; flex-direction: column; }
.rl-text small { color: var(--muted); }

/* Transactions */
.tx-row, .note-row { display: flex; align-items: center; gap: 12px; padding: 13px 2px; border-top: 1px solid var(--border); }
.card.block .tx-row:first-of-type, .card.block .note-row:first-of-type { border-top: none; }
.tx-ic { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.tx-ic.in { background: #e4f5ee; color: var(--green); }
.tx-ic.out { background: #fdecec; color: var(--red); }
.tx-ic.mid { background: var(--soft); color: var(--text); }
.tx-id { display: flex; flex-direction: column; }
.tx-id small { color: var(--muted); font-size: 13px; }
.tx-amt { margin-left: auto; text-align: right; font-weight: 700; display: flex; flex-direction: column; }
.tx-amt small { font-weight: 500; }

/* Notifications */
.note-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.note-body { display: flex; flex-direction: column; }
.note-body small { color: var(--muted); font-size: 14px; }
.note-time { margin-left: auto; color: var(--muted); font-size: 12px; align-self: flex-start; }
.note-row.read .note-ic { opacity: .6; }

/* Rewards */
.tier-current { display: flex; align-items: center; gap: 12px; }
.tier-badge { background: var(--brand); color: #fff; padding: 8px 16px; border-radius: 10px; font-weight: 700; }
.tier-track { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-top: 16px; }
.tier-step { background: var(--soft); border-radius: 12px; padding: 12px 8px; text-align: center; }
.tier-step b { display: block; font-size: 14px; }
.tier-step small { color: var(--muted); font-size: 11px; }
.tier-step.active { background: #e4f5ee; }
.earn-row { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--border); }
.earn-row:first-of-type { border-top: none; }
.earn-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--soft); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.earn-row div { display: flex; flex-direction: column; }
.earn-row small { color: var(--muted); }

/* Settings */
.set-row { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; border-top: 1px solid var(--border); }
.set-row:first-of-type { border-top: none; }
.mini-select { width: auto; padding: 8px 12px; border-radius: 10px; }
.status { font-size: 14px; color: var(--green); margin-left: 10px; }
.status.err { color: var(--red); }
.link-accent { background: none; border: none; }

/* Support fab */
.support-fab { position: fixed; right: 16px; bottom: 20px; width: 58px; height: 58px; border-radius: 18px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px -8px rgba(18,128,92,.6); z-index: 30; }

/* ============ MODAL ============ */
.modal-scrim { position: fixed; inset: 0; background: rgba(17,19,24,.45); display: none; align-items: flex-end; justify-content: center; z-index: 60; }
.modal-scrim.show { display: flex; }
.modal { background: #fff; width: 100%; max-width: var(--max); border-radius: 22px 22px 0 0; padding: 22px 18px 26px; }
.modal h3 { font-size: 20px; margin-bottom: 4px; }
.modal p { color: var(--muted); margin-bottom: 14px; }
.modal .field label { margin-top: 4px; }
.modal-actions { display: flex; gap: 10px; margin-top: 14px; }
.modal-error { color: var(--red); font-size: 14px; min-height: 20px; }
.asset-select { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 8px; }
.asset-select button { flex-shrink: 0; background: var(--soft); border: 1px solid transparent; border-radius: 999px; padding: 8px 14px; font-weight: 600; }
.asset-select button.active { border-color: var(--brand); background: #fff; }

@media (min-width: 640px) {
  .modal { border-radius: 18px; margin-bottom: 30px; }
  .modal-scrim { align-items: center; }
}

/* ---- KYC banner ---- */
.kyc-banner { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius); background: #fff4e5; border: 1px solid #f5d9a8; }
.kyc-banner.pending { background: #eef4ff; border-color: #cdddf7; }
.kb-ic { width: 40px; height: 40px; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.kb-text { display: flex; flex-direction: column; }
.kb-text small { color: var(--muted); }
.kyc-banner .chev { margin-left: auto; }

/* ---- Deposit page ---- */
.qr-wrap { display: flex; justify-content: center; margin: 16px 0; }
.qr-wrap img { width: 200px; height: 200px; border: 1px solid var(--border); border-radius: 14px; padding: 8px; background: #fff; }
.field-label { display: block; font-size: 13px; color: var(--muted); margin: 12px 0 6px; }
.copy-box { display: flex; align-items: center; gap: 8px; background: var(--soft); border-radius: 12px; padding: 12px 14px; }
.copy-box code { font-size: 13px; word-break: break-all; flex: 1; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.copy-box .btn-soft { background: #fff; margin: 0; padding: 8px 14px; }
.net-note { display: flex; flex-direction: column; gap: 2px; margin-top: 14px; padding: 12px 14px; background: var(--soft); border-radius: 12px; font-size: 14px; }
.net-label { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .5px; }
.ac-note.warn { background: #fff4e5; margin-top: 14px; }
.ac-note.warn .i { background: #f3c37a; color: #7a4a00; font-style: normal; font-weight: 700; }
.ac-note.info { background: #eef4ff; border: 1px solid #cdddf7; }
.ac-note.info .i { background: #cdddf7; color: #2b5bb5; font-style: normal; font-weight: 700; }
.ac-note.info b { color: var(--text); }
.wa-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: #25d366; margin-top: 12px; }
.wa-btn:hover { filter: brightness(1.05); }

/* ---- Transaction status + withdrawal review ---- */
.tx-status { text-transform: capitalize; }
.tx-status.pending { color: #b5820a; font-weight: 600; }
.tx-status.rejected { color: var(--red); font-weight: 600; }
.tx-status.completed { color: var(--green); font-weight: 600; }
.tx-addr { display: block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; word-break: break-all; opacity: .8; }
.wd-review { background: var(--soft); border-radius: 12px; padding: 12px 14px; font-weight: 700; font-size: 18px; margin-bottom: 12px; }

/* ---- Auth referral note ---- */
.auth-ref-note { background: #e4f5ee; color: var(--green); border-radius: 12px; padding: 10px 14px; font-size: 13px; font-weight: 600; margin-bottom: 14px; text-align: center; }

/* ---- KYC page ---- */
.kyc-status { display: flex; align-items: center; gap: 14px; }
.ks-ic { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.kyc-status.ok .ks-ic { background: #e4f5ee; color: var(--green); }
.kyc-status.pending .ks-ic { background: #eef4ff; color: #3b6fd4; }
.kyc-status.rejected .ks-ic { background: #fdecec; color: var(--red); }
.pill.kyc-verified { background: #e4f5ee; color: var(--green); text-transform: capitalize; }
.pill.kyc-pending { background: #eef4ff; color: #3b6fd4; text-transform: capitalize; }
.pill.kyc-rejected { background: #fdecec; color: var(--red); text-transform: capitalize; }
.pill.kyc-unverified { background: var(--soft); color: var(--muted); text-transform: capitalize; }

/* ---- Card requirements ---- */
.card-visual.placeholder, .card-visual.locked { opacity: .8; }
.card-visual.locked { position: relative; }
.req-list { list-style: none; margin: 14px 0; display: flex; flex-direction: column; gap: 10px; }
.req-list li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.req-ic { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; }
.req-list li.met .req-ic { background: #e4f5ee; color: var(--green); }
.req-list li.unmet { color: var(--muted); }
.req-list li.unmet .req-ic { background: var(--soft); color: var(--muted); }
.block-link { display: block; margin-top: 10px; text-align: center; }

/* ---- Auto-trading ---- */
.online-badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 14px; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 7px 14px; background: #fff; }
.online-badge.sm { margin-top: 12px; padding: 5px 12px; font-size: 13px; }
.online-badge b { color: var(--text); }
.online-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(18,128,92,.5); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(18,128,92,.5); } 70% { box-shadow: 0 0 0 8px rgba(18,128,92,0); } 100% { box-shadow: 0 0 0 0 rgba(18,128,92,0); } }

.bot-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.bot-status .dot { width: 8px; height: 8px; border-radius: 50%; }
.bot-status.on { background: #e4f5ee; color: var(--green); }
.bot-status.on .dot { background: var(--green); animation: pulse 1.8s infinite; }
.bot-status.off { background: var(--soft); color: var(--muted); }
.bot-status.off .dot { background: var(--muted); }

.trade-widget .tw-head { display: flex; align-items: center; justify-content: space-between; }
.tw-title { font-weight: 700; }
.trade-widget .tw-body { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 14px 0; }
.trade-widget .tw-body > div { display: flex; flex-direction: column; }
.trade-widget .tw-body b { font-size: 18px; margin-top: 2px; }

.trade-hero .th-top { display: flex; align-items: flex-start; justify-content: space-between; }
.th-pnl { font-size: 34px; font-weight: 800; letter-spacing: -1px; margin-top: 4px; }
.trade-hero .th-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 16px 0; }
.trade-hero .th-stats > div { background: var(--soft); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; }
.trade-hero .th-stats span { color: var(--muted); font-size: 13px; }
.trade-hero .th-stats b { font-size: 18px; margin-top: 2px; }
.th-note { margin-top: 10px; text-align: center; }
