.dechefrIdeologyViz {
  width: 100%;
  max-width: 920px;
}

.dechefrIdeologyViz__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  /* background: #2a2a2a; */
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.dechefrIdeologyViz__legend {
  display: flex;
  gap: 12px;
  justify-content: center;
  padding-top: 16px;
  flex-wrap: wrap;
}

.dechefrLegendPill {
  font: 600 13px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.88);
  text-transform: lowercase;
}

/* ---------- Rings ---------- */
.rings {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.ring {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

/* Outer thick ring */
.ring-outer {
  width: 86%;
  height: 86%;
  border: 28px solid #4a4a4a;
}

/* Inner thin rings */
.ring-4 {
  width: 78%;
  height: 78%;
  border: 2px solid #2f2f2f;
}
.ring-3 {
  width: 70%;
  height: 70%;
  border: 2px solid #2f2f2f;
}
.ring-2 {
  width: 62%;
  height: 62%;
  border: 2px solid #2f2f2f;
}
.ring-1 {
  width: 54%;
  height: 54%;
  border: 2px solid #2f2f2f;
}

/* Red ring (as in screenshot) */
.ring-danger {
  width: 42%;
  height: 42%;
  border: 22px solid #e12a3a; /* solid red ring as shown */
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.35) inset;
}

/* Hole in the middle */
.ring-hole {
  width: 26%;
  height: 26%;
  /* background: #2a2a2a; */
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.45);
}

/* ---------- Dots ---------- */
.dots {
  position: absolute;
  inset: 0;
}

.dechefrDot {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background: var(--dotSolid);
  border: 3px solid var(--dotBorder);
  box-shadow: 0 0 0 5px rgba(0, 0, 0, 0.28),
    0 0 18px color-mix(in srgb, var(--dotGlow) 60%, transparent),
    0 0 40px color-mix(in srgb, var(--dotGlow) 30%, transparent);
  cursor: default;
}

/* ---------- Tooltip ---------- */
.dechefrTooltip {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  transform: translate(-9999px, -9999px);
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
  display: inline-flex;
  gap: 10px;
  align-items: baseline;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  font: 600 13px/1.1 system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  z-index: 10;
}

.dechefrTooltip .tipLabel {
  text-transform: lowercase;
  letter-spacing: 0.01em;
  opacity: 0.9;
}

.dechefrTooltip .tipScore {
  font-variant-numeric: tabular-nums;
  opacity: 0.95;
}
