.fcbpxg,.fcbpxg *{box-sizing:border-box}.fcbpxg{container-type:inline-size;max-width:960px;min-width:0;margin:24px auto;padding:clamp(14px,3vw,24px);border:1px solid #dce4ef;border-radius:18px;background:#fff;box-shadow:0 8px 30px #102c5810;color:#172b49;font:17px/1.5 Arial,sans-serif}.fcbpxg h2{margin:0 0 14px;font:700 clamp(25px,4vw,34px)/1.25 Arial,sans-serif;color:#12346b}.fcbpxg h2 span{color:#228249}.fcbpxg h3{margin:18px 0 10px;color:#12346b;font:700 20px/1.4 Arial,sans-serif}.fcbpxg p{margin:12px 0}.fcbpxg .fcbpxg-inputs{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:16px}.fcbpxg label{display:block;font-weight:700}.fcbpxg input[type=text]{display:block;width:100%;max-width:none;height:52px;margin-top:8px;padding:12px;border:1px solid #a9bdd9;border-radius:8px;background:#fff;color:#172b49;font:400 20px Arial,sans-serif}.fcbpxg input[aria-invalid=true]{border-color:#a42e29}.fcbpxg .fcbpxg-help,.fcbpxg .fcbpxg-note{color:#53667e;font-size:14px}.fcbpxg .fcbpxg-actions{display:flex;justify-content:center;margin:20px 0}.fcbpxg button{min-height:44px;padding:10px 16px;border:1px solid #b8c9e1;border-radius:8px;background:#f2f6fc;color:#16376c;font:700 15px/1.4 Arial,sans-serif;cursor:pointer;text-transform:none;letter-spacing:normal;white-space:normal}.fcbpxg button:hover{background:#e5edf9}.fcbpxg .fcbpxg-status{min-height:3em;color:#48617e;font-size:15px}.fcbpxg .fcbpxg-status[data-error=true]{color:#a42e29}.fcbpxg .fcbpxg-tabs{display:flex;flex-wrap:wrap;gap:8px;padding-bottom:12px;border-bottom:1px solid #dce4ef;margin-bottom:16px}.fcbpxg .fcbpxg-tabs button{flex:1 1 145px;padding:10px 8px;font-size:16px}.fcbpxg button[aria-selected=true]{background:#2458ba;border-color:#2458ba;color:#fff}.fcbpxg :focus-visible{outline:3px solid #278653;outline-offset:3px}.fcbpxg [hidden]{display:none!important}.fcbpxg table{width:100%;border-collapse:collapse;table-layout:fixed;margin:0 0 16px;font-size:16px}.fcbpxg caption{text-align:left;font-weight:700;font-size:19px;color:#12346b;padding:10px 0}.fcbpxg th,.fcbpxg td{border:0;border-bottom:1px solid #dde6f2;padding:11px 8px;text-align:right;vertical-align:middle;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.fcbpxg th:first-child{width:42%;text-align:left}.fcbpxg thead th{background:#edf3fb;font-size:14px}.fcbpxg tbody th{font-weight:400}.fcbpxg tbody tr:nth-child(even){background:#f5f8fc}.fcbpxg .fcbpxg-scores{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,265px),1fr));gap:16px}.fcbpxg .fcbpxg-other{color:#187443;font-weight:700}.fcbpxg .fcbpxg-chart{border:1px solid #dde6f2;border-radius:12px;padding:10px 6px;background:#fff}.fcbpxg svg{display:block;width:100%;height:auto;overflow:visible}.fcbpxg .fcbpxg-legend{display:flex;flex-wrap:wrap;justify-content:center;gap:20px;font-size:15px}.fcbpxg .fcbpxg-home{color:#2458ba}.fcbpxg .fcbpxg-away{color:#187443}.fcbpxg summary{cursor:pointer;color:#16376c;font-size:14px;padding:10px 0}.fcbpxg .fcbpxg-data{max-height:260px;overflow-y:auto}@container(max-width:400px){.fcbpxg table{font-size:14px}.fcbpxg th,.fcbpxg td{padding:10px 5px}.fcbpxg .fcbpxg-tabs button{flex-basis:100%}}
/* Keep column headings and numeric values intact in compact score cards. */
.fcbpxg thead th{font-size:12px;overflow-wrap:normal}.fcbpxg th:first-child{width:38%}.fcbpxg td{white-space:nowrap;overflow-wrap:normal}.fcbpxg .fcbpxg-scores{align-items:start}.fcbpxg .fcbpxg-scores table{font-size:14px}
.fcbpxg th:first-child{width:34%}.fcbpxg thead th:nth-child(2){width:31%}.fcbpxg thead th:nth-child(3){width:35%}

/* v1.1.0 presentation: stacked score cards and centred market values. */
.fcbpxg th:not(:first-child),.fcbpxg td{text-align:center}
.fcbpxg .fcbpxg-scores{grid-template-columns:minmax(0,1fr);gap:20px}
.fcbpxg .fcbpxg-scores table{font-size:16px;margin:0;border:1px solid #dde6f2;border-radius:12px;border-collapse:separate;border-spacing:0;overflow:hidden}
.fcbpxg .fcbpxg-scores caption{padding:12px 10px}
.fcbpxg .fcbpxg-other th,.fcbpxg .fcbpxg-other td{font-weight:700}
.fcbpxg .fcbpxg-legend{gap:8px;margin-top:8px}
.fcbpxg .fcbpxg-legend button{background:white;border:2px solid currentColor;min-height:44px;padding:8px 12px}
.fcbpxg .fcbpxg-legend button[aria-pressed=true]{background:#edf3fb;box-shadow:0 0 0 2px currentColor}
.fcbpxg .fcbpxg-legend .fcbpxg-dim{opacity:.5}
.fcbpxg .fcbpxg-chart .fcbpxg-help{text-align:center;margin:12px 6px 4px}
.fcbpxg .fcbpxg-total-head,.fcbpxg .fcbpxg-total-values{display:grid;grid-template-columns:.7fr 1fr 1fr;align-items:center;text-align:center;gap:8px}
.fcbpxg .fcbpxg-total-head{padding:10px;background:#edf3fb;color:#12346b;font-weight:700}
.fcbpxg .fcbpxg-total-row{padding:14px 10px;border-bottom:1px solid #dde6f2}
.fcbpxg .fcbpxg-total-row:nth-child(even){background:#f5f8fc}
.fcbpxg .fcbpxg-total-values span,.fcbpxg .fcbpxg-btts-choices span{display:block;font-size:14px;color:#53667e;font-variant-numeric:tabular-nums}
.fcbpxg .fcbpxg-total-values strong{font-variant-numeric:tabular-nums}
.fcbpxg .fcbpxg-probability-bar{display:flex;height:12px;border-radius:6px;overflow:hidden;margin-top:12px;background:#edf3fb}
.fcbpxg .fcbpxg-probability-bar span:first-child{background:#2458ba}
.fcbpxg .fcbpxg-probability-bar span:last-child{background:#187443}
.fcbpxg .fcbpxg-btts-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.fcbpxg .fcbpxg-btts-choices>div{text-align:center;border:1px solid #dde6f2;border-top:4px solid #187443;border-radius:10px;padding:16px 8px;background:#f5f8fc}
.fcbpxg .fcbpxg-btts-choices h4{margin:0 0 8px;color:#12346b;font-size:18px}
.fcbpxg .fcbpxg-btts-choices strong{font-size:24px}
@container(max-width:400px){.fcbpxg .fcbpxg-scores table{font-size:14px}.fcbpxg .fcbpxg-legend{gap:6px}.fcbpxg .fcbpxg-legend button{font-size:13px;padding:8px}.fcbpxg .fcbpxg-total-row{padding:12px 5px}}

/* v1.2.0: odds-first outcome cards; container sizing supports sidebars. */
.fcbpxg .fcbpxg-match-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.fcbpxg .fcbpxg-card{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;border:1px solid #dde6f2;border-top:3px solid #2458ba;border-radius:12px;background:#f7f9fd;padding:16px 10px;gap:8px}
.fcbpxg .fcbpxg-card h4{margin:0;min-height:2.8em;display:flex;align-items:center;justify-content:center;font:700 16px/1.4 Arial,sans-serif;color:#172b49;overflow-wrap:normal;word-break:normal}
.fcbpxg .fcbpxg-card-odds{display:block;white-space:nowrap;font:700 clamp(22px,4cqi,32px)/1.25 Arial,sans-serif;font-variant-numeric:tabular-nums;color:#12346b}
.fcbpxg .fcbpxg-card-probability{display:block;color:#53667e;font-size:14px;font-variant-numeric:tabular-nums}
.fcbpxg .fcbpxg-match-cards .fcbpxg-accent-0,.fcbpxg .fcbpxg-group-0 .fcbpxg-card{border-top-color:#c63737}
.fcbpxg .fcbpxg-match-cards .fcbpxg-accent-1,.fcbpxg .fcbpxg-group-1 .fcbpxg-card{border-top-color:#64748b}
.fcbpxg .fcbpxg-match-cards .fcbpxg-accent-2,.fcbpxg .fcbpxg-group-2 .fcbpxg-card{border-top-color:#187443}
.fcbpxg .fcbpxg-score-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr));gap:12px}
.fcbpxg .fcbpxg-score-group h3{margin:0 0 12px}
.fcbpxg .fcbpxg-score-cards .fcbpxg-card-odds{font-size:24px}
.fcbpxg .fcbpxg-group-0 .fcbpxg-other-card{background:#fff0ef}
.fcbpxg .fcbpxg-group-1 .fcbpxg-other-card{background:#edf1f7}
.fcbpxg .fcbpxg-group-2 .fcbpxg-other-card{background:#edf8f0}
.fcbpxg .fcbpxg-total-values>div{min-width:0}
.fcbpxg .fcbpxg-total-values>div strong{font-size:20px;white-space:nowrap}
@container(max-width:440px){.fcbpxg .fcbpxg-match-cards{grid-template-columns:1fr}.fcbpxg .fcbpxg-match-cards .fcbpxg-card h4{min-height:0}.fcbpxg .fcbpxg-total-values>div strong{font-size:16px}}
@container(max-width:440px){.fcbpxg .fcbpxg-total-head,.fcbpxg .fcbpxg-total-values{grid-template-columns:.4fr 1fr 1fr;gap:5px}}

/* v1.2.1: centred xG inputs and stronger Match Odds accents. */
.fcbpxg .fcbpxg-inputs{grid-template-columns:repeat(2,minmax(0,240px));justify-content:center;gap:16px;margin-inline:auto}
.fcbpxg .fcbpxg-inputs label{text-align:center}
.fcbpxg .fcbpxg-match-cards .fcbpxg-card{border-top-width:6px}
.fcbpxg .fcbpxg-odds-explainer{margin:4px 0 12px;color:#53667e;font-size:14px;text-align:center}
@container(max-width:390px){.fcbpxg .fcbpxg-inputs{grid-template-columns:minmax(0,280px)}}

/* v1.2.2: centre entered xG values within both input boxes. */
.fcbpxg input[type=text]{text-align:center}
