/* Scatter plots comparing the player against the league */

.scatter-charts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: 100%;
    margin: 0.5rem 0 0;
}

.scatter-chart {
    position: relative;
    width: 20rem;
    max-width: 100%;
}

.scatter-chart svg {
    display: block;
    width: 100%;
    height: auto;
    touch-action: manipulation;
}

.scatter-axis {
    stroke: #333;
    stroke-width: 1px;
}

.scatter-tick-label {
    font-size: 0.7rem;
    fill: #666;
}

.scatter-axis-title {
    font-size: 0.8rem;
    font-weight: bold;
    fill: #333;
}

.scatter-point-viewed {
    stroke: #fff;
    stroke-width: 1.5px;
}

.scatter-highlight {
    fill: none;
    stroke: #333;
    stroke-width: 1.5px;
    pointer-events: none;
}

.scatter-tooltip {
    position: absolute;
    z-index: 10;
    padding: 0.4rem 0.6rem;
    font-size: 0.85rem;
    white-space: nowrap;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.15);
    pointer-events: none;
}

/* Unsortable stat comparison table */

.static-table th {
    cursor: default;
}

.static-table th:hover {
    background-color: #57c;
}

.static-table-container {
    margin: 1.5rem 0 0.5rem;
}

td.row-label {
    text-align: left;
    font-weight: bold;
    color: #333;
    white-space: nowrap;
    padding: 0.75rem 1.5rem 0.75rem 1rem;
}

.value-row td {
    border-bottom: none;
}

.rank-row td {
    padding-top: 0.25rem;
    font-size: 0.85rem;
    color: #666;
}

.rank-row td.row-label {
    font-weight: normal;
    color: #666;
}

.stats-footnote {
    max-width: 50rem;
    margin: 0.5rem 0 1rem;
    text-align: center;
    font-size: 0.85rem;
    color: #666;
}

.empty-section {
    padding: 2rem;
    text-align: center;
    color: #6c757d;
}

/* Gamelogs */

.gamelog-table td.text-cell {
    white-space: nowrap;
    padding: 0.75rem 0.75rem;
}

.gamelog-table td.week-cell {
    text-align: left;
}

.gamelog-table a {
    color: #07b;
    text-decoration: none;
    font-weight: normal;
}

.gamelog-table a:hover {
    text-decoration: underline;
}

.gamelog-table.chronological tr.new-match td {
    border-top: 3px solid #999;
}
