/* SerieAGoal v1.35 · recupero reale e classifica live nel Match Center */
.sg-match-modern-v2225 .sg-clock-extra{display:inline-block;vertical-align:super;margin-left:2px;font-size:.68em;font-weight:850;line-height:1;color:var(--sg-accent,#4165ff)}
.sg-live-table-card{overflow:hidden;min-width:0}
.sg-live-table-card .sg-card-title{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.sg-live-table-card .sg-card-title small{display:flex;align-items:center;gap:6px;font-size:10px;font-weight:750;color:var(--sg-muted,#9197a5);white-space:nowrap}
.sg-live-table-dot{height:7px;width:7px;display:inline-block;border-radius:50%;background:#18ae67;box-shadow:0 0 0 3px rgba(24,174,103,.12)}
.sg-live-table-scroll{overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.sg-live-table-head,.sg-live-table-row{display:grid;grid-template-columns:38px 36px minmax(160px,1fr) 36px 42px 44px;gap:6px;align-items:center;min-width:380px;padding:10px 13px;text-align:center;font-size:11px;border-bottom:1px solid var(--sg-line,rgba(130,143,160,.15))}
.sg-live-table-head{background:var(--sg-surface-2,rgba(100,110,140,.06));font-size:9px;font-weight:850;letter-spacing:.015em;color:var(--sg-muted,#9298a8)}
.sg-live-table-row:hover{background:var(--sg-surface-2,rgba(100,110,140,.06))}
.sg-live-table-row.is-home{background:rgba(57,98,247,.10)}
.sg-live-table-row.is-away{background:rgba(57,98,247,.04)}
.sg-live-table-team{min-width:0;display:flex;align-items:center;gap:9px;text-align:left}
.sg-live-table-team img{height:23px;width:23px;flex:0 0 23px;object-fit:contain}
.sg-live-table-team strong{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:11px;font-weight:750}
.sg-live-table-row>b:last-child{font-size:12px;color:var(--sg-text,#fff)}
.sg-live-table-move{font-size:14px;font-weight:950;line-height:1}
.sg-live-table-move.is-up{color:#17aa67}
.sg-live-table-move.is-down{color:#ef5260}
.sg-live-table-move.is-still{color:var(--sg-muted,#9298a8);font-size:17px}
.sg-live-table-note{margin:0;padding:12px 14px;color:var(--sg-muted,#9096a5);font-size:10.5px;line-height:1.65;border-top:1px solid var(--sg-line,rgba(130,143,160,.15))}
@media(max-width:650px){.sg-live-table-head,.sg-live-table-row{grid-template-columns:29px 28px minmax(120px,1fr) 28px 36px 38px;min-width:340px;padding:9px 8px;gap:4px;font-size:10px}.sg-live-table-team img{height:20px;width:20px;flex-basis:20px}.sg-live-table-card .sg-card-title small{font-size:9px}}

.sg-match-modern-v2225 .sg-cup-aggregate{display:block;border-top:1px solid var(--sg-line,rgba(130,143,160,.2));margin:8px -9px -2px;padding:7px 9px 0;font-size:10px;font-weight:850;color:var(--sg-accent,#4165ff)}
.sg-match-modern-v2225 .sg-cup-aggregate[hidden]{display:none}

/* SerieAGoal v1.36 · SOLO SITO / Match Center
   Minuto LIVE leggermente più grande; +recupero allineato e di identica dimensione.
   Non modifica la lista partite, l'app iOS o i dati di tempo del provider. */
.sg-page-partite .sg-match-modern-v2225 .sg-match-score-center .sg-status-chip.live {
    font-size:11.5px !important;
    font-weight:850;
    padding:5px 9px;
    line-height:1.2;
    gap:5px;
    white-space:nowrap;
    font-variant-numeric:tabular-nums;
}
.sg-page-partite .sg-match-modern-v2225 .sg-match-score-center .sg-status-chip.live [data-sg-live-status-text] {
    display:inline-flex;
    align-items:baseline;
    justify-content:center;
    gap:2px;
    white-space:nowrap;
    font-size:inherit;
    line-height:inherit;
}
.sg-page-partite .sg-match-modern-v2225 .sg-match-score-center .sg-status-chip.live .sg-clock-base,
.sg-page-partite .sg-match-modern-v2225 .sg-match-score-center .sg-status-chip.live .sg-clock-extra {
    display:inline-block;
    font-family:inherit;
    font-size:1em !important;
    font-weight:850;
    font-variant-numeric:tabular-nums;
    line-height:inherit !important;
    vertical-align:baseline !important;
    position:static;
    top:auto;
    margin:0;
    letter-spacing:0;
}
.sg-page-partite .sg-match-modern-v2225 .sg-match-score-center .sg-status-chip.live .sg-clock-extra {
    color:#fff !important;
}
@media (max-width:760px) {
    .sg-page-partite .sg-match-modern-v2225 .sg-match-score-center .sg-status-chip.live {
        font-size:10.5px !important;
        padding:4px 7px;
        gap:4px;
    }
}


/* SerieAGoal v1.38: stand-alone live standings layout.
   Scoped to the single-match standings card; protects against legacy site image/grid rules.
   IMPORTANT: also embedded into refreshed HTML for live AJAX updates. */
.sg-live-table-card.sg-card{box-sizing:border-box;min-width:0;width:100%;overflow:hidden}
.sg-live-table-card .sg-card-title{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:14px 16px}
.sg-live-table-card .sg-card-title small{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-size:11px;font-weight:650;color:var(--sg-muted,#a4aab8)}
.sg-live-table-card .sg-live-table-scroll{box-sizing:border-box;display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:auto!important;overflow-y:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
.sg-live-table-card .sg-live-table-head,
.sg-live-table-card .sg-live-table-row{box-sizing:border-box;display:grid!important;grid-template-columns:44px 43px minmax(180px,1fr) 46px 51px 58px!important;align-items:center!important;gap:8px!important;width:100%!important;min-width:468px!important;padding:11px 16px!important;margin:0!important;text-align:center!important;border-bottom:1px solid var(--sg-line,rgba(138,152,173,.14));font-size:13px;line-height:1.35;}
.sg-live-table-card .sg-live-table-head{font-size:11px;font-weight:750;color:var(--sg-muted,#abb1c0);background:var(--sg-surface-2,rgba(108,125,156,.08))}
.sg-live-table-card .sg-live-table-head > *,
.sg-live-table-card .sg-live-table-row > *{box-sizing:border-box;min-width:0;margin:0;line-height:1.4}
.sg-live-table-card .sg-live-table-head > :nth-child(3){text-align:left}
.sg-live-table-card .sg-live-table-team{box-sizing:border-box;display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important;text-align:left!important;white-space:nowrap}
.sg-live-table-card .sg-live-table-team img{display:block!important;position:static!important;box-sizing:border-box!important;flex:0 0 26px!important;width:26px!important;min-width:26px!important;max-width:26px!important;height:26px!important;min-height:26px!important;max-height:26px!important;aspect-ratio:1!important;object-fit:contain!important;margin:0!important;padding:0!important;vertical-align:middle!important;border:0!important;background:transparent!important;border-radius:0!important;}
.sg-live-table-card .sg-live-table-team strong{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:700}
.sg-live-table-card .sg-live-table-row > :last-child{font-weight:800;color:var(--sg-text,#f5f7ff)}
.sg-live-table-card .sg-live-table-row.is-home{background:rgba(58,103,247,.13)}
.sg-live-table-card .sg-live-table-row.is-away{background:rgba(58,103,247,.06)}
.sg-live-table-card .sg-live-table-row:hover{background:rgba(100,132,191,.10)}
.sg-live-table-card .sg-live-table-move{display:inline-block!important;text-align:center;font-size:16px;font-weight:850;line-height:1!important}
.sg-live-table-card .sg-live-table-move.is-up{color:#23c779}
.sg-live-table-card .sg-live-table-move.is-down{color:#ff536c}
.sg-live-table-card .sg-live-table-move.is-still{color:var(--sg-muted,#abb1c0)}
.sg-live-table-card .sg-live-table-dot{display:inline-block;width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:#22c55e}
.sg-live-table-card .sg-live-table-note{padding:12px 16px!important;margin:0;color:var(--sg-muted,#abb1c0);font-size:11px;line-height:1.5}
@media(max-width:620px){
 .sg-live-table-card .sg-card-title{padding:12px 11px}
 .sg-live-table-card .sg-live-table-head,
 .sg-live-table-card .sg-live-table-row{grid-template-columns:33px 34px minmax(140px,1fr) 35px 42px 42px!important;gap:5px!important;min-width:366px!important;padding:10px 9px!important;font-size:11px}
 .sg-live-table-card .sg-live-table-team{gap:6px!important}
 .sg-live-table-card .sg-live-table-team img{flex-basis:22px!important;width:22px!important;min-width:22px!important;max-width:22px!important;height:22px!important;min-height:22px!important;max-height:22px!important}
 .sg-live-table-card .sg-live-table-team strong{font-size:11px}
 .sg-live-table-card .sg-live-table-head{font-size:10px}
 .sg-live-table-card .sg-live-table-note{padding:10px 12px!important;font-size:10px}
}


/* SerieAGoal v1.39 — clock 1H/2H, no superscript even after AJAX updates. */
.sg-match-modern-v2225 .sg-match-score-center .sg-status-chip.live{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 gap:5px!important;padding:7px 12px!important;font-size:16px!important;
 line-height:1.18!important;font-weight:850!important;white-space:nowrap!important;
 font-variant-numeric:tabular-nums!important;
}
.sg-match-modern-v2225 .sg-match-score-center .sg-status-chip.live [data-sg-live-status-text]{
 display:inline-flex!important;align-items:baseline!important;justify-content:center!important;
 gap:0!important;vertical-align:baseline!important;font-size:inherit!important;
 font-weight:inherit!important;line-height:inherit!important;color:#fff!important;
 white-space:nowrap!important;
}
.sg-match-modern-v2225 .sg-match-score-center .sg-status-chip.live [data-sg-live-status-text] > .sg-clock-base,
.sg-match-modern-v2225 .sg-match-score-center .sg-status-chip.live [data-sg-live-status-text] > .sg-clock-extra,
.sg-match-modern-v2225 .sg-match-score-center .sg-status-chip.live [data-sg-live-status-text] > sup,
.sg-match-modern-v2225 .sg-match-score-center .sg-status-chip.live .sg-clock-base,
.sg-match-modern-v2225 .sg-match-score-center .sg-status-chip.live .sg-clock-extra{
 box-sizing:border-box!important;display:inline-block!important;position:static!important;
 inset:auto!important;transform:none!important;float:none!important;
 margin:0!important;padding:0!important;border:0!important;
 font-family:inherit!important;font-size:1em!important;font-weight:850!important;
 line-height:1.18!important;letter-spacing:0!important;vertical-align:baseline!important;
 color:#fff!important;opacity:1!important;text-shadow:none!important;
 font-variant-numeric:tabular-nums!important;
}
.sg-match-modern-v2225 .sg-match-score-center .sg-status-chip.live [data-sg-live-status-text] > .sg-clock-extra,
.sg-match-modern-v2225 .sg-match-score-center .sg-status-chip.live [data-sg-live-status-text] > sup{margin-left:2px!important}
@media(max-width:760px){
 .sg-match-modern-v2225 .sg-match-score-center .sg-status-chip.live{
  font-size:14px!important;padding:6px 10px!important;gap:4px!important;
 }
}


/* v1.40: single match LIVE clock. Applied after all site styles, also inline.
   Specificity deliberately beats legacy .sg-page-partite rules and sup markup. */
.sg-page-partite .sg-match-modern-v2225 .sg-match-score-center .sg-status-chip.live,
.sg-match-modern-v2225 .sg-match-score-center .sg-status-chip.live {
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  gap:5px!important;padding:7px 12px!important;font-size:17px!important;
  font-weight:850!important;line-height:1.2!important;white-space:nowrap!important;
  color:#fff!important;font-variant-numeric:tabular-nums!important;
}
.sg-page-partite .sg-match-modern-v2225 .sg-match-score-center .sg-status-chip.live [data-sg-live-status-text],
.sg-match-modern-v2225 .sg-match-score-center .sg-status-chip.live [data-sg-live-status-text] {
  display:inline-flex!important;align-items:baseline!important;justify-content:center!important;
  gap:0!important;font-size:17px!important;font-weight:850!important;
  line-height:1.2!important;color:#fff!important;opacity:1!important;
  white-space:nowrap!important;font-variant-numeric:tabular-nums!important;
}
.sg-page-partite .sg-match-modern-v2225 .sg-match-score-center .sg-status-chip.live [data-sg-live-status-text] .sg-clock-base,
.sg-page-partite .sg-match-modern-v2225 .sg-match-score-center .sg-status-chip.live [data-sg-live-status-text] .sg-clock-extra,
.sg-page-partite .sg-match-modern-v2225 .sg-match-score-center .sg-status-chip.live [data-sg-live-status-text] sup,
.sg-match-modern-v2225 .sg-match-score-center .sg-status-chip.live [data-sg-live-status-text] .sg-clock-base,
.sg-match-modern-v2225 .sg-match-score-center .sg-status-chip.live [data-sg-live-status-text] .sg-clock-extra,
.sg-match-modern-v2225 .sg-match-score-center .sg-status-chip.live [data-sg-live-status-text] sup {
  display:inline-block!important;box-sizing:border-box!important;position:static!important;
  top:auto!important;bottom:auto!important;transform:none!important;
  padding:0!important;margin:0!important;border:0!important;
  vertical-align:baseline!important;align-self:baseline!important;
  font:inherit!important;font-size:17px!important;line-height:1.2!important;
  font-weight:850!important;color:#fff!important;opacity:1!important;text-shadow:none!important;
}
.sg-page-partite .sg-match-modern-v2225 .sg-match-score-center .sg-status-chip.live [data-sg-live-status-text] .sg-clock-extra,
.sg-page-partite .sg-match-modern-v2225 .sg-match-score-center .sg-status-chip.live [data-sg-live-status-text] sup,
.sg-match-modern-v2225 .sg-match-score-center .sg-status-chip.live [data-sg-live-status-text] .sg-clock-extra,
.sg-match-modern-v2225 .sg-match-score-center .sg-status-chip.live [data-sg-live-status-text] sup {
  margin-left:2px!important;
}
@media(max-width:760px){
 .sg-page-partite .sg-match-modern-v2225 .sg-match-score-center .sg-status-chip.live,
 .sg-match-modern-v2225 .sg-match-score-center .sg-status-chip.live {font-size:15px!important;padding:6px 10px!important}
 .sg-page-partite .sg-match-modern-v2225 .sg-match-score-center .sg-status-chip.live [data-sg-live-status-text],
 .sg-match-modern-v2225 .sg-match-score-center .sg-status-chip.live [data-sg-live-status-text],
 .sg-page-partite .sg-match-modern-v2225 .sg-match-score-center .sg-status-chip.live [data-sg-live-status-text] .sg-clock-base,
 .sg-page-partite .sg-match-modern-v2225 .sg-match-score-center .sg-status-chip.live [data-sg-live-status-text] .sg-clock-extra,
 .sg-page-partite .sg-match-modern-v2225 .sg-match-score-center .sg-status-chip.live [data-sg-live-status-text] sup,
 .sg-match-modern-v2225 .sg-match-score-center .sg-status-chip.live [data-sg-live-status-text] .sg-clock-base,
 .sg-match-modern-v2225 .sg-match-score-center .sg-status-chip.live [data-sg-live-status-text] .sg-clock-extra,
 .sg-match-modern-v2225 .sg-match-score-center .sg-status-chip.live [data-sg-live-status-text] sup {
   font-size:15px!important;
 }
}
