/* Synth / Neural: one stylesheet, dark and quiet (near-black, silver buttons, Geist). */
@font-face { font-family: "Geist"; src: url("/assets/geist.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/geist-mono.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }

:root {
  --bg: #0a0a0c; --bg-2: #0e0e11; --card: #121216; --card-2: #17171c; --field: #1a1a1f; --line: #1f2026; --line-2: #2e2f36;
  --text: #f2f3f5; --text-2: #c3c5cc; --muted: #a0a2ab; --muted-2: #8e9099; --dim: #5c5e66;
  --up: #5cd08a; --down: #ff6b6b; --warn: #f2c14e;
  --silver: linear-gradient(180deg, #f7f8fa 0%, #c8cad0 100%);
  --r-lg: 22px; --r-md: 16px; --r-sm: 12px;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #8e9099; outline-offset: 2px; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.muted-2 { color: var(--muted-2); }
.up { color: var(--up); } .down { color: var(--down); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 40; background: rgba(10, 10, 12, .82); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); }
.top .wrap { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top-l { display: flex; align-items: center; gap: 40px; min-width: 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 20px; letter-spacing: -0.02em; }
.brand svg { flex: none; }
.nav { display: flex; gap: 28px; font-size: 15px; }
.nav a { color: var(--muted); transition: color .15s; }
.nav a:hover, .nav a.on { color: var(--text); }
.top-r { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 40px; height: 40px; border-radius: 999px; background: #151519; display: grid; place-items: center; border: 0; transition: background .15s; }
.icon-btn:hover { background: #1e1e23; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; padding: 11px 18px; border-radius: 999px; background: #151519; color: var(--text); font-size: 14px; font-weight: 600; white-space: nowrap; transition: background .15s, filter .15s, transform .1s; }
.btn:hover { background: #1e1e23; }
.btn:active { transform: translateY(1px); }
.btn-silver { background: var(--silver); color: #0a0a0c; box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 8px 24px rgba(255, 255, 255, .07); }
.btn-silver:hover { background: var(--silver); filter: brightness(1.05); }
.btn-lg { padding: 15px 24px; font-size: 15px; }
.btn-xl { width: 100%; padding: 17px; border-radius: 18px; font-size: 16px; }
.btn-sm { padding: 7px 12px; font-size: 13px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; filter: none; transform: none; }
.btn .spin { width: 16px; height: 16px; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 0; padding: 8px 14px; border-radius: 999px; background: #151519; color: var(--text-2); font-size: 14px; transition: background .15s, color .15s; }
.chip:hover { background: #1e1e23; color: var(--text); }
.chip.on { background: #2a2b31; color: var(--text); }
.redo { display: inline-flex; align-items: center; gap: 6px; border: 0; padding: 6px 10px; border-radius: 999px; background: #1a1a1f; color: var(--text-2); font-size: 12px; transition: background .15s, color .15s; }
.redo:hover { background: #22232a; color: var(--text); }
.redo.bare { background: transparent; padding: 2px 6px; color: var(--muted); }
.redo.bare:hover { background: #22232a; }
.redo[disabled] { opacity: .5; cursor: progress; }
.wallet-btn .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--up); }
.wallet-btn.on { background: #151519; color: var(--text-2); font-family: var(--mono); font-weight: 500; box-shadow: none; }
.wallet-btn.on:hover { background: #1e1e23; filter: none; }

/* ---------- type ---------- */
h1, h2, h3 { margin: 0; font-weight: 600; }
.h-hero { font-size: clamp(44px, 6vw, 76px); line-height: 1.02; letter-spacing: -0.045em; }
.h-hero span, .h2 span { color: var(--muted-2); }
.h1 { font-size: clamp(34px, 4vw, 48px); line-height: 1.05; letter-spacing: -0.04em; }
.h2 { font-size: clamp(32px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.035em; }
.h3 { font-size: 19px; letter-spacing: -0.01em; }
.lead { margin: 14px 0 0; max-width: 620px; font-size: 17px; line-height: 1.6; color: var(--muted); }
.lead-lg { margin: 26px 0 0; max-width: 560px; font-size: 18px; line-height: 1.6; color: var(--muted); }

/* ---------- home ---------- */
.hero { padding: 72px 0 56px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.hero-l { flex: 1 1 560px; min-width: 0; max-width: 680px; }
.hero-r { flex: 1 1 420px; min-width: 300px; position: relative; height: 560px; }
.ideabox { margin-top: 34px; max-width: 600px; padding: 8px; border-radius: 24px; background: #131317; box-shadow: 0 0 0 1px var(--line), 0 20px 60px rgba(0, 0, 0, .45); display: flex; align-items: center; gap: 8px; transition: box-shadow .2s; }
.ideabox:focus-within { box-shadow: 0 0 0 1px #3a3b42, 0 20px 60px rgba(0, 0, 0, .5); }
.ideabox input { flex: 1; min-width: 0; height: 52px; padding: 0 14px; border: 0; background: transparent; font-size: 17px; outline: none; }
.ideabox .btn { flex: none; border-radius: 18px; padding: 15px 22px; font-size: 15px; }
.tries { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; }
.tries > span { color: var(--muted-2); margin-right: 4px; }
.glow { position: absolute; inset: 10% 5%; background: radial-gradient(closest-side, rgba(255, 255, 255, .06), rgba(255, 255, 255, 0)); border-radius: 50%; }
.orb { position: absolute; border-radius: 50%; overflow: hidden; background: #1a1a1f; box-shadow: 0 0 0 5px #26272d, 0 0 0 7px #4a4c55, 0 24px 48px rgba(0, 0, 0, .6); animation: fl 7s ease-in-out infinite; }
.orb img { width: 100%; height: 100%; display: block; object-fit: cover; }
.orb.blank { background: radial-gradient(circle at 35% 30%, #2c2d34, #141418 70%); }
@keyframes fl { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-14px) rotate(var(--r, 0deg)); } }
.section { padding-top: 120px; }
.section.tight { padding-top: 96px; }
.grid-3 { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.grid-2 { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 14px; }
.card { background: var(--card); border-radius: var(--r-lg); }
.card.pad { padding: 28px; }
.step { overflow: hidden; }
.step-art { height: 200px; display: grid; place-items: center; padding: 0 28px; }
.step-body { padding: 0 28px 28px; }
.step-body p, .mode p { margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.mini { width: 100%; max-width: 300px; border-radius: 16px; background: #1a1a1f; box-shadow: 0 0 0 1px #24252b, 0 16px 40px rgba(0, 0, 0, .5); }
.mini-idea { padding: 6px; display: flex; align-items: center; gap: 8px; }
.mini-idea span:first-child { flex: 1; padding: 0 10px; font-size: 14px; color: #d5d7dd; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.caret { display: inline-block; width: 2px; height: 16px; background: var(--text); margin-left: 2px; vertical-align: -3px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.mini-go { flex: none; width: 34px; height: 34px; border-radius: 11px; background: var(--silver); display: grid; place-items: center; }
.mini-coin { padding: 14px; display: flex; gap: 12px; align-items: center; }
.mini-coin .pic { width: 64px; height: 64px; flex: none; }
.mini-coin b { font-size: 15px; } .mini-coin b span { color: var(--muted-2); font-weight: 500; }
.mini-coin p { margin: 6px 0 0; font-size: 12px; line-height: 1.5; color: var(--muted); }
.mode-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mode-head h3 { font-size: 22px; letter-spacing: -0.02em; }
.mode-head span { font-family: var(--mono); font-size: 13px; color: var(--muted-2); }
.ticks { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; font-size: 15px; }
.ticks.cols { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.ticks li { display: flex; gap: 12px; align-items: center; }
.ticks svg { flex: none; }
.row-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; }
.cta { position: relative; overflow: hidden; border-radius: 28px; background: #111114; padding: 96px 24px; text-align: center; }
.cta h2 { position: relative; margin: 0 auto; max-width: 620px; font-size: clamp(32px, 4vw, 46px); line-height: 1.12; letter-spacing: -0.035em; }
.cta .btn { position: relative; margin-top: 32px; }
.stats { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 28px; font-size: 14px; color: var(--muted-2); }
.stats b { display: block; font-family: var(--mono); font-weight: 500; font-size: 20px; color: var(--text); }

/* ---------- coin pictures and cards ---------- */
.pic { border-radius: 50%; object-fit: cover; background: #1a1a1f; display: block; }
.pic.ring { box-shadow: 0 0 0 3px #26272d, 0 0 0 4px #4a4c55; }
.pic.ring-lg { box-shadow: 0 0 0 6px #26272d, 0 0 0 8px #4a4c55, 0 30px 60px rgba(0, 0, 0, .6); }
.coins { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.coin-card { display: block; background: var(--card); border-radius: var(--r-lg); padding: 22px; transition: background .15s; min-width: 0; }
.coin-card:hover { background: var(--card-2); }
.cc-top { display: flex; gap: 14px; align-items: center; min-width: 0; }
.cc-top .pic { width: 52px; height: 52px; flex: none; }
.cc-top b { display: block; font-weight: 600; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-top span { display: block; color: var(--muted-2); font-size: 14px; margin-top: 2px; font-family: var(--mono); }
.cc-idea { margin: 18px 0 0; font-size: 14px; line-height: 1.5; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 42px; }
.cc-foot { margin-top: 16px; display: flex; justify-content: space-between; gap: 10px; font-family: var(--mono); font-size: 12px; color: var(--muted-2); }
.cc-foot b { color: var(--text-2); font-weight: 500; }
.bar { height: 4px; border-radius: 4px; background: #222329; overflow: hidden; margin-top: 14px; }
.bar i { display: block; height: 100%; background: var(--silver); border-radius: 4px; }
.empty { padding: 56px 24px; text-align: center; color: var(--muted-2); background: var(--card); border-radius: var(--r-lg); }
.empty b { display: block; color: var(--text); font-size: 17px; margin-bottom: 6px; }
.sorts { display: inline-flex; padding: 4px; border-radius: 999px; background: #131317; box-shadow: 0 0 0 1px var(--line); gap: 4px; }
.sorts button { border: 0; padding: 8px 16px; border-radius: 999px; background: transparent; color: var(--muted-2); font-size: 14px; font-weight: 600; }
.sorts button.on { background: #2a2b31; color: var(--text); }

/* ---------- create ---------- */
.create { padding: 40px 0 80px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); grid-template-rows: auto 1fr; grid-template-areas: "a s" "m s"; column-gap: 28px; align-items: start; }
.create-a { grid-area: a; min-width: 0; }
.create-m { grid-area: m; min-width: 0; padding-top: 36px; }
.create-m:has(> #modes[hidden]) { padding-top: 0; }
.create-r { grid-area: s; min-width: 0; border-radius: 26px; background: var(--card); padding: 28px; position: sticky; top: 92px; }
.idea-card { margin-top: 28px; padding: 8px; border-radius: 22px; background: #131317; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .2s; }
.idea-card:focus-within { box-shadow: 0 0 0 1px #3a3b42; }
.idea-card label { display: block; padding: 10px 12px 0; font-size: 13px; color: var(--muted-2); }
.idea-card textarea { display: block; width: 100%; resize: none; padding: 8px 12px 12px; border: 0; border-radius: 14px; background: transparent; font-size: 18px; line-height: 1.5; outline: none; }
.idea-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 0 4px 4px 12px; }
.idea-foot .count { font-family: var(--mono); font-size: 12px; color: var(--dim); }
.idea-foot .btn { border-radius: 16px; padding: 13px 20px; font-size: 15px; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: #131317; box-shadow: 0 0 0 1px var(--line); gap: 4px; }
.seg button { border: 0; padding: 10px 20px; border-radius: 999px; background: transparent; color: var(--muted-2); font-size: 14px; font-weight: 600; transition: background .15s, color .15s; }
.seg button.on { background: #2a2b31; color: var(--text); }
.seg.sm button { padding: 6px 12px; font-size: 12px; }
.note { margin: 12px 0 0; font-size: 14px; line-height: 1.6; color: var(--muted-2); }
.fields { margin-top: 22px; display: grid; gap: 14px; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.lbl { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; color: var(--muted-2); min-height: 22px; }
.lbl .hint { color: var(--text-2); }
.in { margin-top: 8px; width: 100%; height: 46px; padding: 0 14px; border: 0; border-radius: 14px; background: #131317; box-shadow: 0 0 0 1px var(--line); font-size: 15px; outline: none; transition: box-shadow .15s; }
.in:focus { box-shadow: 0 0 0 1px #4a4c55; }
.in.on-card { background: var(--field); box-shadow: none; }
.in.on-card:focus { box-shadow: 0 0 0 1px #4a4c55; }
.in.big { height: 50px; font-size: 18px; font-weight: 600; }
.in.tick { height: 50px; font-family: var(--mono); font-size: 16px; text-transform: uppercase; }
textarea.in { height: auto; padding: 12px 14px; resize: none; line-height: 1.55; }
.in-wrap { margin-top: 8px; display: flex; align-items: center; border-radius: 14px; background: var(--field); padding: 0 14px; }
.in-wrap input { flex: 1; min-width: 0; height: 50px; border: 0; background: transparent; font-size: 18px; outline: none; }
.in-wrap span { font-family: var(--mono); color: var(--muted); }
.banner-img { margin-top: 8px; width: 100%; aspect-ratio: 3 / 1; object-fit: cover; border-radius: 14px; display: block; background: #131317; }
.tweet { margin: 8px 0 0; padding: 14px; border-radius: 14px; background: #131317; box-shadow: 0 0 0 1px var(--line); font-size: 15px; line-height: 1.55; white-space: pre-line; min-height: 50px; }
.buys { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.buys button, .buys input { border: 0; padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; background: #151519; color: var(--muted); }
.buys button.on { background: #2a2b31; color: var(--text); }
.buys input { width: 110px; font-family: var(--mono); font-weight: 500; outline: none; }
.buys input:focus { box-shadow: 0 0 0 1px #4a4c55; color: var(--text); }
.stage { min-height: 520px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 18px; }
.stage-ring { width: 150px; height: 150px; border-radius: 50%; border: 2px dashed var(--line-2); display: grid; place-items: center; }
.stage b { font-size: 17px; }
.stage p { margin: 0; max-width: 320px; font-size: 14px; line-height: 1.6; color: var(--muted-2); }
.pic-wrap { position: relative; width: 180px; height: 180px; }
.pic-wrap .pic { width: 180px; height: 180px; }
.pic-wrap .sk { position: absolute; inset: 0; border-radius: 50%; }
.pic-tools { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; align-items: center; }
.card-fields { margin-top: 26px; display: grid; gap: 14px; width: 100%; text-align: left; }
.name-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.name-row > :first-child { grid-column: span 2; }
.launch-note { margin: 0; text-align: center; font-size: 13px; color: var(--muted-2); }
.err-box { padding: 12px 14px; border-radius: 14px; background: rgba(255, 107, 107, .08); color: #ffb3b3; font-size: 14px; line-height: 1.5; }
.done-tag { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--up); }
.done h2 { margin-top: 10px; font-size: 30px; letter-spacing: -0.03em; }
.done-acts { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.sk { background: linear-gradient(90deg, #1a1a1f 0%, #25262c 50%, #1a1a1f 100%); background-size: 200% 100%; animation: sk 1.2s linear infinite; }
@keyframes sk { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.spin { animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pop { animation: pop .45s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.fade { animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.steps-live { margin-top: 10px; display: grid; gap: 8px; font-size: 14px; color: var(--muted); text-align: left; }
.steps-live div { display: flex; align-items: center; gap: 10px; }
.steps-live .ok { color: var(--text-2); }

/* ---------- coin page ---------- */
.coin-main { padding: 36px 0 96px; }
.coin-head { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.coin-id { display: flex; gap: 20px; align-items: center; min-width: 0; }
.coin-id .pic { width: 88px; height: 88px; flex: none; }
.coin-id h1 { font-size: clamp(30px, 4vw, 42px); line-height: 1.05; letter-spacing: -0.035em; overflow-wrap: anywhere; }
.coin-meta { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: 14px; color: var(--muted); }
.coin-meta .mono { color: var(--text-2); }
.coin-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.ca { font-family: var(--mono); font-weight: 500; }
.idea-strip { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; padding: 22px 24px; border-radius: var(--r-lg); background: var(--card); }
.idea-strip > span:first-child { font-size: 13px; color: var(--muted-2); }
.idea-strip q { flex: 1 1 320px; font-size: 20px; line-height: 1.4; letter-spacing: -0.01em; quotes: "\201C" "\201D"; }
.coin-grid { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-start; }
.coin-grid > .col-main { flex: 999 1 560px; min-width: 0; display: grid; gap: 14px; }
.coin-grid > .col-side { flex: 1 1 360px; min-width: 0; display: grid; gap: 14px; }
.panel { border-radius: var(--r-lg); background: var(--card); padding: 24px; min-width: 0; }
.panel h2 { font-size: 17px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 14px; }
.kpi { background: var(--card); border-radius: 18px; padding: 18px 20px; }
.kpi span { display: block; font-size: 13px; color: var(--muted-2); }
.kpi b { display: block; margin-top: 6px; font-family: var(--mono); font-weight: 500; font-size: 19px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chart-box { position: relative; margin-top: 18px; height: 340px; }
.chart-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted-2); font-size: 14px; text-align: center; pointer-events: none; }
.chart-now { display: flex; gap: 10px; align-items: baseline; font-family: var(--mono); font-size: 14px; color: var(--text-2); }
.prog { margin-top: 4px; }
.prog-head { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted-2); }
.prog-head b { font-family: var(--mono); font-weight: 500; color: var(--text-2); }
.prog .bar { height: 8px; margin-top: 10px; }
.trade-tabs { display: flex; padding: 4px; border-radius: 999px; background: var(--field); gap: 4px; }
.trade-tabs button { flex: 1; border: 0; padding: 10px; border-radius: 999px; background: transparent; color: var(--muted-2); font-size: 14px; font-weight: 600; }
.trade-tabs button.on { background: #2a2b31; color: var(--text); }
.quick { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.quick button { border: 0; padding: 7px 12px; border-radius: 999px; background: var(--field); color: var(--text-2); font-size: 13px; }
.quick button:hover { background: #22232a; }
.trade-out { margin-top: 12px; min-height: 20px; font-size: 13px; color: var(--muted); }
.trade-out b { color: var(--text-2); font-family: var(--mono); font-weight: 500; }
.bal { display: flex; justify-content: space-between; margin-top: 14px; font-size: 13px; color: var(--muted-2); }
.bal b { font-family: var(--mono); font-weight: 500; color: var(--text-2); }
.about p { margin: 12px 0 0; font-size: 15px; line-height: 1.6; color: var(--text-2); overflow-wrap: anywhere; }
.links { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.links a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; background: var(--field); color: var(--text-2); font-size: 13px; }
.links a:hover { background: #22232a; color: var(--text); }
.tbl { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 14px; }
.tbl th { text-align: left; font-weight: 500; font-size: 12px; color: var(--muted-2); padding: 0 8px 10px; }
.tbl td { padding: 10px 8px; border-top: 1px solid #1b1c21; white-space: nowrap; }
.tbl td.r, .tbl th.r { text-align: right; }
.tbl .mono { font-size: 13px; }
.tbl a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.tbl-wrap { overflow-x: auto; margin: 0 -8px; padding: 0 8px; }
.tag-b { color: var(--up); } .tag-s { color: var(--down); }
.label-chip { margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: #1f2026; color: var(--muted); font-size: 11px; font-family: var(--sans); }

/* ---------- footer, modal, toast ---------- */
.foot { margin-top: 120px; background: var(--bg-2); }
.foot .wrap { padding-top: 56px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; }
.foot p { margin: 16px 0 0; max-width: 420px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.foot-cols { display: flex; flex-wrap: wrap; gap: 64px; font-size: 14px; }
.foot-cols div { display: grid; gap: 12px; align-content: start; }
.foot-cols span { font-weight: 600; }
.foot-cols a { color: var(--muted); }
.foot-cols a:hover { color: var(--text); }
.fine { margin-top: 28px; font-size: 12px; color: var(--dim); max-width: 520px; line-height: 1.6; }
.modal { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, .6); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; }
.modal-card { width: 100%; max-width: 380px; border-radius: 22px; background: #141418; box-shadow: 0 0 0 1px #24252b, 0 30px 80px rgba(0, 0, 0, .6); padding: 24px; }
.modal-card h3 { font-size: 18px; }
.modal-card p { margin: 6px 0 0; font-size: 13px; color: var(--muted-2); line-height: 1.5; }
.wallet-list { margin-top: 16px; display: grid; gap: 8px; }
.wallet-list button, .wallet-list .open-in { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; border: 0; border-radius: 14px; background: #1c1c21; font-size: 15px; font-weight: 600; text-align: left; }
.wallet-list button:hover, .wallet-list .open-in:hover { background: #24252b; }
.wallet-list img { width: 24px; height: 24px; border-radius: 6px; }
.wallet-list .none { font-size: 14px; color: var(--muted); line-height: 1.6; }
.wallet-list .none a { color: var(--text); text-decoration: underline; }
.modal-x { float: right; border: 0; background: transparent; color: var(--muted); font-size: 22px; line-height: 1; padding: 0 2px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 90; max-width: min(520px, calc(100vw - 32px)); padding: 12px 18px; border-radius: 14px; background: #1c1c21; box-shadow: 0 0 0 1px #2a2b31, 0 20px 50px rgba(0, 0, 0, .5); font-size: 14px; line-height: 1.5; }
.toast.err { background: #2a1517; box-shadow: 0 0 0 1px #4a2427, 0 20px 50px rgba(0, 0, 0, .5); color: #ffd0d0; }
.toast a { text-decoration: underline; }
.prose { max-width: 720px; padding: 48px 0 40px; }
.prose h2 { margin-top: 40px; font-size: 22px; letter-spacing: -0.02em; }
.prose p, .prose li { color: var(--text-2); font-size: 16px; line-height: 1.7; }
.prose ul { padding-left: 20px; }
.nf { min-height: 60vh; display: grid; place-items: center; text-align: center; }

@media (max-width: 860px) {
  .nav { display: none; }
  .hide-sm { display: none !important; }
  .hero { padding-top: 40px; }
  .hero-r { height: 360px; min-width: 0; flex-basis: 100%; }
  .create { grid-template-columns: minmax(0, 1fr); grid-template-areas: "a" "s" "m"; row-gap: 20px; padding-top: 28px; }
  .create-m { padding-top: 8px; }
  .stage { min-height: 300px; }
  .create-r { scroll-margin-top: 76px; }
  .create-r { position: static; padding: 22px 16px; }
  .hero-r { overflow: hidden; }
  .hero-r .orb { scale: .78; }
  .coin-grid { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .coin-grid > .col-main, .coin-grid > .col-side { display: contents; }
  .p-chart { order: 1; } .p-trade { order: 2; } .p-prog { order: 3; } .p-about { order: 4; } .p-trades { order: 5; } .p-holders { order: 6; }
  .section { padding-top: 88px; }
  .foot { margin-top: 88px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .top .wrap { height: 64px; }
  .ideabox { flex-direction: column; align-items: stretch; border-radius: 20px; }
  .ideabox .btn { width: 100%; }
  .two { grid-template-columns: 1fr; }
  .coins { grid-template-columns: 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .cta { padding: 64px 20px; }
  .coin-id .pic { width: 64px; height: 64px; }
  .chart-box { height: 280px; }
  .foot-cols { gap: 36px; }
}
@media (prefers-reduced-motion: reduce) { .orb, .sk, .spin, .pop, .fade, .caret { animation: none !important; } html { scroll-behavior: auto; } }
