[data-wd-demo="badge-vibration-display"] .bv-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

[data-wd-demo="badge-vibration-display"] .bv-stage {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 0 auto;
}

[data-wd-demo="badge-vibration-display"] .bv-hex {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 46%, #1d4a3c 0 58px, transparent 59px),
    linear-gradient(160deg, #1e4d3d, #10241c 70%);
  clip-path: polygon(50% 2%, 96% 26%, 96% 74%, 50% 98%, 4% 74%, 4% 26%);
  box-shadow: inset 0 0 0 2px #2f6a54;
}

[data-wd-demo="badge-vibration-display"] .bv-leds {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

[data-wd-demo="badge-vibration-display"] .bv-leds i {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #163528;
  box-shadow: inset 0 0 0 1px #2a4a38;
  transform: translate(-50%, -50%);
}

[data-wd-demo="badge-vibration-display"] .bv-leds i:nth-child(1) { left: 50%; top: 14%; }
[data-wd-demo="badge-vibration-display"] .bv-leds i:nth-child(2) { left: 68%; top: 19%; }
[data-wd-demo="badge-vibration-display"] .bv-leds i:nth-child(3) { left: 81%; top: 32%; }
[data-wd-demo="badge-vibration-display"] .bv-leds i:nth-child(4) { left: 86%; top: 50%; }
[data-wd-demo="badge-vibration-display"] .bv-leds i:nth-child(5) { left: 81%; top: 68%; }
[data-wd-demo="badge-vibration-display"] .bv-leds i:nth-child(6) { left: 68%; top: 81%; }
[data-wd-demo="badge-vibration-display"] .bv-leds i:nth-child(7) { left: 50%; top: 86%; }
[data-wd-demo="badge-vibration-display"] .bv-leds i:nth-child(8) { left: 32%; top: 81%; }
[data-wd-demo="badge-vibration-display"] .bv-leds i:nth-child(9) { left: 19%; top: 68%; }
[data-wd-demo="badge-vibration-display"] .bv-leds i:nth-child(10) { left: 14%; top: 50%; }
[data-wd-demo="badge-vibration-display"] .bv-leds i:nth-child(11) { left: 19%; top: 32%; }
[data-wd-demo="badge-vibration-display"] .bv-leds i:nth-child(12) { left: 32%; top: 19%; }

[data-wd-demo="badge-vibration-display"] .bv-stage.is-lo .bv-leds i {
  background: #3ddc84;
  box-shadow: 0 0 8px #3ddc84;
}

[data-wd-demo="badge-vibration-display"] .bv-stage.is-mid .bv-leds i {
  background: #ffc107;
  box-shadow: 0 0 8px #ffc107;
}

[data-wd-demo="badge-vibration-display"] .bv-stage.is-hi .bv-leds i {
  background: #ff5a5a;
  box-shadow: 0 0 10px #ff5a5a;
}

[data-wd-demo="badge-vibration-display"] .bv-leds i:nth-child(3n) {
  opacity: 0.55;
}

[data-wd-demo="badge-vibration-display"] .bv-screen {
  position: absolute;
  left: 50%;
  top: 47%;
  width: 168px;
  height: 168px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #102033, #05080c 72%);
  border: 7px solid #0c0e10;
  box-shadow: 0 0 0 2px #3a3a3a, inset 0 0 18px rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 16px 12px 12px;
}

[data-wd-demo="badge-vibration-display"] .bv-kicker {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #9dccb0;
}

[data-wd-demo="badge-vibration-display"] .bv-axis {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
}

[data-wd-demo="badge-vibration-display"] .bv-plot {
  width: 142px;
  height: 52px;
  margin: 2px 0;
}

[data-wd-demo="badge-vibration-display"] .bv-grid {
  fill: none;
  stroke: #163028;
  stroke-width: 1;
}

[data-wd-demo="badge-vibration-display"] .bv-mag {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

[data-wd-demo="badge-vibration-display"] .bv-r {
  font-size: 13px;
  margin-right: 1px;
  opacity: 0.8;
}

[data-wd-demo="badge-vibration-display"] .bv-mag.is-lo,
[data-wd-demo="badge-vibration-display"] .bv-scale-key .is-lo { color: #4ade80; }

[data-wd-demo="badge-vibration-display"] .bv-mag.is-mid,
[data-wd-demo="badge-vibration-display"] .bv-scale-key .is-mid { color: #ffd666; }

[data-wd-demo="badge-vibration-display"] .bv-mag.is-hi,
[data-wd-demo="badge-vibration-display"] .bv-scale-key .is-hi { color: #ff6b7a; }

[data-wd-demo="badge-vibration-display"] .bv-meta {
  margin: 2px 0 0;
  font-size: 9px;
  color: #8f979e;
  font-variant-numeric: tabular-nums;
}

[data-wd-demo="badge-vibration-display"] .bv-credits {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #071018;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 24px;
  font-size: 12px;
}

[data-wd-demo="badge-vibration-display"] .bv-credits p {
  margin: 0;
}

[data-wd-demo="badge-vibration-display"] .bv-mode.is-on {
  background: #16324a;
  border-color: #6ea8fe;
  color: #d7e6ff;
}

[data-wd-demo="badge-vibration-display"] .bv-slider {
  width: 100%;
  accent-color: #0d6efd;
}

[data-wd-demo="badge-vibration-display"] .bv-scale-key {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
}

[data-wd-demo="badge-vibration-display"] .bv-event {
  display: flex;
  align-items: center;
  gap: 14px;
}

[data-wd-demo="badge-vibration-display"] .bv-lamp {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #2a3036;
  box-shadow: inset 0 0 0 1px #3a4248;
  flex: none;
}

[data-wd-demo="badge-vibration-display"] .bv-lamp.is-on {
  background: #3ddc84;
  box-shadow: 0 0 14px #3ddc84;
}

[data-wd-demo="badge-vibration-display"] .bv-lamp.is-hot {
  background: #ff5a5a;
  box-shadow: 0 0 14px #ff5a5a;
}

[data-wd-demo="badge-vibration-display"] .bv-event-value {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

[data-wd-demo="badge-vibration-display"] .bv-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 140px;
  padding: 8px;
  background: #0c1014;
  border-radius: 8px;
}

[data-wd-demo="badge-vibration-display"] .bv-bars i {
  flex: 1;
  display: block;
  height: 40%;
  border-radius: 3px 3px 0 0;
  background: #3d8bfd;
}

[data-wd-demo="badge-vibration-display"] .bv-bars i:nth-child(1) { height: 22%; background: #2f6fe0; }
[data-wd-demo="badge-vibration-display"] .bv-bars i:nth-child(2) { height: 36%; background: #1f8fe0; }
[data-wd-demo="badge-vibration-display"] .bv-bars i:nth-child(3) { height: 48%; background: #14a0c8; }
[data-wd-demo="badge-vibration-display"] .bv-bars i:nth-child(4) { height: 62%; background: #12b0a0; }
[data-wd-demo="badge-vibration-display"] .bv-bars i:nth-child(5) { height: 78%; background: #3dcc78; }
[data-wd-demo="badge-vibration-display"] .bv-bars i:nth-child(6) { height: 90%; background: #8fd63a; }
[data-wd-demo="badge-vibration-display"] .bv-bars i:nth-child(7) { height: 100%; background: #e2c300; }
[data-wd-demo="badge-vibration-display"] .bv-bars i:nth-child(8) { height: 70%; background: #f0a202; }
[data-wd-demo="badge-vibration-display"] .bv-bars i:nth-child(9) { height: 54%; background: #f07818; }
[data-wd-demo="badge-vibration-display"] .bv-bars i:nth-child(10) { height: 40%; background: #e85d2a; }
[data-wd-demo="badge-vibration-display"] .bv-bars i:nth-child(11) { height: 33%; background: #e04a3a; }
[data-wd-demo="badge-vibration-display"] .bv-bars i:nth-child(12) { height: 28%; background: #d43b48; }
[data-wd-demo="badge-vibration-display"] .bv-bars i:nth-child(13) { height: 24%; background: #c42e55; }
[data-wd-demo="badge-vibration-display"] .bv-bars i:nth-child(14) { height: 18%; background: #b42662; }
[data-wd-demo="badge-vibration-display"] .bv-bars i:nth-child(15) { height: 14%; background: #a31f6e; }
[data-wd-demo="badge-vibration-display"] .bv-bars i:nth-child(16) { height: 10%; background: #8f1878; }
