:root {
  --bg: #09090a;
  --bg-side: #0d0d0e;
  --card: #121214;
  --card-2: #18181b;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.13);
  --text: #f1eee7;
  --muted: #8d887e;
  --soft: rgba(255, 255, 255, 0.05);
  --hover: rgba(255, 255, 255, 0.06);
  --solid: #f1eee7;
  --solid-text: #0b0b0c;
  --feature: #f1eee7;
  --feature-text: #0e0e0f;
  --feature-muted: #6f6a61;
  --hint-bg: rgba(88, 196, 138, 0.08);
  --hint-line: rgba(88, 196, 138, 0.28);
  --hint-text: #9fe0bb;
  --live: #ff4b3e;
  --up: #58c48a;
  --down: #e0655f;
  --skeleton: rgba(255, 255, 255, 0.06);
  --head: 'Bricolage Grotesque', system-ui, sans-serif;
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
  color-scheme: dark;
}
:root[data-theme='light'] {
  --bg: #f8f7f4;
  --bg-side: #f8f7f4;
  --card: #ffffff;
  --card-2: #f3f2ee;
  --line: rgba(26, 26, 24, 0.08);
  --line-2: rgba(26, 26, 24, 0.14);
  --text: #1a1a18;
  --muted: #77736b;
  --soft: rgba(26, 26, 24, 0.04);
  --hover: rgba(26, 26, 24, 0.05);
  --solid: #1a1a18;
  --solid-text: #f8f7f4;
  --feature: #1a1a18;
  --feature-text: #f1eee7;
  --feature-muted: #a29d93;
  --hint-bg: #f1fbe5;
  --hint-line: #d6efbd;
  --hint-text: #2f5a12;
  --up: #1f9a5a;
  --down: #c8443d;
  --skeleton: rgba(26, 26, 24, 0.06);
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font: 14px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; }
svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg.fill { fill: currentColor; stroke: none; }
.mono { font-family: var(--mono); font-feature-settings: 'tnum'; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.up { color: var(--up); }
.down { color: var(--down); }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }

/* announcement */
.announce { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 34px; padding: 6px 44px; background: #000; color: #f1eee7; font-size: 12.5px; position: relative; text-align: center; }
:root[data-theme='light'] .announce { background: #1a1a18; }
.announce .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 3px rgba(88, 196, 138, 0.2); flex: none; }
.announce a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(241, 238, 231, 0.35); }
.announce-x { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 18px; opacity: 0.6; }
.announce-x:hover { opacity: 1; }

/* shell */
.shell { display: flex; min-height: calc(100vh - 34px); }
.side { position: sticky; top: 0; height: 100vh; width: 232px; flex: none; display: flex; flex-direction: column; padding: 14px 10px; border-right: 1px solid var(--line); background: var(--bg-side); }
.brand { display: flex; align-items: center; gap: 10px; padding: 6px 8px 18px; font-weight: 600; letter-spacing: -0.01em; }
.brand img { object-fit: contain; }
.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side-nav a { display: flex; align-items: center; gap: 11px; height: 36px; padding: 0 10px; border-radius: 8px; color: var(--muted); transition: background 0.15s, color 0.15s; }
.side-nav a:hover { background: var(--hover); color: var(--text); }
.side-nav a.on { background: var(--card-2); color: var(--text); font-weight: 500; }
:root[data-theme='light'] .side-nav a.on { background: #ecebe6; }
.side-nav .count { margin-left: auto; font-size: 11px; color: var(--muted); }
.side-nav .ext { margin-left: auto; font-size: 11px; }
.side-label { margin: 18px 10px 6px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.side-ca { margin-top: auto; padding: 12px 10px 4px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.side-ca .k { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.ca { text-align: left; font-size: 12px; padding: 7px 10px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--card); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; transition: border-color 0.15s; }
.ca:hover { border-color: var(--text); }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 14px; height: 56px; padding: 0 22px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(12px); }
.crumbs { display: flex; gap: 8px; font-size: 13px; }
.crumbs .sep { color: var(--line-2); }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; color: var(--muted); }
.icon-btn:hover { background: var(--hover); color: var(--text); }
.burger { display: none; width: 34px; height: 34px; border-radius: 8px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 16px; height: 1.5px; background: var(--text); }
.scrim { display: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 8px; font-weight: 500; font-size: 13.5px; white-space: nowrap; border: 1px solid transparent; transition: 0.15s; cursor: pointer; }
.btn-solid { background: var(--solid); color: var(--solid-text); }
.btn-solid:hover { opacity: 0.88; }
.btn-ghost { border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--text); }
.btn.disabled { opacity: 0.55; pointer-events: none; }

.content { width: min(1000px, 100% - 44px); margin: 24px auto 40px; flex: 1; }
.page { display: flex; flex-direction: column; gap: 14px; animation: fade 0.25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } }

/* feature card */
.feature { display: grid; grid-template-columns: 1fr 260px; gap: 24px; padding: 26px 28px; border-radius: 10px; background: var(--feature); color: var(--feature-text); overflow: hidden; }
.eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.feature .eyebrow { color: var(--feature-muted); }
.feature h1 { font-size: clamp(26px, 3.2vw, 36px); margin: 8px 0 10px; }
.feature-sub { max-width: 520px; color: var(--feature-muted); font-size: 13.5px; }
.feature-stats { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 18px 0 20px; }
.feature-stats dt { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--feature-muted); }
.feature-stats dd { font-size: 15px; font-weight: 500; }
.feature-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.btn-invert { background: var(--feature-text); color: var(--feature); }
.btn-invert:hover { opacity: 0.88; }
.btn-dim { border-color: color-mix(in srgb, var(--feature-text) 22%, transparent); color: var(--feature-text); background: color-mix(in srgb, var(--feature-text) 8%, transparent); }
.btn-dim:hover { background: color-mix(in srgb, var(--feature-text) 14%, transparent); }
.link-dim { font-size: 13px; color: var(--feature-muted); }
.link-dim:hover { color: var(--feature-text); }
.feature-art { display: grid; place-items: center; }
.mosaic { display: grid; grid-template-columns: repeat(5, 40px); gap: 6px; transform: rotate(-6deg); }
.mosaic img, .mosaic i { width: 40px; height: 40px; border-radius: 10px; background: color-mix(in srgb, var(--feature-text) 10%, transparent); object-fit: cover; opacity: 0.92; }
.mosaic img:nth-child(3n) { opacity: 0.55; }

/* hint banner */
.hint { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 18px; border-radius: 10px; border: 1px solid var(--hint-line); background: var(--hint-bg); color: var(--hint-text); font-size: 13.5px; }
.hint-go { font-weight: 500; white-space: nowrap; }
.hint:hover .hint-go { text-decoration: underline; }

/* panels */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; }
.panel-h { display: flex; align-items: center; gap: 8px; font-weight: 500; margin-bottom: 12px; }
.panel-h .mono { margin-left: auto; font-size: 12px; }
.panel-more { margin-left: auto; font-size: 12.5px; font-weight: 400; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--live); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
.now-token { display: flex; align-items: center; gap: 12px; }
.now-token img { width: 44px; height: 44px; border-radius: 50%; background: var(--soft); }
.now-sym { font-family: var(--head); font-size: 22px; font-weight: 700; line-height: 1.1; }
.now-next { margin-left: auto; text-align: right; display: grid; }
.now-next .mono { font-size: 20px; }
.bar { height: 4px; border-radius: 4px; background: var(--soft); margin: 14px 0 8px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--text); transition: width 1s linear; }
.row-between { display: flex; justify-content: space-between; gap: 10px; }
.next-row { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px 3px 3px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; }
.pill img { width: 18px; height: 18px; border-radius: 50%; }
.pill em { font-style: normal; color: var(--muted); font-family: var(--mono); font-size: 11px; }
.mini-drops { display: grid; }
.mini-drops .md { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13px; }
.mini-drops .md:first-child { border-top: 0; padding-top: 0; }
.mini-drops img { width: 22px; height: 22px; border-radius: 50%; }
.mini-drops .md .r { margin-left: auto; text-align: right; }
.empty-note { color: var(--muted); font-size: 13px; padding: 6px 0; }

.section-h { display: flex; align-items: baseline; justify-content: space-between; margin-top: 12px; }
.section-h h2 { font-size: 20px; }
.section-h a { font-size: 13px; }

/* page header */
.page-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 4px; }
.page-h h1 { font-size: 30px; }
.sub { color: var(--muted); max-width: 620px; margin-top: 6px; }
.meta { font-size: 12px; color: var(--muted); text-align: right; }

/* stats strip */
.stats5 { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-radius: 10px; background: var(--card); overflow: hidden; }
.stats5 > div { padding: 14px 16px; border-left: 1px solid var(--line); display: grid; gap: 3px; min-width: 0; }
.stats5 > div:first-child { border-left: 0; }
.stats5 .k { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.stats5 .v { font-size: 17px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stats5 .v.small { font-size: 12.5px; white-space: normal; }

/* pair how-to */
.pair-how { display: grid; grid-template-columns: 1fr 300px; gap: 24px; padding: 20px 22px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); }
.pair-how h3 { font-size: 20px; margin: 6px 0 12px; }
.pair-how ol { list-style: none; display: grid; gap: 8px; }
.pair-how li { display: flex; gap: 12px; align-items: baseline; }
.pair-how li .mono { color: var(--muted); font-size: 12px; }
.pair-side { display: grid; gap: 10px; align-content: start; }
.ca-box { display: grid; gap: 5px; }

/* toolbar */
.toolbar { scroll-margin-top: 72px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.search { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; width: 280px; max-width: 100%; border: 1px solid var(--line-2); border-radius: 999px; background: var(--card); color: var(--muted); }
.search input { border: 0; outline: 0; background: none; color: var(--text); font: inherit; font-size: 13px; width: 100%; }
.sort { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.sort .muted { margin-right: 6px; }
.sort button { height: 30px; padding: 0 12px; border-radius: 999px; font-size: 12.5px; color: var(--muted); }
.sort button:hover { color: var(--text); }
.sort button.on { background: var(--card); color: var(--text); border: 1px solid var(--line-2); }

/* coin cards */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.coin { display: flex; flex-direction: column; gap: 14px; padding: 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); transition: border-color 0.15s, transform 0.15s; min-width: 0; }
.coin:hover { border-color: var(--line-2); transform: translateY(-1px); }
.coin-h { display: flex; align-items: center; gap: 10px; min-width: 0; }
.coin-h img, .coin-h .fb { width: 38px; height: 38px; border-radius: 50%; background: var(--soft); flex: none; object-fit: cover; }
.coin-h .fb { display: grid; place-items: center; font-weight: 600; color: var(--muted); }
.coin-id { min-width: 0; }
.coin-id b { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.coin-id span { display: block; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tag { margin-left: auto; flex: none; font-size: 10.5px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.tag.grad { color: var(--up); border-color: color-mix(in srgb, var(--up) 40%, transparent); }
.coin-m { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.coin-m dt { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.coin-m dd { font-family: var(--mono); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.coin-f { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); padding-top: 10px; border-top: 1px solid var(--line); }
.coin-f a:hover { color: var(--text); }
.coin-f .chg { margin-right: auto; font-family: var(--mono); }
.skel { height: 148px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); position: relative; overflow: hidden; }
.skel::after { content: ''; position: absolute; inset: 16px; background: linear-gradient(var(--skeleton), var(--skeleton)) 0 0 / 38px 38px no-repeat, linear-gradient(var(--skeleton), var(--skeleton)) 50px 6px / 90px 10px no-repeat, linear-gradient(var(--skeleton), var(--skeleton)) 50px 24px / 60px 8px no-repeat, linear-gradient(var(--skeleton), var(--skeleton)) 0 66px / 80px 10px no-repeat, linear-gradient(var(--skeleton), var(--skeleton)) 0 96px / 120px 8px no-repeat; }
.empty-card { grid-column: 1 / -1; padding: 36px 20px; text-align: center; border: 1px dashed var(--line-2); border-radius: 10px; color: var(--muted); }
.empty-card b { display: block; color: var(--text); font-size: 15px; margin-bottom: 4px; }

/* long coin names never leave their card */
.now-token > div:not(.now-next) { min-width: 0; flex: 1; }
.now-sym, #nowName, .slot-tok b, .slot-tok span, .mini-drops b, .pill, .tip-h b, .tip-h span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill { display: inline-flex; max-width: 160px; }
.slot-tok > div, .mini-drops .md > div:not(.r), .tip-h > div { min-width: 0; }
.coin-title h1 { white-space: nowrap; }
.tile .sym { max-width: 100%; padding: 0 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* coin page */
.coin { cursor: pointer; }
.back { font-size: 13px; width: fit-content; }
.back:hover { color: var(--text); }
.coin-head { display: flex; align-items: center; gap: 16px; min-width: 0; }
.coin-head img { width: 64px; height: 64px; border-radius: 50%; background: var(--soft); object-fit: cover; flex: none; }
.coin-title { min-width: 0; }
.coin-title h1 { font-size: 30px; overflow: hidden; text-overflow: ellipsis; }
.coin-title .muted { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.coin-tags { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.coin-tags .tag { margin-left: 0; }
.tag.live { color: var(--live); border-color: color-mix(in srgb, var(--live) 45%, transparent); }
.coin-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.coin-actions .ca { height: 36px; font-size: 12.5px; }
.chart { height: 460px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.chart iframe { width: 100%; height: 100%; border: 0; display: block; }
.chart .empty-note { display: grid; place-items: center; height: 100%; }
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 28px; }
.info-grid div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 13px; min-width: 0; }
.info-grid dt { color: var(--muted); }
.info-grid dd { font-family: var(--mono); text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.panel h3 { font-size: 16px; margin: 0 0 10px; }
.panel h3 + .muted { margin: -6px 0 12px; font-size: 13px; }
.panel-block + .panel-block { margin-top: 20px; }
@media (max-width: 860px) {
  .coin-head { flex-wrap: wrap; }
  .coin-tags { margin-left: 0; width: 100%; justify-content: flex-start; }
  .info-grid { grid-template-columns: 1fr; }
  .chart { height: 380px; }
}

.brand-tk { font-size: 11px; color: var(--muted); font-weight: 400; }
.moves { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; }
.move { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13px; min-width: 0; }
.move:nth-child(-n+2) { border-top: 0; }
.move img, .move .fb { width: 22px; height: 22px; border-radius: 50%; flex: none; background: var(--soft); }
.move b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.move .dir { font-family: var(--mono); font-size: 11px; padding: 1px 7px; border-radius: 999px; flex: none; }
.move .dir.in { color: var(--up); background: color-mix(in srgb, var(--up) 12%, transparent); }
.move .dir.out { color: var(--down); background: color-mix(in srgb, var(--down) 12%, transparent); }
.move .r { margin-left: auto; color: var(--muted); font-size: 12px; white-space: nowrap; }
.move[data-mint] { cursor: pointer; }
@media (max-width: 860px) { .moves { grid-template-columns: 1fr; } .move:nth-child(2) { border-top: 1px solid var(--line); } }

/* the 100 map */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.chip:hover { color: var(--text); }
.chip.on { color: var(--text); border-color: var(--line-2); background: var(--card); }
.map { position: relative; height: min(68vh, 640px); min-height: 420px; border-radius: 10px; overflow: hidden; background: var(--card); border: 1px solid var(--line); }
.map-loading { display: grid; place-items: center; height: 100%; color: var(--muted); }
.sector { position: absolute; }
.sector-label { position: absolute; left: 8px; top: 3px; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.tile { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; overflow: hidden; border-radius: 6px; background: var(--card-2); cursor: pointer; transition: filter 0.15s; text-align: center; }
.tile:hover { filter: brightness(1.15); }
:root[data-theme='light'] .tile:hover { filter: brightness(0.96); }
.tile .bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.08; filter: blur(14px); }
.tile .logo, .tile .fallback { position: relative; border-radius: 50%; object-fit: cover; }
.tile .fallback { display: grid; place-items: center; background: var(--soft); color: var(--muted); font-weight: 600; }
.tile .sym { position: relative; font-weight: 600; line-height: 1; }
.tile .cap, .tile .chg { position: relative; font-family: var(--mono); color: var(--muted); line-height: 1.1; }
.tile .chg.up { color: var(--up); }
.tile .chg.down { color: var(--down); }
.tile.live { outline: 1.5px solid var(--live); outline-offset: -1.5px; }
.tile .badge { position: absolute; top: 5px; right: 5px; font-size: 9px; font-weight: 600; padding: 1px 5px; border-radius: 4px; background: var(--live); color: #fff; }
.tip { position: fixed; z-index: 50; pointer-events: none; opacity: 0; transition: opacity 0.12s; width: 240px; padding: 12px; border-radius: 10px; background: var(--card); border: 1px solid var(--line-2); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); font-size: 12.5px; }
.tip.show { opacity: 1; }
.tip-h { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.tip-h img { width: 32px; height: 32px; border-radius: 50%; }
.tip-h span { display: block; color: var(--muted); font-size: 11.5px; }
.tip dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; }
.tip dt { color: var(--muted); }
.tip dd { text-align: right; font-family: var(--mono); }

/* rotation */
.sched { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.slot { padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); display: grid; gap: 10px; }
.slot.now { border-color: var(--live); }
.slot-top { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); font-family: var(--mono); }
.slot.now .slot-top span:first-child { color: var(--live); font-weight: 600; }
.slot-tok { display: flex; gap: 10px; align-items: center; min-width: 0; }
.slot-tok img { width: 30px; height: 30px; border-radius: 50%; }
.slot-tok b { display: block; }
.slot-tok span { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* drops table */
.table-wrap { border: 1px solid var(--line); border-radius: 10px; overflow-x: auto; background: var(--card); }
table.drops { width: 100%; border-collapse: collapse; font-size: 13px; }
.drops th { text-align: left; font-weight: 500; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; padding: 11px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.drops td { padding: 11px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.drops tr:last-child td { border-bottom: 0; }
.drops .r { text-align: right; }
.drops tr.row { cursor: pointer; }
.drops tr.row:hover td { background: var(--hover); }
.drops a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.tok { display: flex; align-items: center; gap: 8px; }
.tok img { width: 20px; height: 20px; border-radius: 50%; }
.drops .empty { text-align: center; padding: 40px 14px; color: var(--muted); white-space: normal; }
.drops .empty b { display: block; color: var(--text); margin-bottom: 4px; }
.detail td { background: var(--soft); }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; white-space: normal; }
.detail h5 { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 500; margin-bottom: 8px; }
.txs { display: flex; flex-wrap: wrap; gap: 6px 10px; font-family: var(--mono); font-size: 12px; }
.tops div { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; padding: 2px 0; }
.pager { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.pager button { min-width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); font-size: 13px; }
.pager button.on { background: var(--solid); color: var(--solid-text); border-color: var(--solid); }
.pager button:disabled { opacity: 0.4; cursor: default; }
.pager .gap { padding: 0 4px; color: var(--muted); }
.pager .info { margin-left: auto; font-size: 12px; color: var(--muted); }

/* docs */
.thesis { display: flex; gap: 22px; align-items: center; padding: 24px 26px; border-radius: 10px; background: var(--feature); color: var(--feature-text); }
.thesis img { flex: none; }
.thesis .eyebrow { color: var(--feature-muted); }
.thesis h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 6px 0 8px; }
.thesis p:last-child { color: var(--feature-muted); max-width: 640px; }
@media (max-width: 560px) { .thesis { flex-direction: column; align-items: flex-start; } .thesis img { width: 64px; height: 64px; } }
.doc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.doc-card { padding: 18px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); }
.doc-card .num { font-size: 12px; color: var(--muted); }
.doc-card h3 { font-size: 17px; margin: 10px 0 8px; }
.doc-card p { color: var(--muted); font-size: 13.5px; }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--card); }
.flow > div { padding: 14px 16px; border-left: 1px solid var(--line); }
.flow > div:first-child { border-left: 0; }
.flow .mono { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.flow p { color: var(--muted); font-size: 13px; margin-top: 4px; }
.faq { display: grid; border: 1px solid var(--line); border-radius: 10px; background: var(--card); overflow: hidden; }
.faq details { border-top: 1px solid var(--line); }
.faq details:first-child { border-top: 0; }
.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: '+'; color: var(--muted); }
.faq details[open] summary::after { content: '−'; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { padding: 0 18px 16px; color: var(--muted); max-width: 720px; }

/* treasury */
.treasury { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.treasury .ca-box { flex: 1; min-width: 0; }
.treasury .ca { font-size: 13px; }

.foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 18px 22px; border-top: 1px solid var(--line); font-size: 12px; }
.toast { position: fixed; bottom: 20px; left: 50%; transform: translate(-50%, 10px); padding: 9px 16px; border-radius: 8px; background: var(--solid); color: var(--solid-text); font-size: 13px; opacity: 0; pointer-events: none; transition: 0.2s; z-index: 60; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* responsive */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature { grid-template-columns: 1fr; }
  .feature-art { display: none; }
  .stats5 { grid-template-columns: repeat(3, 1fr); }
  .stats5 > div:nth-child(4) { border-left: 0; }
  .stats5 > div:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .side { position: fixed; left: 0; top: 0; z-index: 40; transform: translateX(-100%); transition: transform 0.22s ease; }
  .side.open { transform: none; }
  .scrim { position: fixed; inset: 0; z-index: 30; background: rgba(0, 0, 0, 0.45); }
  .side.open + .scrim { display: block; }
  .burger { display: flex; }
  .top { padding: 0 16px; }
  .content { width: calc(100% - 32px); margin-top: 16px; }
  .split, .pair-how, .doc-grid, .detail-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow > div:nth-child(3) { border-left: 0; }
  .flow > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .page-h { flex-direction: column; align-items: flex-start; }
  .meta { text-align: left; }
  .announce { padding: 6px 36px; font-size: 12px; }
  .announce b { display: none; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .stats5 { grid-template-columns: 1fr 1fr; }
  .stats5 > div { border-left: 0 !important; border-top: 1px solid var(--line); }
  .stats5 > div:nth-child(even) { border-left: 1px solid var(--line) !important; }
  .stats5 > div:nth-child(-n+2) { border-top: 0; }
  .feature { padding: 20px; }
  .top-right .btn { padding: 0 12px; }
  .crumbs .muted, .crumbs .sep { display: none; }
  .hint { flex-direction: column; align-items: flex-start; gap: 4px; }
  .map { min-height: 360px; }
  .sort .muted { display: none; }
  .search { width: 100%; }
}
.foot-x:hover { color: var(--text); }

/* drops page */
.drops td .when { display: block; color: var(--text); }
.drops td .when + .small { display: block; font-size: 11px; }
.drops .chev { display: inline-block; margin-left: 4px; color: var(--muted); transition: transform 0.15s; }
.drops tr.row.open .chev { transform: rotate(180deg); }
.drops tr.row.open td { background: var(--hover); }
.detail-wrap { display: grid; gap: 10px; white-space: normal; padding: 4px 0; }
.detail-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: 13px; }
.detail-head .search { margin-left: auto; }
.search.sm { height: 30px; width: 200px; }
.rec-wrap { max-height: 360px; overflow: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--card); }
table.rec { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.rec th { position: sticky; top: 0; background: var(--card); text-align: left; font-weight: 500; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); padding: 8px 12px; border-bottom: 1px solid var(--line); }
.rec td { padding: 7px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.rec tr:last-child td { border-bottom: 0; }
.rec .r { text-align: right; }
.rec a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.lookup { display: flex; gap: 8px; flex-wrap: wrap; }
.lookup .search { flex: 1; width: auto; min-width: 240px; }
.w-coins { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
#walletBox .panel-h a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) { .detail-head .search { margin-left: 0; width: 100%; } .lookup .btn { width: 100%; } }
