:root {
  --bg: #050705;
  --text: #eef4ec;
  --accent: #4dff2e;
  --accent-ink: #04220a;
  --amber: #f0a91b;
  --muted: #7d8a78;
  --muted-2: #9fb098;
  --dim: #4b5a47;
  --cfe: #cfe9c8;
  --line: rgba(77, 255, 46, 0.1);
  --line-2: rgba(77, 255, 46, 0.16);
  --panel: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(5, 7, 5, 0.3));
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); }
body {
  font-family: "Space Grotesk", system-ui, sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}
a { color: inherit; }
::selection { background: var(--accent); color: var(--bg); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1c2a1a; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #2c4227; }
input, textarea, button { font-family: inherit; }
input::placeholder, textarea::placeholder { color: var(--dim); }
.mono { font-family: var(--mono); }
.accent { color: var(--accent); }
.up { text-transform: uppercase; }

.glow { position: fixed; pointer-events: none; z-index: 0; }
.glow-top { top: -260px; left: 50%; transform: translateX(-50%); width: 900px; height: 520px; background: radial-gradient(50% 50% at 50% 50%, rgba(77, 255, 46, 0.14), transparent 70%); }
.glow-bottom { bottom: -220px; right: -120px; width: 640px; height: 520px; background: radial-gradient(50% 50% at 50% 50%, rgba(77, 255, 46, 0.07), transparent 70%); }

@keyframes bpPulse { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
@keyframes bpOverlay { from { opacity: 0; } to { opacity: 1; } }
@keyframes bpModalIn { from { opacity: 0; transform: translateY(24px) scale(0.98); } to { opacity: 1; transform: none; } }

.bull-mark { width: 40px; height: 44px; display: flex; flex-direction: column; justify-content: center; gap: 5px; filter: drop-shadow(0 0 8px rgba(77, 255, 46, 0.7)); flex-shrink: 0; }
.bull-mark.sm { width: 34px; height: 38px; gap: 4px; }
.bull-mark i { height: 9px; background: var(--accent); display: block; }
.bull-mark.sm i { height: 8px; }
.bull-mark i:nth-child(1), .bull-mark i:nth-child(3) { clip-path: polygon(16% 0, 100% 0, 84% 100%, 0 100%); }
.bull-mark i:nth-child(2) { clip-path: polygon(0 0, 84% 0, 100% 100%, 16% 100%); }

.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 16px clamp(16px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 7, 5, 0.82); backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-weight: 700; font-size: 20px; letter-spacing: 0.14em; }
.brand-tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; color: var(--amber); margin-top: 5px; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; }
.nav a { padding: 8px 14px; color: var(--muted); text-decoration: none; letter-spacing: 0.06em; transition: color 0.15s; }
.nav a:hover { color: var(--text); }
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.wallet-btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(77, 255, 46, 0.04); color: var(--cfe); font-size: 13px; font-family: var(--mono); letter-spacing: 0.04em; cursor: pointer; }
.wallet-btn:hover { border-color: var(--accent); }
.wallet-btn .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--dim); transition: background 0.15s, box-shadow 0.15s; }
.wallet-btn.is-connected .dot { background: var(--accent); box-shadow: 0 0 8px var(--accent); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 10px; font-size: 14px; cursor: pointer; text-decoration: none; transition: filter 0.15s, border-color 0.15s; border: none; }
.btn-primary { padding: 12px 20px; background: var(--accent); color: var(--accent-ink); font-weight: 700; letter-spacing: 0.02em; box-shadow: 0 0 22px rgba(77, 255, 46, 0.4); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-primary .plus { font-size: 17px; line-height: 0; }
.btn-ghost { padding: 12px 20px; border: 1px solid rgba(77, 255, 46, 0.2); background: transparent; color: var(--text); font-weight: 600; }
.btn-ghost:hover { border-color: var(--accent); }
.btn-lg { padding: 15px 26px; font-size: 16px; border-radius: 12px; }

main { position: relative; z-index: 1; }

.hero { max-width: 1240px; margin: 0 auto; padding: clamp(36px, 6vw, 68px) clamp(16px, 4vw, 44px) clamp(20px, 3vw, 32px); display: grid; grid-template-columns: 1.35fr 0.9fr; gap: 44px; align-items: center; }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 0.34em; color: var(--amber); margin-bottom: 20px; }
.hero h1 { margin: 0; font-weight: 700; font-size: clamp(44px, 6.6vw, 86px); line-height: 0.94; letter-spacing: -0.02em; }
.hero h1 .accent { text-shadow: 0 0 34px rgba(77, 255, 46, 0.55); }
.lede { max-width: 520px; margin: 24px 0 0; font-size: 18px; line-height: 1.5; color: var(--muted-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 40px; }
.stat-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--muted); text-transform: uppercase; }
.stat-value { font-size: 30px; font-weight: 700; margin-top: 5px; font-family: var(--mono); }
.stat-divider { width: 1px; background: rgba(77, 255, 46, 0.12); }

.vault-card { position: relative; border: 1px solid var(--line-2); border-radius: 20px; background: linear-gradient(180deg, rgba(77, 255, 46, 0.05), rgba(5, 7, 5, 0.4)); padding: 30px; overflow: hidden; }
.vault-card-glow { position: absolute; top: -90px; right: -90px; width: 260px; height: 260px; background: radial-gradient(50% 50% at 50% 50%, rgba(77, 255, 46, 0.18), transparent 70%); animation: bpPulse 4s ease-in-out infinite; }
.vault-card-body { position: relative; z-index: 1; }
.vault-head { display: flex; align-items: center; gap: 12px; }
.vault-title { font-weight: 700; font-size: 17px; }
.vault-sub { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.vault-label { margin-top: 22px; font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.14em; text-transform: uppercase; }
.vault-addr { margin-top: 8px; padding: 12px 14px; border-radius: 10px; background: rgba(5, 7, 5, 0.6); border: 1px solid rgba(77, 255, 46, 0.14); font-family: var(--mono); font-size: 13px; color: var(--cfe); word-break: break-all; }
.vault-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.vault-tile { padding: 14px; border-radius: 10px; background: rgba(5, 7, 5, 0.5); border: 1px solid var(--line); }
.vault-tile-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; }
.vault-tile-value { font-size: 22px; font-weight: 700; margin-top: 4px; }

.board-controls { max-width: 1240px; margin: 0 auto; padding: 18px clamp(16px, 4vw, 44px) 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; scroll-margin-top: 90px; }
.board-title { display: flex; align-items: center; gap: 10px; }
.board-title h2 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.pill { font-family: var(--mono); font-size: 12px; color: var(--muted); padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(77, 255, 46, 0.14); }
.board-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 12px; border: 1px solid rgba(77, 255, 46, 0.12); background: rgba(5, 7, 5, 0.5); }
.tab { padding: 7px 14px; border-radius: 9px; border: none; cursor: pointer; letter-spacing: 0.04em; font-family: var(--mono); font-size: 12px; background: transparent; color: var(--muted); }
.tab.is-active { background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.search { display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; border: 1px solid rgba(77, 255, 46, 0.12); background: rgba(5, 7, 5, 0.5); }
.search-icon { color: var(--dim); font-size: 13px; }
.search input { border: none; background: transparent; color: var(--text); font-size: 13px; outline: none; width: 150px; }

.grid-section { max-width: 1240px; margin: 0 auto; padding: 22px clamp(16px, 4vw, 44px) 80px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 18px; }
.card { border: 1px solid var(--line); border-radius: 16px; background: var(--panel); overflow: hidden; transition: transform 0.16s, border-color 0.16s, box-shadow 0.16s; }
.card:hover { transform: translateY(-4px); border-color: rgba(77, 255, 46, 0.5); box-shadow: 0 12px 34px rgba(77, 255, 46, 0.12); }
.card-link { display: block; text-decoration: none; color: inherit; cursor: pointer; }
.card-tile { position: relative; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; }
.card-tile-scan { position: absolute; inset: 0; background-image: repeating-linear-gradient(135deg, rgba(0, 0, 0, 0.16) 0 2px, transparent 2px 11px); }
.card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-initials { position: relative; font-weight: 700; font-size: 52px; letter-spacing: 0.04em; color: rgba(5, 7, 5, 0.72); }
.card-age { position: absolute; top: 10px; right: 10px; font-family: var(--mono); font-size: 10px; color: var(--cfe); background: rgba(5, 7, 5, 0.66); border: 1px solid var(--line-2); padding: 4px 8px; border-radius: 999px; }
.card-forward { position: absolute; bottom: 10px; left: 10px; display: inline-flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: 10px; font-weight: 700; color: var(--accent-ink); background: var(--accent); padding: 4px 9px; border-radius: 999px; box-shadow: 0 0 14px rgba(77, 255, 46, 0.5); }
.card-body { padding: 14px 15px 16px; }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.card-name { font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-ticker { font-family: var(--mono); color: var(--amber); font-size: 12px; flex-shrink: 0; }
.card-stats { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 12px; }
.card-mc-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; }
.card-mc { font-size: 22px; font-weight: 700; color: var(--accent); font-family: var(--mono); }
.card-meta { text-align: right; font-family: var(--mono); font-size: 11px; color: var(--muted); line-height: 1.5; }
.card-curve { margin-top: 14px; }
.card-curve-head { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10px; color: var(--muted); margin-bottom: 6px; }
.card-curve-pct { color: var(--cfe); }
.card-curve-track { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.card-curve-fill { height: 100%; background: linear-gradient(90deg, #2fae1f, var(--accent)); box-shadow: 0 0 10px rgba(77, 255, 46, 0.6); }

.empty { text-align: center; padding: 70px 20px; color: var(--muted); font-family: var(--mono); }
.empty-title { font-size: 16px; color: var(--text); margin-bottom: 6px; }

.docs { max-width: 1240px; margin: 0 auto; padding: 20px clamp(16px, 4vw, 44px) 72px; border-top: 1px solid rgba(77, 255, 46, 0.08); scroll-margin-top: 90px; }
.docs-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.28em; color: var(--amber); margin: 16px 0 6px; }
.docs h2 { margin: 0; font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; letter-spacing: -0.01em; }
.docs-lede { max-width: 640px; margin: 14px 0 0; font-size: 16px; line-height: 1.55; color: var(--muted-2); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 32px; }
.step { border: 1px solid rgba(77, 255, 46, 0.12); border-radius: 16px; background: var(--panel); padding: 22px; }
.step-num { font-family: var(--mono); font-size: 26px; font-weight: 700; color: var(--accent); text-shadow: 0 0 16px rgba(77, 255, 46, 0.4); }
.step-title { font-weight: 700; font-size: 17px; margin-top: 12px; }
.step p { margin: 8px 0 0; font-size: 14px; line-height: 1.55; color: var(--muted-2); }
.callouts { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.callout { border-radius: 16px; padding: 20px 22px; }
.callout-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.callout p { margin: 8px 0 0; font-size: 14px; line-height: 1.55; }
.callout-amber { border: 1px solid rgba(240, 169, 27, 0.18); background: rgba(240, 169, 27, 0.04); }
.callout-amber .callout-label { color: var(--amber); }
.callout-amber p { color: #c8bfa6; }
.callout-green { border: 1px solid rgba(77, 255, 46, 0.14); background: rgba(77, 255, 46, 0.04); }
.callout-green .callout-label { color: var(--accent); }
.callout-green p { color: var(--cfe); word-break: break-all; font-size: 13px; }
.docs-cta { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

.footer { position: relative; z-index: 1; border-top: 1px solid var(--line); padding: 22px clamp(16px, 4vw, 44px); text-align: center; font-family: var(--mono); font-size: 11px; color: var(--dim); letter-spacing: 0.08em; }

.modal-overlay { position: fixed; inset: 0; z-index: 60; background: rgba(3, 5, 3, 0.78); backdrop-filter: blur(6px); display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow-y: auto; animation: bpOverlay 0.18s ease; }
.modal-overlay[hidden] { display: none; }
.modal { width: 100%; max-width: 880px; border: 1px solid rgba(77, 255, 46, 0.22); border-radius: 20px; background: #0a0d09; box-shadow: 0 0 60px rgba(77, 255, 46, 0.12); animation: bpModalIn 0.24s cubic-bezier(0.2, 0.8, 0.2, 1); overflow: hidden; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; border-bottom: 1px solid rgba(77, 255, 46, 0.12); background: linear-gradient(180deg, rgba(77, 255, 46, 0.05), transparent); }
.modal-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.26em; color: var(--amber); }
.modal-title { font-size: 22px; font-weight: 700; margin-top: 5px; }
.modal-close { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; color: var(--muted-2); font-size: 18px; cursor: pointer; line-height: 1; }
.modal-close:hover { border-color: var(--accent); color: var(--text); }
.modal-body { display: grid; grid-template-columns: 1fr 1fr; }
.modal-col { padding: 24px 26px; display: flex; flex-direction: column; gap: 18px; }
.modal-col-left { border-right: 1px solid var(--line); }
.modal-col-right { gap: 20px; }

.id-row { display: flex; gap: 14px; align-items: stretch; }
.image-drop { position: relative; flex-shrink: 0; width: 92px; height: 92px; border-radius: 14px; border: 1px dashed rgba(77, 255, 46, 0.3); background: rgba(5, 7, 5, 0.6); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; overflow: hidden; }
.image-drop:hover { border-color: var(--accent); }
.image-preview { position: absolute; inset: 0; background-size: cover; background-position: center; }
.image-plus { font-size: 22px; color: var(--accent); }
.image-hint { font-family: var(--mono); font-size: 9px; color: var(--muted); text-align: center; }
.image-drop.has-image .image-plus, .image-drop.has-image .image-hint { display: none; }
.id-fields { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.field-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; margin-bottom: 6px; }
.field input, .field textarea, .devbuy { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(77, 255, 46, 0.14); background: rgba(5, 7, 5, 0.6); color: var(--text); font-size: 14px; outline: none; }
.field textarea { resize: vertical; line-height: 1.4; }
.field input:focus, .field textarea:focus { border-color: var(--accent); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-row { display: flex; align-items: baseline; justify-content: space-between; }
.field-hint { font-family: var(--mono); font-size: 11px; color: var(--muted); }

.devbuy { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-color: var(--line-2); }
.devbuy input { flex: 1; border: none; background: transparent; color: var(--text); font-size: 26px; font-weight: 700; outline: none; width: 100%; }
.devbuy input::-webkit-outer-spin-button, .devbuy input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.devbuy-unit { font-family: var(--mono); font-weight: 700; color: var(--amber); font-size: 15px; }
.presets { display: flex; gap: 6px; margin-top: 8px; }
.preset { flex: 1; padding: 7px 0; border-radius: 8px; cursor: pointer; font-family: var(--mono); font-size: 12px; border: 1px solid rgba(77, 255, 46, 0.14); background: transparent; color: var(--muted-2); }
.preset.is-active { background: rgba(77, 255, 46, 0.14); color: var(--accent); }

.forward { padding: 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(77, 255, 46, 0.04); }
.forward-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.forward-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--cfe); text-transform: uppercase; }
.forward-pct { font-size: 24px; font-weight: 700; font-family: var(--mono); text-shadow: 0 0 18px rgba(77, 255, 46, 0.5); }
.forward-scale { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10px; color: var(--muted); margin-top: 8px; }
.forward-split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.split-tile { padding: 10px 12px; border-radius: 10px; background: rgba(5, 7, 5, 0.5); }
.split-label { font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; }
.split-value { font-weight: 700; margin-top: 3px; font-family: var(--mono); font-size: 15px; }

.bp-range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--accent) var(--fill, 100%), rgba(255, 255, 255, 0.07) var(--fill, 100%)); outline: none; cursor: pointer; }
.bp-range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); box-shadow: 0 0 14px var(--accent), 0 0 3px var(--accent) inset; cursor: pointer; }
.bp-range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); box-shadow: 0 0 14px var(--accent); cursor: pointer; }

.cost { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.cost-head { padding: 12px 14px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; border-bottom: 1px solid rgba(77, 255, 46, 0.08); }
.cost-rows { padding: 6px 14px; font-family: var(--mono); font-size: 13px; }
.cost-row { display: flex; justify-content: space-between; padding: 7px 0; color: var(--muted-2); }
.cost-row span:last-child { color: var(--text); }
.cost-total { padding: 11px 0 9px; border-top: 1px solid var(--line); margin-top: 4px; font-weight: 700; }
.cost-total span:first-child { color: var(--text); }
.cost-total span:last-child { color: var(--accent); font-size: 15px; }

.submit { padding: 15px; border-radius: 12px; font-size: 15px; font-weight: 700; letter-spacing: 0.02em; background: rgba(77, 255, 46, 0.12); color: var(--dim); cursor: not-allowed; }
.submit.is-valid { background: var(--accent); color: var(--accent-ink); cursor: pointer; box-shadow: 0 0 26px rgba(77, 255, 46, 0.4); }
.submit-note { font-family: var(--mono); font-size: 10px; color: var(--dim); text-align: center; line-height: 1.5; }

#confirm-dialog { align-items: center; z-index: 70; }
.confirm { width: 100%; max-width: 460px; border: 1px solid rgba(77, 255, 46, 0.22); border-radius: 20px; background: #0a0d09; box-shadow: 0 0 60px rgba(77, 255, 46, 0.12); animation: bpModalIn 0.24s cubic-bezier(0.2, 0.8, 0.2, 1); overflow: hidden; }
.confirm-head { padding: 24px 24px 4px; }
.confirm-title { font-size: 22px; font-weight: 700; margin-top: 6px; }
.confirm-rows { padding: 10px 24px; font-family: var(--mono); font-size: 14px; }
.confirm-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; color: var(--muted-2); border-bottom: 1px solid rgba(77, 255, 46, 0.06); }
.confirm-row:last-child { border-bottom: none; }
.confirm-row span:last-child { color: var(--text); font-weight: 600; }
.confirm-sim { margin: 6px 24px 0; padding: 11px 14px; border-radius: 10px; font-family: var(--mono); font-size: 12px; line-height: 1.45; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border, rgba(255, 255, 255, 0.06)); color: var(--muted); }
.confirm-sim.ok { background: rgba(77, 255, 46, 0.06); border-color: rgba(77, 255, 46, 0.2); color: var(--cfe); }
.confirm-sim.warn { background: rgba(240, 169, 27, 0.06); border-color: rgba(240, 169, 27, 0.24); color: #e7c98a; }
.confirm-actions { display: flex; gap: 12px; padding: 20px 24px 24px; }
.confirm-actions .btn { flex: 1; }

.toast { position: fixed; z-index: 80; bottom: 24px; left: 50%; transform: translateX(-50%); max-width: 92vw; padding: 14px 20px; border-radius: 12px; border: 1px solid var(--line-2); background: #0a0d09; color: var(--text); font-size: 14px; box-shadow: 0 0 40px rgba(77, 255, 46, 0.14); }
.toast a { color: var(--accent); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .nav { display: none; }
}
@media (max-width: 720px) {
  .modal-body { grid-template-columns: 1fr; }
  .modal-col-left { border-right: none; border-bottom: 1px solid var(--line); }
  .brand-tag { display: none; }
}
@media (max-width: 560px) {
  .topbar { padding: 14px 16px; gap: 10px; }
  .topbar .btn-primary { display: none; }
  .wallet-btn { padding: 10px 13px; }
  .wallet-label { max-width: 118px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .brand-name { font-size: 18px; letter-spacing: 0.1em; }
  .eyebrow { letter-spacing: 0.2em; font-size: 12px; }
  .hero-stats { gap: 18px; }
  .stat-divider { display: none; }
  .modal-overlay { padding: 12px 10px; }
  .modal-col { padding: 20px 18px; }
}

.wallet-modal { position: relative; width: 100%; max-width: 400px; border-radius: 14px; background: #0c110d; border: 1px solid rgba(77, 255, 46, 0.16); box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55); animation: bpModalIn 0.24s cubic-bezier(0.2, 0.8, 0.2, 1); overflow: hidden; height: max-content; }
.wallet-modal-close { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; background: rgba(255, 255, 255, 0.05); border: none; border-radius: 50%; color: var(--muted-2); font-size: 20px; line-height: 1; transition: background 0.15s, color 0.15s; }
.wallet-modal-close:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.wallet-modal-title { font-weight: 500; font-size: 21px; line-height: 30px; padding: 46px 44px 26px; margin: 0; text-align: center; color: #fff; }
.wallet-modal-list { margin: 0; padding: 0 10px 12px; width: 100%; list-style: none; }
.wallet-modal-item { display: flex; align-items: center; width: 100%; height: 56px; padding: 0 18px; border: none; border-radius: 10px; background: transparent; color: #fff; font-size: 17px; font-weight: 600; letter-spacing: 0.01em; cursor: pointer; transition: background 0.12s; }
.wallet-modal-item:hover { background: rgba(77, 255, 46, 0.09); }
.wallet-modal-item-icon { width: 28px; height: 28px; border-radius: 7px; margin-right: 14px; object-fit: cover; flex-shrink: 0; }
.wallet-modal-item-dot { background: var(--dim); }
.wallet-modal-item-name { text-align: left; }
.wallet-modal-item-detected { margin-left: auto; font-size: 13px; font-weight: 500; letter-spacing: 0.03em; color: var(--accent); font-family: var(--mono); opacity: 0.85; }
.wallet-empty { padding: 0 24px 30px; text-align: center; }
.wallet-empty-links { display: flex; gap: 12px; justify-content: center; }
.wallet-empty-links a { color: var(--accent); text-decoration: none; font-family: var(--mono); font-size: 13px; border: 1px solid var(--line-2); border-radius: 8px; padding: 9px 16px; }
.wallet-empty-links a:hover { border-color: var(--accent); }
