/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
/* Do not use this */
/* Use this */
go-badge {
  --badge-font-size: var(--go-size--1);
  --badge-size: 2em;
  --badge-bg-color: var(--go-color-critical-600);
  --badge-fg-color: var(--go-color-lightest);
  --badge-dot-size: 0.75rem;
  position: relative;
  display: inline-block;
}
go-badge .badge-count {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(50%, -50%);
  font-size: var(--badge-font-size);
  font-variant-numeric: tabular-nums;
  text-align: center;
  min-width: var(--badge-size);
  min-height: var(--badge-size);
  padding: 0 0.5rem;
  height: var(--badge-size);
  border-radius: var(--radius-round);
  color: var(--badge-fg-color);
  background-color: var(--badge-bg-color);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
go-badge .badge-count.dot-only {
  min-width: var(--badge-dot-size);
  min-height: var(--badge-dot-size);
  font-size: 0;
  padding: 0;
}