/* SG 2.2.190 — Diretta-style compact score rows + contextual SerieAGoal features */
.sg-match-row-wrap>.sg-match-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 118px!important;
  gap:0!important;
  align-items:stretch!important;
  min-height:64px!important;
  padding-top:0!important;
  padding-bottom:0!important;
  padding-right:8px!important;
}
.sg-match-main-link{
  display:grid!important;
  grid-template-columns:70px minmax(0,1fr)!important;
  align-items:center!important;
  min-width:0!important;
  color:inherit!important;
  text-decoration:none!important;
  padding:5px 0!important;
}
.sg-match-main-link:hover{color:inherit!important}
.sg-match-main-link .sg-match-status{
  justify-content:flex-start!important;
  text-align:left!important;
  padding-left:8px!important;
  padding-right:8px!important;
  font-size:10px!important;
  line-height:1.05!important;
  white-space:nowrap!important;
}
.sg-match-main-link .sg-match-status.live{font-weight:900!important}
.sg-match-main-link .sg-match-status i{width:5px!important;height:5px!important;flex:0 0 5px!important}
.sg-match-main-link .sg-match-teams{gap:3px!important}
.sg-match-main-link .sg-match-teams>div{
  grid-template-columns:24px minmax(0,1fr) 28px!important;
  gap:7px!important;
  min-height:25px!important;
}
.sg-match-main-link .sg-match-teams b{
  justify-self:end!important;
  min-width:22px!important;
  font-size:12px!important;
  padding-right:2px!important;
}
.sg-match-feature-zone{
  min-width:118px!important;
  display:grid!important;
  grid-template-columns:1px minmax(0,1fr)!important;
  align-items:center!important;
  gap:8px!important;
  padding:9px 0 9px 8px!important;
}
.sg-match-feature-separator{width:1px!important;height:34px!important;background:var(--sg-line)!important;display:block!important}
.sg-match-features{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:7px!important;min-width:0!important}
.sg-match-feature{
  width:22px!important;height:22px!important;min-width:22px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  gap:3px!important;border:0!important;background:transparent!important;color:var(--sg-muted)!important;
  text-decoration:none!important;border-radius:5px!important;position:relative!important;
}
.sg-match-feature:hover{color:var(--sg-text)!important;background:var(--sg-surface-2)!important}
.sg-match-feature.is-prediction{color:var(--sg-accent)!important}
.sg-match-feature.is-radio{width:auto!important;min-width:22px!important}
.sg-match-feature.is-radio b{font-size:7px!important;line-height:1!important;font-weight:950!important;letter-spacing:.04em;color:var(--sg-live)!important}
.sg-match-feature.is-tv .sg-svg,.sg-match-feature.is-lineup .sg-svg,.sg-match-feature.is-radio .sg-svg{stroke-width:1.65!important}

/* Goal feedback: entire row soft-red, 5s smaller/slower pulse, then GOAL for 10s. */
.sg-match-row.sg-goal-row,
.sg-match-row.sg-goal-confirmed,
.sg-page-home .sg-match-row.sg-goal-row,
.sg-page-home .sg-match-row.sg-goal-confirmed,
.sg-page-preferiti .sg-match-row.sg-goal-row,
.sg-page-preferiti .sg-match-row.sg-goal-confirmed{
  background:color-mix(in srgb,var(--sg-live) 11%,var(--sg-surface))!important;
  transition:background .18s ease!important;
}
.sg-match-row.sg-goal-row .sg-match-status,
.sg-match-row.sg-goal-confirmed .sg-match-status{color:var(--sg-live)!important}
.sg-goal-signal,.sg-page-home .sg-goal-signal,.sg-page-preferiti .sg-goal-signal{
  right:31px!important;
}
.sg-goal-signal.is-pending,.sg-page-home .sg-goal-signal.is-pending,.sg-page-preferiti .sg-goal-signal.is-pending{
  width:6px!important;height:6px!important;border-radius:50%!important;background:var(--sg-live)!important;
  animation:sgGoalDotSlow 1.05s ease-in-out infinite!important;box-shadow:none!important;
}
.sg-goal-signal.is-goal,.sg-page-home .sg-goal-signal.is-goal,.sg-page-preferiti .sg-goal-signal.is-goal{
  color:var(--sg-live)!important;font-size:9px!important;font-weight:950!important;letter-spacing:.055em!important;
  background:transparent!important;animation:sgGoalPopClean .24s ease-out both!important;
}
@keyframes sgGoalDotSlow{0%,100%{opacity:.35;transform:translateY(-50%) scale(.82)}50%{opacity:1;transform:translateY(-50%) scale(1)}}

@media(max-width:760px){
  .sg-match-row-wrap>.sg-match-row{grid-template-columns:minmax(0,1fr) 92px!important;padding-right:4px!important}
  .sg-match-main-link{grid-template-columns:62px minmax(0,1fr)!important}
  .sg-match-main-link .sg-match-status{padding-left:5px!important;padding-right:6px!important;font-size:9px!important}
  .sg-match-feature-zone{min-width:92px!important;gap:5px!important;padding-left:5px!important}
  .sg-match-feature-separator{height:31px!important}
  .sg-match-features{gap:3px!important}
  .sg-match-feature{width:19px!important;height:19px!important;min-width:19px!important}
  .sg-match-feature .sg-svg{width:15px!important;height:15px!important}
  .sg-match-feature.is-radio b{display:none!important}
}
.sg-match-row>.sg-match-row-meta{grid-column:1/-1!important;margin:5px 0 0!important}
