/* 财联社看盘增强面板 —— 样式（现代卡片化设计，浅色主题） */
#cls-dash-root {
  position: fixed;
  top: 0;
  right: 0;
  width: min(1320px, 97vw);
  height: 100vh;
  z-index: 2147483600;
  background: #f4f6fb;
  box-shadow: -12px 0 40px rgba(20, 30, 60, 0.18);
  overflow-y: auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  color: #1f2733;
  transition: transform 0.28s ease;
}
#cls-dash-root.cls-hidden {
  transform: translateX(100%);
}
.cls-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 2147483601;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff5a36, #ff8a3d);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(255, 90, 54, 0.45);
  border: none;
  line-height: 1.1;
  text-align: center;
}
.cls-fab:hover {
  filter: brightness(1.05);
}
.cls-head {
  position: sticky;
  top: 0;
  background: linear-gradient(135deg, #1f2a44, #2c3a5e);
  color: #fff;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 5;
}
.cls-head h1 {
  font-size: 18px;
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.cls-head .cls-sub {
  font-size: 12px;
  opacity: 0.75;
  margin-top: 2px;
}
.cls-head .cls-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
}
.cls-body {
  padding: 16px 18px 40px;
}
.cls-section-title {
  font-size: 15px;
  font-weight: 700;
  margin: 18px 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #2c3a5e;
}
.cls-section-title::before {
  content: "";
  width: 4px;
  height: 16px;
  background: #ff5a36;
  border-radius: 2px;
}
.cls-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(30, 45, 90, 0.06);
  padding: 14px 16px;
}
.cls-row {
  display: grid;
  gap: 14px;
  margin-bottom: 6px;
}
.cls-row.r1 {
  grid-template-columns: repeat(4, 1fr);
}
.cls-row.r2 {
  grid-template-columns: 1.7fr 1fr;
}
.cls-row.r3 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1100px) {
  .cls-row.r1 {
    grid-template-columns: repeat(2, 1fr);
  }
  .cls-row.r2,
  .cls-row.r3 {
    grid-template-columns: 1fr;
  }
}
.cls-stat {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(30, 45, 90, 0.05);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 108px;
}
.cls-stat .v {
  font-size: 22px;
  font-weight: 800;
  margin: 2px 0;
  line-height: 1.1;
}
.cls-stat .l {
  font-size: 12px;
  color: #8a93a6;
}
.cls-stat .s {
  font-size: 11px;
  color: #b0b7c5;
}
.cls-up {
  color: #e23b3b;
}
.cls-down {
  color: #14a877;
}
.cls-flat {
  color: #8a93a6;
}
.cls-heat {
  color: #14a877;
}

/* 复合统计卡片 */
.cls-stat-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.cls-gauge {
  width: 78px;
  height: 44px;
  flex-shrink: 0;
}
.cls-gauge svg {
  width: 100%;
  height: 100%;
  display: block;
}
.cls-stat-title {
  text-align: left;
  min-width: 84px;
}
.cls-stat-heat .v {
  font-size: 26px;
}
.cls-stat-sub {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #f0f2f7;
  text-align: center;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.cls-stat-sub.two {
  justify-content: space-around;
}
.cls-stat-sub.two > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.cls-stat-sub .cls-vs {
  color: #b0b7c5;
  font-size: 11px;
  font-weight: 600;
}
.cls-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.cls-stat-col {
  flex: 1;
  text-align: center;
}
.cls-stat-balance .v {
  font-size: 20px;
}
.cls-chart {
  width: 100%;
  height: 300px;
}
.cls-chart.sm {
  height: 200px;
}
.cls-list {
  max-height: 300px;
  overflow-y: auto;
  font-size: 13px;
}
.cls-list .it {
  display: flex;
  justify-content: space-between;
  padding: 7px 4px;
  border-bottom: 1px dashed #eef1f6;
}
.cls-list .it:last-child {
  border-bottom: none;
}
.cls-list .nm {
  font-weight: 600;
}
.cls-list .meta {
  color: #8a93a6;
  font-size: 11px;
}
.cls-tag {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 6px;
  font-size: 11px;
  background: #fff1ec;
  color: #ff5a36;
  margin-left: 6px;
}
.cls-empty {
  color: #aab1c0;
  font-size: 13px;
  text-align: center;
  padding: 30px 10px;
}
.cls-idx {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 4px 2px;
}
.cls-idx-item {
  border-bottom: 1px solid #f0f2f7;
  padding-bottom: 6px;
}
.cls-idx-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.cls-idx-title {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 2px;
}
.cls-idx-title .nm {
  font-size: 13px;
  font-weight: 700;
  color: #2c3a5e;
}
.cls-idx-title .px {
  font-size: 15px;
  font-weight: 800;
}
.cls-idx-title .ch {
  font-size: 11px;
  margin-left: auto;
}
.cls-idx-chart {
  width: 100%;
  height: 82px;
}
.cls-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.cls-table th,
.cls-table td {
  text-align: right;
  padding: 7px 6px;
  border-bottom: 1px solid #f0f2f7;
}
.cls-table th:first-child,
.cls-table td:first-child {
  text-align: left;
}
.cls-table th {
  color: #8a93a6;
  font-weight: 600;
  font-size: 12px;
}
.cls-table tr:hover td {
  background: #fafbff;
}
.cls-loading {
  padding: 16px;
  text-align: center;
  color: #aab1c0;
  font-size: 13px;
}
