/* QDex · the quantum-sealed dex screener. Heaven's world (painterly grainy skies, a halo, lowercase voice, a
   condensed serif wordmark) recoloured lilac, pink and white. */
@font-face { font-family: 'Ysabeau Office'; src: url('/fonts/YsabeauOffice.woff2') format('woff2'); font-weight: 1 1000; font-display: swap; }
@font-face { font-family: 'Libre Caslon Condensed'; src: url('/fonts/LibreCaslonCondensed.woff2') format('woff2'); font-weight: 400 700; font-display: swap; }

:root {
  --ink: #231640; --ink-2: #554870; --ink-3: #6E6488; --ink-4: #9C93B2;
  --paper: #FFFFFF; --pearl: #FBF9FE; --mist: #F5F1FA; --haze: #EEE8F6;
  --line: #ECE6F3; --line-2: #DDD4EA;
  --violet: #6A4BD6; --violet-2: #8C72EA; --lilac: #CDBDF4; --pink: #DD5F9F; --blush: #F8DCEA;
  --up: #0E8A64; --dn: #C7365F;
  --sans: 'Ysabeau Office', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Libre Caslon Condensed', 'Iowan Old Style', 'Times New Roman', serif;
  --mono: ui-monospace, 'SF Mono', 'Cascadia Mono', Consolas, monospace;
  --r-sheet: 30px; --r-card: 20px; --r-in: 14px;
  --shadow: 0 1px 0 rgba(35, 22, 64, .04), 0 18px 48px -22px rgba(76, 52, 140, .30);
  --shadow-lift: 0 2px 0 rgba(35, 22, 64, .04), 0 26px 70px -28px rgba(76, 52, 140, .42);
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5  0 0 0 0 .5  0 0 0 0 .5  0 0 0 1.5 -.25'/></filter><rect width='240' height='240' filter='url(%23n)'/></svg>");
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scrollbar-color: var(--lilac) transparent; scroll-padding-top: 90px; }
html, body { margin: 0; }
body {
  font-family: var(--sans); font-weight: 470; font-size: 16px; line-height: 1.5; color: var(--ink);
  background: #EAD7E4 linear-gradient(180deg, #EDCDCA 0, #E3C3CF 520px, var(--pearl) 900px) no-repeat;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-feature-settings: 'lnum' 1, 'kern' 1;
  min-height: 100vh; overflow-x: hidden;
}
::selection { background: var(--lilac); color: var(--ink); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--lilac); border-radius: 10px; border: 3px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-track { background: transparent; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; border-radius: 6px; }
.num, td, .tab { font-variant-numeric: tabular-nums lining-nums; }
.ic { display: inline-grid; width: 1.1em; height: 1.1em; flex: none; vertical-align: -.16em; }
.ic svg { width: 100%; height: 100%; stroke-width: 1.8; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.up { color: var(--up); } .dn { color: var(--dn); }
[hidden] { display: none !important; }

/* ---------- the sky ---------- */
.sky { position: relative; isolation: isolate; overflow: hidden; background-size: cover; background-position: 50% 50%; }
.sky::before { content: ''; position: absolute; inset: 0; z-index: -2; background: inherit; background-image: var(--lq); background-size: cover; background-position: inherit; filter: blur(18px); transform: scale(1.1); }
.sky > .sky-img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); opacity: 0; transition: opacity .9s var(--ease); }
.sky > .sky-img.in { opacity: 1; }
.sky::after { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: var(--grain); opacity: .17; mix-blend-mode: overlay; }
.sky > * { position: relative; z-index: 1; }

/* ---------- top ---------- */
.top { display: flex; align-items: center; gap: 28px; height: 76px; padding: 0 max(24px, calc((100vw - 1440px) / 2 + 32px)); position: relative; z-index: 5; }
.brand { display: inline-flex; align-items: center; gap: 9px; font: 500 31px/1 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.brand svg { width: 38px; height: 38px; margin: -4px -2px -4px -4px; }
.nav { display: flex; gap: 4px; margin-right: auto; }
.nav a { padding: 8px 13px; border-radius: 999px; color: var(--ink-2); font-weight: 560; font-size: 15px; transition: background .2s, color .2s; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); background: rgba(255, 255, 255, .55); }
.top .find { display: none; }
.wbtn { display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 18px 0 15px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 620; font-size: 15px; box-shadow: 0 10px 24px -14px rgba(35, 22, 64, .7); transition: transform .2s var(--ease), background .2s; white-space: nowrap; }
.wbtn:hover { background: #33215A; transform: translateY(-1px); }
.wbtn img { width: 20px; height: 20px; border-radius: 6px; }
.wbtn.on { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.wbtn.on .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--up); }

/* ---------- hero ---------- */
.hero { min-height: min(740px, 92vh); padding-bottom: 150px; display: flex; flex-direction: column; }
.hero .in { flex: 1; display: grid; place-content: center; justify-items: center; text-align: center; padding: 40px 24px 0; }
.hero h1 { margin: 0; font-weight: 640; font-size: clamp(46px, 7.4vw, 112px); line-height: 1; letter-spacing: -.035em; color: var(--ink); max-width: 11.5em; text-wrap: balance; }
.hero p.lede { margin: 26px 0 0; max-width: 36em; font-size: clamp(17px, 1.45vw, 20.5px); line-height: 1.5; color: var(--ink-2); font-weight: 500; text-wrap: pretty; }
.strike { display: inline-flex; align-items: baseline; gap: .38em; padding: .05em .55em .12em; margin: 0 .1em; border-radius: 999px; background: rgba(255, 255, 255, .7); color: var(--ink); font-weight: 640; white-space: nowrap; }
.strike s { color: var(--ink-3); text-decoration: none; position: relative; font-weight: 560; }
.strike s::after { content: ''; position: absolute; left: -6%; right: -6%; top: 54%; height: 2px; border-radius: 2px; background: var(--pink); transform: rotate(-8deg); }
.strike b { color: var(--violet); font-weight: 760; }

.search { position: relative; width: min(680px, 100%); margin-top: 36px; z-index: 6; }
.search label { display: flex; align-items: center; gap: 14px; height: 66px; padding: 0 12px 0 24px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-lift); cursor: text; }
.search .ic { width: 22px; height: 22px; color: var(--ink-3); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 18px; font-weight: 520; height: 100%; }
.search input::placeholder { color: var(--ink-4); }
.search kbd { font: 600 13px var(--sans); color: var(--ink-3); border: 1px solid var(--line-2); border-radius: 8px; padding: 3px 9px; }
.sr { position: absolute; left: 0; right: 0; top: calc(100% + 10px); background: #fff; border-radius: 22px; box-shadow: var(--shadow-lift); padding: 8px; text-align: left; max-height: 420px; overflow: auto; }
.sr a { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; }
.sr a:hover, .sr a.k { background: var(--mist); }
.sr .t b { font-weight: 700; } .sr .t span { color: var(--ink-3); font-size: 14px; margin-left: 6px; }
.sr .r { text-align: right; font-size: 14px; color: var(--ink-2); }
.sr .r small { display: block; color: var(--ink-3); font-size: 12.5px; }
.sr .msg { padding: 14px 16px; color: var(--ink-3); }

/* coin avatars */
.av { width: 34px; height: 34px; border-radius: 50%; background: var(--haze) center/cover no-repeat; flex: none; position: relative; display: grid; place-items: center; font-weight: 700; font-size: 13px; color: var(--ink-2); overflow: hidden; }
.av img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

/* ---------- sheets ---------- */
.sheet { position: relative; z-index: 3; background: #fff; border-radius: var(--r-sheet) var(--r-sheet) 0 0; margin-top: -118px; box-shadow: 0 -24px 60px -34px rgba(76, 52, 140, .45); }
.wrap { width: min(1440px, 100%); margin: 0 auto; padding: 0 32px; }

/* ---------- board ---------- */
.bar { position: sticky; top: 0; z-index: 4; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 0 14px; background: #fff; border-radius: var(--r-sheet) var(--r-sheet) 0 0; }
.tabs { display: flex; gap: 4px; padding: 4px; background: var(--mist); border-radius: 999px; }
.tabs button { height: 36px; padding: 0 16px; border-radius: 999px; color: var(--ink-2); font-weight: 620; font-size: 15px; display: inline-flex; align-items: center; gap: 7px; transition: background .2s, color .2s; white-space: nowrap; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-pressed='true'] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(35, 22, 64, .08), 0 6px 14px -8px rgba(76, 52, 140, .4); }
.tabs.dur button { padding: 0 12px; font-size: 14px; }
.bar .grow { flex: 1; }
.sealbadge { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px 8px 10px; border-radius: 999px; background: var(--pearl); border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); font-weight: 540; transition: border-color .2s; }
.sealbadge:hover { border-color: var(--lilac); }
.sealbadge svg.halo { width: 26px; height: 26px; color: var(--violet); }
.sealbadge b { color: var(--ink); font-weight: 680; }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-3); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 0 rgba(14, 138, 100, .45); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(14, 138, 100, .4); } 70% { box-shadow: 0 0 0 8px rgba(14, 138, 100, 0); } 100% { box-shadow: 0 0 0 0 rgba(14, 138, 100, 0); } }

.tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.tbl th { position: sticky; top: 72px; z-index: 2; background: #fff; text-align: right; font-weight: 600; font-size: 13px; color: var(--ink-3); padding: 10px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; cursor: pointer; user-select: none; }
.tbl th:first-child, .tbl th.l { text-align: left; }
.tbl th[aria-sort] { color: var(--ink); }
.tbl th[aria-sort='descending']::after { content: ' ↓'; } .tbl th[aria-sort='ascending']::after { content: ' ↑'; }
.tbl td { padding: 0 10px; height: 62px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; font-weight: 540; transition: background .25s; }
.tbl tr { cursor: pointer; }
.tbl tbody tr:hover td { background: #FBF8FE; }
.tbl td.rk { text-align: left; width: 44px; color: var(--ink-4); font-weight: 600; font-size: 14px; }
.tbl td.tk { text-align: left; }
.tk .row { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tk .nm { min-width: 0; }
.tk .nm b { font-weight: 740; letter-spacing: -.005em; }
.tk .nm b span { color: var(--ink-3); font-weight: 560; }
.tk .nm small { display: block; color: var(--ink-3); font-size: 13px; line-height: 1.25; max-width: 210px; overflow: hidden; text-overflow: ellipsis; }
.chip { display: inline-flex; align-items: center; height: 21px; padding: 0 8px; border-radius: 999px; background: var(--mist); color: var(--ink-2); font-size: 12px; font-weight: 640; letter-spacing: .01em; }
.tbl td.pc { font-weight: 640; }
.tbl td.sl { width: 46px; text-align: center; }
.sl a { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--violet); }
.sl a:hover { background: var(--mist); }
.sl svg { width: 26px; height: 26px; }
.tbl .flash-up td.pr { color: var(--up); } .tbl .flash-dn td.pr { color: var(--dn); }
.tbl td.pr { transition: color .6s; }
.star { width: 28px; height: 28px; display: inline-grid; place-items: center; border-radius: 50%; color: var(--ink-4); margin-left: -6px; }
.star:hover { color: var(--violet); background: var(--mist); }
.star.on { color: var(--pink); }
.star.on svg { fill: currentColor; }
.more { display: flex; justify-content: center; gap: 12px; padding: 26px 0 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 46px; padding: 0 22px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 640; font-size: 15.5px; transition: transform .2s var(--ease), background .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { background: #33215A; transform: translateY(-1px); }
.btn.line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.line:hover { box-shadow: inset 0 0 0 1px var(--violet-2); background: var(--pearl); }
.btn.soft { background: var(--mist); color: var(--ink); }
.btn.soft:hover { background: var(--haze); }
.btn.vio { background: var(--violet); }
.btn.vio:hover { background: #5A3CC7; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn.sm { height: 36px; padding: 0 15px; font-size: 14px; }
.credit { padding: 6px 0 34px; font-size: 13px; color: var(--ink-3); display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.credit a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.empty { padding: 70px 20px; text-align: center; color: var(--ink-3); }
.empty b { display: block; color: var(--ink); font-size: 20px; font-weight: 680; margin-bottom: 6px; }
.skel td { color: transparent; }
.skel .bone { display: inline-block; height: 12px; width: 64px; border-radius: 6px; background: linear-gradient(90deg, var(--mist), var(--haze), var(--mist)); background-size: 200% 100%; animation: bone 1.4s infinite linear; }
@keyframes bone { to { background-position: -200% 0; } }

/* ---------- home sections ---------- */
.band { padding: 130px 0; }
.st { font: 500 clamp(44px, 5.6vw, 84px)/.98 var(--serif); letter-spacing: -.015em; margin: 0; text-wrap: balance; }
.sd { font-size: clamp(17px, 1.35vw, 19.5px); color: var(--ink-2); max-width: 34em; margin: 22px 0 0; text-wrap: pretty; }

.free { color: var(--ink); }
.free .sd, .free .price-big small { color: var(--ink); }
.free .grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.price-big { display: flex; align-items: baseline; gap: 24px; margin-top: 34px; flex-wrap: wrap; }
.price-big s { font-size: clamp(54px, 6vw, 96px); font-weight: 600; color: rgba(35, 22, 64, .5); text-decoration: none; position: relative; letter-spacing: -.03em; line-height: 1; }
.price-big s::after { content: ''; position: absolute; left: -4%; right: -4%; top: 52%; height: 6px; border-radius: 6px; background: var(--pink); transform: rotate(-7deg); }
.price-big b { font-size: clamp(54px, 6vw, 96px); font-weight: 760; letter-spacing: -.035em; line-height: 1; color: var(--ink); }
.price-big small { font-size: 17px; color: var(--ink-2); font-weight: 560; flex-basis: 100%; }
.claimcard { background: #fff; border-radius: 26px; padding: 30px; box-shadow: var(--shadow-lift); }
.claimcard h3 { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: -.015em; }
.claimcard p { margin: 8px 0 22px; color: var(--ink-2); }
.field { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 8px 0 18px; border-radius: 999px; background: var(--mist); }
.field input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 16px; font-weight: 520; }
.field input::placeholder { color: var(--ink-4); }
.field:focus-within { box-shadow: 0 0 0 2px var(--violet-2); background: #fff; }
.vs { margin: 26px 0 0; display: grid; gap: 0; }
.vs div { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15px; align-items: baseline; }
.vs div:first-child { border-top: 0; color: var(--ink-3); font-size: 13px; font-weight: 600; padding-bottom: 8px; }
.vs dt { font-weight: 640; } .vs dd { margin: 0; color: var(--ink-2); } .vs dd.q { color: var(--ink); font-weight: 640; }

.how { background: #fff; }
.how .head { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 70px; position: relative; }
.flow::before { content: ''; position: absolute; left: 22px; right: 22px; top: 22px; height: 2px; background: linear-gradient(90deg, var(--lilac), var(--blush)); }
.flow .s { position: relative; padding-right: 34px; }
.flow .node { width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--violet); box-shadow: 0 0 0 1px var(--line-2), 0 8px 18px -10px rgba(76, 52, 140, .5); position: relative; }
.flow .node svg { width: 30px; height: 30px; }
.flow h4 { margin: 24px 0 8px; font-size: 21px; font-weight: 700; letter-spacing: -.015em; }
.flow p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.flow .m { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line-2); font-size: 14px; color: var(--ink-3); min-height: 70px; }
.flow .m b { display: block; color: var(--ink); font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.flow .m code { font: 500 12.5px/1.5 var(--mono); color: var(--violet); word-break: break-all; }
.runbox { margin-top: 46px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; color: var(--ink-3); font-size: 14.5px; }

.qday .grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.auditcard { background: #fff; border-radius: 26px; padding: 26px 28px; box-shadow: var(--shadow-lift); }
.auditcard .hd { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.auditcard .hd b { font-size: 19px; font-weight: 720; } .auditcard .hd small { display: block; color: var(--ink-3); font-size: 13.5px; }
.keys { list-style: none; margin: 0; padding: 0; }
.keys li { display: grid; grid-template-columns: 22px 1fr auto; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); align-items: start; }
.keys li:last-child { border-bottom: 0; }
.keys .d { width: 12px; height: 12px; border-radius: 50%; margin-top: 6px; background: var(--ink-4); }
.keys li.open .d { background: var(--dn); box-shadow: 0 0 0 4px rgba(199, 54, 95, .14); }
.keys li.closed .d { background: var(--up); box-shadow: 0 0 0 4px rgba(14, 138, 100, .13); }
.keys li.program .d { background: var(--violet-2); }
.keys b { font-weight: 680; } .keys p { margin: 2px 0 0; color: var(--ink-2); font-size: 14.5px; }
.keys .a { font: 500 12.5px var(--mono); color: var(--ink-3); padding-top: 3px; }
.keys .st2 { font-size: 13px; font-weight: 680; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.keys li.open .st2 { background: #FBE7EE; color: var(--dn); } .keys li.closed .st2 { background: #E4F4EE; color: var(--up); } .keys li.program .st2 { background: var(--mist); color: var(--violet); }

.foot { padding: 140px 0 40px; }
.foot .big { font: 500 clamp(88px, 17vw, 300px)/.86 var(--serif); padding-bottom: .1em; letter-spacing: -.03em; color: #fff; text-align: center; margin: 0; text-shadow: 0 10px 50px rgba(76, 52, 140, .25); }
.foot .line2 { text-align: center; color: #fff; font-size: clamp(18px, 1.6vw, 22px); font-weight: 560; margin: 26px 0 0; text-shadow: 0 2px 16px rgba(35, 22, 64, .3); }
.foot .flinks { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 120px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .45); color: #fff; font-size: 14px; font-weight: 560; text-shadow: 0 1px 10px rgba(35, 22, 64, .35); }
.foot .flinks nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot .flinks a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- token page ---------- */
.thead { padding: 22px 0 172px; }
.thead .wrap { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.thead .av { width: 64px; height: 64px; font-size: 20px; box-shadow: 0 0 0 4px rgba(255, 255, 255, .7); }
.thead h1 { margin: 0; font-size: clamp(30px, 3.4vw, 46px); font-weight: 720; letter-spacing: -.03em; line-height: 1; }
.thead h1 span { color: var(--ink-3); font-weight: 560; }
.thead .sub { margin-top: 8px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; color: var(--ink-2); font-size: 15px; }
.thead .chip { background: rgba(255, 255, 255, .72); }
.thead .acts { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.thead .px { text-align: right; }
.thead .px b { display: block; font-size: clamp(28px, 3vw, 40px); font-weight: 720; letter-spacing: -.025em; line-height: 1; }
.thead .px span { font-size: 15px; font-weight: 640; }
.tgrid { display: grid; grid-template-columns: minmax(0, 1fr) 392px; gap: 28px; padding: 26px 0 60px; }
.card { background: #fff; border-radius: var(--r-card); box-shadow: 0 0 0 1px var(--line); }
.chartcard { padding: 12px 12px 6px; }
.chartcard .tfs { display: flex; gap: 4px; padding: 4px 4px 10px; align-items: center; }
.chartcard .tfs button { height: 32px; padding: 0 12px; border-radius: 999px; font-size: 14px; font-weight: 640; color: var(--ink-3); }
.chartcard .tfs button[aria-pressed='true'] { background: var(--mist); color: var(--ink); }
.chartcard .tfs .grow { flex: 1; }
.chartcard .tfs small { color: var(--ink-3); font-size: 13px; }
#chart { height: 470px; position: relative; }
#chart .msg { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-3); }
.trades { margin-top: 22px; overflow: hidden; }
.trades h3, .side h3 { margin: 0; font-size: 17px; font-weight: 720; letter-spacing: -.01em; }
.trades .hd { display: flex; align-items: center; gap: 12px; padding: 18px 20px 10px; }
.trades .hd small { color: var(--ink-3); font-size: 13.5px; }
.ttbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.ttbl th { text-align: right; font-weight: 600; font-size: 12.5px; color: var(--ink-3); padding: 8px 14px; border-bottom: 1px solid var(--line); }
.ttbl th:first-child, .ttbl td:first-child { text-align: left; padding-left: 20px; }
.ttbl td { text-align: right; padding: 0 14px; height: 44px; border-bottom: 1px solid var(--line); white-space: nowrap; font-weight: 540; }
.ttbl tr:last-child td { border-bottom: 0; }
.ttbl td:last-child, .ttbl th:last-child { padding-right: 20px; }
.ttbl .k { font-weight: 700; }
.ttbl a { color: var(--ink-3); } .ttbl a:hover { color: var(--violet); }
.ttbl tr.nw td { animation: nw 1.6s var(--ease); }
@keyframes nw { from { background: var(--mist); } to { background: transparent; } }
.side { display: grid; gap: 18px; align-content: start; }
.side .card { padding: 20px; }
.side .card > h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.info .banner { aspect-ratio: 3 / 1; border-radius: 14px; background: var(--haze) center/cover; margin: -6px -6px 16px; }
.info p { margin: 0 0 14px; color: var(--ink-2); font-size: 15px; white-space: pre-line; overflow-wrap: anywhere; }
.links { display: flex; gap: 8px; flex-wrap: wrap; }
.links a { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px; border-radius: 999px; background: var(--mist); font-size: 14px; font-weight: 620; }
.links a:hover { background: var(--haze); }
.sealline { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 13.5px; }
.sealline svg.halo { width: 28px; height: 28px; color: var(--violet); flex: none; }
.sealline a { color: var(--violet); font-weight: 680; }
.claim-cta { display: grid; gap: 12px; }
.claim-cta p { margin: 0; color: var(--ink-2); font-size: 15px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stats div { background: var(--pearl); border-radius: 14px; padding: 10px 12px; box-shadow: inset 0 0 0 1px var(--line); }
.stats small { display: block; font-size: 12px; color: var(--ink-3); font-weight: 600; }
.stats b { font-size: 16.5px; font-weight: 720; letter-spacing: -.01em; }
.wins { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; background: var(--mist); border-radius: 14px; margin: 14px 0 12px; }
.wins button { border-radius: 10px; padding: 6px 4px; font-size: 13px; font-weight: 640; color: var(--ink-3); display: grid; }
.wins button b { font-size: 14px; }
.wins button[aria-pressed='true'] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(35, 22, 64, .08); }
.split { display: grid; gap: 10px; }
.split .r { display: grid; grid-template-columns: 70px 1fr; gap: 10px; align-items: center; font-size: 14px; }
.split .r small { color: var(--ink-3); font-weight: 600; }
.split .bar2 { display: flex; height: 8px; border-radius: 8px; overflow: hidden; background: var(--mist); }
.split .bar2 i { display: block; background: var(--up); } .split .bar2 i + i { background: var(--dn); }
.split .lbl { display: flex; justify-content: space-between; font-size: 13.5px; font-weight: 600; margin-bottom: 3px; }
.kv { display: grid; gap: 0; }
.kv div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.kv div:last-child { border-bottom: 0; }
.kv span { color: var(--ink-3); }
.kv b { font-weight: 640; display: inline-flex; align-items: center; gap: 6px; }
.kv button.cp { color: var(--ink-3); } .kv button.cp:hover { color: var(--violet); }
.ext { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }

/* ---------- claim ---------- */
.claim { padding: 30px 0 80px; }
.claim .grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 34px; align-items: start; }
.steps { display: grid; gap: 16px; }
.step { background: #fff; border-radius: var(--r-card); box-shadow: 0 0 0 1px var(--line); padding: 24px 26px; }
.step.off { opacity: .5; pointer-events: none; }
.step h3 { margin: 0 0 4px; font-size: 20px; font-weight: 720; letter-spacing: -.015em; display: flex; align-items: center; gap: 10px; }
.step h3 .ok { color: var(--up); width: 22px; height: 22px; }
.step > p { margin: 0 0 16px; color: var(--ink-2); font-size: 15px; }
.who { display: grid; gap: 8px; margin: 12px 0 0; }
.who div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; border-radius: 14px; background: var(--pearl); box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; }
.who div.me { box-shadow: inset 0 0 0 2px var(--up); background: #F1FAF6; }
.who span { color: var(--ink-3); } .who b { font: 600 13px var(--mono); }
.note { padding: 12px 14px; border-radius: 14px; background: var(--mist); color: var(--ink-2); font-size: 14.5px; margin-top: 12px; }
.note.bad { background: #FBE9EF; color: #8E2445; }
.note.good { background: #E7F5EF; color: #0B5E45; }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 7px; font-size: 14px; font-weight: 640; color: var(--ink-2); }
.form input[type=text], .form input[type=url], .form textarea { width: 100%; border: 0; outline: 0; background: var(--mist); border-radius: 14px; padding: 13px 16px; font-size: 15.5px; font-weight: 520; color: var(--ink); transition: box-shadow .15s, background .15s; }
.form textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.form input:focus, .form textarea:focus { background: #fff; box-shadow: 0 0 0 2px var(--violet-2); }
.form input::placeholder, .form textarea::placeholder { color: var(--ink-4); }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .cnt { justify-self: end; font-size: 12.5px; color: var(--ink-3); font-weight: 560; margin-top: -4px; }
.drop { position: relative; display: grid; place-items: center; gap: 6px; border-radius: 16px; background: var(--pearl); box-shadow: inset 0 0 0 1.5px var(--line-2); color: var(--ink-3); font-size: 14px; cursor: pointer; overflow: hidden; text-align: center; transition: box-shadow .15s; }
.drop:hover { box-shadow: inset 0 0 0 1.5px var(--violet-2); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop.icon { width: 120px; height: 120px; border-radius: 50%; }
.drop.head { height: 120px; }
.drop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.drop .ic { width: 22px; height: 22px; }
.imgs { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: end; }
.preview { position: sticky; top: 24px; }
.preview .card { overflow: hidden; }
.preview .pv-banner { aspect-ratio: 3 / 1; background: var(--haze) center/cover; }
.preview .pv-body { padding: 0 20px 20px; }
.preview .pv-head { display: flex; align-items: end; gap: 12px; margin-top: -30px; }
.preview .pv-head .av { width: 64px; height: 64px; box-shadow: 0 0 0 4px #fff; }
.preview .pv-head b { font-size: 19px; font-weight: 740; display: block; padding-bottom: 4px; }
.preview .pv-body p { color: var(--ink-2); font-size: 14.5px; margin: 14px 0; white-space: pre-line; overflow-wrap: anywhere; }
.preview h4 { margin: 0 0 10px; font-size: 13px; color: var(--ink-3); font-weight: 640; }
.done { text-align: center; padding: 34px 26px; }
.done svg.halo { width: 92px; height: 92px; color: var(--violet); margin: 0 auto 10px; display: block; }
.done h3 { justify-content: center; font-size: 26px; }
.done .acts { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.proof { margin-top: 18px; text-align: left; display: grid; gap: 6px; font-size: 13.5px; color: var(--ink-2); }
.proof code { font: 500 12px var(--mono); color: var(--violet); word-break: break-all; }

/* ---------- seal pages ---------- */
.seal { padding: 30px 0 90px; }
.seal .grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 30px; align-items: start; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--pearl); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; }
.checks li .ic { width: 22px; height: 22px; color: var(--ink-4); }
.checks li.ok .ic { color: var(--up); } .checks li.bad .ic { color: var(--dn); }
.checks li b { display: block; font-weight: 680; }
.checks li span { color: var(--ink-3); font-size: 14px; }
.raw { margin-top: 16px; }
.raw summary { cursor: pointer; font-weight: 640; color: var(--ink-2); padding: 8px 0; }
.raw pre { margin: 8px 0 0; padding: 16px; border-radius: 14px; background: var(--pearl); box-shadow: inset 0 0 0 1px var(--line); font: 500 12px/1.55 var(--mono); color: var(--ink-2); max-height: 380px; overflow: auto; white-space: pre-wrap; word-break: break-all; }
.ledger-list { display: grid; gap: 0; }
.ledger-list a { display: grid; grid-template-columns: 70px 40px 1fr auto; gap: 14px; align-items: center; padding: 14px 6px; border-bottom: 1px solid var(--line); font-size: 15px; }
.ledger-list a:hover { background: var(--pearl); }
.ledger-list .n { color: var(--ink-3); font-weight: 640; }
.ledger-list .t { color: var(--ink-3); font-size: 14px; text-align: right; }
.ranklist { counter-reset: r; display: grid; gap: 0; max-height: 620px; overflow: auto; }
.ranklist a { display: grid; grid-template-columns: 34px 30px 1fr auto; gap: 12px; align-items: center; padding: 10px 4px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.ranklist a:hover { background: var(--pearl); }
.ranklist .av { width: 30px; height: 30px; font-size: 11px; }
.ranklist code { font: 500 12px var(--mono); color: var(--ink-3); }

/* ---------- toasts, dialogs ---------- */
#toasts { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 100; display: grid; gap: 8px; justify-items: center; pointer-events: none; }
.toast { background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 999px; font-size: 14.5px; font-weight: 600; box-shadow: var(--shadow-lift); opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s var(--ease); }
.toast.in { opacity: 1; transform: none; }
.toast.bad { background: var(--dn); }
dialog.wl { border: 0; padding: 0; border-radius: 26px; width: min(400px, calc(100vw - 32px)); box-shadow: var(--shadow-lift); color: var(--ink); }
dialog.wl::backdrop { background: rgba(35, 22, 64, .32); backdrop-filter: blur(3px); }
dialog.wl .in { padding: 26px; }
dialog.wl h3 { margin: 0 0 4px; font-size: 22px; font-weight: 720; }
dialog.wl p { margin: 0 0 18px; color: var(--ink-2); font-size: 15px; }
dialog.wl .ws { display: grid; gap: 8px; }
dialog.wl .ws button { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--mist); font-weight: 640; text-align: left; }
dialog.wl .ws button:hover { background: var(--haze); }
dialog.wl .ws img { width: 30px; height: 30px; border-radius: 8px; }
dialog.wl .x { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-3); }
dialog.wl .x:hover { background: var(--mist); }

/* ---------- motion ---------- */
.rise { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rise.in { opacity: 1; transform: none; }
.hero h1 .w { display: inline-block; opacity: 0; transform: translateY(.32em); filter: blur(8px); animation: wordin 1s var(--ease) forwards; }
@keyframes wordin { to { opacity: 1; transform: none; filter: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rise { opacity: 1; transform: none; }
  .hero h1 .w { opacity: 1; transform: none; filter: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .tbl .h-mk, .tbl .h-m5, .tbl .h-6h { display: none; }
  .tgrid { grid-template-columns: minmax(0, 1fr) 340px; }
  .free .grid, .qday .grid { gap: 40px; }
}
@media (max-width: 980px) {
  .nav { display: none; }
  .top { justify-content: space-between; }
  .tbl .h-age, .tbl .h-tx, .tbl .h-liq, .tbl .h-1h { display: none; }
  .tgrid, .claim .grid, .seal .grid { grid-template-columns: minmax(0, 1fr); }
  .preview { position: static; }
  .free .grid, .qday .grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; row-gap: 46px; }
  .flow::before { display: none; }
  .how .head { grid-template-columns: 1fr; }
  .band { padding: 96px 0; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 16px; }
  .top { padding: 0 16px; height: 64px; gap: 12px; }
  .brand { font-size: 27px; }
  .wbtn { height: 40px; padding: 0 14px; font-size: 14px; }
  .wbtn .lbl { display: none; }
  .hero { min-height: auto; padding-bottom: 130px; }
  .hero .in { padding-top: 26px; }
  .hero h1 { font-size: clamp(42px, 12.5vw, 60px); }
  .search label { height: 58px; padding-left: 18px; }
  .search input { font-size: 16px; }
  .search kbd { display: none; }
  .sheet { margin-top: -96px; border-radius: 24px 24px 0 0; }
  .bar { gap: 10px; padding-top: 14px; }
  .bar .grow, .live { display: none; }
  .tabs { overflow-x: auto; max-width: 100%; scrollbar-width: none; }
  .tabs button { height: 34px; padding: 0 13px; font-size: 14px; }
  .sealbadge { order: 5; width: 100%; justify-content: center; }
  .tbl th { top: 0; position: static; }
  .tbl .h-vol, .tbl .h-mc, .tbl .h-rk { display: none; }
  .tbl td { height: 60px; padding: 0 5px; font-size: 14px; }
  .tbl th { padding: 10px 5px; }
  .tbl .star { display: none; }
  .tbl td.sl { width: 30px; }
  .tbl th[data-k="sl"] { font-size: 0; }
  .tbl td.sl svg { width: 22px; height: 22px; }
  .tk .row { gap: 9px; }
  .tk .nm small { max-width: 120px; }
  .ttbl th:nth-child(4), .ttbl td:nth-child(4), .ttbl th:nth-child(5), .ttbl td:nth-child(5), .ttbl th:nth-child(7), .ttbl td:nth-child(7) { display: none; }
  .ttbl th, .ttbl td { padding-left: 8px; padding-right: 8px; }
  .ttbl tbody tr:nth-child(n+16) { display: none; }
  .tk .chip { display: none; }
  .av { width: 32px; height: 32px; }
  .flow { grid-template-columns: 1fr; }
  .thead { padding-bottom: 130px; }
  .thead .acts { margin-left: 0; width: 100%; }
  .thead .px { text-align: left; }
  #chart { height: 340px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .form .two { grid-template-columns: 1fr; }
  .vs div { grid-template-columns: 1fr 1fr 1fr; font-size: 14px; }
  .foot .flinks { margin-top: 70px; }
}
