/* chart.css — dev A: Radar + Achsen-Balken. Stage-Starter-CI (dunkel, Gold). */

/* --- Radar --- */
.pe-radar {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}
.pe-radar-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.pe-radar-ring {
  fill: none;
  stroke: var(--line-gold);
  stroke-width: 1;
}
.pe-radar-ring--outer {
  stroke: rgba(211, 181, 69, .4);
}
.pe-radar-spoke {
  stroke: var(--line-gold);
  stroke-width: 1;
}
.pe-radar-area {
  fill: rgba(249, 197, 0, .22);
  stroke: var(--gold-bright);
  stroke-width: 2;
  stroke-linejoin: round;
}
.pe-radar-dot {
  fill: var(--gold-bright);
  stroke: var(--bg);
  stroke-width: 1.5;
}
.pe-radar-label-name {
  fill: #f4f4f6;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
}
.pe-radar-dot--primary {
  fill: var(--gold);
  stroke: var(--gold-bright);
  stroke-width: 2;
}
.pe-radar-label-name--primary {
  fill: var(--gold-bright);
  font-weight: 700;
}
.pe-radar-label-score {
  fill: var(--gold-bright);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
}

/* --- Balken --- */
.pe-bars {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.pe-bar-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pe-bar-axis {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(244, 244, 246, .55);
}
.pe-bar-line {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pe-bar-pole {
  flex: 0 1 88px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.15;
  opacity: .62;
  transition: opacity .2s ease;
}
.pe-bar-pole.is-winning {
  opacity: 1;
}
.pe-bar-pole--left {
  align-items: flex-end;
  text-align: right;
}
.pe-bar-pole--right {
  align-items: flex-start;
  text-align: left;
}
.pe-bar-letter {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--gold-bright);
}
.pe-bar-pole:not(.is-winning) .pe-bar-letter {
  color: #f4f4f6;
}
.pe-bar-name {
  font-family: var(--sans);
  font-size: 10.5px;
  color: rgba(244, 244, 246, .7);
}
.pe-bar-track-svg {
  flex: 1 1 auto;
  min-width: 0;
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.pe-bar-track {
  fill: rgba(244, 244, 246, .06);
  stroke: var(--line-gold);
  stroke-width: 1;
}
.pe-bar-center-tick {
  stroke: var(--line-gold);
  stroke-width: 1;
}
.pe-bar-fill {
  fill: rgba(249, 197, 0, .3);
}
.pe-bar-marker {
  fill: var(--gold-bright);
  stroke: var(--bg);
  stroke-width: 1.5;
}
.pe-bar-marker-letter {
  fill: var(--ink);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  dominant-baseline: central;
}
.pe-bar-score {
  fill: var(--gold-bright);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
}

@media (max-width: 420px) {
  .pe-bar-pole {
    flex-basis: 66px;
  }
  .pe-bar-name {
    font-size: 9.5px;
  }
}
