/* GreenScoreLive / Match Center DARK PREMIUM V3
   Scoped to match.php. No match data, routing or tab logic is modified. */
body.gs-match-premium{--dp-bg:#080e12;--dp-card:#111c22;--dp-card2:#15242a;--dp-line:#26383d;--dp-text:#eff8f3;--dp-muted:#9eb3aa;--dp-accent:#49e39b;--dp-ink:#eff8f3;background:radial-gradient(ellipse 75% 480px at 50% 0,#173c32 0,transparent 80%),#080e12!important;color:var(--dp-text)!important;color-scheme:dark}
body.gs-match-premium main.wrap{max-width:1380px!important;padding-top:24px!important}
body.gs-match-premium main.wrap>.back{background:transparent!important;border:1px solid #304b43!important;border-radius:99px!important;color:#b6d2c2!important;padding:10px 16px!important;margin:0 0 20px!important}
body.gs-match-premium main.wrap>.back:hover{background:#1a322b!important;color:white!important}
body.gs-match-premium #detail .match-hero{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;overflow:visible!important}
/* Full-bleed stadium-like score area, not the old white score card */
body.gs-match-premium #detail .match-hero-top{background:#11271f!important;border:1px solid #345647!important;border-bottom:0!important;border-radius:26px 26px 0 0!important;padding:19px 34px!important;min-height:66px!important}
body.gs-match-premium #detail .match-hero-top .eyebrow{color:#b9f5d1!important;font-size:12px!important;letter-spacing:.07em!important;text-decoration:none!important}
body.gs-match-premium #detail .match-date{color:#c6dbcf!important;font-size:12px!important}
body.gs-match-premium #detail .detail-teams{position:relative;isolation:isolate;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(160px,230px) minmax(0,1fr)!important;gap:20px!important;align-items:center!important;background:radial-gradient(ellipse at 50% 0,#285c44 0%,#142e28 47%,#0e1e20 100%)!important;border:1px solid #345647!important;border-top:0!important;border-bottom:0!important;padding:55px 50px 32px!important}
body.gs-match-premium #detail .detail-teams:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,transparent 0 49.85%,#ffffff12 50%,transparent 50.15%),radial-gradient(circle at center,#ffffff08 0 110px,transparent 112px);pointer-events:none}
body.gs-match-premium #detail .detail-team,body.gs-match-premium #detail .detail-team:first-child,body.gs-match-premium #detail .detail-team:last-child{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:17px!important;padding:0!important;background:none!important;color:#f7fff9!important;text-align:center!important;transform:none!important}
body.gs-match-premium #detail .detail-team img{width:112px!important;height:112px!important;object-fit:contain!important;filter:drop-shadow(0 14px 15px #0008)!important}
body.gs-match-premium #detail .detail-team strong{font-size:clamp(17px,2vw,26px)!important;font-weight:850!important;letter-spacing:-.035em!important;color:#fff!important;line-height:1.2!important;max-width:310px}
body.gs-match-premium #detail .detail-score{color:#fff!important;font-size:clamp(44px,5.3vw,78px)!important;font-weight:900!important;line-height:1!important;letter-spacing:-.07em!important;gap:13px!important;text-shadow:0 5px 28px #0006!important}
body.gs-match-premium #detail .detail-score-live{color:#f9fdfb!important}
body.gs-match-premium #detail .detail-score .status-pill{background:#244a39!important;color:#a8ffcf!important;border:1px solid #478e67!important;border-radius:100px!important;padding:9px 17px!important;font-size:11px!important;letter-spacing:.08em!important;text-transform:uppercase!important;box-shadow:none!important;margin:0 auto!important}
body.gs-match-premium #detail .detail-score .status-pill-live{background:#5a2432!important;border-color:#bc5d73!important;color:#ffe6ea!important}
body.gs-match-premium #detail .detail-period{color:#9bffbf!important}
body.gs-match-premium #detail .detail-sub{background:#0e1e20!important;border:1px solid #345647!important;border-top:0!important;border-radius:0 0 26px 26px!important;color:#a4c2b2!important;padding:10px 14px 24px!important;font-size:12px!important}
/* App workspace */
body.gs-match-premium #detail .gs-center-layout{display:grid!important;grid-template-columns:minmax(0,1fr) 306px!important;gap:20px!important;margin-top:24px!important;align-items:start!important}
body.gs-match-premium #detail .gs-center-primary{min-width:0!important;background:var(--dp-card)!important;border:1px solid var(--dp-line)!important;border-radius:22px!important;overflow:visible!important;box-shadow:0 18px 55px #0004!important}
body.gs-match-premium #detail .gs-nav-strip{background:#111c22!important;border:0!important;border-bottom:1px solid #2b4445!important;border-radius:22px 22px 0 0!important;min-height:70px!important}
body.gs-match-premium #detail .gs-nav-strip .tabs{background:transparent!important;border:0!important;gap:5px!important;padding:9px 12px!important}
body.gs-match-premium #detail .gs-nav-strip .tabs button{border:1px solid transparent!important;border-radius:11px!important;background:transparent!important;color:#9db7ac!important;font-size:12px!important;font-weight:800!important;min-height:48px!important;padding:12px 16px!important;box-shadow:none!important}
body.gs-match-premium #detail .gs-nav-strip .tabs button[aria-selected=true]{background:#214b3b!important;border:1px solid #397e5b!important;color:#aaffd0!important;box-shadow:inset 0 0 0 1px #ffffff09!important}
body.gs-match-premium #detail .gs-nav-strip .tabs button:hover{background:#1c3230!important;color:#fff!important}
body.gs-match-premium #detail .gs-more-tabs{border:0!important;padding:8px 12px!important}
body.gs-match-premium #detail .gs-more-tabs summary.gs-more-trigger{background:#1e3832!important;border:1px solid #3b6454!important;color:#d7f7e3!important;min-height:45px!important;border-radius:12px!important}
body.gs-match-premium #detail .gs-more-list{background:#17272a!important;border:1px solid #39584e!important;box-shadow:0 20px 50px #0009!important}
body.gs-match-premium #detail .gs-more-option{background:#213538!important;color:#d8e9e0!important}
body.gs-match-premium #detail .gs-more-option[aria-current=true]{background:#235c42!important;color:#baffd4!important}
body.gs-match-premium #detail .panel{background:var(--dp-card)!important;color:var(--dp-text)!important;border-radius:0 0 22px 22px!important;padding:30px 34px 38px!important;min-height:340px!important}
body.gs-match-premium #detail .panel h2,body.gs-match-premium #detail .panel h3,body.gs-match-premium #detail .panel h4{color:#f1faf4!important}
body.gs-match-premium #detail .gs-summary-intro{background:transparent!important;border:0!important;border-bottom:1px solid #294039!important;border-radius:0!important;margin:0 0 25px!important;padding:0 0 24px!important;color:#f6fff8!important}
body.gs-match-premium #detail .gs-summary-intro .gs-kicker{color:#6af0a7!important;font-size:11px!important}
body.gs-match-premium #detail .gs-summary-intro h3{font-size:clamp(24px,3vw,35px)!important;letter-spacing:-.05em!important;margin:9px 0!important}
body.gs-match-premium #detail .gs-summary-intro p{color:#a9c2b6!important;font-size:13px!important;line-height:1.65!important}
/* Avoid duplicated overview metadata: same facts are in the right rail; keep them on mobile. */
@media(min-width:901px){body.gs-match-premium #detail .panel[data-kind="summary"]>.gs-facts-grid{display:none!important}}
body.gs-match-premium #detail .gs-facts-grid{gap:12px!important}
body.gs-match-premium #detail .gs-fact,body.gs-match-premium #detail .gs-highlight,body.gs-match-premium #detail .gs-insight-card,body.gs-match-premium #detail .stat-category,body.gs-match-premium #detail .lineup-col,body.gs-match-premium #detail .gs-lineup-roster,body.gs-match-premium #detail .gs-tv-card,body.gs-match-premium #detail .gs-news-card,body.gs-match-premium #detail .gs-commentary-item,body.gs-match-premium #detail .gs-perf-list,body.gs-match-premium #detail .gs-analysis-empty{background:#17272c!important;border:1px solid #30464a!important;color:#e8f5ed!important;box-shadow:none!important;border-radius:14px!important}
body.gs-match-premium #detail .gs-fact span,body.gs-match-premium #detail .gs-center-info-row span,body.gs-match-premium #detail .gs-highlight small{color:#91aea1!important}
body.gs-match-premium #detail .gs-fact strong,body.gs-match-premium #detail .gs-fact a,body.gs-match-premium #detail .gs-highlight strong{color:#f2fcf5!important}
body.gs-match-premium #detail .gs-summary-section{border-color:#2c4340!important}
body.gs-match-premium #detail .gs-summary-section h3{font-size:18px!important}
body.gs-match-premium #detail .empty{background:#16272b!important;border:1px dashed #38534c!important;color:#adc2b7!important;border-radius:15px!important}
body.gs-match-premium #detail .gs-summary-stat-top span,body.gs-match-premium #detail .stat-values span,body.gs-match-premium #detail .gs-momentum-note,body.gs-match-premium #detail .gs-lineup-note{color:#a3b9af!important}
body.gs-match-premium #detail .gs-summary-stat-top b,body.gs-match-premium #detail .stat-values strong{color:#f1fff6!important}
body.gs-match-premium #detail .gs-center-aside{display:grid!important;gap:16px!important}
body.gs-match-premium #detail .gs-center-sidecard{background:#121f24!important;border:1px solid #2d4545!important;border-radius:19px!important;padding:23px!important;box-shadow:0 12px 35px #0003!important}
body.gs-match-premium #detail .gs-center-sidecard h3{color:#f1fff6!important;font-size:15px!important;margin:0 0 17px!important}
body.gs-match-premium #detail .gs-center-info-row{border-color:#2c4140!important;padding:14px 0!important}
body.gs-match-premium #detail .gs-center-info-row strong,body.gs-match-premium #detail .gs-center-info-row a{color:#e7f8ee!important;font-size:13px!important}
body.gs-match-premium #detail .gs-center-quick{background:#1b3530!important;border:1px solid #315a49!important;color:#b5f5cf!important;border-radius:11px!important;padding:13px!important}
body.gs-match-premium #detail .gs-center-quick:hover{background:#275340!important}
body.gs-match-premium #detail .gs-unified-section-banner{background:linear-gradient(110deg,#143b30,#1c453a)!important;border:1px solid #346b51!important;border-radius:16px!important;color:white!important}
body.gs-match-premium #detail .gs-unified-section-banner h2,body.gs-match-premium #detail .gs-unified-section-banner p{color:#e4f7ea!important}
body.gs-match-premium #detail a.gs-profile-link,body.gs-match-premium #detail a.gs-team-profile-link,body.gs-match-premium #detail a.gs-league-profile-link,body.gs-match-premium #detail a.gs-venue-profile-link{color:#9cf2c0!important}
body.gs-match-premium #detail .detail-team.gs-team-profile-link{color:#fff!important}
body.gs-match-premium #detail .gs-standings-holder,body.gs-match-premium #detail .gs-standings-table{background:#142329!important;border-color:#2b4141!important}
body.gs-match-premium #detail .gs-standings-row{border-color:#2b4141!important;color:#e8f5ee!important}
body.gs-match-premium #detail .gs-standings-header,body.gs-match-premium #detail .gs-standings-current{background:#204336!important}
body.gs-match-premium #detail .gs-perf-row,body.gs-match-premium #detail .gs-perf-detail,body.gs-match-premium #detail .gs-odds-row{background:#17282b!important;color:#edf8f1!important;border-color:#304a44!important}
body.gs-match-premium #detail .gs-perf-row:hover{background:#234137!important}
body.gs-match-premium #detail .gs-perf-hero{background:linear-gradient(110deg,#1b4535,#142d2b)!important;border-color:#37694f!important}
body.gs-match-premium #detail .gs-perf-hero-label{color:#8ff0b9!important}
body.gs-match-premium #detail .gs-perf-tab,body.gs-match-premium #detail .gs-player-select,body.gs-match-premium #detail .gs-stat-filter,body.gs-match-premium #detail .gs-fact-filter{background:#1c3031!important;border:1px solid #38534c!important;color:#d4f0df!important}
body.gs-match-premium #detail .gs-perf-tab[aria-pressed=true],body.gs-match-premium #detail .gs-stat-filter[aria-pressed=true],body.gs-match-premium #detail .gs-fact-filter[aria-pressed=true]{background:#246745!important;color:white!important}
body.gs-match-premium #detail .gs-pitch{border-color:#376c4b!important}
body.gs-match-premium #detail .gs-odds-cell,body.gs-match-premium #detail .gs-player-stat{background:#20373a!important;border-color:#3a5850!important}
body.gs-match-premium #detail .gs-odds-cell strong,body.gs-match-premium #detail .gs-player-stat strong{color:#f2fff6!important}
body.gs-match-premium #detail .gs-commentary-body p,body.gs-match-premium #detail .gs-news-card p{color:#aec5b9!important}
body.gs-match-premium main.wrap>footer{color:#77978a!important}
@media(max-width:900px){body.gs-match-premium #detail .gs-center-layout{grid-template-columns:1fr!important}body.gs-match-premium #detail .gs-center-aside{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}body.gs-match-premium #detail .detail-teams{grid-template-columns:minmax(0,1fr) 140px minmax(0,1fr)!important;padding:38px 20px 25px!important}body.gs-match-premium #detail .detail-team img{width:78px!important;height:78px!important}}
@media(max-width:650px){body.gs-match-premium main.wrap{padding:12px 9px 100px!important}body.gs-match-premium #detail .match-hero-top{padding:13px 13px!important;border-radius:17px 17px 0 0!important;min-height:50px!important}body.gs-match-premium #detail .match-hero-top .eyebrow,body.gs-match-premium #detail .match-date{font-size:10px!important}body.gs-match-premium #detail .detail-teams{grid-template-columns:minmax(0,1fr) minmax(88px,.7fr) minmax(0,1fr)!important;gap:5px!important;padding:31px 8px 19px!important}body.gs-match-premium #detail .detail-team{gap:10px!important}body.gs-match-premium #detail .detail-team img{width:54px!important;height:54px!important}body.gs-match-premium #detail .detail-team strong{font-size:12px!important;line-height:1.25!important}body.gs-match-premium #detail .detail-score{font-size:30px!important;gap:9px!important}body.gs-match-premium #detail .detail-score .status-pill{font-size:9px!important;padding:7px 9px!important}body.gs-match-premium #detail .detail-sub{border-radius:0 0 17px 17px!important;padding:5px 9px 16px!important;font-size:10px!important}body.gs-match-premium #detail .gs-center-layout{margin-top:12px!important;gap:12px!important}body.gs-match-premium #detail .gs-center-primary{border-radius:16px!important}body.gs-match-premium #detail .gs-nav-strip{border-radius:16px 16px 0 0!important;min-height:55px!important}body.gs-match-premium #detail .gs-nav-strip .tabs{padding:6px!important}body.gs-match-premium #detail .gs-nav-strip .tabs button{min-height:43px!important;padding:10px 12px!important;font-size:11px!important}body.gs-match-premium #detail .gs-more-tabs{padding:5px!important}body.gs-match-premium #detail .gs-more-tabs summary.gs-more-trigger{min-height:39px!important}body.gs-match-premium #detail .panel{padding:21px 14px 26px!important;min-height:260px!important;border-radius:0 0 16px 16px!important}body.gs-match-premium #detail .gs-center-aside{grid-template-columns:1fr!important}body.gs-match-premium #detail .gs-center-sidecard{padding:18px!important}body.gs-match-premium #detail .gs-center-sidecard:last-child{display:none!important}body.gs-match-premium #detail .gs-facts-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:360px){body.gs-match-premium #detail .detail-teams{grid-template-columns:minmax(0,1fr) 78px minmax(0,1fr)!important}body.gs-match-premium #detail .detail-team img{width:43px!important;height:43px!important}body.gs-match-premium #detail .detail-score{font-size:25px!important}}
@media(prefers-reduced-motion:reduce){body.gs-match-premium #detail *{transition:none!important;scroll-behavior:auto!important}}
