/* =========================================================================
   报告页专属样式（基于统一 Design Token 扩展）
   与 bb-design.css 共享 --accent / --gold / --up / --down 等变量
   ========================================================================= */   与 bb-design.css 共享 --accent / --gold / --up / --down 等变量
   ========================================================================= */

.report-shell { position: relative; z-index: 1; padding: 0 16px 40px; }
.report-wrap { max-width: 920px; margin: 0 auto; }

/* 悬浮顶栏 */
.float-bar {
  position: sticky; top: 0; z-index: 120;
  display: flex; align-items: center; justify-content: space-between;
  height: 48px; margin: 0 auto; max-width: 920px;
  padding: 0 16px; border-radius: 0 0 var(--r-lg) var(--r-lg);
  background: var(--nav-bg); backdrop-filter: blur(18px); border: 1px solid var(--border); border-top: none;
  box-shadow: var(--shadow-sm);
}
.float-bar .fb-left { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.float-bar .fb-left b { font-weight: 800; color: var(--accent); }
.fb-logo { width: 24px; height: 24px; border-radius: 6px; flex-shrink: 0; }
.float-bar .fb-right { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--text-3); white-space: nowrap; }
/* 浮动栏登录/退出按钮与「首页」按钮完全一致（padding:8px 14px; font-size:12px; 图标14px; 图标文字紧贴 gap:4px），覆盖基类 .btn 的大尺寸/大间距 */
.float-bar .btn { padding: 8px 14px; font-size: 12px; gap: 4px; }
.float-bar .btn i { width: 14px; height: 14px; }
.float-bar .fb-home { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; font-size: 12px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface-2); color: var(--text-2); text-decoration: none; cursor: pointer; transition: border-color .15s, color .15s; }
.float-bar .fb-home:hover { border-color: var(--accent); color: var(--accent); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; background: var(--text-4); }
.live-dot.live { background: var(--up); animation: pulse 1.4s infinite; }
.live-dot.trading { background: var(--up); }
.live-dot.premarket { background: var(--gold); }
.live-dot.lunch { background: var(--accent); }
.live-dot.holiday, .live-dot.closed { background: var(--text-4); }
.theme-cycle { cursor: pointer; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--border); opacity: .85; transition: opacity .2s; }
.theme-cycle:hover { opacity: 1; }
.theme-cycle i, .theme-cycle svg { width: 16px; height: 16px; color: var(--text-2); }

/* 头部卡 V5 玻璃 */
.rh {
  background: var(--glass-bg, rgba(255,255,255,.7)); border: 1px solid var(--glass-brd, rgba(0,0,0,.08)); border-radius: var(--r-lg);
  padding: 22px 24px; margin-top: 14px; position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm); backdrop-filter: blur(22px) saturate(180%); -webkit-backdrop-filter: blur(22px) saturate(180%);
}
.rh::before { content: ''; position: absolute; top: 0; right: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-strong)); opacity: .85; pointer-events: none; }
.rh-top { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; position: relative; }
.rh-date-full { font-size: 13px; font-weight: 700; color: var(--text-2); }
.rh-top-left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rh-date-inline { font-size: 11px; padding: 4px 13px; border-radius: var(--r-pill); font-weight: 600; background: var(--surface-2); color: var(--text-2); white-space: nowrap; }
.rh-date { font-size: 21px; font-weight: 800; letter-spacing: -0.5px; color: var(--text-1); }
.rh-edition { font-size: 11px; padding: 4px 13px; border-radius: var(--r-pill); font-weight: 600; background: var(--accent-soft); color: var(--accent); white-space: nowrap; }
.rh-biz-row { display: flex; justify-content: center; margin-top: 10px; margin-bottom: 14px; }
.rh h1 { font-size: 23px; font-weight: 800; text-align: center; margin: 12px 0; letter-spacing: -0.4px; position: relative; }
.rh h1 .b-max { color: var(--accent); font-weight: 800; }
.rh h1 .b-slogan { font-size: 14px; font-weight: 500; color: var(--text-3); letter-spacing: 1.5px; margin-left: 8px; }

/* V5 苹果风玻璃胶囊：实时监控入口统一为蓝色玻璃（覆盖全部 115 份报告） */
.member-notice { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0 auto 12px; width: fit-content; cursor: pointer; font-size: 12px; font-weight: 700; color: var(--accent); padding: 7px 16px; border-radius: var(--r-pill); background: var(--accent-soft); border: 1px solid var(--accent); backdrop-filter: blur(12px) saturate(160%); -webkit-backdrop-filter: blur(12px) saturate(160%); transition: all .22s var(--ease-spring, cubic-bezier(.34,1.56,.64,1)); }
.member-notice:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(10,132,255,.25); }
.member-notice .mn-lock { width: 15px; height: 15px; color: var(--accent); }
.member-notice .mn-go { width: 14px; height: 14px; opacity: .7; }
.header-sub-btn { display: inline-flex; align-items: center; gap: 4px; padding: 4px 14px; border-radius: var(--r-pill); background: linear-gradient(135deg, var(--accent), var(--accent-strong)); color: #fff !important; font-weight: 700; font-size: 11px; box-shadow: 0 2px 10px var(--accent-glow); transition: all .2s; text-decoration: none; white-space: nowrap; }
.header-sub-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px var(--accent-glow); }

.info-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0 10px; font-size: 12px; color: var(--text-2); flex-wrap: wrap; gap: 6px; }
.info-left { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.biz-wx { cursor: pointer; color: var(--accent); font-weight: 600; font-size: 12px; padding: 2px 11px; border-radius: var(--r-pill); background: var(--accent-soft); display: inline-flex; align-items: center; gap: 4px; }
.biz-wx:hover { background: var(--side-hover); }
.biz-copy-ok { position: absolute; right: 18px; top: 2px; font-size: 11px; color: var(--down); opacity: 0; transition: opacity .3s; }
.biz-copy-ok.show { opacity: 1; }
.biz-card { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 4px auto 14px; max-width: 620px; text-align: left; }
.biz-row { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; cursor: pointer; padding: 7px 13px; border-radius: var(--r-pill); background: var(--card); border: 1px solid var(--border); transition: all .15s; text-decoration: none; color: inherit; }
a.biz-row { text-decoration: none; color: inherit; }
.biz-row:hover { border-color: var(--accent); background: var(--accent-soft); }
.biz-ico { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: #ffffff; color: var(--accent-strong); border: 1px solid rgba(30,136,229,.35); flex-shrink: 0; box-shadow: 0 1px 3px rgba(30,136,229,.15); }
.biz-ico i { width: 15px; height: 15px; }
.biz-lbl { color: var(--text-3); font-weight: 600; }
.biz-val { color: var(--accent-strong); font-weight: 700; }
@media(max-width:640px){ .biz-card { max-width: 100%; gap: 8px; } .biz-row { flex: 1 1 auto; justify-content: center; font-size: 11.5px; padding: 6px 10px; } }

/* 统计行 */
.stats-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.stats-row .st { text-align: center; background: var(--surface-2); padding: 11px 4px; border-radius: var(--r-md); border: 1px solid var(--border); }
.stats-row .st strong { display: block; font-size: 20px; font-weight: 800; line-height: 1.15; color: var(--text-1); font-variant-numeric: tabular-nums; }
.stats-row .st span { font-size: 10px; color: var(--text-3); }
/* 统计数字配色：上涨红 / 下跌绿；平均涨跌幅红涨绿跌（用 up/dn 类切换） */
.stats-row .st strong.stat-up, .stats-row .st strong.up { color: var(--up); }
.stats-row .st strong.stat-dn, .stats-row .st strong.dn { color: var(--down); }

/* AI 生成标识徽标（位于涨跌榜上方，醒目提示） */
.ai-banner { margin: 14px 0 8px; padding: 12px 14px; border-radius: var(--r-md); display: flex; flex-direction: column; gap: 8px; background: linear-gradient(135deg, rgba(0,113,227,.09), rgba(123,91,230,.09)); border: 1px solid rgba(0,113,227,.28); }
.ai-badge-pill { align-self: center; display: inline-flex; align-items: center; gap: 5px; padding: 4px 13px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .3px; color: #fff; background: linear-gradient(135deg, #7B5BE6, #0071E3); box-shadow: 0 2px 10px rgba(0,113,227,.32); }
.ai-badge-pill svg { width: 14px; height: 14px; }
.ai-banner-note { margin: 0; font-size: 12px; line-height: 1.65; color: var(--text-2); text-align: center; }
.ai-banner-note b { color: var(--text-1); font-weight: 700; }

/* 板块面板 V5 玻璃 */
.panel-r { background: var(--glass-bg, rgba(255,255,255,.7)); border: 1px solid var(--glass-brd, rgba(0,0,0,.08)); border-radius: var(--r-lg); padding: 16px 18px; margin: 14px 0; box-shadow: var(--shadow-sm); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); }
.sc-hd { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.sc-hd .sc-icon { width: 18px; height: 18px; color: var(--accent); }
.sc-hd .sc-title { font-size: 15px; font-weight: 700; }
.sc-hd .sc-sub { font-size: 11px; color: var(--text-3); margin-left: 4px; }
.sc-hd .sc-action { margin-left: auto; font-size: 10px; padding: 3px 10px; border-radius: var(--r-pill); background: var(--surface-2); color: var(--text-2); cursor: pointer; font-weight: 600; border: 1px solid var(--border); }

/* 今日聚焦 */
.ms { font-size: 13px; line-height: 1.95; color: var(--text-1); }
.ms .ms-item { display: flex; gap: 8px; cursor: pointer; border-radius: var(--r-sm); padding: 2px 4px; transition: background .15s, color .15s; }
.ms .ms-item:hover { background: var(--side-hover); color: var(--accent); }
.ms .ms-idx { color: var(--accent); font-weight: 700; flex-shrink: 0; }
.ms-toggle { color: var(--accent); cursor: pointer; font-size: 12px; font-weight: 600; margin-left: 8px; }
.ms-toggle:hover { text-decoration: underline; }

/* 重合标的 */
.rs-row { display: flex; flex-direction: column; gap: 6px; padding: 9px 6px; border-bottom: 1px solid var(--border); font-size: 13px; }
.rs-row:last-child { border-bottom: none; }
.rs-row:hover { background: var(--surface-2); }
.rs-line { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.rs-line .sn { font-weight: 600; }
.rs-tag { font-size: 10px; font-weight: 700; padding: 1px 9px; border-radius: var(--r-pill); color: #fff; }
.rs-tag.x2 { background: var(--accent); } .rs-tag.x3 { background: var(--gold-strong); } .rs-tag.x4 { background: var(--up); }
.rs-right { margin-left: auto; display: flex; gap: 10px; font-variant-numeric: tabular-nums; }
.rs-sp, .rs-spp { font-weight: 700; }
.up { color: var(--up); } .dn { color: var(--down); }
.rs-occs { display: flex; flex-wrap: wrap; gap: 4px; padding-left: 6px; }
.rs-ot { font-size: 10px; padding: 2px 8px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent); cursor: pointer; }
.rs-ot:hover { background: var(--side-hover); }

/* 主题卡 */
.tc { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg); margin-bottom: 12px; overflow: hidden; box-shadow: var(--shadow-sm); transition: border .2s; position: relative; scroll-margin-top: 56px; }
.tc:hover { border-color: var(--accent); }
.tc-header { display: flex; align-items: center; gap: 10px; padding: 14px 16px; cursor: pointer; }
/* 主题可展开内容区（涨跌榜/摘要） */
.tc-body { display: block; }
.tc-chevron { width: 9px; height: 9px; margin-left: 10px; flex-shrink: 0; border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3); transform: rotate(45deg); transition: transform .2s; }
.tc-collapsed .tc-chevron { transform: rotate(-45deg); }
.tc-empty { padding: 14px 16px 18px; font-size: 12.5px; color: var(--text-3); text-align: center; }
.tc-rank { background: linear-gradient(135deg, var(--accent), var(--accent-strong)); color: #fff; border-radius: var(--r-pill); padding: 2px 10px; font-size: 10px; font-weight: 700; flex-shrink: 0; box-shadow: 0 1px 4px var(--accent-glow); white-space: nowrap; }
.tc-name { font-size: 15px; font-weight: 700; flex: 1; min-width: 0; }
.tc-avg { margin-left: auto; display: flex; align-items: baseline; gap: 5px; flex-shrink: 0; }
.tc-avg-lbl { font-size: 10px; color: var(--text-3); }
.tc-avg-val { font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.tc-quote { padding: 0 16px 12px 16px; font-size: 12.5px; line-height: 1.7; color: var(--text-2); background: var(--surface-2); margin: 0 12px 12px; border-radius: var(--r-md); padding: 10px 12px; border-left: 3px solid var(--gold); }
.tc-quote b { color: var(--accent); }
/* 股票行 */
.sr { display: flex; flex-direction: column; gap: 4px; padding: 9px 16px; border-top: 1px solid var(--border); font-size: 13px; }
.sr-line { display: flex; align-items: baseline; gap: 6px; flex-wrap: nowrap; }
.sr .sn { font-weight: 600; min-width: 0; flex: 0 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr .skc { font-size: 11px; color: var(--text-3); flex-shrink: 0; }
.stk-tag { font-size: 10px; font-weight: 600; padding: 1px 9px; border-radius: var(--r-pill); white-space: nowrap; flex-shrink: 0; }
.sr-right { margin-left: auto; display: flex; gap: 10px; align-items: baseline; justify-content: flex-end; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.sr-right .sp { font-size: 13px; font-weight: 700; min-width: 62px; text-align: right; }
.sr-right .spp { font-size: 12px; font-weight: 600; min-width: 58px; text-align: right; }
.sr2 { width: 100%; margin-top: 2px; padding: 7px 10px; border-radius: var(--r-sm); background: var(--accent-soft); font-size: 11.5px; line-height: 1.65; color: var(--text-2); }

/* Paywall：前 3 主题完整，第 4 起打码虚化 */
.tc-paywalled { position: relative; max-height: 150px; overflow: hidden; user-select: none; }
.tc-paywalled::before {
  content: ''; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to bottom, rgba(245,247,250,0) 0%, rgba(245,247,250,.85) 75%, rgba(245,247,250,.95) 100%);
  pointer-events: none;
}
.pw-mask { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; padding: 18px 16px 16px; text-align: center; cursor: default; }
.pw-mask .btn { pointer-events: auto; font-size: 12px; padding: 7px 16px; }
.pw-mask .btn i { width: 13px; height: 13px; vertical-align: -2px; margin-right: 4px; }
.pw-mask-inner .pw-tip { font-size: 11px; color: var(--text-3); margin-bottom: 8px; }
.paywall-banner { text-align: center; padding: 24px 16px; margin: 14px 0; border: 1px dashed var(--border); border-radius: var(--r-lg); background: var(--surface-2); }
.paywall-ico { width: 34px; height: 34px; margin: 0 auto 10px; display: grid; place-items: center; border-radius: 50%; background: var(--gold-soft); color: var(--gold-strong); }
.paywall-ico i { width: 18px; height: 18px; }
.paywall-msg { font-size: 14px; color: var(--text-2); margin-bottom: 14px; }
.paywall-msg b { color: var(--accent-strong); }
.paywall-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 300; background: var(--card); border-top: 1px solid var(--border); padding: 12px 20px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; box-shadow: 0 -2px 12px rgba(0,0,0,.08); }
.pw-progress { font-size: 13px; color: var(--text-2); font-weight: 600; }
.pw-cta { font-size: 13px; font-weight: 700; color: var(--accent); cursor: pointer; padding: 6px 15px; background: var(--accent-soft); border-radius: var(--r-pill); border: 1px solid var(--accent); }
.pw-cta:hover { background: var(--side-hover); }
.pw-trial { font-size: 11px; color: var(--text-4); }
@media(max-width:640px){ .paywall-bar { padding: 10px 14px; gap: 10px; } .pw-trial { display: none; } }

/* 未登录：面板虚化（涨跌榜 / 今日聚焦 / 重合标的） */
.panel-locked { filter: blur(5px); pointer-events: none; user-select: none; opacity: .65; }

/* 目录条 */
.toc-bar { position: fixed; right: 14px; top: 50%; transform: translateY(-50%); z-index: 110; max-height: 80vh; overflow-y: auto; display: none; }
.toc-bar-inner { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-md); padding: 8px; box-shadow: var(--shadow-md); width: 180px; }
.toc-bar-title { font-size: 11px; font-weight: 700; color: var(--text-3); text-align: center; margin-bottom: 6px; }
.toc-bar-item { display: flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: var(--r-sm); font-size: 11px; cursor: pointer; color: var(--text-2); transition: background .15s; }
.toc-bar-item:hover { background: var(--side-hover); }
.toc-bar-item.active { background: var(--side-active-bg); color: var(--accent); }
.toc-rank { font-size: 9px; font-weight: 700; background: var(--accent); color: #fff; border-radius: 4px; padding: 0 4px; flex-shrink: 0; }
.toc-name { flex: 1; white-space: normal; line-height: 1.3; }
.toc-heat { font-weight: 800; font-variant-numeric: tabular-nums; }

/* 页脚声明 */
.fo-disc { max-width: 860px; margin: 16px auto 8px; padding: 14px 16px; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-md); }
.fo-disc-h { font-size: 12px; font-weight: 700; text-align: center; margin-bottom: 8px; }
.fo-disc-list { margin: 0; padding-left: 18px; }
.fo-disc-list li { font-size: 10.5px; line-height: 1.7; color: var(--text-2); margin-bottom: 5px; }
.fo-disc-list li b { color: var(--text-1); }
.fo-disc-copy { margin-top: 8px; font-size: 9.5px; color: var(--text-4); text-align: center; }
.fo-links { text-align: center; margin-top: 12px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.fo-links a { font-size: 12px; color: var(--text-3); display: inline-flex; align-items: center; gap: 5px; }
.fo-links a:hover { color: var(--accent); }

/* 涨跌榜（两列：涨幅榜 / 跌幅榜；手机端仍保持左右两列，条目紧凑不溢出） */
.rank-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rank-col { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-md); padding: 9px 10px; min-width: 0; }
.rank-col-hd { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--text-2); margin-bottom: 6px; }
.rank-col-hd i { width: 15px; height: 15px; }
.rank-col-hd span { font-size: 10px; color: var(--text-3); font-weight: 500; margin-left: auto; }
.rank-col .rank-strip { max-height: 360px; }
.rank-strip { display: flex; flex-direction: column; gap: 2px; max-height: 330px; overflow-y: auto; }
.db-rank-item { display: flex; align-items: baseline; gap: 6px; padding: 6px 4px; border-bottom: 1px solid var(--border); font-size: 12.5px; min-width: 0; }
.db-rank-item:last-child { border-bottom: none; }
.db-rank-left { display: flex; align-items: baseline; gap: 5px; min-width: 0; flex: 1; }
.db-rank-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.db-rank-code { font-size: 10.5px; color: var(--text-3); flex-shrink: 0; }
.db-rank-right { display: flex; align-items: baseline; gap: 6px; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.db-rank-price { font-size: 12px; color: var(--text-3); }
.db-rank-price.up { color: var(--up); } .db-rank-price.dn { color: var(--down); }
.db-rank-pct { font-weight: 700; white-space: nowrap; min-width: 60px; text-align: right; }
.db-rank-pct.up { color: var(--up); } .db-rank-pct.dn { color: var(--down); }
.rank-empty { text-align: center; padding: 22px; color: var(--text-3); font-size: 12px; }

/* 返回顶部 / 到底部（同框浮动，滚到一定位置才出现） */
.float-scroll { position: fixed; right: 18px; bottom: 30px; z-index: 130; display: none; flex-direction: column; gap: 12px; }
#back-to-top, #scroll-bottom { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); cursor: pointer; }
#back-to-top { background: var(--accent); color: #fff; }
#scroll-bottom { background: var(--surface); color: var(--text-2); border: 1px solid var(--border); }
#scroll-bottom i, #back-to-top i { width: 20px; height: 20px; }
/* 导出自选股 UI 已迁移至 实时监控页(live.html)，此处样式保留以备复用 */
.export-overlay { position: fixed; inset: 0; background: rgba(8,16,30,.5); z-index: 400; display: none; }
.export-modal { position: fixed; left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 410; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px; width: 320px; max-width: 90vw; box-shadow: var(--shadow-lg); display: none; }
.em-title { font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.em-btn { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; margin-bottom: 10px; border-radius: var(--r-md); border: 1px solid var(--border); background: var(--surface-2); text-align: left; transition: all .2s; }
.em-btn:hover { border-color: var(--accent); }
.em-btn strong { font-size: 16px; }
.em-btn span:last-child { font-size: 11px; color: var(--text-3); }
.em-close { position: absolute; top: 12px; right: 16px; font-size: 20px; cursor: pointer; color: var(--text-3); }

/* 响应式 */
@media (min-width: 1280px) { .toc-bar { display: block; } }
@media (max-width: 1279px) {
  body { padding-bottom: 64px; }
  /* 移动端：目录条固定底部、随页面滚动始终可见的横向条（位于付费墙之上，不遮挡正文） */
  .toc-bar { position: fixed; left: 0; right: 0; bottom: 0; top: auto; transform: none; max-height: none; display: flex; flex-wrap: nowrap; gap: 8px; z-index: 120; background: var(--surface-2); border: 1px solid var(--border); border-bottom: none; border-radius: var(--r-md) var(--r-md) 0 0; margin: 0; padding: 8px 10px; overflow-x: auto; overflow-y: hidden; box-shadow: 0 -2px 12px rgba(0,0,0,.08); }
  .toc-bar-inner { display: flex; gap: 8px; background: transparent; border: none; box-shadow: none; padding: 0; width: auto; }
  .toc-bar-title { display: none; }
  .toc-bar-item { flex-shrink: 0; background: var(--surface); border: 1px solid var(--border); }
  .float-scroll { bottom: 64px; }
}
@media (max-width: 640px) {
  /* 5 卡片手机端 2+3 布局：前 2 张各占半行，后 3 张各占三分之一行 */
  .stats-row { grid-template-columns: repeat(6, 1fr); }
  .stats-row .st:nth-child(1), .stats-row .st:nth-child(2) { grid-column: span 3; }
  .stats-row .st:nth-child(n+3) { grid-column: span 2; }
  .stats-row .st strong { font-size: 18px; }
  .rh { padding: 18px 16px; }
  .rh h1 { font-size: 20px; }
  .report-shell { padding: 0 10px 30px; }
  /* 涨跌榜手机端仍保持左右两列（涨幅/跌幅），条目紧凑不溢出卡片 */
  .rank-cols { grid-template-columns: 1fr 1fr; gap: 8px; }
  .rank-col { padding: 7px 6px; }
  .db-rank-item { font-size: 11.5px; padding: 5px 2px; gap: 4px; }
  .db-rank-right { gap: 5px; }
  .db-rank-pct { min-width: 52px; }
  /* 手机端隐藏股票代码，确保名称完整显示 */
  .db-rank-code { display: none; }
}
/* 涨跌榜代码已在 ≤640px 隐藏，无需单独 360 断点 */
@media (max-width: 420px) {
  .stats-row { gap: 6px; }
  .stats-row .st { padding: 9px 2px; }
  .stats-row .st span { font-size: 9px; }
}

@media (max-width: 480px) {
  .float-bar .fb-right { gap: 7px; }
  .float-bar .fb-right a span { display: none; }
  .float-bar .fb-right a { gap: 0; }
}
