/* Pool ball lives — smart-TV safe (no CSS variables) */

.pool-balls {
    display: inline-block;
    white-space: nowrap;
    line-height: 1;
    vertical-align: middle;
}

.pool-ball {
    display: inline-block;
    border-radius: 50%;
    margin: 0 4px;
    vertical-align: middle;
    position: relative;
    box-shadow: inset -4px -4px 8px rgba(0, 0, 0, 0.35), 2px 3px 6px rgba(0, 0, 0, 0.45);
}

.pool-balls-lg .pool-ball {
    width: 64px;
    height: 64px;
    margin: 0 10px;
}

.pool-balls-md .pool-ball {
    width: 36px;
    height: 36px;
    margin: 0 5px;
}

.pool-balls-sm .pool-ball {
    width: 22px;
    height: 22px;
    margin: 0 3px;
}

.pool-balls-xs .pool-ball {
    width: 16px;
    height: 16px;
    margin: 0 2px;
}

.pool-ball-red {
    background: #d42027;
    background: -webkit-linear-gradient(top left, #ff5a5f, #a10f14);
    background: linear-gradient(to bottom right, #ff5a5f, #a10f14);
}

.pool-ball-yellow {
    background: #f7d117;
    background: -webkit-linear-gradient(top left, #fff06a, #c9a000);
    background: linear-gradient(to bottom right, #fff06a, #c9a000);
}

.pool-ball-green {
    background: #1b8f3a;
    background: -webkit-linear-gradient(top left, #3ecf5c, #0d5a22);
    background: linear-gradient(to bottom right, #3ecf5c, #0d5a22);
}

.pool-ball-eight {
    background: #1a1a1a;
    background: -webkit-linear-gradient(top left, #444, #000);
    background: linear-gradient(to bottom right, #444, #000);
}

.pool-ball-num {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    color: #fff;
    font-weight: 800;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1;
}

.pool-balls-lg .pool-ball-num {
    font-size: 28px;
}

.pool-balls-md .pool-ball-num {
    font-size: 16px;
}

.pool-balls-sm .pool-ball-num {
    font-size: 11px;
}

.pool-balls-xs .pool-ball-num {
    font-size: 9px;
}

.player-lives .pool-balls {
    margin-top: 8px;
}

.banner-lives .pool-balls {
    margin-top: 8px;
}

.player-row .pool-balls,
.scoreboard .pool-balls {
    vertical-align: middle;
}
