.pu-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  gap: 20px;
}

.pu-counter-wrapper {
  text-align: center;
  margin-bottom: 10px;
}

.pu-label {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pu-count {
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  color: var(--ios-blue);
  margin: 10px 0;
}

.pu-card {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1 / 1.3;
  background-color: var(--bg-secondary);
  border-radius: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px var(--shadow);
  cursor: pointer;
  transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.pu-card:active {
  transform: scale(0.92);
}

.pu-card span {
  font-size: 70px;
}

.pu-card p {
  margin-top: 15px;
  font-weight: 700;
  color: var(--text-secondary);
}

.pu-actions {
  margin-top: 20px;
  width: 100%;
  max-width: 280px;
}

.pu-reset-btn {
  width: 100%;
  padding: 14px;
  background: var(--fill-bg);
  color: var(--ios-red);
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
}

.pu-chart-container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 200px;
  position: relative;
  padding: 20px 10px;
  gap: 10px;
  background: var(--fill-bg);
  border-radius: 16px;
  margin-top: 10px;
}

.pu-chart-bar-wrapper {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.pu-chart-bar {
  width: 100%;
  background-color: var(--ios-blue);
  border-radius: 6px 6px 2px 2px;
  min-height: 4px;
  transition: height 0.3s ease;
  opacity: 0.7;
}

.pu-chart-bar.today {
  opacity: 1;
}

.pu-chart-label, .pu-chart-bar-value {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-secondary);
}

.pu-avg-line {
  position: absolute;
  left: 10px;
  right: 10px;
  border-top: 1px dashed var(--ios-red);
  z-index: 5;
  pointer-events: none;
}

.pu-avg-header {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.back-button {
  display: flex;
  align-items: center;
  background: none;
  border: none;
  color: var(--ios-blue);
  padding: 0;
  margin-right: 8px;
  cursor: pointer;
  font-size: 17px;
  font-family: inherit;
  transition: opacity 0.2s;
}

.back-button:active {
  opacity: 0.3;
}