/* ==========================================================================
   WANTED BOARD — styles
   ========================================================================== */
:root {
  --bg: #0b0820;
  --bg-2: #110c2c;
  --bg-3: #191240;
  --panel: rgba(30, 22, 70, 0.55);
  --panel-solid: #1a1340;
  --line: rgba(190, 170, 255, 0.14);
  --line-2: rgba(190, 170, 255, 0.24);
  --text: #f4f0ff;
  --muted: #b3a8d6;
  --dim: #8478ad;
  --coral: #ff6b5a;
  --magenta: #ff3ea5;
  --cyan: #29e3ff;
  --gold: #ffc56b;
  --green: #4ef0a8;
  --grad: linear-gradient(100deg, var(--coral) 0%, var(--magenta) 50%, var(--cyan) 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
  --display: "Big Shoulders Display", "Impact", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --nav-h: 72px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.lock { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--mono); }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--cyan); color: #000; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

h1, h2, h3 { margin: 0; line-height: 1.05; }
h2 { font: 800 clamp(2.1rem, 4.6vw, 3.6rem)/1 var(--display); letter-spacing: 0.01em; text-transform: uppercase; }
h3 { font-weight: 700; font-size: 1.12rem; line-height: 1.25; }
.eyebrow { margin: 0 0 10px; font: 700 0.78rem/1 var(--mono); letter-spacing: 0.22em; text-transform: uppercase; color: var(--cyan); }
.sec-sub { margin: 14px 0 0; color: var(--muted); max-width: 60ch; }
.fine { margin: 22px 0 0; font-size: 0.86rem; color: var(--dim); }

/* ---------- buttons ---------- */
.btn {
  --b: var(--line-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--b);
  background: rgba(255, 255, 255, 0.04); font-weight: 600; font-size: 0.95rem; cursor: pointer;
  transition: transform .18s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, opacity .2s;
  white-space: nowrap; user-select: none;
}
.btn svg { font-size: 1.05em; }
.btn:hover { transform: translateY(-1px); border-color: rgba(255,255,255,.4); }
.btn:active { transform: translateY(0); }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 1rem; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 0.86rem; }
.btn-primary { background: linear-gradient(100deg, var(--coral), var(--magenta)); border-color: transparent; color: #fff; box-shadow: 0 10px 30px -10px rgba(255, 62, 165, .7); }
.btn-primary:hover { box-shadow: 0 14px 36px -10px rgba(255, 62, 165, .9); border-color: transparent; }
.btn-ghost { background: rgba(12, 8, 32, .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-outline { background: transparent; }
.btn-buy { background: rgba(41, 227, 255, .12); --b: rgba(41, 227, 255, .5); color: var(--cyan); }
.btn-wallet { background: rgba(41, 227, 255, .08); --b: rgba(41, 227, 255, .45); min-height: 40px; padding: 0 16px; font-size: .9rem; }
.btn-wallet .wdot { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); }
.btn-wallet.is-on .wdot { background: var(--green); box-shadow: 0 0 10px var(--green); }
.btn-wallet.is-on { --b: rgba(78, 240, 168, .5); background: rgba(78, 240, 168, .08); }
.btn[disabled], .btn.is-disabled {
  opacity: .5; cursor: not-allowed; transform: none !important; box-shadow: none !important; pointer-events: auto;
}
.btn.is-disabled { pointer-events: none; }
.btn.is-ok { --b: rgba(78, 240, 168, .7); color: var(--green); background: rgba(78,240,168,.1); }
.btn-danger { --b: rgba(255, 107, 90, .5); color: var(--coral); background: transparent; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cta-row.center { justify-content: center; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); transition: background .25s, border-color .25s, backdrop-filter .25s; border-bottom: 1px solid transparent; }
.nav.scrolled, .nav.open { background: rgba(11, 8, 32, .82); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-color: var(--line); }
.nav-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand .mono { width: 36px; height: 36px; border-radius: 9px; object-fit: cover; box-shadow: 0 0 18px -4px rgba(255, 62, 165, .55); }
.brand-txt { font: 600 1.35rem/1 var(--display); letter-spacing: .06em; white-space: nowrap; }
.brand-txt b { font-weight: 900; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links > a { padding: 8px 12px; border-radius: 999px; font-size: .92rem; font-weight: 500; color: var(--muted); transition: color .2s, background .2s; }
.nav-links > a:hover, .nav-links > a.is-active { color: var(--text); background: rgba(255,255,255,.06); }
.nav-social { display: flex; gap: 6px; margin-left: 8px; padding-left: 12px; border-left: 1px solid var(--line); }
.icon-link { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); color: var(--muted); transition: color .2s, border-color .2s, background .2s; }
.icon-link svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.icon-link:not(.is-disabled):hover { color: var(--text); border-color: var(--line-2); background: rgba(255,255,255,.06); }
.icon-link.is-disabled { opacity: .5; cursor: not-allowed; }
.soon-dot { display: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); cursor: pointer; padding: 0; place-items: center; }
.burger span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; margin: 2px auto; transition: transform .25s, opacity .2s; }
.nav.open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.open .burger span:nth-child(2) { opacity: 0; }
.nav.open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; margin-top: calc(var(--nav-h) * -1); min-height: min(100svh, 920px); display: flex; align-items: center; padding: calc(var(--nav-h) + 48px) 0 110px; isolation: isolate; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(180deg, rgba(11,8,32,0) 55%, rgba(11,8,32,.75) 82%, var(--bg) 100%),
    linear-gradient(90deg, rgba(11,8,32,.94) 0%, rgba(24,12,58,.82) 28%, rgba(28,12,62,.42) 55%, rgba(11,8,32,.08) 80%),
    linear-gradient(rgba(8,6,24,.32), rgba(8,6,24,.32)),
    linear-gradient(180deg, rgba(11,8,32,.6) 0%, rgba(11,8,32,0) 22%),
    url("https://amaranth-realistic-koala-352.mypinata.cloud/ipfs/bafybeic3j7nxkni66z7vr2jvtaisnx3ays524nkmkeitii6gmaawfxh5cm"),
    radial-gradient(120% 90% at 78% 70%, #ff8a5c 0%, #e2457a 28%, #5a1d74 55%, #1a0f3d 80%, var(--bg) 100%);
  background-size: cover, cover, cover, cover, cover, cover;
  background-position: center, center, center, center, 70% center, center;
  background-repeat: no-repeat;
}
.hero-inner { position: relative; }
.hero-copy { max-width: 660px; }
.status-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 12px; border-radius: 999px; border: 1px solid rgba(41,227,255,.4); background: rgba(11, 8, 32, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font: 600 .78rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(41,227,255,.6); animation: pulse 2.2s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(41,227,255,.55) } 70% { box-shadow: 0 0 0 10px rgba(41,227,255,0) } 100% { box-shadow: 0 0 0 0 rgba(41,227,255,0) } }
.hero h1 { margin-top: 24px; font: 900 clamp(2.9rem, 7.4vw, 6rem)/.92 var(--display); text-transform: uppercase; letter-spacing: .005em; text-shadow: 0 6px 40px rgba(0,0,0,.5); }
.hero h1 .grad { text-shadow: none; filter: drop-shadow(0 4px 24px rgba(255, 62, 165, .35)); }
.lede { margin: 22px 0 0; font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: #e2dbf7; max-width: 54ch; text-shadow: 0 2px 16px rgba(0,0,0,.6); }

.ca-panel { margin-top: 34px; padding: 16px; border-radius: var(--radius); border: 1px solid var(--line-2); background: rgba(13, 9, 36, .62); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); max-width: 640px; }
.ca-row { display: flex; align-items: center; gap: 10px; }
.ca-label { flex: none; padding: 6px 10px; border-radius: 8px; background: rgba(255, 62, 165, .16); color: var(--magenta); font: 700 .78rem/1 var(--mono); letter-spacing: .1em; }
.ca-value { flex: 1; min-width: 0; font: 700 .86rem/1.35 var(--mono); letter-spacing: 0; color: var(--text); overflow-wrap: anywhere; word-break: break-all; user-select: all; }
.ca-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ca-actions .btn { flex: 1 1 160px; flex-direction: column; gap: 0; line-height: 1.15; }
.ca-note { margin: 12px 0 0; font-size: .8rem; color: var(--dim); }
[data-soon].is-disabled::after { content: attr(data-soon); display: block; font: 500 .7rem/1.1 var(--mono); letter-spacing: .04em; opacity: .9; margin-top: 2px; }
.cta-row [data-soon].is-disabled { flex-direction: column; gap: 0; line-height: 1.15; }
.cta-row [data-soon].is-disabled .lbl { display: none; }
.cta-row [data-soon].is-disabled::after { font: 600 1rem/1 var(--body); margin: 0; letter-spacing: 0; }

.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); width: 26px; height: 42px; border-radius: 14px; border: 2px solid rgba(255,255,255,.35); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--text); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0) } 30% { opacity: 1 } 100% { opacity: 0; transform: translateY(14px) } }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(72px, 10vw, 120px) 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.ex-tag { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 6px; font: 700 .64rem/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: rgba(255,255,255,.05); border: 1px solid var(--line-2); vertical-align: middle; }
.launch-note { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--radius-sm); border: 1px solid rgba(41,227,255,.3); background: rgba(41,227,255,.06); color: #d6f6ff; font-size: .9rem; margin-bottom: 22px; }
.launch-note strong { color: var(--cyan); }

/* leads */
.leads { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.leads::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 40% at 90% 0%, rgba(255, 62, 165, .08), transparent 70%), radial-gradient(50% 40% at 0% 100%, rgba(41, 227, 255, .06), transparent 70%); }
.toolbar { position: relative; display: grid; gap: 14px; margin-bottom: 10px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--muted); font-size: .88rem; font-weight: 600; cursor: pointer; transition: all .2s; display: inline-flex; align-items: center; gap: 8px; }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--muted)); }
.chip:hover { color: var(--text); border-color: var(--line-2); }
.chip[aria-selected="true"] { color: var(--text); border-color: var(--c, var(--cyan)); background: color-mix(in srgb, var(--c, var(--cyan)) 16%, transparent); }
.controls { display: flex; flex-wrap: wrap; gap: 10px; }
.search { flex: 1 1 240px; display: flex; align-items: center; gap: 10px; padding: 0 14px; min-height: 46px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--dim); transition: border-color .2s; }
.search:focus-within { border-color: var(--cyan); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; color: var(--text); font-size: .95rem; }
.search input::placeholder { color: var(--dim); }
.sel { display: flex; flex-direction: column; gap: 2px; padding: 5px 12px 6px; min-height: 46px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.04); flex: 0 1 auto; }
.sel span { font: 600 .62rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.sel select { border: 0; background: transparent; outline: none; font-size: .9rem; font-weight: 600; cursor: pointer; padding-right: 4px; }
.sel select option { background: var(--panel-solid); color: var(--text); }
.sel:focus-within { border-color: var(--cyan); }
.result-count { margin: 6px 0 18px; font-size: .85rem; color: var(--dim); min-height: 1.4em; }

.grid { position: relative; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.card {
  --c: var(--cyan);
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 20px 20px 18px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(40, 28, 92, .55), rgba(22, 15, 54, .7)); border: 1px solid var(--line);
  cursor: pointer; transition: transform .22s ease, border-color .22s, box-shadow .22s; overflow: hidden; text-align: left; min-height: 280px;
  animation: rise .45s ease both;
}
.card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--c); opacity: .85; }
.card::after { content: ""; position: absolute; width: 220px; height: 220px; right: -90px; top: -110px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%); pointer-events: none; transition: opacity .3s; opacity: .6; }
.card:hover, .card:focus-visible { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 55%, transparent); box-shadow: 0 24px 50px -24px color-mix(in srgb, var(--c) 60%, transparent); }
.card:hover::after { opacity: 1; }
.card.is-closed { opacity: .72; }
@keyframes rise { from { opacity: 0; transform: translateY(10px) } to { opacity: 1; transform: none } }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lead-no { font: 600 .72rem/1 var(--mono); letter-spacing: .14em; color: var(--dim); }
.cat { display: inline-flex; align-items: center; gap: 6px; font: 700 .72rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--c); }
.cat i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); }
.card h3 { font: 800 1.6rem/1.02 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.card-blurb { margin: 0; font-size: .9rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; font-size: .74rem; font-weight: 600; border: 1px solid var(--line-2); color: var(--muted); background: rgba(255,255,255,.03); }
.pill.spoil-minor { color: var(--gold); border-color: rgba(255,197,107,.45); background: rgba(255,197,107,.08); }
.pill.spoil-major { color: var(--coral); border-color: rgba(255,107,90,.5); background: rgba(255,107,90,.1); }
.pill.st-open { color: var(--green); border-color: rgba(78,240,168,.4); }
.pill.st-closing { color: var(--gold); border-color: rgba(255,197,107,.45); }
.pill.st-closed { color: var(--dim); }
.diff { display: inline-flex; gap: 3px; align-items: center; }
.diff b { width: 6px; height: 10px; border-radius: 2px; background: rgba(255,255,255,.18); }
.diff b.on { background: var(--c); }
.card-foot { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.stat { display: flex; flex-direction: column; }
.stat b { font: 800 1.4rem/1 var(--display); letter-spacing: .02em; }
.stat span { font-size: .72rem; color: var(--dim); text-transform: uppercase; letter-spacing: .08em; margin-top: 3px; }
.bounty-line { grid-column: 1 / -1; font-size: .76rem; color: var(--dim); display: flex; align-items: center; gap: 6px; }
.bounty-line svg { color: var(--magenta); }
.skel { min-height: 280px; cursor: default; background: linear-gradient(100deg, rgba(40,28,92,.4) 30%, rgba(70,50,140,.45) 50%, rgba(40,28,92,.4) 70%); background-size: 300% 100%; animation: shimmer 1.4s infinite linear; }
.skel::before, .skel::after { display: none; }
@keyframes shimmer { from { background-position: 100% 0 } to { background-position: -100% 0 } }
.empty { grid-column: 1 / -1; text-align: center; padding: 56px 20px; border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--muted); }
.empty h3 { font: 800 1.8rem/1 var(--display); text-transform: uppercase; margin-bottom: 8px; color: var(--text); }
.empty .btn { margin-top: 16px; }

/* how */
.how { background: var(--bg-2); }
.how h2 { max-width: 18ch; }
.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); overflow: hidden; }
.step-n { position: absolute; right: 18px; top: 8px; font: 900 4.6rem/1 var(--display); color: rgba(255,255,255,.05); }
.step-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; margin-bottom: 18px; }
.ico-coral { background: rgba(255,107,90,.14); color: var(--coral); box-shadow: inset 0 0 0 1px rgba(255,107,90,.35); }
.ico-magenta { background: rgba(255,62,165,.14); color: var(--magenta); box-shadow: inset 0 0 0 1px rgba(255,62,165,.35); }
.ico-cyan { background: rgba(41,227,255,.12); color: var(--cyan); box-shadow: inset 0 0 0 1px rgba(41,227,255,.35); }
.step h3 { font: 800 1.7rem/1 var(--display); text-transform: uppercase; margin-bottom: 10px; }
.step p { margin: 0; color: var(--muted); }

/* leaderboard */
.board { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.tabs { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.tab { min-height: 38px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-weight: 600; font-size: .88rem; cursor: pointer; transition: all .2s; white-space: nowrap; }
.tab:hover { color: var(--text); }
.tab.is-on { background: var(--grad); color: #0b0820; }
.lb { border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); overflow: hidden; }
.lb-row { display: grid; grid-template-columns: 64px minmax(0, 1.6fr) 1fr 1.3fr 0.9fr; align-items: center; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--line); width: 100%; background: transparent; border-left: 0; border-right: 0; border-bottom: 0; text-align: left; cursor: pointer; transition: background .2s; }
.lb-row:hover { background: rgba(255,255,255,.04); }
.lb-head { cursor: default; border-top: 0; font: 600 .68rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); padding-block: 14px; }
.lb-head:hover { background: transparent; }
.rank { font: 900 1.6rem/1 var(--display); color: var(--dim); }
.lb-row:nth-child(2) .rank { color: var(--gold); }
.lb-row:nth-child(3) .rank { color: #d9e2ff; }
.lb-row:nth-child(4) .rank { color: var(--coral); }
.who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ava { width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center; font: 800 1rem/1 var(--display); color: #0b0820; }
.ava.lg { width: 72px; height: 72px; border-radius: 20px; font-size: 1.8rem; }
.who b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who small { color: var(--dim); font-size: .78rem; }
.rep b { font: 800 1.3rem/1 var(--display); }
.rep small { color: var(--dim); font-size: .74rem; margin-left: 4px; }
.bdg-row { display: flex; gap: 5px; flex-wrap: wrap; }
.bdg { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: .85rem; background: color-mix(in srgb, var(--bc) 18%, transparent); color: var(--bc); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bc) 40%, transparent); }
.appr { font-weight: 600; color: var(--muted); }

/* token */
.token { background: radial-gradient(70% 60% at 85% 30%, rgba(255,62,165,.12), transparent 70%), radial-gradient(60% 60% at 10% 80%, rgba(41,227,255,.08), transparent 70%), var(--bg); }
.token-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; }
.token h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.token-status { margin-top: 28px; display: grid; gap: 1px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); background: var(--line); }
.token-status > div { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 18px; background: var(--panel-solid); }
.ts-k { font: 600 .7rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.ts-v { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-align: right; min-width: 0; overflow-wrap: anywhere; }
.utils { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.util { position: relative; padding: 22px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.util h3 { margin: 14px 0 6px; font: 800 1.35rem/1.05 var(--display); text-transform: uppercase; }
.util p { margin: 0; font-size: .9rem; color: var(--muted); }
.tag-planned { display: inline-block; padding: 3px 9px; border-radius: 6px; font: 700 .66rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--magenta); background: rgba(255,62,165,.12); border: 1px solid rgba(255,62,165,.35); }
.disclaimer { margin: 36px 0 0; padding: 16px 18px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: rgba(255,255,255,.03); font-size: .88rem; color: var(--muted); }
.disclaimer strong { color: var(--text); }

/* community */
.community { padding-top: 40px; }
.cta-card { position: relative; text-align: center; padding: clamp(48px, 7vw, 84px) 24px; border-radius: 28px; overflow: hidden; border: 1px solid var(--line-2); background: radial-gradient(90% 120% at 50% 120%, rgba(255,107,90,.35), transparent 60%), radial-gradient(70% 90% at 100% 0%, rgba(41,227,255,.18), transparent 60%), linear-gradient(160deg, #22145a, #140c36); }
.cta-card .sec-sub { margin-inline: auto; }
.cta-card h2 { font-size: clamp(2.2rem, 5.4vw, 4.2rem); }

/* footer */
.footer { border-top: 1px solid var(--line); background: #08061a; padding: 56px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 32px; }
.foot-tick { margin: 8px 0 0; color: var(--cyan); font-weight: 700; }
.foot-tag { margin: 8px 0 0; color: var(--muted); font-size: .9rem; }
.foot-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; align-content: start; }
.foot-links a { color: var(--muted); font-size: .92rem; }
.foot-links a:hover { color: var(--text); }
.foot-disc { margin: 0; font-size: .82rem; color: var(--dim); }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--dim); }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-scrim { position: absolute; inset: 0; background: rgba(5, 3, 16, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .2s ease; }
.modal-panel { position: relative; width: min(860px, 100%); max-height: calc(100svh - 40px); overflow-y: auto; overscroll-behavior: contain; border-radius: 22px; border: 1px solid var(--line-2); background: linear-gradient(180deg, #1c1446, #120c30); box-shadow: 0 40px 80px -30px rgba(0,0,0,.9); animation: pop .25s ease; outline: none; }
.modal-panel.narrow { width: min(520px, 100%); }
@keyframes fade { from { opacity: 0 } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98) } }
.modal-x { position: sticky; float: right; top: 14px; margin: 14px 14px 0 0; z-index: 2; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(12,8,32,.8); cursor: pointer; display: grid; place-items: center; font-size: 18px; }
.modal-x:hover { border-color: rgba(255,255,255,.4); }
.modal-body { padding: 28px clamp(20px, 4vw, 36px) 32px; }
.m-head { --c: var(--cyan); padding-right: 40px; }
.m-head h2 { margin: 12px 0 10px; font-size: clamp(2rem, 4.4vw, 3rem); }
.m-meta { color: var(--dim); font-size: .85rem; }
.m-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; margin-top: 22px; }
.m-sec h4 { margin: 0 0 10px; font: 700 .72rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
.m-sec + .m-sec { margin-top: 24px; }
.m-sec p { margin: 0 0 10px; color: #ddd5f4; }
.rules { margin: 0; padding-left: 20px; color: #ddd5f4; }
.rules li { margin-bottom: 6px; }
.rules li::marker { color: var(--magenta); }
.side { padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.03); display: grid; gap: 14px; align-content: start; }
.side dl { margin: 0; display: grid; gap: 12px; }
.side dt { font: 600 .66rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.side dd { margin: 0; font-weight: 600; }
.side .note { font-size: .8rem; color: var(--dim); font-weight: 400; }
.spoiler { position: relative; border-radius: 14px; border: 1px solid rgba(255,107,90,.4); background: rgba(255,107,90,.06); padding: 16px; }
.spoiler-warn { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: #ffd2cb; }
.spoiler-warn svg { color: var(--coral); font-size: 1.2rem; margin-top: 2px; }
.spoiler-body { margin-top: 12px; filter: blur(7px); user-select: none; transition: filter .3s; }
.spoiler.revealed .spoiler-body { filter: none; user-select: auto; }
.spoiler .btn { margin-top: 12px; }

.subs { display: grid; gap: 12px; }
.sub { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.025); align-items: start; }
.sub-thumb { width: 72px; height: 72px; border-radius: 12px; overflow: hidden; background: var(--tg, linear-gradient(135deg, #3b1559, #ff6b5a)); display: grid; place-items: center; color: rgba(255,255,255,.75); font-size: 22px; }
.sub-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sub-main { min-width: 0; }
.sub-who { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .86rem; }
.sub-who b { font-weight: 600; }
.sub-who .when { color: var(--dim); }
.sub p { margin: 6px 0 0; font-size: .92rem; color: #ddd5f4; overflow-wrap: anywhere; }
.st-valid { color: var(--green); font-size: .74rem; font-weight: 600; }
.st-review { color: var(--gold); font-size: .74rem; font-weight: 600; }
.vote { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 56px; padding: 8px 6px; border-radius: 12px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; transition: all .2s; }
.vote svg { font-size: 18px; }
.vote b { font: 800 1.1rem/1 var(--display); }
.vote:hover:not([disabled]) { border-color: var(--cyan); color: var(--cyan); }
.vote.is-voted { border-color: var(--cyan); color: var(--cyan); background: rgba(41,227,255,.1); }
.vote[disabled] { opacity: .45; cursor: not-allowed; }
.sub-tools { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }

/* forms */
.form { display: grid; gap: 14px; margin-top: 16px; padding: 18px; border-radius: 16px; border: 1px solid rgba(41,227,255,.3); background: rgba(41,227,255,.04); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; }
.field > span { font: 600 .7rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(8,6,24,.6); color: var(--text); outline: none; transition: border-color .2s; }
.field select option { background: var(--panel-solid); }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cyan); }
.field small { font-size: .76rem; color: var(--dim); }
.field.err input, .field.err textarea { border-color: var(--coral); }
.field .msg { color: var(--coral); font-size: .78rem; min-height: 0; }
.check { display: flex; gap: 10px; align-items: center; font-size: .9rem; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--magenta); }
.file-drop { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; border: 1px dashed var(--line-2); cursor: pointer; color: var(--muted); font-size: .88rem; }
.file-drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.file-drop .prev { width: 56px; height: 56px; border-radius: 10px; background: rgba(255,255,255,.05); overflow: hidden; display: grid; place-items: center; flex: none; }
.file-drop .prev img { width: 100%; height: 100%; object-fit: cover; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.local-note { font-size: .8rem; color: var(--gold); }
.success { padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(78,240,168,.4); background: rgba(78,240,168,.07); color: #c9f9e3; font-size: .9rem; }

/* wallet + profile */
.w-list { display: grid; gap: 10px; margin-top: 18px; }
.w-opt { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); cursor: pointer; text-align: left; transition: border-color .2s, background .2s; }
.w-opt:hover:not([disabled]) { border-color: var(--cyan); background: rgba(41,227,255,.06); }
.w-opt[disabled] { opacity: .6; cursor: progress; }
.w-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font: 800 1.1rem/1 var(--display); color: #0b0820; flex: none; }
.w-opt b { display: block; }
.w-opt small { color: var(--dim); }
.w-opt .go { margin-left: auto; color: var(--dim); }
.info { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); font-size: .88rem; color: var(--muted); margin-top: 16px; }
.info a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.addr { font: 700 .95rem/1.4 var(--mono); padding: 12px 14px; border-radius: 12px; background: rgba(8,6,24,.6); border: 1px solid var(--line-2); overflow-wrap: anywhere; margin-top: 14px; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.2); border-top-color: var(--cyan); animation: spin .8s linear infinite; display: inline-block; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg) } }
.p-head { display: flex; align-items: center; gap: 18px; padding-right: 40px; }
.p-head h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.p-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 22px; }
.p-stat { padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.p-stat b { display: block; font: 800 1.6rem/1 var(--display); }
.p-stat span { font-size: .72rem; color: var(--dim); text-transform: uppercase; letter-spacing: .08em; }
.p-badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.p-badge { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.p-badge small { display: block; color: var(--dim); font-size: .78rem; }
.linkish { background: none; border: 0; padding: 0; color: var(--cyan); cursor: pointer; text-align: left; font-size: .92rem; }
.linkish:hover { text-decoration: underline; }
.p-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }

/* toasts */
.toasts { position: fixed; z-index: 200; left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; gap: 8px; width: min(440px, calc(100% - 32px)); pointer-events: none; }
.toast { padding: 12px 16px; border-radius: 14px; background: rgba(20,14,50,.96); border: 1px solid var(--line-2); box-shadow: var(--shadow); font-size: .9rem; animation: pop .25s ease; pointer-events: auto; display: flex; gap: 10px; align-items: center; }
.toast.ok { border-color: rgba(78,240,168,.5); }
.toast.warn { border-color: rgba(255,197,107,.5); }
.toast.ok::before { content: "✓"; color: var(--green); font-weight: 800; }
.toast.warn::before { content: "!"; color: var(--gold); font-weight: 800; }

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .token-grid { grid-template-columns: 1fr; gap: 32px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-disc { grid-column: 1 / -1; }
}
@media (max-width: 920px) {
  .burger { display: grid; }
  .nav-links {
    position: fixed; left: 0; right: 0; top: var(--nav-h); margin: 0; padding: 12px 20px 24px;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: rgba(11, 8, 32, .97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.open .nav-links { transform: none; opacity: 1; visibility: visible; }
  .nav-links > a { padding: 14px 12px; font-size: 1.05rem; border-radius: 12px; }
  .nav-social { margin: 10px 0 0; padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--line); gap: 10px; }
  .icon-link { width: auto; height: 44px; padding: 0 16px; border-radius: 999px; display: inline-flex; gap: 8px; }
  .icon-link .sr { position: static; width: auto; height: auto; clip: auto; }
  .icon-link.is-disabled .soon-dot { display: inline; font: 600 .66rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
  .steps { grid-template-columns: 1fr; }
  .m-grid { grid-template-columns: 1fr; }
  .lb-row { grid-template-columns: 44px minmax(0, 1fr) auto; padding: 12px 14px; }
  .lb-row .bdg-col, .lb-row .appr { display: none; }
  .lb-row .rep { text-align: right; }
}
@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  .wrap { width: calc(100% - 32px); }
  .brand-txt { font-size: 1.15rem; }
  .brand .mono { width: 32px; height: 32px; }
  .btn-wallet { padding: 0 12px; font-size: .82rem; }
  .hero { min-height: auto; padding: calc(var(--nav-h) + 40px) 0 88px; align-items: flex-start; }
  .hero-bg {
    background-image:
      linear-gradient(180deg, rgba(11,8,32,0) 70%, var(--bg) 100%),
      linear-gradient(180deg, rgba(11,8,32,.72) 0%, rgba(20,10,50,.62) 40%, rgba(16,9,42,.82) 100%),
      linear-gradient(90deg, rgba(11,8,32,.6), rgba(11,8,32,.2)),
      linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0)),
      url("https://amaranth-realistic-koala-352.mypinata.cloud/ipfs/bafybeic3j7nxkni66z7vr2jvtaisnx3ays524nkmkeitii6gmaawfxh5cm"),
      radial-gradient(120% 90% at 70% 80%, #ff8a5c 0%, #e2457a 28%, #5a1d74 55%, #1a0f3d 80%, var(--bg) 100%);
    background-position: center, center, center, center, 62% center, center;
  }
  .cta-row .btn { flex: 1 1 100%; }
  .ca-panel { padding: 14px; }
  .ca-row { flex-wrap: wrap; }
  .ca-value { flex: 1 1 calc(100% - 60px); }
  .btn-copy { width: 100%; }
  .scroll-cue { display: none; }
  .toolbar .sel { flex: 1 1 calc(50% - 5px); }
  .tabs { width: 100%; }
  .tab { flex: 1; padding: 0 8px; font-size: .8rem; }
  .utils { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .modal { padding: 0; align-items: end; }
  .modal-panel { max-height: 92svh; border-radius: 22px 22px 0 0; }
  .form .row2 { grid-template-columns: 1fr; }
  .sub { grid-template-columns: 1fr auto; }
  .sub-thumb { grid-column: 1 / -1; width: 100%; height: 140px; }
  .p-stats { grid-template-columns: 1fr 1fr; }
  .p-head { gap: 14px; }
  .ava.lg { width: 60px; height: 60px; font-size: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
