/* GreenScoreLive match detail visual refinement - isolated to match.php */
body.gs-match-premium{--gsp-ink:#17372a;--gsp-green:#136b43;--gsp-border:#e2ebe5;--gsp-soft:#f5f9f6;background:#f5f8f6;color:var(--gsp-ink)}
.gs-match-premium main.wrap{padding-top:18px;padding-bottom:44px}
.gs-match-premium main.wrap>.back{display:inline-flex;align-items:center;gap:7px;margin:0 0 17px;padding:9px 13px;border:1px solid var(--gsp-border);border-radius:11px;background:#fff;color:#315c44;text-decoration:none;font-size:12px;font-weight:750;transition:background .2s,border-color .2s}
.gs-match-premium main.wrap>.back:hover{background:#eaf5ed;border-color:#bedac8}
.gs-match-premium #detail{min-width:0}
.gs-match-premium #detail .match-hero{overflow:hidden;border:1px solid var(--gsp-border);border-radius:22px;background:#fff;box-shadow:0 12px 38px rgba(15,55,34,.065)}
.gs-match-premium #detail .match-hero-top{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:17px 23px;border-bottom:1px solid rgba(255,255,255,.12)}
.gs-match-premium #detail .match-hero-top .eyebrow{font-weight:850;letter-spacing:.065em}
.gs-match-premium #detail .detail-teams{display:grid;grid-template-columns:minmax(0,1fr) minmax(115px,.72fr) minmax(0,1fr);align-items:center;gap:18px;padding:30px 30px 22px;min-width:0}
.gs-match-premium #detail .detail-team{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;text-decoration:none;transition:transform .2s}
.gs-match-premium #detail .detail-team:hover{transform:translateY(-2px)}
.gs-match-premium #detail .detail-team img{width:78px;height:78px;max-width:100%;object-fit:contain;filter:drop-shadow(0 5px 10px rgba(0,0,0,.07))}
.gs-match-premium #detail .detail-team strong{font-size:clamp(13px,1.6vw,18px);font-weight:850;line-height:1.3;overflow-wrap:anywhere}
.gs-match-premium #detail .detail-score{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;font-variant-numeric:tabular-nums;font-weight:900;letter-spacing:-.035em;line-height:1.1}
.gs-match-premium #detail .detail-score .status-pill{letter-spacing:0;font-size:12px;font-weight:800;border-radius:999px;padding:7px 12px}
.gs-match-premium #detail .detail-period{font-size:11px;font-weight:700;letter-spacing:0}
.gs-match-premium #detail .detail-sub{text-align:center;padding:0 18px 22px;font-size:11px}
.gs-match-premium #detail .tabs{display:flex;align-items:center;gap:7px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scroll-snap-type:x proximity;padding:13px 17px;border-top:1px solid var(--gsp-border);border-bottom:1px solid var(--gsp-border);background:#fbfdfb}
.gs-match-premium #detail .tabs button{flex:0 0 auto;scroll-snap-align:start;white-space:nowrap;min-height:39px;padding:9px 15px;border:1px solid transparent;border-radius:10px;font-size:12px;font-weight:750;transition:background .18s,color .18s,transform .18s,border-color .18s}
.gs-match-premium #detail .tabs button:hover{background:#eaf5ee;color:#155d3b}
.gs-match-premium #detail .tabs button[aria-selected="true"]{background:#146c43!important;color:#fff!important;border-color:#146c43!important;box-shadow:0 3px 9px rgba(20,108,67,.17)}
.gs-match-premium #detail .tabs button:focus-visible{outline:3px solid #53b885;outline-offset:2px}
.gs-match-premium #detail .panel{min-width:0;padding:23px 24px 29px;background:#fff}
.gs-match-premium #detail .gs-unified-section-banner{border-radius:15px;overflow:hidden}
.gs-match-premium #detail .gs-facts-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.gs-match-premium #detail .gs-fact{min-width:0;border:1px solid var(--gsp-border);border-radius:12px;padding:13px 15px;background:#fafcfb}
.gs-match-premium #detail .gs-summary-section{margin-top:24px}
.gs-match-premium #detail .gs-summary-stat,.gs-match-premium #detail .stat-modern-row{border-radius:11px}
.gs-match-premium #detail .gs-pitches,.gs-match-premium #detail .gs-sid-grid{gap:16px}
.gs-match-premium #detail img{max-width:100%}
@media(max-width:767px){
 .gs-match-premium main.wrap{padding-top:11px;padding-bottom:25px}
 .gs-match-premium main.wrap>.back{margin-bottom:11px;font-size:11px;padding:8px 11px}
 .gs-match-premium #detail .match-hero{border-radius:16px}
 .gs-match-premium #detail .match-hero-top{padding:13px 14px;gap:5px}
 .gs-match-premium #detail .match-hero-top .eyebrow{font-size:10px}
 .gs-match-premium #detail .match-hero-top .match-date{font-size:10px}
 .gs-match-premium #detail .detail-teams{grid-template-columns:minmax(0,1fr) minmax(88px,.85fr) minmax(0,1fr);gap:5px;padding:21px 9px 15px}
 .gs-match-premium #detail .detail-team{gap:9px}
 .gs-match-premium #detail .detail-team img{width:52px;height:52px}
 .gs-match-premium #detail .detail-team strong{font-size:12px;line-height:1.3}
 .gs-match-premium #detail .detail-score{gap:8px}
 .gs-match-premium #detail .detail-score .status-pill{font-size:10px;padding:6px 9px;max-width:100%;text-align:center}
 .gs-match-premium #detail .detail-sub{font-size:10px;padding:0 10px 17px}
 .gs-match-premium #detail .tabs{padding:10px 10px;gap:5px}
 .gs-match-premium #detail .tabs button{min-height:37px;padding:9px 12px;font-size:11px;border-radius:9px}
 .gs-match-premium #detail .panel{padding:15px 12px 22px}
 .gs-match-premium #detail .gs-facts-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .gs-match-premium #detail .gs-fact{padding:11px 10px}
}
@media(max-width:360px){.gs-match-premium #detail .detail-team img{width:43px;height:43px}.gs-match-premium #detail .detail-team strong{font-size:11px}.gs-match-premium #detail .detail-teams{grid-template-columns:minmax(0,1fr) 84px minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.gs-match-premium #detail .detail-team,.gs-match-premium #detail .tabs button,.gs-match-premium main.wrap>.back{transition:none}}
