:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #090b10;
  color: #f7f7f8;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at top, #202532 0, #0b0d12 42%, #06070a 100%); }
button, input { font: inherit; }
.shell { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; }
.card { width: min(620px, 100%); background: rgba(17,20,27,.95); border: 1px solid #2a303c; border-radius: 24px; padding: 28px; box-shadow: 0 24px 80px rgba(0,0,0,.45); }
.eyebrow { font-size: 12px; letter-spacing: .16em; color: #9aa3b2; font-weight: 800; }
h1 { font-size: clamp(36px, 8vw, 58px); line-height: 1; margin: 10px 0 12px; }
.intro, .notice, .muted { color: #aab2c0; }
.wallet-row { display: flex; align-items: center; gap: 12px; margin: 24px 0; flex-wrap: wrap; }
.token-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 22px; }
.token-tab, .quick-row button, .secondary { border: 1px solid #343b49; background: #171b24; color: #fff; border-radius: 12px; padding: 12px 16px; cursor: pointer; }
.token-tab.active { border-color: #fff; background: #f7f7f8; color: #0b0d12; font-weight: 800; }
label { display: block; font-weight: 700; margin-bottom: 8px; }
.amount-row { display: flex; border: 1px solid #343b49; background: #0d1016; border-radius: 14px; overflow: hidden; }
.amount-row input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: white; padding: 16px; font-size: 22px; }
.amount-row span { display: grid; place-items: center; padding: 0 18px; font-weight: 800; color: #c7ced8; }
.quick-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 10px 0 22px; }
.quote-box { background: #0d1016; border: 1px solid #262c37; border-radius: 16px; padding: 8px 16px; margin-bottom: 16px; }
.quote-box div { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid #202631; }
.quote-box div:last-child { border-bottom: 0; }
.quote-box span { color: #939dac; }
.quote-box strong { text-align: right; overflow-wrap: anywhere; }
.full { width: 100%; margin-top: 10px; padding: 15px 18px; border-radius: 14px; cursor: pointer; }
.primary { border: 0; background: #fff; color: #090b10; font-weight: 900; }
.primary:disabled { opacity: .45; cursor: not-allowed; }
.secondary.full { border: 1px solid #343b49; background: #171b24; color: #fff; }
.status { margin-top: 18px; padding: 12px 14px; background: #111722; border-radius: 12px; color: #cbd3df; }
.status.success { color: #bdf5c7; }
.status.error { color: #ffb8b8; }
.notice { font-size: 13px; line-height: 1.5; margin: 18px 0 0; }
.tx-link { display: inline-block; margin-top: 12px; color: white; }
.hidden { display: none; }
@media (max-width: 520px) { .quick-row { grid-template-columns: 1fr 1fr; } .card { padding: 22px 16px; } .quote-box div { flex-direction: column; } .quote-box strong { text-align: left; } }

.wallet-box {
  margin: 18px 0 22px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  background: rgba(255,255,255,.03);
}
.wallet-row { display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.wallet-details { margin-top:10px; display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.wallet-dot { width:9px; height:9px; border-radius:50%; background:#777; display:inline-block; box-shadow:0 0 0 3px rgba(255,255,255,.05); }
.wallet-dot.connected { background:#37d67a; }
.ghost { background:transparent; border:1px solid rgba(255,255,255,.15); color:inherit; }
.hidden { display:none !important; }
