/* =========================================================================
   DisApes Club — original "ape club" aesthetic
   Charcoal-plum base, gold + soft-violet accents, chunky display type.
   Genre vibe only; original branding/colors (no third-party marks).
   ========================================================================= */
:root {
  --bg: #16131c;          /* charcoal-plum */
  --bg-2: #1e1828;
  --card: rgba(255, 255, 255, 0.04);
  --card-2: rgba(30, 24, 40, 0.6);
  --card-border: rgba(233, 194, 91, 0.16);   /* gold tint */
  --card-border-hover: rgba(233, 194, 91, 0.42);
  --text: #efe9dd;
  --muted: #a59bac;       /* mauve-grey */
  --muted-2: #756c80;
  --accent: #e9c25b;      /* gold */
  --accent-2: #9b7bc4;    /* soft violet */
  --accent-soft: #f3d27e;
  --good: #b1c98c;        /* muted sage (subtle, success only) */
  --bad: #e0768a;
  --gold: #f0cf6e;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 22px 50px rgba(0, 0, 0, 0.55);
  --grad: linear-gradient(120deg, #e9c25b, #d39a3a);     /* gold */
  --grad-alt: linear-gradient(120deg, #9b7bc4, #7a5aa8); /* violet */
  --display: "Luckiest Guy", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  line-height: 1.45;
}

.hidden { display: none !important; }

/* ---------- Ambient background ---------- */
.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(760px 440px at 16% -6%, rgba(245, 183, 62, 0.16), transparent 70%),
    radial-gradient(640px 400px at 92% 6%, rgba(155, 123, 196, 0.16), transparent 70%),
    radial-gradient(900px 600px at 50% 110%, rgba(233, 194, 91, 0.09), transparent 70%),
    linear-gradient(180deg, var(--bg-2), var(--bg) 60%);
}

/* ---------- Layout containers ---------- */
.topbar, .wrap, .footer { position: relative; z-index: 1; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 48px);
  max-width: 1240px;
  margin: 0 auto;
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(22, 19, 28, 0.8);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--card-border);
}

.brand { display: flex; align-items: center; gap: 11px; }
.logo {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--grad);
  color: #2a1c08;
  box-shadow: 0 6px 18px rgba(245, 183, 62, 0.35);
}
.logo svg { width: 26px; height: 26px; }
.wordmark {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.45rem;
  letter-spacing: 0.5px;
  line-height: 1;
  padding-top: 3px;
}
.wordmark em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.topbar-right { display: flex; align-items: center; gap: 10px; }

.net-badge {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  white-space: nowrap;
}
.net-badge.ok { color: var(--good); border-color: rgba(177, 201, 140, 0.4); }
.net-badge.warn { color: var(--gold); border-color: rgba(255, 211, 77, 0.45); cursor: pointer; }

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px clamp(16px, 4vw, 48px) 72px;
}

/* ---------- Hero ---------- */
.hero { text-align: center; padding: 50px 0 30px; max-width: 780px; margin: 0 auto; }
.hero-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.3rem, 6.6vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0.5px;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.25);
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(0.95rem, 2.4vw, 1.08rem);
}
.hero-sub strong { color: var(--text); font-weight: 700; }

.demo-notice {
  margin: 20px auto 0;
  max-width: 600px;
  padding: 11px 16px;
  border-radius: 12px;
  background: rgba(255, 211, 77, 0.08);
  border: 1px solid rgba(255, 211, 77, 0.3);
  color: var(--gold);
  font-size: 0.86rem;
}
.demo-notice code {
  background: rgba(0, 0, 0, 0.35);
  padding: 1px 6px;
  border-radius: 6px;
  font-size: 0.85em;
}

/* ---------- Global stat tiles ---------- */
.global-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: 18px 0 36px;
}
.gstat {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}
.gstat-label { color: var(--muted); font-size: 0.76rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.4px; }
.gstat-value {
  margin-top: 6px;
  font-weight: 800;
  font-size: clamp(1.05rem, 2.6vw, 1.45rem);
  letter-spacing: -0.4px;
}

/* ---------- Mint + Dividends grid ---------- */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}
.card {
  background:
    linear-gradient(180deg, rgba(155, 123, 196, 0.06), transparent 40%),
    var(--card-2);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: var(--grad);
  opacity: 0.85;
}
.card-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.card-head h2 { font-family: var(--display); font-weight: 400; font-size: 1.5rem; letter-spacing: 0.4px; }
.pill {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(245, 183, 62, 0.14);
  border: 1px solid rgba(245, 183, 62, 0.32);
  color: var(--accent-soft);
  white-space: nowrap;
}
.pill.open { background: rgba(177, 201, 140, 0.14); border-color: rgba(177, 201, 140, 0.32); color: var(--good); }
.pill.closed { background: rgba(255, 111, 111, 0.12); border-color: rgba(255, 111, 111, 0.3); color: var(--bad); }

/* ---- Mint progress ---- */
.mint-progress { margin-bottom: 20px; }
.progress-row {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 0.88rem; color: var(--muted); margin-bottom: 8px;
}
.progress-row #mintedCount { color: var(--text); font-weight: 700; }
.progress-bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: var(--grad);
  transition: width 0.5s ease;
}

.balance-row {
  display: flex; justify-content: space-between; align-items: baseline;
  color: var(--muted);
  font-size: 0.9rem;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.balance-row strong { color: var(--text); font-weight: 700; font-size: 1rem; }
.balance-row.total-row { border-bottom: none; padding-top: 14px; }
.balance-row.total-row strong {
  font-size: 1.3rem;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---- Quantity stepper ---- */
.qty-row {
  display: flex; align-items: center; gap: 10px;
  margin: 18px 0 4px;
}
.stepper {
  width: 46px; height: 46px;
  border-radius: 12px;
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 1.5rem; line-height: 1;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  flex: none;
}
.stepper:hover:not(:disabled) { background: rgba(245, 183, 62, 0.12); border-color: var(--card-border-hover); }
.stepper:disabled { opacity: 0.4; cursor: not-allowed; }
.qty-display {
  flex: 1;
  height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid var(--card-border);
  font-size: 1.35rem; font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.mint-btn { margin-top: 18px; height: 52px; font-size: 1.05rem; }

.note { color: var(--muted); font-size: 0.8rem; margin-top: 10px; min-height: 1em; text-align: center; }

/* ---- Claim block ---- */
.claim-block {
  background: linear-gradient(135deg, rgba(233, 194, 91, 0.14), rgba(155, 123, 196, 0.1));
  border: 1px solid rgba(245, 183, 62, 0.28);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
  margin-bottom: 16px;
}
.claim-label { color: var(--accent-soft); font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.claim-value {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.8rem, 6vw, 2.5rem);
  margin: 8px 0 16px;
  letter-spacing: 0.4px;
}

.ustat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 8px;
}
.ustat {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 14px;
}
.ustat-label { color: var(--muted); font-size: 0.76rem; }
.ustat-value {
  margin-top: 5px;
  font-weight: 800;
  font-size: 1.1rem;
  word-break: break-word;
}

.poke-row { margin-top: 14px; text-align: center; }
.poke-link {
  color: var(--muted-2);
  font-size: 0.8rem;
  text-decoration: none;
  transition: color 0.15s;
}
.poke-link:hover { color: var(--accent-soft); }

/* ---------- Section heads (gallery / fission) ---------- */
.gallery-section, .fission-section { margin-top: 52px; }
.section-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  margin-bottom: 6px;
}
.section-head h2 { font-family: var(--display); font-weight: 400; font-size: 1.85rem; letter-spacing: 0.4px; }
.section-sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 20px; max-width: 660px; }
.emoji-badge {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  vertical-align: middle;
  padding: 3px 9px;
  border-radius: 8px;
  background: rgba(245, 183, 62, 0.16);
  border: 1px solid rgba(245, 183, 62, 0.32);
  color: var(--accent-soft);
  margin-left: 8px;
}

.gallery-tabs { display: flex; gap: 6px; background: rgba(0,0,0,0.3); border: 1px solid var(--card-border); padding: 4px; border-radius: 12px; }
.tab {
  border: none;
  background: none;
  color: var(--muted);
  font-size: 0.85rem; font-weight: 700;
  padding: 7px 16px;
  border-radius: 9px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.tab.active { background: var(--grad); color: #2a1c08; }

/* ---------- NFT GALLERY GRID (the centerpiece) ----------
   auto-fill + minmax reflows: 2 cols on phones → 5-6 on wide desktop. */
.nft-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
.nft-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s, box-shadow 0.18s;
  cursor: default;
  position: relative;
}
.nft-card:hover {
  transform: translateY(-4px);
  border-color: var(--card-border-hover);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.55);
}
.nft-card.owned { border-color: rgba(155, 123, 196, 0.62); }
.nft-card.owned::after {
  content: "Owned";
  position: absolute;
  top: 10px; right: 10px;
  font-size: 0.66rem; font-weight: 800;
  letter-spacing: 0.3px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--grad-alt);
  color: #fff;
}
.nft-art { display: block; width: 100%; aspect-ratio: 1 / 1; }
.nft-art svg { display: block; width: 100%; height: 100%; }
.nft-meta {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 13px;
  gap: 8px;
}
.nft-id { font-weight: 800; font-size: 0.95rem; }
.nft-claimable {
  font-size: 0.74rem;
  color: var(--accent-soft);
  font-weight: 700;
  text-align: right;
}
.nft-claimable.zero { color: var(--muted-2); }

.gallery-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 48px 16px;
  border: 1px dashed var(--card-border);
  border-radius: var(--radius);
}

/* ---------- Fission feed ---------- */
.fission-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.fission-item {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 13px;
  padding: 13px 16px;
  font-size: 0.88rem;
}
.fission-item .split-icon {
  display: grid; place-items: center;
  width: 30px; height: 30px; flex: none;
  border-radius: 9px;
  background: rgba(245, 183, 62, 0.16);
  color: var(--accent-soft);
  font-size: 1rem;
}
.fission-addrs { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }
.fission-addrs a {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.82rem;
  color: var(--accent-2);
  text-decoration: none;
  background: rgba(155, 123, 196, 0.12);
  padding: 3px 9px;
  border-radius: 7px;
}
.fission-addrs a:hover { text-decoration: underline; }
.fission-burned { color: var(--muted); font-size: 0.8rem; white-space: nowrap; }
.fission-burned strong { color: var(--text); }
.fission-empty {
  color: var(--muted);
  text-align: center;
  padding: 30px 16px;
  border: 1px dashed var(--card-border);
  border-radius: 13px;
}

/* ---------- Buttons ---------- */
.btn {
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  border-radius: 12px;
  padding: 12px 20px;
  cursor: pointer;
  color: #2a1c08;
  transition: transform 0.12s, box-shadow 0.2s, opacity 0.2s, background 0.2s;
  white-space: nowrap;
  min-height: 44px;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn.full { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 0.85rem; min-height: 40px; }

.btn-primary {
  background: var(--grad);
  box-shadow: 0 8px 22px rgba(245, 183, 62, 0.32);
}
.btn-primary:hover:not(:disabled) { box-shadow: 0 10px 28px rgba(245, 183, 62, 0.5); }

.btn-fire {
  background: var(--grad-alt);
  color: #fff;
  box-shadow: 0 8px 24px rgba(155, 123, 196, 0.32);
}
.btn-fire:hover:not(:disabled) { box-shadow: 0 12px 32px rgba(155, 123, 196, 0.5); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  color: var(--text);
}
.btn-ghost:hover:not(:disabled) { background: rgba(255, 255, 255, 0.1); }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 60;
  max-width: 92vw;
  background: rgba(13, 24, 20, 0.96);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 14px 20px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  font-size: 0.9rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastIn 0.25s ease;
}
@keyframes toastIn { from { opacity:0; transform: translate(-50%, 12px);} to {opacity:1;} }
.toast a { color: var(--accent-soft); text-decoration: none; font-weight: 700; }
.toast a:hover { text-decoration: underline; }
.toast.pending { border-color: rgba(255, 211, 77, 0.4); }
.toast.success { border-color: rgba(177, 201, 140, 0.45); }
.toast.error   { border-color: rgba(255, 111, 111, 0.45); }
.toast .spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--accent-soft);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex: none;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Footer ---------- */
.footer {
  max-width: 1240px;
  margin: 0 auto;
  padding: 32px clamp(16px, 4vw, 48px) 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid var(--card-border);
  color: var(--muted);
  font-size: 0.84rem;
}
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer a { color: var(--accent-soft); text-decoration: none; }
.footer a:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .nft-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
  .hero { padding: 32px 0 24px; }
  .wordmark { font-size: 1.2rem; }
  .card { padding: 20px; }
  .section-head h2 { font-size: 1.5rem; }
}

/* =========================================================================
   Nav tabs + Launchpad page (front-end create-token form)
   ========================================================================= */
.topbar { flex-wrap: wrap; gap: 10px; }
.nav {
  display: flex; gap: 6px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--card-border);
  padding: 4px; border-radius: 12px;
  margin: 0 auto;
}
.nav-tab {
  border: none; background: none;
  color: var(--muted); font: inherit; font-weight: 700;
  font-size: 0.86rem; padding: 8px 18px;
  border-radius: 9px; cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.nav-tab:hover { color: var(--text); }
.nav-tab.active { background: var(--grad); color: #2a1c08; }

/* ---- form fields ---- */
.field { margin-bottom: 14px; }
.field > label { display: block; font-size: 0.8rem; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--card-border);
  border-radius: 11px;
  padding: 11px 13px;
  color: var(--text);
  font: inherit; font-size: 0.92rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(233, 194, 91, 0.14);
}
.field textarea { resize: vertical; min-height: 64px; line-height: 1.4; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ---- step rail ---- */
.lp-steps {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 8px 0 22px;
}
.lp-step {
  display: flex; align-items: center; gap: 8px;
  flex: 1; min-width: 130px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 11px 14px;
  color: var(--muted); font-size: 0.86rem; font-weight: 600;
}
.lp-step.active { border-color: var(--card-border-hover); color: var(--text); }
.lp-step-num {
  display: grid; place-items: center;
  width: 22px; height: 22px; flex: none;
  border-radius: 50%;
  background: var(--grad); color: #2a1c08;
  font-size: 0.78rem; font-weight: 800;
}
.lp-step:not(.active) .lp-step-num { background: rgba(255,255,255,0.08); color: var(--muted); }

/* ---- layout: left form + right stacked column ---- */
.lp-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 18px; align-items: start; }
.lp-col { display: flex; flex-direction: column; gap: 18px; }

/* ---- fees ---- */
.lp-fee-block { margin-bottom: 14px; }
.lp-fee-block + .lp-fee-block { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 14px; }
.lp-fee-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.lp-fee-head h3 { font-size: 1rem; font-weight: 700; }
.lp-fee-total { font-size: 0.8rem; color: var(--accent-soft); font-weight: 700; font-variant-numeric: tabular-nums; }
.fee-row {
  display: grid; grid-template-columns: 84px 1fr 58px; align-items: center; gap: 10px;
  padding: 6px 0; font-size: 0.86rem; color: var(--muted);
}
.fee-row span { color: var(--text); }
.fee-row input[type="range"] { width: 100%; accent-color: var(--accent); cursor: pointer; }
.fee-row .lp-fee-val { text-align: right; font-weight: 700; color: var(--accent-soft); font-variant-numeric: tabular-nums; }

/* ---- evolve grid ---- */
.lp-grid4 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lp-grid4 + .lp-grid4 { margin-top: 4px; }

/* ---- misc ---- */
.lp-upload { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.lp-switch {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(0,0,0,0.25); border: 1px solid var(--card-border);
  border-radius: 12px; padding: 12px 14px; margin: 4px 0 14px;
  font-size: 0.88rem; cursor: pointer;
}
.lp-switch input { width: 20px; height: 20px; accent-color: var(--accent); flex: none; }
.lp-summary .balance-row strong.over { color: var(--bad); }

/* ---- launchpad responsive ---- */
@media (max-width: 860px) {
  .lp-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .nav { order: 3; flex-basis: 100%; }
  .field-row { grid-template-columns: 1fr; }
  .fee-row { grid-template-columns: 72px 1fr 52px; gap: 8px; }
}

/* ---- Wallet picker menu (MetaMask / OKX) ---- */
.topbar-right { position: relative; }
.wallet-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 214px;
  background: rgba(22, 19, 28, 0.98);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  z-index: 50;
  display: flex; flex-direction: column; gap: 4px;
}
.wallet-menu-title { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; padding: 6px 8px 4px; }
.wallet-opt {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 11px 12px;
  color: var(--text); font: inherit; font-weight: 600; font-size: 0.9rem;
  cursor: pointer; text-align: left; width: 100%;
  transition: background 0.15s, border-color 0.15s;
}
.wallet-opt:hover { background: rgba(245, 183, 62, 0.1); border-color: var(--card-border); }
.wallet-opt > span:nth-child(2) { flex: 1; }
.wallet-opt .wallet-ic { font-size: 1.15rem; line-height: 1; }
.wallet-opt em { font-style: normal; font-size: 0.72rem; color: var(--accent-soft); }
.wallet-opt.muted { opacity: 0.6; }
.wallet-opt.muted em { color: var(--muted); }

/* ---- Shared NFT image (IPFS) fills the square card ---- */
.nft-art img.nft-img { display: block; width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #1a1620; }
