@font-face { font-family: "Marker"; src: url("../fonts/marker.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "DM"; font-weight: 400; src: url("../fonts/dm-sans.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "DM"; font-weight: 600 900; src: url("../fonts/dm-sans-bold.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Mono"; src: url("../fonts/jetbrains-mono.woff2") format("woff2"); font-display: swap; }

:root {
  --bg: #f8f7f2; --bg2: #f1efe6; --card: #ffffff; --ink: #202820; --ink2: #3a433a; --muted: #6b7564; --line: #d9dccf; --soft: #fff9da;
  --y: #ffdf50; --y2: #ffe98a; --yp: #fff2a8; --blue: #cfeef1; --lav: #eeddf7; --mint: #d3edc7; --peach: #ffd9c7; --red: #e5484d; --green: #2f9e44; --lime: #c5f66a;
  --shadow: 5px 6px 0 var(--ink); --shadow-lg: 9px 11px 0 var(--ink);
  --r: 22px; --r-org: 20px 26px 19px 28px;
  --mk: "Marker", "Comic Sans MS", cursive; --dm: "DM", system-ui, sans-serif; --mono: "Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1); --spring: cubic-bezier(.3, 1.6, .5, 1);
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #151914; --bg2: #1b2019; --card: #20261f; --ink: #f1f2e9; --ink2: #d7dccd; --muted: #a9b39f; --line: #3a4434; --soft: #2d2f1c;
  --y: #c5f66a; --y2: #d8fb95; --yp: #33391f; --blue: #1d3437; --lav: #2e2537; --mint: #203322; --peach: #3a2a22;
  --shadow: 5px 6px 0 #000; --shadow-lg: 9px 11px 0 #000;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { background: var(--bg); color: var(--ink); font-family: var(--dm); font-size: 17px; line-height: 1.55; overflow-x: clip; -webkit-font-smoothing: antialiased; transition: background .5s var(--ease), color .5s var(--ease); }
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: var(--ink); }
img { display: block; max-width: 100%; }
::selection { background: var(--y); color: #202820; }
.wrap { width: min(1320px, 100% - 48px); margin: 0 auto; position: relative; }
.mk { font-family: var(--mk); font-weight: 400; letter-spacing: 0.005em; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* grain + paper */
.grain { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .09; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); animation: grain 1.2s steps(6) infinite; }
[data-theme="dark"] .grain { opacity: .12; mix-blend-mode: screen; filter: invert(1); }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }

/* cursor */
.cur, .cur-dot { position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none; border-radius: 50%; transform: translate(-50%, -50%); }
.cur { width: 38px; height: 38px; border: 2px solid var(--ink); transition: width .25s var(--ease), height .25s var(--ease), background .25s, border-color .25s; mix-blend-mode: normal; }
.cur.big { width: 76px; height: 76px; background: rgba(255, 223, 80, .35); border-color: transparent; }
.cur.big::after { content: attr(data-label); position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--mk); font-size: 13px; color: #202820; }
.cur-dot { width: 6px; height: 6px; background: var(--ink); }
@media (hover: none), (pointer: coarse) { .cur, .cur-dot { display: none; } }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 26px; border-radius: 16px; border: 2.5px solid var(--ink); font-weight: 800; font-size: 16.5px; background: var(--card); color: var(--ink); box-shadow: var(--shadow); transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .2s; white-space: nowrap; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 8px 0 var(--ink); }
[data-theme="dark"] .btn:hover { box-shadow: 7px 8px 0 #000; }
.btn:active { transform: translate(3px, 4px); box-shadow: 1px 1px 0 var(--ink); }
.btn.y { background: var(--y); color: #202820; }
[data-theme="dark"] .btn.y { border-color: var(--y); }
.btn.ink { background: var(--ink); color: var(--bg); }
.btn.sm { height: 42px; padding: 0 16px; font-size: 14.5px; border-radius: 12px; box-shadow: 3px 4px 0 var(--ink); }
.btn svg { width: 18px; height: 18px; }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 999px; border: 2px solid var(--ink); background: var(--card); font-weight: 700; font-size: 13.5px; white-space: nowrap; }
.chip img { width: 20px; height: 20px; }
.tape { display: inline-block; padding: 8px 18px 10px; background: var(--y); color: #202820; font-family: var(--mk); font-size: 17px; box-shadow: 4px 5px 0 var(--ink); transform: rotate(-2.5deg); white-space: nowrap; }
[data-theme="dark"] .tape { box-shadow: 4px 5px 0 #000; }

/* ---------- nav ---------- */
.nav { position: fixed; top: 16px; left: 0; right: 0; z-index: 60; pointer-events: none; transition: transform .45s var(--ease); }
.nav.hide { transform: translateY(-120%); }
.nav-in { pointer-events: auto; width: min(1320px, 100% - 32px); margin: 0 auto; height: 70px; display: flex; align-items: center; gap: 18px; padding: 0 12px 0 20px; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border: 2.5px solid var(--ink); border-radius: 22px; box-shadow: var(--shadow); }
.logo { display: flex; align-items: center; gap: 8px; font-family: var(--mk); font-size: 30px; line-height: 1; letter-spacing: .01em; }
.logo svg { width: 34px; height: 34px; transition: transform .5s var(--spring); }
.logo:hover svg { transform: rotate(-14deg) scale(1.1); }
.links { display: flex; gap: 4px; margin-left: 12px; }
.links a { position: relative; padding: 9px 14px; border-radius: 12px; font-weight: 700; font-size: 15px; color: var(--ink2); transition: background .2s, color .2s; }
.links a:hover { background: var(--yp); color: var(--ink); }
.links a.on { color: var(--ink); }
.links a.on::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 4px; border-radius: 3px; background: var(--y); }
.nav-r { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 44px; height: 44px; border-radius: 14px; border: 2px solid var(--ink); display: grid; place-items: center; background: var(--card); transition: transform .2s var(--spring); }
.icon-btn:hover { transform: rotate(-8deg) scale(1.06); }
.icon-btn svg { width: 20px; height: 20px; }
.burger { display: none; }
.wallet-on { display: flex; align-items: center; gap: 8px; }
.wallet-on .av { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--ink); background: var(--mint); }

/* mobile menu */
.mmenu { position: fixed; inset: 0; z-index: 70; background: var(--y); color: #202820; padding: 110px 28px 40px; display: flex; flex-direction: column; gap: 6px; clip-path: circle(0 at calc(100% - 44px) 50px); transition: clip-path .6s var(--ease); }
.mmenu.open { clip-path: circle(150% at calc(100% - 44px) 50px); }
.mmenu a { font-family: var(--mk); font-size: 44px; line-height: 1.2; }

/* ---------- page transitions ---------- */
.view { min-height: 100vh; }
.curtain { position: fixed; inset: 0; z-index: 80; pointer-events: none; display: grid; place-items: center; background: var(--y); visibility: hidden; }
.curtain svg { width: 90px; height: 90px; color: #202820; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; padding: 140px 0 60px; display: flex; align-items: center; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 20px; align-items: center; }
.hero h1 { font-family: var(--mk); font-weight: 400; font-size: clamp(56px, 8.4vw, 132px); line-height: .92; letter-spacing: -.005em; margin: 26px 0 26px; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .ln > span { display: inline-block; }
.hl { position: relative; display: inline-block; z-index: 0; }
.hl::before { content: ""; position: absolute; left: -2%; right: -3%; bottom: .06em; height: .34em; background: var(--y); z-index: -1; border-radius: 6px 12px 8px 14px; transform: scaleX(var(--hl, 0)) rotate(-1deg); transform-origin: left; transition: transform 1s var(--ease) .9s; }
.ready .hl { --hl: 1; }
[data-theme="dark"] .hl { color: #151914; }
.lead { font-size: clamp(18px, 1.5vw, 22px); color: var(--ink2); max-width: 540px; }
.lead b { color: var(--ink); }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-cta .btn { height: 62px; padding: 0 30px; font-size: 18px; border-radius: 18px; }
.hero-note { position: relative; display: inline-block; margin-top: 30px; font-family: var(--mk); font-size: 16px; color: var(--muted); padding-left: 64px; }
.hero-note svg { position: absolute; left: 0; top: -22px; width: 58px; height: 50px; color: var(--ink); }
.stage3d { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 680px; justify-self: center; }
.stage3d canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.stage3d .blob { position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle at 40% 35%, var(--y2), var(--y) 45%, transparent 70%); filter: blur(30px); opacity: .55; }
.float-tag { position: absolute; z-index: 3; }
.ft1 { right: 2%; top: 14%; }
.ft2 { left: 0; bottom: 16%; }
.ft2 .tape { background: #cfeef1; transform: rotate(3deg); }
.mini-card { display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; background: var(--card); border: 2.5px solid var(--ink); border-radius: 18px; box-shadow: var(--shadow); font-size: 14px; }
.mini-card img { width: 46px; height: 46px; border-radius: 12px; background: var(--yp); object-fit: contain; }
.mini-card b { display: block; font-size: 15px; }
.mini-card .dots { display: flex; margin-top: 3px; }
.mini-card .dots i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--card); margin-left: -4px; background: var(--y); }
.mini-card .dots i:first-child { margin-left: 0; }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: var(--muted); }
.scroll-hint i { width: 2px; height: 40px; background: linear-gradient(var(--ink), transparent); animation: drip 1.6s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- marquee ---------- */
.marquee { position: relative; z-index: 2; background: var(--ink); color: var(--bg); border-block: 3px solid var(--ink); transform: rotate(-1.6deg); margin: 20px -20px; overflow: hidden; max-width: none; }
main { overflow-x: clip; }
.marquee.alt { background: var(--y); color: #202820; transform: rotate(1.2deg); margin-top: -34px; }
.mq-track { display: flex; width: max-content; animation: mq 32s linear infinite; }
.marquee.alt .mq-track { animation-direction: reverse; animation-duration: 40s; }
.mq-track span { font-family: var(--mk); font-size: clamp(28px, 3.4vw, 46px); padding: 16px 28px; white-space: nowrap; display: flex; align-items: center; gap: 28px; }
.mq-track span svg { width: 32px; height: 32px; color: var(--y); }
.marquee.alt .mq-track span svg { color: #202820; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section.sec { padding: 130px 0 40px; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--ink); }
.h2 { font-family: var(--mk); font-weight: 400; font-size: clamp(42px, 5.6vw, 84px); line-height: .98; margin-top: 16px; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 44px; }
.sec-head p { max-width: 460px; color: var(--ink2); font-size: 18px; }
.rv { opacity: 0; transform: translateY(40px); }

/* flow strip */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.flow-c { position: relative; padding: 26px 24px 24px; border: 2.5px solid var(--ink); border-radius: var(--r-org); box-shadow: var(--shadow); min-height: 210px; overflow: hidden; }
.flow-c .n { font-family: var(--mono); font-size: 13px; opacity: .6; }
.flow-c b { display: block; font-family: var(--mk); font-weight: 400; font-size: 32px; line-height: 1.02; margin: 16px 0 10px; }
.flow-c p { font-size: 15px; color: var(--ink2); }
.flow-c .big { position: absolute; right: 14px; bottom: -18px; font-family: var(--mk); font-size: 120px; line-height: 1; opacity: .12; }

/* ---------- discover ---------- */
.toolbar { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 28px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab { height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--ink); background: var(--card); font-weight: 700; font-size: 14.5px; display: inline-flex; align-items: center; gap: 8px; transition: background .2s, transform .2s var(--spring); }
.tab:hover { transform: translateY(-2px); }
.tab.on { background: var(--ink); color: var(--bg); }
.tab .ct { font-family: var(--mono); font-size: 12px; opacity: .65; }
.search { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px; border: 2px solid var(--ink); border-radius: 14px; background: var(--card); min-width: 280px; }
.search input { border: 0; outline: 0; background: none; flex: 1; font-size: 15px; }
.search svg { width: 18px; height: 18px; opacity: .6; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 26px; }

.coin { position: relative; display: flex; flex-direction: column; border: 2.5px solid var(--ink); border-radius: 26px; background: var(--card); box-shadow: var(--shadow); overflow: hidden; transform-style: preserve-3d; transition: box-shadow .25s var(--ease), transform .25s var(--ease); will-change: transform; }
.coin:hover { box-shadow: var(--shadow-lg); }
.coin-art { position: relative; aspect-ratio: 5 / 4; background: var(--tone, var(--yp)); overflow: hidden; border-bottom: 2.5px solid var(--ink); }
.coin-art::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 60%, rgba(255,255,255,.7), transparent 60%), repeating-conic-gradient(from 0deg at 50% 60%, rgba(32,40,32,.045) 0 8deg, transparent 8deg 16deg); }
[data-theme="dark"] .coin-art::before { background: radial-gradient(circle at 50% 60%, rgba(255,255,255,.08), transparent 60%), repeating-conic-gradient(from 0deg at 50% 60%, rgba(255,255,255,.035) 0 8deg, transparent 8deg 16deg); }
.coin-art img { position: absolute; left: 50%; top: 52%; width: 74%; transform: translate(-50%, -50%) rotate(var(--rot, -3deg)); filter: drop-shadow(4px 6px 0 rgba(32,40,32,.18)); transition: transform .5s var(--spring); }
.coin:hover .coin-art img { transform: translate(-50%, -54%) rotate(calc(var(--rot, -3deg) * -1)) scale(1.06); }
.status { position: absolute; left: 14px; top: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 999px; border: 2px solid var(--ink); background: var(--card); font-weight: 800; font-size: 12.5px; letter-spacing: .02em; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--y)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c, var(--y)) 30%, transparent); }
.status.live i { --c: #2fbf55; animation: pulse 1.4s infinite; }
.status.launching i { --c: #ff8a2a; animation: pulse 1s infinite; }
.status.forming i { --c: #f5c400; }
.status.idea i { --c: #9aa39a; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px transparent; } }
.ticker-tag { position: absolute; right: 14px; top: 14px; z-index: 2; font-family: var(--mono); font-size: 12.5px; font-weight: 700; padding: 5px 10px; border-radius: 10px; background: var(--ink); color: var(--bg); }
.coin-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.coin-body h3 { font-family: var(--mk); font-weight: 400; font-size: 30px; line-height: 1.02; }
.coin-body p { font-size: 14.5px; color: var(--ink2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.slots { display: flex; align-items: center; gap: 10px; }
.slots .avs { display: flex; }
.slots .avs span { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--card); margin-left: -8px; background: var(--c); display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #202820; }
.slots .avs span:first-child { margin-left: 0; }
.slots .avs span.empty { background: transparent; border: 2px dashed var(--line); }
.slots small { font-size: 13px; color: var(--muted); font-weight: 700; }
.bar { height: 10px; border-radius: 6px; border: 2px solid var(--ink); background: var(--bg2); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--y); border-right: 2px solid var(--ink); width: 0; transition: width 1.2s var(--ease); }
.bar.done i { background: var(--mint); }
[data-theme="dark"] .bar.done i { background: var(--lime); }
.coin-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 2px dashed var(--line); font-size: 13px; color: var(--muted); font-weight: 700; }
.coin-foot .lp { display: flex; align-items: center; gap: 7px; color: var(--ink); }
.coin-foot .lp img { width: 20px; height: 20px; }
.coin-foot .go { width: 38px; height: 38px; border-radius: 12px; border: 2px solid var(--ink); display: grid; place-items: center; background: var(--y); color: #202820; transition: transform .3s var(--spring); }
.coin:hover .go { transform: rotate(-45deg); }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 60px 20px; border: 2.5px dashed var(--line); border-radius: 26px; }
.empty-state b { font-family: var(--mk); font-weight: 400; font-size: 32px; display: block; }

/* ---------- how it works (pinned) ---------- */
.how { padding-top: 130px; }
.how-pin { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.how-sticky { position: sticky; top: 120px; }
.how-visual { position: relative; aspect-ratio: 4 / 3; border: 2.5px solid var(--ink); border-radius: 30px; box-shadow: var(--shadow-lg); overflow: hidden; background: var(--card); }
.how-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .6s var(--ease), transform 1.2s var(--ease); }
.how-visual img.on { opacity: 1; transform: none; }
.rail { display: flex; align-items: center; margin-top: 26px; }
.rail .dot { width: 46px; height: 46px; border-radius: 50%; border: 2.5px solid var(--ink); background: var(--card); display: grid; place-items: center; font-family: var(--mono); font-weight: 800; font-size: 14px; flex: none; transition: background .4s, transform .4s var(--spring); }
.rail .dot.on { background: var(--y); transform: scale(1.12); }
.rail .dot.done { background: var(--mint); }
[data-theme="dark"] .rail .dot.done { background: var(--lime); color: #151914; }
.rail .seg { flex: 1; height: 4px; background: var(--line); position: relative; }
.rail .seg i { position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.rail-lbl { display: flex; justify-content: space-between; margin-top: 10px; font-size: 13px; font-weight: 800; color: var(--muted); }
.steps { display: flex; flex-direction: column; gap: 26vh; padding: 12vh 0 30vh; }
.step { padding: 36px 34px; border: 2.5px solid var(--ink); border-radius: var(--r-org); box-shadow: var(--shadow); background: var(--tone); transition: transform .5s var(--ease), opacity .5s; opacity: .45; transform: scale(.96); }
.step.on { opacity: 1; transform: none; }
.step .k { font-family: var(--mono); font-size: 12.5px; letter-spacing: .16em; display: flex; justify-content: space-between; }
.step h3 { font-family: var(--mk); font-weight: 400; font-size: clamp(40px, 4.2vw, 62px); line-height: 1; margin: 16px 0 12px; }
.step p { font-size: 18px; color: var(--ink2); }
.step .bullet { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 220px; gap: 20px; }
.b { position: relative; border: 2.5px solid var(--ink); border-radius: 26px; box-shadow: var(--shadow); padding: 28px; overflow: hidden; background: var(--card); }
.b h4 { font-family: var(--mk); font-weight: 400; font-size: 34px; line-height: 1.02; max-width: 12ch; }
.b p { color: var(--ink2); font-size: 15.5px; margin-top: 10px; max-width: 34ch; }
.b1 { grid-column: span 3; grid-row: span 2; background: var(--y); color: #202820; }
.b1 h4 { font-size: 58px; }
.b1 p { color: #3a433a; }
.b2 { grid-column: span 3; background: var(--blue); }
.b3 { grid-column: span 3; background: var(--lav); }
.b4 { grid-column: span 2; background: var(--mint); }
.b5 { grid-column: span 2; }
.b6 { grid-column: span 2; background: var(--peach); }
.b .ico { position: absolute; right: 22px; top: 22px; width: 58px; height: 58px; border: 2.5px solid var(--ink); border-radius: 16px; background: var(--card); display: grid; place-items: center; box-shadow: 3px 4px 0 var(--ink); }
.b .ico svg { width: 28px; height: 28px; }
.b1 .stack { position: absolute; right: -10px; bottom: -20px; width: 60%; height: 62%; }
.b1 .stack img { position: absolute; width: 58%; filter: drop-shadow(5px 7px 0 rgba(32,40,32,.2)); }
.same-price { display: flex; align-items: flex-end; gap: 8px; margin-top: 20px; height: 70px; }
.same-price i { flex: 1; height: 100%; border: 2px solid var(--ink); border-radius: 8px 8px 0 0; background: var(--card); transform-origin: bottom; }

/* ---------- crew CTA ---------- */
.crew-cta { position: relative; border: 3px solid var(--ink); border-radius: 40px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--y); color: #202820; }
.crew-cta img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.crew-cta .over { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; background: linear-gradient(transparent, rgba(248,247,242,.96) 38%); }
.crew-cta h2 { font-family: var(--mk); font-weight: 400; font-size: clamp(40px, 5.4vw, 86px); line-height: .95; }

/* ---------- footer ---------- */
footer { margin-top: 140px; background: var(--ink); color: var(--bg); padding: 80px 0 40px; border-top: 3px solid var(--ink); position: relative; overflow: hidden; }
.foot-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-top h3 { font-family: var(--mk); font-weight: 400; font-size: 44px; line-height: 1; max-width: 12ch; }
.foot-cols { display: flex; gap: 70px; flex-wrap: wrap; }
.foot-cols div { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.foot-cols b { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; opacity: .55; margin-bottom: 6px; font-weight: 400; }
.foot-cols a { opacity: .85; } .foot-cols a:hover { opacity: 1; color: var(--y); }
.wordmark { font-family: var(--mk); font-size: clamp(120px, 27vw, 420px); line-height: .8; margin-top: 60px; letter-spacing: -.01em; display: flex; align-items: flex-end; gap: 2vw; color: var(--y); }
.wordmark svg { width: .62em; height: .62em; color: var(--y); margin-bottom: .06em; }
.foot-bot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 40px; font-size: 13px; opacity: .6; }

/* ---------- inner pages ---------- */
.page-head { padding: 150px 0 30px; }
.page-head h1 { font-family: var(--mk); font-weight: 400; font-size: clamp(54px, 7.4vw, 110px); line-height: .95; margin-top: 18px; }
.page-head p { font-size: 20px; color: var(--ink2); margin-top: 16px; max-width: 620px; }

/* coin detail */
.cd { display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; align-items: start; padding-top: 130px; }
.cd-hero { border: 2.5px solid var(--ink); border-radius: 32px; box-shadow: var(--shadow-lg); overflow: hidden; background: var(--card); }
.cd-art { position: relative; aspect-ratio: 16 / 10; background: var(--tone); border-bottom: 2.5px solid var(--ink); overflow: hidden; }
.cd-art::before { content: ""; position: absolute; inset: 0; background: repeating-conic-gradient(from 0deg at 50% 62%, rgba(32,40,32,.05) 0 7deg, transparent 7deg 14deg); animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cd-art img { position: absolute; left: 50%; top: 52%; height: 88%; transform: translate(-50%, -50%) rotate(-3deg); filter: drop-shadow(6px 8px 0 rgba(32,40,32,.2)); animation: bob 4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translate(-50%, -54%) rotate(2deg); } }
.cd-main { padding: 30px 34px 34px; }
.cd-main h1 { font-family: var(--mk); font-weight: 400; font-size: clamp(44px, 5vw, 72px); line-height: 1; }
.cd-meta { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 18px; }
.cd-main > p { font-size: 17.5px; color: var(--ink2); }
.cd-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.cd-side { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 110px; }
.panel { border: 2.5px solid var(--ink); border-radius: 26px; box-shadow: var(--shadow); background: var(--card); padding: 26px; }
.panel h3 { font-family: var(--mk); font-weight: 400; font-size: 32px; line-height: 1.05; }
.panel .sub { color: var(--muted); font-size: 14.5px; margin-top: 6px; }
.tl { display: flex; align-items: center; margin: 22px 0 8px; }
.tl .st { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; color: var(--muted); width: 58px; }
.tl .st i { width: 38px; height: 38px; border-radius: 50%; border: 2.5px solid var(--ink); background: var(--card); display: grid; place-items: center; font-style: normal; font-family: var(--mono); color: var(--ink); }
.tl .st.done i { background: var(--mint); }
.tl .st.now i { background: var(--y); animation: pulse2 1.5s infinite; }
.tl .st.now { color: var(--ink); }
@keyframes pulse2 { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--y) 40%, transparent); } }
.tl .ln2 { flex: 1; height: 3px; background: var(--line); margin-bottom: 22px; }
.tl .ln2.done { background: var(--ink); }
.kv { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 2px dashed var(--line); font-size: 15px; }
.kv:last-child { border-bottom: 0; }
.kv span { color: var(--muted); }
.kv b { font-family: var(--mono); font-size: 14px; }
.amt { display: flex; align-items: center; gap: 10px; height: 62px; padding: 0 16px; border: 2.5px solid var(--ink); border-radius: 16px; background: var(--bg); margin-top: 18px; }
.amt input { flex: 1; border: 0; outline: 0; background: none; font-family: var(--mono); font-size: 24px; font-weight: 800; min-width: 0; }
.amt b { font-family: var(--mono); }
.quick { display: flex; gap: 8px; margin-top: 10px; }
.quick button { flex: 1; height: 38px; border: 2px solid var(--ink); border-radius: 11px; font-family: var(--mono); font-weight: 800; font-size: 13px; background: var(--card); }
.quick button:hover { background: var(--yp); }
.roster { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 16px; }
.roster div { aspect-ratio: 1; border-radius: 50%; border: 2.5px solid var(--ink); display: grid; place-items: center; font-weight: 800; font-size: 13px; background: var(--c); color: #202820; position: relative; }
.roster div.open { border-style: dashed; border-color: var(--line); background: none; color: var(--muted); font-size: 20px; }
.roster div.you::after { content: "you"; position: absolute; bottom: -18px; font-size: 11px; color: var(--ink); }
.feed-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 2px dashed var(--line); font-size: 14.5px; }
.feed-item:last-child { border: 0; }
.feed-item i { width: 34px; height: 34px; border-radius: 10px; border: 2px solid var(--ink); flex: none; display: grid; place-items: center; font-style: normal; background: var(--c, var(--yp)); }
.feed-item small { display: block; color: var(--muted); font-size: 12.5px; }
.addr { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border: 2px solid var(--ink); border-radius: 10px; font-family: var(--mono); font-size: 13px; background: var(--bg); cursor: pointer; }
.chat { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.bub { max-width: 86%; padding: 10px 14px; border: 2px solid var(--ink); border-radius: 16px 16px 16px 4px; background: var(--bg); font-size: 14.5px; }
.bub.me { align-self: flex-end; border-radius: 16px 16px 4px 16px; background: var(--y); color: #202820; }
.bub small { display: block; font-size: 11.5px; font-weight: 800; opacity: .6; }

/* start wizard */
.wiz { display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; align-items: start; }
.wiz-card { border: 2.5px solid var(--ink); border-radius: 30px; box-shadow: var(--shadow-lg); background: var(--card); padding: 34px; }
.wsteps { display: flex; gap: 10px; margin-bottom: 30px; }
.wsteps div { flex: 1; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; font-weight: 800; color: var(--muted); }
.wsteps div i { height: 8px; border-radius: 5px; background: var(--line); overflow: hidden; position: relative; }
.wsteps div i::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.wsteps div.on { color: var(--ink); }
.wsteps div.on i::after, .wsteps div.done i::after { transform: none; }
.field { margin-top: 20px; }
.field label { display: flex; justify-content: space-between; font-weight: 800; font-size: 14px; margin-bottom: 8px; }
.field label small { color: var(--muted); font-weight: 600; }
.field input, .field textarea { width: 100%; border: 2.5px solid var(--ink); border-radius: 14px; background: var(--bg); padding: 14px 16px; font-size: 16px; outline: 0; transition: box-shadow .2s; }
.field input:focus, .field textarea:focus { box-shadow: 4px 5px 0 var(--y); }
.field textarea { min-height: 110px; resize: vertical; }
.two { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; }
.logo-pick { display: flex; gap: 16px; align-items: center; }
.logo-drop { width: 104px; height: 104px; border: 2.5px dashed var(--ink); border-radius: 22px; display: grid; place-items: center; background: var(--yp); overflow: hidden; flex: none; }
.logo-drop img { width: 90%; }
.picks { display: flex; gap: 8px; flex-wrap: wrap; }
.picks button { width: 52px; height: 52px; border: 2px solid var(--ink); border-radius: 14px; background: var(--bg2); overflow: hidden; transition: transform .2s var(--spring); }
.picks button:hover { transform: rotate(-6deg) scale(1.08); }
.picks button.on { background: var(--y); }
.picks img { width: 100%; }
.lpads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lpad { display: flex; gap: 10px; align-items: center; padding: 12px 12px; border: 2.5px solid var(--ink); border-radius: 16px; background: var(--card); color: #202820; font-weight: 800; font-size: 15px; text-align: left; line-height: 1.1; }
.lpad.on { background: var(--y); box-shadow: 3px 4px 0 var(--ink); }
.lpad small { display: block; font-weight: 600; font-size: 12px; color: var(--muted); margin-top: 3px; }
.lpad img { width: 30px; height: 30px; object-fit: contain; }
.lpad small { margin-left: auto; font-weight: 700; opacity: .7; }
.check { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; font-size: 14.5px; color: var(--ink2); }
.check input { width: 22px; height: 22px; accent-color: #202820; flex: none; margin-top: 2px; }
.wiz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.preview { position: sticky; top: 110px; }
.pv-card { border: 2.5px solid var(--ink); border-radius: 28px; overflow: hidden; background: var(--card); box-shadow: var(--shadow-lg); transform: rotate(1.5deg); }
.pv-card .coin-art { aspect-ratio: 4 / 3; }
.quote .kv b { font-size: 15px; }
.quote .kv.total { border-top: 2.5px solid var(--ink); margin-top: 6px; padding-top: 16px; }
.quote .kv.total span, .quote .kv.total b { color: var(--ink); font-weight: 800; font-size: 17px; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg button { height: 48px; min-width: 58px; padding: 0 14px; border: 2.5px solid var(--ink); border-radius: 13px; background: var(--card); font-family: var(--mono); font-weight: 800; }
.seg button.on { background: var(--y); color: #202820; }
.success { text-align: center; padding: 30px 10px 10px; }
.success img { width: 180px; margin: 0 auto 10px; animation: bob2 3s ease-in-out infinite; }
@keyframes bob2 { 50% { transform: translateY(-10px) rotate(3deg); } }
.success h3 { font-family: var(--mk); font-weight: 400; font-size: 46px; }

/* activity */
.act-empty { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; border: 2.5px solid var(--ink); border-radius: 34px; box-shadow: var(--shadow-lg); background: var(--card); padding: 50px; overflow: hidden; }
.act-empty h2 { font-family: var(--mk); font-weight: 400; font-size: clamp(38px, 4.4vw, 64px); line-height: 1; margin: 14px 0; }
.act-art { position: relative; height: 360px; }
.act-art img { position: absolute; width: 50%; filter: drop-shadow(5px 7px 0 rgba(32,40,32,.2)); }
.act-list { display: grid; gap: 16px; }
.act-row { display: grid; grid-template-columns: 76px 1fr auto auto; gap: 18px; align-items: center; padding: 14px 18px; border: 2.5px solid var(--ink); border-radius: 22px; background: var(--card); box-shadow: var(--shadow); }
.act-row img { width: 76px; height: 76px; border-radius: 18px; background: var(--tone); object-fit: contain; border: 2px solid var(--ink); }
.act-row b { font-family: var(--mk); font-weight: 400; font-size: 26px; display: block; line-height: 1.1; }

/* toast + modal */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 150; transform: translate(-50%, 140%); display: flex; align-items: center; gap: 10px; padding: 14px 20px; border: 2.5px solid var(--ink); border-radius: 16px; background: var(--card); box-shadow: var(--shadow); font-weight: 700; transition: transform .45s var(--spring); }
.toast.show { transform: translate(-50%, 0); }
.toast i { width: 24px; height: 24px; border-radius: 50%; background: var(--y); display: grid; place-items: center; font-style: normal; font-size: 13px; color: #202820; }
.modal-bg { position: fixed; inset: 0; z-index: 140; background: rgba(21,25,20,.55); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 20px; opacity: 0; transition: opacity .3s; }
.modal-bg.show { opacity: 1; }
.modal { width: min(460px, 100%); border: 2.5px solid var(--ink); border-radius: 28px; background: var(--card); box-shadow: var(--shadow-lg); padding: 30px; transform: translateY(30px) scale(.96); transition: transform .45s var(--spring); }
.modal-bg.show .modal { transform: none; }
.modal h3 { font-family: var(--mk); font-weight: 400; font-size: 36px; }
.wopt { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; margin-top: 12px; border: 2.5px solid var(--ink); border-radius: 16px; background: var(--bg); font-weight: 800; transition: transform .2s var(--spring), background .2s; text-align: left; }
.wopt:hover { transform: translateX(4px); background: var(--yp); }
.wopt span { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 18px; border: 2px solid var(--ink); }
.wopt small { margin-left: auto; color: var(--muted); font-weight: 700; font-size: 12.5px; }
#confetti { position: fixed; inset: 0; z-index: 160; pointer-events: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .links { display: none; }
  .burger { display: grid; }
  .hero-grid, .cd, .wiz, .how-pin, .act-empty { grid-template-columns: 1fr; }
  .stage3d { max-width: 560px; margin-top: -10px; }
  .how-sticky { position: relative; top: 0; }
  .steps { gap: 24px; padding: 30px 0 0; }
  .step { opacity: 1; transform: none; }
  .flow { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .b1, .b2, .b3, .b4, .b5, .b6 { grid-column: span 2; min-height: 220px; }
  .b1 { min-height: 420px; }
  .cd-side, .preview { position: relative; top: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .nav { top: 10px; }
  .nav-in { height: 62px; padding: 0 8px 0 14px; gap: 8px; }
  .logo { font-size: 24px; gap: 6px; flex-shrink: 0; }
  .logo svg { width: 28px; height: 28px; }
  .nav-r { gap: 6px; min-width: 0; }
  .nav-r .chip.net, .nav-r #themeBtn { display: none; }
  .nav-r .btn { height: 44px; padding: 0 10px; gap: 6px; font-size: 13px; box-shadow: 3px 4px 0 var(--ink); white-space: nowrap; }
  .nav-r .icon-btn { flex-shrink: 0; }
  .hero { padding-top: 110px; }
  .hero-cta .btn { height: 56px; padding: 0 22px; font-size: 16px; flex: 1; justify-content: center; }
  .ft1 { right: -4px; top: 6%; } .ft2 { left: -4px; }
  .mini-card { font-size: 12px; padding: 8px 12px 8px 8px; } .mini-card img { width: 38px; height: 38px; }
  section.sec { padding-top: 90px; }
  .flow { grid-template-columns: 1fr; }
  .search { min-width: 0; width: 100%; }
  .bento { grid-template-columns: 1fr; }
  .b1, .b2, .b3, .b4, .b5, .b6 { grid-column: span 1; }
  .b1 h4 { font-size: 44px; }
  .crew-cta .over { padding: 22px; position: relative; background: var(--bg); color: var(--ink); }
  .act-empty { padding: 28px; }
  .act-art { height: 240px; }
  .act-row { grid-template-columns: 60px 1fr; }
  .act-row img { width: 60px; height: 60px; }
  .wiz-card, .panel { padding: 22px; }
  .two { grid-template-columns: 1fr; }
  .cd-main { padding: 22px; }
  .roster { grid-template-columns: repeat(5, 1fr); gap: 8px; }
  .scroll-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .rv { opacity: 1; transform: none; } }

/* ================= round 3: profiles, pairs, countdowns, market caps, videos ================= */
.pfp { border-radius: 50%; border: 2px solid var(--ink); background: var(--c, var(--card)); object-fit: cover; flex: none; display: inline-block; vertical-align: middle; }
.slots .avs .pfp { width: 28px; height: 28px; margin-left: -8px; border-color: var(--card); box-shadow: 0 0 0 1.5px var(--ink); }
.slots .avs .pfp:first-child { margin-left: 0; }
.wallet-on .pfp { width: 30px; height: 30px; }
.wname { font-size: 13px; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip .pfp { width: 20px; height: 20px; border-width: 1.5px; }

/* status pills */
.status.soon { background: #ffe1e1; border-color: #c81e1e; color: #8a1010; }
.status.soon i { --c: #e5484d; animation: pulse .9s infinite; }
.status b { font-family: var(--mono); font-size: 12.5px; }
[data-theme="dark"] .status.soon { background: #3a1616; color: #ffb4b4; border-color: #ff6b6b; }

/* coin cards per state */
.pair-tag { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px 0 6px; border-radius: 999px; border: 2px solid var(--ink); background: var(--card); font-weight: 800; font-size: 12px; }
.pair-tag img { width: 18px; height: 18px; border-radius: 50%; position: static; transform: none; filter: none; }
.coin-art .pair-tag img { position: static; width: 18px; transform: none; }
.card-strip { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border: 2px solid var(--ink); border-radius: 14px; font-weight: 800; font-size: 14px; }
.card-strip b { font-family: var(--mono); font-size: 17px; }
.card-strip.open { background: var(--yp); }
.card-strip.live { background: #d9f7d0; color: #14391a; }
.card-strip.live span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2fbf55; margin-right: 8px; vertical-align: 1px; animation: pulse 1.4s infinite; }
.card-strip.soon { background: #e5484d; color: #fff; border-color: #8a1010; }
.card-strip.soon b { font-size: 20px; letter-spacing: .02em; }
[data-theme="dark"] .card-strip.live { background: #1d3a22; color: #c9f5c9; }
.cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 13.5px; padding: 6px 12px; border-radius: 999px; border: 2px solid var(--ink); }
.cta.join { background: var(--y); color: #202820; }
.cta.live { background: #2fbf55; color: #fff; border-color: #14391a; }
.coin.st-live { box-shadow: 5px 6px 0 #2fbf55, var(--shadow); }
.coin.st-scheduled { box-shadow: 5px 6px 0 #e5484d; border-color: #8a1010; }

/* big red launch countdown */
.bigcd { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 22px 16px; margin: -6px -6px 6px; border-radius: 20px; background: #e5484d; color: #fff; border: 2.5px solid #8a1010; box-shadow: 4px 5px 0 #8a1010; }
.bigcd span { font-family: var(--mk); font-size: 24px; }
.bigcd b { font-family: var(--mono); font-size: clamp(40px, 7vw, 64px); line-height: 1; letter-spacing: .02em; }
.bigcd small { font-weight: 700; font-size: 13px; opacity: .9; }
.bigcd.urgent, .card-strip.urgent { animation: throb 1s infinite; }
@keyframes throb { 50% { transform: scale(1.025); } }

/* market cap */
.mcap { display: flex; flex-direction: column; gap: 2px; margin-top: 16px; padding: 16px 18px; border-radius: 18px; border: 2.5px solid var(--ink); background: #d9f7d0; color: #14391a; }
.mcap span { font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.mcap b { font-family: var(--mono); font-size: 38px; line-height: 1.1; }
.mcap small { font-size: 12px; opacity: .75; font-weight: 700; }
[data-theme="dark"] .mcap { background: #1d3a22; color: #c9f5c9; }

/* roster with avatars + names */
.roster .rs { aspect-ratio: auto; border: 0; background: none; border-radius: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; }
.roster .rs .pfp { width: 52px; height: 52px; border-width: 2.5px; }
.roster .rs small { font-size: 11.5px; font-weight: 800; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink2); }
.roster .rs.you small { color: var(--ink); text-decoration: underline; text-decoration-color: var(--y); text-decoration-thickness: 3px; }
.roster div.rs.you::after { content: none; }
.roster .rs.open span { width: 52px; height: 52px; border-radius: 50%; border: 2.5px dashed var(--line); display: grid; place-items: center; color: var(--muted); font-size: 20px; }
.kv .dv { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }

/* launch time presets */
.presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.presets .btn { flex: 1 1 auto; justify-content: center; }
.field label small { font-weight: 600; color: var(--muted); }

/* crew chat */
.chat-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.chat { max-height: 380px; overflow-y: auto; overscroll-behavior: contain; padding-right: 4px; }
.msg { display: flex; align-items: flex-end; gap: 8px; }
.msg .pfp { width: 34px; height: 34px; }
.msg.me { flex-direction: row-reverse; }
.msg .bub { background: var(--c); color: #202820; max-width: 80%; word-wrap: break-word; overflow-wrap: anywhere; }
.msg.me .bub { border-radius: 16px 16px 4px 16px; }
.bub time { display: block; font-size: 10.5px; opacity: .55; margin-top: 3px; font-family: var(--mono); text-align: right; }
.chat-form { margin-top: 12px; }

/* pair picker */
.pairs { display: flex; flex-wrap: wrap; gap: 8px; }
.pair { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 12px 0 8px; border: 2px solid var(--ink); border-radius: 12px; background: var(--card); font-weight: 800; font-size: 13.5px; transition: transform .15s var(--spring), background .2s; }
.pair:hover { transform: translateY(-2px); }
.pair.on { background: var(--y); color: #202820; box-shadow: 2px 3px 0 var(--ink); }
.pair img, .pair svg { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.pair.more { padding: 0 14px; background: var(--ink); color: var(--bg); }
.qdot { width: 22px; height: 22px; border-radius: 50%; background: var(--line); display: grid; place-items: center; font-style: normal; font-size: 11px; }
.pair-list { max-height: 52vh; overflow-y: auto; overscroll-behavior: contain; margin-top: 6px; padding: 2px 2px 8px; }
.pair-b { display: inline-flex; align-items: center; gap: 6px; }
.pair-b img { width: 18px; height: 18px; border-radius: 50%; }
.seat-in { width: 110px; height: 48px; padding: 0 12px; border: 2.5px solid var(--ink); border-radius: 13px; background: var(--card); font-family: var(--mono); font-weight: 800; }

/* modals: scroll on small screens, wider variant */
.modal { max-height: calc(100dvh - 40px); overflow-y: auto; overscroll-behavior: contain; }
.modal.wide { width: min(640px, 100%); }
.wopt .wic { width: 38px; height: 38px; border-radius: 11px; overflow: hidden; border: 2px solid var(--ink); flex: none; }
.wopt .wic img, .wopt .wic svg { width: 100%; height: 100%; display: block; }
.wopt small.det { color: #1f8a3a; }
.trust { margin-top: 18px; padding: 14px; border-radius: 16px; background: var(--soft); border: 2px dashed var(--line); display: grid; gap: 8px; font-size: 13px; }
.trust div { display: flex; gap: 8px; align-items: flex-start; }
.trust svg { flex: none; color: #1f8a3a; margin-top: 1px; }

/* profile editor */
.pf-head { display: flex; gap: 14px; align-items: center; margin-bottom: 8px; }
.pf-head .pfp { width: 64px; height: 64px; border-width: 2.5px; }
.pf-pick { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.pf-big .pfp { width: 92px; height: 92px; border-width: 3px; }
.pfp-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 8px; }
.pfp-grid button { border-radius: 50%; border: 2.5px solid transparent; padding: 2px; transition: transform .15s var(--spring); }
.pfp-grid button img { width: 100%; border-radius: 50%; border: 2px solid var(--ink); }
.pfp-grid button:hover { transform: scale(1.06); }
.pfp-grid button.on { border-color: var(--ink); background: var(--y); }

/* videos */
.vids { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.vid { border: 2.5px solid var(--ink); border-radius: 24px; overflow: hidden; background: var(--card); box-shadow: var(--shadow); }
.vid video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.vid figcaption { padding: 14px 18px; display: flex; flex-direction: column; }
.vid figcaption b { font-family: var(--mk); font-weight: 400; font-size: 26px; }
.vid figcaption span { color: var(--muted); font-size: 14.5px; }

/* about to launch */
.soon-sec { padding-top: 90px; }
.soon-list { display: grid; gap: 14px; }
.soon-row { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border: 2.5px solid var(--ink); border-radius: 20px; background: var(--card); box-shadow: var(--shadow); transition: transform .2s var(--ease); }
.soon-row:hover { transform: translate(-2px, -2px); }
.soon-row > img { width: 56px; height: 56px; border-radius: 50%; border: 2.5px solid var(--ink); background: #fff; flex: none; }
.sr-name { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sr-name b { font-family: var(--mk); font-weight: 400; font-size: 24px; line-height: 1.1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr-name span { font-size: 13.5px; }
.sr-cd { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; padding: 8px 14px; border-radius: 14px; background: #e5484d; color: #fff; border: 2px solid #8a1010; }
.sr-cd span { font-size: 11.5px; font-weight: 800; opacity: .9; }
.sr-cd b { font-family: var(--mono); font-size: 24px; line-height: 1; }
.sr-cd b.now { font-size: 16px; text-transform: uppercase; }

@media (max-width: 900px) { .vids { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .wname { display: none; }
  .nav-r .chip.net { display: none; }
  .roster .rs .pfp, .roster .rs.open span { width: 44px; height: 44px; }
  .bigcd b { font-size: 44px; }
  .mcap b { font-size: 30px; }
  .soon-row { gap: 10px; padding: 12px; }
  .soon-row > img { width: 44px; height: 44px; }
  .sr-name b { font-size: 19px; }
  .sr-cd { padding: 6px 10px; }
  .sr-cd b { font-size: 18px; }
  .sr-cd span { display: none; }
  .pf-pick { flex-wrap: wrap; }
  .modal { padding: 22px; }
  .presets .btn { flex: 1 1 calc(50% - 8px); }
  .msg .bub { max-width: 84%; }
  .cd-meta { flex-wrap: wrap; }
  .coin-foot { flex-wrap: wrap; gap: 8px; }
}
.lpad { min-width: 0; }
.lpad span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) {
  .lpads { grid-template-columns: 1fr 1fr; }
  .lpad[disabled] { display: none; }
  .lpad { padding: 10px; gap: 8px; font-size: 14px; }
  .lpad img { width: 26px; height: 26px; }
}
.kv { gap: 12px; }
.kv b { white-space: nowrap; }

/* ================= round 4 ================= */
.stack { display: flex; flex-direction: column; gap: 22px; }
.ca { margin-top: 14px; padding: 12px 14px; border: 2px solid var(--ink); border-radius: 16px; background: var(--soft); }
.ca > span { display: block; font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; }
.ca-row { display: flex; align-items: center; gap: 10px; }
.ca-row code { flex: 1; min-width: 0; font-family: var(--mono); font-size: 13px; word-break: break-all; line-height: 1.35; user-select: all; }
.ca-row .btn { flex: none; }
.ca-chip { cursor: pointer; font-family: var(--mono); font-size: 12.5px; }
.chart-panel { margin-top: 22px; }
.chart-box { margin-top: 14px; border: 2.5px solid var(--ink); border-radius: 18px; overflow: hidden; background: var(--card); height: 440px; }
.chart-box iframe { width: 100%; height: 100%; border: 0; display: block; }
.coin-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.bigcd.go { background: #2f9e44; border-color: #14391a; box-shadow: 4px 5px 0 #14391a; }
.bigcd.go b { font-size: 48px; }
.vid.one { max-width: 980px; margin: 0 auto; }
@media (max-width: 640px) { .chart-box { height: 360px; } .ca-row { flex-direction: column; align-items: stretch; } .ca-row .btn { justify-content: center; } }
.wsec { margin: 18px 0 2px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 359px) { .nav-r .btn .w-word { display: none; } .logo { font-size: 22px; } }
@media (max-width: 330px) { #walletBtn > svg { display: none; } }
