.judgeChart {
  max-width: 800px;
  margin: 0 auto 40px;
  padding: 0 16px;
  box-sizing: border-box;
}

.judgeChart-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
  padding-bottom: 8px;
}

.judgeChart-title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: rgb(113, 179, 116);
}

.judgeChart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 13px;
  color: #444;
}

.judgeChart-legendItem {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

/* series keys (legend + tooltip) */
.judgeChart-key {
  display: inline-block;
  flex: none;
  background: var(--c);
}

.judgeChart-key--box {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

.judgeChart-key--line {
  width: 14px;
  height: 2px;
  border-radius: 1px;
}

.judgeChart-key--tick {
  width: 14px;
  height: 2px;
}

.judgeChart-plot {
  position: relative;
  width: 100%;
}

.judgeChart-svg {
  display: block;
  overflow: visible;
}

.judgeChart-tick {
  font-size: 11px;
  fill: #666;
  font-variant-numeric: tabular-nums;
}

.judgeChart-tick--selected {
  font-weight: 700;
  fill: #222;
}

.judgeChart-hit {
  fill: transparent;
  cursor: pointer;
  outline: none;
}

.judgeChart-hit:focus-visible {
  stroke: rgb(113, 179, 116);
  stroke-width: 1;
}

.judgeChart-bar {
  transition: opacity 0.15s;
}

.judgeChart-bar.is-faded,
.judgeChart-svg circle.is-faded {
  opacity: 0.4;
}

/* zvýraznění série po najetí na legendu */
.judgeChart-legendItem--interactive {
  cursor: pointer;
}

.judgeChart-legendItem.is-dimmed {
  opacity: 0.4;
}

.judgeChart-svg [data-series] {
  transition: opacity 0.15s;
}

.judgeChart-svg [data-series].is-dimmed {
  opacity: 0.12;
}

.judgeChart-bar.is-hover {
  opacity: 1;
}

.judgeChart-hit--static {
  cursor: default;
}

.judgeChart-seasonBar {
  fill: #85c988;
  transition: fill 0.15s;
}

.judgeChart-seasonBar.is-hover {
  fill: rgb(113, 179, 116);
}

.judgeChart-tipLine {
  font-variant-numeric: tabular-nums;
}

.judgeChart-selBand {
  fill: #85c988;
  opacity: 0.2;
}

.judgeChart-cross {
  stroke: #999;
  stroke-width: 1;
  pointer-events: none;
}

.judgeChart-tip {
  position: absolute;
  z-index: 5;
  pointer-events: none;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  padding: 6px 9px;
  font-size: 12px;
  line-height: 1.5;
  color: #333;
  white-space: nowrap;
}

.judgeChart-tip[hidden] {
  display: none;
}

.judgeChart-tipYear {
  font-weight: 700;
  font-size: 13px;
}

.judgeChart-tipRow {
  display: flex;
  align-items: center;
  gap: 5px;
}

.judgeChart-tipRow strong {
  font-variant-numeric: tabular-nums;
}

.judgeChart-tipStarts {
  color: #777;
  margin-top: 2px;
}

.judgeChart-empty {
  color: #888;
  font-size: 13px;
  padding: 10px 0;
}
