/* SerieAGoal 0.89: native three-column Performance layout and compact titles.
   Uses the site-provided .sg-shell / .sg-sidebar and .sg-content-grid / .sg-right-rail.
   Scope every rule to the two new pages to avoid changing match/news pages. */
.sg-sales.sg-sales-pricing .sg-sales-intro--compact,
.sg-sales.sg-sales-performance .sg-sales-intro--compact{
  margin-bottom:22px;
}
.sg-sales.sg-sales-pricing .sg-sales-intro--compact h1,
.sg-sales.sg-sales-performance .sg-sales-intro--compact h1{
  margin:0 0 9px!important;
  font:800 clamp(23px,2.5vw,31px)/1.22 Manrope,Inter,system-ui,sans-serif!important;
  letter-spacing:-.025em!important;
  color:var(--sgs-text)!important;
}
.sg-sales.sg-sales-pricing .sg-sales-intro--compact p,
.sg-sales.sg-sales-performance .sg-sales-intro--compact p{
  max-width:700px;
  font-size:13px!important;
  line-height:1.6!important;
}
/* The global grid provides the side rail. Do not give the center a full-page width. */
.sg-performance-layout{width:100%;min-width:0;align-items:start;}
.sg-performance-layout > .sg-sales-performance{
  min-width:0;
  width:100%;
  max-width:none;
  margin:0;
  padding:12px 0 54px;
}
.sg-performance-layout > .sg-right-rail{min-width:0;}
.sg-performance-layout .sg-sales-verdict{
  grid-template-columns:minmax(0,1fr);
  gap:12px;
}
.sg-performance-layout .sg-sales-verdict-highlight{
  min-width:0;
  border-radius:18px;
  padding:24px;
}
.sg-performance-layout .sg-sales-verdict-highlight > strong{
  font-size:clamp(45px,5vw,67px)!important;
}
.sg-performance-layout .sg-sales-verdict-stats{
  min-height:0;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
}
.sg-performance-layout .sg-sales-verdict-stats article{
  min-width:0;
  border-radius:12px;
  padding:14px 10px;
}
.sg-performance-layout .sg-sales-verdict-stats strong{
  font-size:clamp(22px,2.25vw,32px);
}
.sg-performance-layout .sg-sales-verdict-stats small{font-size:10px;}
.sg-performance-layout .sg-sales-block{
  min-width:0;
  border-radius:17px;
  padding:clamp(15px,2vw,22px);
}
.sg-performance-layout .sg-sales-block-head h2{
  font-size:clamp(17px,1.8vw,21px)!important;
}
.sg-performance-layout .sg-sales-block-head{align-items:flex-start;}
.sg-performance-layout .sg-sales-trend-item{
  grid-template-columns:minmax(80px,120px) minmax(0,1fr) 56px;
  gap:9px;
}
.sg-performance-layout .sg-sales-league{
  grid-template-columns:minmax(0,1fr) 63px 57px;
  gap:8px;
}
.sg-performance-layout .sg-sales-history-row{
  grid-template-columns:minmax(0,1fr) 43px 90px;
  gap:8px;
}
.sg-performance-layout .sg-sales-history-row .sg-sales-outcome{font-size:10px;}
@media(max-width:1120px){
  .sg-performance-layout .sg-sales-verdict-stats{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:700px){
  .sg-sales.sg-sales-pricing .sg-sales-intro--compact h1,
  .sg-sales.sg-sales-performance .sg-sales-intro--compact h1{
    font-size:24px!important;
  }
  .sg-performance-layout > .sg-sales-performance{padding:17px 7px 42px;}
  .sg-performance-layout .sg-sales-verdict-highlight{padding:21px;}
  .sg-performance-layout .sg-sales-verdict-stats{grid-template-columns:repeat(2,minmax(0,1fr));}
  .sg-performance-layout .sg-sales-trend-item{grid-template-columns:78px minmax(0,1fr) 50px;gap:7px;}
  .sg-performance-layout .sg-sales-league{grid-template-columns:minmax(0,1fr) 58px 53px;gap:6px;}
  .sg-performance-layout .sg-sales-history-row{grid-template-columns:minmax(0,1fr) 42px 83px;gap:6px;}
}
