/* Oasis verification — no external fonts or frameworks, so the page works under a
   strict CSP with nothing loaded from another origin. */
:root {
  --bg: #0a0f14;
  --bg-raised: #111a22;
  --bg-sunken: #070b0f;
  --border: #1f2d39;
  --border-bright: #2d4252;
  --text: #e6eef5;
  --text-dim: #8fa5b6;
  --text-faint: #5d7284;
  --accent: #35d8a4;
  --accent-dim: #1d8f6c;
  --warn: #ffb545;
  --error: #ff6b6b;
  --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(1100px 500px at 50% -10%, #12212c 0%, transparent 70%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 16px 64px;
}

header { text-align: center; margin-bottom: 32px; }

.mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  letter-spacing: -0.01em;
  font-size: 1.05rem;
}
.mark-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
}

h1 {
  font-size: 1.65rem;
  line-height: 1.2;
  margin: 18px 0 8px;
  letter-spacing: -0.02em;
}

.sub { color: var(--text-dim); margin: 0; font-size: 0.97rem; }

.card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 16px;
}

.card.muted { background: var(--bg-sunken); }

.step-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-bottom: 14px;
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-dim);
  font-size: 0.72rem;
  letter-spacing: 0;
}
.step-label.active .step-num { background: var(--accent); color: #04120d; font-weight: 700; }
.step-label.done .step-num { background: var(--accent-dim); color: #04120d; }

.rows { display: grid; gap: 1px; background: var(--border); border-radius: 10px; overflow: hidden; }
.row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  background: var(--bg-raised); padding: 11px 14px;
}
.row dt { color: var(--text-dim); font-size: 0.88rem; margin: 0; }
.row dd { margin: 0; font-weight: 600; text-align: right; word-break: break-all; }
.row dd.mono { font-family: var(--mono); font-size: 0.82rem; font-weight: 500; }

.wallets { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }

button {
  font: inherit;
  cursor: pointer;
  border-radius: 10px;
  border: 1px solid var(--border-bright);
  background: #16222c;
  color: var(--text);
  padding: 12px 14px;
  transition: border-color .15s, background .15s, transform .05s;
}
button:hover:not(:disabled) { border-color: var(--accent-dim); background: #1a2a36; }
button:active:not(:disabled) { transform: translateY(1px); }
button:disabled { opacity: .5; cursor: not-allowed; }

.wallet-btn { display: flex; align-items: center; gap: 10px; text-align: left; }
.wallet-btn img { width: 24px; height: 24px; border-radius: 6px; flex-shrink: 0; }
.wallet-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.primary {
  width: 100%;
  background: var(--accent);
  border-color: var(--accent);
  color: #04120d;
  font-weight: 650;
  padding: 14px;
}
.primary:hover:not(:disabled) { background: #46e9b4; border-color: #46e9b4; }

.ghost { width: 100%; background: transparent; }

pre.message {
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.6;
  background: var(--bg-sunken);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  margin: 0 0 14px;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--text-dim);
  max-height: 230px;
  overflow: auto;
}

.note {
  display: flex; gap: 10px;
  font-size: 0.86rem; color: var(--text-dim);
  background: var(--bg-sunken);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-dim);
  border-radius: 8px;
  padding: 11px 13px;
  margin-top: 14px;
}
.note.warn { border-left-color: var(--warn); }
.note.bad { border-left-color: var(--error); color: #ffc9c9; }

.banner { border-radius: 10px; padding: 14px 16px; margin-bottom: 16px; font-size: 0.92rem; }
.banner.ok { background: #0f2a20; border: 1px solid var(--accent-dim); color: #b8f5df; }
.banner.bad { background: #2a1315; border: 1px solid #5a2b30; color: #ffc9c9; }

.big-ok { text-align: center; padding: 10px 0 4px; }
.big-ok .tick {
  width: 56px; height: 56px; margin: 0 auto 14px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #0f2a20;
  border: 1px solid var(--accent-dim);
  color: var(--accent);
  font-size: 1.6rem;
}
.big-ok h2 { margin: 0 0 6px; font-size: 1.3rem; }
.big-ok p { margin: 0; color: var(--text-dim); }

.count { font-size: 2rem; font-weight: 700; color: var(--accent); line-height: 1; }

footer {
  text-align: center;
  color: var(--text-faint);
  font-size: 0.82rem;
  margin-top: 28px;
  line-height: 1.7;
}
footer code { font-family: var(--mono); color: var(--text-dim); }

.hidden { display: none !important; }

.spinner {
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid rgba(4,18,13,.3);
  border-top-color: #04120d;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  vertical-align: -2px;
  margin-right: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.skeleton {
  height: 14px; border-radius: 6px;
  background: linear-gradient(90deg, #16222c 25%, #1d2d3a 50%, #16222c 75%);
  background-size: 200% 100%;
  animation: shimmer 1.3s infinite;
}
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

@media (max-width: 480px) {
  .wrap { padding: 32px 14px 48px; }
  h1 { font-size: 1.4rem; }
  .row { flex-direction: column; gap: 3px; }
  .row dd { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
