* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  background: #020b1a;
  color: #e6f7ff;
}

.viz-screen {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* 动态背景 */
.viz-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0, 120, 255, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(0, 200, 255, 0.08), transparent),
    linear-gradient(180deg, #020b1a 0%, #041528 40%, #020b1a 100%);
  z-index: 0;
}

.viz-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 180, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 180, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: gridDrift 24s linear infinite;
  opacity: 0.6;
}

.viz-bg-stars {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(1px 1px at 20% 30%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 60% 70%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1.5px 1.5px at 80% 20%, rgba(0, 200, 255, 0.5), transparent),
    radial-gradient(1px 1px at 40% 80%, rgba(255, 255, 255, 0.25), transparent);
  animation: starTwinkle 6s ease-in-out infinite alternate;
}

@keyframes gridDrift {
  0% { transform: translateY(0); }
  100% { transform: translateY(48px); }
}

@keyframes starTwinkle {
  0% { opacity: 0.4; }
  100% { opacity: 0.9; }
}

.viz-screen > *:not(.viz-bg) {
  position: relative;
  z-index: 1;
}

/* 顶栏 */
.viz-header {
  flex-shrink: 0;
  height: 72px;
  display: grid;
  grid-template-columns: 220px 1fr 280px;
  align-items: center;
  padding: 0 20px;
  border-bottom: 1px solid rgba(0, 200, 255, 0.25);
  background: linear-gradient(180deg, rgba(0, 40, 80, 0.5), transparent);
}

.viz-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.viz-logo.corp-brand--viz .viz-logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.35;
}

.viz-logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, #00d4ff, #0066cc);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 0 20px rgba(0, 200, 255, 0.5);
  animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% { box-shadow: 0 0 16px rgba(0, 200, 255, 0.4); }
  50% { box-shadow: 0 0 28px rgba(0, 200, 255, 0.8); }
}

.viz-logo-text {
  font-size: 14px;
  color: #7ec8ff;
  line-height: 1.4;
}

.viz-logo-text--corp {
  max-width: 220px;
  font-size: 12px;
  font-weight: 600;
  color: #1a3a5c;
}

.viz-logo-sub {
  font-size: 11px;
  opacity: 0.8;
  font-weight: 400;
}

.viz-title-wrap {
  text-align: center;
}

.viz-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 6px;
  background: linear-gradient(180deg, #fff8e0 0%, #ffd666 40%, #d4a017 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(255, 200, 50, 0.3);
  animation: titleGlow 4s ease-in-out infinite;
}

@keyframes titleGlow {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.15); }
}

.viz-subtitle {
  font-size: 12px;
  color: rgba(126, 200, 255, 0.75);
  margin-top: 4px;
  letter-spacing: 2px;
}

.viz-weather {
  text-align: right;
  font-size: 13px;
  color: #7ec8ff;
}

.viz-weather .temp {
  font-size: 22px;
  color: #fff;
  font-weight: 600;
}

.viz-weather .clock {
  font-size: 20px;
  font-weight: 600;
  color: #00e5ff;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.6);
}

/* KPI */
.viz-kpi-row {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
  padding: 10px 16px;
}

.viz-kpi-card {
  position: relative;
  padding: 10px 12px;
  background: linear-gradient(135deg, rgba(0, 60, 120, 0.35), rgba(0, 30, 60, 0.5));
  border: 1px solid rgba(0, 200, 255, 0.35);
  border-radius: 4px;
  overflow: hidden;
  animation: cardBorder 3s ease-in-out infinite;
}

.viz-kpi-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00e5ff, transparent);
  animation: scanLine 2.5s linear infinite;
}

@keyframes scanLine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes cardBorder {
  0%, 100% { border-color: rgba(0, 200, 255, 0.35); box-shadow: inset 0 0 20px rgba(0, 100, 200, 0.1); }
  50% { border-color: rgba(0, 230, 255, 0.55); box-shadow: inset 0 0 30px rgba(0, 150, 255, 0.15); }
}

.viz-kpi-card .label {
  font-size: 11px;
  color: rgba(126, 200, 255, 0.85);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.viz-kpi-card .value {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.viz-kpi-card .sub {
  font-size: 10px;
  color: rgba(126, 200, 255, 0.6);
  margin-top: 2px;
}

.viz-kpi-card .trend {
  font-size: 11px;
  margin-top: 2px;
}

.viz-kpi-card .trend.up {
  color: #52c41a;
}

.viz-kpi-card .icon {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  opacity: 0.35;
}

/* 主体三栏 */
.viz-body {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 22% 1fr 22%;
  gap: 12px;
  padding: 0 12px 8px;
}

.viz-panel {
  background: linear-gradient(180deg, rgba(0, 50, 100, 0.25), rgba(0, 25, 50, 0.4));
  border: 1px solid rgba(0, 180, 255, 0.3);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.viz-panel-head {
  flex-shrink: 0;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #00e5ff;
  border-bottom: 1px solid rgba(0, 180, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 8px;
}

.viz-panel-head::before {
  content: "";
  width: 3px;
  height: 14px;
  background: linear-gradient(180deg, #00e5ff, #0066cc);
  border-radius: 2px;
}

.viz-panel-body {
  flex: 1;
  min-height: 0;
  padding: 6px;
  display: flex;
  flex-direction: column;
}

.viz-panel-body .viz-chart {
  flex: 1;
  min-height: 90px;
}

.viz-col-left,
.viz-col-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
}

.viz-col-left .viz-panel:nth-child(1) { flex: 1.1; }
.viz-col-left .viz-panel:nth-child(2) { flex: 0.9; }
.viz-col-left .viz-panel:nth-child(3) { flex: 1; }

.viz-col-right .viz-panel:nth-child(1) { flex: 1.2; }
.viz-col-right .viz-panel:nth-child(2) { flex: 0.85; }
.viz-col-right .viz-panel:nth-child(3) { flex: 1; }

.viz-chart {
  width: 100%;
  height: 100%;
  min-height: 100px;
}

.viz-col-left .viz-panel:nth-child(1) .viz-chart { min-height: 120px; }
.viz-col-left .viz-panel:nth-child(2) .viz-chart { min-height: 110px; }
.viz-col-right .viz-panel .viz-chart { min-height: 100px; }

/* 排行 */
.viz-rank-list {
  list-style: none;
  padding: 4px 8px;
}

.viz-rank-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 6px;
  border-bottom: 1px solid rgba(0, 150, 255, 0.12);
  font-size: 12px;
  animation: rankIn 0.6s ease backwards;
}

.viz-rank-list li:nth-child(1) { animation-delay: 0.1s; }
.viz-rank-list li:nth-child(2) { animation-delay: 0.2s; }
.viz-rank-list li:nth-child(3) { animation-delay: 0.3s; }
.viz-rank-list li:nth-child(4) { animation-delay: 0.4s; }
.viz-rank-list li:nth-child(5) { animation-delay: 0.5s; }

@keyframes rankIn {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: translateX(0); }
}

.viz-rank-num {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 11px;
  background: rgba(0, 100, 180, 0.5);
  color: #7ec8ff;
}

.viz-rank-list li:nth-child(1) .viz-rank-num {
  background: linear-gradient(135deg, #ffd666, #d48806);
  color: #1a1a1a;
}

.viz-rank-list li:nth-child(2) .viz-rank-num {
  background: linear-gradient(135deg, #d9d9d9, #8c8c8c);
  color: #1a1a1a;
}

.viz-rank-list li:nth-child(3) .viz-rank-num {
  background: linear-gradient(135deg, #ffbb96, #d4380d);
  color: #fff;
}

.viz-rank-name {
  flex: 1;
  color: #b8e0ff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.viz-rank-val {
  color: #00e5ff;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* 地图 */
.viz-center {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.viz-map-panel {
  flex: 1;
  position: relative;
}

.viz-map-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 200px;
  overflow: hidden;
}

.viz-map-floor {
  display: none;
}

.viz-map-chart {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 180px;
  z-index: 1;
  background: transparent !important;
}

.viz-map-error {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  padding: 8px 14px;
  font-size: 12px;
  color: #1677ff;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(22, 119, 255, 0.35);
  border-radius: 4px;
}

.viz-map-region {
  fill: rgba(0, 80, 160, 0.35);
  stroke: rgba(0, 200, 255, 0.6);
  stroke-width: 1.2;
  transition: fill 0.3s, filter 0.3s;
  cursor: pointer;
}

.viz-map-region:hover {
  fill: rgba(0, 120, 220, 0.5);
  filter: drop-shadow(0 0 8px rgba(0, 230, 255, 0.8));
}

.viz-map-label {
  font-size: 10px;
  fill: #7ec8ff;
  pointer-events: none;
}

.viz-map-label-sub {
  font-size: 8px;
  fill: rgba(126, 200, 255, 0.7);
}

.viz-heat-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  pointer-events: none;
}

.viz-heat-dot.high {
  background: radial-gradient(circle, #ffec3d 0%, #fa8c16 50%, transparent 70%);
  animation: heatPulse 2s ease-in-out infinite;
}

.viz-heat-dot.mid {
  background: radial-gradient(circle, #69c0ff 0%, #1890ff 50%, transparent 70%);
  animation: heatPulse 2.5s ease-in-out infinite 0.3s;
}

.viz-heat-dot.low {
  background: radial-gradient(circle, #95de64 0%, #52c41a 50%, transparent 70%);
  animation: heatPulse 3s ease-in-out infinite 0.6s;
}

@keyframes heatPulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.4); opacity: 1; }
}

.viz-map-top-legend,
.viz-map-heat-title,
.viz-map-legend,
.viz-map-legend-label,
.viz-map-summary {
  z-index: 3;
  pointer-events: none;
}

.viz-map-districts {
  position: absolute;
  left: 10px;
  top: 36px;
  z-index: 3;
  width: 118px;
  max-height: min(220px, calc(100% - 150px));
  margin: 0;
  padding: 6px 0;
  list-style: none;
  overflow: hidden auto;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(22, 119, 255, 0.28);
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(22, 119, 255, 0.08);
  pointer-events: auto;
}

.viz-district-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  font-size: 10px;
  border-bottom: 1px solid rgba(22, 119, 255, 0.08);
}

.viz-district-item:last-child {
  border-bottom: none;
}

.viz-district-item .name {
  color: #1a3a5c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.viz-district-item .val {
  color: #1677ff;
  font-weight: 600;
  flex-shrink: 0;
}

.viz-district-item .val::after {
  content: "家";
  font-weight: 400;
  font-size: 9px;
  color: #8c9eb0;
  margin-left: 1px;
}

.viz-map-top-legend {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 18px;
  font-size: 11px;
  color: #9fd4ff;
  padding: 4px 12px;
  background: rgba(0, 25, 55, 0.55);
  border: 1px solid rgba(0, 200, 255, 0.25);
  border-radius: 4px;
}

.viz-map-top-legend .pill {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 4px;
  vertical-align: middle;
  box-shadow: 0 0 8px currentColor;
}

.viz-map-top-legend .pill.high {
  background: #ffc53d;
  color: #ffc53d;
}

.viz-map-top-legend .pill.mid {
  background: #40a9ff;
  color: #40a9ff;
}

.viz-map-top-legend .pill.store {
  background: #52c41a;
  color: #52c41a;
}

.viz-map-heat-title {
  position: absolute;
  left: 136px;
  bottom: 132px;
  font-size: 10px;
  color: #7ec8ff;
}

.viz-map-legend {
  position: absolute;
  left: 12px;
  bottom: 48px;
  width: 14px;
  height: 80px;
  background: linear-gradient(180deg, #ff4d4f, #faad14, #52c41a, #1890ff);
  border-radius: 2px;
  border: 1px solid rgba(0, 200, 255, 0.3);
}

.viz-map-legend-label {
  position: absolute;
  left: 32px;
  font-size: 10px;
  color: #7ec8ff;
}

.viz-map-legend-label.high { bottom: 108px; }
.viz-map-legend-label.low { bottom: 48px; }

.viz-map-summary {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 10px 14px;
  min-width: 168px;
  background: rgba(0, 22, 48, 0.82);
  border: 1px solid rgba(0, 200, 255, 0.45);
  border-radius: 4px;
  font-size: 11px;
  color: #7ec8ff;
  box-shadow: 0 0 20px rgba(0, 120, 255, 0.15), inset 0 0 24px rgba(0, 80, 160, 0.12);
}

.viz-map-summary .row {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  align-items: center;
  gap: 6px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(0, 150, 255, 0.12);
}

.viz-map-summary .row:last-child {
  border-bottom: none;
}

.viz-map-summary .ico {
  font-size: 13px;
}

.viz-map-summary strong {
  color: #00e5ff;
  font-size: 13px;
  font-weight: 700;
}

/* 滚动动态 */
.viz-feed-wrap {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
}

.viz-feed-track {
  animation: feedScroll 28s linear infinite;
}

.viz-feed-track:hover {
  animation-play-state: paused;
}

@keyframes feedScroll {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.viz-feed-item {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(0, 150, 255, 0.1);
  font-size: 11px;
}

.viz-feed-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 4px;
  background: rgba(0, 100, 180, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.viz-feed-text {
  flex: 1;
  color: #b8e0ff;
  line-height: 1.5;
}

.viz-feed-time {
  flex-shrink: 0;
  color: rgba(126, 200, 255, 0.6);
  font-size: 10px;
}

/* 底部流程 */
.viz-flow {
  flex-shrink: 0;
  padding: 8px 20px 12px;
  border-top: 1px solid rgba(0, 180, 255, 0.2);
  background: linear-gradient(0deg, rgba(0, 40, 80, 0.4), transparent);
}

.viz-flow-title {
  text-align: center;
  font-size: 13px;
  color: #00e5ff;
  margin-bottom: 10px;
}

.viz-flow-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
}

.viz-flow-step {
  flex: 1;
  max-width: 140px;
  text-align: center;
  position: relative;
}

.viz-flow-hex {
  width: 56px;
  height: 56px;
  margin: 0 auto 6px;
  background: linear-gradient(135deg, rgba(0, 100, 200, 0.5), rgba(0, 50, 100, 0.8));
  border: 1px solid rgba(0, 200, 255, 0.5);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 0 16px rgba(0, 200, 255, 0.2);
  animation: stepGlow 2.5s ease-in-out infinite;
}

.viz-flow-step:nth-child(1) .viz-flow-hex { animation-delay: 0s; }
.viz-flow-step:nth-child(3) .viz-flow-hex { animation-delay: 0.4s; }
.viz-flow-step:nth-child(5) .viz-flow-hex { animation-delay: 0.8s; }
.viz-flow-step:nth-child(7) .viz-flow-hex { animation-delay: 1.2s; }
.viz-flow-step:nth-child(9) .viz-flow-hex { animation-delay: 1.6s; }
.viz-flow-step:nth-child(11) .viz-flow-hex { animation-delay: 2s; }

@keyframes stepGlow {
  0%, 100% { box-shadow: 0 0 12px rgba(0, 200, 255, 0.2); border-color: rgba(0, 200, 255, 0.4); }
  50% { box-shadow: 0 0 24px rgba(0, 230, 255, 0.5); border-color: rgba(0, 230, 255, 0.8); }
}

.viz-flow-step .name {
  font-size: 11px;
  color: #fff;
  font-weight: 600;
}

.viz-flow-step .desc {
  font-size: 9px;
  color: rgba(126, 200, 255, 0.7);
  margin-top: 2px;
}

.viz-flow-arrow {
  flex: 0 0 40px;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 200, 255, 0.2), rgba(0, 230, 255, 0.6), rgba(0, 200, 255, 0.2));
  position: relative;
  overflow: hidden;
}

.viz-flow-arrow::after {
  content: "";
  position: absolute;
  top: -3px;
  left: -20px;
  width: 20px;
  height: 8px;
  background: radial-gradient(circle, #00ffff, transparent);
  animation: flowLight 2s linear infinite;
}

@keyframes flowLight {
  0% { left: -20px; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

.viz-flow-slogan {
  text-align: center;
  margin-top: 8px;
  font-size: 11px;
  color: rgba(126, 200, 255, 0.55);
  letter-spacing: 4px;
}

@media (max-width: 1400px) {
  .viz-kpi-row {
    grid-template-columns: repeat(4, 1fr);
  }
  .viz-kpi-card .value {
    font-size: 16px;
  }
}

/* ========== 蓝白主题 ========== */
html:has(.viz-theme-bw),
html:has(.viz-theme-bw) body {
  background: #f0f6fc;
  color: #1a3a5c;
}

.viz-theme-bw .viz-bg {
  background: linear-gradient(165deg, #ffffff 0%, #e8f4ff 45%, #d6ebff 100%);
}

.viz-theme-bw .viz-bg-grid {
  background-image:
    linear-gradient(rgba(22, 119, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 119, 255, 0.06) 1px, transparent 1px);
  opacity: 0.5;
}

.viz-theme-bw .viz-bg-stars {
  opacity: 0.15;
}

.viz-theme-bw .viz-header {
  border-bottom-color: rgba(22, 119, 255, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(240, 246, 252, 0.6));
}

.viz-theme-bw .viz-logo-icon {
  background: linear-gradient(135deg, #69b1ff, #1677ff);
  box-shadow: 0 4px 12px rgba(22, 119, 255, 0.25);
}

.viz-theme-bw .viz-logo-text,
.viz-theme-bw .viz-logo-text--corp {
  color: #1a3a5c;
}

.viz-theme-bw .viz-title {
  background: linear-gradient(180deg, #0958d9 0%, #1677ff 55%, #4096ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

.viz-theme-bw .viz-subtitle {
  color: #5b7a9a;
}

.viz-theme-bw .viz-weather {
  color: #5b7a9a;
}

.viz-theme-bw .viz-weather .temp,
.viz-theme-bw .viz-weather .clock {
  color: #1677ff;
  text-shadow: none;
}

.viz-theme-bw .viz-kpi-card {
  background: linear-gradient(135deg, #ffffff, #f0f7ff);
  border-color: rgba(22, 119, 255, 0.28);
  box-shadow: 0 2px 8px rgba(22, 119, 255, 0.08);
}

.viz-theme-bw .viz-kpi-card::before {
  background: linear-gradient(90deg, transparent, #1677ff, transparent);
}

.viz-theme-bw .viz-kpi-card .label {
  color: #5b7a9a;
}

.viz-theme-bw .viz-kpi-card .value {
  color: #0958d9;
}

.viz-theme-bw .viz-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(240, 247, 255, 0.92));
  border-color: rgba(22, 119, 255, 0.28);
  box-shadow: 0 2px 12px rgba(22, 119, 255, 0.06);
}

.viz-theme-bw .viz-panel-head {
  color: #1677ff;
  border-bottom-color: rgba(22, 119, 255, 0.15);
}

.viz-theme-bw .viz-panel-head::before {
  background: linear-gradient(180deg, #4096ff, #1677ff);
}

.viz-theme-bw .viz-rank-name {
  color: #1a3a5c;
}

.viz-theme-bw .viz-rank-val {
  color: #1677ff;
}

.viz-theme-bw .viz-feed-text {
  color: #1a3a5c;
}

.viz-theme-bw .viz-feed-time {
  color: #8c9eb0;
}

.viz-theme-bw .viz-feed-icon {
  background: rgba(22, 119, 255, 0.12);
}

.viz-theme-bw .viz-map-top-legend {
  color: #5b7a9a;
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(22, 119, 255, 0.22);
}

.viz-theme-bw .viz-map-heat-title,
.viz-theme-bw .viz-map-legend-label {
  color: #5b7a9a;
}

.viz-theme-bw .viz-map-summary {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(22, 119, 255, 0.35);
  color: #5b7a9a;
  box-shadow: 0 4px 16px rgba(22, 119, 255, 0.1);
}

.viz-theme-bw .viz-map-summary strong {
  color: #1677ff;
}

.viz-theme-bw .viz-map-districts {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(22, 119, 255, 0.3);
}

.viz-theme-bw .viz-flow {
  border-top-color: rgba(22, 119, 255, 0.2);
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.9), transparent);
}

.viz-theme-bw .viz-flow-title {
  color: #1677ff;
}

.viz-theme-bw .viz-flow-hex {
  background: linear-gradient(135deg, #e6f4ff, #ffffff);
  border-color: rgba(22, 119, 255, 0.45);
  box-shadow: 0 2px 10px rgba(22, 119, 255, 0.12);
}

.viz-theme-bw .viz-flow-step .name {
  color: #1a3a5c;
}

.viz-theme-bw .viz-flow-step .desc {
  color: #5b7a9a;
}

.viz-theme-bw .viz-flow-arrow {
  background: linear-gradient(90deg, rgba(22, 119, 255, 0.15), rgba(22, 119, 255, 0.5), rgba(22, 119, 255, 0.15));
}

.viz-theme-bw .viz-flow-slogan {
  color: #8c9eb0;
}
