:root {
    --mini-scoreboard-background-opacity: 0.5;
    --mini-scoreboard-background-color: 0, 0, 0;
    --mini-scoreboard-size: 1;
}

.scoreboard-play {
    display: inline-block;
    transform-origin: top left;
    transform: scale(var(--mini-scoreboard-size));
}

.scoreboard-play .home {
    color: white;
}

.scoreboard-play .guest {
    color: #FFFF00;
}

.scoreboard-play table.score {
    table-layout: fixed;
    border-spacing: 1px;
    border-collapse: separate;
}

.scoreboard-play table.score th {
    color: #d4c6b2;
    font-weight: normal;
}

.scoreboard-play table.score .triangle {
    width: 1.3em;
}

.scoreboard-play table.score .name {
    min-width: 10em;
}

.scoreboard-play table.score .avgPoints {
    width: 3em;
}

.scoreboard-play table.score .points,
.scoreboard-play table.score .inning,
.scoreboard-play table.score .maxPoints,
.scoreboard-play table.score .curPoints {
    width: 2em;
}

.scoreboard-play table.score .timeouts {
    width: 1em;
}

.scoreboard-play table.score th.triangle,
.scoreboard-play table.score th.name {
    background-color: rgba(var(--mini-scoreboard-background-color), 0);
}

.scoreboard-play table.score td.name {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.scoreboard-play table.score th,
.scoreboard-play table.score td {
    background-color: rgba(var(--mini-scoreboard-background-color), var(--mini-scoreboard-background-opacity));
    padding: 0 4px;
    text-align: left;
}

.scoreboard-play table.score th.number,
.scoreboard-play table.score td.number {
    text-align: right;
}

.scoreboard-play table.score td.timeouts {
    color: red;
}

.scoreboard-play table.score td.triangle {
    color: red;
}

/* timeout */
.scoreboard-play .footer {
    margin-left: 1px;
    line-height: 22px;
    text-align: right;
    background-color: #4d4d4d;
    width: calc(100% - 3px);
}

.scoreboard-play .timeout-progress-container {
    width: calc(100% - 4px);
}

.scoreboard-play .timeout-progress-container > span.timeout-progress-value {
    width: 30px;
    padding: 0;
    float: left;
}

.scoreboard-play .timeout-progress-container > div.timeout-progress-status {
    color: white;
}
