/* 链上 MEME 榜单 / 详情（在 site.css / ui.css / market.css 之后加载） */
.cm-wrap{padding-top:16px;padding-bottom:32px}
.cm-head h1{font-size:22px;margin:0 0 4px}.cm-head p{margin:0 0 12px;color:var(--fg3);font-size:13px;line-height:1.6}
.cm-bar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:0 0 12px}
.cm-tabs{display:inline-flex;gap:4px;background:var(--bg2);border-radius:10px;padding:3px;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.cm-tabs::-webkit-scrollbar{display:none}
.cm-tabs button{padding:6px 12px;border-radius:8px;font-size:13px;color:var(--fg2);border:0;background:transparent;cursor:pointer;white-space:nowrap;flex:none}
.cm-tabs button small{color:var(--fg3);margin-left:4px;font-size:11px}
.cm-tabs button.on{background:var(--bg,#fff);color:var(--accent);font-weight:600;box-shadow:0 1px 3px rgba(0,0,0,.08)}
.cm-q{flex:1;min-width:160px;max-width:320px;margin-left:auto;font:inherit;font-size:13px;padding:7px 10px;border-radius:8px;border:1px solid var(--line,#e5e8ee);background:var(--bg2);color:var(--fg)}
.cm-chain{display:inline-block;font-size:10px;font-weight:700;letter-spacing:.2px;padding:1px 5px;border-radius:4px;white-space:nowrap;line-height:16px;vertical-align:middle;margin-left:6px}
.cm-sol{background:#ece3ff;color:#5a2db3}.cm-bsc{background:#fff1bf;color:#7a5600}.cm-base{background:#dbe8ff;color:#1747b8}.cm-eth{background:#e6e8f2;color:#3a4270}.cm-rh{background:#d9f7e4;color:#0f6b36}.cm-other{background:#ffe9d2;color:#9a4a00}
.cm-risk{display:inline-block;font-size:11px;line-height:16px;padding:0 6px;border-radius:4px;margin-left:6px;white-space:nowrap;font-weight:500;vertical-align:middle}
.cm-risk.danger{color:#c02626;background:rgba(224,49,58,.1)}.cm-risk.warn{color:#b25e00;background:rgba(240,140,0,.13)}
.cm-pin{display:inline-block;font-size:11px;padding:0 5px;border-radius:4px;background:var(--accent-bg);color:var(--accent);margin-left:6px;line-height:16px}
.cm-table{width:100%;border-collapse:collapse;font-size:13px}
.cm-table th{position:sticky;top:0;background:var(--bg,#fff);z-index:2;font-weight:500;color:var(--fg2);padding:8px 6px;border-bottom:1px solid var(--line,#e5e8ee);white-space:nowrap;text-align:right}
.cm-table th.sortable{cursor:pointer}.cm-table th.sortable::after{content:"⇅";margin-left:4px;color:var(--fg3);font-size:11px}
.cm-table th.desc::after{content:"▼";color:var(--accent)}.cm-table th.asc::after{content:"▲";color:var(--accent)}
.cm-table td{padding:9px 6px;border-bottom:1px solid var(--line,#eef0f3);vertical-align:middle;white-space:nowrap;text-align:right}
.cm-table .l{text-align:left}
.cm-table tr.go{cursor:pointer}.cm-table tr:hover td{background:var(--bg2)}
.cm-table .co{display:flex;align-items:center;gap:10px;min-width:0}
.cm-table .co .ava{width:28px;height:28px;border-radius:50%;flex:none;overflow:hidden;display:flex;align-items:center;justify-content:center;background:var(--bg2);font-size:11px;font-weight:700;color:var(--fg2)}
.cm-table .co .ava img{width:28px;height:28px;object-fit:cover}
.cm-table .nm{font-weight:600;color:var(--fg)}.cm-table .sy{display:block;font-size:12px;color:var(--fg3);max-width:150px;overflow:hidden;text-overflow:ellipsis}
.cm-table .rk{color:var(--fg3);width:36px}
.cm-empty{text-align:center;color:var(--fg3);padding:36px 0}
.cm-tablewrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.cm-more{display:block;margin:14px auto 0;font:inherit;font-size:13px;color:var(--accent);background:var(--accent-bg);border:0;border-radius:8px;padding:8px 18px;cursor:pointer}
.cm-note{margin-top:14px;font-size:12px;color:var(--fg3);line-height:1.7}
.cm-warn{border:1px solid rgba(240,140,0,.35);background:rgba(240,140,0,.07);border-radius:8px;padding:10px 12px;font-size:13px;line-height:1.6;color:var(--fg2);margin:0 0 14px}
.cm-sec{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:6px 14px}
.cm-chk{display:flex;gap:6px;align-items:flex-start;font-size:13px;line-height:1.5;color:var(--fg2)}
.cm-chk i{font-style:normal;flex:none;width:16px;text-align:center}.cm-chk.ok i{color:#1aa86a}.cm-chk.bad i{color:#e0313a}.cm-chk.warn i{color:#d98a00}
.cm-hold .bar{height:8px;border-radius:4px;background:var(--bg2);overflow:hidden;margin:4px 0 10px}.cm-hold .bar b{display:block;height:100%;background:var(--accent)}
.cm-hold table{width:100%;font-size:12px;border-collapse:collapse}.cm-hold td{padding:5px 4px;border-bottom:1px solid var(--line,#eef0f3);text-align:right}.cm-hold td:first-child{text-align:left;font-family:ui-monospace,monospace}
.cm-hold .tg{display:inline-block;font-size:10px;padding:0 4px;border-radius:3px;background:var(--accent-bg);color:var(--accent);margin-left:4px}
.cm-links{display:flex;gap:8px;flex-wrap:wrap}.cm-links a{border:1px solid var(--line);border-radius:6px;padding:3px 10px;font-size:12px;color:var(--accent);text-decoration:none}
.cm-intro{font-size:13px;line-height:1.7;color:var(--fg2);white-space:pre-wrap;word-break:break-word}
@media (max-width:760px){.cm-table .hm{display:none}.cm-q{max-width:none;margin-left:0;flex-basis:100%}.cm-table td,.cm-table th{padding:9px 4px}.cm-table .sy{max-width:110px}}
/* 榜单行：和其他榜单同样的 .co / .cotxt 结构（shell.js 的「热搜」角标挂在 .cotxt .n 上） */
.cm-table .cotxt{min-width:0}.cm-table .cotxt .n{display:flex;align-items:center;flex-wrap:nowrap;gap:0;white-space:nowrap}.cm-table .cotxt .n .nm{min-width:0;max-width:120px;overflow:hidden;text-overflow:ellipsis}.cm-table .cotxt .n>:not(.nm){flex:none}
.cm-table .cotxt .t{font-size:12px;color:var(--fg3);max-width:150px;overflow:hidden;text-overflow:ellipsis}
.cm-table .nm{text-decoration:none}
.cm-table .fx-hs2{margin-left:6px}
/* 手机：沿用站内表格的横向滑动（站点样式默认把 .tablewrap 换成卡片，这里是自己的表格，保持显示） */
@media (max-width:760px){.cm-tablewrap.tablewrap{display:block;overflow-x:auto}.cm-table{min-width:720px}.cm-table th,.cm-table td{padding:8px 6px;font-size:12px}.cm-table th.l:nth-child(2),.cm-table td.l:nth-child(2){position:sticky;left:0;background:var(--card,#fff);z-index:1}}
/* 首屏收紧：标题 + 汇总一行，榜单尽量靠上 */
.hero:has(.sg-mm){padding-top:10px;padding-bottom:0}.hero .hero-top:empty,.hero .hero-top:has(#hero-text:empty){display:none}
.sg-mm{padding:12px 18px 12px}.sg-mm .sg-h{margin-bottom:0}
@media (max-width:760px){.sg-mm{padding:10px 12px}.sg-mm .sg-st{margin-top:6px}}
#cd-hold{min-width:0;max-width:100%}#cd-hold table{display:block;width:100%;min-width:0!important;max-width:100%;overflow-x:auto}#cd-hold td{white-space:nowrap;padding-right:12px}
/* ───── 榜单页上半部分：左「数据榜」方块 + 右「热搜榜」 ─────
   配色：白底卡片 + 细边线 + 很轻的阴影，只有「热」用一个暖橙色（--cmh），其余都是中性色，涨绿跌红 */
:root{--cmh:#e8590c;--cmh2:#ff8a4c;--cmh-bg:rgba(232,89,12,.08);--cmh-ln:rgba(232,89,12,.32);--cm-up:#14a068;--cm-dn:#e5383b;--cm-up-bg:rgba(20,160,104,.10);--cm-dn-bg:rgba(229,56,59,.10);--cm-sh:0 1px 2px rgba(16,24,40,.04),0 16px 34px -20px rgba(16,24,40,.22)}
html[data-theme=dark]{--cmh:#ff8a4c;--cmh2:#ffb07a;--cmh-bg:rgba(255,138,76,.14);--cmh-ln:rgba(255,138,76,.4);--cm-sh:0 1px 2px rgba(0,0,0,.3),0 16px 34px -20px rgba(0,0,0,.6)}
.cm-row{display:flex;gap:16px;align-items:stretch}
.cmb{flex:56 1 0;min-width:0;border:1px solid var(--line,#edeff3);border-radius:18px;background:var(--bg,#fff);box-shadow:var(--cm-sh);padding:18px 18px 16px;display:flex;flex-direction:column;gap:14px}
.cmb-t{display:flex;align-items:center;justify-content:space-between;gap:8px}.cmb-t>b{font-size:17px;font-weight:700;letter-spacing:-.2px;color:var(--fg)}
.cmb-tabs{display:inline-flex;gap:2px;background:var(--bg2);border-radius:10px;padding:3px}
.cmb-tabs button{border:0;background:transparent;font:inherit;font-size:13px;font-weight:500;color:var(--fg2);padding:5px 12px;border-radius:8px;cursor:pointer;white-space:nowrap}
.cmb-tabs button.on{background:var(--bg,#fff);color:var(--fg);font-weight:600;box-shadow:0 1px 2px rgba(16,24,40,.10)}
.cmb-g6{flex:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:12px}
.cmb-c{border:1px solid var(--line,#edeff3);border-radius:14px;padding:14px;display:flex;flex-direction:column;justify-content:space-between;gap:12px;min-width:0;color:inherit;text-decoration:none;background:var(--bg,#fff);transition:border-color .15s,box-shadow .15s,transform .15s}
.cmb-c:hover{border-color:var(--cmh-ln);box-shadow:0 10px 24px -14px rgba(232,89,12,.35);transform:translateY(-1px)}
.cmb-h{display:flex;align-items:center;gap:10px;min-width:0}
.cmb-h .ava{width:32px;height:32px;border-radius:50%;flex:none;overflow:hidden;display:flex;align-items:center;justify-content:center;background:var(--bg2);font-size:11px;font-weight:700;color:var(--fg2)}.cmb-h .ava img{width:32px;height:32px;object-fit:cover}
.cmb-n{min-width:0;flex:1;display:flex;flex-direction:column;gap:1px}.cmb-n b{font-size:14px;font-weight:600;color:var(--fg);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cmb-n small{font-size:12px;color:var(--fg3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cmb-h em{font-style:normal;font-size:11px;font-weight:700;color:var(--fg3);background:var(--bg2);border-radius:6px;padding:2px 6px;flex:none}
.cmb-c:nth-child(-n+3) .cmb-h em{color:var(--cmh);background:var(--cmh-bg)}
.cmb-p{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px}
.cmb-px{font-size:20px;font-weight:700;letter-spacing:-.4px;color:var(--fg);font-variant-numeric:tabular-nums}.cmb-px sub{font-size:.62em}
.cmb-g{display:inline-flex;align-items:center;font-size:13px;font-weight:700;border-radius:8px;padding:3px 8px;background:var(--bg2);font-variant-numeric:tabular-nums}
.cmb-g .up,.cm-up{color:var(--cm-up)}.cmb-g .down,.cm-dn{color:var(--cm-dn)}
.cmb-g:has(.up){background:var(--cm-up-bg)}.cmb-g:has(.down){background:var(--cm-dn-bg)}
.cmb-kv{display:grid;grid-template-columns:1fr 1fr;gap:10px;border-top:1px solid var(--line,#edeff3);padding-top:10px}
.cmb-kv>span{display:flex;flex-direction:column;gap:2px;min-width:0}.cmb-kv small{font-size:11.5px;color:var(--fg3)}.cmb-kv b{font-size:14px;font-weight:600;color:var(--fg);font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* 热搜榜：白底，右上角一点暖色光；前 3 名每个币一张卡（中间是投票 / 喜欢 / 自选 / 浏览各多少，右边是热搜指数） */
.cmp{flex:44 1 0;min-width:0;border:1px solid var(--line,#edeff3);border-radius:18px;padding:16px;display:flex;flex-direction:column;gap:12px;background:radial-gradient(120% 60% at 100% 0%,rgba(255,122,61,.13),transparent 62%),var(--bg,#fff);box-shadow:var(--cm-sh);color:var(--fg)}
.cmp-h{display:flex;align-items:center;gap:10px}.cmp-h b{font-size:17px;font-weight:700;letter-spacing:-.2px;color:var(--fg)}
.cmp-fire{width:30px;height:30px;border-radius:10px;background:linear-gradient(135deg,var(--cmh),var(--cmh2));display:flex;align-items:center;justify-content:center;box-shadow:0 6px 14px -6px rgba(232,89,12,.6)}
.cmp-ch{font-size:12px;font-weight:600;color:var(--fg2);background:var(--bg2);border-radius:999px;padding:2px 10px}
.cmp-h em{margin-left:auto;font-style:normal;font-size:12px;font-weight:600;color:var(--fg2);background:var(--bg,#fff);border:1px solid var(--line,#edeff3);border-radius:999px;padding:2px 11px}
.cmp-top{display:flex;flex-direction:column;gap:8px}
.cmp-t{display:grid;grid-template-columns:24px 32px minmax(0,1fr) minmax(0,1.25fr) auto;gap:12px;align-items:center;background:var(--bg,#fff);border:1px solid var(--line,#edeff3);border-radius:14px;padding:11px 14px;color:inherit;text-decoration:none;transition:border-color .15s,box-shadow .15s}
.cmp-t:hover{border-color:var(--cmh-ln);box-shadow:0 8px 20px -14px rgba(232,89,12,.4)}
.cmp-t.r1{border-color:var(--cmh-ln);background:linear-gradient(90deg,var(--cmh-bg),var(--bg,#fff) 60%)}
.cmp-k{flex:none;width:24px;height:24px;border-radius:8px;background:var(--bg2);color:var(--fg2);font-weight:700;font-size:12.5px;display:flex;align-items:center;justify-content:center;font-variant-numeric:tabular-nums}
.cmp-t.r1 .cmp-k{background:linear-gradient(135deg,var(--cmh),var(--cmh2));color:#fff}
.cmp-t.r2 .cmp-k,.cmp-t.r3 .cmp-k{background:var(--cmh-bg);color:var(--cmh)}
.cmp-lg{flex:none;width:32px;height:32px;border-radius:50%;background:var(--bg2);color:var(--fg2);font-weight:700;font-size:11px;display:flex;align-items:center;justify-content:center;overflow:hidden}.cmp-lg img{width:32px;height:32px;object-fit:cover}.cmp-lg.s{width:24px;height:24px;font-size:10px}.cmp-lg.s img{width:24px;height:24px}
.cmp-n{min-width:0;display:flex;flex-direction:column;gap:3px}
.cmp-n b{display:flex;align-items:center;gap:5px;font-size:14.5px;font-weight:600;color:var(--fg);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cmp-n b em,.cm-new{font-style:normal;font-size:10px;font-weight:700;color:#fff;background:var(--cmh);border-radius:4px;padding:0 5px;line-height:15px}
.cm-mv{font-style:normal;font-size:11px;font-weight:700}.cm-mv.up{color:var(--cm-up)}.cm-mv.dn{color:var(--cm-dn)}
.cmp-sl{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--fg2);font-variant-numeric:tabular-nums;white-space:nowrap}.cmp-sl sub{font-size:.7em}
.cmp-sl .cm-up,.cmp-sl .cm-dn{font-weight:600}
/* 中间：四项互动数 + 构成条 */
.cmp-ct{display:flex;flex-direction:column;gap:7px;min-width:0}
.cmp-cg{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.cmp-cg>span{display:flex;flex-direction:column;gap:1px;min-width:0}
.cmp-cg small{display:flex;align-items:center;gap:4px;font-size:11px;color:var(--fg3);white-space:nowrap}
.cmp-cg small::before,.cmp-cn b::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--dot,#9aa3b2);flex:none}
.cmp-cg b{font-size:14px;font-weight:700;color:var(--fg);font-variant-numeric:tabular-nums}.cmp-cg b[data-fv="0"]{color:var(--fg3);font-weight:500}
.vote{--dot:#e8590c}.like{--dot:#d6336c}.watch{--dot:#f59f00}.view{--dot:#4c7ef3}
.cmp-mix{display:flex;height:5px;border-radius:99px;overflow:hidden;background:var(--line,#edeff3);gap:1px}.cmp-mix u{display:block;min-width:3px}.cmp-mix u.none{background:repeating-linear-gradient(45deg,transparent,transparent 4px,rgba(120,130,150,.18) 4px,rgba(120,130,150,.18) 8px)}
.cmp-mix .vote{background:#e8590c}.cmp-mix .like{background:#d6336c}.cmp-mix .watch{background:#f59f00}.cmp-mix .view{background:#4c7ef3}
/* 右边：热搜指数 */
.cmp-ix{display:flex;flex-direction:column;align-items:flex-end;gap:1px;min-width:52px}.cmp-ix b{font-size:24px;line-height:1;font-weight:800;letter-spacing:-.5px;color:var(--cmh);font-variant-numeric:tabular-nums}.cmp-ix small{font-size:11px;color:var(--fg3)}
/* 第 4–10 名：循环滚动的小行 */
.cmp-roll{height:108px;overflow:hidden;border-radius:12px;background:var(--bg2);padding:0 12px;flex:none;box-sizing:border-box}
.cmp-rl{animation:cmroll 16s linear infinite}.cmp-roll:hover .cmp-rl{animation-play-state:paused}
@keyframes cmroll{to{transform:translateY(calc(var(--n) * -36px))}}
@media (prefers-reduced-motion:reduce){.cmp-rl{animation:none}}
.cmp-l{height:36px;box-sizing:border-box;display:flex;align-items:center;gap:10px;font-size:13px;color:inherit;text-decoration:none}
.cmp-lk{width:20px;text-align:center;font-weight:700;color:var(--fg3);font-variant-numeric:tabular-nums}.cmp-ln{flex:1 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600;color:var(--fg)}
.cmp-lm{flex:0 1 auto;min-width:0;overflow:hidden}.cmp-li{flex:none;width:34px;text-align:right;font-weight:800;color:var(--cmh);font-variant-numeric:tabular-nums}.cmp-lc{flex:none;width:62px;text-align:right;font-weight:600;font-variant-numeric:tabular-nums}
.cmp-cn{display:flex;flex-wrap:wrap;gap:2px 10px;font-size:11.5px;line-height:1.3}.cmp-cn b{white-space:nowrap}.cmp-lm .cmp-cn{flex-wrap:nowrap}.cmp-cn b{display:inline-flex;align-items:center;gap:4px;font-weight:500;color:var(--fg2)}.cmp-cn b::before{--dot:inherit}
.cmp-cn .chain::before{background:#12b886}.cmp-mix u.chain{background:#12b886}.cmp-cn .vote::before{background:#e8590c}.cmp-cn .like::before{background:#d6336c}.cmp-cn .watch::before{background:#f59f00}.cmp-cn .view::before{background:#4c7ef3}
.cmp-cn.none{color:var(--fg3);font-weight:400}
.cmp-f{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:var(--fg3)}.cmp-f a{color:var(--cmh);font-weight:600;text-decoration:none;white-space:nowrap;font-size:13px}
.cmp-empty{flex:1;display:flex;align-items:center;justify-content:center;text-align:center;font-size:13px;color:var(--fg3);line-height:1.7;padding:16px}
/* 投票按钮：空心橙边；热搜上榜的币淡橙底；投过的实心 */
.cm-vote{font:inherit;font-size:13px;font-weight:600;border-radius:999px;padding:5px 14px;border:1px solid var(--cmh-ln);background:var(--bg,#fff);color:var(--cmh);cursor:pointer;white-space:nowrap;line-height:1.3;transition:background .15s,color .15s}
.cm-vote:hover{background:var(--cmh-bg)}.cm-vote.hot{background:var(--cmh-bg)}
.cm-vote.done,.cm-vote.hot.done{background:var(--cmh);border-color:var(--cmh);color:#fff}
.cm-vote.off{background:var(--bg2);border-color:var(--line,#e5e7eb);color:var(--fg3);cursor:not-allowed}
.cm-table th.vt,.cm-table td.vt{text-align:center;width:92px}
.cm-heat{display:inline-flex;align-items:center;gap:8px}.cm-heat i{display:block;width:44px;height:4px;border-radius:2px;background:var(--line,#edeff3)}.cm-heat u{display:block;height:4px;border-radius:2px;background:linear-gradient(90deg,var(--cmh2),var(--cmh))}.cm-heat b{min-width:22px;text-align:right;font-weight:700;color:var(--cmh);font-variant-numeric:tabular-nums}
.cm-tk{margin-left:auto;font-size:13px}.cm-ticket{display:inline-flex;align-items:center;gap:6px;color:var(--fg2)}.cm-ticket b{color:var(--cmh)}
.cm-dots{display:inline-flex;gap:4px}.cm-dots i{width:8px;height:8px;border-radius:50%;background:var(--line,#d6dae2)}.cm-dots i.on{background:var(--cmh)}
.cm-tk+.cm-q{margin-left:0}
.cm-toast{position:fixed;left:50%;bottom:90px;transform:translate(-50%,12px);background:#1b1f27;color:#fff;font-size:13px;border-radius:10px;padding:9px 16px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:9999;max-width:86vw;text-align:center}.cm-toast.on{opacity:1;transform:translate(-50%,0)}
.cmb-wrap{flex:56 1 0;min-width:0;display:flex}.cmp-wrap{flex:44 1 0;min-width:0;display:flex}.cmb-wrap>.cmb,.cmp-wrap>.cmp{flex:1}
/* 页头（标题 + 三个汇总数）：去掉粉色点状底和橙色顶边，换成白底 + 一点暖色光 */
.hero:has(.sg-mm){background:radial-gradient(70% 140% at 90% -30%,rgba(255,122,61,.10),transparent 62%),linear-gradient(180deg,#fff8f3,var(--bg,#fff))}
html[data-theme=dark] .hero:has(.sg-mm){background:radial-gradient(70% 140% at 90% -30%,rgba(255,122,61,.12),transparent 62%),var(--bg)}
.sg-mm{border-top:1px solid var(--line,#edeff3);border-radius:18px;box-shadow:var(--cm-sh)}
.sg-mm .sg-t b::before{width:5px;height:18px;border-radius:3px;background:linear-gradient(180deg,var(--cmh2),var(--cmh))}
.sg-mm .sg-st b{font-size:18px;font-weight:700;letter-spacing:-.3px}
@media (max-width:1100px){.cmp-ct{max-width:420px}.cmp-t{grid-template-columns:24px 32px minmax(0,1fr) auto;grid-template-areas:"k lg n ix" ". ct ct ct"}.cmp-t>.cmp-k{grid-area:k}.cmp-t>.cmp-lg{grid-area:lg}.cmp-t>.cmp-n{grid-area:n}.cmp-t>.cmp-ix{grid-area:ix}.cmp-t>.cmp-ct{grid-area:ct}}
@media (max-width:900px){.cm-row{flex-direction:column}.cmb,.cmp{flex:none}.cmb-wrap,.cmp-wrap{flex:none}.cmb-g6{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none;grid-auto-rows:minmax(104px,auto)}.cmb-t{flex-wrap:wrap}}
@media (max-width:760px){.cmb,.cmp{padding:14px;border-radius:16px}.cmb-c{padding:12px;gap:10px}.cmb-px{font-size:17px}.cmb-g{font-size:12px;padding:2px 7px}.cmb-kv b{font-size:13px}.cm-tk{margin-left:0;flex-basis:100%}.cm-table th.vt,.cm-table td.vt{width:84px}.cmp-f span{display:none}.cmp-t{padding:10px 12px;gap:8px 10px}.cmp-ix b{font-size:21px}}
@media (max-width:520px){.cmp-lm{display:none}.cmp-lc{width:auto}}

/* ───── 热搜单页 /chainmeme/hot ───── */
.cmx-wrap{padding-top:16px;padding-bottom:32px}
.cmx-ban{box-shadow:var(--cm-sh);display:flex;gap:20px;align-items:center;justify-content:space-between;background:radial-gradient(90% 160% at 100% 0%,rgba(255,122,61,.14),transparent 62%),var(--bg,#fff);border:1px solid var(--line,#edeff3);border-radius:16px;padding:20px 24px;color:var(--fg)}
.cmx-ban h1{margin:0 0 6px;font-size:24px;color:var(--fg)}.cmx-ban p{margin:0;font-size:14px;color:var(--fg2);max-width:560px;line-height:1.6}
.cmx-tkt{flex:none;background:var(--bg,#fff);border:1px solid var(--line,#edeff3);border-radius:14px;padding:12px 18px;text-align:center;min-width:170px}
.cmx-tkt>span{display:block;font-size:12px;color:var(--fg2)}.cmx-tkt>b{font-size:28px;color:var(--cmh);line-height:1.2}.cmx-tkt>div{margin:4px 0}.cmx-tkt small{display:block;font-size:11px;color:var(--fg2);line-height:1.4}
.cmx-find{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:14px 0;padding:12px 16px;border:1px dashed var(--cmh-ln);border-radius:12px;background:var(--card,#fff)}
.cmx-find>div{flex:1 1 260px;min-width:0}.cmx-find b{display:block;font-size:14px}.cmx-find span{font-size:12px;color:var(--fg3,#6b7280)}
.cmx-find input[type=search]{flex:1 1 220px;min-width:0;border:1px solid var(--line,#e5e7eb);border-radius:8px;padding:8px 12px;font:inherit;font-size:14px;background:var(--bg,#fff);color:inherit}
.cmx-find button{border:0;background:var(--cmh);color:#fff;font-weight:700;border-radius:8px;padding:8px 18px;font:inherit;font-weight:700;cursor:pointer}
.cmx-tabs{margin-bottom:14px}
.cmx-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px;align-items:start}
.cmx-pod{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:12px}
.cmx-pd{position:relative;background:var(--card,#fff);border:1px solid var(--line,#e5e7eb);border-radius:14px;padding:14px 14px 12px;display:flex;flex-direction:column;gap:10px;min-width:0}
.cmx-pd.r1{background:linear-gradient(180deg,var(--cmh-bg),var(--bg,#fff));border-color:var(--cmh-ln);box-shadow:0 6px 18px rgba(217,72,15,.12)}
.cmx-big{position:absolute;right:12px;top:6px;font-size:34px;font-weight:900;color:var(--cmh-ln);line-height:1}
.cmx-co{display:flex;align-items:center;gap:10px;min-width:0;color:inherit;text-decoration:none}
.cmx-nm{min-width:0;display:flex;flex-direction:column}.cmx-nm b{font-size:14px;display:flex;align-items:center;gap:4px;flex-wrap:wrap}.cmx-nm small{font-size:12px;color:var(--fg3,#6b7280)}
.cmx-tg{font-style:normal;font-size:10px;background:var(--cmh-bg);color:var(--cmh);border-radius:4px;padding:0 5px}
.cmx-g{display:flex;justify-content:space-between;align-items:flex-end;font-weight:700}
.cmx-hv{text-align:right}.cmx-hv small{display:block;font-size:11px;font-weight:400;color:var(--fg3,#6b7280)}.cmx-hv b{font-size:20px;color:var(--cmh)}
.cmx-ft{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:var(--fg3,#6b7280)}
.cmx-tbl{background:var(--card,#fff);border:1px solid var(--line,#e5e7eb);border-radius:14px;overflow:hidden}
.cmx-th,.cmx-r{display:grid;grid-template-columns:34px minmax(150px,1fr) 92px 76px 84px 84px 124px 128px 56px 80px;gap:10px;align-items:center;padding:10px 14px}
.cmx-m{display:none}.cmx-p,.cmx-n2{font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}.cmx-p sub{font-size:.7em}
.cmx-th{font-size:12px;color:var(--fg3,#6b7280);background:var(--bg2,#f7f8fa)}
.cmx-r+.cmx-r{border-top:1px solid var(--line,#eef0f3)}
.cmx-r.near{background:var(--bg2,#fafbfc)}.cmp-k.n{background:var(--bg2,#e5e7eb);color:var(--fg3,#6b7280)}
.cmx-h{display:flex;align-items:center;gap:8px;min-width:0}.cmx-h .cmp-bar{flex:1}.cmx-h b{color:var(--cmh);font-size:13px;min-width:54px;text-align:right;font-variant-numeric:tabular-nums}
.cmx-d{font-size:12px;color:var(--fg3,#6b7280)}.cmx-v{text-align:right}
.cmx-line{position:relative;margin:16px 0 10px;text-align:center;border-top:2px dashed var(--cmh2)}
.cmx-line span{position:relative;top:-11px;background:var(--bg,#fff);padding:0 12px;font-size:12px;font-weight:700;color:var(--cmh)}
.cmx-more{display:block;width:100%;margin:10px 0 0;padding:10px;border:1px solid var(--bd,#e5e7eb);border-radius:10px;background:var(--card,#fff);color:var(--fg2,#374151);font-size:13px;cursor:pointer}
.cmx-more:hover{border-color:#f59e0b;color:#b45309}
.cmx-hint{margin:8px 2px 0;font-size:12px;color:var(--fg3,#6b7280)}
.cmx-side{display:flex;flex-direction:column;gap:12px}
.cmx-side .card{background:var(--card,#fff);border:1px solid var(--line,#e5e7eb);border-radius:14px;padding:14px 16px}
.cmx-side h3{margin:0 0 8px;font-size:15px}.cmx-side ol{margin:0;padding-left:18px;font-size:13px;line-height:1.7;color:var(--fg2,#4b5563)}
.cmx-side .side-news a{color:var(--cmh);font-size:13px;text-decoration:none}
.cmx-none{font-size:13px;color:var(--fg3,#6b7280);line-height:1.6}
.cmx-mv{display:flex;justify-content:space-between;padding:6px 0;font-size:13px;color:inherit;text-decoration:none}.cmx-mv+.cmx-mv{border-top:1px solid var(--line,#eef0f3)}.cmx-mv b{color:var(--cmh)}
@media (max-width:900px){.cmx-grid{grid-template-columns:minmax(0,1fr)}.cmx-ban{flex-direction:column;align-items:stretch}.cmx-tkt{min-width:0}}
@media (max-width:760px){.cmx-pod{grid-template-columns:1fr}
.cmx-th{display:none}.cmx-r{grid-template-columns:30px minmax(0,1fr) auto;grid-template-areas:"k co v" ". h h";row-gap:6px}
.cmx-r>.cmp-k{grid-area:k}.cmx-r>.cmx-co{grid-area:co}.cmx-r>.cmx-v{grid-area:v}.cmx-r>.cmx-h{grid-area:h}.cmx-r>.cmx-c,.cmx-r>.cmx-d{display:none}}
/* 数值变化闪一下：涨绿、跌红 */
@keyframes cmFlUp{0%{background:rgba(26,164,107,.38)}100%{background:rgba(26,164,107,0)}}
@keyframes cmFlDn{0%{background:rgba(229,56,59,.34)}100%{background:rgba(229,56,59,0)}}
.cm-fl-up{animation:cmFlUp 1.8s ease-out;border-radius:4px}.cm-fl-dn{animation:cmFlDn 1.8s ease-out;border-radius:4px}
@media (prefers-reduced-motion:reduce){.cm-fl-up,.cm-fl-dn{animation:none}}
/* 「更新于 N 秒前」前面的小绿点 */
.cm-live{display:inline-flex;align-items:center;gap:5px}.cm-live i{width:7px;height:7px;border-radius:50%;background:#1aa46b;box-shadow:0 0 0 0 rgba(26,164,107,.5);animation:cmPulse 2s infinite}
@keyframes cmPulse{0%{box-shadow:0 0 0 0 rgba(26,164,107,.5)}70%{box-shadow:0 0 0 7px rgba(26,164,107,0)}100%{box-shadow:0 0 0 0 rgba(26,164,107,0)}}
@media (prefers-reduced-motion:reduce){.cm-live i{animation:none}}
/* 榜单第一列：自选星标 */
.cm-table th.st,.cm-table td.st{width:34px;padding-left:8px;padding-right:0;text-align:center}
/* 链上 MEME 详情：左栏 头部 / 指标 / 热搜 / 持币 / 合约 / 概览，右栏 K 线 / 最近成交 / 安全检查 / 交易池 */
.cdg{display:grid;grid-template-columns:minmax(340px,400px) minmax(0,1fr);gap:16px;align-items:start;margin-top:8px}
.cdg-l,.cdg-r{display:flex;flex-direction:column;gap:14px;min-width:0}
.cdg-b{min-width:0}.cdg-b>.xd-sec{margin:0 0 8px}
.cdg .xd-side,.cdg .xd-chart{border-radius:14px;padding:14px}
.cdg-l .xd-head{margin:0;display:grid;grid-template-columns:48px minmax(0,1fr);gap:10px 12px;align-items:center;padding:16px;border:1px solid var(--line,#e5e8ee);border-radius:14px;background:var(--card,var(--bg,#fff));box-shadow:var(--cm-sh)}
.cdg-l .xd-head .ava{width:48px;height:48px}
.cdg-l .xd-head .xd-stat{grid-column:1/-1;margin:0;text-align:left;border-top:1px solid var(--line,#e5e8ee);padding-top:12px;display:flex;align-items:baseline;gap:6px 12px;flex-wrap:wrap}
.cdg-l .xd-head .xd-stat .px{font-size:28px;font-weight:700;letter-spacing:-.5px;font-variant-numeric:tabular-nums}.cdg-l .xd-head .xd-stat .chg small{color:var(--fg3)}
.cdg-l .xd-head .xd-stat .md-fav{margin:0 0 0 auto;display:flex;gap:8px}
.cd-go{grid-column:1/-1;display:flex;gap:8px}
.cd-gob,.cd-gos{display:flex;align-items:center;justify-content:center;height:42px;border-radius:12px;font-size:14px;font-weight:700;text-decoration:none;white-space:nowrap}
.cd-gob{flex:1;background:linear-gradient(135deg,var(--cmh),var(--cmh2));color:#fff;box-shadow:0 8px 18px -10px rgba(232,89,12,.7)}.cd-gob:hover{filter:brightness(1.05)}
.cd-gos{padding:0 14px;border:1px solid var(--cmh-ln);color:var(--cmh);background:var(--cmh-bg)}
.cd-gor{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:6px;align-items:center;font-size:12px;color:var(--fg3)}
.cd-gor a{border:1px solid var(--line,#e5e8ee);border-radius:999px;padding:3px 11px;color:var(--fg2);text-decoration:none;font-weight:600}.cd-gor a:hover{border-color:var(--cmh-ln);color:var(--cmh)}
.cd-gon{grid-column:1/-1;margin:0;font-size:12px;line-height:1.6;color:var(--fg3)}
.cdg .xd-kpi{grid-template-columns:repeat(2,minmax(0,1fr));margin:0;gap:10px}
.cdg .xd-kpi>div{border-radius:12px;padding:11px 13px}.cdg .xd-kpi b{font-size:17px;font-variant-numeric:tabular-nums}
/* 热搜卡 */
.cd-hr{display:flex;align-items:flex-end;justify-content:space-between;gap:10px}.cd-hr small{display:block;font-size:12px;color:var(--fg3)}
.cd-hi{font-size:32px;line-height:1.1;font-weight:800;letter-spacing:-.8px;color:var(--cmh);font-variant-numeric:tabular-nums}
.cd-hk{display:flex;align-items:center;gap:6px}
.cd-rk{font-size:12.5px;font-weight:700;border-radius:999px;padding:3px 11px;background:var(--cmh-bg);color:var(--cmh)}.cd-rk.off{background:var(--bg2);color:var(--fg3)}
.cd-rk.r1{background:linear-gradient(135deg,#ffe27a,#f5a300);color:#6b4300}.cd-rk.r2{background:linear-gradient(135deg,#eef1f6,#aab3c2);color:#3f4a5e}.cd-rk.r3{background:linear-gradient(135deg,#f4bd92,#d98a52);color:#5e300f}
.cd-hm{margin-top:10px;display:flex;flex-direction:column;gap:7px}
.cd-hv{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px}.cd-hv .cm-vote{padding:7px 22px;font-size:14px}
.cd-hn{margin:10px 0 0;font-size:12px;line-height:1.6;color:var(--fg3)}
/* 表格横向滑动容器（站点样式会把 .tablewrap 在手机上换成卡片，这里是自己的表格，所以不用那个类名） */
.cd-scroll{overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch}
/* 持币 */
.cd-hs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:8px}.cd-hs span{display:flex;flex-direction:column;background:var(--bg2);border-radius:10px;padding:8px 10px}.cd-hs small{font-size:11.5px;color:var(--fg3)}.cd-hs b{font-size:17px;font-variant-numeric:tabular-nums}
.cm-hold .bar{margin:0 0 10px}
.cd-tg{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}.cd-tg span{font-size:12px;border-radius:999px;padding:2px 10px;background:var(--bg2);color:var(--fg2)}.cd-tg span.sm{background:var(--cmh-bg);color:var(--cmh);font-weight:600}
.cd-ht{width:100%;font-size:12.5px;border-collapse:collapse}.cd-ht th{font-weight:500;color:var(--fg3);padding:4px;text-align:right;font-size:12px}.cd-ht th.l,.cd-ht td.l{text-align:left}
.cd-ht td{padding:6px 4px;border-top:1px solid var(--line,#eef0f3);text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.cd-ht td.k{color:var(--fg3);width:22px}.cd-ht a{color:var(--accent);text-decoration:none}
.cd-more{display:block;margin:10px auto 0;border:1px solid var(--line);background:none;border-radius:999px;padding:4px 16px;font-size:12.5px;color:var(--fg2);cursor:pointer}
#cd-hold .cd-scroll>.cd-ht{display:table;width:100%;min-width:100%!important;max-width:none;overflow:visible}#cd-hold .cd-ht td{padding-right:4px}
.cd-hs span{position:relative}.cd-hs span::before{content:"";position:absolute;left:10px;top:12px;width:7px;height:7px;border-radius:50%;background:var(--bg3,#cfd5df)}.cd-hs span small{padding-left:12px}
.cd-hs .a::before{background:#2563eb}.cd-hs .b::before{background:#7aa2f7}.cd-hs .c::before{background:#c9d8fb}
.cd-hb3{display:flex;height:8px;border-radius:99px;overflow:hidden;background:var(--bg2,#f1f3f7);margin:0 0 12px}.cd-hb3 i{display:block;height:100%}.cd-hb3 .a{background:#2563eb}.cd-hb3 .b{background:#7aa2f7}.cd-hb3 .c{background:#c9d8fb}
.cd-ht th.pc,.cd-ht td.pc{text-align:left}
.cd-pw{display:flex;align-items:center;gap:8px}.cd-pw b{flex:none;min-width:52px;text-align:right;font-weight:600}
.cd-pb{flex:1 1 30px;max-width:84px;min-width:22px;height:6px;border-radius:99px;background:var(--bg2,#eef1f6);overflow:hidden}.cd-pb u{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#7aa2f7,#2563eb)}
.cd-ht .tgs{margin-top:2px}.cd-ht .tg{margin-right:4px;font-size:10.5px;border-radius:5px;padding:0 5px;background:var(--bg2);color:var(--fg2)}
.cd-intro{margin:0;font-size:13.5px;line-height:1.8;color:var(--fg2)}
.cdg .xd-kpi>div small{display:block;margin-top:2px}
.cd-pa{float:right;font-size:12px;font-weight:500;color:var(--cmh);text-decoration:none}
.cd-peer{padding:6px 14px!important}.cd-pr{display:grid;grid-template-columns:22px 28px minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px 0;text-decoration:none;color:inherit}.cd-pr+.cd-pr{border-top:1px solid var(--line,#eef0f3)}
.cd-pr .k{font-style:normal;font-size:12px;font-weight:700;text-align:center;color:var(--fg3)}.cd-pr .k.r1{color:#d99200}.cd-pr .k.r2{color:#7b869b}.cd-pr .k.r3{color:#c27036}
.cd-pl{width:28px;height:28px;border-radius:50%;background:var(--bg2);display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:700;color:var(--fg3);overflow:hidden}.cd-pl img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.cd-pr .n{display:flex;flex-direction:column;min-width:0}.cd-pr .n b{font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cd-pr small{font-size:11.5px;color:var(--fg3)}
.cd-pr .v{display:flex;flex-direction:column;align-items:flex-end}.cd-pr .v b{font-size:14px;color:var(--cmh);font-variant-numeric:tabular-nums}
.cd-pr:hover .n b{color:var(--cmh)}
/* 合约与链接 */
.cd-addr small{color:var(--fg3)}.cd-addr code{display:block;font-size:12px;word-break:break-all;background:var(--bg2);border-radius:8px;padding:9px;margin:6px 0}.cd-addr .a{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.cd-addr .a button{border:1px solid var(--line);background:none;border-radius:999px;padding:3px 12px;font-size:12px;color:var(--accent);cursor:pointer}.cd-addr p,.cd-fn{font-size:12px;line-height:1.6;color:var(--fg3);margin:10px 0 0}
/* 最近成交 */
.cd-txs{display:flex;flex-wrap:wrap;gap:4px 18px;font-size:13px;color:var(--fg2)}.cd-txs b{font-variant-numeric:tabular-nums}
.cd-txb{display:flex;height:6px;border-radius:99px;overflow:hidden;gap:2px;margin:8px 0 10px;background:var(--line,#edeff3)}.cd-txb i{background:var(--cm-up)}.cd-txb u{background:var(--cm-dn)}
.cd-txt{width:100%;font-size:12.5px;border-collapse:collapse;min-width:480px}.cd-txt th{font-weight:500;color:var(--fg3);font-size:12px;padding:4px 6px;text-align:right}.cd-txt th.l,.cd-txt td.l{text-align:left}
.cd-txt td{padding:6px;border-top:1px solid var(--line,#eef0f3);text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.cd-txt tr.buy td:nth-child(3){color:var(--cm-up);font-weight:600}.cd-txt tr.sell td:nth-child(3){color:var(--cm-dn);font-weight:600}
.cd-sd{font-size:11.5px;font-weight:700;border-radius:5px;padding:1px 7px}.cd-sd.buy{background:var(--cm-up-bg);color:var(--cm-up)}.cd-sd.sell{background:var(--cm-dn-bg);color:var(--cm-dn)}
/* 合约安全检查 */
.cd-sv{border-radius:12px;padding:12px 14px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--line);background:var(--bg2)}
.cd-sv.ok{background:var(--cm-up-bg);border-color:rgba(20,160,104,.3)}.cd-sv.warn{background:rgba(240,140,0,.08);border-color:rgba(240,140,0,.35)}.cd-sv.bad{background:var(--cm-dn-bg);border-color:rgba(229,56,59,.35)}
.cd-sh{display:flex;flex-direction:column;gap:2px}.cd-sh b{font-size:16px}.cd-sv.ok .cd-sh b{color:var(--cm-up)}.cd-sv.warn .cd-sh b{color:#c77700}.cd-sv.bad .cd-sh b{color:var(--cm-dn)}.cd-sh span{font-size:12px;color:var(--fg3)}
.cd-st{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.cd-tax{display:flex;flex-direction:column;align-items:center;align-self:flex-start;background:var(--bg,#fff);border-radius:10px;padding:5px 14px;min-width:68px}.cd-tax small{font-size:11px;color:var(--fg3)}.cd-tax b{font-size:15px;font-variant-numeric:tabular-nums}.cd-tax.bad b{color:var(--cm-dn)}
.cd-ai{margin:12px 0 0;font-size:13px;line-height:1.7;color:var(--fg2);background:var(--bg2);border-radius:10px;padding:10px 12px}.cd-ai b{margin-right:8px;color:var(--cmh)}
.cd-sg{margin-top:14px}.cd-sg h4{margin:0 0 8px;font-size:13px;font-weight:700;display:flex;align-items:center;gap:6px}.cd-sg h4 em{font-style:normal;font-size:11.5px;background:var(--bg2);border-radius:999px;padding:0 8px;color:var(--fg2)}
.cd-sg.bad h4{color:var(--cm-dn)}.cd-sg.warn h4{color:#c77700}.cd-sg.ok h4{color:var(--cm-up)}
.cd-sg .cm-sec{grid-template-columns:repeat(auto-fill,minmax(210px,1fr))}
.cd-sg.ok .cm-chk{color:var(--fg3)}
/* 手机和窄屏：单列，K 线和最近成交靠前 */
@media (max-width:1000px){
  .cdg{display:flex;flex-direction:column;align-items:stretch;gap:14px}.cdg-l,.cdg-r{display:contents}
  #cd-head{order:1}#g-chart{order:2}#cd-trade{order:3}#cd-kpi{order:4}#g-hot{order:5}#g-sec{order:6}#g-over{order:7}#g-tx{order:8}#g-hold{order:9}#g-pools{order:10}#g-addr{order:11}#g-peer{order:12}
  .cdg .xd-kpi{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:560px){.cdg .xd-kpi{grid-template-columns:repeat(2,minmax(0,1fr))}.cd-hi{font-size:28px}.cdg-l .xd-head .xd-stat .px{font-size:26px}}

/* 热搜单页：价格 / 成交额 / 流动性 + 热搜指数构成 */
.cmx-kv{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px}.cmx-kv span{display:flex;flex-direction:column;min-width:0}.cmx-kv b{font-size:13px;font-variant-numeric:tabular-nums}.cmx-kv sub{font-size:.7em}
.cmx-mx{display:flex;flex-direction:column;gap:5px;min-width:0}.cmx-mx.big{gap:6px}

@media (max-width:760px){.cmx-r{grid-template-columns:30px minmax(0,1fr) auto;grid-template-areas:"k co v" ". h h" ". m m" ". mx mx"}.cmx-r>.cmx-m{display:block;grid-area:m;font-size:12px;color:var(--fg3,#6b7280);font-variant-numeric:tabular-nums}.cmx-r>.cmx-mx{grid-area:mx;display:flex}.cmx-r>.cmx-p,.cmx-r>.cmx-n2{display:none}.cmx-r>:nth-child(6){display:none}}
.cmx-p,.cmx-n2{overflow:hidden;text-overflow:ellipsis}

.cmp-bar{display:block;height:4px;border-radius:2px;background:var(--line,#edeff3)}.cmp-bar u{display:block;height:4px;border-radius:2px;background:linear-gradient(90deg,var(--cmh2),var(--cmh))}
.cmp-k.n{background:var(--bg2);color:var(--fg3)}
/* 手机：数据榜改成紧凑的单列列表，一行一个币（左：序号 + 头像 + 名称；右：价格 + 涨跌） */
@media (max-width:760px){
  .cmb{padding:12px}
  .cmb-g6{grid-template-columns:minmax(0,1fr);grid-auto-rows:auto;gap:0;border:1px solid var(--line,#edeff3);border-radius:12px;overflow:hidden}
  .cmb-c{flex-direction:row;align-items:center;justify-content:space-between;gap:10px;padding:6px 10px;border:0;border-radius:0;border-bottom:1px solid var(--line,#edeff3);min-height:0;box-shadow:none;transform:none}
  .cmb-c:last-child{border-bottom:0}
  .cmb-c:hover{box-shadow:none;transform:none}
  .cmb-h{flex:1;min-width:0;gap:8px}
  .cmb-h em{order:-1;min-width:24px;text-align:center;padding:2px 4px}
  .cmb-h .ava{width:28px;height:28px}
  .cmb-n b{font-size:13.5px;line-height:1.25}.cmb-n small{line-height:1.25}
  .cmb-p{flex:none;flex-direction:column;align-items:flex-end;flex-wrap:nowrap;gap:1px}
  .cmb-px{font-size:14px}
  .cmb-g{font-size:11.5px;line-height:1.3;padding:0 6px}
  .cmb-kv{display:none}
}
/* 手机：代币列表改成两行一个币的卡片行，不再横向滑动。
   第一行：星标 / 序号 / 币种 / 价格；第二行：24h 涨跌 / 成交额 / 流动性 / 投票。排序用顶部一排小标签。 */
@media (max-width:760px){
  .cm-tablewrap.tablewrap{overflow-x:visible;display:block}
  .cm-table,.cm-table tbody,.cm-table thead{display:block;min-width:0;width:100%}
  .cm-table thead tr{display:flex;gap:6px;overflow-x:auto;padding:0 0 8px;-webkit-overflow-scrolling:touch}
  .cm-table thead th{display:none;flex:none;padding:5px 10px;border:1px solid var(--line,#edeff3);border-radius:999px;font-size:12px;white-space:nowrap;background:var(--bg,#fff)}
  .cm-table thead th.sortable{display:block}
  .cm-table thead th.sortable.asc,.cm-table thead th.sortable.desc{border-color:var(--cmh,#e8590c);color:var(--cmh,#e8590c)}
  .cm-table tbody tr{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;padding:10px 4px;border-bottom:1px solid var(--line,#edeff3)}
  .cm-table tbody tr::after{content:"";order:5;flex-basis:100%;height:0}
  .cm-table tbody td{padding:0;border:0;display:block;font-size:12px;min-width:0}
  .cm-table tbody td.st{order:1;width:22px;flex:none}
  .cm-table tbody td.rk{order:2;width:20px;flex:none;position:static;background:none;text-align:center;color:var(--fg3,#6b7280);font-size:12px}
  .cm-table tbody td.l:not(.rk){order:3;flex:1 1 0;position:static;background:none}
  .cm-table tbody td[data-k=price]{order:4;flex:none;text-align:right;font-size:14px;font-weight:700;color:var(--fg)}
  .cm-table tbody td.hm{display:none}
  .cm-table tbody td[data-k=chg24h]{order:6;flex:none;font-weight:700;font-size:12px;padding:1px 7px;border-radius:7px;background:var(--bg2,#f3f4f6)}
  .cm-table tbody td[data-k=chg24h]:has(.up){background:var(--cm-up-bg)}
  .cm-table tbody td[data-k=chg24h]:has(.down){background:var(--cm-dn-bg)}
  .cm-table tbody td[data-k=vol24],.cm-table tbody td[data-k=liquidity]{display:block;order:7;flex:none;color:var(--fg);font-size:12px}
  .cm-table tbody td[data-k=vol24]::before,.cm-table tbody td[data-k=liquidity]::before{content:attr(data-l) " ";color:var(--fg3,#6b7280);font-size:11px}
  .cm-table tbody td.vt{order:9;margin-left:auto;width:auto;flex:none}
  .cm-table tbody td.vt .cm-vote,.cm-table tbody td.vt button{padding:3px 12px;font-size:12px;min-height:0}
}

/* ───── 热搜单页 3：浅色、列表优先、头部尽量矮。头部两行 + 前三名紧凑卡片 + 名次表；手机端前三名并入名次表 ───── */
.hy-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 2px 10px}
.hy-tt h1{display:flex;align-items:center;gap:10px;margin:0 0 2px;font-size:26px;line-height:1.2;font-weight:800;letter-spacing:-.4px;color:var(--fg)}
.hy-tt h1 em{font-style:normal;background:linear-gradient(90deg,#f76707,#e64980);-webkit-background-clip:text;background-clip:text;color:transparent}
.hy-live{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;font-weight:600;letter-spacing:0;color:var(--cmh);background:var(--cmh-bg);border-radius:999px;padding:2px 9px}
.hy-live i{width:6px;height:6px;border-radius:50%;background:var(--cmh);animation:hyBlink 1.4s infinite}@keyframes hyBlink{50%{opacity:.25}}
.hy-tt p{margin:0;font-size:13px;color:var(--fg3)}
.hy-tk{flex:none;display:flex;align-items:center;gap:10px;padding:7px 14px;border:1px solid var(--line,#edeff3);border-radius:12px;background:var(--bg,#fff);box-shadow:var(--cm-sh)}
.hy-tk>span{font-size:13px;font-weight:600;color:var(--fg)}.hy-tk>b{font-size:24px;line-height:1;font-weight:800;color:var(--cmh)}
.hy-bar .cm-tabs{margin:0}
.hy-bar{display:flex;align-items:center;gap:12px 18px;flex-wrap:wrap;margin-bottom:12px}
.hy-steps{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:8px;flex:1 1 auto;justify-content:center;font-size:13px;font-weight:600;color:var(--fg)}
.hy-steps li{display:flex;align-items:center;gap:6px;white-space:nowrap}.hy-steps li+li::before{content:"›";margin-right:2px;color:var(--fg3);font-weight:400}
.hy-steps b{width:18px;height:18px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:11px;color:#fff;background:linear-gradient(135deg,#ff7a3d,#e64980)}
.hy-steps small{font-size:12px;font-weight:400;color:var(--fg3)}
.hy-find{display:flex;gap:8px;flex:0 1 300px}
.hy-find input[type=search]{flex:1;min-width:0;height:34px;padding:0 12px;border:1px solid var(--line,#e2e5ea);border-radius:10px;background:var(--bg,#fff);color:var(--fg);font-size:13px}
.hy-find button{flex:none;height:34px;padding:0 14px;border:0;border-radius:10px;background:var(--cmh);color:#fff;font-weight:600;font-size:13px;cursor:pointer}
.hy-pod{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:14px}
.hy-pd{position:relative;display:grid;grid-template-columns:36px minmax(0,1fr) auto;grid-template-areas:"md co ix" "pr pr pr" "act act act";gap:8px 10px;align-items:center;padding:14px 16px 14px 12px;border:1px solid var(--line,#edeff3);border-radius:14px;background:var(--bg,#fff);box-shadow:var(--cm-sh);transition:border-color .15s,box-shadow .15s,transform .15s}
.hy-pd:hover{border-color:var(--cmh-ln);box-shadow:0 10px 24px -14px rgba(232,89,12,.35);transform:translateY(-1px)}
.hy-pd.r1{--tint:rgba(247,181,0,.12);--edge:rgba(240,170,0,.5)}.hy-pd.r2{--tint:rgba(120,140,170,.12);--edge:rgba(140,156,182,.55)}.hy-pd.r3{--tint:rgba(217,122,58,.12);--edge:rgba(217,122,58,.5)}
.hy-pd{background:linear-gradient(180deg,var(--tint),transparent 70%),var(--bg,#fff);border-color:var(--edge)}
.hy-pd .cmt-k.m{grid-area:md;position:static;width:36px;height:43px;margin:0}
.cmx-r .cmt-k.m{margin:0 auto;width:26px;height:31px}.cmx-r>.cmt-k.m{grid-area:k}
.hy-back{display:inline-block;margin:2px 2px 8px;font-size:13px;color:var(--fg2);text-decoration:none}.hy-back:hover{color:var(--cmh)}
.hy-rt{display:flex;align-items:center;gap:14px;flex-wrap:wrap;justify-content:flex-end}.hy-all{font-size:13px;font-weight:600;color:var(--cmh);text-decoration:none;white-space:nowrap}
.hy-pd .cmx-co{grid-area:co;min-width:0;}
.hy-ix{grid-area:ix;display:flex;flex-direction:column;align-items:flex-end;line-height:1}.hy-ix b{font-size:34px;font-weight:850;letter-spacing:-1px;color:var(--cmh);font-variant-numeric:tabular-nums}.hy-ix small{margin-top:3px;font-size:11px;color:var(--fg3)}
.hy-pr{grid-area:pr;display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 10px;min-width:0}.hy-pr b{font-size:15px;color:var(--fg);font-variant-numeric:tabular-nums}.hy-pr small{font-size:12px;color:var(--fg3)}
.hy-act{grid-area:act;display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.hy-act .cmp-cn{flex:1;min-width:0}
.hy-pd .cm-vote{flex:none;padding:5px 18px}
.cmx-na{font-size:12px;color:var(--fg3)}
.flat .cmx-h .cmp-bar{display:none}.flat .cmx-h{justify-content:flex-start}
@media (min-width:761px){.cmx-r.is3{display:none}}
.cmx-r.is3 .cmp-k{font-weight:800;color:#4a2a00;background:linear-gradient(135deg,#ffe07a,#ffa033)}.cmx-r.g2 .cmp-k{background:linear-gradient(135deg,#e3e6ec,#aeb5c4);color:#2a2f3a}.cmx-r.g3 .cmp-k{background:linear-gradient(135deg,#f6c79d,#d99a63)}
.cmx-r.is3{background:linear-gradient(90deg,var(--cmh-bg),transparent 60%)}
@media (max-width:1180px){.hy-steps{order:3;flex-basis:100%;justify-content:flex-start}.hy-find{flex:1 1 220px;max-width:none}.hy-pod{gap:10px}.hy-pd{padding:12px 12px 10px}.hy-ix b{font-size:28px}.hy-pd{grid-template-columns:30px minmax(0,1fr) auto;gap:8px}.hy-pd .cmt-k.m{width:30px;height:36px}.hy-ix b{font-size:24px!important}.hy-pd .cmx-co .cmp-lg{display:none}}
@media (max-width:760px){
  .hy-head{gap:10px;padding-bottom:8px}.hy-tt h1{font-size:21px;gap:8px}.hy-tt p{font-size:12.5px}.hy-p2{display:none}
  .hy-tk{padding:6px 10px;gap:6px}.hy-tk>span{font-size:12px}.hy-tk>b{font-size:20px}.hy-tk .cm-dots{display:none}
  .hy-bar{gap:8px;margin-bottom:10px}.hy-steps{order:0;flex-basis:100%;order:3;font-size:12.5px}
  .hy-find{flex:1 1 100%}.hy-bar .cmx-tabs{flex:1 1 100%}
  .hy-pod{display:none}
  .cmx-r.g1 .cmp-k,.cmx-r.g2 .cmp-k,.cmx-r.g3 .cmp-k{border-radius:8px}
  .cmx-r{grid-template-columns:26px minmax(0,1fr) auto auto;grid-template-areas:"k co h v" ". m m d";gap:4px 8px;padding:10px 12px;align-items:center}
  .cmx-r>.cmx-mx{display:none}
  .cmx-r>.cmx-h{grid-area:h;width:64px;flex-direction:column-reverse;align-items:flex-end;gap:3px}.cmx-r>.cmx-h .cmp-bar{width:54px;flex:none}.cmx-r>.cmx-h b{width:auto;font-size:16px}
  .cmx-r>.cmx-d{display:block;grid-area:d;justify-self:end;font-size:11px;white-space:nowrap}
  .cmx-r>.cmx-m{grid-area:m;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .cmx-r>.cmx-v{grid-area:v}.cmx-r>.cmx-c{display:none}.cmx-ml{display:none}
}

/* 热搜单页：右侧社区卡片 */
.hy-stat small{display:block;margin-top:8px;font-size:11.5px;color:var(--fg3)}
.hy-sg{display:grid;grid-template-columns:1fr;gap:6px;text-align:center}.hy-sg span{display:flex;flex-direction:column;gap:2px;font-size:11.5px;color:var(--fg3)}.hy-sg b{font-size:18px;font-weight:800;color:var(--cmh);font-variant-numeric:tabular-nums}
.hy-st0{margin:0;font-size:13px;line-height:1.5;color:var(--fg2)}
.hy-comm h3{display:flex;align-items:baseline;justify-content:space-between}.hy-comm h3 a{font-size:12px;font-weight:500;color:var(--cmh)}
.hy-post{display:block;padding:10px 0;border-top:1px solid var(--line,#edeff3);color:inherit;text-decoration:none}.hy-post:first-of-type{border-top:0;padding-top:2px}
.hy-pn{display:flex;align-items:center;gap:6px;font-size:12.5px;font-weight:700;color:var(--fg)}.hy-pn i{font-style:normal;font-size:10px;font-weight:700;padding:0 5px;border-radius:4px;color:var(--cmh);background:var(--cmh-bg)}
.hy-post p{margin:4px 0 4px;font-size:13px;line-height:1.5;color:var(--fg2);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.hy-post small{font-size:11.5px;color:var(--fg3)}
.hy-post:hover p{color:var(--fg)}
.hy-go{display:block;margin-top:6px;padding:8px;border-radius:10px;text-align:center;font-size:13px;font-weight:600;color:var(--cmh);background:var(--cmh-bg)}

/* ───────── /chainmeme 顶部整行热搜榜（今日 / 昨日 / 本周 / 本月）+ 榜单页签 ───────── */
.cm-row{display:block}.cmp-wrap{display:block;width:100%}
.cmt-w{border:1px solid var(--line,#edeff3);border-radius:18px;background:var(--bg,#fff);box-shadow:var(--cm-sh);padding:16px 18px 12px}
.cmt-h{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:6px}
.cmt-h>b{font-size:18px;font-weight:700;letter-spacing:-.2px;color:var(--fg)}
.cmt-tabs{display:inline-flex;gap:2px;background:var(--bg2);border-radius:10px;padding:3px;margin-left:6px}
.cmt-tabs button{border:0;background:transparent;font:inherit;font-size:13px;font-weight:500;color:var(--fg2);padding:5px 14px;border-radius:8px;cursor:pointer;white-space:nowrap}
.cmt-tabs button.on{background:var(--bg,#fff);color:var(--cmh);font-weight:700;box-shadow:0 1px 2px rgba(16,24,40,.10)}
.cmt-note{font-size:12.5px;color:var(--fg3)}
.cmt-all{margin-left:auto;font-size:13px;font-weight:600;color:var(--cmh);text-decoration:none;white-space:nowrap}
.cmt-g{display:grid;grid-template-columns:minmax(0,1fr)}
.cmt{position:relative;display:grid;grid-template-columns:30px 34px minmax(0,1fr) 92px 68px;gap:12px;align-items:center;padding:10px 2px;border-bottom:1px solid var(--line,#eef0f3);color:inherit;text-decoration:none}
.cmt-g.nv .cmt{grid-template-columns:30px 34px minmax(0,1fr) 92px}
.cmt:hover{background:var(--bg2)}
.cmt-g>div:last-child .cmt:last-child,.cmt-g>div:first-child .cmt:last-child{border-bottom:0}
.cmt-k{width:24px;height:24px;border-radius:7px;background:var(--bg2);color:var(--fg3);font-size:12.5px;font-weight:700;display:flex;align-items:center;justify-content:center}
.cmt-k.m{display:block;padding:0;background:none;width:28px;height:33px;border-radius:0;filter:drop-shadow(0 2px 3px rgba(120,80,10,.28))}.cmt-k.m svg{display:block;width:100%;height:100%;min-width:0}
.cmt.r1{--tint:rgba(247,181,0,.12);--edge:rgba(240,170,0,.5)}.cmt.r2{--tint:rgba(120,140,170,.12);--edge:rgba(140,156,182,.55)}.cmt.r3{--tint:rgba(217,122,58,.12);--edge:rgba(217,122,58,.5)}
@media (min-width:1101px){
  .cmt-g>div{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-top:8px}
  .cmt,.cmt-g.nv .cmt{grid-template-columns:34px minmax(0,1fr);grid-template-areas:"lg nm" "ix ix" "sl sl" "v v";gap:6px 10px;align-items:center;padding:14px 14px 12px;border:1px solid var(--line,#edeff3);border-radius:14px;background:var(--bg,#fff);transition:border-color .15s,box-shadow .15s,transform .15s}
  .cmt:hover{background:var(--bg,#fff);border-color:var(--cmh-ln);box-shadow:0 10px 24px -14px rgba(232,89,12,.35);transform:translateY(-1px)}
  .cmt.r1,.cmt.r2,.cmt.r3{background:linear-gradient(180deg,var(--tint),transparent 70%),var(--bg,#fff);border-color:var(--edge)}
  .cmt .cmt-n{display:contents}.cmt .cmt-n>b{grid-area:nm;padding-right:34px;box-sizing:border-box;align-self:center;justify-self:start;margin:0;width:100%;flex-wrap:wrap;row-gap:2px}.cmt .cmt-n>b .nm{flex:1 0 100%;font-size:15px}.cmt .cmt-sl{grid-area:sl;align-self:start;flex-wrap:wrap;row-gap:3px;overflow:visible}.cmt .cmt-vl{flex-basis:100%;font-size:12px}.cmt-lg{grid-area:lg}.cmt .cmt-sl .cmt-act{display:none}
  .cmt .cmt-ix{grid-area:ix;text-align:left;flex-direction:column;align-items:flex-start;margin-top:6px}.cmt .cmt-ix b{font-size:27px;line-height:1.05;letter-spacing:-.6px}.cmt .cmt-ix small{font-size:11.5px}
  .cmt .cmt-v{grid-area:v;text-align:left;margin-top:6px}.cmt-v .cm-vote{width:100%;justify-content:center}
  .cmt-k{position:absolute;right:12px;top:10px;margin:0}.cmt-k.m{right:10px;top:-4px;width:38px;height:44px}
  
}
.cmt-lg{width:34px;height:34px;border-radius:50%;overflow:hidden;background:var(--bg2);display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;color:var(--fg3)}.cmt-lg img{width:100%;height:100%;object-fit:cover}
.cmt-n{min-width:0;display:flex;flex-direction:column;gap:1px}
.cmt-n b{font-size:14px;font-weight:600;color:var(--fg);display:flex;align-items:center;gap:6px;min-width:0;white-space:nowrap}.cmt-n b .nm{min-width:0;overflow:hidden;text-overflow:ellipsis}.cmt-n b>:not(.nm){flex:none}.cmt-n b em{font-style:normal;font-size:10px;background:var(--cmh-bg);color:var(--cmh);border-radius:4px;padding:0 5px}
.cmt-sl{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--fg3);font-variant-numeric:tabular-nums;white-space:nowrap;min-width:0;overflow:hidden}.cmt-act{display:inline-flex;gap:8px;min-width:0;overflow:hidden;text-overflow:ellipsis}.cmt-act span{position:relative;padding-left:9px}.cmt-act span::before{content:"";position:absolute;left:0;top:50%;width:4px;height:4px;margin-top:-2px;border-radius:50%;background:#e8590c;opacity:.7}
.cmt-sy{font-size:12px;font-weight:500;color:var(--fg3);max-width:84px;overflow:hidden;text-overflow:ellipsis}.cmt-ix{text-align:right;display:flex;flex-direction:column}.cmt-ix b{font-size:17px;font-weight:800;color:var(--cmh);font-variant-numeric:tabular-nums;letter-spacing:-.3px}.cmt-ix small{font-size:11px;color:var(--fg3)}
.cmt-v{text-align:right}
.cmt-f{padding:8px 2px 0;font-size:12.5px;color:var(--fg3)}
@media (max-width:1100px){.cmt-g{grid-template-columns:minmax(0,1fr);}.cmt-g>div:first-child .cmt:last-child{border-bottom:1px solid var(--line,#eef0f3)}}
@media (max-width:760px){
  .cmt-w{padding:12px 12px 8px;border-radius:16px}
  .cmt-h{gap:8px}.cmt-h>b{font-size:16px}.cmt-tabs{margin-left:0;order:5;width:100%;display:flex}.cmt-tabs button{flex:1;padding:6px 4px}
  .cmt-note{order:6;width:100%;font-size:12px}.cmt-all{margin-left:auto}
  .cmt,.cmt-g.nv .cmt{grid-template-columns:28px 30px minmax(0,1fr) auto auto;column-gap:8px;padding:9px 0}
  .cmt-g.nv .cmt{grid-template-columns:28px 30px minmax(0,1fr) auto}
  .cmt-lg{width:30px;height:30px}
  .cmt-ix b{font-size:16px}.cmt-ix small{display:none}
  .cmt-act{display:none}
  .cmt-v .cm-vote{padding:4px 10px;font-size:12.5px}
}
.hy-pdt{margin:0}.hy-pdn{font-size:12.5px;color:var(--fg3)}

/* 榜单表格：桌面端不横向滑动，空间不够时依次藏起 上线 / 持币地址 / 市值 / 1h% / 流动性（手机另有自己的列表样式） */
@media (min-width:1101px) and (max-width:1419px){.cm-table .hx1{display:none}}
@media (min-width:1101px) and (max-width:1349px){.cm-table .hx2{display:none}}
@media (min-width:1101px) and (max-width:1269px){.cm-table .hx3{display:none}}
@media (min-width:1101px) and (max-width:1199px){.cm-table .hx4{display:none}}
@media (min-width:1101px) and (max-width:1139px){.cm-table .hx5{display:none}}
@media (min-width:761px) and (max-width:1100px){.cm-table .hx1{display:none}}
@media (min-width:761px) and (max-width:1055px){.cm-table .hx2{display:none}}
@media (min-width:761px) and (max-width:980px){.cm-table .hx3{display:none}}
@media (min-width:761px) and (max-width:901px){.cm-table .hx4{display:none}}
@media (min-width:761px) and (max-width:839px){.cm-table .hx5{display:none}}
@media (min-width:761px){.cm-tablewrap .cm-table{min-width:0}.cm-table td,.cm-table th{padding-left:5px;padding-right:5px}.cm-tablewrap{overflow-x:hidden}}

/* 榜单表格再收紧一点：窄一些的桌面屏先藏热搜指数旁的小进度条、缩短币名 */
@media (min-width:761px) and (max-width:1419px){.cm-table .cm-heat i{display:none}.cm-table .cotxt .n .nm{max-width:110px}}
@media (max-width:560px){.cmt-vl,.cmt-sy{display:none}}
/* 币种列只占自己需要的宽度，多出来的空间平均分给后面的数字列（之前币种列把空间都吃了，和价格之间空一大截） */
@media (min-width:761px){.cm-table thead th:nth-child(3){width:1%}}

/* 榜单页 / 热搜页右侧的动态小卡（chainmeme-side.js） */
.sd-dyn{display:flex;flex-direction:column;gap:12px;margin-bottom:12px}.sd-dyn:empty{display:none}
.sd-stick{display:flex;flex-direction:column;gap:12px;position:sticky;top:84px}
.card.sd-c{padding:14px 16px}.card.sd-c h3{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin:0 0 6px;font-size:15px}.card.sd-c h3 small{font-size:11.5px;font-weight:400;color:var(--fg3)}
.sd-r{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:10px;align-items:center;padding:8px 0;text-decoration:none;color:inherit}.sd-r+.sd-r{border-top:1px solid var(--line,#eef0f3)}
.sd-lg{width:28px;height:28px;border-radius:50%;background:var(--bg2,#f1f3f7);display:flex;align-items:center;justify-content:center;overflow:hidden;font-size:10px;font-weight:700;color:var(--fg3)}.sd-lg img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.sd-n{display:flex;flex-direction:column;min-width:0;gap:1px}.sd-n b{font-size:13.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sd-n small,.sd-v small{font-size:11.5px;color:var(--fg3);display:flex;align-items:center;gap:4px}
.sd-v{display:flex;flex-direction:column;align-items:flex-end;gap:1px}.sd-v b{font-size:13.5px;font-variant-numeric:tabular-nums}
.sd-r:hover .sd-n b{color:var(--cmh)}.sd-nw{color:var(--cmh);background:var(--cmh-bg);border-radius:999px;padding:1px 8px;font-size:12px!important}
.sd-cb{display:flex;flex-direction:column;gap:9px;padding-top:4px}.sd-cr{display:grid;grid-template-columns:96px minmax(0,1fr) auto;gap:10px;align-items:center}
.sd-cr .n{display:flex;align-items:center;gap:6px}.sd-cr .n small{font-size:11.5px;color:var(--fg3);white-space:nowrap}
.sd-cr .b{height:7px;border-radius:99px;background:var(--bg2,#eef1f6);overflow:hidden}.sd-cr .b u{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#ffb066,var(--cmh))}
.sd-cr>b{font-size:12.5px;font-variant-numeric:tabular-nums;min-width:48px;text-align:right}
aside.side.sd-side{align-self:stretch}
@media (max-width:760px){#cd-kpi>div:nth-child(n+7){display:none}}
@media (max-width:900px){.sd-stick{position:static}}

/* 热搜单页：顶部一行、搜索放右上、名称不折行、指数与互动两列 */
.hy-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:2px 2px 8px}.hy-top .hy-back{margin:0}
.hy-head{flex-wrap:wrap}.hy-tt{min-width:0;flex:1 1 280px}
.hy-rt{flex:1 1 auto;flex-wrap:nowrap;justify-content:flex-end}
.hy-rt .hy-find{flex:1 1 440px;max-width:560px}
.hy-rt .hy-find input[type=search]{height:40px;border-radius:12px;padding:0 14px;font-size:14px;box-shadow:var(--cm-sh)}.hy-rt .hy-find button{height:40px;border-radius:12px;padding:0 18px;font-size:14px}
.cmx-nm{flex:1 1 auto}.cmx-nm b{flex-wrap:nowrap;min-width:0}.cmx-t{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cmx-nm b>:not(.cmx-t){flex:none}
.cmx-nm small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hy-pd .cmx-co{overflow:hidden}
.hy-hint{margin:0 2px 8px;font-size:12.5px;color:var(--fg3);line-height:1.6}
.cmx-mx .cmp-cn{flex-wrap:wrap}
@media (min-width:761px){.cmx-r>.cmx-h{flex-direction:column-reverse;align-items:stretch;gap:5px}.cmx-r>.cmx-h b{text-align:left;min-width:0;font-size:15px}}
.cmx-side{align-self:stretch}.cmx-side .sd-stick{display:flex;flex-direction:column;gap:12px;position:sticky;top:84px}
.hy-how ol{margin:0;padding-left:18px;font-size:13px;line-height:1.75;color:var(--fg2)}.hy-how li{margin-bottom:4px}.hy-how li b{color:var(--fg)}
@media (max-width:900px){.cmx-side .sd-stick{position:static}}
@media (max-width:1100px){.hy-rt .hy-find{flex:1 1 320px}}
@media (max-width:760px){.hy-rt{flex:1 1 100%}.hy-rt .hy-find{flex:1 1 auto;min-width:0}.hy-rt .hy-find input[type=search]{height:36px}.hy-rt .hy-find button{height:36px;padding:0 14px}}


.hy-pd .cmx-t{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.25;word-break:break-word}

.cmp-cn.act{display:grid;grid-template-columns:repeat(2,max-content);gap:3px 14px}.cmp-cn.act b.z{color:var(--fg3);font-weight:400}.cmp-cn.act b.z::before{background:var(--line,#dfe3ea)}

/* ───── 手机端整理 ───── */
@media (max-width:760px){
  /* 热搜页：首屏尽快看到币——去掉三步说明（页面底部「怎么冲榜」有），周期页签和说明挨着放 */
  .hy-steps{display:none}
  .hy-bar .cmx-tabs{order:0}.hy-pdt{order:1;flex:1 1 100%;display:flex}.hy-pdt button{flex:1}.hy-pdn{order:2;flex:1 1 100%;margin-top:-2px}
  .hy-hint{font-size:12px;margin-bottom:6px}
  /* 详情页：头部更紧凑，指标 3 列，成交 / 交易池表不用左右滑 */
  .cdg-l .xd-head{padding:14px;gap:8px 10px}.cdg-l .xd-head h1{font-size:18px}.cdg-l .xd-head .xd-stat{padding-top:10px;gap:4px 10px}
  .cdg-l .xd-head .xd-stat .px{font-size:24px}
  .cdg-l .xd-head .xd-stat .md-fav{gap:6px}.cdg-l .xd-head .xd-stat .md-fav button{height:34px;min-width:34px;padding:0 9px;justify-content:center}.cdg-l .xd-head .xd-stat .md-fav button span{display:none}
  .cd-gon{font-size:11.5px;line-height:1.5}
  .cdg .xd-kpi,.cdg .xd-kpi{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px}
  .cdg .xd-kpi>div{padding:9px 10px;border-radius:10px}.cdg .xd-kpi b{font-size:14.5px}.cdg .xd-kpi small{font-size:11px}
  .cdg .xd-kpi>div:nth-child(6) b{font-size:12.5px;white-space:nowrap;letter-spacing:-.3px}
}
@media (max-width:560px){
  .cd-txt{min-width:0}.cd-txt th:nth-child(n+5),.cd-txt td:nth-child(n+5){display:none}
}

/* 手机：链页签不再横滑，六个全部显示（3 × 2） */
@media (max-width:560px){
  .cm-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;overflow:visible;width:100%;box-sizing:border-box}
  .cm-tabs button{padding:8px 4px;text-align:center;font-size:13px;min-width:0;overflow:hidden;text-overflow:ellipsis}
  .cm-bar .cm-tabs{flex:1 1 100%}
}

/* 榜单页不放投票：搜索靠右；手机行右侧放热搜指数 */
.cm-bar .cm-q{margin-left:auto}
@media (max-width:760px){
  .cm-bar .cm-q{margin-left:0;flex:1 1 100%}
  .cm-table tbody td[data-k=heat]{display:block;order:9;margin-left:auto;width:auto;flex:none}
  .cm-table tbody td[data-k=heat] .cm-heat i{display:none}
}

/* 详情页重排：左 = 名称价格 → 去交易 → 热搜投票 → 合约安全 → 持币 → 合约；右 = K 线（时间段在图下）→ 指标 → 简介 → 成交 → 交易池 */
.cd-trade{display:flex;flex-direction:column;gap:10px;padding:14px;border:1px solid var(--line,#e5e8ee);border-radius:14px;background:var(--card,var(--bg,#fff))}
.cd-trade[hidden]{display:none}
@media (min-width:1001px){.cdg-r .xd-kpi{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media (min-width:1001px) and (max-width:1180px){.cdg-r .xd-kpi{grid-template-columns:repeat(3,minmax(0,1fr))}}
.cd-chart .mv-bar{margin:10px 0 0}
.cd-pass{margin-top:12px;border-top:1px dashed var(--line,#e5e8ee);padding-top:10px}
.cd-pass summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:var(--cm-up)}
.cd-pass summary::-webkit-details-marker{display:none}
.cd-pass summary span{margin-left:auto;font-size:12px;font-weight:500;color:var(--fg3)}.cd-pass summary span::after{content:" ▾"}.cd-pass[open] summary span::after{content:" ▴"}
.cd-pass .cm-sec{margin-top:8px}
@media (max-width:760px){.cd-trade{padding:12px}.cd-chart .mv-bar{margin:8px 0 0}}

/* 手机：排序标签不再横滑，只留最常用的 4 个，等分一行（其余列在电脑上排序） */
@media (max-width:760px){
  .cm-table thead tr{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;overflow:visible;padding:0 0 10px}
  .cm-table thead th.sortable{display:none}
  .cm-table thead th.sortable[data-sk=vol24],.cm-table thead th.sortable[data-sk=chg24h],.cm-table thead th.sortable[data-sk=liquidity],.cm-table thead th.sortable[data-sk=heat]{display:block;text-align:center;padding:7px 2px;font-size:12.5px;overflow:hidden;text-overflow:clip}
  .cm-table thead th.sortable:not(.asc):not(.desc)::after{display:none}
  .cm-table thead th.sortable.asc,.cm-table thead th.sortable.desc{background:var(--cmh-bg,#fff4ec)}
}
@media (max-width:760px){
  #ai-wrap{margin-bottom:10px}
  #ai-wrap .al-qs{display:none}
  #ai-wrap .ai-line{justify-content:space-between}
  #ai-wrap .al-k{font-size:13.5px;font-weight:600;gap:6px;flex:1}
  .cm-bar{margin-bottom:10px}
}
@media (max-width:760px){
  .cm-table thead tr{grid-template-columns:auto repeat(4,minmax(0,1fr));align-items:center;padding:8px 8px 10px}
  .cm-table thead tr::before{content:"排序";font-size:12px;color:var(--fg3,#6b7280);padding-right:2px}
  .cm-table thead th.sortable[data-sk=vol24],.cm-table thead th.sortable[data-sk=chg24h],.cm-table thead th.sortable[data-sk=liquidity],.cm-table thead th.sortable[data-sk=heat]{font-size:12px;padding:6px 0}
}
@media (max-width:760px){
  .cm-table thead th.sortable{overflow:visible!important;white-space:nowrap}
  .cm-table thead th.sortable.asc::after,.cm-table thead th.sortable.desc::after{font-size:8px;margin-left:2px}
  .cm-table thead th.sortable[data-sk=vol24]{letter-spacing:-.4px}
}

/* 手机榜单头：排序条 = 四个等宽按钮（涨跌 / 成交额 / 流动性 / 热搜），不滑动、不换行 */
.cm-table th .ls{display:none}
@media (max-width:760px){
  .cm-table th .lf{display:none}.cm-table th .ls{display:inline}
  .cm-table thead tr{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px;overflow:visible!important;padding:8px 8px 10px!important;align-items:stretch!important}
  .cm-table thead tr::before{content:none!important}
  .cm-table thead th.sortable[data-sk=vol24],.cm-table thead th.sortable[data-sk=chg24h],.cm-table thead th.sortable[data-sk=liquidity],.cm-table thead th.sortable[data-sk=heat]{display:flex!important;justify-content:center;align-items:center;padding:8px 0!important;font-size:13px!important;letter-spacing:0!important;border-radius:10px}
  .cm-table thead th.sortable::after{margin-left:3px}
}

/* 链选择：手机上换成下拉，和搜索放一行；电脑上还是页签 */
.cm-chsel{display:none}
@media (max-width:760px){
  .cm-bar .cm-tabs{display:none}
  .cm-chsel{display:block;flex:0 0 auto;max-width:42%;font:inherit;font-size:14px;font-weight:600;padding:9px 30px 9px 12px;border-radius:10px;border:1px solid var(--line,#e5e8ee);color:var(--fg);-webkit-appearance:none;appearance:none;background:var(--bg2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236b7280' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 11px center}
  .cm-bar .cm-q{flex:1 1 0!important;min-width:0;margin-left:0;font-size:14px;padding:9px 12px;border-radius:10px}
  .cm-bar{flex-wrap:nowrap;gap:8px}
  /* 排序条：市值（默认）/ 涨跌 / 成交额 / 热搜 */
  .cm-table thead th.sortable[data-sk=mcap]{display:flex!important;justify-content:center;align-items:center;padding:8px 0!important;font-size:13px!important;letter-spacing:0!important;border-radius:10px;order:-1}
  .cm-table thead th.sortable[data-sk=liquidity]{display:none!important}
  /* 每行第二行：涨跌 · 成交 · 市值（原来是流动性） */
  .cm-table tbody td[data-k=liquidity]{display:none!important}
  .cm-table tbody td[data-k=mcap]{display:block;order:7;flex:none;color:var(--fg);font-size:12px}
  .cm-table tbody td[data-k=mcap]::before{content:attr(data-l) " ";color:var(--fg3,#6b7280);font-size:11px}
}

/* 热搜页：手机上链选择放到搜索框左边 */
@media (max-width:760px){
  .hy-bar .cmx-tabs{display:none}
  .hy-rt .hy-find{gap:6px}
  .hy-rt .hy-find .cm-chsel{max-width:38%;padding:0 26px 0 10px;height:36px;font-size:13px;border-radius:12px;background-position:right 9px center}
}
@media (max-width:760px){
  .hy-rt{flex-wrap:wrap;gap:8px;width:100%;max-width:100%;min-width:0;box-sizing:border-box}
  .hy-rt .hy-find{flex:1 1 100%}
  .hy-rt .hy-tk{flex:1 1 100%;justify-content:center;padding:5px 10px}
  .hy-rt .hy-tk>b{font-size:18px}
}

/* 冲榜规则卡片 + 申请收录表单 */
.cma-rules .cma-lead{margin:0 0 8px;font-size:13px;line-height:1.7;color:var(--fg2)}
.cma-rules .cma-note{margin:8px 0 10px;font-size:13px;line-height:1.7;color:var(--fg2)}
.cma-btn,.cma-sub-b{display:inline-flex;align-items:center;justify-content:center;height:38px;padding:0 18px;border:0;border-radius:10px;background:var(--cmh);color:#fff;font:inherit;font-size:14px;font-weight:700;cursor:pointer}
.cma-btn:hover,.cma-sub-b:hover{filter:brightness(1.06)}.cma-sub-b:disabled{opacity:.6;cursor:default}
.cma-more{margin-left:12px;font-size:13px;font-weight:600;color:var(--cmh);text-decoration:none}
.cma-line{margin:12px 0 0;text-align:center;font-size:13.5px;color:var(--fg2)}
.cma-line button{margin-left:6px;padding:4px 2px;border:0;background:none;font:inherit;font-weight:700;color:var(--cmh);cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.cma-ov{position:fixed;inset:0;z-index:2147483100;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(10,20,50,.55)}
.cma-md{position:relative;width:min(440px,100%);max-height:calc(100vh - 32px);overflow:auto;box-sizing:border-box;padding:26px 24px 22px;border-radius:18px;background:var(--bg,#fff);color:var(--fg);box-shadow:0 24px 60px rgba(5,15,60,.35)}
.cma-md h3{margin:0 0 4px;font-size:19px}.cma-sub{margin:0 0 14px;font-size:13.5px;line-height:1.6;color:var(--fg2)}
.cma-x{position:absolute;right:10px;top:8px;width:36px;height:36px;border:0;border-radius:10px;background:none;font-size:26px;line-height:1;color:var(--fg2);cursor:pointer}
.cma-md label{display:block;margin:0 0 12px;font-size:13px;font-weight:600;color:var(--fg2)}
.cma-md input{display:block;width:100%;box-sizing:border-box;margin-top:5px;height:42px;padding:0 12px;border:1px solid var(--line,#dfe3ec);border-radius:10px;background:var(--bg2,#f6f8fc);color:var(--fg);font:inherit;font-size:15px}
.cma-md select{display:block;width:100%;box-sizing:border-box;margin-top:5px;height:42px;padding:0 10px;border:1px solid var(--line,#dfe3ec);border-radius:10px;background:var(--bg2,#f6f8fc);color:var(--fg);font:inherit;font-size:15px}
.cma-md select:focus{outline:2px solid var(--cmh);outline-offset:1px}
.cma-md input:focus{outline:2px solid var(--cmh);outline-offset:1px}
.cma-md .cma-hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.cma-msg{min-height:20px;margin:0 0 8px;font-size:13px;color:var(--fg2)}.cma-msg.err{color:#e0313a}
.cma-md .cma-sub-b{width:100%;height:44px}
@media (max-width:760px){.cma-md{padding:24px 18px 18px}.cma-md input{font-size:16px}}

/* 搜索：找到了（合约地址完全对上）/ 没找到时的申请入口 */
.cm-found{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:0 0 10px;padding:10px 14px;border-radius:12px;background:#fff3e8;border:1px solid #ffd3ad;font-size:14px;color:var(--fg,#111827)}.cm-found:empty{display:none}.cm-found a{color:#e8590c;font-weight:700;text-decoration:none}
.cm-empty .cma-btn{margin-top:12px}

/* 热搜榜表格：每档宽度都让「币种」吃剩余空间，不留空白；窄了就依次收起 流动性 → 站内互动 → 24h% → 距上一名 */
@media (min-width:761px) and (max-width:1399px){
  .cmx-th,.cmx-r{grid-template-columns:34px minmax(130px,1fr) 88px 72px 80px 112px 120px 56px 76px}
  .cmx-th>:nth-child(6),.cmx-r>:nth-child(6){display:none}
}
@media (min-width:761px) and (max-width:1279px){
  .cmx-th,.cmx-r{grid-template-columns:34px minmax(110px,1fr) 88px 72px 80px 112px 56px 76px}
  .cmx-th>:nth-child(8),.cmx-r>:nth-child(8){display:none}
}
@media (min-width:901px) and (max-width:1100px){
  .cmx-th,.cmx-r{grid-template-columns:34px minmax(100px,1fr) 88px 80px 112px 76px}
  .cmx-th>:nth-child(4),.cmx-r>:nth-child(4),.cmx-th>:nth-child(9),.cmx-r>:nth-child(9){display:none}
}
.cmx-th>:nth-child(10),.cmx-r>.cmx-v{justify-self:end}

/* 页面标题行：左边标题 + 汇总数，右边搜索 */
.sg-mm .sg-h{flex-wrap:nowrap;align-items:center;gap:24px}
.cm-hl{display:flex;align-items:center;gap:14px 36px;flex-wrap:wrap;min-width:0;flex:1 1 auto}
.cm-hl .sg-t{flex:none}
.cm-hl .sg-st{gap:26px;margin:0}
.cm-hq{position:relative;display:flex;align-items:center;flex:0 1 480px;min-width:340px}
.cm-hq svg{position:absolute;left:14px;color:var(--fg3,#98a2b3);pointer-events:none;width:17px;height:17px}
.cm-hq .cm-q{flex:1;max-width:none;margin:0;width:100%;box-sizing:border-box;font:inherit;font-size:14px;padding:11px 14px 11px 40px;border-radius:12px;border:1px solid var(--line,#e5e8ee);background:var(--bg2,#f6f7f9);color:var(--fg);transition:border-color .15s,box-shadow .15s,background .15s}
.cm-hq .cm-q:hover{border-color:#cfd5df}
.cm-hq .cm-q:focus{outline:0;background:var(--bg,#fff);border-color:var(--cmh,#ff7a3d);box-shadow:0 0 0 3px rgba(255,122,61,.16)}
@media (max-width:980px){.sg-mm .sg-h{flex-wrap:wrap}.cm-hq{flex:1 1 100%}}
@media (max-width:760px){.cm-hl .sg-st{gap:18px;width:100%}.cm-hq .cm-q{font-size:15px;padding:11px 14px 11px 40px}}

/* 手机热搜页：「今日还能点火」缩成小标签，放在标题行右侧（完整排行榜下面），不再单独占一行 */
@media (max-width:760px){.hy-head{position:relative}.hy-rt .hy-tk{position:absolute;top:2px;right:2px;padding:3px 10px;gap:6px;border-radius:999px;box-shadow:none}.hy-rt .hy-tk>span{font-size:12px}.hy-rt .hy-tk>b{font-size:17px}}
@media (max-width:400px){.hy-live{display:none}}

/* 搜索按钮 */
.cm-hq .cm-q{padding-right:84px}
.cm-hq .cm-q::-webkit-search-cancel-button{margin-right:6px;cursor:pointer}
.cm-qb{position:absolute;right:5px;top:5px;bottom:5px;padding:0 16px;border:0;border-radius:9px;background:linear-gradient(180deg,#ff8a4d,#ff6a2b);color:#fff;font:inherit;font-size:14px;font-weight:700;letter-spacing:.5px;cursor:pointer;box-shadow:0 2px 6px rgba(255,106,43,.35);transition:filter .15s,transform .1s}
.cm-qb:hover{filter:brightness(1.06)}.cm-qb:active{transform:scale(.97)}
@media (max-width:760px){.cm-qb{padding:0 14px}}

/* 热搜页搜索结果：不在热搜榜时，引导去链上 MEME 榜单 / 详情页；还没收录时引导申请 */
.hy-sr{position:relative;display:flex;align-items:center;gap:8px 14px;flex-wrap:wrap;margin:0 0 12px;padding:12px 40px 12px 16px;border-radius:12px;background:#fff3e8;border:1px solid #ffd3ad;font-size:14px;line-height:1.5;color:var(--fg,#111827)}
.hy-sr.no{background:#fff7ed;border-color:#fed7aa}
.hy-sr-t{flex:1 1 260px;min-width:0;overflow-wrap:anywhere}.hy-sr-t b,.hy-sr>div b{color:#e8590c}
.hy-sr>div.hy-sr-t{flex:1 1 100%}
.hy-sr-l{display:flex;gap:8px;flex-wrap:wrap;flex:1 1 100%}
.hy-sr-l a{display:flex;align-items:center;gap:8px;padding:7px 12px;border-radius:10px;background:var(--bg,#fff);border:1px solid #ffd3ad;color:inherit;text-decoration:none;font-size:13.5px}
.hy-sr-l a span{color:var(--fg3,#667085);font-size:12.5px}.hy-sr-l a i{font-style:normal;color:#e8590c;font-weight:700}
.hy-sr-go{color:#e8590c;font-weight:700;text-decoration:none;white-space:nowrap}
.hy-sr .cma-btn{margin:0;flex:none}
.hy-sr-x{position:absolute;right:8px;top:8px;width:26px;height:26px;border:0;border-radius:50%;background:transparent;color:var(--fg3,#667085);font-size:18px;line-height:1;cursor:pointer}.hy-sr-x:hover{background:rgba(0,0,0,.06)}
html[data-theme=dark] .hy-sr{background:rgba(255,122,61,.12);border-color:rgba(255,122,61,.35)}html[data-theme=dark] .hy-sr-l a{background:var(--bg2)}
.hy-flash{animation:hyfl 2.4s ease}
@keyframes hyfl{0%,60%{box-shadow:0 0 0 3px rgba(255,106,43,.55);background-color:rgba(255,122,61,.14)}100%{box-shadow:0 0 0 0 rgba(255,106,43,0)}}

.cm-ref{display:inline-block;margin-left:6px;padding:0 6px;border-radius:4px;font-size:11px;line-height:18px;background:#eef1f6;color:#6b7280;vertical-align:middle}

/* 热搜榜分享按钮 + 海报弹窗（chainmeme-share.js） */
.cm-share{display:inline-flex;align-items:center;gap:5px;margin-left:auto;padding:6px 13px;border:1px solid var(--cmh-ln);border-radius:999px;background:var(--cmh-bg);color:var(--cmh);font:inherit;font-size:13px;font-weight:700;line-height:1.2;cursor:pointer;white-space:nowrap;transition:background .15s,color .15s,border-color .15s,transform .1s}
.cm-share:hover{background:var(--cmh);border-color:var(--cmh);color:#fff}
.cm-share:active{transform:scale(.97)}
.cm-share:focus-visible{outline:2px solid var(--cmh);outline-offset:2px}
.cm-share+.cmt-all{margin-left:14px}
.hy-bar .cm-share{margin-left:0}
.cms-lock{overflow:hidden}
.cms-lock #fxh-ai-launcher-wrap,.cms-lock #fxh-ai-hide{visibility:hidden!important}   /* 分享面板打开时收起底部「问问非小号 AI」条 */
.cms-ov{position:fixed;inset:0;z-index:1200;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(10,16,34,.62);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.cms-ov[hidden]{display:none}
.cms-box{position:relative;width:min(900px,100%);max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow:auto;background:var(--card,#fff);color:var(--fg,#10213f);border-radius:20px;box-shadow:0 24px 70px rgba(0,0,0,.35);padding:22px}
.cms-x{position:absolute;right:12px;top:10px;width:34px;height:34px;border:0;border-radius:50%;background:transparent;color:var(--fg3,#6b7280);font-size:26px;line-height:1;cursor:pointer;z-index:2}
.cms-x:hover{background:var(--cmh-bg);color:var(--cmh)}
.cms-main{display:grid;grid-template-columns:minmax(0,340px) minmax(0,1fr);gap:26px;align-items:start}
.cms-stage{background:var(--cmh-bg);border-radius:16px;padding:10px;display:flex;justify-content:center}
.cms-stage img{display:block;width:100%;height:auto;max-height:calc(100vh - 110px);object-fit:contain;border-radius:10px;box-shadow:0 8px 26px rgba(16,33,63,.18);-webkit-touch-callout:default;user-select:none}
.cms-side{min-width:0;padding-top:8px}
.cms-side h3{margin:0 0 6px;font-size:20px;font-weight:800}
.cms-note{margin:0 0 16px;font-size:13px;color:var(--fg3,#6b7280)}
.cms-th{display:flex;gap:10px;margin-bottom:18px}
.cms-th button{flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:center;gap:6px;padding:7px 6px 8px;border:2px solid var(--line,#e5e7eb);border-radius:12px;background:transparent;color:var(--fg,#10213f);font:inherit;font-size:13px;font-weight:600;cursor:pointer;transition:border-color .15s,background .15s}
.cms-th button img{display:block;width:100%;max-width:74px;aspect-ratio:2/3;object-fit:cover;border-radius:6px;background:var(--cmh-bg)}
.cms-th button:hover{border-color:var(--cmh-ln)}
.cms-th button.on{border-color:var(--cmh);background:var(--cmh-bg);color:var(--cmh)}
.cms-act{display:flex;gap:10px;flex-wrap:wrap}
.cms-btn{flex:1 1 150px;padding:11px 16px;border:1px solid var(--line,#e5e7eb);border-radius:12px;background:var(--card,#fff);color:var(--fg,#10213f);font:inherit;font-size:14px;font-weight:700;cursor:pointer;transition:background .15s,border-color .15s}
.cms-btn:hover{border-color:var(--cmh);color:var(--cmh)}
.cms-btn.pri{border-color:transparent;background:linear-gradient(135deg,#ff8a4c,#e8590c);color:#fff}
.cms-btn.pri:hover{filter:brightness(1.06);color:#fff}
.cms-toast{margin:10px 0 0;font-size:13px;font-weight:600;color:var(--cmh)}
.cms-load{min-width:240px;padding:34px 20px;text-align:center;color:var(--fg3,#6b7280);font-size:14px}
.cms-load i{display:block;width:28px;height:28px;margin:0 auto 12px;border:3px solid var(--cmh-ln);border-top-color:var(--cmh);border-radius:50%;animation:cmsSpin .8s linear infinite}
@keyframes cmsSpin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.cms-load i{animation:none}}
@media (max-width:720px){
  .cm-share{padding:5px 11px;font-size:12.5px}
  .cms-ov{padding:0;align-items:flex-end}
  .cms-box{width:100%;max-height:94vh;max-height:94dvh;border-radius:20px 20px 0 0;padding:18px 16px calc(16px + env(safe-area-inset-bottom,0px))}
  .cms-main{grid-template-columns:1fr;gap:14px}
  .cms-stage{padding:8px}
  .cms-stage img{max-height:52vh;max-height:52dvh;width:auto;max-width:100%;margin:0 auto}
  .cms-side{padding-top:0}
  .cms-side h3{font-size:17px}
  .cms-note{margin-bottom:12px}
  .cms-th{margin-bottom:12px}
  .cms-th button img{max-width:46px}
}
.cm-share.m-only{display:none}
@media (max-width:760px){
  /* 手机上分享按钮做成实心橙色，热搜页放到标题右边，一眼能看到 */
  .cm-share{padding:7px 14px;font-size:13.5px;border-color:transparent;background:linear-gradient(135deg,#ff8a4c,#e8590c);color:#fff;box-shadow:0 4px 12px rgba(232,89,12,.3)}
  .cm-share:hover{background:linear-gradient(135deg,#ff8a4c,#e8590c);color:#fff;filter:brightness(1.05)}
  .hy-bar .cm-share{display:none}
  .hy-head{position:relative}
  .cm-share.m-only{display:inline-flex;position:absolute;right:0;top:2px;z-index:2}
}

/* 11-22 只留一张总榜：周期页签换成「总榜」标签 + 醒目的「看规则」；规则弹窗 */
.cm-total{display:inline-flex;align-items:center;font-size:12px;font-weight:600;letter-spacing:0;color:var(--cmh);background:var(--cmh-bg);border-radius:999px;padding:3px 10px;white-space:nowrap}
.cm-rules-btn{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 14px;border:1.5px solid var(--cmh);border-radius:999px;background:var(--bg,#fff);color:var(--cmh);font:inherit;font-size:13.5px;font-weight:700;cursor:pointer;white-space:nowrap}
.cm-rules-btn:hover{background:var(--cmh-bg)}.cmt-h .cm-rules-btn{margin-left:auto}.cmt-h .cm-rules-btn~.cmt-all{margin-left:0}
.cmt-f{display:flex;gap:8px 14px;align-items:center;flex-wrap:wrap}.cmt-go{font-weight:700;color:var(--cmh);text-decoration:none;white-space:nowrap}
.cmr{position:relative;width:min(560px,100%);max-height:calc(100dvh - 32px);overflow:auto;background:var(--bg,#fff);color:var(--fg);border-radius:18px;padding:26px 24px 20px;box-shadow:0 24px 60px rgba(10,20,50,.35)}
.cmr-hd{text-align:center;padding:0 18px}.cmr-fire{display:inline-flex;width:52px;height:52px;align-items:center;justify-content:center;font-size:28px;border-radius:50%;background:linear-gradient(135deg,#fff1e6,#ffe0ea)}
.cmr-hd h3{margin:12px 0 6px;font-size:21px;line-height:1.35;font-weight:800}.cmr-hd p{margin:0;font-size:14px;line-height:1.6;color:var(--fg2)}
.cmr-st{list-style:none;margin:18px 0 0;padding:0;display:grid;gap:10px}.cmr-st li{display:flex;gap:12px;align-items:flex-start;padding:12px 14px;border-radius:12px;background:var(--bg2)}
.cmr-st li>b{flex:none;width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:13.5px;color:#fff;background:linear-gradient(135deg,#ff7a3d,#e64980)}
.cmr-st strong{display:block;font-size:15px;line-height:1.4}.cmr-st span{display:block;margin-top:2px;font-size:13.5px;line-height:1.55;color:var(--fg2)}
.cmr-ru{margin-top:16px}.cmr-ru h4{margin:0 0 6px;font-size:14px;font-weight:700}.cmr-ru ul{margin:0;padding-left:18px;display:grid;gap:5px;font-size:13.5px;line-height:1.6;color:var(--fg2)}.cmr-ru b{color:var(--fg);font-weight:700}
.cmr-ft{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:18px}
.cmr-go{flex:1 1 180px;display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 20px;border:0;border-radius:12px;background:linear-gradient(135deg,#ff7a3d,#e64980);color:#fff!important;font:inherit;font-size:15.5px;font-weight:700;text-decoration:none;cursor:pointer}
.cmr-ok,.cmr-ap{min-height:46px;padding:0 16px;border:1px solid var(--line);border-radius:12px;background:transparent;color:var(--fg);font:inherit;font-size:14px;font-weight:600;cursor:pointer}.cmr-ap{color:var(--fg2);font-weight:500}
@media (max-width:760px){
  .cmr-ov{align-items:flex-end;padding:0}.cmr{width:100%;border-radius:18px 18px 0 0;padding:22px 16px calc(16px + env(safe-area-inset-bottom));max-height:88dvh}.cmr-hd{padding:0 22px}.cmr-hd h3{font-size:19px}
  .cmr-ft>*{flex:1 1 100%}.cmr-ok,.cmr-ap{min-height:42px}
  .cmt-h .cm-total{order:4}.cmt-h .cm-rules-btn{order:5;margin-left:0}.cmt-note{order:6}
  .hy-tt .cm-total{display:none}
  .hy-bar .cm-rules-btn{order:1;flex:1 1 100%;justify-content:center;height:40px}
}

/* 11-22 热搜页首屏精简（手机尤其）：标题、今天还能点几次 + 看规则、搜索，然后直接是榜单 */
.hy-mrow{display:none}.cmx-mv2,.cmx-ml{font-style:normal}
@media (max-width:760px){
  .hy-top .hy-all,.hy-p2,.hy-hint,.hy-rt .hy-tk,.hy-bar .cm-rules-btn,.hy-bar .cm-share:not(.m-only){display:none!important}
  .hy-top{margin-bottom:4px}.hy-tt h1{font-size:23px}.hy-tt p{font-size:13.5px;margin-top:4px}
  .hy-mrow{display:flex;align-items:center;gap:10px;margin-top:12px;padding:10px 10px 10px 14px;border-radius:14px;background:var(--cmh-bg)}
  .hy-ml{flex:1;min-width:0;display:flex;align-items:baseline;gap:6px;font-size:14px;font-weight:600;color:var(--fg)}.hy-ml b{font-size:24px;line-height:1;font-weight:800;color:var(--cmh)}
  .hy-mrow .cm-rules-btn{flex:none;height:38px;padding:0 16px;font-size:14px}
  .hy-bar{margin-top:2px}
  .cmx-r>.cmx-d,.cmx-mv2,.cmx-ml{display:none!important}
  .cmx-r .cm-vote{min-height:38px;padding:0 16px;font-size:14px}
  .cmt-h .cmt-note{display:none}
}

.cmt-h .hy-live{flex:none}
@media (max-width:760px){.hy-tt .hy-live{display:none}}
