/* CEXQA — light data workspace. Shared tokens across every page. */
:root {
  --site-max-width: 1440px;
  --bg: #FFFFFF; --panel: #FFFFFF; --soft: #EDF5F0;
  --ink: #15251F; --body: #34483E; --text2: #455A50; --muted: #5C6B64; --faint: #66766D;
  --line: #DEE7E1; --line2: #CDDCD3; --hair: #E8EEE9;
  --accent: #087A53; --accent-hover: #06583C;
  --logo-ring: #1F1D1A; --logo-dot: #F2A33A; --logo-a: #9A3412; --logo-b: #1F1D1A;
  --up: #3F6212; --down: #B42318; --warn: #A15C07;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { max-width: var(--site-max-width); margin: 0 auto; background: var(--bg); color: var(--ink); font: 16px/1.75 var(--sans); }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }
b, strong { font-weight: 600; }
.serif { font-family: var(--sans); }
.muted { color: var(--faint); font-size: 14px; }
.num { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- frame ---------- */
.wrap { max-width: 880px; margin: 0 auto; padding: 0 20px; }
.col { max-width: 720px; margin: 0 auto; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; }
.brand:hover { text-decoration: none; }
.logo { display: block; height: 30px; width: auto; }
.logo-ring { stroke: var(--logo-ring); }
.logo-dot { fill: var(--logo-dot); }
.logo-tail { fill: none; stroke: var(--logo-dot); stroke-width: 13.2; stroke-linecap: round; }
.logo-a { fill: var(--logo-a); }
.logo-badge { fill: #000; }
.logo-wordmark .logo-a { fill: #FFF; }
.logo-b { fill: var(--logo-b); }
.nav { display: flex; gap: 28px; font-size: 15px; }
.nav a { color: var(--muted); }
.nav a[aria-current="page"], .nav a:hover { color: var(--ink); text-decoration: none; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 0; top: 48px; z-index: 10; min-width: 180px; padding: 8px; background: var(--panel); border: 1px solid var(--line2); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.menu nav a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--ink); }
.menu nav a:hover { background: var(--soft); text-decoration: none; }

main { padding: 56px 0 64px; }
.site-footer .wrap { padding: 32px 20px 44px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.8; color: var(--faint); }
.site-footer p { margin: 0 0 6px; }
.site-footer a { color: var(--muted); }
.site-footer .ex { display: flex; flex-wrap: wrap; gap: 2px 14px; }

/* ---------- type ---------- */
.crumbs { position: sticky; top: 0; z-index: 15; min-height: 48px; padding: 12px 0; margin: -12px 0 18px; background: var(--panel); border-bottom: 1px solid var(--hair); font-size: 14px; color: var(--faint); white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.crumbs::-webkit-scrollbar { display: none; }
.crumbs a { color: var(--faint); }
h1.title { margin: 0 0 18px; font-family: var(--sans); font-size: 40px; line-height: 1.35; font-weight: 700; }
h1.title small { font-size: .62em; font-weight: 500; color: var(--muted); }
.lead { margin: 0 0 20px; font-size: 19px; line-height: 1.85; color: var(--text2); }
.lead b { color: var(--ink); }
h2.sec { margin: 44px 0 14px; font-family: var(--sans); font-size: 24px; font-weight: 700; line-height: 1.4; }
h2.sec .more { font-family: var(--sans); font-size: 14px; font-weight: 400; margin-left: 10px; }
.kicker { font-size: 13px; letter-spacing: 2px; color: var(--accent); }
.meta { font-size: 14px; color: var(--faint); }
p.body { margin: 0 0 14px; font-size: 17px; line-height: 1.9; color: var(--body); }

/* ---------- search ---------- */
.search { position: relative; margin: 26px 0 12px; }
.search label { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 22px; background: var(--panel); border: 1px solid var(--line2); border-radius: 28px; }
.search label:focus-within { border-color: var(--accent); }
.search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font: inherit; font-size: 17px; color: var(--ink); }
.results { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: var(--panel); border: 1px solid var(--line2); border-radius: 16px; box-shadow: 0 12px 32px rgba(0,0,0,.08); }
.results a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 14px; border-radius: 10px; color: var(--ink); white-space: pre; }
.results a:hover, .results a.on { background: var(--soft); text-decoration: none; }
.results small { color: var(--faint); }
.results .empty { padding: 9px 14px; color: var(--faint); }

/* ---------- pieces ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 14px; border: 1px solid var(--line2); border-radius: 999px; font-size: 14px; color: var(--text2); }
.chips a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.chips small { font-size: 12px; color: var(--faint); }
.chips.inline { font-size: 14px; color: var(--faint); align-items: baseline; }
.chips.inline a { padding: 0; border: 0; color: var(--accent); }

.callout { margin: 20px 0; padding: 18px 22px; background: var(--soft); border-radius: 12px; font-size: 16px; line-height: 1.85; color: var(--text2); }
.callout b { color: var(--ink); }
.callout ul { margin: 6px 0 0; padding-left: 20px; }

.section { padding: 36px 0; border-top: 1px solid var(--line); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
.feature h2 { margin: 12px 0 0; font-family: var(--sans); font-size: 30px; line-height: 1.4; font-weight: 700; }
.feature h2 a { color: var(--ink); }
.feature p { margin: 12px 0 0; font-size: 17px; line-height: 1.85; color: var(--text2); }

/* plain lists of sentences (changes, announcements on the home page) */
.lines { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; font-size: 16px; line-height: 1.7; }
.lines .src { font-size: 13px; color: var(--faint); }

/* announcements / events list with a label column */
.feed { margin: 0; padding: 0; list-style: none; }
.feed li { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--hair); }
.feed .who { font-size: 14px; color: var(--muted); padding-top: 2px; }
.feed .what { font-size: 17px; line-height: 1.7; }
.feed .orig { font-size: 14px; line-height: 1.7; color: var(--faint); margin-top: 2px; }
.feed .orig a, .feed .orig span { white-space: nowrap; }
.feed .kind { font-size: 12px; margin-left: 8px; color: var(--accent); }
.feed .kind.up { color: var(--up); }
.feed .kind.down { color: var(--down); }
.feed .coin { font-size: 13px; margin-left: 6px; }
.day { margin: 32px 0 0; padding-bottom: 8px; border-bottom: 1px solid var(--line2); font-family: var(--sans); font-size: 20px; font-weight: 700; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 12px; }
.filters button { font: inherit; font-size: 14px; padding: 6px 16px; border-radius: 999px; border: 1px solid var(--line2); background: transparent; color: var(--text2); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; }
table.t { width: 100%; border-collapse: collapse; font-size: 15px; }
.t th { text-align: left; font-weight: 500; color: var(--faint); font-size: 13px; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line2); white-space: nowrap; }
.t td { padding: 11px 12px 11px 0; border-bottom: 1px solid var(--hair); vertical-align: top; }
.t th:last-child, .t td:last-child { padding-right: 0; }
.t .lo, .nets .lo { color: var(--accent); font-weight: 600; }
.ok { color: var(--up); }
.bad { color: var(--down); }

/* withdrawal fees grouped by network: grid on desktop, stacked on phones */
.nets { border-top: 1px solid var(--line2); }
.net { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--hair); }
.net-name { font-family: var(--sans); font-weight: 700; font-size: 16px; line-height: 1.6; }
.net-name small { display: block; font-family: var(--sans); font-weight: 400; font-size: 12px; color: var(--faint); }
.net-rows { display: flex; flex-direction: column; }
.net-row { display: grid; grid-template-columns: minmax(0, 1fr) 110px 110px 84px; gap: 8px; font-size: 15px; line-height: 1.9; font-variant-numeric: tabular-nums; }
.net-row > :nth-child(n+2) { text-align: right; }
.net-head { font-size: 12px; color: var(--faint); }
.nets-more > summary { list-style: none; cursor: pointer; color: var(--accent); font-size: 15px; padding: 12px 0; }
.nets-more > summary::-webkit-details-marker { display: none; }
.nets-more[open] > summary { display: none; }

/* key-value facts */
.facts { margin: 24px 0; border-top: 1px solid var(--hair); }
.facts > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--hair); font-size: 16px; line-height: 1.7; }
.facts dt, .facts .k { color: var(--faint); font-size: 14px; padding-top: 2px; }
.facts dd { margin: 0; }

.official { display: flex; align-items: center; gap: 18px; margin: 24px 0 8px; padding: 20px 24px; background: var(--panel); border: 1px solid var(--line2); border-radius: 14px; }
.official svg { flex: none; color: var(--accent); }
.official .url { font-size: 20px; font-weight: 500; word-break: break-all; }
.official .grow { flex: 1; min-width: 0; }
.badge { flex: none; font-size: 13px; color: var(--faint); border: 1px solid var(--line2); border-radius: 999px; padding: 3px 12px; white-space: nowrap; }
.badge.ok { color: var(--up); border-color: currentColor; }

/* FAQ */
.qa h3 { margin: 22px 0 6px; font-size: 18px; font-weight: 600; }
.qa p { margin: 0; font-size: 16px; line-height: 1.85; color: var(--text2); }

/* ---------- article ---------- */
.post-grid { display: grid; grid-template-columns: 180px minmax(0, 680px); gap: 80px; max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.toc { grid-column: 2; grid-row: 1; position: sticky; top: 72px; align-self: start; margin-top: 90px; padding-left: 20px; border-left: 1px solid var(--line); max-height: calc(100dvh - 96px); overflow-y: auto; font-size: 14px; line-height: 2; }
.post { grid-column: 1; grid-row: 1; min-width: 0; }
.toc a { display: block; color: var(--muted); }
.post h1.title { font-size: 38px; }
.post-body { container-type: inline-size; font-size: 17px; line-height: 1.9; color: var(--body); }
.post-body h2 { margin: 40px 0 12px; font-family: var(--sans); font-size: 24px; line-height: 1.4; color: var(--ink); scroll-margin-top: 20px; }
.post-body h3 { margin: 28px 0 8px; font-size: 18px; color: var(--ink); }
.post-body p { margin: 0 0 16px; }
.post-body ul, .post-body ol { padding-left: 22px; margin: 0 0 16px; }
.post-body li { margin: 4px 0; }
.post-body code { background: var(--soft); padding: 1px 6px; border-radius: 4px; font-size: 15px; }
.post-body blockquote { margin: 16px 0; padding: 14px 20px; background: var(--soft); border-radius: 12px; color: var(--text2); }
.post-body hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.post-body .nets { margin: 20px 0 8px; }
.post-body .muted { font-size: 13px; line-height: 1.8; }
@container (max-width: 680px) {
  .post-body .net { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .post-body .net-row { grid-template-columns: minmax(64px, 1fr) 80px 64px 56px; gap: 6px; font-size: 14px; }
}
.sources { padding-left: 20px; font-size: 15px; line-height: 1.9; }
.disclose { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.8; color: var(--faint); }

.qa-list { list-style: none; margin: 0; padding: 0; }
.qa-list li { padding: 20px 0; border-bottom: 1px solid var(--hair); }
.qa-list a.t1 { font-family: var(--sans); font-size: 21px; font-weight: 700; line-height: 1.5; color: var(--ink); }
.qa-list p { margin: 6px 0 0; font-size: 15px; line-height: 1.8; color: var(--text2); }

/* ---------- phones ---------- */
@media (max-width: 1100px) {
  .post-grid { display: block; max-width: 720px; }
  .toc { display: none; }
}
@media (max-width: 700px) {
  body { font-size: 15px; }
  .site-header .wrap { height: 60px; }
  .logo { height: 26px; }
  .nav { display: none; }
  .menu { display: block; }
  main { padding: 28px 0 44px; }
  h1.title, .post h1.title { font-size: 28px; }
  .lead { font-size: 16px; }
  h2.sec { font-size: 21px; margin-top: 36px; }
  .feature h2 { font-size: 22px; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .split > div + div { margin-top: 32px; }
  .search label { height: 50px; padding: 0 16px; }
  .feed li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .net { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .net-row { grid-template-columns: minmax(0, 1fr) 80px 64px 56px; font-size: 14px; }
  .facts > div { grid-template-columns: 100px minmax(0, 1fr); }
  .official { padding: 16px; gap: 12px; flex-wrap: wrap; }
  .official .url { font-size: 16px; }
  .post-body { font-size: 16px; }
}
.net-row a { color: var(--ink); }
.net-row a:hover { color: var(--accent); }
/* Exchange titles sometimes chain tickers without spaces ("CAMP,WHITEWHALE,…"):
   let them break instead of widening the page. */
.feed .what, .feed .orig, .lines li, .lead, .callout, .post-body, .qa p { overflow-wrap: anywhere; }

/* ---------- light workspace ---------- */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
html { scroll-padding-top: 64px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 24px; z-index: 100; padding: 10px 20px; background: white; }
.skip-link:focus { top: 12px; }
.icon { display: inline-block; width: 22px; height: 22px; flex: none; vertical-align: middle; }
.site-header { position: fixed; inset: 0 auto 0 max(0px, calc((100% - var(--site-max-width)) / 2)); width: 228px; background: var(--panel); border-right: 1px solid var(--line); z-index: 20; }
.site-header .wrap { height: 100%; border: 0; padding: 32px 14px 24px; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; overflow-y: auto; }
/* A custom 3px thumb replaces the platform scrollbar's visual treatment. */
.site-header .wrap::-webkit-scrollbar { width: 3px; }
.site-header .wrap::-webkit-scrollbar-track { background: transparent; }
.site-header .wrap::-webkit-scrollbar-thumb { background: #CCD6D0; border-radius: 999px; }
.site-header .wrap::-webkit-scrollbar-thumb:hover { background: #99ACA0; }
.site-header .wrap::-webkit-scrollbar-button { display: none; }
@supports not selector(::-webkit-scrollbar) {
  .site-header .wrap { scrollbar-width: thin; scrollbar-color: #CCD6D0 transparent; }
}
.brand-block { flex: none; padding: 0 18px; margin-bottom: 30px; }
.brand { padding: 0; margin: 0; }
.brand-tagline { margin: 10px 0 0; font-size: 12px; line-height: 1.6; color: var(--muted); white-space: nowrap; }
.logo { width: 106.6px; height: auto; }
.nav { flex-direction: column; gap: 7px; font-size: 16px; }
.nav a { display: flex; align-items: center; gap: 20px; min-height: 48px; padding: 10px 18px; border-radius: 8px; color: var(--text2); }
.nav a .icon { opacity: .72; }
.nav a[aria-current="page"] { background: #E1F5EC; color: var(--accent); font-weight: 600; }
.nav a:hover { background: var(--soft); color: var(--accent); }
main, .site-footer { margin-left: 228px; }
main { padding: 32px 36px 24px 56px; }
.wrap { max-width: 1240px; padding: 0; }
.col { max-width: 1040px; margin: 0 auto; }
.site-footer .wrap { padding: 20px 0 28px; }
.site-footer { padding: 0 36px; }
h1.title { font-size: 34px; }
.lead { font-size: 17px; line-height: 1.8; }
.callout { background: #FBF4E6; border-left: 3px solid #BD8126; padding: 14px 18px; font-size: 14px; }
.nets { background: white; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.net { padding: 16px 18px; }
.net-head { color: var(--muted); }
.net-name { font-size: 17px; }
.table-wrap { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 0 16px; }
.post-grid { max-width: 1160px; grid-template-columns: minmax(0, 740px) minmax(160px, 200px); gap: 48px; }
.update-note { text-align: right; color: var(--muted); font-size: 13px; margin-bottom: 4px; }
.update-note span { margin: 0 14px; color: var(--line2); }
.dashboard-intro h1 { margin: 0 0 6px; font-size: clamp(32px, 3.7vw, 54px); font-weight: 700; letter-spacing: -1.5px; line-height: 1.45; }
.dashboard-intro > p { margin: 0; font-size: 17px; color: var(--muted); line-height: 1.8; }
.dashboard .search { margin: 22px 0 12px; }
.dashboard .search-title { display: block; height: auto; padding: 0; border: 0; border-radius: 0; background: none; margin-bottom: 8px; font-size: 18px; font-weight: 600; }
.search-row { display: flex; gap: 8px; }
.search-field { display: flex; align-items: center; gap: 18px; flex: 1; min-width: 0; height: 50px; padding: 0 20px; background: white; border: 1px solid var(--line2); border-radius: 6px; }
.search-field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px #087A5314; }
.search-field input { width: 100%; font-size: 17px; }
.search-field input::placeholder { color: #75847D; }
.search button { width: 130px; flex: none; border: 1px solid var(--accent); border-radius: 6px; background: var(--accent); color: white; font: 600 16px var(--sans); cursor: pointer; }
.search button:hover { background: var(--accent-hover); }
.results { border-radius: 8px; }
.results a { white-space: normal; }
.quick-links { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.quick-links a { border: 1px solid #CBE9DB; border-radius: 999px; background: #E8F5EE; color: var(--accent); padding: 2px 15px; font-size: 13px; }
.popular-section { margin-top: 28px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.section-heading h2 { margin: 0; font-size: 23px; line-height: 1.4; font-weight: 650; display: flex; gap: 14px; align-items: center; }
.section-heading > a { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; flex: none; }
.section-heading > a .icon, .network-link .icon, .guide-link .icon { width: 17px; height: 17px; }
.coin-table-wrap { background: white; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.coin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.coin-table th { background: #EFF4F1; color: var(--text2); font-size: 14px; font-weight: 400; text-align: left; padding: 10px 16px; }
.coin-table th:first-child { width: 19%; }
.coin-table th:last-child { width: 160px; }
.coin-table td { border-top: 1px solid var(--line); padding: 10px 16px; height: 65px; }
.coin-table tbody tr:hover { background: #FAFCFB; }
.coin-identity { display: flex; align-items: center; gap: 16px; color: var(--ink); }
.coin-identity strong { display: block; font-size: 16px; font-weight: 600; line-height: 1.5; }
.coin-identity small { display: block; font-size: 13px; color: var(--muted); line-height: 1.5; }
.coin-logo { width: 40px; height: 40px; object-fit: contain; flex: none; }
.market-icons { display: flex; align-items: center; gap: 6px; }
.market-icons a { display: inline-flex; padding: 3px; border-radius: 6px; }
.market-icons a:hover { background: var(--soft); }
.market-icons .exchange-icon { width: 20px; height: 20px; }
@media (max-width: 800px) {
  .market-icons { gap: 2px; }
  .market-icons .exchange-icon { width: 18px; height: 18px; }
}
.coverage { font-size: 13px; color: var(--muted); white-space: nowrap; margin-left: 6px; }
.network-link { display: inline-flex; align-items: center; gap: 16px; padding: 5px 17px; color: var(--accent); border: 1px solid #CFE8DC; border-radius: 999px; background: #EFF8F3; white-space: nowrap; font-size: 13px; }
.network-link:hover { background: #E1F5EC; text-decoration: none; }
.dashboard-support { display: grid; grid-template-columns: 1fr 1.07fr; gap: 28px; margin-top: 28px; }
.desk-panel { border: 1px solid var(--line); background: white; border-radius: 8px; padding: 20px 22px; min-width: 0; }
.desk-panel .section-heading h2 { font-size: 20px; }
.recent-events { list-style: none; margin: 0; padding: 0; font-size: 13px; }
.recent-events li { display: flex; align-items: baseline; gap: 20px; padding: 12px 0; border-top: 1px solid var(--line); line-height: 1.65; }
.recent-events time { color: var(--muted); font-size: 12px; white-space: nowrap; }
.event-network { color: var(--muted); }
.guide-panel ol { list-style: decimal; margin: 0 0 12px; padding-left: 30px; }
.guide-panel li { padding-left: 10px; margin-bottom: 12px; font-size: 14px; }
.guide-panel li::marker { color: var(--accent); font-weight: 700; font-size: 18px; }
.guide-panel p { margin: 1px 0 0; font-size: 12px; color: var(--muted); line-height: 1.7; }
.guide-link { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--accent); }
.guide-link .icon { flex: none; margin-top: 3px; }
.coin-directory { margin-top: 4px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.coin-directory > summary { cursor: pointer; color: var(--accent); font-size: 14px; padding: 8px 0; }
.coin-directory summary span { color: var(--muted); font-size: 12px; margin-left: 12px; }
.coin-directory .chips { padding-top: 14px; }
.home-announcements { padding: 28px 0; }
.home-announcements .feed { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 0 20px; }
.home-announcements .feed .what { font-size: 15px; }
.home-announcements .feed .orig { font-size: 12px; }
@media (max-width: 1150px) {
  .site-header { width: 188px; }
  main, .site-footer { margin-left: 188px; }
  main { padding: 26px 24px; }
  .site-footer { padding: 0 24px; }
  .nav a { gap: 14px; padding-left: 14px; }
  .dashboard-intro h1 { font-size: 36px; }
  .dashboard-support { gap: 16px; }
  .desk-panel { padding: 18px; }
  .recent-events li { flex-direction: column; gap: 3px; }
}
@media (max-width: 800px) {
  .site-header { position: sticky; top: 0; width: 100%; height: 64px; border-right: 0; border-bottom: 1px solid var(--line); }
  .site-header .wrap { padding: 0 20px; height: 64px; overflow: visible; flex-direction: row; align-items: center; justify-content: space-between; }
  .brand-block { display: flex; align-items: center; flex-wrap: nowrap; gap: 12px; padding: 0; margin: 0; }
  .brand { padding: 0; margin: 0; }
  .brand-tagline { font-size: 10px; margin: 0; }
  .logo { width: 91.6px; height: auto; }
  .nav { display: none; }
  .menu { display: block; }
  .menu nav a { display: flex; align-items: center; gap: 14px; }
  .menu nav a[aria-current="page"] { background: var(--soft); color: var(--accent); }
  main, .site-footer { margin-left: 0; }
  main { padding: 22px 20px; }
  .site-footer { padding: 0 20px; }
  .update-note { text-align: left; font-size: 11px; margin-bottom: 18px; }
  .update-note span { margin: 0 6px; }
  .dashboard-intro h1 { font-size: 32px; letter-spacing: -.8px; }
  .dashboard-intro > p { font-size: 14px; margin-top: 8px; }
  .dashboard .search { margin-top: 22px; }
  .dashboard .search-title { font-size: 16px; }
  .search-field { padding: 0 12px; gap: 10px; }
  .search-field input { font-size: 15px; }
  .search button { width: 76px; font-size: 15px; }
  .quick-links { gap: 7px; font-size: 12px; }
  .quick-links a { padding: 2px 10px; font-size: 12px; }
  .section-heading h2 { font-size: 20px; }
  .section-heading > a { font-size: 12px; gap: 5px; }
  .coin-table th { padding: 10px 12px; font-size: 12px; }
  .coin-table td { padding: 12px; }
  .coin-table th:first-child { width: 38%; }
  .coin-table th:last-child { width: auto; }
  .coin-table th:last-child, .coin-table td:last-child { text-align: right; }
  .coin-identity { gap: 10px; }
  .coin-logo { width: 34px; height: 34px; }
  .network-link { padding: 6px 12px; gap: 8px; }
  .dashboard-support { grid-template-columns: 1fr; gap: 16px; margin-top: 20px; }
  .recent-events li { flex-direction: row; gap: 14px; }
  .desk-panel { padding: 18px; }
  .results a { font-size: 14px; }
  .results small { font-size: 11px; }
  .coin-directory summary span { display: block; margin-left: 16px; }
  .post-grid { padding: 0; }
  .net { padding: 14px 12px; }
  html { scroll-padding-top: 128px; }
  .crumbs { top: 64px; }
}

.nav a[aria-current="page"] .icon, .section-heading h2 .icon { filter: invert(31%) sepia(34%) saturate(1438%) hue-rotate(112deg) brightness(90%); }

.coin-identity > span { min-width: 0; }
.coin-identity small { max-width: 200px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.coin-logo { border-radius: 50%; }

@media (max-width: 800px) {
  .dashboard-intro h1 span { display: block; }
  .coin-identity small { max-width: 120px; }
}

@media (max-width: 800px) {
  .menu { order: 3; margin-left: auto; }
}

/* Product polish: neutral reading palette and consistent data semantics. */
:root {
  --ink: #202421; --body: #363C38; --text2: #48504B; --muted: #626B65; --faint: #69736C;
  --line: #E1E6E2; --line2: #CFD7D1; --hair: #EDF0ED; --soft: #F3F6F3;
}
[hidden] { display: none !important; }
h1.title { letter-spacing: -.7px; }
.lead { max-width: 900px; }
.t th.num, .t td.num { text-align: right; font-variant-numeric: tabular-nums; }
.t tbody tr:hover { background: #F7FAF8; }
.t tbody tr:last-child td { border-bottom: 0; }
.t td, .facts, .meta { font-variant-numeric: tabular-nums; }
.nets-more[open] > summary { display: list-item; }
.nets-more > summary { list-style: disclosure-closed inside; }
.nets-more[open] > summary { list-style-type: disclosure-open; }
.data-legend { margin: 8px 0 18px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.mobile-coverage { display: none; }
.data-freshness { margin: 14px 0; padding: 12px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); scroll-margin-top: 16px; }
.data-freshness summary { cursor: pointer; color: var(--text2); min-height: 32px; }
.data-freshness summary span { font-size: 12px; color: var(--muted); margin-left: 10px; }
.data-freshness > p { max-width: 850px; margin: 8px 0 12px; }
.freshness-list { display: grid; gap: 10px; }
.freshness-list > div { display: grid; grid-template-columns: 75px 1fr 1fr; gap: 4px 16px; padding: 8px 0; border-bottom: 1px solid var(--hair); }
.freshness-list .snapshot-status { grid-column: 3; }
.snapshot-status { font-size: 11px; color: var(--muted); }
.snapshot-status.is-stale { color: var(--warn); }
.coin-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 24px 0; font-size: 14px; }
.action-primary { display: inline-flex; min-height: 42px; align-items: center; padding: 8px 16px; background: var(--accent); border-radius: 6px; color: #fff; font-weight: 600; }
.action-primary:hover { background: var(--accent-hover); color: #fff; text-decoration: none; }
.lowest-label { display: block; width: fit-content; margin: 4px 0 0 auto; padding: 0 5px; border-radius: 3px; background: #EAF5EE; color: var(--accent); font-size: 10px; line-height: 1.6; font-weight: 500; }
.status-chip { display: inline-block; font-size: 11px; padding: 1px 6px; border-radius: 4px; white-space: nowrap; }
.status-chip.is-ok { color: #276B4B; background: #F0F7F2; }
.status-chip.is-paused { color: #A13C30; background: #FFF1EC; }
.contract-cell code { display: block; font: 12px/1.8 ui-monospace, Menlo, monospace; overflow-wrap: anywhere; }
.copy-contract { padding: 4px 8px; min-height: 32px; margin-top: 6px; color: var(--accent); background: #F3F7F4; border: 1px solid var(--line); border-radius: 4px; font: 12px var(--sans); cursor: pointer; }
#official, #networks, #markets, .nets-more { scroll-margin-top: 12px; }
@media (max-width: 800px) {
  h1.title { font-size: 28px; line-height: 1.45; }
  .lead { font-size: 15px; line-height: 1.8; }
  .freshness-list > div { grid-template-columns: 72px minmax(0, 1fr); }
  .freshness-list > div > :nth-child(n+3) { grid-column: 2; }
  .data-freshness summary span { display: block; margin: 4px 0 0 16px; }
  #official, #networks, #markets, .nets-more { scroll-margin-top: 12px; }
}
@media (max-width: 600px) {
  .coin-actions { gap: 10px 14px; margin: 18px 0; font-size: 13px; }
}


.coin-alert summary { cursor: pointer; font-size: 13px; }
.coin-alert ul { padding-top: 10px; }
.coin-network-controls { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin: 18px 0 12px; }
.coin-network-controls label { display: flex; align-items: center; gap: 12px; font-size: 13px; min-width: 0; }
.coin-network-controls select { max-width: 350px; min-width: 180px; height: 42px; background: white; color: var(--ink); border: 1px solid var(--line2); border-radius: 6px; padding: 0 12px; font: 14px var(--sans); }
@media (max-width: 600px) {
  .coin-network-controls { flex-wrap: wrap; gap: 6px; }
  .coin-network-controls label { width: 100%; }
  .coin-network-controls select { width: 100%; min-width: 0; flex: 1; }
  .coin-network-controls .muted { font-size: 12px; }
}

/* Exchange identity and SVG disclosure/navigation arrows. */
.exchange-icon { display: inline-block; width: 18px; height: 18px; object-fit: contain; border-radius: 4px; vertical-align: -.2em; flex: none; }
.exchange-label { display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; white-space: nowrap; }
.feed .who.exchange-label { align-self: start; white-space: normal; }
.site-footer .exchange-icon, .crumbs .exchange-icon { width: 14px; height: 14px; }
.exchange-title .exchange-icon { width: 32px; height: 32px; margin-right: 12px; }
.freshness-list > div { grid-template-columns: 96px 1fr 1fr; }
.inline-arrow { display: inline-block; width: 14px; height: 14px; vertical-align: -.15em; opacity: .75; }
.dropdown-chevron { width: 16px; height: 16px; flex: none; opacity: .65; }
.fee-exchange-picker[open] .dropdown-chevron { transform: rotate(180deg); }
details > summary, details.nets-more > summary, details.nets-more[open] > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }
details > summary::marker { content: ""; }
details:not(.menu):not(.fee-exchange-picker) > summary::before { content: ""; display: inline-block; width: 15px; height: 15px; margin-right: 6px; vertical-align: -.16em; background: currentColor; -webkit-mask: url('/assets/icons/chevron-down.svg') center / contain no-repeat; mask: url('/assets/icons/chevron-down.svg') center / contain no-repeat; transform: rotate(-90deg); transition: transform .15s; }
details[open]:not(.menu):not(.fee-exchange-picker) > summary::before { transform: rotate(0); }
@media (max-width: 800px) {
  .freshness-list > div { grid-template-columns: 88px minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { details > summary::before { transition: none !important; } }

/* Shared identity scale: names stay readable even when an asset is unavailable. */
.asset-icon { display: inline-block; width: 20px; height: 20px; object-fit: contain; flex: 0 0 auto; vertical-align: -.2em; border-radius: 50%; }
.asset-icon[hidden] { display: none !important; }
.asset-label { display: inline-flex; align-items: center; gap: 8px; vertical-align: middle; min-width: 0; max-width: 100%; }
.asset-label > span { min-width: 0; overflow-wrap: anywhere; }
.coin-identity > .asset-icon { width: 36px; height: 36px; }
.coin-identity { gap: 12px; }
.chips a { align-items: center; min-height: 36px; }
.chips .asset-icon, .quick-links .asset-icon, .feed .what .asset-icon { width: 16px; height: 16px; }
.quick-links { flex-wrap: wrap; gap: 8px; }
.quick-links > span { margin-right: 4px; }
.quick-links a { min-height: 34px; padding: 4px 12px; gap: 6px; background: #F7FAF8; border-color: var(--line); }
.quick-links a:hover { background: #E8F5EE; border-color: #ABCBBB; text-decoration: none; }
.coin-table td { padding-top: 14px; padding-bottom: 14px; }
.coin-title { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.coin-title > .asset-label { gap: 12px; }
.coin-title .asset-icon { width: 32px; height: 32px; }
.coin-title-detail { color: var(--text2); font-size: .78em; font-weight: 500; }
.fee-section-heading .asset-icon { width: 26px; height: 26px; }
.fee-network-cell .asset-label { gap: 8px; }
.fee-network-cell .asset-label > span { line-height: 1.5; }
@media (max-width: 680px) {
  .quick-links > span { flex-basis: 100%; }
  .quick-links a { min-height: 36px; padding: 4px 10px; }
  .coin-identity > .asset-icon { width: 30px; height: 30px; }
  .coin-title { gap: 6px; }
  .coin-title-detail { flex-basis: 100%; font-size: 18px; line-height: 1.6; }
  .coin-title .asset-icon { width: 30px; height: 30px; }
  .fee-network-cell .asset-label { gap: 6px; }
  .fee-network-cell .asset-icon { width: 18px; height: 18px; }
  .fee-controls .fee-reset, .fee-share, .copy-contract { min-height: 44px; }
}

/* ---------- coin page: network × exchange matrix ---------- */
.coin-matrix-wrap { padding: 0; }
.coin-matrix th:first-child { padding-left: 16px; }
.coin-matrix tr > :last-child { padding-right: 16px; }
.coin-matrix { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.coin-matrix thead th { position: sticky; top: 0; background: #F7FAF8; font-size: 12px; font-weight: 500; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.coin-matrix thead th:first-child { text-align: left; }
.coin-matrix thead .exchange-label { justify-content: flex-end; color: var(--ink); font-weight: 500; }
.coin-matrix tbody th { text-align: left; font-weight: 500; padding: 10px 12px; vertical-align: top; white-space: nowrap; }
.coin-matrix td { padding: 10px 12px; vertical-align: top; white-space: nowrap; }
.coin-matrix tbody tr + tr > * { border-top: 1px solid var(--hair); }
.coin-matrix .net-raw { display: block; margin-left: 26px; font-size: 11px; font-weight: 400; color: var(--faint); }
.coin-matrix .fee { font-size: 15px; }
.coin-matrix .fee.lo { color: var(--accent); font-weight: 600; }
.coin-matrix .lowest-label { display: inline-block; margin: 0 0 0 4px; vertical-align: 1px; }
.coin-matrix small { display: block; font-size: 11px; line-height: 1.5; }
.coin-matrix .min { color: var(--faint); }
.coin-matrix .paused { color: var(--down); font-weight: 500; }
.coin-matrix .is-empty, .coin-matrix .fee .muted { color: var(--faint); font-size: 13px; }
.matrix-warning { display: block; margin-left: 26px; font-size: 11px; font-weight: 500; color: var(--warn); }
.matrix-more { display: block; margin: 10px 0 0; padding: 8px 0; border: 0; background: none; font: inherit; font-size: 14px; color: var(--accent); cursor: pointer; }
.matrix-more:hover { text-decoration: underline; }
.matrix-notes { margin-top: 10px; }

@media (max-width: 600px) {
  /* Cards: one per network, one line per exchange that has data. */
  .coin-matrix-wrap { border: 0; padding: 0; background: none; overflow: visible; }
  .coin-matrix, .coin-matrix tbody, .coin-matrix tr, .coin-matrix th, .coin-matrix td { display: block; }
  .coin-matrix thead { display: none; }
  .coin-matrix tbody tr { border: 1px solid var(--line); border-radius: 8px; padding: 4px 0; margin-bottom: 10px; }
  .coin-matrix tbody tr[hidden] { display: none; }
  .coin-matrix tbody tr + tr > * { border-top: 0; }
  .coin-matrix tbody th { padding: 8px 16px 6px; white-space: normal; }
  .coin-matrix td { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: flex-end; gap: 0 8px; padding: 6px 16px; white-space: normal; }
  .coin-matrix td::before { content: attr(data-label); order: -2; margin-right: auto; color: var(--text2); }
  .coin-matrix td.is-empty { display: none; }
  .coin-matrix td small { display: inline; order: -1; }
  .coin-matrix .lowest-label { margin: 0; }
}

/* Home popular coins: exchange icons on wider screens, a count on phones. */
@media (max-width: 600px) {
  .coin-table th:nth-child(2), .coin-table td:nth-child(2) { display: none; }
  .mobile-coverage { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; }
}

/* ---------- exchange page: fee table grouped by coin ---------- */
.ex-fee-wrap { padding: 0; }
.ex-fee-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.ex-fee-table thead th { background: #F7FAF8; color: var(--muted); font-size: 12px; font-weight: 500; text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ex-fee-table thead th.num, .ex-fee-table td.num { text-align: right; }
.ex-fee-table tbody + tbody { border-top: 1px solid var(--line); }
.ex-fee-table tbody th { text-align: left; font-weight: 500; vertical-align: top; padding: 10px 12px; width: 22%; }
.ex-fee-table td { padding: 8px 12px; vertical-align: top; border-top: 1px solid var(--hair); }
.ex-fee-table tbody tr:first-child td { border-top: 0; }
.ex-fee-table .fee.lo { color: var(--accent); font-weight: 600; }
.ex-fee-table .lowest-label { display: inline-block; margin: 0 0 0 6px; vertical-align: 1px; }
.ex-fee-table small.min { margin-left: 6px; font-size: 11px; color: var(--faint); }
.ex-fee-table .ex-fee-net, .ex-fee-table tbody th .asset-label { white-space: nowrap; }
.ex-fee-more { display: block; margin: 4px 0 0 26px; font-size: 12px; font-weight: 400; }
.ex-fee-table .bad { color: var(--down); font-weight: 500; }
@media (max-width: 800px) {
  .ex-fee-wrap { border: 0; background: none; overflow: visible; }
  .ex-fee-table, .ex-fee-table tbody, .ex-fee-table tr, .ex-fee-table th, .ex-fee-table td { display: block; }
  .ex-fee-table thead { display: none; }
  .ex-fee-table tbody { border: 1px solid var(--line); border-radius: 8px; margin-bottom: 10px; padding: 4px 0; }
  .ex-fee-table tbody + tbody { border-top: 1px solid var(--line); }
  .ex-fee-table tbody th { width: auto; padding: 8px 14px 4px; }
  .ex-fee-table tr { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; padding: 6px 14px; }
  .ex-fee-table tbody th ~ td, .ex-fee-table td { border: 0; padding: 0; }
  .ex-fee-table tr > th { flex: 0 0 calc(100% + 28px); margin: -6px -14px 4px; }
  .ex-fee-table .ex-fee-net { flex: 1; min-width: 0; }
  .ex-fee-table td[data-label="最小提现"] { order: 2; font-size: 12px; color: var(--faint); }
  .ex-fee-table td[data-label="最小提现"]::before { content: "最少 "; }
  .ex-fee-table td[data-label="手续费"] { order: 3; }
  .ex-fee-table td[data-label="充提状态"] { order: 4; font-size: 12px; }
  .ex-fee-table:not(.no-fees) td.status-ok { display: none; }
}
}

/* ---------- network pages ---------- */
.network-intro { margin: 0 0 18px; }
.network-stats { margin-bottom: 8px; }
.network-stats .bad { color: var(--down); }
.network-index { list-style: none; padding: 0; margin: 20px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.network-index a { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); height: 100%; }
.network-index a:hover { border-color: var(--line2); background: #FAFCFB; text-decoration: none; }
.network-index strong { font-weight: 600; }
.network-index small { font-size: 12px; color: var(--faint); }
.network-index .muted { font-size: 13px; }
.coin-matrix tbody th a.asset-label { color: var(--ink); }

/* ---------- registration links ---------- */
.join-link { white-space: nowrap; }
.sponsored-tag { display: inline-block; margin-left: 4px; padding: 0 4px; border: 1px solid var(--line2); border-radius: 3px; font-size: 10px; line-height: 1.5; color: var(--faint); vertical-align: 1px; }
.official-join .join-link { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border: 1px solid var(--accent); border-radius: 6px; color: var(--accent); font-size: 14px; font-weight: 500; }
.official-join .join-link:hover { background: var(--soft); text-decoration: none; }
.official-join { display: inline-flex; align-items: center; flex: none; }
.market-join { margin-left: 10px; font-size: 13px; }
.ex-join { margin: 14px 0 4px; font-size: 14px; }
