/* Cession BaaS + CaaS surfaces */
.cx-baas-hero {
  background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
  border: 1px solid var(--cx-line);
  border-radius: var(--cx-radius);
  padding: 20px 18px 18px;
  margin-bottom: 16px;
}
.cx-baas-balance {
  font-size: 34px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; color: var(--cx-ink);
}
.cx-baas-sub { font-size: 13px; color: var(--cx-muted); margin-top: 4px; }
.cx-baas-row { display: flex; gap: 10px; margin-top: 16px; }
.cx-baas-row button {
  flex: 1; height: 44px; border-radius: var(--cx-pill);
  font-weight: 600; font-size: 14px; border: none; cursor: pointer;
}
.cx-baas-row .primary { background: var(--cx-btn); color: #fff; }
.cx-baas-row .ghost {
  background: var(--cx-soft); color: var(--cx-ink); border: 1px solid var(--cx-line-2);
}
.cx-baas-cards { display: grid; gap: 12px; margin: 16px 0; }
.cx-baas-section {
  margin: 22px 0 8px; font-size: 13px; font-weight: 600;
  color: var(--cx-muted); text-transform: uppercase; letter-spacing: 0.04em;
}
.cx-baas-list {
  background: var(--cx-white); border: 1px solid var(--cx-line);
  border-radius: var(--cx-radius); overflow: hidden;
}
.cx-wallet-list { display: grid; gap: 12px; }
.cx-wallet-card {
  border: 1px solid var(--cx-line); border-radius: var(--cx-radius);
  padding: 14px 16px; background: #fff;
}
.cx-wallet-card.on {
  border-color: #7eb6ff; box-shadow: 0 0 0 1px rgba(126, 182, 255, 0.35);
}
.cx-wallet-card-top {
  display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px;
}
.cx-wallet-card-bal { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.cx-wallet-card-bal small { font-size: 13px; font-weight: 500; color: var(--cx-muted); }
.cx-wallet-card-addr {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px; color: var(--cx-muted); word-break: break-all; margin-top: 4px;
}
.cx-asset-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border-bottom: 1px solid var(--cx-line); font-size: 14px;
}
.cx-asset-row:last-child { border-bottom: none; }
.cx-asset-row .left { display: flex; flex-direction: column; gap: 2px; }
.cx-asset-row .title { font-weight: 600; color: var(--cx-ink); }
.cx-asset-row .sub {
  font-size: 11px; color: var(--cx-muted); text-transform: uppercase; letter-spacing: 0.04em;
}
.cx-asset-row .amt { font-weight: 600; font-variant-numeric: tabular-nums; }
.cx-active-pill {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px;
  color: var(--cx-muted); background: var(--cx-soft, #f3f6fa);
  border: 1px solid var(--cx-line); border-radius: 999px; padding: 4px 10px; margin-bottom: 10px;
}
.cx-dest-note { font-size: 12px; color: var(--cx-muted); margin-top: 8px; line-height: 1.4; }

.cx-baas-soon {
  position: relative; min-height: 70vh; border-radius: 20px;
  background: linear-gradient(165deg, rgba(247,250,255,0.92) 0%, rgba(230,240,252,0.88) 45%, rgba(255,255,255,0.95) 100%);
  border: 1px solid rgba(180, 200, 230, 0.45);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: 28px 20px 36px; margin-bottom: 24px;
}
.cx-baas-soon-inner { max-width: 420px; margin: 0 auto; }
.cx-baas-soon-kicker {
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: #6b7c93; margin: 0 0 8px;
}
.cx-baas-soon-title {
  font-size: 32px; font-weight: 700; letter-spacing: -0.04em; margin: 0 0 10px; color: #0f172a;
}
.cx-baas-soon-lead { font-size: 15px; color: #4a5568; margin: 0 0 22px; line-height: 1.5; }
.cx-baas-soon-perks { list-style: none; padding: 0; margin: 0 0 28px; }
.cx-baas-soon-perks li {
  padding: 12px 0; border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  font-size: 15px; color: #1e293b;
}
.cx-baas-soon-perks li:last-child { border-bottom: none; }
.cx-baas-soon-perks strong { font-weight: 650; }
.cx-baas-wait label { display: block; margin-bottom: 8px; font-size: 13px; }
.cx-baas-wait .form-input-pump { margin-bottom: 10px; width: 100%; box-sizing: border-box; }

.cx-wallet-btn {
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 12px 14px; margin-top: 10px;
  border: 1px solid var(--cx-line, #e5e9ef); border-radius: 14px; background: #fff;
  font-size: 15px; font-weight: 600; color: #0f172a; cursor: pointer; text-align: left;
}
.cx-wallet-btn:hover { border-color: #b6c4d8; background: #f8fafc; }
.cx-wallet-logo { display: flex; flex-shrink: 0; }
.cx-wallet-btn-sheet { margin-top: 10px; }

.cx-site-footer {
  padding: 20px 16px calc(88px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--cx-line, #e8edf3); background: #fff; margin-top: 12px;
}
.cx-site-footer-inner {
  display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; align-items: center; font-size: 13px;
}
.cx-site-footer a, .cx-footer-link {
  color: #64748b; text-decoration: none; background: none; border: none; cursor: pointer; font-size: 13px; padding: 0;
}
.cx-site-footer a:hover, .cx-footer-link:hover { color: #0f172a; }

#searchModal .form-input-pump { width: 100%; box-sizing: border-box; margin-top: 4px; }
#searchModal .cx-sheet { padding-bottom: 20px; }

@media (max-width: 480px) {
  .cx-baas-balance { font-size: 28px; }
  .cx-wallet-card-bal { font-size: 18px; }
  .cx-pay-row { flex-wrap: wrap; }
  .cx-pay-row > * { flex: 1 1 40%; }
  .bottom-nav-bar { padding-bottom: env(safe-area-inset-bottom, 0); }
  .cx-sheet { max-height: 90vh; overflow: auto; }
  .cx-pf-value { font-size: 28px; }
  .cx-baas-soon-title { font-size: 28px; }
}
