:root {
  --bg: #050607;
  --panel: #0b0e0d;
  --panel2: #0f1312;
  --line: rgba(255, 255, 255, .09);
  --line2: rgba(255, 255, 255, .16);
  --text: #f4f6f5;
  --dim: #8d9591;
  --dim2: #5d6461;
  --accent: #4ade80;
  --accent-ink: #04140a;
  --bot: #262b29;
  --r: 18px;
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.55 var(--body); overflow-x: hidden; }
img { max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.mono { font-family: var(--mono); }
.muted { color: var(--dim); }
.accent { color: var(--accent); }
.fine { color: var(--dim2); font-size: 12.5px; margin: 10px 0 0; }
.center { text-align: center; }

.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 520px at 78% -8%, rgba(74, 222, 128, .13), transparent 60%),
    radial-gradient(700px 500px at -10% 40%, rgba(74, 222, 128, .05), transparent 60%),
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px) 0 0 / 44px 44px;
  -webkit-mask-image: linear-gradient(#000 0%, #000 55%, rgba(0,0,0,.35));
          mask-image: linear-gradient(#000 0%, #000 55%, rgba(0,0,0,.35)); }

/* NAV */
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 18px; padding: 12px clamp(16px, 4vw, 40px);
  background: rgba(5, 6, 7, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 18px/1 var(--display); letter-spacing: -.01em; white-space: nowrap; }
.brand img { width: 34px; height: 34px; }
.links { display: flex; gap: 4px; margin-left: 12px; }
.links a { text-decoration: none; color: var(--dim); font-size: 14px; padding: 7px 12px; border-radius: 999px; transition: color .2s, background .2s; }
.links a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.live-pill { display: inline-flex; align-items: center; gap: 7px; font: 500 12px var(--mono); color: var(--dim); border: 1px solid var(--line); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.live-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--dim2); }
.live-pill.on i { background: var(--accent); box-shadow: 0 0 0 0 rgba(74,222,128,.6); animation: ping 1.6s infinite; }
.live-pill.on { color: var(--text); }
@keyframes ping { 70% { box-shadow: 0 0 0 7px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1.1 var(--body); text-decoration: none; cursor: pointer; transition: transform .15s, background .2s, border-color .2s, opacity .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #6ee79b; }
.btn-ghost { background: rgba(255,255,255,.04); border-color: var(--line2); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.28); }
.btn-sm { padding: 9px 15px; font-size: 13.5px; }
.btn-wide { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn[aria-disabled="true"]:active, .btn[disabled]:active { transform: none; }

/* HERO */
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(20px, 4vw, 56px); align-items: center;
  max-width: 1240px; margin: 0 auto; padding: clamp(28px, 5vw, 64px) clamp(16px, 4vw, 40px) 30px; container-type: inline-size; }
.hero-copy { container-type: inline-size; min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font: 500 12.5px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--dim);
  border: 1px solid var(--line); padding: 7px 12px; border-radius: 999px; margin: 0 0 22px; max-width: 100%; flex-wrap: wrap; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
h1 { font: 800 clamp(40px, 11.5cqi, 96px)/.95 var(--display); letter-spacing: -.035em; margin: 0 0 22px; }
h1 em { font-style: normal; color: var(--accent); display: inline-block; }
.lede { font-size: clamp(17px, 1.6vw, 19.5px); color: #c9cfcc; max-width: 34em; margin: 0 0 26px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tile { background: rgba(11, 14, 13, .8); border: 1px solid var(--line); border-radius: 14px; padding: 13px 14px; min-width: 0; }
.t-label { display: block; font-size: 11.5px; color: var(--dim); line-height: 1.25; margin-bottom: 6px; }
.t-num { display: block; font: 700 clamp(20px, 2.3vw, 28px)/1 var(--mono); letter-spacing: -.02em; font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; }

.hero-art { position: relative; display: grid; place-items: center; min-height: 420px; }
.hero-mascot { width: min(440px, 100%); }
.chip { position: absolute; display: flex; flex-direction: column; gap: 3px; max-width: 250px; padding: 10px 13px; border-radius: 13px;
  background: rgba(12, 15, 14, .88); border: 1px solid var(--line2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(0,0,0,.45); font-size: 13px; transition: opacity .4s, transform .4s; pointer-events: none; }
.chip-k { font: 700 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.chip-v { color: #d6dbd8; line-height: 1.35; }
.chip-h { top: 8%; left: -4%; }
.chip-h .chip-k { color: var(--accent); }
.chip-b { bottom: 10%; right: -2%; }
.chip-b .chip-k { color: var(--dim); }
.chip.pop { animation: pop .5s ease; }
@keyframes pop { 0% { transform: translateY(6px) scale(.97); opacity: .4; } 100% { transform: none; opacity: 1; } }

/* TICKER */
.ticker { border-block: 1px solid var(--line); background: rgba(11,14,13,.7); overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 34px; padding: 11px 0; animation: tick 60s linear infinite; padding-left: 100%; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-100%); } }
.tk { font: 500 13px var(--mono); color: var(--dim); display: inline-flex; gap: 8px; align-items: center; }
.tk b { color: var(--text); font-weight: 700; }
.tk .h { color: var(--accent); }

/* SECTIONS */
.sec { max-width: 1240px; margin: 0 auto; padding: clamp(56px, 8vw, 96px) clamp(16px, 4vw, 40px) 0; }
.sec-head { max-width: 760px; margin-bottom: 26px; }
.label { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin: 0 0 12px; }
h2 { font: 800 clamp(30px, 5vw, 54px)/1.02 var(--display); letter-spacing: -.03em; margin: 0 0 14px; }
.sub { color: var(--dim); font-size: 17px; margin: 0; max-width: 40em; }

/* TOOLBAR */
.toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.captcha { display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 14px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line2);
  cursor: pointer; user-select: none; transition: border-color .2s, background .2s; min-width: 0; }
.captcha:hover { border-color: rgba(74,222,128,.5); }
.captcha input { position: absolute; opacity: 0; pointer-events: none; }
.cbox { width: 30px; height: 30px; flex: none; border-radius: 8px; border: 2.5px solid #f2f2ee; display: grid; place-items: center; transition: background .2s; }
.cbox svg { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .35s ease; }
.captcha input:checked + .cbox svg { stroke-dashoffset: 0; }
.captcha input:focus-visible + .cbox { outline: 2px solid var(--accent); outline-offset: 3px; }
.captcha:has(input:checked) { border-color: var(--accent); background: rgba(74,222,128,.06); }
.c-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.c-text b { font-size: 16px; }
.c-text small { color: var(--dim); font-size: 12.5px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); }
.seg button { border: 0; background: none; color: var(--dim); padding: 8px 14px; border-radius: 999px; cursor: pointer; font-size: 13.5px; font-weight: 500; transition: background .2s, color .2s; }
.seg button:hover { color: var(--text); }
.seg button.on { background: rgba(255,255,255,.1); color: var(--text); }

/* FEED */
.feed-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.feed { display: flex; flex-direction: column; gap: 10px; min-width: 0; min-height: 420px; }
.coin { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) auto; grid-template-areas: "id count act" "strip strip strip" "tags tags tags";
  gap: 10px 16px; align-items: center; padding: 14px 16px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); transition: border-color .25s, transform .25s; animation: rowIn .45s ease; }
.coin:hover { border-color: var(--line2); }
.coin.hot { border-color: rgba(74,222,128,.45); }
@keyframes rowIn { from { opacity: 0; transform: translateY(6px); } }
.c-id { grid-area: id; display: flex; align-items: center; gap: 12px; min-width: 0; }
.c-logo, .c-badge { width: 42px; height: 42px; border-radius: 12px; flex: none; object-fit: cover; background: #151a18; }
.c-badge { display: grid; place-items: center; font: 700 16px var(--display); color: var(--dim); }
.c-names { min-width: 0; }
.c-name { display: block; font-weight: 700; font-size: 15.5px; overflow-wrap: anywhere; line-height: 1.25; }
.c-meta { display: block; font: 500 12px var(--mono); color: var(--dim); overflow-wrap: anywhere; line-height: 1.4; }
.c-count { grid-area: count; font-size: 14px; color: var(--dim); min-width: 0; }
.c-count .n { font: 700 22px var(--mono); color: var(--text); margin-right: 3px; font-variant-numeric: tabular-nums; }
.c-count .n.h { color: var(--accent); }
.c-count .pct { display: block; font: 500 12px var(--mono); color: var(--dim2); margin-top: 2px; }
.bar { height: 5px; border-radius: 9px; background: var(--bot); overflow: hidden; margin-top: 6px; max-width: 220px; }
.bar i { display: block; height: 100%; background: var(--accent); border-radius: 9px; transition: width .6s ease; }
.c-act { grid-area: act; display: flex; align-items: center; gap: 8px; }
.c-mc { font: 600 13px var(--mono); color: var(--dim); white-space: nowrap; margin-right: 4px; }
.c-strip { grid-area: strip; display: flex; flex-wrap: wrap; gap: 4px; min-width: 0; }
.c-tags { grid-area: tags; display: flex; flex-wrap: wrap; gap: 6px; }
.c-tags:empty { display: none; }
.tag { font: 500 11.5px var(--mono); color: var(--dim); border: 1px solid var(--line); padding: 3px 8px; border-radius: 999px; }
.tag.warn { color: #e6e9e7; border-color: var(--line2); }
.tag.good { color: var(--accent); border-color: rgba(74,222,128,.35); }
.more { font: 600 11px var(--mono); color: var(--dim); align-self: center; margin-left: 4px; }

.sq { display: inline-grid; place-items: center; width: 17px; height: 17px; border-radius: 5px; flex: none; position: relative; cursor: pointer; transition: transform .15s; }
.sq:hover { transform: scale(1.25); z-index: 2; }
.sq.h { background: var(--accent); }
.sq.h::after { content: ""; width: 7px; height: 4px; border-left: 2px solid var(--accent-ink); border-bottom: 2px solid var(--accent-ink); transform: rotate(-45deg) translate(1px, -1px); }
.sq.k { background: var(--accent); box-shadow: inset 0 0 0 2px #f4f6f5; }
.sq.b { background: var(--bot); }
.sq.b::after { content: "×"; color: #6c7370; font: 700 13px/1 var(--body); }
.sq.f { background: transparent; box-shadow: inset 0 0 0 1.5px var(--accent); }
.sq.d { background: transparent; box-shadow: inset 0 0 0 1.5px #f4f6f5; }
.sq.d::after { content: "dev"; font: 700 6.5px var(--mono); color: #f4f6f5; }
.sq.sel { outline: 2px solid #fff; outline-offset: 2px; }
.sq.new { animation: sqIn .4s ease; }
@keyframes sqIn { from { transform: scale(0); } }

.skeleton { height: 118px; border-radius: var(--r); background: linear-gradient(90deg, var(--panel) 0%, #111614 50%, var(--panel) 100%) 0 0 / 200% 100%; border: 1px solid var(--line); animation: shimmer 1.4s infinite linear; }
@keyframes shimmer { to { background-position: -200% 0; } }
.feed-note { font-size: 13.5px; color: var(--dim); padding: 10px 14px; border: 1px dashed var(--line2); border-radius: 12px; }
.seed-tag { font: 600 10.5px var(--mono); color: var(--dim); border: 1px solid var(--line); padding: 2px 7px; border-radius: 999px; margin-left: 6px; vertical-align: 2px; }

.side { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 80px; min-width: 0; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; min-width: 0; }
.insp-addr { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.insp-addr a { font: 600 14px var(--mono); text-decoration: none; border-bottom: 1px dashed var(--dim2); }
.verdict-pill { font: 700 11.5px var(--mono); text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; }
.verdict-pill.h { background: var(--accent); color: var(--accent-ink); }
.verdict-pill.b { background: var(--bot); color: #c5cbc8; }
.verdict-pill.d { border: 1px solid #f4f6f5; }
.insp-list { margin: 0 0 10px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.insp-list li { font-size: 13.5px; padding-left: 18px; position: relative; color: #d3d8d5; }
.insp-list li::before { content: "•"; position: absolute; left: 4px; color: var(--dim); }
.insp-coins { display: flex; flex-wrap: wrap; gap: 5px; }
.insp-coins span { font: 500 11.5px var(--mono); padding: 2px 7px; border-radius: 6px; background: rgba(255,255,255,.06); color: var(--dim); }
.insp-meta { font: 500 12px var(--mono); color: var(--dim); margin: 8px 0 0; }
.tells { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.tells li { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; color: #cfd5d2; }
.tells b { font: 700 14px var(--mono); color: var(--text); font-variant-numeric: tabular-nums; }

/* CHECK */
.checkbar { display: flex; gap: 10px; max-width: 760px; }
.checkbar input { flex: 1; min-width: 0; background: var(--panel); border: 1px solid var(--line2); border-radius: 999px; color: var(--text); padding: 14px 20px; font: 500 14.5px var(--mono); outline: none; transition: border-color .2s; }
.checkbar input:focus { border-color: var(--accent); }
.examples { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 14px 0 22px; font-size: 13.5px; }
.ex { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 5px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); cursor: pointer; font: 600 13px var(--mono); transition: border-color .2s; }
.ex:hover, .ex.on { border-color: var(--accent); }
.ex img, .ex .c-badge { width: 24px; height: 24px; border-radius: 50%; font-size: 11px; }
.report { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: clamp(16px, 3vw, 28px); }
.report-load { position: absolute; top: 14px; right: 16px; display: none; align-items: center; gap: 8px; font: 500 12.5px var(--mono); color: var(--dim); }
.report.loading .report-load { display: inline-flex; }
.report.loading .report-grid { opacity: .55; transition: opacity .2s; }
.spin { width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--line2); border-top-color: var(--accent); animation: rot .8s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }
.report-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(18px, 3vw, 36px); }
.r-main, .r-side { min-width: 0; }
.r-coin { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; min-height: 42px; }
.r-coin .c-name { font-size: 18px; }
.verdict { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.verdict b { font: 800 clamp(54px, 9vw, 96px)/.9 var(--display); letter-spacing: -.04em; }
.verdict span { color: var(--dim); font-size: 16px; }
.r-line { font-size: 16px; color: #d6dbd8; margin: 10px 0 18px; }
.captcha-grid { border: 1px solid var(--line2); border-radius: 14px; overflow: hidden; background: #070908; }
.cg-head { background: var(--accent); color: var(--accent-ink); padding: 12px 16px; display: flex; flex-direction: column; line-height: 1.15; }
.cg-head span { font-size: 13px; font-weight: 500; }
.cg-head b { font: 800 22px var(--display); }
.cg { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 5px; padding: 14px; }
.cg .sq { width: 100%; height: auto; aspect-ratio: 1; border-radius: 6px; }
.cg .sq.h::after { width: 30%; height: 16%; border-width: 2.5px; }
.cg .sq.d::after { font-size: 8px; }
.cg-legend { display: flex; flex-wrap: wrap; gap: 8px 14px; padding: 0 14px 12px; font-size: 12px; color: var(--dim); }
.cg-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cg-legend .sq { width: 12px; height: 12px; border-radius: 3px; cursor: default; }
.cg-legend .sq::after { display: none; }
.cg-detail { margin: 0; padding: 11px 14px; border-top: 1px solid var(--line); font: 500 12.5px var(--mono); color: var(--dim); overflow-wrap: anywhere; min-height: 42px; }
.share { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
.fact { background: var(--panel2); border: 1px solid var(--line); border-radius: 13px; padding: 12px 13px; min-width: 0; }
.fact b { display: block; font: 700 19px/1.1 var(--mono); margin-bottom: 4px; overflow-wrap: anywhere; }
.fact span { font-size: 12.5px; color: var(--dim); line-height: 1.35; display: block; }
.fact.wide { grid-column: 1 / -1; }
.fact.alert b { color: var(--accent); }
.panel-sub { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
.panel-sub .label { color: var(--dim); }
.groups { display: flex; flex-direction: column; gap: 8px; }
.grp { padding: 10px 12px; border-radius: 12px; background: var(--panel2); border: 1px solid var(--line); font-size: 13.5px; }
.grp b { font-family: var(--mono); }
.grp small { display: block; color: var(--dim); font: 500 11.5px var(--mono); margin-top: 3px; overflow-wrap: anywhere; }
.kols { display: flex; flex-wrap: wrap; gap: 6px; }
.kol { font: 600 12.5px var(--mono); padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(74,222,128,.35); color: var(--accent); }

/* HOW */
.flow { display: grid; grid-template-columns: 1fr 40px 1fr 40px 1fr 40px 1fr; align-items: stretch; margin-bottom: 18px; }
.node { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.node b { font: 700 18px var(--display); }
.node small { color: var(--dim); font-size: 13px; line-height: 1.4; }
.n-k { font: 500 11px var(--mono); color: var(--accent); }
.node-on { border-color: rgba(74,222,128,.5); background: rgba(74,222,128,.05); }
.arrow { position: relative; }
.arrow::before { content: ""; position: absolute; left: 6px; right: 6px; top: 50%; height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 11px); background-size: 22px 2px; animation: dash 1s linear infinite; }
.arrow::after { content: ""; position: absolute; right: 4px; top: calc(50% - 4px); border: 5px solid transparent; border-left-color: var(--accent); border-right: 0; }
@keyframes dash { to { background-position: 22px 0; } }
.tellcards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.tc { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; display: flex; flex-direction: column; gap: 6px; transition: border-color .2s, transform .2s; min-width: 0; }
.tc:hover { border-color: var(--line2); transform: translateY(-2px); }
.tc b { font: 700 16.5px var(--display); }
.tc p { margin: 0; color: var(--dim); font-size: 13.5px; line-height: 1.45; }
.tc-art { height: 92px; border-radius: 12px; background: #070908; border: 1px solid var(--line); margin-bottom: 6px; position: relative; display: grid; place-items: center; overflow: hidden; }
.tc-cap { position: absolute; bottom: 7px; left: 10px; font-size: 10.5px; color: var(--dim2); }
.tl { position: absolute; left: 10px; right: 10px; top: 38px; height: 2px; background: var(--line2); }
.tl i { position: absolute; top: -9px; font: 600 9px var(--mono); font-style: normal; padding: 3px 5px; border-radius: 5px; transform: translateX(-50%); }
.tl-c { background: #f4f6f5; color: #000; }
.tl-b { background: var(--bot); color: #9aa19e; top: 6px !important; }
.tl-h { background: var(--accent); color: var(--accent-ink); }
.flip { display: flex; align-items: center; gap: 8px; }
.pill-b, .pill-s { font: 600 11px var(--mono); padding: 5px 8px; border-radius: 7px; }
.pill-b { background: var(--bot); color: #c2c8c5; }
.pill-s { border: 1px solid var(--line2); color: #c2c8c5; }
.dimx { font-size: 11px; color: var(--dim2); }
.spray { display: grid; grid-template-columns: repeat(4, 22px); gap: 6px; margin-bottom: 10px; }
.spray i { height: 16px; border-radius: 5px; background: var(--bot); }
.spray i:nth-child(3n) { background: #333937; }
.sizes { display: flex; gap: 5px; flex-wrap: wrap; justify-content: center; padding: 0 6px; }
.sizes span { font-size: 11px; padding: 4px 6px; border-radius: 6px; background: var(--bot); color: #c2c8c5; }
.sizes .ok { background: var(--accent); color: var(--accent-ink); }
.tree { width: 82%; }
.tree circle { fill: #f4f6f5; }
.tree path { stroke: var(--line2); stroke-width: 1.5; fill: none; }
.tree rect { fill: var(--bot); }

/* STORY */
.story-in { max-width: 820px; margin: 0 auto; text-align: center; }
.story-text p { font-size: clamp(17px, 2vw, 21px); color: #cdd2cf; margin: 0 0 16px; }
.story-text b { color: var(--accent); }

/* TOKEN */
.token { padding-bottom: 40px; }
.token-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 56px); align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 26px; padding: clamp(20px, 4vw, 48px); }
.token-art { display: grid; place-items: center; }
.token-mascot { width: min(360px, 100%); }
.ca-box { display: flex; align-items: center; gap: 10px; background: #070908; border: 1px dashed var(--line2); border-radius: 14px; padding: 10px 10px 10px 14px; margin: 22px 0 16px; min-width: 0; }
.ca-k { font: 700 12px var(--mono); color: var(--accent); }
.ca-box code { flex: 1; min-width: 0; font: 500 14px var(--mono); overflow-wrap: anywhere; color: #d9ddda; }
.token-cta { display: flex; flex-wrap: wrap; gap: 10px; }

.foot { max-width: 1240px; margin: 70px auto 0; padding: 26px clamp(16px, 4vw, 40px) 40px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: space-between; color: var(--dim); font-size: 13px; }
.foot div { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text); }
.foot p { margin: 0; max-width: 640px; }

/* MODAL */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.65); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.m-card { position: relative; width: min(420px, 100%); background: #0d100f; border: 1px solid var(--line2); border-radius: 22px; padding: 22px; box-shadow: 0 30px 90px rgba(0,0,0,.6); animation: pop .3s ease; max-height: calc(100vh - 32px); overflow-y: auto; }
.m-x { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: none; cursor: pointer; font-size: 20px; line-height: 1; }
.m-coin { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; padding-right: 40px; min-width: 0; }
.m-card h3 { font: 800 24px var(--display); margin: 0 0 4px; }
.m-heads { margin: 0 0 14px; color: var(--dim); font-size: 14px; }
.m-heads b { color: var(--text); font-family: var(--mono); }
.m-heads .h { color: var(--accent); }
.m-tabs { margin-bottom: 14px; }
.amts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 8px; }
.amts button { padding: 10px 0; border-radius: 11px; border: 1px solid var(--line2); background: rgba(255,255,255,.03); cursor: pointer; font: 600 14px var(--mono); }
.amts button.on { border-color: var(--accent); color: var(--accent); }
.m-in { display: flex; align-items: center; border: 1px solid var(--line2); border-radius: 12px; padding: 0 14px; margin-bottom: 12px; }
.m-in input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--text); font: 600 18px var(--mono); padding: 12px 0; }
.m-in span { color: var(--dim); font: 600 13px var(--mono); }
.m-slip { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13.5px; color: var(--dim); margin-bottom: 16px; }
.m-slip select { background: var(--panel); color: var(--text); border: 1px solid var(--line2); border-radius: 9px; padding: 7px 10px; font: 600 13px var(--mono); }
.m-status { font-size: 13px; color: var(--dim); margin: 12px 0 0; overflow-wrap: anywhere; }
.m-status a { color: var(--accent); }
.m-status.err { color: #f1d1d1; }

.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 120; background: #f4f6f5; color: #050607; padding: 11px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; box-shadow: 0 14px 40px rgba(0,0,0,.4); animation: pop .3s ease; max-width: calc(100vw - 32px); text-align: center; }

/* REVEAL (never hides content for long: script adds .in, and a 1.5 s fallback shows all) */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in, .no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation-duration: 160s; }
}

/* RESPONSIVE */
@media (max-width: 1080px) {
  .feed-wrap { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .tellcards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .links { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-art { min-height: 0; order: -1; margin-top: -6px; }
  .hero-mascot { width: min(250px, 62vw); }
  .chip-h { top: 4%; left: 0; }
  .chip-b { bottom: 2%; right: 0; }
  .chip { max-width: 190px; font-size: 12px; padding: 8px 10px; }
  .report-grid { grid-template-columns: minmax(0, 1fr); }
  .token-grid { grid-template-columns: minmax(0, 1fr); }
  .token-mascot { width: min(240px, 60vw); }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .arrow { height: 26px; }
  .arrow::before { left: 50%; right: auto; top: 4px; bottom: 4px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--accent) 0 6px, transparent 6px 11px); }
  .arrow::after { right: auto; left: calc(50% - 4px); top: auto; bottom: 0; border: 5px solid transparent; border-top-color: var(--accent); border-bottom: 0; }
}
@media (max-width: 640px) {
  .nav { gap: 10px; padding: 10px 14px; }
  .brand span { font-size: 16px; }
  .live-pill { display: none; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coin { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "id id" "count act" "strip strip" "tags tags"; padding: 13px; }
  .c-act { flex-wrap: wrap; justify-content: flex-end; }
  .c-mc { width: 100%; text-align: right; margin: 0; }
  .side { grid-template-columns: minmax(0, 1fr); }
  .tellcards { grid-template-columns: minmax(0, 1fr); }
  .checkbar { flex-direction: column; }
  .cg { gap: 3px; padding: 10px; }
  .facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .seg button { padding: 7px 10px; font-size: 12.5px; }
  .chip-h { left: -2%; }
  .chip-b { right: -2%; }
}
@media (max-width: 380px) {
  .btn-ghost.btn-sm#connectBtn { padding: 8px 11px; font-size: 12.5px; }
  .brand span { font-size: 15px; }
}
