/* COLLECTOR — dark pixel design system */
:root {
  --bg: #090a0c;
  --bg2: #17191d;
  --surface: #202228;
  --panel: #111317;
  --line: #262a30;
  --line2: #353a42;
  --text: #f5f5f5;
  --muted: #8d95a0;
  --dim: #646c77;
  --orange: #ff8527;
  --cyan: #26c7f4;
  --green: #5ce8a0;
  --red: #ff5d5d;
  --f-head: 'Chakra Petch', 'Oxanium', system-ui, sans-serif;
  --f-body: 'Space Grotesk', system-ui, sans-serif;
  --f-mono: 'Space Mono', ui-monospace, monospace;
  --f-pixel: 'Silkscreen', 'Space Mono', monospace;
  --r: 8px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.5 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
button, input, textarea, select { font: inherit; color: inherit; }
button, a { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button { border: 0; background: none; }
img { display: block; }
.noise { position: fixed; inset: 0; pointer-events: none; opacity: .1; background-image: radial-gradient(#fff .5px, transparent .5px); background-size: 5px 5px; z-index: 60; mix-blend-mode: soft-light; }
.shell { max-width: 1450px; margin: 0 auto; padding: 0 48px; }
.mono { font-family: var(--f-mono); }
.muted { color: var(--muted); }
.orange { color: var(--orange); }
.cyan { color: var(--cyan); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------------------------------------------------------------- header */
.topbar { position: sticky; top: 0; z-index: 50; height: 76px; border-bottom: 1px solid var(--line); background: rgba(9, 10, 12, .92); backdrop-filter: blur(16px); }
.navinner { height: 100%; display: flex; align-items: center; gap: 40px; }
.logo { display: flex; align-items: center; gap: 12px; font: 700 22px var(--f-head); letter-spacing: 1px; white-space: nowrap; }
.logo .dotmark { color: var(--orange); }
.logo-txt { display: flex; flex-direction: column; line-height: 1; }
.logo-txt b { font: 700 24px/1 var(--f-head); letter-spacing: 1.5px; }
.logo-txt small { font: 7px var(--f-pixel); color: #8f97a1; letter-spacing: 1px; margin-top: 4px; }
@media (max-width: 600px) { .logo-txt small { display: none; } }
.mark { width: 34px; height: 34px; position: relative; flex: none; }
.mark i { position: absolute; width: 21px; height: 27px; border-radius: 3px; }
.mark i:nth-child(1) { background: var(--orange); transform: rotate(-16deg); left: 1px; top: 5px; }
.mark i:nth-child(2) { background: var(--cyan); transform: rotate(-3deg); left: 7px; top: 3px; }
.mark i:nth-child(3) { background: var(--text); transform: rotate(12deg); left: 12px; top: 5px; }
.navlinks { display: flex; align-items: center; gap: 26px; }
.navlinks a { font: 600 13px var(--f-head); color: #a0a6af; transition: color .2s; white-space: nowrap; letter-spacing: .3px; }
.navlinks a:hover, .navlinks a.on { color: var(--text); }
.navlinks a.on::before { content: '■'; color: var(--orange); font-size: 7px; margin-right: 7px; vertical-align: 2px; }
.rightnav { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.network { font: 10px var(--f-mono); color: #8f9a9b; white-space: nowrap; letter-spacing: .5px; }
.network .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 7px; background: var(--dim); }
.network.ok .dot { background: var(--green); }
.network.bad .dot { background: var(--red); }
.hamburger { display: none; font-size: 24px; color: var(--text); }
.bell { position: relative; width: 38px; height: 38px; border: 1px solid var(--line2); border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; color: #b9bec5; }
.bell:hover { border-color: #fff; color: #fff; }
.bell[hidden] { display: none; }
.capill { height: 38px; padding: 0 13px; border: 1px dashed var(--line2); border-radius: 6px; font: 10px var(--f-mono); letter-spacing: .6px; color: var(--muted); white-space: nowrap; transition: border-color .2s, color .2s; }
.capill:hover { color: var(--text); border-color: #fff; }
.capill.live { border-style: solid; border-color: color-mix(in srgb, var(--orange) 60%, transparent); color: var(--orange); }
.wmenu-wrap { position: relative; }
.wmenu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 180px; padding: 6px; background: var(--bg2); border: 1px solid var(--line2); border-radius: 8px; box-shadow: 0 18px 50px #000c; display: none; z-index: 60; }
.wmenu.show { display: grid; }
.wmenu a, .wmenu button { text-align: left; padding: 10px 12px; border-radius: 6px; font: 600 13px var(--f-head); color: var(--text); }
.wmenu a:hover, .wmenu button:hover { background: var(--surface); }
.wmenu .danger { color: var(--red); }
.xbtn { width: 38px; height: 38px; border: 1px solid var(--line2); border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; color: #d6dade; transition: border-color .2s, color .2s; }
.xbtn:hover { border-color: #fff; color: #fff; }
@media (max-width: 760px) { .capill { display: none; } }
.bell b { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--orange); color: #111; font: 700 10px/18px var(--f-mono); text-align: center; }
.notes { position: absolute; right: 48px; top: 70px; width: 340px; max-height: 420px; overflow: auto; background: var(--bg2); border: 1px solid var(--line2); border-radius: var(--r); box-shadow: 0 20px 60px #000c; padding: 8px; display: none; }
.notes.show { display: block; }
.notes .note { display: block; padding: 10px; border-radius: 6px; font-size: 13px; }
.notes .note:hover { background: var(--surface); }
.notes .note small { display: block; font: 10px var(--f-mono); color: var(--dim); margin-top: 3px; }

/* ---------------------------------------------------------------- buttons, inputs */
.btn { border: 1px solid var(--orange); border-radius: 5px; background: var(--orange); color: #121212; padding: 13px 20px; font: 700 14px var(--f-head); letter-spacing: .4px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: transform .2s var(--ease), background .2s, border-color .2s, opacity .2s; white-space: nowrap; }
.btn:hover:not(:disabled) { transform: translateY(-2px); background: #ffa25d; }
.btn.ghost { background: transparent; border-color: var(--line2); color: var(--text); }
.btn.ghost:hover:not(:disabled) { border-color: #fff; background: var(--bg2); }
.btn.cyan { background: var(--cyan); border-color: var(--cyan); }
.btn.cyan:hover:not(:disabled) { background: #6bd9f8; }
.btn.sm { padding: 9px 14px; font-size: 12px; }
.btn.lg { padding: 16px 26px; font-size: 15px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.input, .field input, .field textarea, .field select { width: 100%; background: #0b0d10; border: 1px solid var(--line2); border-radius: 5px; padding: 13px 14px; color: var(--text); outline: none; transition: border-color .2s; }
.input:focus, .field input:focus, .field textarea:focus, .field select:focus { border-color: var(--orange); }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.field label { font: 10px var(--f-mono); color: #a0a9b3; letter-spacing: .6px; text-transform: uppercase; }
.field small { font: 11px var(--f-mono); color: var(--dim); }
.field textarea { min-height: 96px; resize: vertical; }
.formrow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.unit { position: relative; }
.unit input { padding-right: 52px; }
.unit::after { content: 'SOL'; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font: 11px var(--f-mono); color: var(--muted); }

/* ---------------------------------------------------------------- typography helpers */
.eyebrow { font: 11px var(--f-mono); letter-spacing: 1.5px; color: var(--orange); text-transform: uppercase; }
.eyebrow .sq { display: inline-block; width: 6px; height: 6px; background: var(--orange); margin-right: 8px; vertical-align: 1px; }
h1, h2, h3 { font-family: var(--f-head); margin: 0; }
.pageintro { padding: 64px 0 34px; }
.pageintro h1, .sectop h2 { font: 700 clamp(38px, 4vw, 60px)/1.04 var(--f-head); letter-spacing: -2px; margin: 14px 0; text-transform: uppercase; }
.pageintro p, .sectop p { color: var(--muted); line-height: 1.7; max-width: 620px; margin: 0; }
.section { padding: 88px 0; }
.sectop { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }

/* ---------------------------------------------------------------- page transitions */
#app { min-height: 70vh; }
.page { animation: pageIn .38s var(--ease); }
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- THE CARD (trading-card game style) */
/* Every size scales from the card's own width (container query units), so the same card works as a tiny strip
   item, a grid tile and the big detail view. --frame is the meme's colour (from its artwork). */
.tcard { --frame: #8a8f98; position: relative; width: 100%; aspect-ratio: 63 / 88; container-type: inline-size; transform-style: preserve-3d; transition: transform .35s var(--ease); }
.tc { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 3.6cqw; border-radius: 4.6cqw; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, color-mix(in srgb, var(--frame) 45%, #fff) 0%, color-mix(in srgb, var(--frame) 70%, #2b2f36) 28%, color-mix(in srgb, var(--frame) 35%, #fff) 52%, color-mix(in srgb, var(--frame) 75%, #22262c) 78%, color-mix(in srgb, var(--frame) 50%, #fff) 100%);
  box-shadow: 0 1.5cqw 5cqw #0008, inset 0 0 0 .6cqw #ffffff40, inset 0 0 0 1.1cqw #0003; }
.tc-body { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 1.6cqw; padding: 2.6cqw 3cqw 2.2cqw; border-radius: 2.4cqw; color: #17181b;
  background: linear-gradient(170deg, color-mix(in srgb, var(--frame) 28%, #fbf7ee) 0%, color-mix(in srgb, var(--frame) 16%, #efe8da) 55%, color-mix(in srgb, var(--frame) 30%, #e6dcc8) 100%);
  box-shadow: inset 0 0 0 .5cqw #0000002e; }
.tc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 2cqw; min-width: 0; }
.tc-name { font: 700 8.4cqw/1 var(--f-head); letter-spacing: -.1cqw; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-no { flex: none; font: 700 6cqw/1 var(--f-head); color: #b2261f; }
.tc-no small { font: 3.2cqw var(--f-pixel); color: #3a3a3a; margin-right: .8cqw; vertical-align: .6cqw; }
.tc-sub { display: flex; justify-content: space-between; gap: 2cqw; margin-top: -1.2cqw; font: 3.1cqw var(--f-pixel); color: #4b4d52; white-space: nowrap; overflow: hidden; }
.tc-art { position: relative; flex: 1 1 auto; min-height: 0; aspect-ratio: 1 / .86; border-radius: 1cqw; overflow: hidden; background: var(--frame);
  border: 1.5cqw solid transparent; background-clip: padding-box;
  box-shadow: 0 0 0 1.5cqw color-mix(in srgb, var(--frame) 30%, #d9d9d9), 0 0 0 1.9cqw #0005, inset 0 0 3cqw #0006;
  margin: 1.5cqw; display: flex; align-items: center; justify-content: center; }
.tc-art img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; transition: filter .5s steps(6), transform .5s var(--ease), opacity .3s; }
.tc-art img.logo { object-fit: contain; image-rendering: auto; }
.tc-art img.loading { filter: blur(6px); transform: scale(1.04); opacity: .4; }
.tc-art .noart { font: 3.6cqw/1.9 var(--f-pixel); color: #0009; text-align: center; padding: 4cqw; }
.tc-art .noart.gen { color: #f5f5f5; animation: pulse 1.2s ease-in-out infinite; }
.tc-art:has(.gen) { background: repeating-linear-gradient(45deg, #1d2026 0 3cqw, #262a31 3cqw 6cqw); }
.tc-art .flag { position: absolute; left: 2cqw; top: 2cqw; font: 3cqw var(--f-pixel); background: #000c; color: #fff; padding: .8cqw 1.4cqw; }
.tc-strip { text-align: center; font: italic 600 2.9cqw var(--f-body); color: #2b2c30; padding: .7cqw 2cqw; margin: 0 4cqw;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--frame) 40%, #fff) 20%, color-mix(in srgb, var(--frame) 40%, #fff) 80%, transparent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-moves { display: grid; gap: 1.2cqw; padding: 0 .5cqw; }
.mv { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2cqw; padding-bottom: 1.2cqw; border-bottom: .35cqw solid #0002; }
.mv:last-child { border-bottom: 0; padding-bottom: 0; }
.mv i { width: 5cqw; height: 5cqw; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font: 700 3cqw var(--f-head); font-style: normal; color: #fff;
  background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--frame) 40%, #fff), color-mix(in srgb, var(--frame) 80%, #000)); box-shadow: 0 0 0 .45cqw #fff8, 0 .4cqw .8cqw #0005; }
.mv i.sol { background: radial-gradient(circle at 35% 30%, #ffc28f, #d4630f); }
.mv i.cap { background: radial-gradient(circle at 35% 30%, #9be7fb, #128bb0); }
.mv b { font: 700 4.6cqw var(--f-head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mv em { font: 700 5.4cqw var(--f-head); font-style: normal; white-space: nowrap; }
.tc-bar { display: grid; grid-template-columns: 1fr 1fr; margin-top: auto; background: #15171b; color: #f2f2f2; border-radius: 1cqw; box-shadow: 0 0 0 .5cqw color-mix(in srgb, var(--frame) 40%, #fff9); overflow: hidden; }
.tc-bar > div { padding: 1.5cqw 2.4cqw; min-width: 0; }
.tc-bar > div + div { border-left: .4cqw solid #ffffff1c; text-align: right; }
.tc-bar label { display: block; font: 2.6cqw var(--f-pixel); color: #9aa1aa; letter-spacing: .2cqw; }
.tc-bar b { display: block; font: 700 4.8cqw/1.15 var(--f-head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-bar b.buy { color: var(--cyan); }
.tc-bar b.auction { color: var(--orange); }
.tc-foot { display: flex; justify-content: space-between; align-items: center; gap: 2cqw; padding: 1.4cqw 1.5cqw 0; font: 2.6cqw var(--f-pixel); color: color-mix(in srgb, var(--frame) 20%, #fff); text-shadow: 0 .3cqw .6cqw #0008; }
.tc-foot .badge.buy { color: #bff1ff; }
.tc-foot .badge.auction { color: #ffd2b0; }
/* holo foil: follows the pointer on hover */
.tc::after { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .35s; mix-blend-mode: color-dodge;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 20%), #ffffff55, transparent 38%), linear-gradient(115deg, transparent 20%, #ff7ab633 32%, #7af0ff33 44%, #fff27a33 56%, transparent 68%); background-size: 100% 100%, 250% 250%; background-position: center, var(--mx, 50%) var(--my, 50%); }
.tilt:hover .tc::after, .tcard.tilting .tc::after { opacity: .9; }
.tcard.sample .tc-art::after { content: 'SAMPLE'; position: absolute; right: 2cqw; bottom: 2cqw; font: 3cqw var(--f-pixel); background: #000c; color: #fff; padding: .8cqw 1.4cqw; }
@keyframes pulse { 50% { opacity: .45; } }
.flash .tcard { animation: cardIn .7s var(--ease); }
@keyframes cardIn { 0% { transform: rotateY(90deg) scale(.9); filter: brightness(2); } 100% { transform: none; filter: none; } }
.tilt { perspective: 900px; }

/* reveal after launch */
.reveal { animation: reveal 1.1s var(--ease) both; }
@keyframes reveal { 0% { transform: rotateY(180deg) scale(.7); opacity: 0; } 60% { opacity: 1; } 100% { transform: none; } }

/* ---------------------------------------------------------------- listing tiles */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tile { background: #101215; border: 1px solid #2b3036; border-radius: 9px; padding: 13px; transition: transform .25s var(--ease), border-color .25s; min-width: 0; display: flex; flex-direction: column; }
.tile:hover { transform: translateY(-6px); border-color: #606b76; }
.tile .tcard { max-width: 300px; margin: 0 auto; }
.tile-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; gap: 8px; }
.tile-meta strong { font: 700 17px var(--f-head); }
.tile-meta small { font: 10px var(--f-mono); color: #929ba6; white-space: nowrap; }
.tile-meta small.live { color: var(--green); }
.tile .act { margin-top: 12px; width: 100%; background: #1a1d22; border: 1px solid #393e46; color: #fff; padding: 11px; border-radius: 4px; font: 700 12px var(--f-head); letter-spacing: .4px; transition: border-color .2s, color .2s; text-align: center; }
.tile .act:hover { border-color: var(--orange); color: var(--orange); }
.tile .act.buy:hover { border-color: var(--cyan); color: var(--cyan); }
.empty { text-align: center; padding: 70px 20px; border: 1px dashed var(--line2); border-radius: var(--r); grid-column: 1 / -1; }
.empty h3 { font: 700 26px var(--f-head); margin-bottom: 8px; text-transform: uppercase; }
.empty p { color: var(--muted); margin: 0 auto 18px; max-width: 460px; }
.empty .bigmark { font: 700 72px var(--f-head); color: var(--orange); line-height: 1; margin-bottom: 10px; }

/* ---------------------------------------------------------------- hero */
.hero { overflow-x: clip; min-height: 640px; display: grid; grid-template-columns: 52% 48%; align-items: center; gap: 12px; padding: 56px 0 64px; }
.hero h1 { font: 700 clamp(52px, 5.7vw, 88px)/.98 var(--f-head); letter-spacing: -3.4px; margin: 22px 0; }
.hero h1 em { color: var(--orange); font-style: normal; }
.hero p { font-size: 17px; line-height: 1.7; color: #a2a8b0; max-width: 500px; margin: 0; }
.actions { display: flex; gap: 11px; margin-top: 30px; flex-wrap: wrap; }
.hero-foot { display: flex; gap: 34px; margin-top: 56px; }
.hero-foot b { display: block; font: 700 24px var(--f-head); }
.hero-foot span { display: block; font: 10px var(--f-mono); color: #747c86; margin-top: 4px; letter-spacing: .6px; }
.stage { height: 500px; position: relative; perspective: 1100px; }
.stage::before { content: ''; position: absolute; inset: 10% 3%; border-radius: 50%; background: radial-gradient(ellipse, #1d262d 0%, #0d1013 47%, transparent 70%); filter: blur(24px); }
.stage .rings { position: absolute; left: 50%; top: 53%; width: 380px; height: 380px; border: 1px solid #2a3038; border-radius: 50%; transform: translate(-50%, -50%) rotateX(64deg); }
.stage .rings::after { content: ''; position: absolute; inset: 46px; border: 1px dashed #39404b; border-radius: 50%; }
.stage .rig { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .6s var(--ease); }
.floating { position: absolute; width: 216px; left: 50%; top: 50%; margin-left: -108px; margin-top: -159px; transform-style: preserve-3d; animation: fan 8s var(--ease) infinite; filter: drop-shadow(0 18px 20px #000b); }
.floating:nth-child(1) { --angle: -21deg; --x: -118px; --y: 24px; z-index: 2; }
.floating:nth-child(2) { --angle: 0deg; --x: 0px; --y: -22px; z-index: 4; }
.floating:nth-child(3) { --angle: 21deg; --x: 118px; --y: 24px; z-index: 3; }
.floating:nth-child(4) { --angle: -8deg; --x: -46px; --y: 6px; z-index: 1; }
@keyframes fan {
  0%, 14% { transform: translate(var(--x), var(--y)) rotate(var(--angle)); }
  36%, 54% { transform: translate(0, 0) rotate(0deg) rotateY(6deg); }
  76%, 100% { transform: translate(var(--x), var(--y)) rotate(var(--angle)); }
}
.stage:hover .floating { animation-play-state: paused; }
.stage-note { position: absolute; font: 10px var(--f-mono); color: #6b7782; letter-spacing: 1px; }
.stage-note.one { top: 28px; right: 12px; }
.stage-note.two { bottom: 22px; left: 10px; }
.stage-note.three { bottom: 44px; right: 20px; color: var(--cyan); }

/* ---------------------------------------------------------------- moving strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #0d0f12; overflow: hidden; padding: 22px 0; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.strip-track { display: flex; gap: 18px; width: max-content; animation: marquee var(--dur, 50s) linear infinite; }
.strip:hover .strip-track { animation-play-state: paused; }
.strip .item { width: 150px; flex: none; transition: transform .25s var(--ease); }
.strip .item:hover { transform: translateY(-6px) rotate(-1.5deg); }
@keyframes marquee { to { transform: translateX(-50%); } }
.ticker { border-bottom: 1px solid var(--line); overflow: hidden; background: #0b0d10; }
.ticker-track { display: flex; width: max-content; animation: marquee 40s linear infinite; gap: 46px; padding: 13px 0; }
.ticker-track span { font: 11px var(--f-mono); white-space: nowrap; color: #a5a9b0; }
.ticker-track b { color: var(--orange); margin-right: 12px; }

/* ---------------------------------------------------------------- banner, how */
.banner { background: #13161a; border: 1px solid #2f343a; min-height: 300px; border-radius: 9px; display: grid; grid-template-columns: 1.2fr .8fr; overflow: hidden; }
.banner-copy { padding: 52px; }
.banner h2 { font: 700 clamp(34px, 3.4vw, 52px)/1.05 var(--f-head); letter-spacing: -2px; margin: 12px 0; text-transform: uppercase; }
.banner p { color: #a1a8b1; max-width: 480px; line-height: 1.7; margin: 0 0 22px; }
.banner-art { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; background: radial-gradient(circle at 55% 50%, #262a31, transparent 62%); min-height: 280px; }
.banner-art .mini { position: absolute; width: 150px; transform: rotate(-16deg) translate(-56px, 6px); filter: drop-shadow(0 12px 13px #0008); transition: transform .5s var(--ease); }
.banner-art .mini:nth-child(2) { transform: rotate(12deg) translate(56px, -4px); }
.banner:hover .banner-art .mini { transform: rotate(-20deg) translate(-70px, 4px); }
.banner:hover .banner-art .mini:nth-child(2) { transform: rotate(16deg) translate(70px, -6px); }
.howgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.howbox { border: 1px solid #2b3036; background: var(--panel); border-radius: 8px; padding: 30px; }
.howbox .num { font: 700 44px var(--f-head); color: var(--orange); }
.howbox h3 { font: 700 23px var(--f-head); margin: 16px 0 8px; text-transform: uppercase; }
.howbox p { color: #9aa2ac; line-height: 1.65; margin: 0; }
.faq { margin-top: 56px; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line2); border-radius: var(--r); background: var(--panel); padding: 18px 22px; }
.faq summary { font: 700 17px var(--f-head); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::after { content: '+'; color: var(--orange); }
.faq details[open] summary::after { content: '−'; }
.faq p { color: #a1a8b1; line-height: 1.7; margin: 12px 0 0; }

/* ---------------------------------------------------------------- activity */
.split { display: grid; grid-template-columns: 1fr 380px; gap: 22px; align-items: start; }
.feed { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.feed-h { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); font: 700 14px var(--f-head); }
.feed-h .live { font: 10px var(--f-mono); color: var(--green); }
.feed-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 11px; align-items: center; padding: 11px 16px; border-bottom: 1px solid #1a1d22; font-size: 13px; }
.feed-row:last-child { border-bottom: 0; }
.feed-row:hover { background: #15181c; }
.feed-row .thumb { width: 34px; height: 34px; border-radius: 4px; background: var(--surface); overflow: hidden; image-rendering: pixelated; }
.feed-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.feed-row small { font: 10px var(--f-mono); color: var(--dim); white-space: nowrap; }
.feed-row b { font-weight: 600; }

/* ---------------------------------------------------------------- toolbar */
.controls { display: flex; gap: 10px; justify-content: space-between; flex-wrap: wrap; margin-bottom: 22px; align-items: center; }
.controls .left { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.search { background: #14171b; border: 1px solid var(--line2); border-radius: 5px; padding: 13px 15px; min-width: 260px; width: min(400px, 100%); outline: none; color: var(--text); }
.search:focus { border-color: var(--orange); }
.filters { display: flex; gap: 7px; flex-wrap: wrap; }
.filter { background: #15181c; color: #9ca4ad; border: 1px solid #30353b; border-radius: 5px; padding: 10px 14px; font: 600 12px var(--f-head); letter-spacing: .3px; transition: all .2s; }
.filter:hover { color: #fff; border-color: #50565e; }
.filter.on { background: var(--orange); color: #101010; border-color: var(--orange); }
.select { background: #14171b; border: 1px solid var(--line2); border-radius: 5px; padding: 11px 12px; font: 600 12px var(--f-head); color: var(--text); outline: none; }
.price-range { display: flex; gap: 6px; align-items: center; font: 11px var(--f-mono); color: var(--muted); }
.price-range input { width: 86px; background: #14171b; border: 1px solid var(--line2); border-radius: 5px; padding: 10px; outline: none; }
.count { font: 11px var(--f-mono); color: var(--dim); margin-bottom: 14px; }

/* ---------------------------------------------------------------- panels, forms */
.panel { background: var(--panel); border: 1px solid #2a2f35; border-radius: 9px; padding: 28px; }
.formlayout { display: grid; grid-template-columns: 1fr .85fr; gap: 24px; padding-bottom: 100px; align-items: start; }
.formlayout > *, .detail > *, .split > *, .hero > * { min-width: 0; }
.drop { display: flex; gap: 14px; align-items: center; border: 1px dashed var(--line2); border-radius: 6px; padding: 14px; cursor: pointer; transition: border-color .2s; }
.drop:hover { border-color: var(--orange); }
.drop .thumb { width: 54px; height: 54px; border-radius: 5px; background: var(--surface); flex: none; overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 22px; }
.drop .thumb img { width: 100%; height: 100%; object-fit: cover; }
.drop b { font: 700 14px var(--f-head); }
.drop span { display: block; font: 11px var(--f-mono); color: var(--dim); margin-top: 3px; }
.previewwrap { display: flex; justify-content: center; margin: 22px 0; }
.previewwrap .tcard { width: 270px; filter: drop-shadow(0 25px 30px #0009); }
.artbar { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.compare figure { margin: 0; border: 1px solid var(--line2); border-radius: 6px; padding: 8px; background: #0b0d10; }
.compare img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--surface); }
.compare img.px { image-rendering: pixelated; }
.compare figcaption { font: 9px var(--f-mono); color: var(--muted); margin-top: 6px; text-align: center; }
.note-box { font: 11px/1.75 var(--f-mono); color: #a7a394; background: #1c1a15; border: 1px solid #3f3424; padding: 13px; border-radius: 5px; }
.note-box.info { color: #9fc6d3; background: #0f1a1e; border-color: #1f3d48; }
.note-box b { color: var(--text); }

/* ---------------------------------------------------------------- detail */
.detail { display: grid; grid-template-columns: .82fr 1.18fr; gap: 64px; padding: 56px 0 100px; align-items: start; }
.detail-left { position: sticky; top: 100px; }
.detail-card { max-width: 380px; margin: 0 auto; filter: drop-shadow(0 28px 25px #0009); }
.detail h1 { font: 700 clamp(44px, 5vw, 68px)/1 var(--f-head); margin: 12px 0 6px; letter-spacing: -2px; }
.detail .sub { color: var(--muted); font: 12px var(--f-mono); word-break: break-all; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 24px 0; }
.stat { border: 1px solid #2b3036; background: #13161a; padding: 16px; border-radius: 6px; min-width: 0; }
.stat label { font: 9px var(--f-mono); color: #818a96; display: block; margin-bottom: 8px; letter-spacing: .5px; text-transform: uppercase; }
.stat strong { font: 700 21px var(--f-head); white-space: nowrap; }
.stat small { display: block; font: 10px var(--f-mono); color: var(--dim); margin-top: 4px; }
.actionbox { border: 1px solid var(--line2); background: var(--bg2); border-radius: 9px; padding: 22px; display: grid; gap: 14px; }
.actionbox h3 { font: 700 18px var(--f-head); text-transform: uppercase; }
.actionbox .big { font: 700 36px var(--f-head); }
.actionbox .big small { font: 600 15px var(--f-head); color: var(--muted); }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row > .grow { flex: 1; min-width: 140px; }
.kv { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; padding: 8px 0; border-bottom: 1px solid #1d2025; }
.kv:last-child { border-bottom: 0; }
.kv span { color: var(--muted); }
.kv b { font-weight: 600; text-align: right; word-break: break-all; }
.kv a { color: var(--cyan); }
.countdown { display: flex; gap: 8px; }
.countdown div { background: #0b0d10; border: 1px solid var(--line2); border-radius: 5px; padding: 8px 10px; min-width: 56px; text-align: center; }
.countdown b { display: block; font: 700 22px var(--f-head); font-variant-numeric: tabular-nums; }
.countdown span { font: 8px var(--f-mono); color: var(--dim); }
.countdown.hot b { color: var(--orange); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 34px 0 0; overflow-x: auto; }
.tabs button { padding: 12px 16px; font: 600 13px var(--f-head); color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs button.on { color: var(--text); border-bottom-color: var(--orange); }
.tabs button .ct { font: 10px var(--f-mono); color: var(--dim); margin-left: 6px; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th { text-align: left; font: 9px var(--f-mono); color: var(--dim); letter-spacing: .6px; text-transform: uppercase; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.table td { padding: 12px 10px; border-bottom: 1px solid #1a1d22; vertical-align: middle; }
.table td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.table a.tx { color: var(--cyan); font: 11px var(--f-mono); }
.tabpane { padding-top: 6px; overflow-x: auto; }
.pill { display: inline-block; font: 9px var(--f-mono); padding: 3px 7px; border-radius: 3px; border: 1px solid var(--line2); color: #b4bac1; text-transform: uppercase; letter-spacing: .4px; white-space: nowrap; }
.pill.orange { color: var(--orange); border-color: #6b3c1a; }
.pill.cyan { color: var(--cyan); border-color: #1b5566; }
.pill.green { color: var(--green); border-color: #245a40; }
.pill.red { color: var(--red); border-color: #6a2a2a; }
.chart svg { width: 100%; height: auto; display: block; }
.chart text { font: 9px var(--f-mono); fill: var(--dim); }
.verify { display: grid; gap: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid #1d2025; font-size: 13px; }
.check i { font-style: normal; width: 18px; height: 18px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; flex: none; margin-top: 1px; }
.check i.ok { background: #173b2a; color: var(--green); }
.check i.no { background: #3b1717; color: var(--red); }
.check small { display: block; font: 10px var(--f-mono); color: var(--dim); word-break: break-all; }

/* ---------------------------------------------------------------- collection */
.sum { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 8px; }

/* ---------------------------------------------------------------- modal, toast */
.overlay { position: fixed; inset: 0; background: #000b; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 20px; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.dialog { max-width: 470px; width: 100%; background: var(--bg2); border: 1px solid #414751; border-radius: 10px; padding: 28px; box-shadow: 0 30px 100px #000; animation: pop .25s var(--ease); max-height: 92vh; overflow: auto; }
@keyframes pop { from { transform: translateY(10px) scale(.98); opacity: 0; } }
.dialog h2 { font: 700 26px var(--f-head); margin: 8px 0 10px; text-transform: uppercase; }
.dialog p { color: #a4adb7; line-height: 1.65; margin: 0 0 14px; }
.dialog .close { float: right; color: #fff; font-size: 22px; line-height: 1; }
.steps { display: grid; gap: 8px; margin: 16px 0; }
.steps div { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); }
.steps i { width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line2); display: inline-flex; align-items: center; justify-content: center; font: 700 10px var(--f-mono); font-style: normal; flex: none; }
.steps .on { color: var(--text); }
.steps .on i { border-color: var(--orange); border-top-color: transparent; animation: spin .8s linear infinite; }
.steps .ok { color: var(--text); }
.steps .ok i { background: var(--green); border-color: var(--green); color: #0b0d10; }
.steps .bad i { background: var(--red); border-color: var(--red); color: #0b0d10; }
@keyframes spin { to { transform: rotate(360deg); } }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 30px); background: var(--surface); border: 1px solid var(--line2); color: var(--text); padding: 12px 18px; border-radius: 6px; font: 13px var(--f-body); opacity: 0; pointer-events: none; transition: all .3s var(--ease); z-index: 90; max-width: 90vw; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.skel { background: linear-gradient(90deg, #121418, #1a1d22, #121418); background-size: 200% 100%; animation: sk 1.4s infinite; border-radius: var(--r); }
@keyframes sk { to { background-position: -200% 0; } }
.banner-warn { background: #1c1a15; border-bottom: 1px solid #3f3424; color: #d8c9a6; font: 11px var(--f-mono); text-align: center; padding: 9px 16px; }

/* ---------------------------------------------------------------- footer */
.foot { border-top: 1px solid var(--line); padding: 30px 0 46px; display: flex; justify-content: space-between; gap: 20px; font: 10px var(--f-mono); color: #727a84; flex-wrap: wrap; margin-top: 40px; }
.foot a:hover { color: var(--text); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1200px) {
  .shell { padding: 0 28px; }
  .navinner { gap: 22px; }
  .navlinks { gap: 16px; }
  .network { display: none; }
  .grid { gap: 12px; }
  .tile { padding: 10px; }
  .split { grid-template-columns: 1fr; }
  .sum { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .topbar { height: auto; min-height: 68px; }
  .navinner { min-height: 68px; flex-wrap: wrap; }
  .navinner { gap: 12px; }
  .hamburger { display: block; order: 2; }
  .rightnav { order: 1; margin-left: auto; }
  .navlinks { display: none; order: 5; width: 100%; flex-direction: column; align-items: flex-start; gap: 14px; padding: 4px 0 18px; }
  .navlinks.open { display: flex; }
  .hero { grid-template-columns: 1fr; padding-top: 50px; text-align: center; }
  .hero p { margin: 0 auto; }
  .hero-foot, .actions { justify-content: center; }
  .stage { max-width: 600px; width: 100%; margin: 0 auto; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .banner { grid-template-columns: 1fr; }
  .formlayout, .detail { grid-template-columns: 1fr; }
  .detail-left { position: static; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .notes { right: 16px; }
}
@media (max-width: 600px) {
  .shell { padding: 0 16px; }
  .logo { font-size: 17px; gap: 9px; }
  .mark { transform: scale(.82); }
  .navinner { gap: 8px; }
  .rightnav { gap: 8px; }
  .rightnav .btn { font-size: 11px; padding: 9px 10px; }
  .hero h1 { font-size: 50px; letter-spacing: -2px; }
  .hero-foot { gap: 18px; }
  .stage { height: 400px; transform: scale(.78); margin: -40px auto; }
  .grid { gap: 10px; }
  .tile { padding: 7px; }
  .tile-meta strong { font-size: 13px; }
  .tile-meta small { font-size: 8px; }
  .section { padding: 60px 0; }
  .howgrid { grid-template-columns: 1fr; }
  .banner-copy { padding: 28px; }
  .sectop { align-items: flex-start; flex-direction: column; }
  .formrow { grid-template-columns: 1fr; }
  .panel { padding: 18px; }
  .stats { gap: 8px; }
  .stat { padding: 12px; }
  .stat strong { font-size: 17px; }
  .sum { grid-template-columns: repeat(2, 1fr); }
  .search { min-width: 0; width: 100%; }
  .notes { width: calc(100vw - 32px); }
}
/* ---------------------------------------------------------------- interactive how-it-works */
.howx { --c: var(--orange); position: relative; border: 1px solid #2a2f36; border-radius: 14px; padding: 34px; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 85% 10%, color-mix(in srgb, var(--c) 16%, transparent), transparent 55%), radial-gradient(80% 70% at 0% 100%, color-mix(in srgb, var(--c) 8%, transparent), transparent 60%), #0e1013;
  transition: background .6s; }
.howx::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .35; background-image: linear-gradient(#ffffff08 1px, transparent 1px), linear-gradient(90deg, #ffffff08 1px, transparent 1px); background-size: 28px 28px; mask-image: radial-gradient(circle at 70% 40%, #000, transparent 75%); }
.howx-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 26px; }
.howx-top h2 { font: 700 clamp(34px, 3.6vw, 54px)/1.04 var(--f-head); letter-spacing: -2px; margin: 12px 0 0; }
.hx-accent { color: var(--c); transition: color .5s; }
.howx-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; align-items: stretch; }
.howx-steps { display: grid; gap: 10px; align-content: start; }
.hx-step { --sc: var(--orange); position: relative; display: grid; grid-template-columns: 46px 1fr; gap: 14px; text-align: left; padding: 16px 16px 18px; border: 1px solid #262a31; border-radius: 10px; background: #121418; color: var(--text); transition: border-color .3s, background .3s, transform .3s var(--ease); overflow: hidden; }
.hx-step:hover { transform: translateX(4px); border-color: color-mix(in srgb, var(--sc) 45%, #262a31); }
.hx-step .n { width: 46px; height: 46px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font: 700 18px var(--f-head); color: var(--sc); background: color-mix(in srgb, var(--sc) 12%, #0b0d10); border: 1px solid color-mix(in srgb, var(--sc) 35%, transparent); transition: all .3s; }
.hx-step .tt b { display: block; font: 700 18px var(--f-head); text-transform: uppercase; letter-spacing: .2px; }
.hx-step .tt small { display: block; color: var(--muted); font-size: 13px; line-height: 1.55; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .45s var(--ease), opacity .35s, margin .3s; }
.hx-step.on { border-color: color-mix(in srgb, var(--sc) 60%, transparent); background: linear-gradient(100deg, color-mix(in srgb, var(--sc) 14%, #121418), #121418 70%); }
.hx-step.on .n { background: var(--sc); color: #0b0d10; box-shadow: 0 6px 20px color-mix(in srgb, var(--sc) 35%, transparent); }
.hx-step.on .tt small { max-height: 90px; opacity: 1; margin-top: 6px; }
.hx-step.done .n { color: #0b0d10; background: color-mix(in srgb, var(--sc) 70%, #333); }
.hx-step .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: #ffffff0a; }
.hx-step .bar i { display: block; height: 100%; width: 0; background: var(--sc); }
.hx-step.on .bar i { animation: hxbar 5.2s linear forwards; }
.howx.paused .hx-step.on .bar i { animation-play-state: paused; }
@keyframes hxbar { to { width: 100%; } }
.howx-stage { position: relative; min-height: 400px; border-radius: 12px; border: 1px solid #262a31; overflow: hidden; background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--c) 18%, #15181c), #0b0d10 70%); }
.howx-stage > div { position: absolute; inset: 0; animation: hxin .5s var(--ease); }
@keyframes hxin { from { opacity: 0; transform: scale(.97); } }
.hx-card { position: absolute; width: 170px; left: 50%; top: 50%; transform: translate(-50%, -50%); filter: drop-shadow(0 18px 24px #000a); }

/* scene 1: launch */
.hx-launch { display: flex; align-items: center; justify-content: center; gap: 26px; padding: 30px; }
.hx-upload { width: 150px; height: 150px; border: 2px dashed color-mix(in srgb, var(--c) 60%, #444); border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; animation: hxdrop .9s var(--ease) both; }
.hx-upload span { font: 10px var(--f-mono); color: var(--muted); }
.hx-logo { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; image-rendering: auto; animation: hxlogo 1s .2s var(--ease) both; }
@keyframes hxdrop { from { opacity: 0; transform: translateY(-30px) rotate(-6deg); } }
@keyframes hxlogo { from { transform: scale(0); } 70% { transform: scale(1.12); } }
.hx-form { width: 210px; display: grid; gap: 10px; }
.hx-field { background: #0b0d10; border: 1px solid #2f343b; border-radius: 6px; padding: 9px 11px; }
.hx-field label { display: block; font: 9px var(--f-mono); color: var(--dim); margin-bottom: 4px; }
.hx-type { display: inline-block; font: 700 16px var(--f-head); white-space: nowrap; overflow: hidden; width: 0; border-right: 2px solid var(--c); animation: hxtype .8s steps(var(--n)) .7s forwards, hxcaret .6s step-end infinite; }
.hx-type.d2 { animation-delay: 1.5s, 0s; }
@keyframes hxtype { to { width: calc(var(--n) * 1ch + 2px); } }
@keyframes hxcaret { 50% { border-color: transparent; } }
.hx-go { text-align: center; padding: 11px; border-radius: 6px; background: var(--c); color: #0b0d10; font: 700 13px var(--f-head); animation: hxpress .5s 2.4s var(--ease) both; }
@keyframes hxpress { 50% { transform: scale(.92); filter: brightness(1.3); } }
.hx-live { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 30px; background: #0f2a1d; border: 1px solid #2c7a52; color: var(--green); font: 700 12px var(--f-mono); opacity: 0; animation: hxpop .6s 2.9s var(--ease) forwards; }
.hx-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 #5ce8a088; animation: hxping 1.4s infinite; }
@keyframes hxpop { from { opacity: 0; transform: translate(-50%, 16px) scale(.8); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes hxping { to { box-shadow: 0 0 0 10px transparent; } }

/* scene 2: card mint */
.hx-orig { position: absolute; left: 12%; top: 50%; width: 120px; transform: translateY(-50%); text-align: center; animation: hxslide 3s var(--ease) both; }
.hx-orig img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
.hx-orig span { font: 10px var(--f-mono); color: var(--muted); }
@keyframes hxslide { 0% { opacity: 0; transform: translate(-20px, -50%); } 15%, 55% { opacity: 1; transform: translate(0, -50%); } 80%, 100% { opacity: .25; transform: translate(0, -50%) scale(.9); } }
.hx-beam { position: absolute; left: 34%; right: 34%; top: 50%; height: 2px; }
.hx-beam i { position: absolute; top: -4px; width: 10px; height: 10px; background: var(--c); animation: hxbeam 1.2s linear infinite; animation-delay: calc(var(--i, 0) * .4s); opacity: 0; }
.hx-beam i:nth-child(2) { --i: 1; } .hx-beam i:nth-child(3) { --i: 2; }
@keyframes hxbeam { 0% { left: 0; opacity: 0; } 20% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.hx-mint .hx-card { left: auto; right: 10%; transform: translateY(-50%); animation: hxflip 1.3s 1s var(--ease) both; }
@keyframes hxflip { from { opacity: 0; transform: translateY(-50%) rotateY(180deg) scale(.6); } }
.hx-stamp { position: absolute; right: 9%; bottom: 26px; font: 700 12px var(--f-mono); color: var(--c); border: 2px solid var(--c); padding: 5px 10px; border-radius: 4px; transform: rotate(-6deg); opacity: 0; animation: hxstamp .4s 2.4s var(--ease) forwards; }
@keyframes hxstamp { from { opacity: 0; transform: rotate(-6deg) scale(2); } to { opacity: 1; transform: rotate(-6deg) scale(1); } }

/* scene 3: fees */
.hx-trades { position: absolute; left: 6%; top: 0; bottom: 0; width: 40%; }
.hx-trades span { position: absolute; left: calc(8% + (var(--i) * 13%) % 50%); bottom: -30px; font: 700 11px var(--f-mono); padding: 5px 9px; border-radius: 20px; animation: hxfloat 3.2s linear infinite; animation-delay: calc(var(--i) * .55s); opacity: 0; }
.hx-trades span.b { background: #0f2a1d; color: var(--green); border: 1px solid #2c7a52; }
.hx-trades span.s { background: #2a1414; color: #ff8a8a; border: 1px solid #6b2a2a; }
@keyframes hxfloat { 0% { bottom: -30px; opacity: 0; } 15% { opacity: 1; } 80% { opacity: 1; } 100% { bottom: 85%; opacity: 0; } }
.hx-coins i { position: absolute; left: 40%; top: 50%; font-style: normal; font: 700 16px var(--f-head); color: #0b0d10; width: 24px; height: 24px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffd9b0, #ff8527); display: flex; align-items: center; justify-content: center; animation: hxcoin 1.8s ease-in infinite; animation-delay: calc(var(--i) * .3s); opacity: 0; }
@keyframes hxcoin { 0% { left: 38%; top: 60%; opacity: 0; transform: scale(.6); } 20% { opacity: 1; } 100% { left: 70%; top: 44%; opacity: 0; transform: scale(1); } }
.hx-vault { position: absolute; right: 8%; top: 50%; transform: translateY(-50%); width: 190px; padding: 22px 18px; text-align: center; border-radius: 14px; background: linear-gradient(160deg, #1a2a22, #0f1714); border: 2px solid color-mix(in srgb, var(--c) 70%, #000); box-shadow: 0 0 40px color-mix(in srgb, var(--c) 25%, transparent), inset 0 0 0 4px #ffffff08; }
.hx-vault small { display: block; font: 10px var(--f-mono); color: var(--muted); letter-spacing: 1px; }
.hx-vault b { display: block; font: 700 38px var(--f-head); color: var(--c); font-variant-numeric: tabular-nums; margin: 6px 0 2px; }
.hx-vault span { font: 11px var(--f-mono); color: var(--muted); }
.hx-holder { position: absolute; right: 8%; bottom: 26px; width: 190px; text-align: center; font: 9px/1.5 var(--f-mono); color: var(--c); }

/* scene 4: trade */
.hx-wallet { position: absolute; top: 50%; transform: translateY(-50%); width: 110px; padding: 14px; border-radius: 12px; background: #121418; border: 1px solid #2f343b; text-align: center; }
.hx-wallet small { display: block; font: 9px var(--f-mono); color: var(--dim); letter-spacing: 1px; }
.hx-wallet b { font: 700 14px var(--f-head); }
.hx-wallet.seller { left: 6%; } .hx-wallet.buyer { right: 6%; border-color: color-mix(in srgb, var(--c) 60%, #2f343b); }
.hx-trade .hx-card { width: 120px; animation: hxmove 4.6s var(--ease) infinite; }
@keyframes hxmove { 0%, 12% { left: 22%; transform: translate(-50%, -50%) rotate(-6deg); } 50%, 80% { left: 78%; transform: translate(-50%, -50%) rotate(5deg); } 100% { left: 78%; opacity: 0; transform: translate(-50%, -50%) rotate(5deg); } }
.hx-sol i { position: absolute; top: 72%; font-style: normal; width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f0d9ff, #9b5cff); color: #fff; font: 700 12px var(--f-head); display: flex; align-items: center; justify-content: center; animation: hxpay 4.6s var(--ease) infinite; animation-delay: calc(var(--i) * .18s); opacity: 0; }
@keyframes hxpay { 0%, 15% { right: 18%; opacity: 0; } 25% { opacity: 1; } 60% { right: 76%; opacity: 1; } 70%, 100% { right: 76%; opacity: 0; } }
.hx-atomic { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); white-space: nowrap; font: 700 10px var(--f-mono); color: var(--c); padding: 8px 14px; border: 1px solid color-mix(in srgb, var(--c) 50%, transparent); border-radius: 30px; background: #0b0d10cc; }

/* colourful detail boxes */
.howbox:nth-child(4n+1) .num { color: var(--orange); } .howbox:nth-child(4n+2) .num { color: var(--cyan); }
.howbox:nth-child(4n+3) .num { color: var(--green); } .howbox:nth-child(4n+4) .num { color: #c58cff; }
.howbox { transition: transform .3s var(--ease), border-color .3s; }
.howbox:hover { transform: translateY(-4px); border-color: #3a4048; }

@media (max-width: 960px) {
  .howx { padding: 22px; }
  .howx-grid { grid-template-columns: 1fr; }
  .howx-stage { min-height: 340px; order: -1; }
  .hx-launch { transform: scale(.85); }
}
@media (max-width: 600px) {
  .howx-top { flex-direction: column; align-items: flex-start; }
  .howx-stage { min-height: 300px; }
  .hx-launch { flex-direction: column; gap: 12px; transform: scale(.78); padding: 0; }
  .hx-card { width: 130px; }
  .hx-vault { width: 150px; right: 4%; } .hx-vault b { font-size: 28px; } .hx-holder { width: 150px; right: 4%; }
  .hx-wallet { width: 86px; padding: 10px; } .hx-trade .hx-card { width: 96px; }
  .hx-atomic { font-size: 8px; }
}

/* ---------------------------------------------------------------- background fx */
.bgfx { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.bgfx canvas { position: absolute; inset: 0; }
.gridlight { position: absolute; inset: 0; background-image: linear-gradient(#ffffff10 1px, transparent 1px), linear-gradient(90deg, #ffffff10 1px, transparent 1px); background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(260px circle at var(--gx, -999px) var(--gy, -999px), #000 0%, transparent 70%); mask-image: radial-gradient(260px circle at var(--gx, -999px) var(--gy, -999px), #000 0%, transparent 70%); }
.gridlight::after { content: ''; position: absolute; inset: 0; background: radial-gradient(180px circle at var(--gx, -999px) var(--gy, -999px), #ff852714, transparent 70%); }
.topbar, #app, .foot, #warn { position: relative; z-index: 1; }
.topbar { position: sticky; z-index: 50; }

/* ---------------------------------------------------------------- scroll reveal */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--rd, 0ms); }
.rv.in { opacity: 1; transform: none; }
.grid > .tile.rv { transform: translateY(26px) scale(.97); }
.grid > .tile.rv.in { transform: none; }
.grid > .tile.rv.in:hover { transform: translateY(-6px); }

/* ---------------------------------------------------------------- holo sweep on the hero cards */
.floating .tc-body::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2; mix-blend-mode: overlay;
  background: linear-gradient(105deg, transparent 35%, #ffffffb0 48%, #ffe9a8 50%, #ffffffb0 52%, transparent 65%); background-size: 300% 100%; background-position: 150% 0; animation: sweep 7s ease-in-out infinite; }
.floating:nth-child(1) .tc-body::after { animation-delay: 1.2s; }
.floating:nth-child(3) .tc-body::after { animation-delay: 2.4s; }
@keyframes sweep { 0%, 70% { background-position: 150% 0; } 100% { background-position: -50% 0; } }
/* ---------------------------------------------------------------- COLLECTOR DEX (fixed left device) */
.dex { --red: #d23a3f; --red-d: #9e2228; --red-l: #ef5a5c; position: fixed; left: 18px; top: calc(50% + 38px); translate: 0 -50%; z-index: 40; display: flex; align-items: stretch; filter: drop-shadow(0 22px 30px #000b); transform-origin: left top; animation: dexIn .9s var(--ease) both; }
@keyframes dexIn { from { transform: translateX(-120%) rotate(-6deg); opacity: 0; } }
.dex button { cursor: pointer; }
.dx-left { position: relative; width: 224px; padding: 14px 14px 16px; border-radius: 14px 6px 6px 16px; background: linear-gradient(160deg, var(--red-l), var(--red) 30%, var(--red-d)); box-shadow: inset 0 2px 0 #ffffff40, inset 0 -3px 0 #0004, inset -3px 0 0 #0003; }
.dx-left::before { content: ''; position: absolute; left: 0; right: 0; top: 64px; height: 18px; background: linear-gradient(170deg, transparent 54%, #0000002e 55%, transparent 70%); pointer-events: none; }
.dx-top { display: flex; align-items: center; gap: 9px; height: 54px; }
.dx-lens { width: 46px; height: 46px; border-radius: 50%; border: 4px solid #f2f2f2; background: radial-gradient(circle at 35% 30%, #a9d8ff, #2f7fe0 38%, #0d3c9b 75%); box-shadow: 0 0 0 2px #0006, inset 0 -4px 8px #0006, 0 0 18px #4aa8ff66; transition: transform .2s, box-shadow .3s; }
.dx-lens:hover { transform: scale(1.06); box-shadow: 0 0 0 2px #0006, inset 0 -4px 8px #0006, 0 0 26px #6bc0ffaa; }
.dx-led { width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 -2px 2px #0005, 0 0 0 1.5px #0004; align-self: flex-start; margin-top: 6px; }
.dx-led.r { background: #ff4b4b; } .dx-led.y { background: #ffd34b; } .dx-led.g { background: #4bdc6a; }
.dex.blink .dx-led { animation: led .25s 4 alternate; }
@keyframes led { to { filter: brightness(2.2); box-shadow: 0 0 10px currentColor; } }
.dx-led.r { color: #ff4b4b; } .dx-led.y { color: #ffd34b; } .dx-led.g { color: #4bdc6a; }
.dx-bezel { margin-top: 18px; padding: 14px 12px 18px; border-radius: 6px 6px 6px 22px; background: linear-gradient(180deg, #f1efeb, #d9d5ce); box-shadow: inset 0 -3px 0 #0002, 0 2px 0 #0003; position: relative; }
.dx-dots { display: flex; gap: 10px; justify-content: center; margin: -6px 0 6px; }
.dx-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.dx-screen { height: 168px; border-radius: 4px; background: radial-gradient(120% 90% at 50% 0%, #1d2a33, #0b1116 75%); box-shadow: inset 0 0 0 2px #00000080, inset 0 0 20px #000; padding: 8px; color: #dff6ff; font: 9px var(--f-pixel); overflow: hidden; position: relative; }
.dx-screen::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, #ffffff07 0 1px, transparent 1px 3px); }
.dx-title { display: flex; justify-content: space-between; color: var(--cyan); margin-bottom: 6px; letter-spacing: .5px; }
.dx-title small { color: #6d8a96; font: inherit; }
.dx-card { display: grid; grid-template-columns: 74px 1fr; gap: 8px; color: inherit; }
.dx-art { width: 74px; height: 74px; border-radius: 3px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px #ffffff22; }
.dx-art img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; animation: dxpop .35s var(--ease); }
@keyframes dxpop { from { transform: scale(1.3); filter: brightness(2); } }
.dx-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.dx-info b { font: 700 12px var(--f-head); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dx-info span { color: #9fc3d1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dx-info .hl { color: var(--orange); }
.dx-pager { display: flex; gap: 3px; margin-top: 10px; flex-wrap: wrap; }
.dx-pager i { width: 8px; height: 3px; background: #ffffff25; }
.dx-pager i.on { background: var(--cyan); }
.dx-rows { display: grid; gap: 6px; }
.dx-rows div { display: flex; justify-content: space-between; border-bottom: 1px dashed #ffffff18; padding-bottom: 4px; }
.dx-rows span { color: #7f9ba7; } .dx-rows b { color: #fff; font-weight: 400; }
.dx-rows b.ok { color: var(--green); } .dx-rows b.bad { color: var(--red-l); }
.dx-feed { display: grid; gap: 6px; }
.dx-feed a { display: flex; justify-content: space-between; gap: 6px; color: #cfe9f4; border-bottom: 1px dashed #ffffff18; padding-bottom: 4px; }
.dx-feed a b { color: #fff; font-weight: 400; } .dx-feed a span { color: var(--orange); }
.dx-empty { color: #6d8a96; text-align: center; padding-top: 40px; line-height: 2; }
.dx-grill { position: absolute; right: 12px; bottom: 5px; display: grid; gap: 2px; }
.dx-grill i { width: 16px; height: 2px; background: var(--red); border-radius: 2px; }
.dx-controls { display: grid; grid-template-columns: 44px 1fr 72px; grid-template-rows: auto auto; gap: 10px 10px; margin-top: 16px; align-items: center; }
.dx-round { width: 36px; height: 36px; border-radius: 50%; border: 0; background: radial-gradient(circle at 35% 30%, #4a4a4a, #111); box-shadow: 0 3px 0 #0007; }
.dx-pills { display: flex; gap: 8px; }
.dx-pills button { width: 38px; height: 10px; border-radius: 6px; border: 0; box-shadow: 0 2px 0 #0007; }
.dx-pills .red { background: var(--red-l); } .dx-pills .blue { background: #2f5fd0; }
.dx-lcd { grid-column: 1 / 3; height: 34px; border-radius: 5px; background: linear-gradient(180deg, #8fbf7a, #6f9e5c); box-shadow: inset 0 2px 3px #0006, 0 1px 0 #ffffff30; color: #1d2e17; font: 8px/34px var(--f-pixel); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 6px; }
.dx-pad { grid-column: 3; grid-row: 1 / 3; display: grid; grid-template-columns: repeat(3, 24px); grid-template-rows: repeat(3, 24px); }
.dx-pad button, .dx-pad span { border: 0; background: #1b1b1d; color: #555; font-size: 8px; padding: 0; box-shadow: 0 3px 0 #000a; }
.dx-pad .u { grid-column: 2; grid-row: 1; border-radius: 4px 4px 0 0; } .dx-pad .l { grid-column: 1; grid-row: 2; border-radius: 4px 0 0 4px; }
.dx-pad span { grid-column: 2; grid-row: 2; } .dx-pad .r { grid-column: 3; grid-row: 2; border-radius: 0 4px 4px 0; } .dx-pad .d { grid-column: 2; grid-row: 3; border-radius: 0 0 4px 4px; }
.dx-pad button:hover { color: var(--cyan); }
.dex .press { transform: translateY(2px); box-shadow: 0 1px 0 #000a !important; filter: brightness(1.3); }
.dx-hinge { width: 0; transition: width .5s var(--ease); background: linear-gradient(90deg, var(--red-d), var(--red-l) 40%, var(--red-d)); margin: 10px 0; border-radius: 4px; box-shadow: inset 0 0 0 1px #0003; }
.dx-right { width: 0; overflow: hidden; opacity: 0; transition: width .55s var(--ease), opacity .3s, padding .55s var(--ease); padding: 64px 0 16px; border-radius: 6px 14px 16px 6px; margin: 10px 0; display: flex; flex-direction: column; gap: 12px;
  background: linear-gradient(160deg, var(--red-l), var(--red) 30%, var(--red-d)); box-shadow: inset 0 2px 0 #ffffff40, inset 0 -3px 0 #0004; }
.dex.open .dx-hinge { width: 14px; }
.dex.open .dx-right { width: 210px; opacity: 1; padding: 64px 14px 16px; }
.dx-rscreen { min-height: 54px; border-radius: 4px; background: #101418; box-shadow: inset 0 0 0 2px #0008; color: #9fe3ff; font: 8px/1.9 var(--f-pixel); padding: 8px; white-space: nowrap; }
.dx-keys { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; padding: 4px; border-radius: 4px; background: #1f2a6b; box-shadow: inset 0 0 0 2px #0006; }
.dx-keys a { height: 30px; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, #3a4fb8, #2a3a92); border-radius: 2px; box-shadow: inset 0 -2px 0 #0005; color: #dfe6ff; font: 6px var(--f-pixel); }
.dx-keys a:hover { filter: brightness(1.35); }
.dx-rrow { display: flex; align-items: center; gap: 8px; }
.dx-wide { flex: 1; height: 26px; border-radius: 4px; background: linear-gradient(180deg, #f4f4f4, #cfcfcf); box-shadow: 0 2px 0 #0006; color: #333; font: 7px/26px var(--f-pixel); text-align: center; }
.dx-rrow i { width: 26px; height: 7px; border-radius: 4px; background: #222; }
.dx-rbottom { display: grid; grid-template-columns: 1fr 1fr 14px; gap: 8px; align-items: center; }
.dx-rbottom span { height: 22px; border-radius: 3px; background: #1d1d1f; }
.dx-rbottom b { width: 14px; height: 14px; border-radius: 50%; background: #f2c33a; box-shadow: inset 0 -2px 2px #0005; }
.dex-fab { display: none; position: fixed; left: 16px; bottom: 16px; z-index: 41; width: 52px; height: 52px; border-radius: 50%; border: 3px solid #f2f2f2; background: radial-gradient(circle at 35% 30%, #ef5a5c, #9e2228); box-shadow: 0 10px 24px #000a; }
.dex-fab i { display: block; width: 18px; height: 18px; margin: auto; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #a9d8ff, #2f7fe0); border: 2px solid #fff; }
/* the device sits in the empty margin on wide screens; elsewhere it opens from the round button */
@media (max-width: 1879px) {
  .dex { display: none; animation: none; }
  .dex-fab { display: block; }
  body.dex-show .dex { display: flex; top: auto; bottom: 80px; left: 12px; translate: none; transform: scale(.92); transform-origin: left bottom; z-index: 70; }
}
@media (max-width: 600px) { body.dex-show .dex { transform: scale(.8); } body.dex-show .dex.open { transform: scale(.62); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
