.rating-summary {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.headline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.average {
  font-size: var(--font-size-4xl, 2rem);
  color: var(--text-primary);
}

.total {
  color: var(--text-secondary);
  font-weight: var(--font-weight-semibold, 600);
}

.distribution {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.distribution-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 10px;
  align-items: center;
  font-size: 0.88rem;
}

.distribution-row progress {
  width: 100%;
  height: 8px;
  border-radius: var(--radius-full, 999px);
  overflow: hidden;
}

.distribution-row progress::-webkit-progress-bar {
  background: var(--bg-tertiary);
}

.distribution-row progress::-webkit-progress-value {
  background: var(--primary-color);
}

.rating-skeleton {
  display: grid;
  gap: 8px;
}

.line {
  height: 12px;
  border-radius: var(--radius-full, 999px);
  background: linear-gradient(90deg, #edf1f1 25%, #e2ebea 50%, #edf1f1 75%);
  background-size: 200% 100%;
  animation: shimmer 1.2s linear infinite;
}

.w40 { width: 40%; }
.w60 { width: 60%; }
.w100 { width: 100%; }

@keyframes shimmer {
  to { background-position: -200% 0; }
}
