/* Versus the league — layout per size (shared look in ../lib/banner.css).
   Typographic only: one group of two units centred between logo and button. Unit one: two scoreboard rows on one
   left edge — the team's figure big with its name beside it and its bar across the column; the league's figure
   smaller and dimmer with "league average" beside it and a bar at its share. Unit two: the match and the market.
   The gap between the two bars is the picture. */
.row { display: flex; flex-direction: column; align-items: flex-start; }
.line { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.fig { font-size: 150px; line-height: .86; letter-spacing: -.02em; text-align: left; margin: 0; white-space: nowrap; text-shadow: var(--shadow); }
.who { margin: 0; font-size: 12px; line-height: 1; letter-spacing: .1em; }
.is-avg .fig { color: color-mix(in srgb, var(--text) 70%, transparent); }
.is-avg .who { color: color-mix(in srgb, var(--text) 70%, transparent); }
/* the gap bars: the engine's "bets so far" bar, without its figure */
.b1 .gap { display: flex; width: 100%; margin: 4px 0 0; }
.b1 .gap .bar { height: 4px; background: var(--accent); }
.is-avg .gap .bar { background: color-mix(in srgb, var(--text) 40%, transparent); }
.is-avg { margin-top: 14px; }
.match { margin-top: 26px; }
.market { margin-top: 12px; }
.cta { margin-top: 14px; }

/* 300 × 600 */
[data-size="300x600"] .col { --slot-max: 250px; }

/* 160 × 600 — outcome left, price right; each price with its bar beneath it */
[data-size="160x600"] .col { --slot-max: 190px; }
[data-size="160x600"] .fig { font-size: 64px; }
[data-size="160x600"] .line { gap: 7px; }
[data-size="160x600"] .who { font-size: 7.5px; letter-spacing: .05em; }
[data-size="160x600"] .line { gap: 5px; }
[data-size="160x600"] .b1 .gap { margin-top: 3px; }
[data-size="160x600"] .b1 .gap .bar { height: 3px; }
[data-size="160x600"] .is-avg { margin-top: 10px; }
[data-size="160x600"] .match { margin-top: 18px; }
[data-size="160x600"] .market { margin-top: 10px; display: flex; flex-direction: column; }
[data-size="160x600"] .pills, [data-size="160x600"] .has-shares .pcts:not(.is-empty) { display: contents; }
[data-size="160x600"] .pill { flex: none; height: 31px; flex-direction: row-reverse; justify-content: space-between; padding: 0 13px 0 11px; gap: 6px; margin-top: 8px; }
[data-size="160x600"] .pill:first-child { margin-top: 0; }
[data-size="160x600"] .pill .price { font-size: 13px; line-height: 13px; flex: none; }
[data-size="160x600"] .pill .lbl { font-size: 7.4px; text-align: left; flex: 1 1 auto; min-width: 0; }
[data-size="160x600"] .market .pct { margin-top: 4px; }

/* 300 × 250 — the two units side by side, bottom-aligned */
[data-size="300x250"] .col { --slot-max: 62px; }
[data-size="300x250"] .b1 { display: grid; grid-template-columns: 150px 110px; align-items: end; column-gap: 14px; }
[data-size="300x250"] .fig { font-size: 50px; }
[data-size="300x250"] .line { gap: 7px; }
[data-size="300x250"] .who { font-size: 8.5px; letter-spacing: .08em; }
[data-size="300x250"] .is-avg { margin: 0; }
[data-size="300x250"] .b1 .gap { margin-top: 3px; }
[data-size="300x250"] .b1 .gap .bar { height: 3px; }
[data-size="300x250"] .match { margin-top: 8px; font-size: 11.5px; line-height: 14px; }
[data-size="300x250"] .market { margin-top: 4px; }
[data-size="300x250"] .market .mlab { font-size: 7.4px; letter-spacing: .1em; margin-bottom: 4px; color: color-mix(in srgb, var(--text) 80%, transparent); }
[data-size="300x250"] .pill { height: 32px; }

/* 930 × 180 — brand · the two units side by side · the match, its market and the button */
[data-size="930x180"] .col { grid-template-columns: 172px 1fr 312px; grid-template-rows: 1fr auto; --slot-max: 110px; }
[data-size="930x180"] .group { display: contents; }
[data-size="930x180"] .slot { grid-column: 2; grid-row: 1 / -1; align-self: center; }
[data-size="930x180"] .b1 { display: grid; grid-template-columns: 200px 146px; align-items: end; justify-content: center; column-gap: 22px; }
[data-size="930x180"] .fig { font-size: 96px; }
[data-size="930x180"] .who { font-size: 10px; }
[data-size="930x180"] .is-avg { margin: 0; }
[data-size="930x180"] .bet { grid-column: 3; grid-row: 1; align-self: end; }
[data-size="930x180"] .match { margin: 0 0 6px; font-size: 14px; line-height: 17px; white-space: nowrap; overflow-x: clip; overflow-y: visible; text-overflow: ellipsis; }
[data-size="930x180"] .market { margin: 0; }
[data-size="930x180"] .market .mlab { font-size: 9px; margin-bottom: 5px; color: color-mix(in srgb, var(--text) 75%, transparent); }
[data-size="930x180"] .pill { height: 34px; gap: 2px; }
[data-size="930x180"] .pill .price { font-size: 13px; line-height: 13px; }
[data-size="930x180"] .pcts { margin-top: 4px; }
[data-size="930x180"] .cta { grid-column: 3; grid-row: 2; margin: 6px 0 0; height: 34px; }
[data-size="930x180"] .legal { grid-row: 1 / -1; }
