* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: #0d1117;
  color: #e6edf3;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid #21262d;
}
.brand { font-weight: 700; font-size: 18px; }
.network {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 999px;
  padding: 6px 14px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3fb950; }
.chain { color: #8b949e; }
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px 16px;
}
.card {
  width: 100%;
  max-width: 420px;
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 16px;
  padding: 20px;
}
h1, h2 { margin: 0 0 16px; font-size: 20px; }
.field { display: block; background: #0d1117; border: 1px solid #30363d; border-radius: 12px; padding: 12px; }
.label { font-size: 13px; color: #8b949e; }
.row { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.row input {
  flex: 1;
  background: transparent;
  border: none;
  color: #e6edf3;
  font-size: 26px;
  outline: none;
  min-width: 0;
}
.token { font-weight: 600; background: #21262d; border-radius: 999px; padding: 4px 12px; }
.arrow { text-align: center; margin: 6px 0; color: #8b949e; }
.details { margin: 16px 0; font-size: 14px; }
.details div { display: flex; justify-content: space-between; padding: 4px 0; gap: 12px; }
.details dt { color: #8b949e; }
.details dd { margin: 0; text-align: right; word-break: break-all; }
code { font-size: 12px; }
.details .contract { flex-direction: column; gap: 4px; }
.details .contract dd { text-align: left; word-break: normal; white-space: nowrap; overflow-x: auto; }
button {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: #2f81f7;
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
button:disabled { background: #21262d; color: #6e7681; cursor: not-allowed; }
button.secondary { background: #21262d; }
.actions { display: flex; gap: 10px; }
.error { color: #f85149; font-size: 14px; }
.muted { color: #8b949e; font-size: 14px; }
footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 14px;
  font-size: 13px;
  color: #8b949e;
  border-top: 1px solid #21262d;
}
