#screen-home .public-stats-widget {
  grid-column: 1 / -1;
  margin-top: 22px;
  padding: 8px 2px 2px;
}

#screen-home .public-stats-head {
  margin-bottom: 12px;
  text-align: center;
}

#screen-home .public-stats-title {
  margin: 0;
  color: #17212b;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.15;
}

#screen-home .public-stats-subtitle {
  margin: 5px 0 0;
  color: #607080;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

#screen-home .public-stats-totals {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 34px;
  margin-top: 13px;
}

#screen-home .public-stats-total {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  text-align: center;
}

#screen-home .public-stats-total-label {
  color: #17212b;
  font-size: 27px;
  font-weight: 900;
  line-height: 1;
}

#screen-home .public-stats-total-value {
  color: #16a34a;
  font-size: 32px;
  font-weight: 900;
  line-height: 0.95;
}

#screen-home .public-stats-total:nth-child(2) .public-stats-total-value {
  color: var(--primary, #4f46e5);
}

#screen-home .public-stats-chart {
  width: 100%;
  overflow-x: auto;
  padding: 2px 0 38px;
}

#screen-home .public-stats-chart-inner {
  width: 100%;
  min-width: 360px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  column-gap: 7px;
}

#screen-home .public-stats-y-axis {
  position: relative;
  height: 168px;
  border-right: 1px solid rgba(96, 112, 128, 0.45);
}

#screen-home .public-stats-y-axis span {
  position: absolute;
  right: 7px;
  color: #607080;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
}

#screen-home .public-stats-plot {
  position: relative;
  height: 168px;
  border-bottom: 1px solid rgba(96, 112, 128, 0.45);
}

#screen-home .public-stats-gridline {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(96, 112, 128, 0.12);
  pointer-events: none;
}

#screen-home .public-stats-x-axis {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(23, 33, 43, 0.32);
  pointer-events: none;
}

#screen-home .public-stats-bars {
  position: absolute;
  inset: 0 0 0 0;
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  align-items: end;
  gap: 3px;
}

#screen-home .public-stats-bar-item {
  position: relative;
  z-index: 1;
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

#screen-home .public-stats-bar-fill {
  width: 100%;
  min-height: 4px;
  border-radius: 2px 2px 0 0;
  background: var(--public-stat-color, #00baff);
  transition: height 320ms ease;
}

#screen-home .public-stats-label {
  position: absolute;
  top: calc(100% + 7px);
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 100%;
  color: #607080;
  font-size: 8.5px;
  font-weight: 900;
  line-height: 1.08;
  text-align: center;
  overflow-wrap: anywhere;
}

@media (max-width: 380px) {
  #screen-home .public-stats-widget {
    margin-top: 20px;
    padding-top: 6px;
  }

  #screen-home .public-stats-title {
    font-size: 18px;
  }

  #screen-home .public-stats-totals {
    gap: 22px;
  }

  #screen-home .public-stats-total {
    gap: 5px;
  }

  #screen-home .public-stats-total-value {
    font-size: 29px;
  }

  #screen-home .public-stats-total-label {
    font-size: 24px;
  }

  #screen-home .public-stats-chart-inner {
    min-width: 430px;
  }

  #screen-home .public-stats-bars {
    gap: 2px;
  }
}
