/* Light, airy NEO wallet — sky-blue to white Apple/Atom aesthetic */
.wallet-modal { background: rgba(186, 230, 253, 0.35); }
.wallet-modal, .wallet-card { touch-action: pan-y; }
.wallet-card {
  width: 100%; max-width: 100%;
  height: 100dvh; max-height: 100%;
  margin: 0; border-radius: 0; border: 0; box-shadow: none;
  color: #0f172a;
  background: linear-gradient(180deg, #7dd3fc 0%, #bae6fd 22%, #ffffff 48%, #ffffff 100%);
  padding: max(12px, env(safe-area-inset-top, 0px)) 18px calc(22px + env(safe-area-inset-bottom, 0px));
  overflow: auto;
}
.wallet-card .mod-x {
  background: #f1f5f9; color: #0f172a; border: 0;
}
.wal-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  position: sticky; top: 0; z-index: 3;
  padding-bottom: 8px;
}
.wal-title { display: flex; flex-direction: column; gap: 6px; }
.wal-title b { font-size: 1.15rem; letter-spacing: -0.02em; }
.addr-pill {
  align-self: flex-start;
  border: 0; cursor: pointer;
  background: #f1f5f9; color: #334155;
  border-radius: 999px; padding: 6px 12px;
  font: 600 0.78rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.04em;
}
.wal-hero { text-align: left; padding: 8px 2px 16px; }
.hero-top { display: flex; align-items: center; gap: 8px; color: #64748b; font-size: 0.88rem; }
.eye { border: 0; background: transparent; font-size: 1.05rem; cursor: pointer; }
.hero-bal { font-size: 2.35rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1.15; margin-top: 4px; }
.hero-bal small { font-size: 1rem; font-weight: 600; color: #64748b; }
.hero-som { color: #64748b; font-size: 1.02rem; margin: 2px 0 10px; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chg, .yield-badge {
  border-radius: 999px; padding: 4px 10px; font-size: 0.78rem; font-weight: 700;
}
.chg.up { background: #d1fae5; color: #047857; }
.chg.down { background: #fee2e2; color: #b91c1c; }
.yield-badge { background: #e0f2fe; color: #0369a1; }
.yield-line { margin-top: 8px; font-size: 0.8rem; color: #64748b; }
.qa {
  display: flex; justify-content: space-between; gap: 8px;
  margin: 6px 0 16px;
}
.qa-btn {
  flex: 1; border: 0; background: transparent; color: #0f172a;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font: 600 0.72rem/1.1 system-ui, sans-serif; cursor: pointer;
}
.qa-btn i {
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: #f1f5f9; color: #0369a1;
  font-style: normal; font-size: 1.2rem; font-weight: 700;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}
.wal-tabs {
  display: flex; gap: 4px; background: #f1f5f9; border-radius: 14px; padding: 4px;
  margin-bottom: 14px;
}
.wal-tabs button {
  flex: 1; border: 0; background: transparent; color: #64748b;
  border-radius: 11px; padding: 8px 4px; font-weight: 700; font-size: 0.74rem; cursor: pointer;
}
.wal-tabs button.on { background: #fff; color: #0f172a; box-shadow: 0 1px 4px rgba(15,23,42,0.08); }
.range-pills { display: flex; gap: 6px; margin-bottom: 8px; }
.range-pills button {
  border: 0; background: #f1f5f9; color: #64748b;
  border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: 0.78rem; cursor: pointer;
}
.range-pills button.on { background: #0f172a; color: #fff; }
.chart-box { background: #fff; border-radius: 18px; padding: 10px 10px 6px; position: relative;
  box-shadow: 0 8px 24px rgba(15,23,42,0.05); margin-bottom: 12px; }
.chart-meta { display: flex; justify-content: space-between; font-size: 0.72rem; color: #64748b; }
.trader-svg { width: 100%; height: 140px; display: block; }
.chart-tip {
  position: absolute; left: 12px; top: 28px; background: #0f172a; color: #fff;
  border-radius: 10px; padding: 6px 10px; font-size: 0.75rem; pointer-events: none;
}
.asset-card, .mine-card, .panel-card {
  background: #fff; border-radius: 18px; padding: 14px;
  box-shadow: 0 8px 24px rgba(15,23,42,0.05);
}
.asset-row, .mine-row { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; }
.muted { color: #64748b; font-size: 0.85rem; }
.conv { display: grid; gap: 6px; margin-top: 10px; }
.conv input, .panel-card input, .panel-card select, .add-task input, .add-task select, .p2p-form input, .p2p-form select {
  height: 44px; border-radius: 12px; border: 1px solid #e2e8f0;
  background: #f8fafc; color: #0f172a; font: inherit; padding: 0 12px;
}
.conv-out { font-weight: 800; }
.mine-card.is-on { box-shadow: 0 0 0 2px #10b981; }
.wallet-card .pink-btn, .wallet-card .ghost-btn {
  width: 100%; margin-top: 10px; border-radius: 14px; padding: 12px;
  font-weight: 700; cursor: pointer; border: 0;
}
.wallet-card .pink-btn { background: #0f172a; color: #fff; }
.wallet-card .ghost-btn { background: #f1f5f9; color: #0f172a; }
.p2p-row, .loan-row, .tx-row {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  width: 100%; text-align: left; background: #fff; border: 0;
  border-radius: 16px; padding: 12px; margin: 8px 0; cursor: pointer;
  box-shadow: 0 4px 14px rgba(15,23,42,0.04); color: inherit; font: inherit;
}
.tx-amt { text-align: right; font-weight: 700; }
.chek-link { color: #0369a1; font-size: 0.75rem; font-weight: 700; }
.qa-panel { margin-top: 12px; }
.big-addr {
  display: block; text-align: center; font-size: 1.15rem; letter-spacing: 0.1em;
  background: #f1f5f9; border-radius: 12px; padding: 12px; margin: 8px 0;
}
.chek-wrap {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(15,23,42,0.35);
  display: flex; align-items: center; justify-content: center; padding: 18px;
}
.chek-wrap[hidden] { display: none !important; }
.chek-card {
  width: min(420px, 100%); background: #fff; color: #0f172a;
  border-radius: 22px; padding: 20px 18px; text-align: center;
  box-shadow: 0 24px 60px rgba(15,23,42,0.18);
}
.chek-ok {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 8px;
  background: #d1fae5; color: #059669; font-size: 1.6rem;
  display: grid; place-items: center;
}
.chek-card h3 { margin: 0 0 12px; }
.chek-card dl { text-align: left; margin: 0; }
.chek-card dl div { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px solid #f1f5f9; }
.chek-card dt { color: #64748b; font-size: 0.8rem; }
.chek-card dd { margin: 0; font-weight: 600; text-align: right; }
.chek-card .mono { font-family: ui-monospace, Menlo, monospace; font-size: 0.8rem; }
.chek-card .ok { color: #059669; }
.chek-actions { display: grid; gap: 0; margin-top: 8px; }

.neo-row {
  display: flex; align-items: center; gap: 12px;
  width: 100%; text-align: left; border: 0; cursor: pointer;
  background: #fff; border-radius: 18px; padding: 12px 14px;
  box-shadow: 0 8px 24px rgba(15,23,42,0.05); color: inherit; font: inherit;
  margin-top: 8px;
}
.neo-ico {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(180deg, #7dd3fc, #0284c7); color: #fff;
  font-weight: 800; font-size: 0.85rem;
}
.neo-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.neo-meta small { color: #64748b; }
.neo-right { text-align: right; display: flex; flex-direction: column; gap: 2px; align-items: flex-end; }
.sub-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.sub-head h3 { flex: 1; margin: 0; font-size: 1.1rem; }
.back-btn { border: 0; background: #f1f5f9; color: #0f172a; border-radius: 12px; padding: 8px 12px; font-weight: 700; cursor: pointer; }
