/* v96 — World Cup live advance settlement, complete season summary and bracket results */
body.worldCupMode .wcBracket{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:6px!important;
  overflow-x:visible!important;
  width:100%!important;
  min-width:0!important;
}
body.worldCupMode .wcBracketWrap{width:100%!important;min-width:0!important;overflow:visible!important}
body.worldCupMode .wcBracketRound{min-width:0!important;width:auto!important;padding:5px!important;overflow:hidden!important}
body.worldCupMode .wcBracketMatch{padding:5px 4px!important;min-width:0!important;overflow:hidden!important}
body.worldCupMode .wcBracketTeam{display:flex!important;gap:4px!important;min-width:0!important;align-items:center!important;overflow:hidden!important}
body.worldCupMode .wcBracketTeam>.teamMini,
body.worldCupMode .wcBracketTeam>span{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body.worldCupMode .v96BracketScore{margin-left:auto!important;flex:0 0 auto!important}
body.worldCupMode .v96BracketScore{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:20px!important;height:19px!important;padding:0 4px!important;border-radius:6px!important;background:#e7f0f6!important;color:#133f5d!important;font-size:9px!important;font-weight:1000!important;font-variant-numeric:tabular-nums!important}
body.worldCupMode .wcBracketTeam.v96Winner .v96BracketScore{background:#d8f0e2!important;color:#17653f!important}
body.worldCupMode .v96BracketNote{display:block;margin-top:4px;padding-top:3px;border-top:1px dashed #d8e3eb;color:#6b8294;font-size:7px;font-weight:900;text-align:center;white-space:normal}

/* Final summary: vertical cards so every player and every preseason coupon fits. */
.v96SeasonSummary{margin:10px 0 4px;padding:10px;border:1px solid #bfd4e3;border-radius:15px;background:linear-gradient(180deg,#fbfdff,#edf6fb);color:#173f5d;min-width:0;overflow:hidden}
.v96SeasonSummary>h2{margin:0 0 9px;font-size:16px;line-height:1.2}
.v96SeasonPlayers{display:grid;gap:9px;min-width:0}
.v96PlayerSummary{border:1px solid #d2e1eb;border-radius:13px;background:#fff;overflow:hidden;min-width:0}
.v96PlayerSummary.v96Winner{border-color:#dfb63a;background:#fffaf0}
.v96PlayerHead{display:grid;grid-template-columns:34px minmax(0,1fr);gap:8px;align-items:center;padding:9px 10px;border-bottom:1px solid #e4edf3}
.v96PlayerRank{font-size:20px;font-weight:1000;text-align:center}
.v96PlayerName{min-width:0;font-size:14px;font-weight:1000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v96PlayerMetrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:8px}
.v96PlayerMetric{min-width:0;padding:7px;border:1px solid #e1eaf1;border-radius:9px;background:#f8fbfd}
.v96PlayerMetric span{display:block;color:#638096;font-size:8px;font-weight:900;line-height:1.2}
.v96PlayerMetric b{display:block;margin-top:2px;color:#173f5d;font-size:11px;line-height:1.2;overflow-wrap:anywhere}
.v96PreTitle{padding:0 9px 6px;color:#375c75;font-size:10px;font-weight:1000}
.v96PreCoupons{display:grid;gap:6px;padding:0 8px 9px;min-width:0}
.v96PreCoupon{border:1px solid #dce7ee;border-radius:10px;background:#f9fcfe;padding:7px;min-width:0}
.v96PreCoupon.won{border-color:#8bc8a5;background:#f1fbf5}.v96PreCoupon.lost{border-color:#dda0aa;background:#fff4f5}
.v96PreCouponTop{display:flex;align-items:center;justify-content:space-between;gap:7px;min-width:0;font-size:9px;font-weight:1000}
.v96PreCouponTop b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v96PreCouponTop strong{flex:0 0 auto}
.v96PreSelections{display:grid;gap:4px;margin-top:5px}
.v96PreSelection{display:grid;grid-template-columns:auto minmax(0,1fr);gap:5px;align-items:start;padding-top:4px;border-top:1px solid rgba(120,150,170,.18);font-size:8px;line-height:1.3;min-width:0}
.v96PreSelection:first-child{border-top:0;padding-top:0}.v96PreSelection span:last-child{min-width:0;overflow-wrap:anywhere}
.v96NoCoupon{color:#7790a2;font-size:9px}
body.worldCupMode .wcWeekSummaryCard .body{max-height:520px!important;overflow:auto!important;overflow-x:hidden!important}
body.worldCupMode #weekBox,body.worldCupMode #modalBody{min-width:0!important;overflow-x:hidden!important}

@media(max-width:1450px){
  body.worldCupMode .wcBracketRound{padding:4px!important}
  body.worldCupMode .wcBracketMatch{padding:4px 3px!important;font-size:7.5px!important}
  body.worldCupMode .wcBracketTeam{gap:3px!important}
  body.worldCupMode .wcBracketTeam .teamLogo.nationalFlag{width:20px!important;height:14px!important;min-width:20px!important}
  body.worldCupMode .v96BracketScore{min-width:18px!important;height:18px!important;font-size:8px!important}
}
@media(max-width:760px){
  body.worldCupMode .wcBracket{grid-template-columns:1fr!important;overflow:visible!important}
  .v96PlayerMetrics{grid-template-columns:1fr!important}
}
