/* ScoreProb volleyball v1 (21 Nov 2026): volleyball's own pieces on top of sp-basketball.css and sp-hockey.css.
   Volleyball pages carry the body classes "sport-bb sport-hk sport-vb": football's colours (home blue, away amber,
   totals green). No draws, so the bars are two-way; the sets score bar shades each side by how one-sided it is. */
.bb-hero svg.vb-court { opacity: .10; }
.bb-ghero svg.vb-court { opacity: .07; }

/* the points of the set in play, a small box before the sets won */
.vb-pt { min-width: 22px; padding: 0 5px; margin-left: auto; border-radius: 6px; background: var(--bb-soft); color: var(--bb-muted); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; text-align: center; line-height: 20px; }
.vb-pt:empty { display: none; }
.vb-pt + .sc { margin-left: 6px; }

/* the sets score bar: 3-0, 3-1, 3-2 in home blues, 2-3, 1-3, 0-3 in away ambers */
.vb-sets6 { display: flex; gap: 2px; height: 14px; border-radius: 99px; overflow: hidden; background: var(--bb-track); }
.vb-sets6 span { flex-grow: 0; flex-shrink: 0; min-width: 2px; }
.vb-sets6 .h3, .vb-sets6-key .h3 b { background: var(--bb-home); }
.vb-sets6 .h2 { background: color-mix(in srgb, var(--bb-home) 72%, var(--bb-card, #fff)); }
.vb-sets6 .h1 { background: color-mix(in srgb, var(--bb-home) 45%, var(--bb-card, #fff)); }
.vb-sets6 .a1 { background: color-mix(in srgb, var(--bb-away) 45%, var(--bb-card, #fff)); }
.vb-sets6 .a2 { background: color-mix(in srgb, var(--bb-away) 72%, var(--bb-card, #fff)); }
.vb-sets6 .a3 { background: var(--bb-away); }
.vb-sets6-key { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; text-align: center; }
.vb-sets6-key span { display: flex; flex-direction: column; gap: 1px; color: var(--bb-muted); }
.vb-sets6-key b { background: none !important; font-size: 13px; }
.vb-sets6-key .h3 b, .vb-sets6-key .h2 b, .vb-sets6-key .h1 b { color: var(--bb-home); }
.vb-sets6-key .a1 b, .vb-sets6-key .a2 b, .vb-sets6-key .a3 b { color: var(--bb-away); }
@media (max-width: 420px) { .vb-sets6-key { font-size: 11px; } .vb-sets6-key b { font-size: 12px; } }
