/* Crew — visual system
   Hood yellow fields, black piping seams (the hood's stitching) as the structural line, charcoal from the brand shot.
   One family: Archivo (variable width + weight). Display = condensed black; body = normal width. */

:root {
  --hood: #fdca05;
  --hood-deep: #d6a800;
  --hood-ink: #2a2100; /* text on yellow when not pure black */
  --pitch: #000;
  --char: #161718;
  --char-2: #1d1e20;
  --char-3: #26282b;
  --line: #303236;
  --bone: #efeee9;
  --mute: #9a9ca1;
  --buy: #2bd67b;
  --sell: #ff5b4d;

  --r-s: 8px;
  --r-m: 14px;
  --r-l: 22px;
  --seam: 6px;

  --f: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1320px;

  --mesh: radial-gradient(circle at 1px 1px, rgba(0, 0, 0, 0.11) 1px, transparent 1.4px) 0 0 / 6px 6px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--char);
  color: var(--bone);
  font-family: var(--f);
  font-size: 15px;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; outline: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--hood); outline-offset: 2px; border-radius: 4px; }
.on-hood :focus-visible, .hero :focus-visible { outline-color: var(--pitch); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--hood); color: var(--pitch); padding: 8px 12px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------------ type */
.display {
  font-stretch: 62%;
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.01em;
  margin: 0;
}
h1, h2, h3 { margin: 0; font-weight: 800; }
h2.title { font-stretch: 70%; font-weight: 900; font-size: clamp(28px, 3.4vw, 40px); line-height: 1; letter-spacing: -0.005em; }
.lead { font-size: 17px; line-height: 1.55; max-width: 46ch; }
.muted { color: var(--mute); }
.small { font-size: 13px; }
.up { color: var(--buy); }
.down { color: var(--sell); }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
sub { font-size: 0.68em; vertical-align: -0.25em; line-height: 0; }
.table thead th { position: sticky; top: 0; background: var(--char-2); }

/* ------------------------------------------------------------ buttons */
.btn {
  --bg: var(--char-3);
  --fg: var(--bone);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px;
  border: 0; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 15px; letter-spacing: 0.005em;
  white-space: nowrap;
  transition: transform 0.08s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { background: color-mix(in srgb, var(--bg) 88%, white); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; }
.btn.hood { --bg: var(--hood); --fg: var(--pitch); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.18); }
.btn.hood:hover { background: #ffd633; }
.btn.pitch { --bg: var(--pitch); --fg: var(--hood); }
.btn.pitch:hover { background: #1a1a1a; }
.btn.ghost { --bg: transparent; box-shadow: inset 0 0 0 2px var(--line); }
.btn.ghost:hover { background: var(--char-2); }
.btn.sm { height: 34px; padding: 0 14px; font-size: 13px; }
.btn.lg { height: 54px; padding: 0 26px; font-size: 17px; }
.btn.block { width: 100%; }
.btn.buy { --bg: var(--buy); --fg: #04130b; }
.btn.sell { --bg: var(--sell); --fg: #1d0402; }
.iconbtn { width: 36px; height: 36px; border-radius: 999px; border: 0; background: var(--char-3); display: inline-grid; place-items: center; color: var(--bone); }
.iconbtn:hover { background: var(--line); }
.iconbtn svg { width: 18px; height: 18px; }

/* ------------------------------------------------------------ header */
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--char) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand svg { width: 30px; height: 32px; }
.brand b { font-stretch: 62%; font-weight: 900; font-size: 30px; line-height: 1; letter-spacing: 0.01em; }
.nav { display: flex; gap: 4px; }
.nav a { padding: 8px 14px; border-radius: 999px; font-weight: 650; color: var(--mute); }
.nav a:hover { color: var(--bone); }
.nav a[aria-current='page'] { color: var(--pitch); background: var(--hood); }
.search { flex: 1; max-width: 420px; margin-left: auto; position: relative; }
.search input { width: 100%; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--char-2); padding: 0 14px 0 38px; outline: none; }
.search input:focus { border-color: var(--hood); }
.search svg { position: absolute; left: 13px; top: 11px; width: 18px; height: 18px; color: var(--mute); }
.top-right { display: flex; align-items: center; gap: 10px; }
.bnbp { font-size: 13px; color: var(--mute); }
.lang { background: none; border: 0; color: var(--mute); font-weight: 700; font-size: 13px; padding: 6px; }
.lang:hover { color: var(--bone); }
.netbadge { font-size: 12px; font-weight: 700; color: var(--pitch); background: var(--hood); border-radius: 6px; padding: 2px 7px; }

@media (max-width: 900px) {
  .nav, .bnbp { display: none; }
  .search { max-width: none; }
}
@media (max-width: 600px) {
  .top .wrap { gap: 10px; }
  .brand b, .netbadge { display: none; }
  .search { flex: 1; }
  .search input { padding-left: 34px; }
  .search:focus-within { position: absolute; left: 16px; right: 16px; z-index: 5; }
}
.mobnav { display: none; }
@media (max-width: 900px) {
  .mobnav { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; background: var(--char-2); border-top: 1px solid var(--line); padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); justify-content: space-around; }
  .mobnav a { flex: 1; text-align: center; padding: 8px 0; font-weight: 700; font-size: 13px; color: var(--mute); border-radius: 10px; }
  .mobnav a[aria-current='page'] { color: var(--pitch); background: var(--hood); }
  body { padding-bottom: 62px; }
}

/* ------------------------------------------------------------ live tape */
.tape { background: var(--hood); background-image: var(--mesh); color: var(--pitch); height: 34px; overflow: hidden; position: relative; border-bottom: 3px solid var(--pitch); }
.tape-track { display: flex; gap: 28px; align-items: center; height: 100%; white-space: nowrap; width: max-content; animation: tape 60s linear infinite; padding-left: 20px; }
.tape:hover .tape-track { animation-play-state: paused; }
.tape-item { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 650; }
.tape-item img, .tape-item .ph { width: 20px; height: 20px; border-radius: 6px; background: var(--pitch); object-fit: cover; }
.tape-item .b { font-weight: 850; }
.tape-item .side { font-weight: 850; padding: 1px 6px; border-radius: 5px; background: var(--pitch); color: var(--hood); font-size: 11px; }
.tape-item .side.s { color: #ff8b80; }
.tape-empty { display: flex; align-items: center; height: 100%; padding-left: var(--gutter); font-weight: 650; font-size: 13px; }
@keyframes tape { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* preview-mode strip */
.preview-bar { background: var(--char-2); color: var(--mute); text-align: center; font-size: 13px; font-weight: 600; padding: 7px var(--gutter); border-bottom: 1px solid var(--line); }

/* ------------------------------------------------------------ seam (signature line) */
/* Piping: black tube with a soft highlight; the fill is hood yellow with the mesh. */
.seam { position: relative; height: 14px; border-radius: 999px; background: var(--pitch); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.04); overflow: hidden; }
.seam > i { position: absolute; inset: 3px auto 3px 3px; border-radius: 999px; background: var(--hood); background-image: var(--mesh); min-width: 8px; max-width: calc(100% - 6px); transition: width 0.6s cubic-bezier(.2, .8, .2, 1); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.18); }
.seam.done > i { background-color: var(--buy); }
.seam.thin { height: 10px; }
.seam.thin > i { inset: 2px auto 2px 2px; max-width: calc(100% - 4px); min-width: 6px; }

/* Patch: the stitched label on the hood, used for "Official". */
.patch { display: inline-flex; align-items: center; gap: 5px; background: var(--pitch); color: var(--hood); font-weight: 850; font-size: 11px; letter-spacing: 0.02em; padding: 3px 8px; border-radius: 6px; position: relative; line-height: 1.2; flex: none; }
.patch::after { content: ''; position: absolute; inset: 2px; border: 1px dashed rgba(253, 202, 5, 0.55); border-radius: 4px; pointer-events: none; }
.patch svg { width: 11px; height: 11px; }
.patch.lg { font-size: 13px; padding: 5px 11px; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; background: var(--char-3); font-size: 12px; font-weight: 650; color: var(--bone); }
.chip.grad { background: color-mix(in srgb, var(--buy) 18%, var(--char-2)); color: var(--buy); }

/* ------------------------------------------------------------ hero */
.hero { background: var(--hood); background-image: var(--mesh); color: var(--pitch); position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: end; min-height: 520px; position: relative; }
.hero-copy { padding: 56px 0 52px; position: relative; z-index: 2; }
.hero h1 { font-size: clamp(60px, 8vw, 120px); }
.hero h1 span { display: block; }
.hero .lead { margin: 22px 0 28px; font-weight: 500; color: var(--hood-ink); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats { display: flex; gap: 34px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats b { font-stretch: 70%; font-weight: 900; font-size: 34px; line-height: 1; }
.hero-stats span { font-size: 13px; font-weight: 600; color: var(--hood-ink); margin-top: 4px; }
.hero-art { position: relative; align-self: stretch; display: flex; align-items: flex-end; justify-content: center; z-index: 1; }
.hero-art img { width: min(460px, 100%); height: auto; margin: 36px 0 -70px; filter: drop-shadow(0 28px 34px rgba(60, 40, 0, 0.45)) drop-shadow(0 2px 0 rgba(0, 0, 0, 0.25)); }
.hero-seams { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hero-seams path { fill: none; stroke: var(--pitch); stroke-width: 7; stroke-linecap: round; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 44px 0 8px; }
  .hero-art img { width: min(340px, 80%); margin: 10px 0 -50px; }
  .hero-stats { gap: 22px; margin-top: 28px; }
}

/* ------------------------------------------------------------ sections */
.section { padding-top: 48px; padding-bottom: 48px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.section-head p { margin: 6px 0 0; color: var(--mute); }

/* featured: the token nearest to graduation */
.edge { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
@media (max-width: 960px) { .edge { grid-template-columns: 1fr; } }
.feature { background: var(--char-2); border-radius: var(--r-l); padding: 22px; display: grid; grid-template-columns: 150px 1fr; gap: 22px; position: relative; overflow: hidden; border: 1px solid var(--line); }
.feature:hover { border-color: #4a4c51; }
.feature .img { width: 150px; height: 150px; border-radius: 18px; object-fit: cover; background: var(--char-3); }
.feature h3 { font-stretch: 70%; font-weight: 900; font-size: 40px; line-height: 0.95; }
.feature .sym { color: var(--mute); font-weight: 700; }
.feature .kpis { display: flex; gap: 26px; margin: 14px 0 16px; flex-wrap: wrap; }
.feature .kpis b { display: block; font-size: 20px; font-weight: 800; }
.feature .kpis span { font-size: 12px; color: var(--mute); }
.feature .tag { position: absolute; top: 0; right: 22px; background: var(--hood); color: var(--pitch); font-weight: 850; font-size: 12px; padding: 6px 10px 7px; border-radius: 0 0 10px 10px; }
@media (max-width: 560px) { .feature { grid-template-columns: 1fr; padding-top: 30px; } .feature .img { width: 88px; height: 88px; border-radius: 14px; } .feature h3 { font-size: 32px; } }

.stream { background: var(--char-2); border-radius: var(--r-l); padding: 8px; border: 1px solid var(--line); max-height: 346px; overflow: hidden; display: flex; flex-direction: column; }
.stream h3 { font-size: 15px; padding: 10px 12px 6px; display: flex; align-items: center; gap: 8px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--buy); box-shadow: 0 0 0 0 rgba(43, 214, 123, 0.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(43, 214, 123, 0); } 100% { box-shadow: 0 0 0 0 rgba(43, 214, 123, 0); } }
.stream-list { overflow: auto; }
.srow { display: grid; grid-template-columns: 38px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 12px; }
.srow:hover { background: var(--char-3); }
.srow img, .srow .ph { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; background: var(--char-3); }
.srow b { font-weight: 750; display: block; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.srow span { font-size: 12px; color: var(--mute); }
.srow .r { text-align: right; font-size: 13px; font-weight: 700; }

/* ------------------------------------------------------------ board */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tab { height: 38px; padding: 0 15px; border-radius: 999px; border: 0; background: var(--char-2); color: var(--mute); font-weight: 700; box-shadow: inset 0 0 0 1px var(--line); }
.tab:hover { color: var(--bone); }
.tab[aria-selected='true'] { background: var(--bone); color: var(--pitch); box-shadow: none; }
.board-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.card { background: var(--char-2); border: 1px solid var(--line); border-radius: var(--r-m); padding: 14px; display: flex; flex-direction: column; gap: 12px; position: relative; transition: border-color 0.15s; }
.card:hover { border-color: #55575c; }
.card-top { display: grid; grid-template-columns: 76px 1fr; gap: 12px; }
.card-top img, .card-top .ph { width: 76px; height: 76px; border-radius: 12px; object-fit: cover; background: var(--char-3); }
.card .nm { display: flex; align-items: center; gap: 6px; min-width: 0; }
.card .nm b { font-weight: 800; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card .sym { color: var(--mute); font-weight: 650; font-size: 13px; }
.card .desc { color: var(--mute); font-size: 13px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; }
.card-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 13px; }
.card-meta .mc b { font-size: 17px; font-weight: 800; }
.card-meta .mc span { color: var(--mute); margin-right: 4px; }
.card-foot { display: flex; justify-content: space-between; color: var(--mute); font-size: 12px; }
.card.flash-buy { animation: flashb 0.9s ease; }
.card.flash-sell { animation: flashs 0.9s ease; }
.card.is-new { animation: arrive 1.2s ease; }
@keyframes flashb { 0% { border-color: var(--buy); box-shadow: 0 0 0 3px rgba(43, 214, 123, 0.25); } 100% { border-color: var(--line); box-shadow: none; } }
@keyframes flashs { 0% { border-color: var(--sell); box-shadow: 0 0 0 3px rgba(255, 91, 77, 0.22); } 100% { border-color: var(--line); box-shadow: none; } }
@keyframes arrive { 0% { background: color-mix(in srgb, var(--hood) 30%, var(--char-2)); transform: scale(0.97); } 100% { background: var(--char-2); transform: none; } }

.ph { display: grid; place-items: center; font-weight: 900; font-stretch: 62%; color: var(--hood); font-size: 22px; }
.empty { border: 2px dashed var(--line); border-radius: var(--r-l); padding: 48px 24px; text-align: center; color: var(--mute); }
.empty b { display: block; color: var(--bone); font-size: 18px; margin-bottom: 6px; }
.more { display: flex; justify-content: center; margin-top: 22px; }

/* ------------------------------------------------------------ token page */
.tk-head { display: flex; gap: 18px; align-items: center; padding: 26px 0 20px; flex-wrap: wrap; }
.tk-head img, .tk-head .ph { width: 72px; height: 72px; border-radius: 16px; object-fit: cover; background: var(--char-3); }
.tk-head h1 { font-stretch: 70%; font-weight: 900; font-size: clamp(30px, 4vw, 44px); line-height: 0.95; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tk-head .sym { color: var(--mute); font-weight: 700; font-size: 16px; font-stretch: 100%; }
.tk-sub { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.ca { display: inline-flex; align-items: center; gap: 6px; background: var(--char-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px 6px 4px 12px; font-size: 13px; font-weight: 600; }
.ca button { border: 0; background: var(--char-3); border-radius: 999px; padding: 3px 9px; font-size: 12px; font-weight: 700; }
.links { display: flex; gap: 6px; flex-wrap: wrap; }
.links a { font-size: 13px; font-weight: 650; padding: 5px 11px; border-radius: 999px; background: var(--char-2); border: 1px solid var(--line); }
.links a:hover { border-color: var(--hood); }
.tk-price { margin-left: auto; text-align: right; }
.tk-price b { display: block; font-stretch: 70%; font-weight: 900; font-size: 34px; line-height: 1; }
@media (max-width: 700px) { .tk-price { margin-left: 0; text-align: left; } }

.tk-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 18px; align-items: start; padding-bottom: 48px; }
@media (max-width: 1020px) {
  .tk-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .tk-main { display: contents; }
  .tk-chart { order: 0; }
  .tk-side { order: 1; }
  .tk-tabs { order: 2; margin-top: 0 !important; }
}
.panel { background: var(--char-2); border: 1px solid var(--line); border-radius: var(--r-l); padding: 18px; }
.panel + .panel { margin-top: 14px; }
.panel h3 { font-size: 15px; font-weight: 800; margin-bottom: 12px; }

.chart-bar { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.seg { display: inline-flex; background: var(--char); border-radius: 999px; padding: 3px; gap: 2px; box-shadow: inset 0 0 0 1px var(--line); }
.seg button { border: 0; background: none; color: var(--mute); padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 750; }
.seg button[aria-pressed='true'] { background: var(--char-3); color: var(--bone); }
.chart { position: relative; height: 420px; }
.chart canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.chart .chart-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--mute); text-align: center; }
@media (max-width: 600px) { .chart { height: 320px; } }

.trade-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--char); border-radius: 999px; padding: 4px; margin-bottom: 16px; box-shadow: inset 0 0 0 1px var(--line); }
.trade-tabs button { height: 38px; border: 0; border-radius: 999px; background: none; color: var(--mute); font-weight: 800; }
.trade-tabs button[aria-selected='true'].b { background: var(--buy); color: #04130b; }
.trade-tabs button[aria-selected='true'].s { background: var(--sell); color: #1d0402; }
.field { position: relative; }
.field label { display: flex; justify-content: space-between; font-size: 13px; color: var(--mute); margin-bottom: 6px; font-weight: 600; }
.amount { display: flex; align-items: center; background: var(--char); border: 1px solid var(--line); border-radius: var(--r-m); padding: 0 14px; height: 60px; }
.amount:focus-within { border-color: var(--hood); }
.amount input { flex: 1; min-width: 0; background: none; border: 0; outline: none; font-size: 24px; font-weight: 800; }
.amount span { font-weight: 800; color: var(--mute); }
.presets { display: flex; gap: 6px; margin: 10px 0 14px; flex-wrap: wrap; }
.presets button { flex: 1; min-width: 56px; height: 32px; border: 0; border-radius: 999px; background: var(--char-3); font-size: 13px; font-weight: 700; }
.presets button:hover { background: var(--line); }
.quote { font-size: 13px; color: var(--mute); display: grid; gap: 4px; margin: 12px 0 14px; }
.quote div { display: flex; justify-content: space-between; }
.quote b { color: var(--bone); font-weight: 700; }
.slip { display: flex; gap: 6px; align-items: center; font-size: 12px; color: var(--mute); margin-top: 10px; }
.slip input { width: 54px; height: 28px; background: var(--char); border: 1px solid var(--line); border-radius: 8px; padding: 0 6px; text-align: right; }

.curve-box .big { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.curve-box .big b { font-stretch: 70%; font-weight: 900; font-size: 30px; }
.curve-box p { font-size: 13px; color: var(--mute); margin: 10px 0 0; }

.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.kv div span { display: block; font-size: 12px; color: var(--mute); }
.kv div b { font-weight: 750; }

.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th { text-align: left; font-weight: 650; color: var(--mute); padding: 8px 8px; border-bottom: 1px solid var(--line); font-size: 12px; }
.table td { padding: 9px 8px; border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); white-space: nowrap; }
.table tr.new td { animation: rowin 1.2s ease; }
@keyframes rowin { from { background: color-mix(in srgb, var(--hood) 16%, transparent); } to { background: transparent; } }
.table .r { text-align: right; }
.tbl-wrap { overflow-x: auto; }
.addr { color: var(--bone); font-weight: 600; }
.addr:hover { color: var(--hood); }

.comments form { display: grid; grid-template-columns: 120px 1fr auto; gap: 8px; margin-bottom: 14px; }
@media (max-width: 600px) { .comments form { grid-template-columns: 1fr; } }
.input, .comments input, textarea.input { height: 42px; background: var(--char); border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; outline: none; width: 100%; }
textarea.input { height: auto; padding: 10px 12px; resize: vertical; min-height: 96px; }
.input:focus, .comments input:focus { border-color: var(--hood); }
.cmt { padding: 10px 0; border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.cmt b { font-weight: 750; margin-right: 8px; }
.cmt time { color: var(--mute); font-size: 12px; }
.cmt p { margin: 4px 0 0; overflow-wrap: anywhere; }

/* ------------------------------------------------------------ launch */
.launch { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 22px; align-items: start; padding: 34px 0 60px; }
@media (max-width: 980px) { .launch { grid-template-columns: minmax(0, 1fr); } }
.launch-head { padding: 40px 0 0; }
.launch-head h1 { font-size: clamp(54px, 8vw, 104px); }
.launch-head p { margin: 14px 0 0; max-width: 60ch; color: var(--mute); font-size: 16px; }
.form { display: grid; gap: 16px; }
.form .row2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
.form .row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 640px) { .form .row2, .form .row3 { grid-template-columns: 1fr; } }
.form label { display: block; font-size: 13px; color: var(--mute); font-weight: 650; margin-bottom: 6px; }
.form .hint { font-size: 12px; color: var(--mute); margin-top: 5px; }
.form .drop { display: grid; margin: 0; color: var(--bone); font-size: 15px; }
.drop { border: 2px dashed var(--line); border-radius: var(--r-l); padding: 18px; display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; cursor: pointer; }
.drop:hover, .drop.over { border-color: var(--hood); }
.drop .pv { width: 96px; height: 96px; border-radius: 16px; background: var(--char-3); object-fit: cover; display: grid; place-items: center; color: var(--mute); }
.steps { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; font-size: 14px; counter-increment: s; }
.steps li::before { content: counter(s); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--char-3); font-weight: 800; font-size: 13px; }
.steps li.ok::before { content: '✓'; background: var(--buy); color: #04130b; }
.steps li.bad::before { content: '!'; background: var(--sell); color: #1d0402; }
.steps li.now::before { background: var(--hood); color: var(--pitch); }
.steps li span { display: block; color: var(--mute); font-size: 13px; }
.preview-card { pointer-events: none; }
.gate { border-radius: var(--r-l); padding: 18px; background: var(--hood); background-image: var(--mesh); color: var(--pitch); }
.gate h3 { font-size: 17px; font-weight: 850; margin-bottom: 6px; }
.gate p { margin: 0 0 12px; font-size: 14px; color: var(--hood-ink); }

/* ------------------------------------------------------------ how it works */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--line); }
@media (max-width: 860px) { .how { grid-template-columns: 1fr; } }
.how > div { padding: 24px; background: var(--char-2); position: relative; }
.how > div + div { border-left: 1px solid var(--line); }
@media (max-width: 860px) { .how > div + div { border-left: 0; border-top: 1px solid var(--line); } }
.how .n { font-stretch: 62%; font-weight: 900; font-size: 56px; line-height: 0.8; color: var(--hood); display: block; margin-bottom: 14px; }
.how h3 { font-size: 18px; margin-bottom: 6px; }
.how p { margin: 0; color: var(--mute); font-size: 14px; max-width: 40ch; }

/* ------------------------------------------------------------ profile */
.prof-head { padding: 30px 0 10px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.avatar { border-radius: 8px; flex: none; }
.prof-head .avatar { border-radius: 16px; }

/* ------------------------------------------------------------ footer */
.foot { border-top: 1px solid var(--line); margin-top: 20px; }
.foot .wrap { display: flex; justify-content: space-between; gap: 20px; padding-top: 26px; padding-bottom: 30px; flex-wrap: wrap; color: var(--mute); font-size: 13px; }
.foot .brand b { font-size: 22px; color: var(--bone); }
.foot .brand svg { width: 22px; height: 24px; }
.foot nav { display: flex; gap: 16px; flex-wrap: wrap; }
.foot a:hover { color: var(--bone); }
.disclaimer { max-width: 62ch; margin-top: 10px; }

/* ------------------------------------------------------------ toasts / modal */
.toasts { position: fixed; right: 16px; bottom: 16px; z-index: 80; display: grid; gap: 8px; width: min(380px, calc(100vw - 32px)); }
@media (max-width: 900px) { .toasts { bottom: 76px; } }
.toast { background: var(--bone); color: var(--pitch); border-radius: 14px; padding: 12px 14px; font-weight: 600; font-size: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); display: grid; grid-template-columns: 10px 1fr; gap: 10px; align-items: start; animation: tin 0.25s ease; }
.toast::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--hood-deep); margin-top: 5px; }
.toast.ok::before { background: #13a35b; }
.toast.err::before { background: #e33a2c; }
.toast a { text-decoration: underline; }
@keyframes tin { from { transform: translateY(8px); opacity: 0; } }
.modal-bg { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, 0.6); display: grid; place-items: center; padding: 16px; animation: fade 0.15s ease; }
@keyframes fade { from { opacity: 0; } }
.modal { background: var(--char-2); border: 1px solid var(--line); border-radius: var(--r-l); padding: 20px; width: min(420px, 100%); max-height: 90vh; overflow: auto; }
.modal h2 { font-size: 20px; margin-bottom: 4px; }
.modal p { color: var(--mute); margin: 0 0 16px; font-size: 14px; }
.wallets { display: grid; gap: 8px; }
.wallets button { display: flex; align-items: center; gap: 12px; height: 56px; border-radius: 14px; border: 1px solid var(--line); background: var(--char); padding: 0 14px; font-weight: 700; text-align: left; }
.wallets button:hover { border-color: var(--hood); }
.wallets img { width: 30px; height: 30px; border-radius: 8px; }

.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin 0.7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.skel { background: linear-gradient(90deg, var(--char-2), var(--char-3), var(--char-2)); background-size: 200% 100%; animation: sk 1.4s infinite; border-radius: var(--r-m); }
@keyframes sk { to { background-position: -200% 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition: none !important; }
  .tape-track { animation: none; }
}
