.astats-widget {
  --astats-accent: #c7ff19;
  width: 100%;
}

.astats-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  width: 100%;
}

.astats-card {
  --astats-visual-gap: 14px;
  position: relative;
  display: flex;
  min-width: 0;
  color: #fff;
}

.astats-card::before,
.astats-card::after {
  border-radius: inherit;
}

.astats-card--visual-top {
  flex-direction: column;
  align-items: inherit;
  gap: var(--astats-visual-gap);
}

.astats-card--visual-left {
  flex-direction: row;
  align-items: flex-start;
  gap: var(--astats-visual-gap);
}

.astats-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  gap: 10px;
}

.astats-headline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  min-width: 0;
  margin: 0;
  row-gap: 0;
  column-gap: 10px;
  overflow-wrap: normal;
  word-break: normal;
}

.astats-card--stacked .astats-headline {
  flex-direction: column;
  align-items: inherit;
}

.astats-card--stacked .astats-number-group {
  display: block;
}

.astats-number-group {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: baseline;
  color: var(--astats-accent);
  white-space: nowrap;
  font-size: var(--m-size-heading-20-48px, clamp(2rem, 3.35vw, 3rem));
  font-weight: 700;
  line-height: 1;
}

.astats-headline__text {
  min-width: 0;
  color: var(--astats-accent);
  white-space: pre-line;
  font-size: var(--m-size-heading-20-48px, clamp(1.75rem, 3.1vw, 3rem));
  font-weight: 700;
  line-height: 1.05;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.astats-label,
.astats-description,
.astats-source {
  margin: 0;
}

.astats-label {
  color: #fff;
  font-size: var(--n-size-text-16-18px, 1rem);
  font-weight: 700;
  line-height: 1.3;
}

.astats-description {
  color: #fff;
  font-size: var(--n-size-text-16-18px, 1rem);
  line-height: 1.45;
}

.astats-source {
  color: rgba(255, 255, 255, 0.62);
  font-size: var(--xs-size-text-10-12px, 0.75rem);
  font-style: italic;
  line-height: 1.4;
}

.astats-visual {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--astats-accent);
  font-size: 42px;
  line-height: 1;
}

.astats-visual i,
.astats-visual svg,
.astats-visual img {
  display: block;
  width: 100%;
  height: 100%;
}

.astats-visual svg,
.astats-visual img {
  object-fit: contain;
}

.astats-visual svg {
  fill: currentColor;
}

.astats-progress {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.astats-progress__fill {
  display: block;
  width: var(--astats-progress);
  height: 100%;
  background: var(--astats-accent);
  border-radius: inherit;
  transform-origin: left center;
}

.astats-radial {
  position: relative;
  display: grid;
  place-items: center;
  width: 180px;
  height: 180px;
  max-width: 100%;
  margin-inline: auto;
}

.astats-radial__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform: rotate(-90deg);
}

.astats-radial__circle {
  fill: none;
  stroke-width: 8;
}

.astats-radial__track {
  stroke: rgba(255, 255, 255, 0.16);
}

.astats-radial__value {
  stroke: var(--astats-accent);
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: calc(100 - var(--astats-progress));
}

.astats-radial__content {
  position: relative;
  z-index: 1;
  width: 74%;
  text-align: center;
}

.astats-radial__content .astats-number-group {
  justify-content: center;
}

.astats-radial-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  min-width: 0;
  column-gap: 10px;
  text-align: inherit;
}

.astats-widget[data-astats-animate="1"]:not(.is-animated) .astats-progress__fill {
  transform: scaleX(0);
}

.astats-widget[data-astats-animate="1"]:not(.is-animated) .astats-radial__value {
  stroke-dashoffset: 100;
}

.astats-progress__fill,
.astats-radial__value {
  transition-property: transform, stroke-dashoffset;
  transition-duration: var(--astats-duration, 1400ms);
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  .astats-progress__fill,
  .astats-radial__value {
    transition: none !important;
  }
}
