/* Generated by scripts/gen-wp-css.ts from the CSS of the side_by_side block. Do not edit: change src/blocks and run npm run gen:wp-css. */
/* src/blocks/SideBySide.css */
/* Side by side stats. The layout palettes (--c-*) come from article.css. */

.stx-widget .stx-side-by-side { border-radius: 12px; overflow: hidden; font-size: 13px; }
.stx-widget .stx-side-by-side .btitle { font-size: 13px; font-weight: 600; letter-spacing: .4px; text-transform: lowercase; margin: 0 0 12px; }
.stx-widget .stx-side-by-side .foot { padding-top: 10px; font-size: 11px; font-style: italic; color: var(--c-sub); }

/* Editorial: a scorecard */
.stx-widget .stx-side-by-side.stx-layout--editorial { background: var(--ab-primary); color: #fff; padding: 22px; }
.stx-widget .stx-side-by-side.stx-layout--editorial .names { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 18px; font-size: 15px; font-weight: 600; }
.stx-widget .stx-side-by-side.stx-layout--editorial .names .h { color: var(--ab-accent); }
.stx-widget .stx-side-by-side.stx-layout--editorial .srow { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 10px 0; border-top: .5px solid rgba(255,255,255,.12); }
.stx-widget .stx-side-by-side.stx-layout--editorial .v { font-size: 20px; font-weight: 600; white-space: nowrap; }
.stx-widget .stx-side-by-side.stx-layout--editorial .v.best { color: var(--ab-accent); }
.stx-widget .stx-side-by-side.stx-layout--editorial .lab { font-size: 10px; text-align: center; color: rgba(255,255,255,.4); }

/* Fan: a panel per team */
.stx-widget .stx-side-by-side.stx-layout--fan { background: var(--ab-primary); padding: 16px; color: #fff; }
.stx-widget .stx-side-by-side.stx-layout--fan .btitle { color: #fff; }
.stx-widget .stx-side-by-side.stx-layout--fan .panels { display: flex; flex-wrap: wrap; gap: 10px; }
.stx-widget .stx-side-by-side.stx-layout--fan .panel { flex: 1 1 240px; min-width: 0; background: var(--ab-surface); color: var(--ab-text); border-radius: 10px; padding: 14px; }
.stx-widget .stx-side-by-side.stx-layout--fan .pname { font-size: 14px; font-weight: 600; text-align: center; margin-bottom: 12px; }
.stx-widget .stx-side-by-side.stx-layout--fan .plist { display: flex; flex-direction: column; gap: 8px; }
.stx-widget .stx-side-by-side.stx-layout--fan .prow { display: flex; align-items: center; gap: 8px; }
.stx-widget .stx-side-by-side.stx-layout--fan .prow svg { color: var(--ab-primary); flex: none; }
.stx-widget .stx-side-by-side.stx-layout--fan .prow .lab { flex: 1; min-width: 0; font-size: 11px; color: var(--ab-muted); }
.stx-widget .stx-side-by-side.stx-layout--fan .prow .v { font-size: 12px; font-weight: 600; white-space: nowrap; }
.stx-widget .stx-side-by-side.stx-layout--fan .foot { color: rgba(255,255,255,.6); }

/* Comparator: diverging bars */
.stx-widget .stx-side-by-side.stx-layout--comparator { background: var(--ab-surface); border: .5px solid var(--ab-border); padding: 18px 20px; color: var(--ab-text); }
.stx-widget .stx-side-by-side.stx-layout--comparator .btitle { text-align: center; color: var(--ab-positive); }
.stx-widget .stx-side-by-side.stx-layout--comparator .names { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 12px; font-size: 12px; font-weight: 600; }
.stx-widget .stx-side-by-side.stx-layout--comparator .brow { margin-bottom: 14px; }
.stx-widget .stx-side-by-side.stx-layout--comparator .brow:last-of-type { margin-bottom: 0; }
.stx-widget .stx-side-by-side.stx-layout--comparator .bars { display: flex; height: 8px; }
.stx-widget .stx-side-by-side.stx-layout--comparator .half { width: 50%; display: flex; }
.stx-widget .stx-side-by-side.stx-layout--comparator .half.l { justify-content: flex-end; }
.stx-widget .stx-side-by-side.stx-layout--comparator .half i { display: block; height: 8px; background: color-mix(in srgb, var(--ab-muted) 45%, var(--ab-surface)); }
.stx-widget .stx-side-by-side.stx-layout--comparator .half.l i { border-radius: 4px 0 0 4px; }
.stx-widget .stx-side-by-side.stx-layout--comparator .half.r i { border-radius: 0 4px 4px 0; }
.stx-widget .stx-side-by-side.stx-layout--comparator .half i.best { background: var(--ab-accent); }
.stx-widget .stx-side-by-side.stx-layout--comparator .cap { text-align: center; font-size: 10px; color: var(--ab-muted); margin-top: 4px; }

/* Original: a radar per club */
.stx-widget .stx-side-by-side.stx-layout--original { background: var(--ab-surface); border: .5px solid var(--ab-border); border-top: 3px solid var(--ab-accent); padding: 20px; color: var(--ab-text); }
.stx-widget .stx-side-by-side.stx-layout--original .cols { display: flex; gap: 16px; }
.stx-widget .stx-side-by-side.stx-layout--original .col { flex: 1; min-width: 0; text-align: center; }
.stx-widget .stx-side-by-side.stx-layout--original .vsep { width: 1px; background: var(--ab-border); flex: none; }
.stx-widget .stx-side-by-side.stx-layout--original .tname { font-size: 13px; font-weight: 600; margin-bottom: 4px; color: var(--ab-primary); }
.stx-widget .stx-side-by-side.stx-layout--original .tname.home { color: var(--ab-accent); }
.stx-widget .stx-side-by-side .radar { display: block; width: 100%; max-width: 260px; margin: 0 auto; }
.stx-widget .stx-side-by-side .radar text { font-size: 10px; fill: var(--ab-muted); }
.stx-widget .stx-side-by-side .radar .ring { fill: none; stroke: var(--ab-border); stroke-width: 1; }
.stx-widget .stx-side-by-side .radar .area { stroke-width: 1.5; }
.stx-widget .stx-side-by-side .radar .area.home { stroke: var(--ab-accent); fill: color-mix(in srgb, var(--ab-accent) 20%, transparent); }
.stx-widget .stx-side-by-side .radar .area.away { stroke: var(--ab-primary); fill: color-mix(in srgb, var(--ab-primary) 20%, transparent); }
.stx-widget .stx-side-by-side .klist { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; text-align: left; font-size: 11px; color: var(--ab-muted); }
.stx-widget .stx-side-by-side .klist > div { display: flex; justify-content: space-between; gap: 8px; }
.stx-widget .stx-side-by-side .klist b { font-weight: 600; color: var(--ab-text); white-space: nowrap; }

@media (max-width: 520px) {
  .stx-widget .stx-side-by-side.stx-layout--original .cols { flex-direction: column; gap: 20px; }
  .stx-widget .stx-side-by-side.stx-layout--original .vsep { width: auto; height: 1px; }
}

/* Variants (bars, better, columns): one structure for every layout; the palette is the layout's (--c-*). */
.stx-widget .stx-side-by-side.v-bars, .stx-widget .stx-side-by-side.v-better, .stx-widget .stx-side-by-side.v-columns { --sbs-home: var(--ab-accent); --sbs-away: var(--ab-primary); padding: 20px; background: var(--c-bg); color: var(--c-text); }
.stx-widget .stx-side-by-side.stx-layout--editorial.v-bars, .stx-widget .stx-side-by-side.stx-layout--editorial.v-better, .stx-widget .stx-side-by-side.stx-layout--editorial.v-columns { --sbs-away: rgba(255,255,255,.8); }
.stx-widget .stx-side-by-side.stx-layout--fan.v-bars, .stx-widget .stx-side-by-side.stx-layout--fan.v-better, .stx-widget .stx-side-by-side.stx-layout--fan.v-columns { --sbs-away: rgba(255,255,255,.8); }
.stx-widget .stx-side-by-side.stx-layout--comparator.v-bars, .stx-widget .stx-side-by-side.stx-layout--comparator.v-better, .stx-widget .stx-side-by-side.stx-layout--comparator.v-columns { --sbs-home: var(--ab-positive); --sbs-away: var(--ab-accent); border: .5px solid var(--ab-border); }
.stx-widget .stx-side-by-side.stx-layout--original.v-bars, .stx-widget .stx-side-by-side.stx-layout--original.v-better, .stx-widget .stx-side-by-side.stx-layout--original.v-columns { border: .5px solid var(--ab-border); border-top: 3px solid var(--ab-accent); }
.stx-widget .stx-side-by-side .vnames { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 10px; }
.stx-widget .stx-side-by-side .vnames .a { text-align: right; }
.stx-widget .stx-side-by-side .vnames .n { display: block; font-size: 14px; font-weight: 600; }
.stx-widget .stx-side-by-side .vnames .h .n { color: var(--sbs-home); }
.stx-widget .stx-side-by-side.stx-layout--editorial .vnames .h .n, .stx-widget .stx-side-by-side.stx-layout--fan .vnames .h .n { color: var(--ab-accent); }
.stx-widget .stx-side-by-side .strip { display: flex; flex-direction: column; gap: 3px; margin-top: 4px; }
.stx-widget .stx-side-by-side .vnames .a .strip { align-items: flex-end; }
.stx-widget .stx-side-by-side .strip .chips { display: inline-flex; gap: 3px; }
.stx-widget .stx-side-by-side .strip i { font-style: normal; font-size: 9px; font-weight: 700; width: 16px; height: 16px; border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--ab-muted); }
.stx-widget .stx-side-by-side .strip i.W { background: var(--ab-positive); }
.stx-widget .stx-side-by-side .strip i.L { background: var(--ab-negative); }
.stx-widget .stx-side-by-side .strip i.OTL { background: var(--ab-accent-soft); color: var(--ab-ink); font-size: 10px; width: auto; min-width: 16px; padding: 0 3px; }
.stx-widget .stx-side-by-side .strip .cap { font-size: 10px; color: var(--c-sub); }
.stx-widget .stx-side-by-side .basis { font-size: 10px; color: var(--c-sub); text-align: center; margin: 0 0 6px; }
.stx-widget .stx-side-by-side .vrow { display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; gap: 8px; padding: 8px 0; border-top: .5px solid var(--c-line); }
.stx-widget .stx-side-by-side .vrow .vlab { grid-column: 1 / -1; font-size: 10px; text-align: center; color: var(--c-sub); }
.stx-widget .stx-side-by-side .vrow .v { font-size: 14px; font-weight: 600; white-space: nowrap; }
.stx-widget .stx-side-by-side .vrow .v.r { text-align: right; }
.stx-widget .stx-side-by-side.v-better .vrow { grid-template-columns: 1fr auto 1fr; }
.stx-widget .stx-side-by-side.v-better .vrow .vlab { grid-column: 2; grid-row: 1; padding: 0 8px; }
.stx-widget .stx-side-by-side.v-better .vrow .v.l { grid-column: 1; grid-row: 1; justify-self: start; }
.stx-widget .stx-side-by-side.v-better .vrow .v.r { grid-column: 3; grid-row: 1; justify-self: end; }
.stx-widget .stx-side-by-side.v-better .vrow > span:not(.v) { display: none; }
.stx-widget .stx-side-by-side .vrow .v.best { background: var(--c-hl-bg); color: var(--c-hl-text); border-radius: 6px; padding: 2px 8px; }
.stx-widget .stx-side-by-side .vbars { display: flex; height: 8px; }
.stx-widget .stx-side-by-side .vbars .half { width: 50%; display: flex; }
.stx-widget .stx-side-by-side .vbars .half.l { justify-content: flex-end; }
.stx-widget .stx-side-by-side .vbars .half i { display: block; height: 8px; opacity: .45; }
.stx-widget .stx-side-by-side .vbars .half.l i { background: var(--sbs-home); border-radius: 4px 0 0 4px; }
.stx-widget .stx-side-by-side .vbars .half.r i { background: var(--sbs-away); border-radius: 0 4px 4px 0; }
.stx-widget .stx-side-by-side .vbars .half i.best { opacity: 1; }
.stx-widget .stx-side-by-side .vcols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stx-widget .stx-side-by-side .vcol { display: flex; flex-direction: column; }
.stx-widget .stx-side-by-side .vc { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 7px 0; border-top: .5px solid var(--c-line); font-size: 12px; }
.stx-widget .stx-side-by-side .vc .lab { color: var(--c-sub); font-size: 11px; }
.stx-widget .stx-side-by-side .vc b { font-size: 14px; white-space: nowrap; }
.stx-widget .stx-side-by-side .vc.best b { color: var(--c-hl-text); background: var(--c-hl-bg); border-radius: 6px; padding: 1px 8px; }

/* the better value and the form strip show in every layout */
.stx-widget .stx-side-by-side .klist b.best { color: var(--ab-accent); }
.stx-widget .stx-side-by-side.stx-layout--fan .prow .v.best { color: var(--ab-accent); font-weight: 700; }

/* The lead summary ("Knicks lead 5 of 8 stats") */
.stx-widget .stx-side-by-side .summary { padding: 8px 20px 0; font-size: 12px; font-weight: 600; color: var(--ab-primary); }

.stx-widget .stx-side-by-side .sbs-sub { font-size: 11px; color: var(--c-sub); margin: -8px 0 10px; }

/* The common card (the original layout): bars, better and columns. */
.stx-widget .stx-side-by-side-card { --b-home: var(--ab-home); --b-away: var(--ab-away); font-size: 13px; }
.stx-widget .stx-side-by-side-card .stx-card__head { padding: 14px 16px; }
.stx-widget .stx-side-by-side-card .stx-card__title { font-size: 16px; letter-spacing: 0; text-transform: none; }
.stx-widget .stx-side-by-side-card[data-sub="light"] .stx-card__sub { color: rgba(255,255,255,.85); }
.stx-widget .stx-side-by-side-card .body { padding: 16px; }
.stx-widget .stx-side-by-side-card .home { color: var(--b-home); }
.stx-widget .stx-side-by-side-card .away { color: var(--b-away); }
.stx-widget .stx-side-by-side-card .cap { font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--ab-note); margin: 0 0 6px; }
.stx-widget .stx-side-by-side-card .cap.mid { text-align: center; margin: 12px 0 8px; }
.stx-widget .stx-side-by-side-card .names { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; margin-bottom: 12px; }
.stx-widget .stx-side-by-side-card .names .r { text-align: right; }
.stx-widget .stx-side-by-side-card .names .n { font-size: 18px; color: #1a1a1a; }
.stx-widget .stx-side-by-side-card .names .rec { font-weight: 700; color: var(--ab-accent); }
.stx-widget .stx-side-by-side-card .vs { border: 1px solid var(--ab-card-border); border-radius: 99px; padding: 2px 8px; color: var(--ab-note); font-size: 12px; }
.stx-widget .stx-side-by-side-card .frow { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.stx-widget .stx-side-by-side-card .frow .fn { flex: none; min-width: 52px; max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stx-widget .stx-side-by-side-card .frow i { width: 18px; height: 18px; border-radius: 4px; display: grid; place-items: center; font-size: 10px; font-weight: 700; font-style: normal; color: #fff; }
.stx-widget .stx-side-by-side-card.v-bars .frow i.W { background: var(--ab-accent); }
.stx-widget .stx-side-by-side-card.v-bars .frow i.L { background: #eceff3; color: #9aa0ac; }
.stx-widget .stx-side-by-side-card.v-better .frow i.W { background: var(--ab-primary); }
.stx-widget .stx-side-by-side-card.v-better .frow i.L { background: var(--ab-accent); }
.stx-widget .stx-side-by-side-card .lead { background: var(--ab-cream); border-radius: 10px; text-align: center; font-weight: 700; padding: 8px; margin: 10px 0; }
.stx-widget .stx-side-by-side-card.v-better .lead { background: var(--ab-best-green); }
.stx-widget .stx-side-by-side-card .fig { font-weight: 700; color: #1a1a1a; line-height: 1.2; }
.stx-widget .stx-side-by-side-card .fig.plain { font-size: 15px; }

/* bars: a figure either side of a track, a fill from the middle toward the better side */
.stx-widget .stx-side-by-side-card .brow { margin-bottom: 8px; }
.stx-widget .stx-side-by-side-card.v-bars .lab { text-align: center; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--ab-note); }
.stx-widget .stx-side-by-side-card .line { display: grid; grid-template-columns: 52px 1fr 52px; align-items: center; gap: 8px; }
.stx-widget .stx-side-by-side-card .line .fig.away { text-align: right; }
.stx-widget .stx-side-by-side-card.v-bars .fig.best { color: var(--ab-accent); }
.stx-widget .stx-side-by-side-card .track { position: relative; height: 6px; background: #eceff3; border-radius: 99px; }
.stx-widget .stx-side-by-side-card .track .mid { position: absolute; left: 50%; top: -2px; width: 1px; height: 10px; background: #ccc; }
.stx-widget .stx-side-by-side-card .track .fill { position: absolute; top: 0; height: 100%; border-radius: 99px; background: var(--ab-accent); }

/* better: the stat between the two figures */
.stx-widget .stx-side-by-side-card.v-better .brow { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin: 0; padding: 10px 0; border-top: 1px solid #eee; }
.stx-widget .stx-side-by-side-card.v-better .fig { font-size: 20px; }
.stx-widget .stx-side-by-side-card.v-better .fig.home { text-align: right; }
.stx-widget .stx-side-by-side-card.v-better .fig.plain { font-size: 15px; }
.stx-widget .stx-side-by-side-card.v-better .fig.best { color: var(--ab-primary); }
.stx-widget .stx-side-by-side-card.v-better .fig.worse { color: var(--ab-accent); }
.stx-widget .stx-side-by-side-card.v-better .lab { font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--ab-note); text-align: center; }
.stx-widget .stx-side-by-side-card .cap .key { float: right; display: inline-flex; gap: 10px; text-transform: none; letter-spacing: 0; }
.stx-widget .stx-side-by-side-card .cap .key b { font-weight: 600; }
.stx-widget .stx-side-by-side-card .cap .key .best { color: var(--ab-primary); }
.stx-widget .stx-side-by-side-card .cap .key .worse { color: var(--ab-accent); }
.stx-widget .stx-side-by-side-card .cap.tstats { margin: 14px 0 0; text-align: center; }
.stx-widget .stx-side-by-side-card.v-better .names .rec { color: var(--ab-primary); }

/* better without a form strip: the plain head under the two side colours, the figures coloured by side */
.stx-widget .stx-side-by-side-card.plain .sides-strip { height: 4px; background: linear-gradient(90deg, var(--b-home) 50%, var(--b-away) 50%); }
.stx-widget .stx-side-by-side-card.plain .head { padding: 18px 24px 4px; }
.stx-widget .stx-side-by-side-card .head .t { font-size: 16px; font-weight: 700; color: var(--ab-primary); }
.stx-widget .stx-side-by-side-card .head .s { font-size: 12px; color: var(--ab-muted); margin-top: 4px; }
.stx-widget .stx-side-by-side-card.plain .legend { display: flex; justify-content: space-between; padding: 16px 24px 6px; }
.stx-widget .stx-side-by-side-card.plain .body { padding: 0 24px; }
.stx-widget .stx-side-by-side-card.plain .brow { padding: 14px 0; border-top: 1px solid var(--ab-rule); gap: 12px; }
.stx-widget .stx-side-by-side-card.plain .fig { font-size: 22px; }
.stx-widget .stx-side-by-side-card.plain .fig.plain { font-size: 16px; }
.stx-widget .stx-side-by-side-card.plain .fig.home { color: var(--b-home); }
.stx-widget .stx-side-by-side-card.plain .fig.away { color: var(--b-away); }
.stx-widget .stx-side-by-side-card.plain .fig.best { font-weight: 800; }
.stx-widget .stx-side-by-side-card.plain .lab { min-width: 150px; }

/* columns: a column per team, a strip, two facts and tiles */
.stx-widget .stx-side-by-side-card.v-columns > .head { padding: 18px 24px 0; }
.stx-widget .stx-side-by-side-card.v-columns .cols { display: grid; grid-template-columns: 1fr 1fr; padding: 24px 24px 8px; }
.stx-widget .stx-side-by-side-card.v-columns .col { padding: 0 18px; min-width: 0; }
.stx-widget .stx-side-by-side-card.v-columns .col + .col { border-left: 1px solid #eceef2; }
.stx-widget .stx-side-by-side-card.v-columns .col.home { color: var(--b-home); }
.stx-widget .stx-side-by-side-card.v-columns .col.away { color: var(--b-away); }
.stx-widget .stx-side-by-side-card .tn { text-align: center; font-size: 17px; font-weight: 700; }
.stx-widget .stx-side-by-side-card .tsub { text-align: center; margin-top: 3px; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--ab-note); }
.stx-widget .stx-side-by-side-card .chips { display: flex; justify-content: center; gap: 5px; margin: 16px 0; flex-wrap: wrap; }
.stx-widget .stx-side-by-side-card .chips i { width: 22px; height: 22px; border-radius: 5px; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 10px; font-weight: 700; color: #fff; background: var(--ab-loss); }
.stx-widget .stx-side-by-side-card .col.home .chips i.W { background: var(--b-home); }
.stx-widget .stx-side-by-side-card .col.away .chips i.W { background: var(--b-away); }
.stx-widget .stx-side-by-side-card .chips i.OTL { background: var(--ab-ot); }
.stx-widget .stx-side-by-side-card .info { display: flex; justify-content: space-between; gap: 8px; padding: 11px 14px; margin-bottom: 8px; border: 1px solid #eceef2; border-radius: 8px; }
.stx-widget .stx-side-by-side-card .info span { font-size: 12px; letter-spacing: .02em; text-transform: uppercase; color: var(--ab-card-sub); }
.stx-widget .stx-side-by-side-card .info b { font-size: 13px; color: var(--ab-card-ink); text-align: right; }
.stx-widget .stx-side-by-side-card .tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.stx-widget .stx-side-by-side-card .tile { border: 1px solid #eceef2; border-radius: 8px; padding: 14px 6px; text-align: center; background: #fbfcfe; min-width: 0; }
.stx-widget .stx-side-by-side-card .tile b { display: block; font-size: 19px; font-weight: 700; }
.stx-widget .stx-side-by-side-card .tile span { display: block; margin-top: 5px; font-size: 10px; color: #8a8f9c; text-transform: uppercase; }
.stx-widget .stx-side-by-side-card .col.home .tile.best { border-color: color-mix(in srgb, var(--b-home) 32%, #fff); }
.stx-widget .stx-side-by-side-card .col.away .tile.best { border-color: color-mix(in srgb, var(--b-away) 32%, #fff); }
.stx-widget .stx-side-by-side-card.v-columns > .lead { margin: 0 24px 12px; }
.stx-widget .stx-side-by-side-card.plain .legend b { display: inline-flex; align-items: center; gap: 8px; }
.stx-widget .stx-side-by-side-card.plain .legend .home::before, .stx-widget .stx-side-by-side-card.plain .legend .away::after { content: ""; width: 20px; height: 3px; border-radius: 2px; background: currentColor; }
