.fieberkurve-intro {
    max-width: 70ch;
}

.fieberkurve-chart {
    --fieberkurve-chart-base-height: 34rem;
    --fieberkurve-chart-legend-extra-height: 0px;
    width: 100%;
    min-width: 0;
    height: calc(var(--fieberkurve-chart-base-height) + var(--fieberkurve-chart-legend-extra-height));
}

.fieberkurve-chart-status:not(:empty) {
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    border: 1px solid color-mix(in oklab, var(--accent-color), white 72%);
    border-radius: 0.5rem;
    background: color-mix(in oklab, var(--accent-color), white 96%);
}

.fieberkurve-chart-status--error {
    border-color: color-mix(in oklab, var(--bs-danger), white 55%);
    background: color-mix(in oklab, var(--bs-danger), white 96%);
    color: var(--bs-danger-text-emphasis);
}

.fieberkurve-tooltip {
    max-width: 33rem;
}

.fieberkurve-tooltip-list {
    margin-top: 0.5rem;
}

.fieberkurve-tooltip-row {
    display: grid;
    grid-template-columns: 1rem minmax(0, 1fr) max-content;
    align-items: center;
    column-gap: 0.5rem;
    padding: 0.1rem 0;
    border-top: 1px solid #f0f1f3;
    white-space: nowrap;
}

.fieberkurve-tooltip-team {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fieberkurve-tooltip-marker {
    display: block;
    width: 0.9rem;
    height: 0.9rem;
    justify-self: center;
    overflow: visible;
}

.fieberkurve-tooltip-rank {
    font-variant-numeric: tabular-nums;
}

@media (max-width: 767.98px) {
    .fieberkurve-chart {
        --fieberkurve-chart-base-height: 28rem;
    }
}
