/* Scope every rule to the team xG graph; shared match and shot views are untouched. */
#team-chance-quality .kux-card{margin:26px 30px 32px;border:1px solid #dbe3eb;border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 8px 28px #172a4210}
#team-chance-quality .kux-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:23px 25px 20px}
#team-chance-quality .kux-eyebrow{display:block;font-size:9px;letter-spacing:.16em;font-weight:750;color:#6b7b8d;margin-bottom:7px}
#team-chance-quality .kux-heading h3{margin:0;color:#17273f;font-size:23px;font-weight:700;letter-spacing:-.035em;line-height:1.25}
#team-chance-quality .kux-status{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:650;white-space:nowrap;border:1px solid #dbe3eb;border-radius:100px;padding:8px 11px;background:#f4f7fa;color:#596d82}
#team-chance-quality .kux-status-up{background:#edf6e6;border-color:#d6e9c8;color:#4c742c}
#team-chance-quality .kux-status-down{background:#fff0e9;border-color:#f1d9cc;color:#a55e3f}
#team-chance-quality .kux-status>span{font-size:17px;line-height:1}
#team-chance-quality .kux-chart-surface{margin:0 13px;padding:18px 18px 15px;border-radius:12px;background:radial-gradient(ellipse at 30% 0%,#283d52 0%,#17273c 55%,#142235 100%);color:#e8eff7}
#team-chance-quality .kux-legend{display:flex;align-items:center;gap:16px;padding:0 8px 3px;font-size:11px;font-weight:500}
#team-chance-quality .kux-legend>span{display:inline-flex;align-items:center;gap:7px}
#team-chance-quality .kux-legend i{display:inline-block;width:16px;height:3px;border-radius:5px;background:#b9e580}
#team-chance-quality .kux-legend .kux-key-against{background:#efab93}
#team-chance-quality .kux-legend>small{margin-left:auto;color:#a7b8cb;font-size:10px}
#team-chance-quality .kux-plot{display:block;width:100%;height:auto;max-height:280px;overflow:visible;margin:8px 0 0}
#team-chance-quality .kux-gridline{stroke:#d3e3f1;stroke-opacity:.10;stroke-dasharray:3 6}
#team-chance-quality .kux-axis{fill:#a4b6c9;font:11px 'DM Sans',sans-serif}
#team-chance-quality .kux-line{fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
#team-chance-quality .kux-line-for{stroke:#b9e580}
#team-chance-quality .kux-line-against{stroke:#efab93;stroke-width:2.5;stroke-dasharray:6 5}
#team-chance-quality .kux-point circle{stroke:#192b3f;stroke-width:2;vector-effect:non-scaling-stroke}
#team-chance-quality .kux-dot-for{fill:#b9e580}
#team-chance-quality .kux-dot-against{fill:#efab93}
#team-chance-quality .kux-point.is-selected circle{r:5.5;stroke:#fff;stroke-width:2}
#team-chance-quality .kux-cursor{stroke:#e0eaf5;stroke-opacity:.25;stroke-dasharray:3 4;pointer-events:none}
#team-chance-quality .kux-readout{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:25px;padding:12px 10px;background:#ffffff06;border:1px solid #ffffff0b;border-radius:8px}
#team-chance-quality .kux-readout strong{display:block;font-size:11px;font-weight:600;color:#e7eff8}
#team-chance-quality .kux-readout small{display:block;font-size:10px;color:#a7b8cb;line-height:1.5;margin-top:3px}
#team-chance-quality .kux-readout>span:first-child small{overflow-wrap:anywhere}
#team-chance-quality .kux-readout b{display:block;font-size:21px;letter-spacing:-.04em;font-variant-numeric:tabular-nums;line-height:1}
#team-chance-quality .kux-readout-for{color:#c2e99c}
#team-chance-quality .kux-readout-against{color:#f1b8a4}
#team-chance-quality .kux-scrubber{display:block;padding:12px 5px 0}
#team-chance-quality .kux-scrubber[hidden]{display:none}
#team-chance-quality .kux-scrubber>span{display:flex;justify-content:space-between;color:#c4d0dd;font-size:10px}
#team-chance-quality .kux-scrubber small{color:#91a6bc;font-size:10px}
#team-chance-quality .kux-scrubber input{display:block;appearance:none;-webkit-appearance:none;width:100%;height:44px;background:transparent;cursor:pointer;margin:3px 0 0;accent-color:#b9e580}
#team-chance-quality .kux-scrubber input::-webkit-slider-runnable-track{height:3px;background:#4a5c6e;border-radius:3px}
#team-chance-quality .kux-scrubber input::-moz-range-track{height:3px;background:#4a5c6e;border-radius:3px}
#team-chance-quality .kux-scrubber input::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:16px;height:16px;border-radius:50%;background:#c2e99c;border:3px solid #1a2c3e;box-shadow:0 0 0 1px #c2e99c;margin-top:-6px}
#team-chance-quality .kux-scrubber input::-moz-range-thumb{width:12px;height:12px;border-radius:50%;background:#c2e99c;border:3px solid #1a2c3e}
#team-chance-quality .kux-scrubber input:focus-visible{outline:2px solid #c2e99c;outline-offset:3px;border-radius:3px}
#team-chance-quality .kux-comparison{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:0 25px;padding:21px 0 18px;border-bottom:1px solid #e9edf2}
#team-chance-quality .kux-change+ .kux-change{border-left:1px solid #e4eaf0;padding-left:24px}
#team-chance-quality .kux-change-label{display:block;font-size:10px;font-weight:700;color:#4d6278;text-transform:uppercase;letter-spacing:.05em;margin-bottom:7px}
#team-chance-quality .kux-change-label small{font-size:9px;font-weight:400;letter-spacing:0;text-transform:none;margin-left:5px;color:#748397}
#team-chance-quality .kux-change strong{font-size:22px;font-weight:650;letter-spacing:-.04em;color:#20354e;font-variant-numeric:tabular-nums;line-height:1.25}
#team-chance-quality .kux-change strong>span{font-size:16px;color:#8493a4;margin:0 5px}
#team-chance-quality .kux-change strong>small{font-size:10px;font-weight:400;letter-spacing:0;margin-left:7px;color:#718297}
#team-chance-quality .kux-change p{font-size:11px;color:#718297;line-height:1.5;margin:7px 0 0}
#team-chance-quality .kux-change-positive p{color:#527937}
#team-chance-quality .kux-change-negative p{color:#a56345}
#team-chance-quality .kux-caption{font-size:10px;line-height:1.7;color:#6c7d90;padding:14px 25px 19px}
#team-chance-quality .kux-caption details{margin-top:4px}
#team-chance-quality .kux-caption summary{color:#526c8b;cursor:pointer;font-size:10px;list-style:revert}
#team-chance-quality .kux-caption p{margin:8px 0 0;font-size:10px;line-height:1.7}
#team-chance-quality .kux-building{font-size:11px;line-height:1.6;color:#6c7d90;margin:0;padding:17px 25px 0}
@media(max-width:600px){
 #team-chance-quality .kux-card{margin:22px 17px 27px;border-radius:14px}
 #team-chance-quality .kux-heading{padding:18px 17px 16px;align-items:flex-start;flex-wrap:wrap;gap:10px}
 #team-chance-quality .kux-heading h3{font-size:20px}
 #team-chance-quality .kux-eyebrow{font-size:8px;margin-bottom:5px}
 #team-chance-quality .kux-status{padding:5px 9px;font-size:10px}
 #team-chance-quality .kux-chart-surface{margin:0 8px;padding:16px 9px 11px;border-radius:10px}
 #team-chance-quality .kux-legend{flex-wrap:wrap;gap:10px 15px;padding:0 6px;font-size:10px}
 #team-chance-quality .kux-legend>small{font-size:9px;flex-basis:100%;margin-left:0}
 #team-chance-quality .kux-plot{min-height:154px;margin-top:4px}
 #team-chance-quality .kux-axis{font-size:18px}
 #team-chance-quality .kux-readout{gap:13px;padding:10px 8px}
 #team-chance-quality .kux-readout b{font-size:20px}
 #team-chance-quality .kux-readout small{font-size:9px}
 #team-chance-quality .kux-comparison{margin:0 17px;padding:17px 0 15px;gap:14px}
 #team-chance-quality .kux-change+ .kux-change{padding-left:14px}
 #team-chance-quality .kux-change-label small{display:block;margin:3px 0 0}
 #team-chance-quality .kux-change strong{font-size:21px;white-space:nowrap}
 #team-chance-quality .kux-change strong>span{margin:0 2px;font-size:14px}
 #team-chance-quality .kux-change strong>small{display:block;margin:3px 0 0;font-size:9px}
 #team-chance-quality .kux-change p{font-size:10px}
 #team-chance-quality .kux-caption{padding:12px 17px 16px}
 #team-chance-quality .kux-building{padding:15px 17px 0}
}
