:root {
  --bg: #050c10; --deep: #03080b; --panel: #08131a; --panel2: #0c1a23; --line: rgba(143, 212, 241, .11); --line2: rgba(143, 212, 241, .22);
  --ink: #f2f9fc; --dim: rgba(226, 242, 250, .62); --mute: rgba(206, 230, 242, .42);
  --ice: #8fd4f1; --ice2: #52b9e2; --pale: #ccedf9; --red: #ff8b97;
  --r: 18px; --r2: 12px; --side: 224px; --top: 64px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --mono: "Geist Mono", ui-monospace, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; scrollbar-color: #1d3947 transparent; scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #1d3947; border-radius: 99px; border: 2px solid var(--bg); }
::-webkit-scrollbar-track { background: transparent; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.55 "Sora", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
img { display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 2px; }
::selection { background: rgba(82, 185, 226, .35); }
h1, h2, h3, p { margin: 0; }
svg.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg.f { width: 16px; height: 16px; fill: currentColor; flex: none; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }

/* ---------- shell */
.side { position: fixed; inset: 0 auto 0 0; width: var(--side); border-right: 1px solid var(--line); background: var(--deep); padding: 0 14px 18px; display: flex; flex-direction: column; z-index: 30; }
.side .brand { height: var(--top); display: flex; align-items: center; padding: 0 10px; margin-bottom: 14px; }
.brand img { width: 126px; height: auto; }
.side nav { display: grid; gap: 2px; }
.side nav a { display: flex; align-items: center; gap: 13px; height: 44px; padding: 0 12px; border-radius: var(--r2); color: var(--dim); font-weight: 500; transition: background .18s, color .18s; }
.side nav a:hover { background: rgba(143, 212, 241, .06); color: var(--ink); }
.side nav a.on { color: var(--ink); background: rgba(143, 212, 241, .09); }
.side nav a.on svg { color: var(--ice); }
.side .low { margin-top: auto; display: grid; gap: 10px; padding: 0 2px; }
.clock { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: var(--panel); }
.clock small { display: block; color: var(--mute); font-size: 12px; }
.clock b { font-weight: 500; font-size: 20px; color: var(--pale); }
.clock i { display: block; height: 3px; border-radius: 9px; background: rgba(143, 212, 241, .12); margin-top: 9px; overflow: hidden; }
.clock i u { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--ice2), var(--pale)); transform-origin: left; transform: scaleX(0); transition: transform 1s linear; }

.top { position: sticky; top: 0; height: var(--top); margin-left: var(--side); border-bottom: 1px solid var(--line); background: rgba(5, 12, 16, .94); z-index: 25; display: flex; align-items: center; gap: 14px; padding: 0 28px; }
.top .brand { display: none; }
.find { position: relative; flex: 1; max-width: 520px; margin: 0 auto; }
.find input { width: 100%; height: 40px; border-radius: 99px; border: 1px solid var(--line); background: var(--panel); padding: 0 18px 0 42px; outline: none; transition: border-color .2s, background .2s; font-size: 14px; }
.find input::placeholder { color: var(--mute); }
.find input:focus { border-color: var(--line2); background: var(--panel2); }
.find > svg { position: absolute; left: 15px; top: 11px; color: var(--mute); }
.drop { position: absolute; top: 48px; left: 0; right: 0; background: var(--panel2); border: 1px solid var(--line2); border-radius: 16px; padding: 6px; box-shadow: 0 24px 60px rgba(0, 0, 0, .55); max-height: 420px; overflow: auto; }
.drop a, .drop .none { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 11px; }
.drop a:hover, .drop a.sel { background: rgba(143, 212, 241, .08); }
.drop img { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; background: var(--panel); }
.drop img.round { border-radius: 50%; }
.drop b { font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 5px; }
.drop small { color: var(--mute); display: block; line-height: 1.3; }
.drop .none { color: var(--mute); font-size: 14px; }
.acts { display: flex; align-items: center; gap: 10px; }
.btn { height: 40px; padding: 0 18px; border-radius: 99px; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; transition: transform .2s var(--ease), background .2s, border-color .2s, opacity .2s; }
.btn:active { transform: scale(.97); }
.btn.hi { background: linear-gradient(180deg, #e6f7fd, #a5dcf3); color: #04161f; }
.btn.hi:hover { background: linear-gradient(180deg, #fff, #b9e6f7); }
.btn.lo { border: 1px solid var(--line2); }
.btn.lo:hover { background: rgba(143, 212, 241, .07); }
.btn.big { height: 52px; font-size: 15.5px; padding: 0 26px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.ca { height: 40px; border: 1px solid var(--line2); border-radius: 99px; padding: 0 6px 0 14px; display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; }
.ca em { font-style: normal; color: var(--mute); }
.ca span { background: rgba(143, 212, 241, .1); border-radius: 99px; padding: 4px 11px; font-size: 12px; font-weight: 600; min-width: 58px; text-align: center; }
main { margin-left: var(--side); min-height: calc(100vh - var(--top)); padding: 0 28px 90px; }
.wide { max-width: 1240px; margin: 0 auto; }
.foot { margin-left: var(--side); border-top: 1px solid var(--line); padding: 30px 28px 40px; color: var(--mute); font-size: 13px; }
.foot .wide { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.foot img { width: 92px; opacity: .85; }
.foot a:hover { color: var(--ink); }
.foot p { flex-basis: 100%; max-width: 640px; line-height: 1.6; }
.tabs { display: none; }
.toast { position: fixed; left: 50%; bottom: 32px; transform: translate(-50%, 20px); background: var(--panel2); border: 1px solid var(--line2); border-radius: 14px; padding: 13px 20px; font-size: 14px; opacity: 0; pointer-events: none; transition: .3s var(--ease); z-index: 90; max-width: min(92vw, 520px); box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast.bad { border-color: rgba(255, 139, 151, .4); }

/* ---------- home */
.hero { position: relative; padding: 58px 0 0; text-align: center; }
.hero::before { content: ""; position: absolute; inset: 0 -28px auto; height: 760px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.9 2H22l-6.8 7.8L23.2 22H17l-4.9-6.4L6.5 22H3.4l7.3-8.3L2.9 2h6.4l4.4 5.9zm-1.1 18h1.7L8.3 3.9H6.5z' fill='none' stroke='%238fd4f1' stroke-opacity='.13' stroke-width='.045'/%3E%3C/svg%3E") 50% 112px / 528px no-repeat, radial-gradient(620px 420px at 50% 52%, rgba(82, 185, 226, .17), transparent 70%); }
.hero > * { position: relative; }
.hero h1 { font-size: clamp(34px, 5vw, 62px); line-height: 1.06; letter-spacing: -.042em; font-weight: 600; text-wrap: balance; }
.hero .sub { color: var(--dim); font-size: 17px; margin-top: 16px; text-wrap: balance; }
.flow { display: grid; grid-template-columns: 290px minmax(0, 1fr) 400px minmax(0, 1fr) 290px; align-items: center; max-width: 1180px; margin: 10px auto 0; text-align: left; }
.flow .stage { position: relative; height: 400px; }
.flow .stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.wire { position: relative; height: 2px; background: linear-gradient(90deg, var(--line), var(--line2)); }
.wire.a { margin-right: -34px; } .wire.b { margin-left: -34px; background: linear-gradient(90deg, var(--line2), var(--line)); }
.wire i { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--pale); box-shadow: 0 0 12px 2px rgba(143, 212, 241, .75); animation: run 2.4s linear infinite; opacity: 0; will-change: transform, opacity; }
.wire i:nth-child(2) { animation-delay: .8s; }
.wire i:nth-child(3) { animation-delay: 1.6s; }
.wire em { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font-style: normal; font-size: 12.5px; color: var(--dim); white-space: nowrap; }
.wire.down { display: none; }
@keyframes run { 0% { transform: translateX(0); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateX(var(--w, 110px)); opacity: 0; } }
.tile { border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel2), var(--panel)); border-radius: 20px; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .45); }
.mini { padding: 16px; }
.mini .r { display: flex; align-items: center; gap: 12px; }
.mini .pic { width: 60px; height: 60px; border-radius: 15px; flex: none; background: #000; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); }
.mini .pic img { width: 50px; }
.mini b { font-weight: 600; display: block; line-height: 1.25; }
.mini small { color: var(--mute); }
.bars { display: flex; align-items: center; gap: 5px; height: 92px; margin-top: 16px; }
.bars span { flex: 1; border-radius: 3px; background: var(--ice2); transform-origin: center; animation: bar 2.6s ease-in-out infinite alternate; }
.bars span.d { background: rgba(143, 212, 241, .28); }
@keyframes bar { from { transform: scaleY(.55) translateY(8px); } to { transform: scaleY(1) translateY(-6px); } }
.pcard { position: relative; display: block; }
.pcard .ban { height: 88px; background: linear-gradient(120deg, #123244, #0a1a23 60%, #1a4a61); background-size: cover; background-position: center; }
.pcard .av { width: 62px; height: 62px; border-radius: 50%; border: 4px solid var(--panel); margin: -33px 0 0 14px; background: var(--panel2); object-fit: cover; position: relative; }
.pcard .tx { padding: 8px 16px 14px; }
.pcard b { font-weight: 600; font-size: 16px; display: flex; align-items: center; gap: 5px; white-space: nowrap; overflow: hidden; }
.pcard b span { overflow: hidden; text-overflow: ellipsis; }
.pcard small { color: var(--mute); font-size: 13.5px; }

.pcard .gets { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--line); padding: 12px 16px; font-size: 13.5px; color: var(--dim); }
.pcard .gets .xm { width: 28px; height: 28px; border-radius: 8px; background: #000; border: 1px solid var(--line2); display: grid; place-items: center; }
.pcard .gets b { font-size: 13.5px; display: inline; color: var(--ink); }
.swapin { animation: swapin .55s var(--ease); }
@keyframes swapin { from { opacity: 0; transform: translateY(8px); } }
.ask { display: flex; align-items: center; max-width: 620px; margin: 6px auto 0; height: 68px; border-radius: 99px; border: 1px solid var(--line2); background: rgba(8, 19, 26, .96); padding: 0 8px 0 24px; gap: 12px; text-align: left; transition: border-color .2s, box-shadow .2s; }
.ask:focus-within { border-color: var(--ice2); box-shadow: 0 0 0 5px rgba(82, 185, 226, .13); }
.ask .at { font-size: 21px; color: var(--mute); }
.ask input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 20px; font-weight: 500; letter-spacing: -.02em; height: 100%; margin-left: -8px; }
.ask input::placeholder { color: var(--mute); }
.ask .st { width: 34px; display: grid; place-items: center; }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line2); border-top-color: var(--ice); animation: sp .7s linear infinite; }
@keyframes sp { to { transform: rotate(1turn); } }
.ask img { width: 34px; height: 34px; border-radius: 50%; }
.askmsg { min-height: 22px; margin-top: 10px; font-size: 13.5px; color: var(--mute); }
.askmsg.bad { color: var(--red); }

.sec { margin-top: 96px; }
.sec > h2, .shead h2 { font-size: 28px; letter-spacing: -.03em; font-weight: 600; }
.shead { display: flex; align-items: center; gap: 14px; justify-content: space-between; margin-bottom: 20px; }
.shead a { color: var(--dim); font-size: 14px; }
.shead a:hover { color: var(--ink); }
.how { display: grid; grid-template-columns: 1fr 1fr 1fr; border: 1px solid var(--line); border-radius: 24px; background: var(--panel); margin-top: 22px; overflow: hidden; }
.how > div { padding: 26px; display: flex; flex-direction: column; }
.how > div + div { border-left: 1px solid var(--line); }
.how .viz { height: 216px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 16px; background: radial-gradient(260px 180px at 50% 45%, rgba(82, 185, 226, .12), transparent 75%), var(--deep); border: 1px solid var(--line); overflow: hidden; }
.how h3 { font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.how p { color: var(--dim); margin-top: 6px; }
.typer { width: 82%; display: grid; gap: 9px; }
.typer div { height: 40px; border-radius: 11px; border: 1px solid var(--line); background: var(--panel); padding: 0 13px; display: flex; align-items: center; gap: 9px; font-size: 14px; }
.typer div em { font-style: normal; color: var(--mute); width: 52px; font-size: 12.5px; }
.typer div.go { background: linear-gradient(180deg, #e6f7fd, #a5dcf3); color: #04161f; font-weight: 600; justify-content: center; border: 0; transition: transform .2s var(--ease), opacity .3s; opacity: .45; }
.typer div.go.on { opacity: 1; }
.typer div.go.tap { transform: scale(.96); }
.caret::after { content: ""; width: 1.5px; height: 17px; background: var(--ice); margin-left: 1px; animation: bl 1s steps(2) infinite; }
@keyframes bl { 50% { opacity: 0; } }
.ring { position: relative; width: 150px; height: 150px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 6; stroke: rgba(143, 212, 241, .12); }
.ring circle.v { stroke: var(--ice); stroke-linecap: round; stroke-dasharray: 100; transition: stroke-dashoffset 1s linear; }
.ring div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring b { font-size: 30px; font-weight: 500; line-height: 1.1; }
.ring small { color: var(--mute); font-size: 12px; }
.note { width: 86%; display: flex; align-items: center; gap: 13px; border-radius: 18px; background: #0f2029; border: 1px solid var(--line2); padding: 14px 15px; box-shadow: 0 18px 40px rgba(0, 0, 0, .5); }
.note .xm { width: 42px; height: 42px; border-radius: 12px; background: #000; display: grid; place-items: center; flex: none; }
.note .xm svg { width: 20px; height: 20px; }
.note b { display: block; font-weight: 600; line-height: 1.3; font-size: 14.5px; }
.note small { color: var(--dim); display: block; line-height: 1.35; }
.note img { width: 34px; height: 34px; border-radius: 50%; margin-left: auto; }
.note.drop-in { animation: din 4.5s var(--ease) infinite; }
@keyframes din { 0% { transform: translateY(-130px); opacity: 0; } 16%, 88% { transform: none; opacity: 1; } 100% { transform: translateY(0); opacity: 0; } }
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pgrid .tile { transition: transform .35s var(--ease), border-color .2s; box-shadow: none; }
.pgrid .tile:hover { transform: translateY(-4px); border-color: var(--line2); }
.pgrid .ban { height: 78px; }
.pgrid .pcard .tx { padding-bottom: 16px; }
.pgrid .meta { display: flex; justify-content: space-between; margin-top: 9px; font-size: 13.5px; color: var(--dim); }
.pgrid .meta span:last-child { color: var(--ice); font-weight: 600; }

/* ---------- coins */
.cgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(212px, 1fr)); gap: 14px; }
.coin { border: 1px solid var(--line); border-radius: 20px; background: var(--panel); padding: 9px 9px 14px; transition: transform .35s var(--ease), border-color .2s; display: block; }
.coin:hover { transform: translateY(-4px); border-color: var(--line2); }
.coin .im { position: relative; aspect-ratio: 1; border-radius: 13px; overflow: hidden; background: var(--panel2); }
.coin .im > img { width: 100%; height: 100%; object-fit: cover; }
.coin .age { position: absolute; right: 8px; top: 8px; font-size: 11.5px; background: rgba(3, 8, 11, .82); padding: 3px 8px; border-radius: 99px; }
.coin .to { position: absolute; left: 8px; bottom: 8px; max-width: calc(100% - 16px); display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; background: rgba(3, 8, 11, .88); padding: 4px 11px 4px 5px; border-radius: 99px; }
.coin .to img { width: 22px; height: 22px; border-radius: 50%; }
.coin .to span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.coin .nm { display: flex; gap: 8px; align-items: baseline; padding: 12px 6px 0; font-weight: 600; white-space: nowrap; overflow: hidden; }
.coin .nm span { overflow: hidden; text-overflow: ellipsis; }
.coin .nm em { font: 500 12px var(--mono); color: var(--mute); }
.coin .nu { display: flex; justify-content: space-between; padding: 4px 6px 0; font-size: 13.5px; }
.coin .nu small { color: var(--mute); font-size: 12px; margin-left: 4px; font-family: "Sora"; letter-spacing: 0; }
.empty { border: 1px dashed var(--line2); border-radius: 22px; padding: 46px 24px; text-align: center; color: var(--dim); display: grid; justify-items: center; gap: 16px; }
.empty img { width: 168px; opacity: .9; }
.bar { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 34px 0 22px; }
.bar h1 { font-size: 34px; letter-spacing: -.035em; font-weight: 600; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 99px; padding: 4px; background: var(--panel); }
.seg button { height: 34px; padding: 0 16px; border-radius: 99px; color: var(--dim); font-size: 13.5px; font-weight: 500; }
.seg button.on { background: rgba(143, 212, 241, .13); color: var(--ink); }

/* ---------- launch */
.lform { display: grid; grid-template-columns: minmax(0, 1fr) 420px; border: 1px solid var(--line); border-radius: 26px; background: var(--panel); overflow: clip; margin-top: 34px; }
.lform .l { padding: 34px; }
.lform .r { border-left: 1px solid var(--line); background: radial-gradient(420px 320px at 50% 18%, rgba(82, 185, 226, .13), transparent 72%), var(--deep); padding: 34px 30px; }
.lform .stick { position: sticky; top: 94px; display: grid; gap: 16px; }
.lform h1 { font-size: 30px; letter-spacing: -.035em; font-weight: 600; margin-bottom: 26px; }
.fld { margin-bottom: 20px; }
.fld > label, .lab { display: flex; justify-content: space-between; font-size: 13.5px; font-weight: 600; margin-bottom: 8px; }
.fld label em, .lab em { font-style: normal; font-weight: 400; color: var(--mute); }
.in { width: 100%; height: 50px; border-radius: 14px; border: 1px solid var(--line); background: var(--deep); padding: 0 16px; outline: none; transition: border-color .2s, box-shadow .2s; }
textarea.in { height: 92px; padding: 13px 16px; resize: vertical; }
.in::placeholder { color: var(--mute); }
.in:focus, .inw:focus-within { border-color: var(--ice2); box-shadow: 0 0 0 4px rgba(82, 185, 226, .11); }
.inw { display: flex; align-items: center; gap: 10px; height: 60px; border-radius: 16px; border: 1px solid var(--line2); background: var(--deep); padding: 0 14px 0 18px; transition: border-color .2s, box-shadow .2s; }
.inw input { flex: 1; min-width: 0; border: 0; background: none; outline: 0; height: 100%; font-size: 17px; font-weight: 500; }
.inw input::placeholder { color: var(--mute); }
.inw img.round { width: 34px; height: 34px; border-radius: 50%; }
.inw .u { color: var(--mute); font-size: 14px; }
.two { display: grid; grid-template-columns: 1fr 190px; gap: 14px; }
.picw { display: flex; gap: 14px; align-items: stretch; }
.dropz { width: 112px; height: 112px; border-radius: 18px; border: 1.5px dashed var(--line2); background: var(--deep); display: grid; place-items: center; overflow: hidden; flex: none; color: var(--mute); transition: border-color .2s; }
.dropz:hover, .dropz.over { border-color: var(--ice); color: var(--ice); }
.dropz img { width: 100%; height: 100%; object-fit: cover; }
.picw .o { display: grid; align-content: center; justify-items: start; gap: 9px; font-size: 13.5px; color: var(--mute); }
.pairbtn { width: 100%; height: 56px; border-radius: 14px; border: 1px solid var(--line); background: var(--deep); padding: 0 16px; display: flex; align-items: center; gap: 12px; text-align: left; transition: border-color .2s; }
.pairbtn:hover { border-color: var(--line2); }
.pairbtn img, .plist img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: var(--panel2); }
.pairbtn b { font-weight: 600; }
.pairbtn small { color: var(--mute); }
.pairbtn svg { margin-left: auto; color: var(--mute); }
.more { display: flex; align-items: center; gap: 8px; color: var(--dim); font-size: 14px; font-weight: 500; margin-bottom: 18px; }
.more svg { transition: transform .25s var(--ease); }
.more.on svg { transform: rotate(180deg); }
.sum { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 20px; display: grid; gap: 9px; font-size: 14px; color: var(--dim); }
.sum div { display: flex; justify-content: space-between; }
.sum b { color: var(--ink); font-weight: 500; }
.picw .o .btn { color: var(--ink); height: 38px; }
.lform .btn.big { width: 100%; margin-top: 20px; height: 56px; }
.say { min-height: 22px; text-align: center; font-size: 14px; margin-top: 12px; color: var(--mute); }
.say.bad { color: var(--red); }
.prev { width: 100%; max-width: 280px; margin: 0 auto; pointer-events: none; }
.prev .coin { padding: 11px 11px 16px; border-radius: 24px; }
.ghost { width: 100%; height: 100%; display: grid; place-items: center; }
.ghost img { width: 74%; opacity: .16; }
.links2 { display: grid; gap: 11px; padding: 4px 4px 0; font-size: 14px; color: var(--dim); }
.links2 div { display: flex; gap: 11px; align-items: center; }
.links2 svg { color: var(--ice); }

.modal { position: fixed; inset: 0; background: rgba(2, 6, 9, .78); z-index: 80; display: grid; place-items: center; padding: 20px; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.box { width: min(520px, 100%); max-height: min(720px, 88vh); background: var(--panel2); border: 1px solid var(--line2); border-radius: 24px; padding: 22px; display: flex; flex-direction: column; box-shadow: 0 40px 120px rgba(0, 0, 0, .7); animation: pop .35s var(--ease); }
@keyframes pop { from { transform: translateY(16px) scale(.98); opacity: 0; } }
.box h2 { font-size: 20px; letter-spacing: -.02em; font-weight: 600; display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.x { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--dim); }
.x:hover { background: rgba(143, 212, 241, .09); color: var(--ink); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0 8px; }
.chips button { height: 31px; padding: 0 13px; border-radius: 99px; border: 1px solid var(--line); font-size: 12.5px; color: var(--dim); }
.chips button.on { background: rgba(143, 212, 241, .14); color: var(--ink); border-color: var(--line2); }
.box > * { flex: none; }
.plist { flex: 1 1 auto !important; overflow: auto; margin: 4px -8px 0; min-height: 220px; height: 440px; }
.plist button { width: 100%; display: flex; align-items: center; gap: 13px; padding: 9px 10px; border-radius: 12px; text-align: left; }
.plist button:hover { background: rgba(143, 212, 241, .07); }
.plist b { font-weight: 600; display: block; line-height: 1.25; }
.plist small { color: var(--mute); }
.plist .lb { margin-left: auto; color: var(--mute); font-size: 12px; }
.wl { display: grid; gap: 8px; }
.wl button, .wl a { display: flex; align-items: center; gap: 13px; height: 58px; border: 1px solid var(--line); border-radius: 15px; padding: 0 16px; font-weight: 600; }
.wl button:hover, .wl a:hover { border-color: var(--line2); background: rgba(143, 212, 241, .06); }
.wl img { width: 30px; height: 30px; border-radius: 8px; }
.steps { display: grid; gap: 4px; margin: 4px 0 6px; }
.steps div { display: flex; align-items: center; gap: 14px; padding: 12px 4px; color: var(--mute); transition: color .3s; }
.steps div.on { color: var(--ink); }
.steps div.ok { color: var(--dim); }
.steps i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line2); display: grid; place-items: center; flex: none; }
.steps .on i { border-color: var(--line2); border-top-color: var(--ice); animation: sp .8s linear infinite; }
.steps .ok i { background: var(--ice); border-color: var(--ice); color: #04161f; }
.steps i svg { width: 14px; height: 14px; stroke-width: 2.6; display: none; }
.steps .ok i svg { display: block; }
.won { text-align: center; display: grid; justify-items: center; gap: 8px; padding: 8px 0 4px; }
.won .duo { display: flex; align-items: center; margin-bottom: 10px; }
.won .duo img { width: 92px; height: 92px; border-radius: 26px; object-fit: cover; border: 4px solid var(--panel2); }
.won .duo img + img { border-radius: 50%; margin-left: -22px; }
.won h3 { font-size: 24px; letter-spacing: -.03em; font-weight: 600; }
.won p { color: var(--dim); max-width: 380px; }
.won .b { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; margin-top: 16px; }

/* ---------- coin + profile */
.cpage { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 18px; margin-top: 30px; align-items: start; }
.card { border: 1px solid var(--line); border-radius: 22px; background: var(--panel); padding: 22px; }
.chead { display: flex; gap: 18px; align-items: center; }
.chead > img { width: 92px; height: 92px; border-radius: 22px; object-fit: cover; background: var(--panel2); }
.chead h1 { font-size: 30px; letter-spacing: -.035em; font-weight: 600; line-height: 1.15; overflow-wrap: anywhere; }
.chead h1 em { font: 500 15px var(--mono); color: var(--mute); letter-spacing: 0; margin-left: 8px; }
.copy { display: inline-flex; align-items: center; gap: 8px; color: var(--dim); font-size: 13px; margin-top: 7px; }
.copy:hover { color: var(--ink); }
.copy svg { width: 14px; height: 14px; }
.nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin-top: 18px; }
.nums div { background: var(--panel); padding: 16px 18px; }
.nums small { color: var(--mute); display: block; font-size: 13px; }
.nums b { font-size: 21px; font-weight: 500; }
.chartw { margin-top: 18px; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--panel); height: 520px; }
.chartw iframe { width: 100%; height: 100%; border: 0; display: block; }
.col { display: grid; gap: 14px; }
.col .btn { width: 100%; }
.txt { color: var(--dim); white-space: pre-line; overflow-wrap: anywhere; margin-top: 16px; }
.prof { max-width: 760px; margin: 30px auto 0; border: 1px solid var(--line); border-radius: 26px; overflow: hidden; background: var(--panel); }
.prof .ban { height: 230px; background: linear-gradient(120deg, #123244, #0a1a23 60%, #1a4a61); background-size: cover; background-position: center; }
.prof .in2 { padding: 0 26px 26px; }
.prof .av { width: 124px; height: 124px; border-radius: 50%; border: 5px solid var(--panel); margin-top: -64px; object-fit: cover; position: relative; background: var(--panel2); }
.prof .ln { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.prof h1 { font-size: 27px; letter-spacing: -.03em; font-weight: 600; display: flex; gap: 7px; align-items: center; margin-top: 12px; }
.prof h1 svg { width: 22px; height: 22px; }
.prof .h { color: var(--mute); }
.prof .bio { margin-top: 12px; color: var(--dim); overflow-wrap: anywhere; }
.doc { max-width: 720px; margin: 44px auto 0; }
.doc h1 { font-size: 40px; letter-spacing: -.04em; font-weight: 600; margin-bottom: 8px; }
.doc h2 { font-size: 20px; letter-spacing: -.02em; font-weight: 600; margin: 38px 0 8px; }
.doc p { color: var(--dim); font-size: 16px; line-height: 1.7; }
.doc p a { color: var(--ice); }
.skel { background: linear-gradient(90deg, var(--panel), var(--panel2), var(--panel)); background-size: 200% 100%; animation: sk 1.4s linear infinite; border-radius: 20px; }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------- sizes */
@media (max-width: 1380px) { .flow { grid-template-columns: 250px minmax(0, 1fr) 340px minmax(0, 1fr) 250px; } .flow .stage { height: 360px; } .wire em { font-size: 11.5px; } }
@media (max-width: 1180px) { :root { --side: 76px; }
  .side { padding: 0 12px 16px; } .side .brand img { display: none; } .side .brand { background: url(/assets/wordmark.png) center/58px no-repeat; } .side nav a { justify-content: center; padding: 0; } .side nav a span, .clock { display: none; }
  .flow { grid-template-columns: 224px minmax(0, 1fr) 300px minmax(0, 1fr) 224px; } .flow .stage { height: 320px; } .wire em { display: none; }
  .pgrid { grid-template-columns: repeat(2, 1fr); } .lform { grid-template-columns: 1fr; } .lform .r { border-left: 0; border-top: 1px solid var(--line); } .cpage { grid-template-columns: 1fr; } }
@media (max-width: 820px) { :root { --side: 0px; --top: 58px; }
  .side { display: none; } .top { padding: 0 14px; gap: 8px; } .top .brand { display: block; } .top .brand img { width: 104px; } .top .find { display: none; } .acts { margin-left: auto; gap: 7px; } .acts .go { display: none; } .ca em, .ca .mono { display: none; } .ca { padding-left: 6px; }
  .btn { height: 38px; padding: 0 15px; }
  main { padding: 0 14px 120px; } .foot { padding: 26px 14px 110px; }
  .tabs { position: fixed; left: 0; right: 0; bottom: 0; height: calc(62px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(3, 8, 11, .97); border-top: 1px solid var(--line); z-index: 40; }
  .tabs a { display: grid; place-content: center; justify-items: center; gap: 3px; font-size: 11px; color: var(--mute); } .tabs a.on { color: var(--ink); } .tabs a.on svg { color: var(--ice); }
  .hero { padding-top: 34px; } .hero .sub { font-size: 15.5px; } .hero::before { inset: 0 -14px auto; background-size: 360px, auto; background-position: 50% 236px, 0 0; }
  .flow { grid-template-columns: 1fr; justify-items: center; } .flow .tile.mini, .flow .wire.a { display: none; } .flow .stage { width: 100%; height: 236px; } .flow .tile { width: 100%; max-width: 320px; }
  .wire.b { margin: 0; width: 2px; height: 34px; background: linear-gradient(180deg, var(--line2), var(--line)); } .wire.b i { left: -3px; top: 0; animation-name: rund; } .wire.b em { display: none; }
  .hero { display: flex; flex-direction: column; } .hero .flow { order: 3; width: 100%; margin-top: 4px; } .ask { width: 100%; margin-top: 24px; height: 62px; padding-left: 18px; } .ask input { font-size: 17px; } .ask .btn { padding: 0 18px; height: 46px; }
  .sec { margin-top: 70px; } .how { grid-template-columns: 1fr; } .how > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .pgrid { gap: 10px; } .pgrid .ban { height: 58px; } .pgrid .av { width: 50px; height: 50px; margin-top: -27px; } .pgrid .meta span:first-child { display: none; }
  .cgrid { grid-template-columns: 1fr 1fr; gap: 10px; } .coin .nu { flex-direction: column; } .bar h1 { font-size: 28px; } .seg { width: 100%; } .seg button { flex: 1; padding: 0 6px; }
  .lform { margin-top: 16px; } .lform .l, .lform .r { padding: 22px 18px; } .two { grid-template-columns: 1fr; gap: 0; } .nums { grid-template-columns: 1fr 1fr; } .chartw { height: 420px; } .prof .ban { height: 130px; } .prof .av { width: 92px; height: 92px; margin-top: -48px; } .prof .in2 { padding: 0 18px 20px; } .doc h1 { font-size: 31px; } .chead > img { width: 72px; height: 72px; } .chead h1 { font-size: 23px; } }
@keyframes rund { 0% { transform: translateY(0); opacity: 0; } 15%, 85% { opacity: 1; } 100% { transform: translateY(26px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01s !important; animation-iteration-count: 1 !important; transition-duration: .01s !important; } .wire i { display: none; } }
@media (max-width: 820px) { .askmsg { min-height: 0; } }
