:root {
  --bg: #0e1117;
  --bg2: #151a23;
  --bg3: #1c2330;
  --line: #26303f;
  --fg: #e6edf7;
  --fg2: #9aa8bd;
  --fg3: #6b7a90;
  --ok: #2ebd85;
  --brand: #4c8dff;
  --up: #f6465d;
  --down: #2ebd85;
  --radius: 10px;
}
html[data-theme="light"] {
  --bg: #f5f7fb;
  --bg2: #ffffff;
  --bg3: #eef2f8;
  --line: #e2e8f2;
  --fg: #10151d;
  --fg2: #5b6a80;
  --fg3: #8a97a8;
  --ok: #0a9b6c;
  --brand: #2f6fe4;
  --up: #d92b3f;
  --down: #0a9b6c;
}
* { box-sizing: border-box; }
/* 2026-11-06 手机/微信优化（三条都是移动端专属的默认行为，桌面无影响）：
   · text-size-adjust：iOS 横屏或双击时会把正文自动放大一档，锁住；
   · tap-highlight：安卓 Chrome 点卡片会闪一层灰，靠自己的 :active 给反馈；
   · touch-action: manipulation：去掉 300ms 点击延迟和双击缩放。 */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
* { -webkit-tap-highlight-color: transparent; }
a, button, .tab { touch-action: manipulation; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 14px/1.5 -apple-system, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  /* 全面屏底部那条横条别压住最后一行内容（微信内尤其明显） */
  padding-bottom: env(safe-area-inset-bottom);
}
a { color: inherit; text-decoration: none; }

.top {
  position: sticky; top: 0; z-index: 20;
  background: var(--bg2);
  border-bottom: 1px solid var(--line);
}
.top-in {
  max-width: 1240px; margin: 0 auto; padding: 12px 18px;
  display: flex; align-items: center; gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
/* 2026-11-05 16:41 用户：「首页按钮 改成返回首页 稍微放大一些」。
   文案 2 字 → 4 字，所以高度 28→31、字号 12→13.5、左右 padding 10→13，
   否则四颗字挤在 28px 高的胶囊里会显得局促。 */
.logo {
  height: 31px; padding: 0 13px; border-radius: 9px;
  background: linear-gradient(135deg, #5b9cff, #2f6fe4);
  color: #fff; font-weight: 800; font-size: 13.5px;
  display: grid; place-items: center; letter-spacing: .1px;
  white-space: nowrap;
}
.spacer { flex: 1; }
/* 顶栏：首页按钮旁边那句当前页名字（2026-11-05 14:59） */
.brand-name { font-size: 15px; font-weight: 650; letter-spacing: -.2px; color: var(--fg); }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--fg2);
  background: var(--bg3); border: 1px solid var(--line);
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
/* 顶栏胶囊里曾经挂过「· 统计时段 04:50 ~ 05:00」，2026-11-06 08:20 用户要求去掉
   （other.js 不再渲染 .win），这里的两条规则跟着删，别留死代码。 */
.dot.warn { background: #f5a623; }
.dot.off { background: var(--fg3); }
.icon-btn {
  background: var(--bg3); border: 1px solid var(--line); color: var(--fg2);
  width: 32px; height: 32px; border-radius: 9px; cursor: pointer; font-size: 14px;
}
.icon-btn:hover { color: var(--fg); }

/* 底部留白 86px = 固定底栏（约 55px）+ 一段呼吸，否则最后一行被导航条盖住 */
.wrap { max-width: 1240px; margin: 0 auto; padding: 18px 18px 100px; }
.cards {
  display: grid; gap: 12px; margin-bottom: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.card {
  background: var(--bg2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px 16px;
}
.card .k { font-size: 12px; color: var(--fg2); }
.card .v { font-size: 22px; font-weight: 650; margin-top: 4px; letter-spacing: -.3px; }
.card .s { font-size: 11px; color: var(--fg3); margin-top: 4px; }
/* 2026-11-07 左卡只剩分区明细时，每行拆成「区名 + 数字」两段混排。
   演变过程（别退回去）：
     · 16:3x 用户「参照右边退市图和下边数字」→ 区名照 .side .k、数字照 .side .v；
     · 16:4x 用户「5 和 79 太大了 小一点」→ 数字 18px 收到 15px；
     · 16:5x 用户「字体调换一下 分区用粗的那种」→ **两者对调**：
       区名 = 15px / 650 / var(--fg)（粗黑，主导），
       数字 = 12px / 400 / var(--fg2)（细灰，附属）。
   选择器用 #cA_s 限定，只作用于 top / ib 两个平台页（other.html）；
   NB 页（index.html，副标题 id 是 cTotalSub / cAmtSub）没有这个 id，
   就算加载同一份 style.css 也绝不会命中 —— 用户「这个改动只改top和ib nb的不动」。 */
#cA_s.big {
  font-size: 12px; font-weight: 400; color: var(--fg2);
  line-height: 1.6; margin-top: 2px;
}
#cA_s.big .nm { font-size: 15px; font-weight: 650; color: var(--fg); }
/* 2026-11-07 17:3x 用户「分区和种数中间留个空 也不用太远 别影响手机端显示」：
   5px 太挤（比一个空格还窄），放到 9px ≈ 0.75 个字，看着是有意空开的，又不成断句。
   窄屏不额外放宽（9px 是全站最小的那个空，手机上一行 4 字区名 + 数字仍只有 ~105px，
   卡片内宽 ~137px 够用），只把数字本身锁成不折行。 */
#cA_s.big .nb {
  font-size: 12px; font-weight: 400; color: var(--fg2);
  margin-left: 9px; white-space: nowrap;
}
/* 每行一个 flex 行（other.js 生成的 .ln）。2026-11-07 17:4x：
   ① top 的「周年宝 5种」在 360 宽的手机上会被挤成两行 —— 见下面 560px 那段；
   ② 手机端把「N种」推到这一列的最右边（下面 560px 那段）；
   ③ 电脑端（下面 561px 那段）改成两列网格，数字往右挪一点、两个「种」对齐。 */
#cA_s.big .ln { display: flex; align-items: baseline; }
#cA_s.big .nm { white-space: nowrap; }
/* 2026-11-07 17:4x 用户：「ib 这个电脑端显示种那列也往右 并且种字对齐」
   「电脑端不用最右边 不用离太远」—— 所以电脑端**不是** space-between：
   用「区名列 = 最长的那个区名、空 14px、数字列」的两列网格，整块仍靠左。
   `.ln` 用 display:contents 让每行的两段直接落进网格的列里，
   这样第 2 列（数字）在跨行之间自然对齐；`.nb` 右对齐，两个「种」字才落在同一条竖线上
   （5种 / 79种 位数不同，不右对齐的话「种」会错开）。
   例外：不匹配「名字 + 数字」的行由 other.js 包成 .wb，横跨两列。 */
@media (min-width: 561px) {
  #cA_s.big {
    display: grid; grid-template-columns: max-content max-content;
    column-gap: 14px; justify-content: start; align-items: baseline;
  }
  #cA_s.big .ln { display: contents; }
  #cA_s.big .nb { justify-self: end; }
  #cA_s.big .wb { grid-column: 1 / -1; }
  /* 2026-11-07 17:5x 用户：「ib 的再远一点 和手机端距离一样吧」。
     iBox 卡片右侧没有「退市图」，手机端是 space-between，量出来最长那行
     区名与数字之间正好 50px（375 宽实测 49~50）。电脑端把列间距也设 50：
     「区名列 = 最长的区名」+ 50 之后，各行间距自动和手机端一致
     （两个字的区名会多出「最长名 − 自己」那几像素，手机端也是这样）。
     只有 iBox 走这个（.no-side）；top 右边挂着「退市图」，仍按 14px。 */
  .card.split.no-side #cA_s.big { column-gap: 50px; }
}
@media (max-width: 560px) {
  /* top：左卡右边还挂着「退市图 11」，两列之间 20px 的空档在手机上太奢侈。
     收到 10px 就是把宽度还给「周年宝 5种」这一行 —— 360 宽的手机上原来只差 1px 就折行。
     带上 .pcards（只有 other.html 有）是为了两件事：
     ① 压过下面那句 .card.split{gap:20px}（媒体查询不增加优先级，同优先级后者赢）；
     ② 别动 NB 首页那张同名 split 卡 —— 用户口径「nb的不动」。 */
  .cards.pcards > .card.split { gap: 10px; }
  /* 2026-11-07 17:4x 用户「再往右边一点 并且两个种字对齐」：
     手机端每行改成「区名靠左、N种靠右」—— 数字自成右对齐的一列，两个「种」字也就
     落在同一条竖线上；对 top 是推到「退市图」左边那截的右端，对 iBox（右侧没内容）
     就是卡片右内边距。手机窄，能占满就占满；电脑端不这么放（见上面 561px 那段）。 */
  #cA_s.big .ln { justify-content: space-between; }
  #cA_s.big .nb { margin-left: 0; }
}
@media (max-width: 340px) {
  /* 320/340 的老窄屏再收一点字，保证「周年宝 5种」仍然是一行。
     间距这时候由上面那条 space-between 决定，两个 margin 都必须是 0。 */
  #cA_s.big .nm { font-size: 13.5px; }
  #cA_s.big .nb { font-size: 11.5px; margin-left: 0; }
  /* 320 宽时左卡只剩 62px，光收字还差 3px：把两列空档再收到 8px、
     「退市图」那三个小字收到 11px，正好把这 5px 还给左卡。 */
  .cards.pcards > .card.split { gap: 8px; }
  .card.split .side .k { font-size: 11px; }
}

/* 数据不是今天时的提示条（炬星「名人堂」夜里会关，关了就没有当日榜单）。
   2026-11-05：页面上必须写明白，不然昨天的数被当成今天的。 */
.notice {
  display: flex; gap: 8px; align-items: flex-start;
  margin: -4px 0 16px; padding: 10px 14px;
  border: 1px solid rgba(245,166,35,.34); border-radius: var(--radius);
  background: rgba(245,166,35,.10); color: var(--fg2);
  font-size: 12px; line-height: 1.6;
}
/* 2026-11-05 修：上面这条 display:flex 会盖掉浏览器对 [hidden] 的 display:none，
   结果是「不需要提示」时页面上仍挂着一条空的黄框（123 页一直有，789 板子更明显）。
   补一条把它真正藏掉。 */
.notice[hidden] { display: none; }
.notice b { color: var(--fg); font-weight: 600; }
html[data-theme="light"] .notice {
  background: #fff8e6; border-color: #f0d49b; color: #7c5a14;
}
html[data-theme="light"] .notice b { color: #9a6205; }

/* QQ 群横幅 */
.join {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background:
    radial-gradient(520px 130px at 96% 50%, rgba(76,141,255,.22), transparent 72%),
    linear-gradient(90deg, rgba(76,141,255,.11), rgba(76,141,255,.01) 62%),
    var(--bg2);
  border: 1px solid rgba(76,141,255,.26); border-radius: var(--radius);
  padding: 15px 18px; margin-bottom: 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
/* 顶部一道细光，让横幅不像一块死板的色块 */
.join::before {
  content: ''; position: absolute; top: 0; left: 18px; right: 18px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(76,141,255,.65), transparent);
}
.join-left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.join-ic {
  position: relative; width: 44px; height: 44px; border-radius: 14px; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(160deg, #5b9cff, #2f6fe4);
  color: #fff;
  box-shadow: 0 5px 16px rgba(47,111,228,.36), inset 0 1px 0 rgba(255,255,255,.28);
}
/* 右上角一个呼吸小绿点：暗示「群里有人」 */
.join-ic::after {
  content: ''; position: absolute; top: -3px; right: -3px;
  width: 10px; height: 10px; border-radius: 50%;
  background: #2ecc8f; border: 2px solid var(--bg2);
  box-shadow: 0 0 0 0 rgba(46,204,143,.55);
  animation: joinPulse 2.2s ease-out infinite;
}
@keyframes joinPulse {
  0%   { box-shadow: 0 0 0 0 rgba(46,204,143,.55); }
  70%  { box-shadow: 0 0 0 7px rgba(46,204,143,0); }
  100% { box-shadow: 0 0 0 0 rgba(46,204,143,0); }
}
/* 2026-11-07 18:3x 用户：「文字改成一行显示 官方QQ交流群：851901587」——
   标题和群号并成一行（原来是 .join-title + .join-sub 两行），卡也就矮了一截。
   .gid 仍单独上色、等宽数字，扫一眼就能抄群号。 */
.join-title {
  font-size: 15.5px; font-weight: 700; letter-spacing: -.2px;
  white-space: nowrap;
}
.join-title .gid {
  font-weight: 700; color: var(--fg2); font-variant-numeric: tabular-nums;
  letter-spacing: .3px; margin-left: 2px;
}
.join-btn {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  background: linear-gradient(180deg, #5b9cff, #2f6fe4);
  color: #fff; font-weight: 650; font-size: 14px; letter-spacing: .2px;
  padding: 11px 22px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 4px 16px rgba(47,111,228,.38), inset 0 1px 0 rgba(255,255,255,.24);
  transition: filter .15s ease, box-shadow .15s ease, transform .12s ease;
}
.join-btn .arw { display: inline-block; transition: transform .18s ease; }
.join-btn:hover {
  filter: brightness(1.07);
  box-shadow: 0 6px 22px rgba(47,111,228,.50), inset 0 1px 0 rgba(255,255,255,.3);
}
.join-btn:hover .arw { transform: translateX(4px); }
.join-btn:active { transform: scale(.97); filter: brightness(.96); }
html[data-theme="light"] .join {
  background:
    radial-gradient(520px 130px at 96% 50%, rgba(76,141,255,.18), transparent 72%),
    linear-gradient(90deg, rgba(76,141,255,.10), rgba(76,141,255,.01) 62%),
    var(--bg2);
  border-color: rgba(47,111,228,.22);
}
html[data-theme="light"] .join-btn {
  background: linear-gradient(180deg, #4a8cff, #2f6fe4);
  box-shadow: 0 3px 12px rgba(47,111,228,.26), inset 0 1px 0 rgba(255,255,255,.3);
}
@media (prefers-reduced-motion: reduce) {
  .join-ic::after { animation: none; }
  .join-btn .arw { transition: none; }
}

/* 概览卡：左右分栏（在售种数 | 退市图）
   2026-11-04：窄屏时左边那行长文案（山河写意 … · 文玺流转 …）会把右栏挤到约 40px，
   「退市图」被折成「退市 / 图」。这里让右栏按内容宽度不参与压缩（flex: none），
   标签也不允许断行 —— 右栏一宽，标签自然往左扩，不再断字。 */
.card.split { display: flex; justify-content: space-between; gap: 20px; }
.card.split > div:first-child { flex: 1 1 auto; min-width: 0; }
.card .side { text-align: right; flex: none; }
.card .side .k { white-space: nowrap; }
.card .side .v { font-size: 18px; }

/* 页签已经搬到屏幕底部（见下面 .tabs），这里只剩一个零高空壳，
   老页面的 DOM 一行都不用改。 */
.toolbar { margin: 0; }

/* ================= 底部导航（2026-11-07 定稿） =================
   用户：「把这几个放到下面 类似app这样」（配了 App 底部 tab 栏的截图）。
   五个页签从内容上方挪到**屏幕底部固定**，竖排「图标 + 文字」，和 App 底部栏一样。

   只动样式：DOM 里还是那五个 <button data-tab>，`.on` 也还是 JS 在切，
   所以 index.html（NB 页）和 other.html（789 / 123 页）共用这一份 CSS，
   两页同时生效、不会各写一套跑偏。
   图标用 CSS mask + currentColor 描的，选中时跟文字一起变品牌色 ——
   不用改 JS 往里塞 SVG（两个页面的 JS 是分开的文件，塞一次就是两份）。 */
.tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  /* align-items: flex-end（原来 stretch）：选中态是实心块，块高要跟着内容走 ——
     stretch 会让每颗都撑到栏高，选中「最新买入」时块顶空出一大截；
     而页签里最高的那颗是「分区统计」（三行），改成 flex-end 后各颗按自己内容给高、
     统一贴底，文字仍落在同一水平线，块大小也刚好包住图标和字。 */
  display: flex; justify-content: center; align-items: flex-end; gap: 2px;
  background: var(--bg2);
  border-top: 1px solid var(--line);
  /* 全面屏底部那条横条让开，否则最后一行字被压住 */
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
}
/* 每颗最宽 134px：宽屏时五颗居中收在 670 以内（不然拉到 1240 那么散），
   窄屏按 flex-shrink 一起缩，390 宽能排下五颗不折行。 */
.tab {
  position: relative; z-index: 1;
  flex: 1 1 0; max-width: 134px; min-width: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  gap: 3px; padding: 6px 4px 7px;
  border: 0; border-radius: 11px; background: transparent; color: var(--fg3);
  font: inherit; font-size: 11.5px; line-height: 1; white-space: nowrap;
  cursor: pointer;
  /* transform-origin 贴底：放大时往「上」长，像从栏里抬起来一块，
     而不是四周一起胀（那样会压到左右相邻的页签） */
  transform-origin: center bottom;
  transition: color .16s, background .16s,
              transform .18s cubic-bezier(.2,.8,.3,1), box-shadow .18s ease;
}
.tab::before {
  content: ''; width: 21px; height: 21px; flex: none;
  background: currentColor;
  -webkit-mask: var(--ico) center / contain no-repeat;
  mask: var(--ico) center / contain no-repeat;
}
/* 选中态改成「实心圆角块 + 白字」（2026-11-07 13:05 用户给了 App 底部栏截图：
   「点了之后 加一个这个效果」）—— 点哪颗，哪颗就整块填成品牌蓝，图标和文字一起变白。
   图标是 currentColor 描的，color 一改白，图标自动跟着白，不用碰 DOM。
   加内高光 + 投影，看起来像一块压在栏上的胶囊，而不是平涂的色块。 */
.tab.on {
  color: #fff;
  font-weight: 600;
  background: linear-gradient(180deg, #5b9cff, #2f6fe4);
  border-radius: 13px;
  box-shadow: 0 4px 14px rgba(47, 111, 228, .30), inset 0 1px 0 rgba(255, 255, 255, .22);
}
/* 卡片那种「放大」的手感（2026-11-07 13:0x 用户：「把导航栏加上 卡片这种放大的效果」）。
   首页 .one-row 悬停是「上浮 + 变亮 + 阴影变重」，底部栏照这个手感做：
   抬起 3px、放大 8%、浮出底色、投影落在栏面上；z-index 抬高，免得被邻颗盖住。
   只在真有鼠标的设备上开 hover —— 触屏上 hover 会「粘住」不放，手机的反馈交给 :active。 */
@media (hover: hover) and (pointer: fine) {
  .tab:hover {
    color: var(--fg2);
    background: var(--bg3);
    transform: translateY(-3px) scale(1.08);
    /* 内描边当边框用（不占布局，加了也不会让五颗尺寸跳） */
    box-shadow: 0 10px 22px rgba(8, 18, 34, .28), inset 0 0 0 1px var(--line);
    z-index: 3;
  }
  /* 选中那颗悬停时还是那块蓝（别被上面的 --fg2 / --bg3 盖成灰的），只是抬得更高 */
  .tab.on:hover {
    color: #fff;
    background: linear-gradient(180deg, #6aa6ff, #3a76e8);
    box-shadow: 0 12px 24px rgba(47, 111, 228, .42), inset 0 1px 0 rgba(255, 255, 255, .26);
  }
  /* 未选中的那颗才用淡阴影；选中那颗有自己的品牌色投影 */
  html[data-theme="light"] .tab:not(.on):hover {
    box-shadow: 0 10px 22px rgba(15, 23, 42, .14), inset 0 0 0 1px var(--line);
  }
}
/* 手指按下去先缩一下再弹回（卡片 :active 是 scale(.997)，按钮手劲给大一点才看得出） */
.tab:active {
  background: var(--bg3);
  transform: translateY(-1px) scale(.95);
  transition-duration: .09s;
}
/* 按的是已经选中那颗：别闪成灰底，只压暗一点 */
.tab.on:active {
  background: linear-gradient(180deg, #5b9cff, #2f6fe4);
  filter: brightness(.95);
}
@media (prefers-reduced-motion: reduce) {
  .tab, .tab:hover, .tab:active { transform: none; }
}

/* 网址并进中间那颗（2026-11-07 12:17 用户画了成品图：
   「分区统计字体大小不变 图标小一点 上方小字稍微大一点」）
   → 那颗变成三行：网址小字（最上）→ 图标（缩到 17px）→ 「分区统计」（字号不动）。
   `order: -1` 把 ::after 提到图标前面，DOM 不用改；按钮还是分区统计页签。
   因为三行比别的颗高一截，`.tab` 内容改成贴底对齐，五颗的标签才能落在同一水平线上。 */
.tab[data-tab="tree"] {
  /* 2026-11-07 13:1x：选中态改成实心块后，「网址：nnnft.cn」13px + 1px 字距量出来约 104px，
     1.5 倍时 390 屏这颗只有 ~99px —— 字比块宽，左右两端会被圆角切掉。
     放宽到 2 倍（390 屏约 120px，宽屏到 134 上限），字两侧才有留白。 */
  flex: 2 1 0;
  /* 2026-11-07 12:47 用户：「他们中间的间距小一点」→ 行距 2px → 0（三行贴紧） */
  gap: 0;
  /* 「分区统计四个字也稍微大一点」11.5 → 12.5（同颗其它四颗不变） */
  font-size: 12.5px;
  /* 网址那行是块内第一行，13px 的圆角会把贴边的字切掉一圈 ——
     上方留白从 6px 加到 14px，让圆角的弯曲区落在字上面。
     这颗本来就是五颗里最高的，栏高由它定，所以常驻加、不会切换时跳。 */
  padding-top: 14px;
}
/* 「两个方块稍微大一点」18 → 20px */
.tab[data-tab="tree"]::before { width: 20px; height: 20px; }
.tab[data-tab="tree"]::after {
  content: '网址：nnnft.cn';
  order: -1; margin-bottom: 0;
  /* 2026-11-07 12:39 用户：「网址：nnnft.cn 稍微拉长一点 改成红色字」
     2026-11-07 12:47 用户：「红色用这个红」→ 取截图像素 #e01d2e
     （不再是 --up 那套偏暗的涨色红，就是截图里那种正红）。 */
  font-size: 13px; line-height: 1; letter-spacing: 1px;
  color: #e01d2e;
}
/* 这颗被选中时整块是品牌蓝，红字压蓝底几乎看不清（对比度只有 1.3 左右），
   所以选中态这行网址转白 —— 未选中仍是用户要的正红。 */
.tab.on[data-tab="tree"]::after { color: rgba(255, 255, 255, .95); }

/* 五颗图标（24×24 线稿，data URI 里不能出现 #，所以用黑色关键字）；
   mask 只看不透明度，什么颜色都行，实际显示的是 currentColor。 */
.tab[data-tab="recent"] {
  --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M13.2 2 4 13.6h6.2L9.4 22 19 10.1h-6.4z'/></svg>");
}
.tab[data-tab="amt"] {
  --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><rect x='3' y='12.5' width='4.6' height='8.5' rx='1.5'/><rect x='9.7' y='5' width='4.6' height='16' rx='1.5'/><rect x='16.4' y='9' width='4.6' height='12' rx='1.5'/></svg>");
}
.tab[data-tab="tree"] {
  --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><rect x='3.5' y='7.5' width='8' height='9' rx='2.2'/><rect x='12.5' y='7.5' width='8' height='9' rx='2.2'/></svg>");
}
.tab[data-tab="pending"] {
  --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round' stroke-linecap='round'><path d='M3.6 7.6 12 3.2l8.4 4.4v8.8L12 20.8l-8.4-4.4z'/><path d='M3.6 7.6 12 12l8.4-4.4M12 12v8.8'/></svg>");
}
.tab[data-tab="help"] {
  --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'><circle cx='12' cy='12' r='9'/><path d='M9.5 9.4a2.6 2.6 0 1 1 3.9 2.3c-.9.5-1.4 1.1-1.4 2'/><circle cx='12' cy='17.1' r='1.1' fill='black' stroke='none'/></svg>");
}
/* 老页签（旧的 4 页签 / 别处单独用的 .tab）没有 --ico 时别画出个黑方块 */
.tab:not([data-tab]) { --ico: none; }
.tab:not([data-tab])::before { display: none; }

.table-wrap {
  background: var(--bg2); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: auto;
}
table { width: 100%; border-collapse: collapse; font-size: 13px; }
thead th {
  position: sticky; top: 0; z-index: 5;
  background: var(--bg3); color: var(--fg2); font-weight: 500; font-size: 12px;
  text-align: left; padding: 10px 12px; white-space: nowrap;
  border-bottom: 1px solid var(--line);
}
tbody td { padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tbody tr:hover { background: var(--bg3); }
tbody tr:last-child td { border-bottom: 0; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mono { font-variant-numeric: tabular-nums; color: var(--fg3); font-size: 12px; }
/* 序号列（未开寄售最左一列） */
th.idx, td.idx {
  width: 46px; min-width: 46px; text-align: center; padding-left: 6px; padding-right: 6px;
  color: var(--fg3); font-variant-numeric: tabular-nums; font-size: 12px;
  font-weight: 500;
}
td.idx { user-select: none; }
.name { display: flex; align-items: center; gap: 10px; min-width: 200px; }
.thumb {
  width: 36px; height: 36px; border-radius: 8px; object-fit: cover;
  background: var(--bg3); flex: none;
}
.nm { font-weight: 500; }
.sub-name { font-size: 11px; color: var(--fg3); }
/* 2026-11-07 18:0x：TOP「最新买入」每行的时间改成时间段（17:50 ~ 18:00）之后，
   手机上一行装不下「万象 · 小试牛刀 · 17:50 ~ 18:00」——360 宽只有 136px，
   分区名会被截成「万象 · 小试…」。所以**只这一张表**在手机上改成两行：
   分区一行、时间段一行（和主站「最新买入」的 meta-row 是同一个思路）。
   成交额榜那张仍然「永远一行」（2026-11-04 的口径没动），靠 .recent-list 限定，
   别的页面 / 别的榜都不受影响。 */
@media (max-width: 560px) {
  .recent-list .zone-row { flex-direction: column; align-items: flex-start; gap: 0; }
  .recent-list .zone-row .sep { display: none; }
  .recent-list .zone-row > .m:first-child {
    overflow: visible; text-overflow: clip;   /* 换成两行后就不会挤了，别再截名字 */
  }
}
.dim { color: var(--fg3); }

.empty { padding: 48px 20px; text-align: center; color: var(--fg3); }

.rank-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-bottom: 1px solid var(--line);
}
.rank-item:last-child { border-bottom: 0; }
/* 网址水印（2026-11-07 晚）已按用户要求整段撤掉 —— 用户原话：「去掉 这不是我的要求」。
   不要再用 ::after 往列表行里塞任何字。 */
.rank-no {
  width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center;
  font-size: 12px; font-weight: 600; background: var(--bg3); color: var(--fg2); flex: none;
}
.bar { height: 3px; background: var(--brand); border-radius: 2px; margin-top: 5px; opacity: .55; }

/* 近十分钟买入榜
   2026-11-04 用户口径：窄屏（手机）时「时间 张数 × 单价」占第一行、昵称单独第二行；
   屏幕拉宽（桌面）仍然合成一行，中间用细竖线分隔。
   做法：一行 flex，窄屏只把方向改成 column 并把分隔符藏掉，DOM 不用分叉。 */
.meta-row { display: flex; align-items: baseline; gap: 0 8px; }
.meta-row .m { white-space: nowrap; }
.meta-row .nick { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 560px) {
  .meta-row { flex-direction: column; gap: 1px; }
  .meta-row .sep { display: none; }
}

/* 成交额榜的副标题：`板块 · 子区 · N 张`，**永远一行**（手机也不折行）。
   2026-11-04 用户口径：右列已经有金额，左边就别再写一遍（原来写「N 张 / ¥x 万」，
   金额重复了一次还占了两份宽度）。剩下三样挤不进一行时，让分区那段出省略号，
   张数固定不缩 —— 金额和张数才是要一眼看到的，分区名长一点可以截。 */
.zone-row { display: flex; align-items: baseline; gap: 0 5px; min-width: 0; }
.zone-row > .m { white-space: nowrap; flex: none; }
.zone-row > .m:first-child {
  flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis;
}
/* 顶栏「返回首页」那颗：屏幕上只有 31px 高，手指点它容易点空。
   视觉不动，用一层看不见的 ::after 把可点区域撑到 45px（2026-11-06）。 */
.logo { position: relative; }
.logo::after { content: ''; position: absolute; inset: -7px -6px; }

@media (max-width: 560px) {
  .zone-row { font-size: 11px; gap: 0 4px; }
  /* 底栏（窄屏）：五颗按 1fr 均分，字号收到 11px，内边距收窄 */
  .tab { padding: 5px 2px 6px; font-size: 11px; border-radius: 9px; }
  /* 卡片下面那行小字 11px 在手机上偏小，抬到 11.5 */
  .card .s { font-size: 11.5px; }
}

/* 右侧金额列。手机端收窄一点，把宽度让给左边那行；金额本身不允许换行。 */
.val { min-width: 96px; font-weight: 650; }
@media (max-width: 560px) { .val { min-width: 74px; } }

.recent-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 12px 14px; border-bottom: 1px solid var(--line);
  font-weight: 650; font-size: 14px;
}
.recent-head .dim { font-weight: 400; font-size: 12px; }


.note {
  margin-top: 14px; font-size: 12px; color: var(--fg3);
  display: flex; gap: 6px; align-items: flex-start; line-height: 1.6;
}
@media (max-width: 780px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wrap { padding: 12px 12px 96px; }
  /* 2026-11-07 18:4x 用户「这两个空白地方也小一点」（截图箭头指的两处）：
     ① 顶栏 → 第一排卡片：wrap 上留白 12 → 8；
     ② 第一排卡片 → QQ 群横幅：.cards 下外边距 16 → 8。
     只认窄屏，桌面那套呼吸不动。 */
  .wrap { padding-top: 8px; }
  .cards { margin-bottom: 8px; }
}

/* 分区统计：板块/子区树 */
.tree-board td { background: rgba(76,141,255,.06); }
.tree-board .nm { font-weight: 600; }
.tree-sum td { border-top: 1px solid var(--line); font-weight: 600; }

@media (max-width: 560px) {
  /* 2026-11-07 18:3x 用户：「空白留小 让下方内容多显示一点进来」——
     手机端这张群卡原来 134px 高（15 上下留白 + 44 图标 + 12 空档 + 43 按钮），
     现在收到 ~90px：留白 10、图标 34、空档 8、按钮更扁，一屏能多露出小半张「最新买入」。 */
  .join {
    flex-direction: column; align-items: stretch; gap: 8px;
    padding: 10px 12px; margin-bottom: 10px;
  }
  .join-left { gap: 10px; }
  .join-ic { width: 34px; height: 34px; border-radius: 11px; }
  .join-ic svg { width: 18px; height: 18px; }
  .join-title { font-size: 14.5px; }
  .join-btn { justify-content: center; padding: 8px 16px; font-size: 13.5px; gap: 6px; }
}

/* 其他帮助（QQ 群入口卡） */
.help-wrap { display: flex; flex-direction: column; gap: 12px; padding: 14px; }
.help-card {
  display: flex; align-items: center; gap: 13px;
  background: var(--bg2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px 16px;
  color: inherit; text-decoration: none; transition: border-color .15s ease;
}
.help-card:hover { border-color: rgba(76,141,255,.55); }
.help-card:active { filter: brightness(.97); }
.help-ic {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: rgba(76,141,255,.14); color: #5b9cff; font-weight: 700;
}
html[data-theme="light"] .help-ic { background: rgba(47,111,228,.10); color: #2f6fe4; }

/* ================= 其他平台入口（2026-11-04 新增） =================
   顶部第二个徽标：和 .logo 同款（同一渐变、同一圆角、同一字重），
   只是字母从 NewBee 换成 123，点进去是 /other 模板页。 */
a.logo { text-decoration: none; cursor: pointer; }
a.logo:hover { filter: brightness(1.06); }
a.logo:active { filter: brightness(.96); }
.logo.alt {
  box-shadow: 0 3px 10px rgba(47,111,228,.26), inset 0 1px 0 rgba(255,255,255,.22);
  transition: filter .15s ease, transform .12s ease, box-shadow .15s ease;
}
/* 只有 <a> 才当可点：123 页顶栏里那个是 div（就在本页，点了没去处） */
a.logo.alt { cursor: pointer; }
a.logo.alt:hover {
  filter: brightness(1.08); transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(47,111,228,.36), inset 0 1px 0 rgba(255,255,255,.28);
}
a.logo.alt:active { transform: scale(.96); filter: brightness(.97); }
/* 当前平台那颗：去掉 href 后仍然是 <a>，所以要把 hover/active 的动效一起关掉，
   否则鼠标划过去还会「跟手」，看着像能点。 */
a.logo.alt.cur, a.logo.alt.cur:hover, a.logo.alt.cur:active {
  cursor: default; filter: none; transform: none;
  box-shadow: 0 3px 10px rgba(47,111,228,.26), inset 0 1px 0 rgba(255,255,255,.22);
}
@media (prefers-reduced-motion: reduce) {
  .logo.alt { transition: none; }
  a.logo.alt:hover { transform: none; }
}

/* 卡片行：数量跟着 payload 走（2~4 张都排得开） */
.cards.auto { grid-template-columns: repeat(auto-fit, minmax(208px, 1fr)); }

/* 模板占位面板 */
.tpl {
  background: var(--bg2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 18px 16px;
}
.tpl-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tpl-head h3 { margin: 0; font-size: 15px; font-weight: 650; }
.tpl-tag {
  font-size: 11px; color: #2f6fe4; background: rgba(47,111,228,.10);
  border: 1px solid rgba(47,111,228,.22); border-radius: 999px; padding: 2px 9px;
}
.tpl p { margin: 8px 0 0; font-size: 12.5px; color: var(--fg2); line-height: 1.7; }
.tpl .flow { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 2px; }
.tpl .step { flex: 1 1 190px; background: var(--bg3); border-radius: 9px; padding: 10px 12px; }
.tpl .step b { display: block; font-size: 12.5px; }
.tpl .step span { font-size: 11.5px; color: var(--fg3); }
.tpl pre {
  margin: 12px 0 0; background: var(--bg3); border-radius: 9px; padding: 12px;
  overflow: auto; font-size: 11.5px; line-height: 1.55; color: var(--fg2);
  font-family: ui-monospace, Menlo, Consolas, monospace;
}
.tpl-tag.mute { color: var(--fg2); background: var(--bg3); border-color: var(--line); }

/* 窄屏：别让第二个徽标把「更新于」挤出去（只影响手机宽度） */
@media (max-width: 560px) {
  .brand { min-width: 0; }
  .brand > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .logo.alt { padding: 0 8px; }
  .top-in { gap: 9px; }
  /* 状态胶囊要能被压缩，否则文字长的那句（如「模板 · 尚未接入」）会顶出屏幕 */
  .pill { min-width: 0; }
  .pill > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* ================= /1 导航页（2026-11-05 14:49 定稿） =================
   页面：整体后面铺一层背景（浅蓝底 + 三团品牌色柔光 + 细网格），不再是死白。
   卡片：背景就用平台自己的品牌底色（深蓝 / 近黑蓝 / 亮蓝三档），右侧保留清晰头像。 */
.one-body {
  position: relative; min-height: 100vh; overflow-x: hidden;
  background: linear-gradient(180deg, #eaf1ff 0%, #f4f8ff 42%, #e4ebf8 100%);
}
/* 整页背后的一层柔光（fixed，滚到哪都在） */
.one-body::before {
  content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(760px 520px at 6% -10%, rgba(46,200,232,.30), transparent 68%),
    radial-gradient(820px 560px at 96% -4%, rgba(58,108,240,.30), transparent 68%),
    radial-gradient(980px 640px at 52% 108%, rgba(86,96,240,.24), transparent 72%);
}
/* 再压一层很淡的网点 */
.one-body::after {
  content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(24,52,102,.11) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.22) 58%, transparent);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.22) 58%, transparent);
}
/* 下半屏空白处的背景：三枚平台头像淡淡地铺在那里。
   2026-11-06 手机端实测：三张 176px 的图在 390 手机上排不下（176×3 + 间距 = 582），
   图片是替换元素、`min-width:auto` 让它**不肯缩**，于是整页被撑到 494 宽 ——
   手机上看到的「字变小、右边留白」就是这么来的（不是字号问题）。
   `overflow: hidden` 让它裁在自己盒子里，宽度不再参与页面计算。 */
.one-deco {
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 26px; width: min(1040px, 94vw);
  display: flex; justify-content: center; align-items: flex-end; gap: 7vw;
  z-index: 0; pointer-events: none;
  overflow: hidden;
}
.one-deco img {
  width: 176px; height: 176px; border-radius: 48px;
  opacity: .085; filter: blur(2.4px) saturate(.85);
  transform: rotate(-9deg);
}
.one-deco img:nth-child(2) { transform: rotate(7deg) translateY(10px); opacity: .075; }
.one-deco img:nth-child(3) { transform: rotate(-5deg); opacity: .065; }
.one-wrap { position: relative; z-index: 1; max-width: 900px; padding: 46px 22px 64px; }
/* 2026-11-05 17:13 用户：「祝各位2026发财！ 换成红字 并且放大一点」。
   27px 深蓝 → 32px 正红；红字压在浅底上必须留白描边，否则边缘发糊，
   所以底色阴影之外再补一层很淡的红晕，字才有厚度不发飘。 */
.one-hi {
  margin: 0 0 26px; text-align: center;
  font-size: 32px; font-weight: 800; letter-spacing: -.6px;
  color: #e01d2e;
  text-shadow: 0 1px 0 rgba(255,255,255,.95),
               0 6px 18px rgba(224,29,46,.20);
}
.one-list { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }

/* 2026-11-06 18:0x 用户：「中间加两行小字。小一点就行」——
   群卡与平台入口之间的免责说明。width:fit-content + margin:auto 让整块居中，
   text-align:left 保证两行左边缘对齐（直接让文字居中会参差不齐）。
   18:07 用户（手机截图）：「中间不用留空 只保留两行字就行 可以再小一点」——
   字号 12 → 11，上下留白收到各 8px（不再空一大块）。 */
.one-note {
  width: fit-content; max-width: 100%;
  /* 群卡自带 margin-bottom:16px，这里再吃回 8px，上下各留 8px，不空一大块 */
  margin: -8px auto 0;
  text-align: left;
  font-size: 11px; line-height: 1.5;
  color: var(--fg3);
  letter-spacing: .2px;
}
html[data-theme="light"] .one-note { color: #9aa7b8; }
.one-note + .one-list { margin-top: 8px; }

.one-row {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; gap: 18px;
  min-height: 112px; padding: 22px 26px;
  border-radius: 18px;
  color: #fff; text-decoration: none;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 12px 30px rgba(10,24,46,.26), inset 0 1px 0 rgba(255,255,255,.14);
  transition: transform .14s ease, box-shadow .18s ease, filter .16s ease;
}
.one-row:hover {
  transform: translateY(-3px); filter: brightness(1.05);
  box-shadow: 0 22px 46px rgba(10,24,46,.34), inset 0 1px 0 rgba(255,255,255,.20);
}
.one-row:active { transform: translateY(-1px) scale(.997); }

.one-tx { position: relative; z-index: 1; min-width: 0; flex: 1 1 auto; display: block; }
.one-nm {
  display: block; font-size: 25px; font-weight: 800; letter-spacing: -.5px;
  line-height: 1.15; text-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.one-sub {
  display: block; margin-top: 7px;
  font-size: 13.5px; color: rgba(255,255,255,.72);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
/* 右侧那枚清晰的头像：保留 */
.one-ava {
  position: relative; z-index: 1; flex: none;
  width: 84px; height: 84px; border-radius: 23px;
  transform: rotate(-7deg);
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 10px 24px rgba(0,0,0,.40), inset 0 1px 0 rgba(255,255,255,.32);
  pointer-events: none;
}
.one-arw {
  position: relative; z-index: 1; flex: none;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 15px; font-weight: 700;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.22);
  transition: transform .16s ease, background .16s ease;
}
.one-row:hover .one-arw { transform: translateX(4px); background: rgba(255,255,255,.26); }

/* 卡片背景：直接用各平台自己的品牌底色 */
/* NewBee：深蓝底 + 右下那团「五周年庆典」的红（2026-11-05 15:54 用户：
   「nb去找这个图标 并且把五周年庆典 加上红色元素 放到卡片背景」）。
   2026-11-05 16:10 用户：「把这个五周年庆典 包括红色元素 放到这个背景」——
   光有红色渐变压不住「庆典」的意思，把图标底下那条红绶带整条重画成
   img/nb_ribbon.png（gen_nb_ribbon.py 生成），斜铺在卡片右下，
   跟右边头像上的红条接成一条，像从头像流出来的。 */
.one-row.r-nb {
  background:
    radial-gradient(640px 340px at 108% 132%, rgba(255,34,54,.72), transparent 64%),
    radial-gradient(320px 210px at 100% 100%, rgba(255,110,120,.46), transparent 72%),
    radial-gradient(420px 180px at 94% 10%, rgba(56,208,238,.26), transparent 70%),
    linear-gradient(104deg, transparent 30%, rgba(255,54,68,.20) 44%, transparent 62%),
    linear-gradient(118deg, #06182a 0%, #0b2a42 54%, #12445e 100%);
  box-shadow: 0 12px 30px rgba(10,24,46,.26),
              0 12px 40px rgba(255,36,56,.34),
              inset 0 1px 0 rgba(255,255,255,.14);
}
.one-row.r-nb:hover {
  box-shadow: 0 22px 46px rgba(10,24,46,.34),
              0 12px 44px rgba(255,46,66,.42),
              inset 0 1px 0 rgba(255,255,255,.20);
}
.one-row.r-nb::before {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  inset: 0;
  background: url(/img/nb_ribbon_full.png) 50% 50% / 100% 100% no-repeat;
}
/* 一道斜向红光扫过卡片 + 绶带左端的光斑（2026-11-05 16:20「更炸」） */
.one-row.r-nb::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  /* 左侧压暗，保证 NewBee / 副标题压在红底上还读得清 */
  background:
    linear-gradient(90deg, rgba(5,14,28,.62) 0%, rgba(5,14,28,.38) 16%, rgba(5,14,28,.12) 29%, transparent 42%),
    radial-gradient(300px 130px at 92% 50%, rgba(255,126,96,.28), transparent 72%);
}
.one-row.r-nb .one-nm { text-shadow: 0 2px 12px rgba(64,0,10,.55); }
.one-row.r-nb .one-sub { color: rgba(255,255,255,.88); text-shadow: 0 1px 8px rgba(64,0,10,.55); }
.one-row.r-nb .one-ava {
  box-shadow: 0 10px 24px rgba(0,0,0,.40),
              0 0 24px rgba(255,56,72,.60),
              inset 0 1px 0 rgba(255,255,255,.32);
}
.one-row.r-ibox {
  background:
    radial-gradient(420px 180px at 96% 22%, rgba(70,120,230,.26), transparent 70%),
    linear-gradient(120deg, #0d1622 0%, #1d3a5c 100%);
}
/* 炬星：背景取 App 图标那身橙黄（2026-11-05 15:52 用户「他下载app的图标 黄色的 换上背景加图片」）。
   左侧压深一档（#c2410c）保证白字读得清，右侧走亮黄，跟右边那枚图标接上。 */
.one-row.r-top {
  background:
    /* 2026-11-06：右侧压一层暖暗角 —— 卡本身是亮橙，金字压上去会「化」掉，
       暗下来才有烫金反光的感觉（跟 NB 卡右边那团深红一个道理）。 */
    radial-gradient(720px 280px at 72% 50%, rgba(108,30,0,.42), rgba(108,30,0,0) 74%),
    radial-gradient(460px 220px at 94% 18%, rgba(255,226,120,.55), transparent 70%),
    linear-gradient(115deg, #c2410c 0%, #e8720c 46%, #f59e0b 78%, #fbbf24 100%);
}
.one-row.r-top .one-nm { text-shadow: 0 2px 10px rgba(120,40,0,.45); }
.one-row.r-top .one-sub { color: rgba(255,255,255,.86); text-shadow: 0 1px 6px rgba(120,40,0,.35); }
.one-row.r-top .one-ava { border-color: rgba(255,255,255,.45); }

/* 炬星卡片的「二周年起飞」贴图（2026-11-06，素材 gen_top_badge.py 从用户发的开屏海报抠的）。
   和 NB 那条绶带一个思路：装饰不进布局，只贴在右侧。

   三个坑都是这一天踩出来的：
   1. 卡片不是 112px 而是 128px —— 高度由头像 84 + 上下 padding 44 撑出来的，
      所以贴图按卡片的百分比给尺寸，别写死 px；
   2. **宽度是唯一受控量**：`width: min(470px, 100% - 400px)`，左边 400px 永远留给
      「TOPSTAR / 藏品统计 · 市场变动」。720px 窗口时卡片只有 656 宽，早先按固定宽度
      放两个 <img>，徽章直接飞到平台名上；
   3. 图用 background contain（不是 <img>），容器被压窄时整体等比缩小，
      不会像固定 height 的图片那样把徽章挤到左边、字被拉变形。
   宽度定死 + aspect-ratio 定高，所以卡片高度一点都不会被撑开。 */
.one-row.r-top .one-art {
  position: absolute; z-index: 0; pointer-events: none;
  right: 172px;                       /* 26 padding + 30 箭头 + 18 gap + 84 头像 + 12 gap */
  top: 50%; transform: translateY(-50%);
  /* 2026-11-06 08:1x 用户「放大 参考nb那么大」。
     左侧 400px 的预留缩到 383px、上限从 470 抬到 473 —— 856 的卡片正好吃满
     （856 - 172 - 473 = 211，副标题「藏品统计 · 市场变动」到 239，压进去的 28px
     全在下面那 12% 的渐隐区里，看不出来）。
     真正把字变大的不是这两个数，是出图时横向拉了 1.20 倍（见 gen_top_badge.py）：
     这张图 4.073:1，显示 473×116，字宽 410 —— 跟 NB 绶带上那 410 齐平。 */
  width: min(473px, calc(100% - 383px));
  aspect-ratio: 736 / 177;
  background: url(/img/top_2nd_full.png) right center / contain no-repeat;
  /* 左端渐隐：窗口窄到贴图压上平台名时，淡出去比硬切自然 */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%);
  mask-image: linear-gradient(90deg, transparent 0, #000 12%);
}
.one-row.r-top:hover .one-art { filter: brightness(1.06); }

@media (max-width: 620px) {
  .one-wrap { padding: 26px 14px calc(40px + env(safe-area-inset-bottom)); }
  .one-hi { font-size: 24px; margin-bottom: 18px; }
  .one-row { min-height: 88px; padding: 16px 18px; border-radius: 15px; gap: 12px; }
  .one-nm { font-size: 19px; }
  .one-row.r-nb::before { background-size: 100% 100%; }
  /* 装饰图改成按视口百分比给尺寸：3×26vw + 2×4vw = 86vw，怎么都放得下。
     它们只是背景里三层很淡的影子，缩到 100px 左右反而更克制。 */
  .one-deco { width: 92vw; gap: 4vw; bottom: 16px; }
  .one-deco img { width: 26vw; height: 26vw; border-radius: 7vw; }
  /* 手机上副标题只留「藏品统计」：
     346 宽的卡片里，「藏品统计 · 市场变动」正好撞上 NewBee 那条「五周年庆典」绶带，
     「变动」两个字被压在绶带底下（2026-11-06 截图确认）。 */
  .one-subx { display: none; }
  /* 2026-11-05 19:2x 用户：「手机端首页 平台卡片左下方怎么不显示字」——
     原来这里把副标题 display:none 了，手机端只剩平台名。改成保留、只缩小一档。 */
  .one-sub {
    display: block !important; margin-top: 4px;
    font-size: 11.5px; letter-spacing: .1px;
  }
  .one-ava { width: 58px; height: 58px; border-radius: 16px; }
  .one-arw { display: none; }
  /* 炬星贴图在窄屏：卡片只有 92px 高，徽章 + 字挤在一起认不出，
     换成「只有金字」那张，右边界 = 18 padding + 58 头像 + 12 gap。
     2026-11-06 跟着桌面一起放大，但只放到 146（140 → 146，字高 40 → 41）：
     手机卡片只有 347 宽，副标题「藏品统计 · 市场变动」一直排到 145，
     宽度再往上贴图左端就整段压在字上（158 那版「动」字直接被金字盖掉，实测过）。
     渐隐也从 12% 提到 20%，让压过去的那一小段淡得看不出来。 */
  .one-row.r-top .one-art {
    right: 88px;
    width: min(146px, calc(100% - 194px));
    aspect-ratio: 624 / 177;          /* = top_2nd.png */
    background-image: url(/img/top_2nd.png);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 20%);
    mask-image: linear-gradient(90deg, transparent 0, #000 20%);
  }
}
