/* Copia — port of the Tickr template (Framer). Tokens are the template's own, dark by default, light via the toggle. */
:root, [data-theme="dark"] {
  --bg: #08080a; --panel: #0a0a0b; --surface: #141416; --raise: #1b1b1f;
  --text: #fff; --muted: #8b8b93; --dim: #5a5a62;
  --accent: #e5484d; --up: #16c784; --down: #ea3943; --amber: #f5a623; --blue: #4d9bff; --violet: #b57bff; --cyan: #00c2c7;
  --line: rgba(255, 255, 255, .09); --line2: rgba(255, 255, 255, .16);
  --shadow: 0 8px 24px rgba(0, 0, 0, .45);
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #f6f6f8; --panel: #fff; --surface: #f0f0f3; --raise: #e7e7ec;
  --text: #0b0b0d; --muted: #61616c; --dim: #96969f;
  --up: #0e9f6e; --down: #d22d38; --amber: #c97a00; --blue: #2563eb; --violet: #7c3aed;
  --line: rgba(0, 0, 0, .1); --line2: rgba(0, 0, 0, .2);
  --shadow: 0 8px 24px rgba(0, 0, 0, .12);
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); }
body { background: var(--bg); color: var(--text); font-family: Satoshi, "Helvetica Neue", Arial, sans-serif; font-size: 13px; line-height: 1.3; letter-spacing: -.01em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; color: inherit; background: none; border: 0; outline: 0; }
.num { font-variant-numeric: tabular-nums; }
.up { color: var(--up); } .down { color: var(--down); } .mut { color: var(--muted); }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------- nav */
.nav { position: sticky; top: 0; z-index: 50; height: 68px; padding: 0 32px; background: color-mix(in srgb, var(--panel) 92%, transparent); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); display: flex; justify-content: center; }
.nav-in { width: 100%; max-width: 1200px; display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.brand { display: flex; align-items: center; gap: 9px; }
.brand svg { width: auto; height: 22px; flex: none; }
.brand b { font-size: 16px; font-weight: 700; letter-spacing: .22em; line-height: 1.2; color: var(--text); }
.links { display: flex; gap: 30px; }
.links a, .nav .signin { font-size: 12px; font-weight: 500; line-height: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); transition: color .18s ease; }
.links a:hover, .links a.on, .nav .signin:hover { color: var(--text); }
.actions { display: flex; align-items: center; gap: 18px; }
.cmdk { display: flex; align-items: center; gap: 9px; height: 36px; padding: 8px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-size: 12px; transition: border-color .18s; }
.cmdk:hover { border-color: var(--line2); }
.cmdk svg { width: 13px; height: 13px; }
.cmdk kbd { font: 600 10px Satoshi, sans-serif; border: 1px solid var(--line); border-radius: 5px; padding: 2px 5px; }
.theme { width: 29px; height: 29px; padding: 6px; border-radius: 9px; color: var(--muted); display: grid; place-items: center; transition: color .18s, background .18s; }
.theme:hover { color: var(--text); background: var(--surface); }
.theme svg { width: 17px; height: 17px; }
.btn-red { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 34px; padding: 10px 20px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 0 0 0 rgba(229, 72, 77, 0); transition: box-shadow .25s var(--ease), transform .25s var(--ease), filter .2s; }
.btn-red:hover { box-shadow: 0 6px 22px rgba(229, 72, 77, .35); transform: translateY(-1px); filter: brightness(1.06); }
.burger { display: none; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); place-items: center; }
.burger i { display: block; width: 14px; height: 1.5px; background: var(--text); box-shadow: 0 -4px 0 var(--text), 0 4px 0 var(--text); }
.mnav { position: fixed; inset: 68px 0 auto; z-index: 49; background: var(--panel); border-bottom: 1px solid var(--line); padding: 10px 20px 22px; display: none; flex-direction: column; }
.mnav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.mnav a.on { color: var(--text); }
.mnav .btn-red { margin-top: 18px; height: 44px; }
body.mopen .mnav { display: flex; }

/* ---------------------------------------------------------------- boot screen */
.boot { position: fixed; inset: 0; z-index: 100000; background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--text); transition: opacity .75s var(--ease), transform .75s var(--ease), filter .75s var(--ease); }
.boot.out { opacity: 0; transform: scale(1.06); filter: blur(14px); pointer-events: none; }
.boot .halo { position: absolute; width: 720px; height: 720px; border-radius: 50%; background: radial-gradient(circle, rgba(229, 72, 77, .13) 0%, transparent 62%); pointer-events: none; animation: halo 4s ease-in-out infinite; }
@keyframes halo { 0%, 100% { opacity: .35 } 50% { opacity: .6 } }
.boot .stage { perspective: 1100px; perspective-origin: 50% 45%; width: 100%; height: 390px; display: flex; align-items: center; justify-content: center; }
.boot .ring { position: relative; transform-style: preserve-3d; width: 1px; height: 1px; transform: rotateX(-16deg); animation: ring 14s linear infinite; }
@keyframes ring { from { transform: rotateX(-16deg) rotateY(0) } to { transform: rotateX(-16deg) rotateY(360deg) } }
.boot .c { position: absolute; left: -5px; width: 10px; transform-style: preserve-3d; }
.boot .c .w { position: absolute; left: 4px; width: 2px; opacity: .5; }
.boot .c .b { position: absolute; inset: 0; border-radius: 2px; animation: cbeat 3.2s ease-in-out infinite; }
@keyframes cbeat { 0% { transform: scaleY(.35) } 33% { transform: scaleY(1) } 66% { transform: scaleY(.55) } 100% { transform: scaleY(1) } }
.boot .c .r { position: absolute; left: 0; width: 10px; transform: scaleY(-1); border-radius: 2px; }
.boot .id { display: flex; flex-direction: column; align-items: center; gap: 14px; z-index: 1; opacity: 0; transform: translateY(14px); animation: bootin .6s .15s forwards; }
@keyframes bootin { to { opacity: 1; transform: none } }
.boot .lock { display: flex; align-items: center; gap: 10px; }
.boot .lock svg { width: auto; height: 24px; animation: blinkmark 1.6s infinite; }
@keyframes blinkmark { 0%, 100% { opacity: 1 } 50% { opacity: .4 } }
.boot .lock b { font-size: 22px; font-weight: 700; letter-spacing: .3em; }
.boot .tag { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.boot .bar { width: 260px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; margin-top: 6px; }
.boot .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--up)); transition: width .4s var(--ease); }
.boot .st { display: flex; justify-content: space-between; width: 260px; font-size: 10px; letter-spacing: .08em; color: var(--muted); font-variant-numeric: tabular-nums; }
.boot .st b { color: var(--text); font-weight: 400; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; display: flex; justify-content: center; padding-top: 86px; min-height: 746px; overflow: hidden; }
.hero .field { position: absolute; inset: 0; opacity: .45; pointer-events: none; }
.hero .field canvas { width: 100%; height: 100%; display: block; }
.hero .rule { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(229, 72, 77, .55) 22%, rgba(22, 199, 132, .45) 62%, rgba(255, 255, 255, 0) 100%); }
.hero-in { position: relative; z-index: 1; width: 100%; display: flex; }
.hero-copy { width: 547px; flex: none; padding: 0 30px 96px 56px; display: flex; flex-direction: column; gap: 30px; }
.status { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; height: 27px; padding: 7px 13px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 11px; font-weight: 600; line-height: 11px; letter-spacing: .06em; }
.status .dot { position: relative; width: 7px; height: 7px; border-radius: 7px; background: var(--up); }
.status .dot::after { content: ""; position: absolute; inset: 0; border-radius: 7px; background: inherit; animation: ping 2s ease-out infinite; }
.status.off .dot { background: var(--amber); }
@keyframes ping { from { transform: scale(1); opacity: .55 } to { transform: scale(2.4); opacity: 0 } }
.htype { container-type: inline-size; font-size: clamp(40px, 12.5cqw, 96px); font-weight: 700; letter-spacing: -.045em; line-height: .94; }
.htype > div { font-size: clamp(40px, 12.5cqw, 96px); }
.htype .ln { overflow: hidden; padding-bottom: .17em; margin-bottom: -.17em; }
.htype .ln > div { white-space: nowrap; will-change: transform, filter; transform: translateY(118%); opacity: 0; filter: blur(10px); transition: transform .85s var(--ease), opacity .85s var(--ease), filter .85s var(--ease); }
.htype.in .ln > div { transform: none; opacity: 1; filter: blur(0); }
.htype .ln span { color: var(--accent); }
.sub { font-size: 15px; line-height: 1.55; letter-spacing: -.01em; color: var(--muted); max-width: 461px; }
.search { display: flex; flex-direction: column; gap: 14px; }
.sbox { display: flex; align-items: center; gap: 8px; height: 51px; padding: 6px 6px 6px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.sbox:focus-within { border-color: var(--line2); box-shadow: 0 0 0 4px rgba(229, 72, 77, .08); }
.sbox svg { width: 16px; height: 16px; color: var(--muted); flex: none; }
.sbox input { flex: 1; min-width: 0; padding: 10px 0; font-size: 14px; }
.sbox input::placeholder { color: var(--muted); }
.sbox button { width: 43px; height: 35px; border-radius: 8px; background: var(--accent); color: #fff; display: grid; place-items: center; transition: filter .2s, transform .2s; }
.sbox button:hover { filter: brightness(1.08); }
.sbox button svg { color: #fff; width: 15px; height: 15px; }
.popular { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.popular > span { font-size: 12px; font-weight: 500; color: var(--muted); }
.chip { height: 29px; padding: 6px 12px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); font-size: 12px; font-weight: 600; transition: border-color .18s, background .18s; }
.chip:hover, .chip.on { border-color: var(--line2); background: var(--raise); }
.hero-panel { flex: 1; min-width: 0; padding: 4px 30px 88px 0; }

/* quote panel */
.quote { position: relative; display: flex; flex-direction: column; gap: 26px; }
.quote .amb { position: absolute; left: -14%; top: -24%; width: 130%; height: 150%; border-radius: 50%; pointer-events: none; z-index: 0; opacity: 0; }
.quote .amb.go { animation: amb 1.1s var(--ease) forwards; }
@keyframes amb { 0% { opacity: 0 } 60% { opacity: .85 } 100% { opacity: .42 } }
.qhead { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; z-index: 1; }
.qid { display: flex; align-items: center; gap: 14px; }
.qav { width: 52px; height: 52px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; font-size: 17px; font-weight: 700; letter-spacing: -.02em; flex: none; overflow: hidden; }
.qname { display: flex; flex-direction: column; gap: 5px; }
.qname .t { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.qname .t b { font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.qname .t span { color: var(--muted); font-size: 14px; }
.qname .m { display: flex; align-items: center; gap: 7px; }
.qname .m i { width: 6px; height: 6px; border-radius: 6px; background: var(--up); display: block; animation: breathe 2s ease-in-out infinite; }
.qname .m i.idle { background: var(--muted); animation: none; }
@keyframes breathe { 0%, 100% { opacity: 1 } 50% { opacity: .25 } }
.qname .m span { color: var(--muted); font-size: 10px; letter-spacing: .07em; }
.tagbox { font-size: 9px; letter-spacing: .08em; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 2px 5px; line-height: 1; }
.tabs { position: relative; display: flex; gap: 2px; padding: 4px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); flex-wrap: wrap; }
.tabs button { position: relative; z-index: 1; padding: 6px 11px; border-radius: 7px; font-size: 12px; font-weight: 600; color: var(--muted); transition: color .18s ease; }
.tabs button.on { color: var(--text); }
.tabs .pill { position: absolute; z-index: 0; top: 4px; height: calc(100% - 8px); border-radius: 7px; background: var(--panel); transition: left .45s cubic-bezier(.2, 1.1, .3, 1), width .45s cubic-bezier(.2, 1.1, .3, 1); }
.qprice { display: flex; flex-direction: column; gap: 8px; z-index: 1; }
.qprice .p { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.qprice .big { font-size: clamp(64px, 7.4vw, 132px); font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; border-radius: 10px; padding: 0 6px; margin: 0 -6px; transition: background-color .45s, opacity .5s, transform .5s, filter .5s; }
.qprice .big.flash-up { background-color: rgba(22, 199, 132, .14); } .qprice .big.flash-down { background-color: rgba(234, 57, 67, .14); }
.qprice .big.exit { opacity: .28; transform: translateY(10px); filter: blur(6px); transition-duration: .45s, .18s, .18s, .18s; }
.qprice .cur { color: var(--muted); font-size: 14px; }
.qprice .chg { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.qprice .chg svg { width: 14px; height: 14px; transition: transform .45s cubic-bezier(.2, 1.1, .3, 1); }
.qprice .chg.neg svg { transform: rotate(90deg); }
.qchart { position: relative; flex: 1; min-height: 150px; cursor: crosshair; touch-action: pan-y; z-index: 1; }
.qchart svg.plot { width: 100%; height: 224px; display: block; overflow: visible; }
.qchart .live { position: absolute; right: -3px; transform: translateY(-50%); pointer-events: none; }
.qchart .live i { position: relative; display: block; width: 8px; height: 8px; border-radius: 8px; }
.qchart .live i::after { content: ""; position: absolute; inset: 0; border-radius: 8px; background: inherit; animation: ping2 1.8s ease-out infinite; }
@keyframes ping2 { from { transform: scale(1); opacity: .5 } to { transform: scale(2.6); opacity: 0 } }
.qchart .axis { display: flex; justify-content: space-between; margin-top: 8px; color: var(--muted); font-size: 11px; }
.qchart .tip { position: absolute; top: 0; height: 224px; pointer-events: none; display: none; }
.qchart .tip.on { display: block; }
.qchart .tip .dot { position: absolute; left: -5px; width: 10px; height: 10px; border-radius: 10px; border: 2px solid var(--bg); transform: translateY(-50%); }
.qchart .tip .box { position: absolute; top: -6px; background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 8px 11px; white-space: nowrap; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 3px; }
.qchart .tip .box b { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.qchart .tip .box span { font-size: 10px; color: var(--muted); letter-spacing: .04em; }
.qstats { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); border-top: 1px solid var(--line); z-index: 1; }
.qstats > div { padding: 16px 0 0; display: flex; flex-direction: column; gap: 6px; }
.qstats span { color: var(--muted); font-size: 10px; letter-spacing: .07em; white-space: nowrap; }
.qstats b { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* reveal helpers (driven by core.js) */
.rv { opacity: 0; transform: translateY(var(--ry, 14px)); transition: opacity var(--rd, .5s) var(--ease), transform var(--rd, .5s) var(--ease), filter var(--rd, .5s) var(--ease); transition-delay: var(--dl, 0s); }
.rv.blur { filter: blur(9px); }
.rv.in { opacity: 1; transform: none; filter: none; }
.skel { background: linear-gradient(90deg, var(--surface) 0%, var(--raise) 50%, var(--surface) 100%); background-size: 200% 100%; animation: skel 1.4s linear infinite; border-radius: 6px; }
@keyframes skel { from { background-position: 200% 0 } to { background-position: -200% 0 } }

/* ---------------------------------------------------------------- tape */
.tape { position: relative; height: 54px; background: var(--panel); overflow: hidden; border-bottom: 1px solid var(--line); }
.tape .lbl { position: absolute; right: 8px; top: 7px; font-size: 9px; letter-spacing: .08em; color: var(--muted); opacity: .6; z-index: 2; }
.tape .track { position: absolute; top: 0; left: 0; height: 100%; display: flex; align-items: center; will-change: transform; }
.tape .grp { display: flex; align-items: center; }
.tape .it { display: flex; align-items: center; gap: 8px; padding: 0 22px; font-size: 13px; font-weight: 600; letter-spacing: -.01em; line-height: 1; white-space: nowrap; cursor: pointer; border-right: 1px solid var(--line); transition: opacity .2s; }
.tape .it .s { color: var(--muted); }
.tape .it:hover .s { color: var(--text); }
.tape::before, .tape::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 1; pointer-events: none; }
.tape::before { left: 0; background: linear-gradient(90deg, var(--panel), transparent); }
.tape::after { right: 0; background: linear-gradient(-90deg, var(--panel), transparent); }

/* ---------------------------------------------------------------- shared section bits */
.glow { position: absolute; left: 0; right: 0; pointer-events: none; }
.h2 { font-size: 30px; font-weight: 700; letter-spacing: -.035em; line-height: 1.1; }
.lede { font-size: 13px; line-height: 1.55; color: var(--muted); }
.kick { font-size: 10px; letter-spacing: .09em; font-weight: 600; color: var(--muted); text-transform: uppercase; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.more { font-size: 10px; letter-spacing: .09em; font-weight: 600; color: var(--muted); text-transform: uppercase; transition: color .18s; }
.more:hover { color: var(--text); }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 13px; border-radius: 8px; border: 1px solid var(--line2); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; transition: background .18s, border-color .18s; }
.btn-ghost:hover { background: var(--surface); }
.btn-ghost svg { width: 12px; height: 12px; }

/* ---------------------------------------------------------------- footer */
.foot { background: var(--panel); padding: 64px 32px 40px; display: flex; justify-content: center; border-top: 1px solid var(--line); }
.foot-in { width: 100%; max-width: 1200px; display: flex; flex-direction: column; gap: 52px; }
.foot-top { display: flex; justify-content: space-between; gap: 40px; }
.foot-brand { display: flex; flex-direction: column; gap: 14px; max-width: 280px; }
.foot-brand p { font-size: 12px; line-height: 1.6; color: var(--muted); }
.foot-cols { display: flex; gap: 0; }
.foot-cols > div { width: 180px; display: flex; flex-direction: column; gap: 12px; }
.foot-cols h4 { font-size: 10px; font-weight: 600; letter-spacing: .09em; color: var(--muted); text-transform: uppercase; margin-bottom: 4px; }
.foot-cols a { font-size: 12px; color: var(--text); opacity: .86; transition: opacity .18s; }
.foot-cols a:hover { opacity: 1; }
.foot-bot { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); }

/* ---------------------------------------------------------------- palette (⌘K) */
.pal { position: fixed; inset: 0; z-index: 2000; background: rgba(0, 0, 0, .55); backdrop-filter: blur(6px); display: none; align-items: flex-start; justify-content: center; padding-top: 14vh; }
.pal.on { display: flex; }
.pal .box { width: min(560px, calc(100vw - 32px)); background: var(--panel); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); overflow: hidden; animation: palin .16s var(--ease); }
@keyframes palin { from { opacity: 0; transform: translateY(-5px) scale(.97) } }
.pal .in { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.pal .in svg { width: 16px; height: 16px; color: var(--muted); }
.pal .in input { flex: 1; font-size: 15px; }
.pal .res { max-height: 340px; overflow: auto; padding: 6px; }
.pal .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; cursor: pointer; }
.pal .row.on, .pal .row:hover { background: var(--surface); }
.pal .row b { font-size: 13px; }
.pal .row span { font-size: 11px; color: var(--muted); }

@media (max-width: 1100px) {
  .links { gap: 20px; }
  .hero-in { flex-direction: column; }
  .hero-copy { width: 100%; padding: 0 32px 40px; }
  .hero-panel { padding: 0 32px 64px; }
}
@media (max-width: 809px) {
  .nav { padding: 0 16px; }
  .links, .cmdk, .nav .signin, .theme, .nav .btn-red { display: none; }
  .burger { display: grid; }
  .hero { padding-top: 40px; }
  .hero-copy { padding: 0 16px 32px; gap: 22px; }
  .hero-panel { padding: 0 16px 48px; }
  .qstats { grid-template-columns: repeat(2, 1fr); }
  .foot { padding: 48px 16px 32px; }
  .foot-top { flex-direction: column; }
  .foot-cols { flex-wrap: wrap; gap: 28px 0; }
  .foot-cols > div { width: 50%; }
  .foot-bot { flex-direction: column; }
}

/* section appear (Framer preset: opacity 0, y 26 → spring 0.7 s, bounce .15, threshold .12) */
.ap { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.34, 1.25, .64, 1); }
.ap.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- architecture (one wallet → everything follows) */
.arch { position: relative; display: flex; justify-content: center; padding: 96px 0; overflow: hidden; }
.arch .glow { top: 0; height: 560px; background: radial-gradient(50% 50% at 50% 18%, rgba(229, 72, 77, .16) 0%, rgba(229, 72, 77, .04) 38%, rgba(0, 0, 0, 0) 66%); }
.arch-in { position: relative; width: 100%; padding: 0 56px; display: flex; flex-direction: column; align-items: center; gap: 34px; }
.arch .head { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; max-width: 720px; }
.arch .head h2 { font-size: 42px; font-weight: 700; letter-spacing: -.035em; line-height: 1.08; }
.arch .head p { font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 560px; }
.arch .inbox { display: flex; align-items: center; justify-content: center; gap: 12px; min-width: 260px; padding: 14px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 0 0 6px rgba(229, 72, 77, .07); z-index: 2; }
.arch .inbox small { font-size: 10px; letter-spacing: .09em; color: var(--muted); }
.arch .inbox b { font-size: 24px; font-weight: 700; letter-spacing: .02em; min-width: 84px; font-variant-numeric: tabular-nums; }
.arch .inbox i { display: inline-block; width: 2px; height: 22px; background: var(--accent); margin-left: 3px; vertical-align: middle; animation: caret 1s infinite; }
@keyframes caret { 0%, 100% { opacity: 1 } 50% { opacity: 0 } }
.arch .wires { position: relative; width: 100%; height: 46px; margin: -26px 0; pointer-events: none; }
.arch .wires svg { width: 100%; height: 46px; display: block; }
.arch .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; width: 100%; }
.arch .tile { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; min-width: 0; overflow: hidden; }
.arch .tile .th { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.arch .tile .th span { font-size: 10px; letter-spacing: .08em; font-weight: 600; color: var(--muted); }
.arch .tile .th b { font-size: 11px; font-weight: 700; color: var(--accent); letter-spacing: .03em; transition: opacity .42s var(--ease), transform .42s var(--ease), filter .42s var(--ease); }
.arch .tile .th b.swap { opacity: 0; transform: translateY(-8px); filter: blur(5px); transition: none; }
.arch .tile .bd { height: 54px; }
.arch .q { display: flex; flex-direction: column; gap: 5px; }
.arch .q b { font-size: 21px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.arch .q span { font-size: 11px; font-weight: 600; }
.arch .bars, .arch .cand { display: flex; align-items: flex-end; gap: 5px; height: 54px; }
.arch .cand { align-items: center; }
.arch .bars i, .arch .cand i { flex: 1; border-radius: 3px; display: block; transition: height .5s cubic-bezier(.3, 1.3, .5, 1), transform .4s var(--ease), opacity .4s var(--ease); }
.arch .cand i { border-radius: 2px; }
.arch .rows { display: flex; flex-direction: column; gap: 8px; height: 54px; justify-content: center; }
.arch .rows div { display: flex; align-items: center; gap: 8px; }
.arch .rows i { height: 5px; border-radius: 5px; background: var(--muted); opacity: .5; transition: width .5s cubic-bezier(.3, 1.3, .5, 1); }
.arch .rows em { width: 5px; height: 5px; border-radius: 5px; flex: none; }
@media (max-width: 809px) { .arch { padding: 64px 0; } .arch-in { padding: 0 16px; } .arch .head h2 { font-size: 30px; } .arch .grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------------------------------------------------------------- brief (featured trader + live buys) */
.brief { position: relative; padding: 0 0 72px; }
.brief .bh { padding: 0 56px 30px; display: flex; flex-direction: column; gap: 8px; }
.brief .bh h2, .feat h2 { font-size: 28px; font-weight: 600; letter-spacing: -.03em; line-height: 1.15; }
.brief .bh p, .feat p { font-size: 13px; font-weight: 500; line-height: 1.45; color: var(--muted); max-width: 620px; }
.brief-in { display: flex; padding: 0 56px; }
.feat { width: 756px; flex: none; padding-right: 48px; }
.feat .media { height: 200px; border-radius: 10px; overflow: hidden; background: #050506; position: relative; }
.feat .media svg { width: 100%; height: 100%; display: block; }
.feat .body { padding-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.lab { display: flex; align-items: center; gap: 7px; font-size: 10px; font-weight: 600; line-height: 12px; letter-spacing: .09em; color: var(--muted); text-transform: uppercase; }
.lab i { width: 6px; height: 6px; border-radius: 100px; background: var(--up); display: block; }
.metrics { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.metric { padding: 14px 0; display: flex; flex-direction: column; gap: 9px; border-bottom: 1px solid var(--line); }
.metric span { font-size: 10px; font-weight: 600; line-height: 12px; letter-spacing: .09em; color: var(--muted); text-transform: uppercase; }
.metric b { font-size: 22px; font-weight: 600; line-height: 1.1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.metric em { font-style: normal; font-size: 12px; font-weight: 600; }
.feat .cta { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 11px 18px; border-radius: 9px; border: 1px solid var(--line2); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; transition: background .18s; }
.feat .cta:hover { background: var(--surface); }
.feat .cta svg { width: 12px; height: 12px; }
.news { flex: 1; min-width: 0; padding-left: 48px; border-left: 1px solid var(--line); align-self: flex-start; }
.news .nh { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; }
.news .nh h3 { display: flex; align-items: center; gap: 7px; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.news .nh h3 i { width: 6px; height: 6px; border-radius: 100px; background: var(--accent); display: block; }
.art { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); transition: opacity .2s; }
.art:hover { opacity: .8; }
.art .th { width: 62px; height: 46px; border-radius: 8px; overflow: hidden; flex: none; background: var(--surface); display: grid; place-items: center; }
.art .th img { width: 100%; height: 100%; object-fit: cover; }
.art .th svg { width: 26px; height: 26px; }
.art .tx { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.art .tx b { font-size: 13px; font-weight: 600; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.art .tx span { font-size: 10px; font-weight: 600; letter-spacing: .09em; color: var(--muted); text-transform: uppercase; }
.art.new { animation: artin .6s var(--ease); }
@keyframes artin { from { opacity: 0; transform: translateY(-8px) } }

/* ---------------------------------------------------------------- movers (top traders) */
.movers { padding: 16px 32px 56px; display: flex; justify-content: center; }
.movers-in { width: 100%; max-width: 1200px; display: flex; flex-direction: column; gap: 22px; }
.shead { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.shead > div { display: flex; flex-direction: column; gap: 7px; }
.shead h2 { font-size: 42px; font-weight: 700; letter-spacing: -.035em; line-height: 1.05; }
.shead p { font-size: 13px; font-weight: 500; line-height: 1.45; color: var(--muted); }
.mgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; perspective: 900px; }
.mcard { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; min-width: 0; cursor: pointer; transform-style: preserve-3d; transition: transform .35s cubic-bezier(.2, 1.1, .3, 1), border-color .25s, opacity .5s var(--ease); transition-delay: 0s, 0s, var(--dl, 0s); }
.mcard .t { display: flex; flex-direction: column; gap: 3px; }
.mcard .t b { font-size: 15px; font-weight: 700; letter-spacing: -.02em; }
.mcard .t span { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mcard .v { display: flex; flex-direction: column; gap: 4px; transform: translateZ(26px); }
.mcard .v b { font-size: 22px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.mcard .v span { font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.mcard svg { width: 100%; height: 48px; display: block; opacity: .86; transition: height .45s cubic-bezier(.2, 1.1, .3, 1), opacity .45s; }
.mcard:hover svg { height: 78px; opacity: 1; }
.mcard .glare { position: absolute; inset: 1px; border-radius: 14px; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(340px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .13), rgba(0, 0, 0, 0) 60%); }
.mcard:hover .glare { opacity: 1; }

/* ---------------------------------------------------------------- diverge */
.ring { position: relative; padding: 88px 0 96px; overflow: hidden; }
.ring .glow { top: 40px; height: 520px; background: radial-gradient(50% 50% at 50% 45%, rgba(229, 72, 77, .16) 0%, rgba(229, 72, 77, .04) 40%, rgba(0, 0, 0, 0) 68%); }
.ring .rh { position: relative; padding: 0 56px 34px; display: flex; flex-direction: column; gap: 10px; }
.ring .rh h2 { font-size: 28px; font-weight: 600; letter-spacing: -.03em; }
.ring .rh p { font-size: 15px; line-height: 1.55; color: var(--muted); max-width: 520px; }
.dep { position: relative; height: 500px; display: flex; flex-direction: column; gap: 18px; padding: 0 clamp(16px, 4vw, 48px); }
.dep .chips { display: flex; flex-wrap: wrap; gap: 10px; z-index: 3; }
.dep .chips button { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 8px 12px; transition: opacity .2s, border-color .2s; }
.dep .chips i { width: 10px; height: 3px; border-radius: 3px; display: block; }
.dep .chips b { font-size: 12px; font-weight: 700; }
.dep .chips span { font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.dep .stage { position: relative; flex: 1; min-height: 260px; perspective: 1700px; perspective-origin: 50% 50%; }
.dep .tilt { position: absolute; inset: 0 12% 0 0; transform-style: preserve-3d; }
.dep .spin { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .6s cubic-bezier(.2, 1, .3, 1); }
.dep .plane { position: absolute; inset: 0; cursor: pointer; transition: opacity .25s; }
.dep .plane svg { width: 100%; height: 100%; display: block; overflow: visible; }
.dep .note { font-size: 10px; letter-spacing: .06em; color: var(--muted); }

/* ---------------------------------------------------------------- analysis (copy replay) */
.anal { padding: 16px 32px 88px; display: flex; justify-content: center; }
.anal-in { width: 100%; max-width: 1200px; display: flex; flex-direction: column; gap: 22px; }
.anal .shead p { font-size: 15px; font-weight: 400; line-height: 1.55; max-width: 620px; }
.win { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.win .top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.win .ttl { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.win .ttl b { font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.win .ttl .vs { font-size: 13px; font-weight: 700; color: var(--violet); }
.win .ttl span { font-size: 12px; font-weight: 500; color: var(--muted); }
.win .ttl em { font-style: normal; font-size: 12px; font-weight: 700; }
.win .leg { display: flex; gap: 12px; }
.win .leg div { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 500; color: var(--muted); }
.win .leg i { width: 12px; height: 2px; border-radius: 2px; display: block; }
.win .ctl { display: flex; gap: 14px; flex-wrap: wrap; padding-bottom: 2px; }
.win .ctl > div { display: flex; gap: 4px; flex-wrap: wrap; }
.seg { height: 24px; padding: 5px 9px; border-radius: 7px; border: 1px solid var(--line); font-size: 10px; font-weight: 600; letter-spacing: .04em; color: var(--muted); transition: background .18s, color .18s, border-color .18s; }
.seg:hover { color: var(--text); }
.seg.on { background: var(--text); color: var(--panel); border-color: transparent; }
.panes { display: flex; flex-direction: column; gap: 14px; }
.pane .ph { display: flex; align-items: center; gap: 8px; height: 17px; }
.pane .ph span { font-size: 10px; font-weight: 500; letter-spacing: .07em; color: var(--muted); }
.pane .ph b { font-size: 11px; font-weight: 700; }
.pane svg { width: 100%; display: block; overflow: visible; }
.pane .box { background: var(--surface); border-radius: 8px; margin-top: 4px; }
.price svg { height: 222px; }
.vol svg { height: 70px; margin-top: 4px; }
.osc svg { height: 90px; }
.win .empty { height: 577px; display: grid; place-items: center; color: var(--muted); font-size: 13px; }

/* ---------------------------------------------------------------- CTA */
.cta { position: relative; padding: 96px 32px 104px; display: flex; justify-content: center; text-align: center; }
body { overflow-x: clip; }
.cta .glow { top: -160px; height: 640px; background: radial-gradient(50% 50% at 50% 30%, rgba(229, 72, 77, .3) 0%, rgba(229, 72, 77, .08) 34%, rgba(0, 0, 0, 0) 62%); }
.cta-in { position: relative; width: 820px; max-width: 100%; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.cta h2 { font-size: 42px; font-weight: 700; letter-spacing: -.035em; line-height: 1.05; }
.cta h2 span { background: linear-gradient(175deg, var(--text) 0%, var(--text) 45%, color-mix(in srgb, var(--text) 55%, transparent) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 5px; }
.cta p { font-size: 15px; line-height: 1.55; color: var(--muted); max-width: 620px; }
.cta .bt { display: flex; gap: 12px; padding-top: 8px; flex-wrap: wrap; justify-content: center; }
.cta .b1 { display: inline-flex; align-items: center; height: 44px; padding: 14px 26px; border-radius: 11px; background: linear-gradient(#f05a5f 0%, #ce3a3f 100%); box-shadow: 0 10px 34px rgba(229, 72, 77, .34); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .04em; transition: transform .25s var(--ease), box-shadow .25s; }
.cta .b1:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(229, 72, 77, .45); }
.cta .b2 { display: inline-flex; align-items: center; height: 44px; padding: 14px 24px; border-radius: 11px; font-size: 13px; font-weight: 600; letter-spacing: .04em; transition: background .2s; }
.cta .b2:hover { background: var(--surface); }

@media (max-width: 1100px) {
  .brief-in { flex-direction: column; gap: 40px; }
  .feat { width: 100%; padding-right: 0; }
  .news { padding-left: 0; border-left: 0; width: 100%; }
  .mgrid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 809px) {
  .brief .bh, .brief-in { padding-left: 16px; padding-right: 16px; }
  .movers, .anal { padding-left: 16px; padding-right: 16px; }
  .mgrid { grid-template-columns: 1fr; }
  .shead h2, .cta h2 { font-size: 32px; }
  .ring .rh { padding: 0 16px 24px; }
  .dep { height: 380px; }
  .metrics { grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .win { padding: 14px; }
  .cta { padding: 72px 16px 80px; }
}

/* ---------------------------------------------------------------- inner pages: head, sections */
.phead { position: relative; padding: 76px 0 34px; overflow: hidden; }
.phead .aur { position: absolute; left: -10%; top: -260px; width: 900px; height: 720px; background: radial-gradient(50% 50% at 40% 50%, rgba(229, 72, 77, .14), rgba(229, 72, 77, 0) 70%); pointer-events: none; }
.phead-in { position: relative; padding: 0 56px; display: flex; flex-direction: column; gap: 14px; }
.phead h1 { font-size: 42px; font-weight: 700; letter-spacing: -.035em; line-height: 1.05; }
.phead p { font-size: 15px; line-height: 1.55; color: var(--muted); max-width: 640px; }
.phead .rule { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(229, 72, 77, .55) 22%, rgba(22, 199, 132, .45) 62%, rgba(255, 255, 255, 0) 100%); }
.sec { padding: 30px 0 18px; border-top: 1px solid var(--line); }
.sec:first-of-type { border-top: 0; }
.sec-in { padding: 26px 56px 0; display: flex; flex-direction: column; gap: 20px; }
.sec h2 { font-size: 28px; font-weight: 600; letter-spacing: -.03em; line-height: 1.15; }
.sec .sub2 { font-size: 13px; font-weight: 500; color: var(--muted); margin-top: -12px; }
.g4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; perspective: 900px; }
.g5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; perspective: 900px; }
.mcard.static { cursor: default; }
.livebadge { display: inline-flex; align-items: center; gap: 7px; font-size: 10px; font-weight: 600; letter-spacing: .09em; color: var(--muted); }
.livebadge i { width: 7px; height: 7px; border-radius: 7px; background: var(--up); position: relative; }
.livebadge i::after { content: ""; position: absolute; inset: 0; border-radius: 7px; background: inherit; animation: ping 2s ease-out infinite; }

/* heatmap */
.heat { position: relative; height: 460px; }
.heat .tile { position: absolute; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .06); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; overflow: hidden; cursor: pointer; transition: filter .2s, transform .25s var(--ease), opacity .5s var(--ease); text-align: center; padding: 4px; }
.heat .tile:hover { filter: brightness(1.18); transform: scale(1.01); z-index: 2; }
.heat .tile b { font-weight: 700; letter-spacing: -.02em; line-height: 1; color: #fff; }
.heat .tile span { font-weight: 600; color: rgba(255, 255, 255, .85); font-variant-numeric: tabular-nums; }

/* coin cards */
.ccard { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; min-width: 0; transition: transform .3s var(--ease), border-color .25s; }
.ccard:hover { transform: translateY(-3px); border-color: var(--line2); }
.ccard .h { display: flex; align-items: center; gap: 10px; }
.ccard .h img, .ccard .h .ph { width: 22px; height: 22px; border-radius: 22px; object-fit: cover; background: var(--surface); flex: none; }
.ccard .h b { font-size: 14px; font-weight: 700; display: block; }
.ccard .h span { font-size: 10px; color: var(--muted); display: block; max-width: 160px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ccard .p { display: flex; align-items: baseline; justify-content: space-between; }
.ccard .p b { font-size: 20px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ccard .p span { font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ccard svg { width: 100%; height: 44px; display: block; }
.ccard .f { display: flex; justify-content: space-between; font-size: 9px; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }

/* table */
.tbl { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.tbl .scroll { overflow-x: auto; }
.tbl table { width: 100%; border-collapse: collapse; min-width: 980px; }
.tbl th { text-align: right; padding: 12px 18px; font-size: 10px; font-weight: 600; letter-spacing: .07em; color: var(--muted); background: var(--surface); white-space: nowrap; cursor: pointer; user-select: none; }
.tbl th:first-child, .tbl td:first-child, .tbl th:nth-child(2), .tbl td:nth-child(2) { text-align: left; }
.tbl th.on { color: var(--text); }
.tbl th i { font-style: normal; opacity: .6; margin-left: 4px; }
.tbl td { text-align: right; padding: 14px 18px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl tr { transition: background .15s; }
.tbl tbody tr:hover { background: color-mix(in srgb, var(--surface) 60%, transparent); }
.tbl td .w b { font-size: 14px; font-weight: 700; display: block; }
.tbl td .w span { font-size: 11px; color: var(--muted); display: block; margin-top: 2px; }
.tbl td.rk { color: var(--muted); width: 56px; }
.tbl .foot { padding: 10px 18px; border-top: 1px solid var(--line); font-size: 9px; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; display: flex; justify-content: space-between; gap: 12px; }
.copybtn { height: 28px; padding: 0 12px; border-radius: 8px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; transition: filter .2s; }
.copybtn:hover { filter: brightness(1.1); }
.tblbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tblbar .tabs { position: relative; }

@media (max-width: 1100px) { .g5 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 809px) {
  .phead { padding: 48px 0 26px; } .phead-in, .sec-in { padding-left: 16px; padding-right: 16px; } .phead h1 { font-size: 34px; }
  .g5, .g4 { grid-template-columns: 1fr; } .heat { height: 520px; }
}

/* ---------------------------------------------------------------- trader page */
.sbar { padding: 40px 56px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sbar .sbox { width: 470px; max-width: 100%; }
.sbar .right { display: flex; align-items: center; gap: 12px; }
.tq { position: relative; padding: 26px 56px 56px; overflow: hidden; }
.tq .glow { top: 0; height: 520px; background: radial-gradient(50% 50% at 50% 20%, rgba(229, 72, 77, .12), rgba(0, 0, 0, 0) 70%); }
.rules { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px; padding: 18px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.rules .f { display: flex; flex-direction: column; gap: 8px; }
.rules .f > span { font-size: 10px; font-weight: 600; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.rules .styles { display: flex; gap: 4px; flex-wrap: wrap; }
.rules input { width: 92px; height: 34px; padding: 0 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.rules input:disabled { opacity: .4; }
.rules .note { flex: 1; min-width: 220px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.btres { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 28px; }
.exits { display: flex; gap: 8px; flex-wrap: wrap; }
.exits span { font-size: 11px; font-weight: 600; padding: 5px 9px; border-radius: 7px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.exits b { color: var(--text); margin-left: 4px; }
.coinlist .art { border-top: 1px solid var(--line); }
.coinlist .art .r { margin-left: auto; text-align: right; display: flex; flex-direction: column; gap: 4px; }
.coinlist .art .r b { font-size: 13px; font-variant-numeric: tabular-nums; }
.coinlist .art .r span { font-size: 10px; color: var(--muted); letter-spacing: .06em; }
@media (max-width: 809px) { .sbar, .tq { padding-left: 16px; padding-right: 16px; } .btres { grid-template-columns: 1fr 1fr; } }

/* ---------------------------------------------------------------- copies (ex-watchlist) */
.phead.green .aur { background: radial-gradient(50% 50% at 40% 50%, rgba(22, 199, 132, .14), rgba(22, 199, 132, 0) 70%); }
.phead .search { max-width: 470px; margin-top: 8px; }
.acct { position: absolute; right: 56px; top: 80px; display: flex; align-items: center; gap: 10px; z-index: 2; }
.acct .who { height: 34px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.acct .who i { width: 7px; height: 7px; border-radius: 7px; background: var(--up); }
.modesw { position: relative; display: flex; padding: 3px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.modesw button { position: relative; z-index: 1; height: 28px; padding: 0 12px; border-radius: 7px; font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--muted); transition: color .2s; }
.modesw button.on { color: var(--text); }
.modesw button.on[data-m="live"] { color: #fff; }
.modesw .pill { position: absolute; z-index: 0; top: 3px; bottom: 3px; border-radius: 7px; background: var(--panel); transition: left .4s cubic-bezier(.2, 1.1, .3, 1), width .4s cubic-bezier(.2, 1.1, .3, 1), background .3s; }
.modesw.live .pill { background: var(--accent); }
.port { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.port .stats { display: flex; gap: 40px; padding: 18px 22px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.port .stats div { display: flex; flex-direction: column; gap: 6px; }
.port .stats span { font-size: 9px; font-weight: 600; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.port .stats b { font-size: 24px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.port .stats b em { font-style: normal; font-size: 12px; font-weight: 600; margin-left: 6px; letter-spacing: 0; }
.bars3d { height: 190px; display: flex; align-items: flex-end; justify-content: center; gap: 22px; padding: 20px 20px 34px; perspective: 900px; border-bottom: 1px solid var(--line); background: var(--surface); position: relative; }
.bars3d .empty { align-self: center; color: var(--muted); font-size: 12px; }
.b3 { position: relative; width: 38px; transform-style: preserve-3d; transform: rotateX(-12deg) rotateY(-24deg); height: 0; transition: height .8s cubic-bezier(.2, 1.1, .3, 1); }
.b3 .fr, .b3 .sd, .b3 .tp { position: absolute; }
.b3 .fr { inset: 0; border-radius: 2px; }
.b3 .sd { top: 0; bottom: 0; right: -14px; width: 14px; transform-origin: left; transform: rotateY(90deg); filter: brightness(.65); }
.b3 .tp { left: 0; right: 0; top: -14px; height: 14px; transform-origin: bottom; transform: rotateX(90deg); filter: brightness(1.25); }
.b3 small { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 9px; font-weight: 600; letter-spacing: .06em; color: var(--muted); }
.b3 .pc { top: -30px; color: var(--text); font-size: 10px; }
.b3 .nm { bottom: -22px; }
.wrow { display: flex; align-items: center; gap: 12px; padding: 14px 22px; border-bottom: 1px solid var(--line); flex-wrap: wrap; background: var(--surface); }
.wrow .addr { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line); background: var(--panel); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.wrow .addr button { color: var(--muted); font-size: 10px; letter-spacing: .08em; font-weight: 700; }
.wrow .addr button:hover { color: var(--text); }
.wrow .bal { font-size: 12px; color: var(--muted); }
.wrow .bal b { color: var(--text); }
.wrow .sp { flex: 1; }
.btn-line { height: 34px; padding: 0 14px; border-radius: 9px; border: 1px solid var(--line2); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; transition: background .18s; }
.btn-line:hover { background: var(--panel); }
.keybox { width: 100%; padding: 12px; border-radius: 9px; background: var(--panel); border: 1px solid var(--accent); font: 11px ui-monospace, monospace; word-break: break-all; color: var(--text); }
.port table, .flw table { width: 100%; border-collapse: collapse; }
.port th, .flw th { text-align: right; padding: 12px 22px; font-size: 10px; font-weight: 600; letter-spacing: .07em; color: var(--muted); white-space: nowrap; }
.port td, .flw td { text-align: right; padding: 14px 22px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.port th:first-child, .port td:first-child, .flw th:first-child, .flw td:first-child, .flw th:nth-child(2), .flw td:nth-child(2) { text-align: left; }
.port td .p, .flw td .p { display: flex; align-items: center; gap: 10px; }
.port td .p i { width: 3px; height: 28px; border-radius: 3px; display: block; }
.port td .p b, .flw td .p b { font-size: 14px; font-weight: 700; display: block; }
.port td .p span, .flw td .p span { font-size: 11px; color: var(--muted); display: block; margin-top: 2px; }
.xbtn { width: 26px; height: 26px; border-radius: 7px; color: var(--muted); font-size: 15px; transition: background .18s, color .18s; }
.xbtn:hover { background: var(--surface); color: var(--text); }
.sellbtn { height: 26px; padding: 0 10px; border-radius: 7px; border: 1px solid var(--line2); font-size: 10px; font-weight: 700; letter-spacing: .06em; }
.sellbtn:hover { background: var(--surface); }
.flw { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.flw .addbar { display: flex; gap: 8px; padding: 14px 22px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.flw .addbar input { width: 340px; max-width: 100%; height: 34px; padding: 0 12px; border-radius: 9px; background: var(--surface); border: 1px solid var(--line); font-size: 12px; }
.flw select, .flw .sz { height: 30px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); color: var(--text); font: 600 12px Satoshi, sans-serif; padding: 0 8px; }
.flw .sz { width: 70px; text-align: right; }
.tog { width: 34px; height: 20px; border-radius: 20px; background: var(--raise); position: relative; transition: background .2s; }
.tog::after { content: ""; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 14px; background: #fff; transition: transform .25s cubic-bezier(.2, 1.1, .3, 1); }
.tog.on { background: var(--up); }
.tog.on::after { transform: translateX(14px); }
.foot2 { padding: 10px 22px; border-top: 1px solid var(--line); font-size: 9px; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.log { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 8px 0; max-height: 560px; overflow: auto; }
.log .ln { display: grid; grid-template-columns: 80px 90px 1fr auto; gap: 14px; align-items: center; padding: 11px 22px; font-size: 12px; border-top: 1px solid var(--line); }
.log .ln:first-child { border-top: 0; }
.log .ln.new { animation: artin .6s var(--ease); }
.log .t { color: var(--dim); font-variant-numeric: tabular-nums; }
.log .v { font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.log .r { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.log .r b { color: var(--text); font-weight: 600; }
.log a { color: var(--muted); font-size: 10px; letter-spacing: .06em; }
.gate { padding: 36px 22px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.gate h3 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.gate p { font-size: 13px; color: var(--muted); max-width: 460px; line-height: 1.5; }
.wlist { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.wlist button { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border-radius: 11px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 600; transition: border-color .2s, transform .2s; }
.wlist button:hover { border-color: var(--line2); transform: translateY(-2px); }
.wlist img { width: 22px; height: 22px; border-radius: 6px; }
.err { color: var(--down); font-size: 12px; min-height: 16px; }
.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 3000; display: flex; flex-direction: column; gap: 8px; }
.toast { padding: 12px 16px; border-radius: 11px; background: var(--panel); border: 1px solid var(--line2); box-shadow: var(--shadow); font-size: 13px; animation: artin .4s var(--ease); max-width: 360px; }
.toast.ok { border-color: var(--up); } .toast.err { border-color: var(--down); }
@media (max-width: 809px) { .acct { position: static; padding: 0 16px; margin-top: -10px; } .port .stats { gap: 20px; } .log .ln { grid-template-columns: 60px 1fr; } .log .ln .r { grid-column: 1 / -1; white-space: normal; } .port, .flw { overflow-x: auto; } }

/* ---------------------------------------------------------------- inner prose pages */
.prose p, .prose li { font-size: 15px; line-height: 1.65; color: var(--muted); max-width: 720px; }
.prose ul { padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.prose a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.tokcard { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.tokcard .ca { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tokcard code { font: 600 14px ui-monospace, monospace; padding: 10px 14px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); word-break: break-all; }
.tokcard .big { font-size: 56px; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.carow[hidden] { display: none; }
.carow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 8px 8px 8px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.carow b { font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.carow code { font: 600 12px ui-monospace, monospace; color: var(--muted); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.carow button, .carow a { height: 28px; padding: 0 10px; border-radius: 7px; font-size: 10px; font-weight: 700; letter-spacing: .06em; display: inline-grid; place-items: center; }
.carow button { border: 1px solid var(--line2); } .carow a { background: var(--accent); color: #fff; }

/* coin logos (served by /api/img) */
.tape .it .tl { width: 18px; height: 18px; border-radius: 18px; object-fit: cover; flex: none; }
.art .th img.logo { width: 100%; height: 100%; object-fit: cover; }
.ccard .h img.logo { width: 22px; height: 22px; border-radius: 22px; object-fit: cover; flex: none; }
.qav { overflow: visible; position: relative; }
.qav img.qlogo { width: 44px; height: 44px; border-radius: 11px; object-fit: cover; }
.qav.stack { background: none; border: 0; width: auto; min-width: 52px; display: flex; align-items: center; }
.qav.stack img.qlogo { width: 40px; height: 40px; border-radius: 40px; border: 2px solid var(--bg); margin-left: -14px; }
.qav.stack img.qlogo:first-child { margin-left: 0; }
.qav svg { height: 26px; width: auto; }
img.plogo { width: 28px; height: 28px; border-radius: 28px; object-fit: cover; flex: none; }
.seg img.slogo { width: 14px; height: 14px; border-radius: 14px; object-fit: cover; vertical-align: -3px; margin-right: 5px; }

.wstack { display: inline-flex; align-items: center; vertical-align: middle; margin-right: 8px; }
.wstack img.wl { width: var(--s); height: var(--s); border-radius: 50%; object-fit: cover; border: 1.5px solid var(--panel); margin-left: calc(var(--s) * -0.35); background: var(--surface); }
.wstack img.wl:first-child { margin-left: 0; }
.chip .wstack { margin-right: 6px; }
.chip { display: inline-flex; align-items: center; }

/* sheet: Copia's own dialog (withdraw, confirmations) instead of the browser's prompt/confirm boxes */
.sheet-bg { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: rgba(4, 4, 6, .62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: sheetfade .22s var(--ease); }
.sheet { width: 100%; max-width: 420px; padding: 26px; border-radius: 20px; background: linear-gradient(180deg, var(--raise), var(--surface)); border: 1px solid var(--line2); box-shadow: 0 40px 120px rgba(0, 0, 0, .55); animation: sheetin .32s var(--ease); }
.sheet h3 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 6px; }
.sheet > p { color: var(--muted); font-size: 14px; line-height: 1.5; }
.sheet .route { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin: 20px 0 14px; }
.sheet .route div { padding: 12px 14px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.sheet .route small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.sheet .route b { font-size: 14px; font-weight: 600; }
.sheet .route i { color: var(--muted); font-style: normal; }
.sheet .amt { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 16px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line2); transition: border-color .18s; }
.sheet .amt:focus-within { border-color: var(--accent); }
.sheet .amt input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font: 600 26px Satoshi, sans-serif; letter-spacing: -.02em; font-feature-settings: "tnum" 1; }
.sheet .amt span { color: var(--muted); font-weight: 600; font-size: 14px; }
.sheet .amt button { height: 34px; padding: 0 12px; border-radius: 9px; background: var(--surface); border: 1px solid var(--line2); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.sheet .hint { margin-top: 10px; font-size: 12px; color: var(--muted); }
.sheet .hint.err { color: var(--down); }
.sheet .acts { display: flex; gap: 10px; margin-top: 22px; }
.sheet .acts button { flex: 1; height: 44px; font-size: 12px; }
.sheet .acts .btn-red[disabled] { opacity: .5; pointer-events: none; }
@keyframes sheetfade { from { opacity: 0; } }
@keyframes sheetin { from { opacity: 0; transform: translateY(14px) scale(.98); } }
