/* V172: large match poster and lighter local-provider rows. */
#result .match-hero{position:relative;display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto minmax(145px,1fr) auto auto auto;align-items:center;min-height:370px!important;padding:24px 38px 22px!important;background:linear-gradient(95deg,#dfcaf2c7,#ffffffed 43%,#fffffff0 58%,#ffdce6b5),url('/assets/home-stadium-v168.png') center 52%/cover!important}
#result .competition-lockup{grid-row:1;grid-column:1;margin:0 auto 4px!important}
#result .competition-logo{width:60px!important;height:60px!important}
#result #matchName{grid-row:2;grid-column:1;width:100%;max-width:none!important;margin:0!important;min-height:145px!important;font-size:clamp(24px,2.8vw,42px)!important;gap:30px!important;grid-template-columns:minmax(0,1fr) 66px minmax(0,1fr)!important}
#result #matchName .team-logo-stack{width:130px!important;max-width:130px!important;flex:0 0 130px!important}
#result #matchName .team-crest{width:130px!important;height:130px!important}
#result #matchName .team-rank-note{font-size:14px!important}
#result #matchName .match-vs{width:66px!important;font-size:30px!important;transform:none!important}
#result #scoreSpoiler{grid-row:3;grid-column:1;position:relative!important;inset:auto!important;transform:none!important;justify-self:center;margin:0 0 6px!important;min-height:42px}
#result #dateLine{grid-row:4;grid-column:1;margin:6px 0 0!important;font-size:15px!important}
#result #heroInsights{grid-row:5;grid-column:1;margin-top:10px!important;font-size:14px!important}
#result .hero-share{position:absolute;top:16px;right:18px;z-index:6;width:min(280px,45%);max-width:none;margin:0!important;display:flex;flex-direction:column;align-items:flex-end;gap:6px;grid-column:auto}
#result #shareMatch{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:9px 13px;background:#ffffffd9;border:1px solid #dce3ed;border-radius:10px;color:#15384d;font-size:14px;box-shadow:0 2px 8px #173c5510}
#result #shareMatch svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7}
#result #shareMatch:disabled{opacity:.55;cursor:not-allowed}
#result #shareMatchStatus:empty{display:none}
#result #shareMatchStatus{padding:5px 8px;border-radius:6px;background:#fff;font-size:13px;color:#274a5d;text-align:right}
#result #shareMatchUrl{width:100%;background:#fff;font-size:14px}
#result .country-heading-row{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:16px}
#result #countryHeading{font-size:22px;margin:0 0 6px}
#result #countryMatchTitle{margin:0;color:#4d6577;font-size:14px;line-height:1.5}
#result .country-change{font-size:14px;min-height:42px;padding:8px 0;margin:0;flex:0 0 auto}
#result .country-summary{margin:0 0 12px;font-size:13px}
#result .country-summary span{padding:5px 9px;background:#f1f6f8}
#result .country-provider-compact{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px 20px;margin:10px 0;padding:14px 16px;border:1px solid #dce6ec;border-radius:12px;box-shadow:none}
#result .country-provider-compact .provider-identity{grid-column:1;grid-row:1;gap:16px}
#result .country-provider-compact .provider-logo{width:90px;height:58px;flex:0 0 90px;padding:6px;border-radius:8px}
#result .country-provider-compact .provider-logo img{max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain;padding:0}
#result .country-provider-compact h3{font-size:17px;line-height:1.4;overflow-wrap:anywhere}
#result .country-provider-compact .country-status{grid-column:2;grid-row:1;display:inline-block;padding:6px 10px;border-radius:7px;font-size:13px;font-weight:650;line-height:1.4;white-space:nowrap}
#result .country-provider-compact .rank-2{color:#157443;background:#edf8f1}
#result .country-provider-compact .rank-1,#result .country-provider-compact .rank-0{color:#86611a;background:#fff5e3}
#result .country-provider-compact .country-destination{grid-column:3;grid-row:1;align-self:center}
#result .country-provider-compact .country-destination .open{display:inline-flex;align-items:center;justify-content:center;min-height:42px;margin:0;padding:9px 13px;border:1px solid #bfdae0;border-radius:8px;background:#f0f8f8;color:#0e6870;font-size:14px;white-space:nowrap;box-shadow:none}
#result .country-provider-details{grid-column:1/-1;margin:0;border:0;background:none}
#result .country-provider-details>summary{width:fit-content;min-height:36px;padding:8px 0;color:#386b7a;font-size:13px;line-height:1.5;cursor:pointer}
#result .country-provider-details[open]>summary{font-weight:650}
#result .country-provider-details-body{padding:12px 14px;border-radius:8px;background:#f5f8fa;color:#425f70}
#result .country-provider-details-body p{margin:0 0 8px!important}
#result .country-provider-details-body small{display:block;margin:6px 0;font-size:12px}
#result .country-evidence{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:8px;font-size:13px;overflow-wrap:anywhere}
#result .match-did-you-know{background:linear-gradient(125deg,#e9f7f2,#eef5fc);border-color:#d5e8e5}
#result .match-did-you-know h2{font-size:17px;margin-bottom:12px}
#result .match-did-you-know p{font-size:14px;color:#35576c;line-height:1.7;margin:0 0 10px}
#result .match-did-you-know p:last-child{margin-bottom:0}
#result .result-upcoming{margin-top:22px;padding:20px;border:1px solid #dce7ec;border-radius:16px;background:#fff}
#result .result-upcoming-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px}
#result .result-upcoming-head h2{font-size:21px;line-height:1.4;margin:0;color:#12364e}
#result #resultBackToProgram{display:inline-flex;gap:10px;align-items:center;min-height:42px;padding:9px 13px;border:1px solid #bdd6e0;border-radius:9px;background:#fff;color:#176778;font:inherit;font-size:14px;cursor:pointer}
#result .result-upcoming-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
#result .result-fixture{display:flex;flex-direction:column;gap:18px;padding:16px;min-width:0;border:1px solid #dbe6ec;border-radius:12px;background:linear-gradient(#fff,#f9fcfc);font:inherit;color:#15384f;text-align:left;cursor:pointer}
#result .result-fixture:hover{border-color:#79bca6;background:#f4fbf7}
#result .result-fixture-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:12px;color:#466374}
#result .result-fixture-meta time{padding:5px 8px;border-radius:6px;background:#eef8f3;color:#167650}
#result .result-fixture-teams{display:grid;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);align-items:center;gap:10px}
#result .result-fixture-teams>span{display:flex;flex-direction:column;align-items:center;gap:9px;text-align:center;min-width:0}
#result .result-fixture-teams img{width:52px;height:52px;object-fit:contain}
#result .result-fixture-teams strong{font-size:14px;line-height:1.4;overflow-wrap:anywhere}
#result .result-fixture-teams>i{font-size:13px;font-style:normal;text-align:center;color:#7b919d}
#result .result-fixture-cta{margin-top:auto;align-self:center;font-size:14px;color:#098365}
#result .result-upcoming-empty{grid-column:1/-1;font-size:14px;color:#4d6577;line-height:1.6;margin:0;padding:12px}
@media(max-width:1000px){
  #result .match-hero{padding:24px 24px 20px!important}
  #result #matchName{gap:16px!important;font-size:clamp(24px,3.2vw,34px)!important}
  #result #matchName .team-unit{gap:14px!important}
  #result #matchName .team-logo-stack{width:105px!important;max-width:105px!important;flex-basis:105px!important}
  #result #matchName .team-crest{width:105px!important;height:105px!important}
}
@media(max-width:760px){
  #result .match-hero{min-height:370px!important;padding:24px 14px 20px!important;grid-template-rows:auto minmax(160px,1fr) auto auto auto}
  #result .competition-logo{width:46px!important;height:46px!important}
  #result #matchName{min-height:160px!important;font-size:clamp(19px,4.7vw,27px)!important;gap:10px!important;grid-template-columns:minmax(0,1fr) 36px minmax(0,1fr)!important}
  #result #matchName .team-unit,#result #matchName .team-away{flex-direction:column!important;text-align:center!important;gap:10px!important}
  #result #matchName .team-logo-stack{width:88px!important;max-width:88px!important;flex:0 0 auto!important}
  #result #matchName .team-crest{width:88px!important;height:88px!important}
  #result #matchName .match-vs{width:36px!important;font-size:24px!important}
  #result #dateLine{font-size:14px!important}
  #result .hero-share{top:12px;right:12px}
  #result #shareMatch{min-height:40px;padding:8px 10px;font-size:13px}
  #result .country-heading-row{align-items:flex-start;flex-wrap:wrap;gap:8px}
  #result .country-provider-compact{grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:12px}
  #result .country-provider-compact .provider-identity{gap:10px}
  #result .country-provider-compact .provider-logo{width:62px;height:48px;flex-basis:62px}
  #result .country-provider-compact h3{font-size:16px}
  #result .country-provider-compact .country-status{grid-column:2;grid-row:1;font-size:12px;padding:5px 7px}
  #result .country-provider-compact .country-destination{grid-column:1/-1;grid-row:2}
  #result .country-provider-compact .country-destination .open{width:100%}
  #result .country-provider-details{grid-row:3}
  #result .result-upcoming{padding:16px 12px}
  #result .result-upcoming-head{align-items:flex-start;flex-wrap:wrap}
  #result .result-upcoming-cards{grid-template-columns:minmax(0,1fr)}
  #result .result-fixture{gap:14px}
  #result .result-fixture-teams img{width:46px;height:46px}
}
