/* 资金流向 —— 版式沿用站内统一规范（1720 容器 / 22px 圆角卡片 / 带阴影） */
.fl-wrap { max-width: var(--gl-content, 90%); margin: 0 auto; padding: 20px 18px 40px; }

/* 页面标题：对齐站内 h1（21px / 700 / 近黑） */
.fl-title { font-size: 21px; font-weight: 700; margin: 0 0 14px; color: #0a0a0a; letter-spacing: .2px; line-height: 1.3; }

/* 顶部市场页签条 */
.fl-tabs { display: inline-flex; background: #2b3341; border-radius: 9px; padding: 3px; gap: 2px; margin-bottom: 14px; }
.fl-tab { border: 0; background: none; padding: 7px 22px; font-size: 13.5px; cursor: pointer; color: #b8c2d0; border-radius: 7px; font-weight: 500; transition: background .15s, color .15s; }
.fl-tab:hover { color: #fff; }
.fl-tab.on { background: #1971c2; color: #fff; font-weight: 600; }

/* 卡片：完全对齐站内 .card */
.fl-card { background: #fff; border: 1px solid rgba(0, 0, 0, .043); border-radius: 22px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 6px 18px rgba(0, 0, 0, .034); padding: 22px 24px; margin-bottom: 18px; }
.fl-cardhd { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.fl-barttl { font-size: 15px; font-weight: 700; color: #0a0a0a; padding-left: 10px; border-left: 3.5px solid #1971c2; line-height: 1.2; }
.fl-time { color: #98a2b3; font-size: 12px; }

/* 表格内页签 */
.fl-segs { display: inline-flex; gap: 4px; background: #f2f4f8; border-radius: 9px; padding: 3px; }
.fl-seg { border: 0; background: none; padding: 6px 16px; font-size: 13px; cursor: pointer; color: #5a6b85; border-radius: 7px; transition: .15s; }
.fl-seg:hover { color: #1971c2; }
.fl-seg.on { color: #fff; background: #1971c2; font-weight: 600; }

.fl-chart { width: 100%; height: 380px; }
.fl-chart.tall { height: 400px; }

/* 排行表 */
.fl-tblwrap { overflow: auto; max-height: 720px; border-radius: 12px; border: 1px solid #eef1f6; }
table.fl-tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.fl-tbl th, .fl-tbl td { padding: 9px 12px; text-align: right; white-space: nowrap; border-bottom: 1px solid #f2f5f9; }
.fl-tbl th { position: sticky; top: 0; background: #f7f9fc; color: #4a5a70; font-weight: 600; z-index: 2; font-size: 12.5px; }
.fl-tbl td.l, .fl-tbl th.l { text-align: left; }
.fl-tbl td.c, .fl-tbl th.c { text-align: center; }
.fl-tbl tbody tr:hover td { background: #eaf2fc; }
.fl-tbl .num { font-variant-numeric: tabular-nums; }
.fl-tbl .seq { color: #98a2b3; width: 46px; }
.up { color: #e03131; } .dn { color: #0ca678; } .flat { color: #5a6b85; }

/* 个股四单型分组通栏表 */
.fl-quadwrap { overflow-x: auto; border-radius: 12px; border: 1px solid #eef1f6; }
table.fl-quad { width: 100%; border-collapse: collapse; font-size: 13px; }
.fl-quad th, .fl-quad td { padding: 10px 14px; text-align: right; border-bottom: 1px solid #eef1f6; white-space: nowrap; }
.fl-quad thead tr.grp th { text-align: center; font-size: 14px; font-weight: 700; padding: 11px 14px; border-bottom: 1px solid #dde4ee; color: #0a0a0a; }
.fl-quad thead tr.sub th { background: #f7f9fc; color: #4a5a70; font-weight: 600; font-size: 12.5px; }
.fl-quad thead th.l { text-align: left; }
.fl-quad tbody td.metric { text-align: left; font-weight: 700; color: #0a0a0a; }
.fl-quad .num { font-variant-numeric: tabular-nums; }
.fl-quad .g1 { background: #fdf7f7; } .fl-quad .g2 { background: #f7fafd; }
.fl-quad .g3 { background: #fbfaf4; } .fl-quad .g4 { background: #f5fbf8; }
.fl-quad thead .g1 { background: #fbecec; } .fl-quad thead .g2 { background: #eaf1fa; }
.fl-quad thead .g3 { background: #f6f2e2; } .fl-quad thead .g4 { background: #e6f5ef; }

/* 搜索条 */
.fl-searchbar { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.fl-searchbar input { width: 320px; padding: 9px 14px; border: 1px solid #d5dde8; border-radius: 9px; font-size: 14px; outline: none; transition: .15s; }
.fl-searchbar input:focus { border-color: #1971c2; box-shadow: 0 0 0 3px rgba(25, 113, 194, .1); }
.fl-searchbar button { padding: 9px 24px; background: #1971c2; color: #fff; border: 0; border-radius: 9px; font-size: 13.5px; cursor: pointer; transition: .15s; }
.fl-searchbar button:hover { background: #155a9c; }
.fl-sname { font-size: 14.5px; font-weight: 700; color: #0a0a0a; }
.fl-err2 { color: #b45309; font-size: 12.5px; }

.fl-skel { height: 200px; display: flex; align-items: center; justify-content: center; color: #b8c2d0; font-size: 13px; }
.fl-err { color: #b45309; font-size: 13px; padding: 24px 0; text-align: center; }

@media (max-width: 1100px) {
  .fl-chart { height: 320px; }
  .fl-chart.tall { height: 340px; }
}
@media (max-width: 760px) {
  .fl-wrap { padding: 16px 12px 32px; }
  .fl-card { padding: 16px 14px; border-radius: 16px; }
  .fl-chart { height: 260px; }
  .fl-title { font-size: 19px; }
  .fl-searchbar input { width: min(320px, 56vw); }
  .fl-tab { padding: 6px 13px; font-size: 12.5px; }
}
