/* Original sg-mobile-fullbleed-v146.css */
/* SerieAGoal v1.46 | MOBILE ONLY | Container full-bleed, not child UI.
   Isolato in un asset nuovo caricato dopo tutti i fogli legacy (anche temi).
   NON modifica desktop, roster, testo, tab orizzontali, scoreboard, badge o accessi AI.
*/
@media screen and (max-width: 760px) {
  /* Lo spazio residuo veniva da piu' livelli di layout, non solo sg-shell. */
  html[data-sg-theme] body.sg-body:is(.sg-page-home,.sg-page-partite,.sg-page-news) .sg-shell,
  html[data-sg-theme] body.sg-body:is(.sg-page-home,.sg-page-partite,.sg-page-news) .sg-main,
  html[data-sg-theme] body.sg-body:is(.sg-page-home,.sg-page-partite,.sg-page-news) .sg-content-grid,
  html[data-sg-theme] body.sg-body:is(.sg-page-home,.sg-page-partite,.sg-page-news) .sg-feed,
  html[data-sg-theme] body.sg-body.sg-page-partite .sg-match-detail-layout {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* PARTITE: vere card renderizzate dalla lista home.
     Non togliamo il bordo separatore delle righe e non tocchiamo loghi/azioni. */
  html[data-sg-theme] body.sg-body.sg-page-home .sg-main section.sg-card.sg-league-card,
  html[data-sg-theme] body.sg-body.sg-page-home .sg-main section.sg-card.sg-home-league-card,
  html[data-sg-theme] body.sg-body.sg-page-home .sg-main [data-sg-league-card],
  html[data-sg-theme] body.sg-body.sg-page-home .sg-main > section.sg-card {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    border-radius: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    box-shadow: none !important;
  }

  /* NEWS: il layout attivo usa sg49-*, non le vecchie card sg-news-*.
     Gli spazi INTERNI dei testi rimangono per una lettura corretta. */
  html[data-sg-theme] body.sg-body.sg-page-news .sg49-page,
  html[data-sg-theme] body.sg-body.sg-page-news .sg49-layout,
  html[data-sg-theme] body.sg-body.sg-page-news .sg49-main {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  html[data-sg-theme] body.sg-body.sg-page-news .sg49-panel,
  html[data-sg-theme] body.sg-body.sg-page-news .sg49-panel.sg49-top,
  html[data-sg-theme] body.sg-body.sg-page-news .sg49-panel.sg49-feed-section,
  html[data-sg-theme] body.sg-body.sg-page-news .sg50-focus-section {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    box-shadow: none !important;
  }
  /* Pannelli News: 14px solo all'interno (non comprimere l'intera pagina). */
  html[data-sg-theme] body.sg-body.sg-page-news .sg49-panel {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  /* SINGLE MATCH: solo pannelli esterni, non il campo/giocatori o i tab. */
  html[data-sg-theme] body.sg-body.sg-page-partite .sg-match-detail-layout > .sg-feed > section.sg-card,
  html[data-sg-theme] body.sg-body.sg-page-partite .sg-match-detail-layout > .sg-feed > .sg-card,
  html[data-sg-theme] body.sg-body.sg-page-partite .sg-match-detail-layout .sg-card.sg-match-center-card,
  html[data-sg-theme] body.sg-body.sg-page-partite .sg-match-detail-layout .sg-card.sg-section,
  html[data-sg-theme] body.sg-body.sg-page-partite .sg-match-detail-layout .sg-card.sg-result-card,
  html[data-sg-theme] body.sg-body.sg-page-partite .sg-match-detail-layout .sg-card.sg-lineup-card {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    box-shadow: none !important;
  }
}

/* Original sg-mobile-unified-v147.css */
/* SerieAGoal v1.47 - Mobile only, follows v1.46.
   Full-width outer surfaces on ALL public pages, but safe padding for text.
   No changes to desktop, API/Fieldgoal, entitlements or Xcode.
*/
@media screen and (max-width:760px) {
  /* Un solo livello di impaginazione: niente gutter duplicati. */
  html[data-sg-theme] body.sg-body .sg-shell,
  html[data-sg-theme] body.sg-body .sg-main,
  html[data-sg-theme] body.sg-body .sg-content-grid,
  html[data-sg-theme] body.sg-body .sg-content-grid > .sg-feed,
  html[data-sg-theme] body.sg-body .sg-match-detail-layout,
  html[data-sg-theme] body.sg-body .sg-match-detail-layout > .sg-feed {
    box-sizing:border-box!important;
    min-width:0!important;
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;margin-right:0!important;
    padding-left:0!important;padding-right:0!important;
  }
  /* Uniforma le superfici ESTERNE su tutte le sezioni pubbliche. Non
     toccare form, avatar, campi da calcio, pill, bottoni o contenuti interni. */
  html[data-sg-theme] body.sg-body .sg-main > :is(.sg-card,.sg-section,.sg-feed),
  html[data-sg-theme] body.sg-body .sg-main > .sg-content-grid > .sg-feed > :is(.sg-card,.sg-section),
  html[data-sg-theme] body.sg-body .sg-feed > :is(.sg-card,.sg-section,.sg-fixture-archive),
  html[data-sg-theme] body.sg-body .sg-main :is(.sg-league-card,.sg-home-league-card,.sg-league-group,.sg-match-row-wrap),
  html[data-sg-theme] body.sg-body.sg-page-news .sg49-panel {
    box-sizing:border-box!important;
    min-width:0!important;width:100%!important;max-width:100%!important;
    margin-left:0!important;margin-right:0!important;
    border-radius:0!important;border-left:0!important;border-right:0!important;
    box-shadow:none!important;
  }
  /* Titoli di sezione, schede editoriali e testi: spazio interno,
     anche se la cornice esterna occupa tutto lo schermo. */
  html[data-sg-theme] body.sg-body .sg-main > :is(.sg-page-intro,.sg-section-heading,.sg-compact-league-head),
  html[data-sg-theme] body.sg-body .sg-feed > :is(.sg-page-intro,.sg-section-heading),
  html[data-sg-theme] body.sg-body .sg-main .sg-card > .sg-card-title {
    padding-left:16px!important;padding-right:16px!important;
  }

  /* ELENCO GARE (LIVE, concluse, in programma): la data/minuto non deve
     incollarsi alla sinistra o ai loghi. Spazio per la stellina centrata. */
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap > .sg-match-row,
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap.is-finished > .sg-match-row {
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 144px!important;
    align-items:center!important;
    gap:6px!important;
    box-sizing:border-box!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    padding:9px 12px!important;
    overflow:hidden!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap > .sg-match-row:has(> .sg-match-feature-zone.is-empty),
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap.is-finished > .sg-match-row:has(> .sg-match-feature-zone.is-empty) {
    grid-template-columns:minmax(0,1fr) 38px!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-main-link,
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap.is-finished .sg-match-main-link {
    display:grid!important;
    grid-template-columns:57px minmax(0,1fr)!important;
    column-gap:9px!important;
    min-width:0!important;
    padding:2px 0!important;
    align-items:center!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-main-link > .sg-match-status {
    box-sizing:border-box!important;
    min-width:0!important;width:100%!important;
    padding:0 4px 0 0!important;
    display:flex!important;flex-wrap:wrap!important;
    justify-content:center!important;align-content:center!important;
    text-align:center!important;
    line-height:1.2!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-main-link > .sg-match-teams {
    min-width:0!important;max-width:100%!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-feature-zone,
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-feature-zone.is-empty,
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-feature-zone.has-features {
    min-width:0!important;box-sizing:border-box!important;
    grid-template-columns:minmax(0,1fr) 32px!important;
    padding:2px 0!important;gap:3px!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-feature-zone.is-empty {
    grid-template-columns:minmax(0,0px) 32px!important;
  }
  /* La stellina resta cliccabile, in mezzo verticalmente a destra.
     Le statistiche restano raggiungibili aprendo il Match Center. */
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg108-stats-cta {
    display:none!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-feature-zone .sg108-row-actions,
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-feature-zone.is-empty .sg108-row-actions,
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-feature-zone.has-features .sg108-row-actions {
    display:flex!important;
    grid-column:2!important;grid-row:1!important;
    width:32px!important;min-width:32px!important;max-width:32px!important;
    height:100%!important;min-height:56px!important;
    align-items:center!important;justify-content:center!important;
    flex-direction:column!important;gap:0!important;
    justify-self:center!important;align-self:center!important;
    padding:0!important;margin:0!important;
    overflow:visible!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg108-row-actions > .sg-match-favorite {
    display:flex!important;align-items:center!important;justify-content:center!important;
    width:32px!important;height:36px!important;
    min-width:32px!important;min-height:36px!important;
    margin:0!important;padding:0!important;
  }

  /* MATCH CENTER: togli cornici e gutter a cascata, non i contenuti. */
  html[data-sg-theme] body.sg-body.sg-page-partite .sg-match-modern-v2225,
  html[data-sg-theme] body.sg-body.sg-page-partite .sg-match-tab-panel,
  html[data-sg-theme] body.sg-body.sg-page-partite .sg-match-predictions-stack {
    box-sizing:border-box!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    margin:0!important;padding-left:0!important;padding-right:0!important;
  }
  html[data-sg-theme] body.sg-body.sg-page-partite .sg-match-modern-v2225 .sg-match-center-card,
  html[data-sg-theme] body.sg-body.sg-page-partite .sg-match-tab-panel > :is(.sg-card,.sg-section,section),
  html[data-sg-theme] body.sg-body.sg-page-partite .sg-match-tab-panel > .sg-match-predictions-stack > section {
    box-sizing:border-box!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    margin-left:0!important;margin-right:0!important;
    border-left:0!important;border-right:0!important;
    border-radius:0!important;box-shadow:none!important;
  }
  html[data-sg-theme] body.sg-body.sg-page-partite .sg-match-tab-panel > .sg-card > .sg-card-title {
    padding-left:16px!important;padding-right:16px!important;
  }
  /* Sufficienti margini di lettura per testo e statistiche, senza
     rimpicciolire il campo delle formazioni o il tabellone stesso. */
  html[data-sg-theme] body.sg-body.sg-page-partite .sg-match-tab-panel > .sg-card > :is(p,.sg-empty,.sg-card-copy),
  html[data-sg-theme] body.sg-body.sg-page-partite .sg-match-tab-panel > .sg-section > :is(p,.sg-empty,.sg-card-copy) {
    padding-left:16px!important;padding-right:16px!important;
  }

  /* SINGLE NEWS: annulla il vecchio calc(100% + 24px) e ripristina
     una zona leggibile di 17px ai lati di TUTTI i blocchi editoriali. */
  html[data-sg-theme] body.sg-body.sg-page-news .sg-article-layout,
  html[data-sg-theme] body.sg-body.sg-page-news .sg-article-main,
  html[data-sg-theme] body.sg-body.sg-page-news .sg-article-story {
    box-sizing:border-box!important;
    display:block!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    margin-left:0!important;margin-right:0!important;
    padding-left:0!important;padding-right:0!important;
  }
  html[data-sg-theme] body.sg-body.sg-page-news .sg-article-story > :is(.sg-article-card,.sg-article-author-box,.sg-article-related-smart),
  html[data-sg-theme] body.sg-body.sg-page-news .sg-article-main > .sg-article-story > .sg-article-card {
    box-sizing:border-box!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    margin-left:0!important;margin-right:0!important;
    padding-left:0!important;padding-right:0!important;
    border-left:0!important;border-right:0!important;
    border-radius:0!important;box-shadow:none!important;
  }
  html[data-sg-theme] body.sg-body.sg-page-news .sg-article-story .sg-article-head,
  html[data-sg-theme] body.sg-body.sg-page-news .sg-article-story .sg-article-body,
  html[data-sg-theme] body.sg-body.sg-page-news .sg-article-story .sg-article-section-body,
  html[data-sg-theme] body.sg-body.sg-page-news .sg-article-story > .sg-article-author-box,
  html[data-sg-theme] body.sg-body.sg-page-news .sg-article-story > .sg-article-related-smart {
    box-sizing:border-box!important;
    padding-left:17px!important;padding-right:17px!important;
  }
  html[data-sg-theme] body.sg-body.sg-page-news .sg-article-story :is(h1,h2,h3,p,li,blockquote) {
    overflow-wrap:break-word;
  }
  html[data-sg-theme] body.sg-body.sg-page-news .sg-article-story .sg-article-hero-media {
    box-sizing:border-box!important;
    width:100%!important;max-width:100%!important;
    margin-left:0!important;margin-right:0!important;
  }
  /* Campo delle formazioni: allarga la superficie utile, preservando
     coordinate dei giocatori, linee e zoom interno. */
  html[data-sg-theme] body.sg-body.sg-page-partite .sg-match-tab-panel .sg-lineup-pitch-scroll {
    padding-left:8px!important;padding-right:8px!important;
  }
    /* News landing: non eliminare il padding del testo nelle card in evidenza. */
  html[data-sg-theme] body.sg-body.sg-page-news .sg49-panel {
    padding-left:15px!important;padding-right:15px!important;
  }
}

/* Schermi particolarmente stretti: preserva club e minutaggio. */
@media screen and (max-width:370px) {
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap > .sg-match-row,
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap.is-finished > .sg-match-row {
    padding-left:9px!important;padding-right:9px!important;
    grid-template-columns:minmax(0,1fr) 124px!important;
    gap:3px!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap > .sg-match-row:has(> .sg-match-feature-zone.is-empty) {
    grid-template-columns:minmax(0,1fr) 35px!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-main-link {
    grid-template-columns:52px minmax(0,1fr)!important;
    column-gap:6px!important;
  }
}

/* Original sg-mobile-structure-v148.css */
/* SerieAGoal v1.48 - HOTFIX MOBILE (<=760px).
   CSS appended LAST, after all existing component styles.
   Not a restyle of the desktop, any backend, or locked Premium CTA.
   Rules target only redundant page wrappers and the football match list.
*/
@media screen and (max-width:760px) {
  /* 1. Shells: one outer width, readable internal gutters. Preserve media. */
  html[data-sg-theme] body.sg-body .sg-main,
  html[data-sg-theme] body.sg-body .sg-shell,
  html[data-sg-theme] body.sg-body .sg-content-grid,
  html[data-sg-theme] body.sg-body .sg-content-grid > .sg-feed,
  html[data-sg-theme] body.sg-body .sg-match-detail-layout,
  html[data-sg-theme] body.sg-body .sg-match-detail-layout > .sg-feed {
    box-sizing:border-box!important;
    min-width:0!important;max-width:100%!important;width:100%!important;
    margin-inline:0!important;padding-inline:0!important;
  }
  /* Public content sections can be full-bleed without nesting cards. Avoid
     changing interactive controls, club tiles, ads, chart canvases or images. */
  html[data-sg-theme] body.sg-body .sg-feed > .sg-card.sg-section,
  html[data-sg-theme] body.sg-body .sg-feed > .sg-card.sg-lineup-card,
  html[data-sg-theme] body.sg-body .sg-main > .sg-card.sg-section,
  html[data-sg-theme] body.sg-body .sg-match-tab-panel > section.sg-card,
  html[data-sg-theme] body.sg-body .sg-match-tab-panel > section.sg-section,
  html[data-sg-theme] body.sg-body .sg-match-tab-panel > section.sg-lineup-card {
    box-sizing:border-box!important;
    min-width:0!important;max-width:100%!important;width:100%!important;
    margin-inline:0!important;padding-inline:0!important;
    border-left:0!important;border-right:0!important;border-radius:0!important;
    box-shadow:none!important;
  }
  /* Typography and statistical panels retain padding despite full-width cards. */
  html[data-sg-theme] body.sg-body .sg-match-tab-panel > section.sg-card:not(.sg-lineup-card) > .sg-card-title,
  html[data-sg-theme] body.sg-body .sg-match-tab-panel > section.sg-section:not(.sg-lineup-card) > .sg-card-title {
    box-sizing:border-box!important;padding-inline:16px!important;
  }

  /* 2. Lineups: abolish both extra frames (the section and the board), while
     preserving the team header and pitch geometry, coordinates and ratings. */
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-match-tab-panel,
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-match-tab-panel > .sg-lineup-card,
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-match-tab-panel > section.sg-card.sg-lineup-card,
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-match-tab-panel .sg-lineup-board {
    box-sizing:border-box!important;
    display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;
    margin:0!important;padding:0!important;
    border:0!important;border-radius:0!important;box-shadow:none!important;
    outline:0!important;
  }
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-match-tab-panel .sg-lineup-board {
    background:transparent!important;
  }
  /* The header is content; give it a comfortable inner gutter, not a frame. */
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-board .sg40-lineup-formbar {
    box-sizing:border-box!important;width:100%!important;max-width:100%!important;
    margin:0!important;padding-inline:14px!important;
    border-radius:0!important;
  }
  /* Expand pitch to 100% minus ONLY one safe 8px phone gutter each side. */
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-board .sg-lineup-pitch-scroll {
    box-sizing:border-box!important;width:100%!important;max-width:100%!important;
    margin:0!important;padding:8px!important;
    border:0!important;border-radius:0!important;box-shadow:none!important;
    overflow:hidden!important;
  }
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-board .sg-lineup-pitch {
    box-sizing:border-box!important;width:100%!important;max-width:100%!important;
    margin:0!important;
    border-radius:8px!important;
  }
  /* 3. Nested containers elsewhere: remove only the page-level double frame;
     never blanket-reset .sg-card descendants, which include usable modules. */
  html[data-sg-theme] body.sg-body .sg-feed > .sg-card.sg-section > .sg-card,
  html[data-sg-theme] body.sg-body .sg-match-tab-panel > section.sg-card > .sg-match-center-card {
    box-sizing:border-box!important;min-width:0!important;max-width:100%!important;
    margin-inline:0!important;border-radius:0!important;
  }

  /* 4. Fixture list: the stats icon is not available on phone, while the
     favourite keeps its own interactive element and stays vertically centered. */
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap a.sg108-stats-cta,
  html[data-sg-theme] body.sg-body .sg-match-row-wrap a.sg108-stats-cta,
  html[data-sg-theme] body.sg-body .sg-match-row-wrap .sg108-row-actions > .sg108-stats-cta {
    display:none!important;visibility:hidden!important;
    width:0!important;height:0!important;min-width:0!important;
    margin:0!important;padding:0!important;border:0!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-feature-zone .sg108-row-actions,
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-feature-zone.is-empty .sg108-row-actions,
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-feature-zone.has-features .sg108-row-actions {
    box-sizing:border-box!important;
    display:flex!important;flex-direction:row!important;
    align-items:center!important;justify-content:center!important;
    justify-self:center!important;align-self:stretch!important;
    width:38px!important;min-width:38px!important;
    height:100%!important;min-height:64px!important;
    padding:0!important;margin:0!important;gap:0!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg108-row-actions > button.sg-match-favorite {
    position:static!important;display:inline-flex!important;
    flex:0 0 36px!important;
    align-items:center!important;justify-content:center!important;
    width:36px!important;height:40px!important;
    min-width:36px!important;min-height:40px!important;
    margin:0!important;padding:0!important;
  }
  /* Eliminate leftover space reserved for the hidden graph. The existing
     pre-match preview can still use the first column of the feature zone. */
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-feature-zone,
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-feature-zone.has-features {
    grid-template-columns:minmax(0,1fr) 38px!important;
    gap:2px!important;
    padding-right:0!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-feature-zone.is-empty {
    grid-template-columns:minmax(0,0px) 38px!important;
    gap:0!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-feature-zone .sg108-row-actions {
    grid-column:2!important;grid-row:1!important;
  }
  /* Room to breathe for LIVE/status without touching the team names. */
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-main-link {
    grid-template-columns:58px minmax(0,1fr)!important;
    column-gap:10px!important;
    padding-left:2px!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-main-link > .sg-match-status {
    box-sizing:border-box!important;padding:0 5px!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    text-align:center!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-main-link > .sg-match-teams {
    min-width:0!important;max-width:100%!important;
  }
}
@media screen and (max-width:390px){
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-main-link {
    grid-template-columns:54px minmax(0,1fr)!important;column-gap:7px!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-feature-zone,
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-feature-zone.has-features {
    grid-template-columns:minmax(0,1fr) 36px!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-feature-zone.is-empty {
    grid-template-columns:minmax(0,0px) 36px!important;
  }
}

/* Original sg-mobile-polish-v149.css */
/* SerieAGoal v1.49 | esclusivamente <= 760px.
   Correzione mirata sui selettori effettivi della v1.48.
   Nessuna modifica desktop, API, Premium, pagamenti o markup delle righe.
*/
@media screen and (max-width:760px) {
  /* 1) FORMAZIONI: volti poco piu' grandi in proporzione alla larghezza
     disponibile, senza spostare le coordinate dei calciatori sul campo. */
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player,
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player.sg-lineup-lines-5,
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player.sg-lineup-lines-6 {
    --sg-v149-face:clamp(40px,11.25vw,46px);
    width:clamp(59px,16.3vw,69px)!important;
    max-width:calc(100% - 2px)!important;
  }
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player .sg-lineup-face,
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player.sg-lineup-lines-5 .sg-lineup-face,
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player.sg-lineup-lines-6 .sg-lineup-face {
    width:var(--sg-v149-face)!important;height:var(--sg-v149-face)!important;
    flex:0 0 var(--sg-v149-face)!important;
  }
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player>b.sg44-lineup-name,
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player.sg-lineup-lines-5>b.sg44-lineup-name,
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player.sg-lineup-lines-6>b.sg44-lineup-name {
    max-width:clamp(59px,16.3vw,69px)!important;
  }
  /* L'angolo dei badge segue il nuovo diametro, evitando la sovrapposizione
     tra numero di maglia, voto, nome e foto. */
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player .sg44-shirt-badge,
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player.sg-lineup-lines-5 .sg44-shirt-badge,
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-lineup-pitch .sg-lineup-player.sg-lineup-lines-6 .sg44-shirt-badge {
    top:calc(var(--sg-v149-face) - 13px)!important;right:5px!important;
  }

  /* 2) LISTA PARTITE: status/orario piu' vicino al margine sinistro,
     squadre con distanza regolare. Vale per LIVE, in programma e finite. */
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-main-link,
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap.is-finished .sg-match-main-link {
    grid-template-columns:48px minmax(0,1fr)!important;
    column-gap:8px!important;
    padding-left:0!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-main-link > .sg-match-status {
    padding-inline:1px!important;
    justify-content:center!important;
    text-align:center!important;
  }
  /* La sola stellina rimane al centro in verticale, ma viene avvicinata
     al margine destro in modo controllato. Nessuno spazio riservato al grafico. */
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-feature-zone .sg108-row-actions,
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-feature-zone.is-empty .sg108-row-actions,
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-feature-zone.has-features .sg108-row-actions {
    transform:translateX(clamp(9px,3.2vw,14px))!important;
    align-items:center!important;
    justify-content:center!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-feature-zone,
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-feature-zone.is-empty,
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-feature-zone.has-features {
    overflow:visible!important;
  }
  /* Il bottone statistiche resta nascosto anche dopo il CSS nuovo. */
  html[data-sg-theme] body.sg-body .sg-match-row-wrap a.sg108-stats-cta {display:none!important}

  /* 3) TAB TRASFERIMENTI DELLA SQUADRA: la stessa geometria a due righe
     dell'archivio giocatore. Riga 1: data e nome; riga 2: squadre e freccia.
     Nessuna colonna fissa per loghi e nomi, niente parole spezzate. */
  html[data-sg-theme] body.sg-page-squadre.sg-body .sg-transfer-archive-list > a {
    display:grid!important;
    grid-template-columns:68px minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
    column-gap:11px!important;
    row-gap:7px!important;
    align-items:center!important;
    padding:12px 14px!important;
    min-width:0!important;
    width:100%!important;
    box-sizing:border-box!important;
  }
  html[data-sg-theme] body.sg-page-squadre.sg-body .sg-transfer-archive-list > a > time {
    grid-column:1!important;grid-row:1!important;
    min-width:0!important;white-space:nowrap!important;
    font-size:11px!important;
  }
  html[data-sg-theme] body.sg-page-squadre.sg-body .sg-transfer-archive-list > a > .sg-transfer-archive-player {
    grid-column:2!important;grid-row:1!important;
    min-width:0!important;
  }
  html[data-sg-theme] body.sg-page-squadre.sg-body .sg-transfer-archive-list > a > .sg-transfer-archive-route {
    grid-column:1/-1!important;grid-row:2!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr)!important;
    align-items:center!important;
    gap:8px!important;
    margin:0!important;padding:3px 0 0!important;
    width:100%!important;min-width:0!important;
  }
  html[data-sg-theme] body.sg-page-squadre.sg-body .sg-transfer-archive-list .sg-transfer-archive-route > span {
    display:flex!important;min-width:0!important;max-width:100%!important;
    align-items:center!important;gap:6px!important;
    white-space:nowrap!important;
  }
  html[data-sg-theme] body.sg-page-squadre.sg-body .sg-transfer-archive-list .sg-transfer-archive-route > span:last-child {
    justify-content:flex-end!important;
  }
  html[data-sg-theme] body.sg-page-squadre.sg-body .sg-transfer-archive-list .sg-transfer-archive-route img {
    display:block!important;flex:0 0 24px!important;
    width:24px!important;height:24px!important;
    max-width:24px!important;object-fit:contain!important;
  }
  html[data-sg-theme] body.sg-page-squadre.sg-body .sg-transfer-archive-list .sg-transfer-archive-route b {
    display:block!important;min-width:0!important;max-width:100%!important;
    font-size:12px!important;line-height:1.3!important;
    white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
  }
  html[data-sg-theme] body.sg-page-squadre.sg-body .sg-transfer-archive-list .sg-transfer-archive-route > i {
    justify-self:center!important;text-align:center!important;
    font-style:normal!important;white-space:nowrap!important;
  }
}
@media screen and (max-width:390px) {
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-main-link,
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap.is-finished .sg-match-main-link {
    grid-template-columns:44px minmax(0,1fr)!important;column-gap:7px!important;
  }
  html[data-sg-theme] body.sg-page-squadre.sg-body .sg-transfer-archive-list > a {
    grid-template-columns:60px minmax(0,1fr)!important;column-gap:8px!important;
    padding-inline:10px!important;
  }
  html[data-sg-theme] body.sg-page-squadre.sg-body .sg-transfer-archive-list .sg-transfer-archive-route img {
    flex-basis:21px!important;width:21px!important;height:21px!important;
  }
}


@media screen and (max-width:760px) {
  /* 4) MATCH CENTER > tab Pronostici AI > Analisi gara:
     ripristina un gutter laterale regolare per il blocco analisi e per il
     contenuto dinamico caricato nel dettaglio. Evita testi attaccati al bordo
     sinistro sui telefoni, senza toccare desktop o altri tab. */
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main #sg110-premium-analysis,
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-match-predictions-stack {
    box-sizing:border-box!important;
    padding-left:14px!important;
    padding-right:14px!important;
  }
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main #sg110-premium-analysis > h3,
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main #sg110-premium-analysis > p,
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main #sg110-premium-analysis > .sg95-market-dashboard,
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main #sg110-premium-analysis > [data-sg-ai-analysis-detail],
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main #sg110-premium-analysis > [data-sg-ai-analysis-control] {
    margin-left:0!important;
    margin-right:0!important;
  }
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main #sg110-premium-analysis [data-sg-ai-analysis-detail] {
    box-sizing:border-box!important;
    padding-left:0!important;
    padding-right:0!important;
    overflow:hidden!important;
  }
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main #sg110-premium-analysis [data-sg-ai-analysis-detail] > *,
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main #sg110-premium-analysis [data-sg-ai-analysis-control] > * {
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
  }
}
@media screen and (max-width:390px) {
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main #sg110-premium-analysis,
  html[data-sg-theme] body.sg-page-partite.sg-body .sg-main .sg-match-predictions-stack {
    padding-left:10px!important;
    padding-right:10px!important;
  }
}

/* Original sg-mobile-audit-v152.css */
/* SerieAGoal v1.52 – mobile audit of production server source (ssss.zip).
   Imported after v146/v147/v148/v149 and existing component styles.
   Keep full-width sections; restore INNER reading gutters for text modules.
   Scope: <=760px. No desktop, premium access, APIs or JS changes.
*/
@media screen and (max-width:760px) {
  /* Root cause: v1.48 targets .sg-match-tab-panel > section.sg-card and
     applies padding-inline:0!important to the actual .sg71-preview.
     Old v1.51 targeted a different element: #sg110-premium-analysis. */
  html[data-sg-theme] body.sg-body.sg-page-partite .sg-main .sg-match-tab-panel > section.sg71-preview.sg-card {
    box-sizing:border-box!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    padding:18px 16px 20px!important;
    margin-left:0!important;margin-right:0!important;
    overflow-wrap:anywhere;
  }
  html[data-sg-theme] body.sg-body.sg-page-partite .sg-main .sg-match-tab-panel > section.sg71-preview.sg-card .sg71-preview-head,
  html[data-sg-theme] body.sg-body.sg-page-partite .sg-main .sg-match-tab-panel > section.sg71-preview.sg-card .sg71-preview-prose,
  html[data-sg-theme] body.sg-body.sg-page-partite .sg-main .sg-match-tab-panel > section.sg71-preview.sg-card .sg71-lineups {
    box-sizing:border-box!important;
    min-width:0!important;max-width:100%!important;
    margin-left:0!important;margin-right:0!important;
  }
  html[data-sg-theme] body.sg-body.sg-page-partite .sg-main .sg-match-tab-panel > section.sg71-preview.sg-card .sg71-preview-prose :is(h3,p) {
    max-width:100%!important;
    overflow-wrap:break-word!important;
  }
  /* Premium panel is another module in the same tab; preserve its own content
     padding without changing its locked-overlay internals. */
  html[data-sg-theme] body.sg-body.sg-page-partite .sg-main .sg-match-tab-panel > section#sg110-premium-analysis.sg-ai-premium-panel {
    box-sizing:border-box!important;
    padding-inline:16px!important;
    min-width:0!important;max-width:100%!important;
  }
  html[data-sg-theme] body.sg-body.sg-page-partite .sg-main .sg-match-tab-panel > .sg-match-predictions-stack {
    box-sizing:border-box!important;
    padding-inline:16px!important;
  }
  /* Public content: allow long headlines/text to wrap rather than overflow.
     Excludes nav, timeline, lineup pitch, match tiles and horizontal scrollers. */
  html[data-sg-theme] body.sg-body :is(.sg-article-body,.sg-article-head,.sg71-preview-prose,.sg-ai-premium-reasoning,.sg49-panel) :is(h1,h2,h3,h4,p,blockquote,li) {
    overflow-wrap:break-word;
    hyphens:auto;
  }
  /* Embedded media should not force document horizontal scrolling. */
  html[data-sg-theme] body.sg-body :is(.sg-article-body,.sg71-preview-prose,.sg-ai-premium-reasoning) :is(img,video,iframe) {
    max-width:100%;
  }
}
@media screen and (max-width:390px) {
  html[data-sg-theme] body.sg-body.sg-page-partite .sg-main .sg-match-tab-panel > section.sg71-preview.sg-card {
    padding-inline:14px!important;
  }
}

/* Original sg-mobile-system-v153.css */
/* SerieAGoal mobile layout system v1.53. Source: ssss.zip + v1.52.
   Only responsive surface geometry, not API, logic, desktop or controls.
   Outer surfaces full-width / square; content gutter 12-14px.
*/
@media screen and (max-width:760px) {
  html[data-sg-theme] body.sg-body { --sg-m-gutter:14px; }
  /* Page rails: a single width owner. */
  html[data-sg-theme] body.sg-body :is(.sg-shell,.sg-main,.sg-content-grid,.sg-feed,.sg-match-detail-layout,.sg-team-overview-grid,.sg-team-modern-v2227,.sg49-page,.sg49-layout,.sg49-main) {
    min-width:0!important;max-width:100%!important;box-sizing:border-box!important;
  }
  html[data-sg-theme] body.sg-body :is(.sg-shell,.sg-main,.sg-content-grid,.sg-feed,.sg-match-detail-layout,.sg49-page,.sg49-layout,.sg49-main) {
    width:100%!important;margin-inline:0!important;padding-inline:0!important;
  }
  /* Top-level public surface cards. Do not flatten nested UI like footballers,
     badges, prices, nav pills, calculators, or modal dialogs. */
  html[data-sg-theme] body.sg-body .sg-feed > :is(section.sg-card,.sg-card.sg-section,.sg-card.sg-fixture-archive,.sg-card.sg-transfer-archive),
  html[data-sg-theme] body.sg-body .sg-main > :is(section.sg-card,.sg-card.sg-section,.sg-card.sg-fixture-archive),
  html[data-sg-theme] body.sg-body .sg-team-overview-grid > :is(section.sg-card,.sg-card),
  html[data-sg-theme] body.sg-body .sg-team-modern-v2227 > .sg-feed > :is(section.sg-card,.sg-card),
  html[data-sg-theme] body.sg-body .sg-match-tab-panel > :is(section.sg-card,section.sg-section),
  html[data-sg-theme] body.sg-body.sg-page-news .sg49-panel,
  html[data-sg-theme] body.sg-body.sg-page-news .sg50-focus-section,
  html[data-sg-theme] body.sg-body .sg-match-row-wrap,
  html[data-sg-theme] body.sg-body .sg-team-overview-grid > .sg-team-overview-fixtures {
    box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;
    margin-inline:0!important;border-radius:0!important;border-inline:0!important;box-shadow:none!important;
  }
  /* Keep wide blocks flush, but leave ordinary typography breathing room. */
  html[data-sg-theme] body.sg-body .sg-main .sg-card > .sg-card-title,
  html[data-sg-theme] body.sg-body .sg-main .sg-card > .sg-section-head,
  html[data-sg-theme] body.sg-body .sg-main .sg-card > .sg-empty,
  html[data-sg-theme] body.sg-body .sg-main .sg-card > .sg-empty-inline,
  html[data-sg-theme] body.sg-body .sg-main .sg-card > p.sg-muted,
  html[data-sg-theme] body.sg-body .sg-main .sg-card > .sg-page-intro,
  html[data-sg-theme] body.sg-body .sg-main .sg-section-heading,
  html[data-sg-theme] body.sg-body .sg-main .sg-page-intro {
    box-sizing:border-box!important;padding-inline:var(--sg-m-gutter)!important;
    max-width:100%!important;min-width:0!important;
  }
  /* Main upcoming matches, results, club and player summaries. Rows still full width. */
  html[data-sg-theme] body.sg-body .sg-team-overview-grid > .sg-team-overview-fixtures,
  html[data-sg-theme] body.sg-body .sg-team-overview-grid > .sg-team-summary,
  html[data-sg-theme] body.sg-body .sg-feed > .sg-fixture-archive,
  html[data-sg-theme] body.sg-body .sg-feed > .sg-roster-card,
  html[data-sg-theme] body.sg-body .sg-feed > .sg-transfer-archive,
  html[data-sg-theme] body.sg-body .sg-feed > .sg-team-profile {
    border-radius:0!important;margin-inline:0!important;max-width:100%!important;
  }
  /* Header text aligns with the match-list internal 12px padding rather
     than sitting at 0px or inheriting a 24px desktop gutter. */
  html[data-sg-theme] body.sg-body .sg-team-overview-fixtures > .sg-card-title,
  html[data-sg-theme] body.sg-body .sg-fixture-archive > .sg-card-title,
  html[data-sg-theme] body.sg-body .sg-transfer-archive > .sg-card-title {
    padding-inline:var(--sg-m-gutter)!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap > .sg-match-row {
    padding-inline:12px!important;
  }
  /* Editorial surfaces: no large edge gap, no flush text. */
  html[data-sg-theme] body.sg-body.sg-page-news :is(.sg49-panel,.sg-article-head,.sg-article-body,.sg-article-section-body) {
    padding-inline:var(--sg-m-gutter)!important;
  }
  html[data-sg-theme] body.sg-body.sg-page-news .sg-article-hero-media {
    margin-inline:0!important;border-radius:0!important;
  }
  /* Match preview: retain v1.52's corrected content gutter even after
     older selectors which wiped padding; never alter the lineup pitch. */
  html[data-sg-theme] body.sg-body.sg-page-partite .sg-main .sg-match-tab-panel > section.sg71-preview.sg-card {
    padding:16px var(--sg-m-gutter) 18px!important;
    border-radius:0!important;
  }
  html[data-sg-theme] body.sg-body.sg-page-partite .sg-main .sg-match-tab-panel > #sg110-premium-analysis.sg-ai-premium-panel,
  html[data-sg-theme] body.sg-body.sg-page-partite .sg-main .sg-match-tab-panel > .sg-match-predictions-stack {
    box-sizing:border-box!important;padding-inline:var(--sg-m-gutter)!important;
  }
  /* Transfer names and long headlines should not create page overflow. */
  html[data-sg-theme] body.sg-body :is(.sg-article-body,.sg71-preview-prose,.sg-team-info-grid,.sg-transfer-archive-list) {
    min-width:0;overflow-wrap:break-word;
  }
  /* Vertical modules only. Horizontal navigations/tables and football pitch
     remain intentionally scrollable and retain their custom geometry. */
  html[data-sg-theme] body.sg-body .sg-feed > :is(section.sg-card,.sg-card.sg-section),
  html[data-sg-theme] body.sg-body .sg-team-overview-grid > .sg-card {
    min-width:0!important;
  }
}
@media screen and (max-width:390px) {
  html[data-sg-theme] body.sg-body { --sg-m-gutter:12px; }
}

/* Original sg-mobile-prediction-cta-v156.css */
/* v1.56 | Mobile: lock icon and CTA legibility inside match preview.
   Do not alter the match row, team positions or favourite action. */
@media screen and (max-width:760px) {
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-feature-zone .sg-match-features,
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg104-dc-preview:not([hidden]) {
    min-width:0!important;overflow:visible!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg104-dc-preview .sg104-dc-access {
    display:grid!important;
    grid-template-columns:12px minmax(0,1fr)!important;
    align-items:center!important;justify-content:start!important;
    column-gap:5px!important;
    width:100%!important;min-width:0!important;max-width:100%!important;
    box-sizing:border-box!important;
    padding:6px 8px!important;
    margin:4px 0 0!important;
    height:auto!important;min-height:32px!important;
    line-height:1.3!important;font-size:9px!important;
    white-space:normal!important;overflow:visible!important;
    text-overflow:clip!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg104-dc-access > .sg106-dc-lock {
    display:flex!important;align-items:center!important;justify-content:center!important;
    min-width:12px!important;min-height:12px!important;
    flex-shrink:0!important;
    overflow:visible!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg104-dc-access > .sg106-dc-lock svg {
    display:block!important;width:12px!important;height:12px!important;
    min-width:12px!important;flex-shrink:0!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg104-dc-access > span:last-child:not(.sg106-dc-lock) {
    min-width:0!important;max-width:100%!important;
    white-space:normal!important;
    overflow-wrap:normal!important;word-break:normal!important;
    overflow:visible!important;text-overflow:clip!important;
  }
  /* Fallback CTA: the same readable icon + text geometry before preview loads. */
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg106-locked-cta {
    box-sizing:border-box!important;width:100%!important;max-width:100%!important;
    min-width:0!important;min-height:32px!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    gap:5px!important;padding:6px 7px!important;
    white-space:normal!important;overflow:visible!important;
    line-height:1.3!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg106-locked-cta > .sg106-lock-symbol {
    display:inline-flex!important;flex:0 0 12px!important;align-items:center!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg106-locked-cta > span:last-child {
    display:block!important;min-width:0!important;white-space:normal!important;
  }
}

/* Original sg-mobile-fixture-grid-v161.css */
/* SerieAGoal 1.60. A single mobile fixture grid replaces v155/157/158/159. */
@media screen and (max-width:760px) {
 html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap > .sg-match-row,
 html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap.is-finished > .sg-match-row {
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,48%)!important;
  gap:0!important;align-items:center!important;padding:8px 8px 8px 9px!important;box-sizing:border-box!important;
 }
 html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-main-link,
 html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap.is-finished .sg-match-main-link {
  display:grid!important;grid-template-columns:44px minmax(0,1fr)!important;
  column-gap:6px!important;min-width:0!important;width:100%!important;padding:0!important;margin:0!important;
 }
 html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-main-link > .sg-match-status {
  justify-content:flex-start!important;text-align:left!important;padding:0!important;min-width:0!important;
 }
 html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-main-link > .sg-match-teams {
  position:static!important;left:auto!important;transform:none!important;width:100%!important;max-width:100%!important;
  min-width:0!important;margin:0!important;
 }
 html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-feature-zone,
 html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-feature-zone.has-features,
 html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-feature-zone.is-empty {
  display:grid!important;grid-template-columns:minmax(0,1fr) 28px!important;gap:10px!important;
  padding:4px 2px 4px 4px!important;min-width:0!important;width:100%!important;
  align-items:center!important;box-sizing:border-box!important;
 }
 html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-feature-zone .sg-match-features {
  display:flex!important;flex-direction:column!important;width:100%!important;min-width:0!important;
  gap:4px!important;align-items:stretch!important;
 }
 html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg104-dc-preview:not([hidden]) {
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-auto-rows:min-content!important;row-gap:3px!important;width:100%!important;
  max-width:100%!important;min-width:0!important;padding:0!important;align-items:stretch!important;justify-content:start!important;
 }
 html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg106-dc-headline {
  display:grid!important;grid-template-columns:minmax(0,1fr) max-content!important;align-items:center!important;
  column-gap:8px!important;width:100%!important;min-width:0!important;margin:0!important;
 }
 html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg104-dc-value {
  min-width:0!important;max-width:100%!important;white-space:normal!important;overflow-wrap:normal!important;
  word-break:normal!important;hyphens:none!important;line-height:1.25!important;
  font-size:clamp(10px,2.8vw,12px)!important;
 }
 html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg104-dc-preview .sg106-dc-percent {
  font-size:clamp(18px,5vw,25px)!important;white-space:nowrap!important;width:auto!important;
  max-width:100%!important;min-width:max-content!important;align-self:center!important;
  margin:0 7px 0 0!important;line-height:1.05!important;
 }
 html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg104-dc-access {
  display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:5px!important;
  width:100%!important;min-height:18px!important;margin:3px 0 0!important;padding:0!important;
  box-sizing:border-box!important;line-height:1.3!important;position:static!important;transform:none!important;
 }
 html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg104-dc-access.sg106-dc-won,
 html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg104-dc-access.sg106-dc-lost {
  margin-top:3px!important;padding:0!important;align-self:start!important;
 }
 html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-feature-zone .sg108-row-actions,
 html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-feature-zone.has-features .sg108-row-actions,
 html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-feature-zone.is-empty .sg108-row-actions {
  display:flex!important;justify-content:center!important;align-items:center!important;width:27px!important;
  min-width:27px!important;padding:0!important;margin:0!important;transform:none!important;overflow:visible!important;
 }
 html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg108-row-actions > .sg-match-favorite {
  width:27px!important;min-width:27px!important;height:34px!important;padding:0!important;
 }
}
@media screen and (max-width:390px) {
 html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap > .sg-match-row,
 html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap.is-finished > .sg-match-row {
  grid-template-columns:minmax(0,1fr) minmax(0,50%)!important;padding-inline:6px!important;
 }
 html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-main-link,
 html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap.is-finished .sg-match-main-link {
  grid-template-columns:43px minmax(0,1fr)!important;column-gap:6px!important;
 }
}

/* Original sg-mobile-finished-block-v163.css */
/* SerieAGoal v1.63 — gare terminate, solo mobile.
   La struttura DOM creata da sg-match-list-preview-v113.js è:
   a.sg104-dc-preview > span.sg104-dc-title + span.sg106-dc-headline
   (span.sg104-dc-value + strong.sg106-dc-percent) + span.sg104-dc-access.
   Un'unica grid assegna righe proprie a titolo, scelta ed esito e riserva
   alla percentuale una colonna con centratura verticale. Senza top/left/translate.
   Le gare future e live non corrispondono a is-finished e restano inalterate.
*/
@media screen and (max-width: 760px) {
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap.is-finished .sg-match-feature-zone .sg-match-features {
    align-self:center!important;
    justify-content:center!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap.is-finished .sg104-dc-preview:not([hidden]) {
    display:grid!important;
    grid-template-columns:minmax(0,1fr) max-content!important;
    grid-template-rows:auto auto auto!important;
    column-gap:8px!important;
    row-gap:5px!important;
    justify-content:stretch!important;
    align-content:center!important;
    align-items:center!important;
    align-self:center!important;
    position:static!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:auto!important;
    margin:0!important;
    padding:2px 0!important;
    box-sizing:border-box!important;
    overflow:visible!important;
  }
  /* Flatten only the structural wrapper, so value and percentage can occupy
     independent grid cells while preserving the existing HTML and JS logic. */
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap.is-finished .sg106-dc-headline {
    display:contents!important;
    position:static!important;
    transform:none!important;
    top:auto!important;
    left:auto!important;
    margin:0!important;
    padding:0!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap.is-finished .sg104-dc-title {
    grid-column:1!important;
    grid-row:1!important;
    position:static!important;
    transform:none!important;
    top:auto!important;
    left:auto!important;
    margin:0!important;
    padding:0!important;
    white-space:nowrap!important;
    line-height:1.2!important;
    min-width:0!important;
    align-self:end!important;
    justify-self:start!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap.is-finished .sg104-dc-value {
    grid-column:1!important;
    grid-row:2!important;
    position:static!important;
    transform:none!important;
    top:auto!important;
    left:auto!important;
    display:block!important;
    margin:0!important;
    padding:0!important;
    max-width:100%!important;
    min-width:0!important;
    align-self:center!important;
    white-space:normal!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
    hyphens:none!important;
    overflow:visible!important;
    line-height:1.22!important;
    font-size:clamp(10px,2.9vw,12px)!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap.is-finished .sg104-dc-access,
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap.is-finished .sg104-dc-access.sg106-dc-won,
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap.is-finished .sg104-dc-access.sg106-dc-lost {
    grid-column:1!important;
    grid-row:3!important;
    position:static!important;
    transform:none!important;
    top:auto!important;
    left:auto!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    align-self:start!important;
    gap:5px!important;
    margin:0!important;
    padding:0!important;
    min-height:0!important;
    height:auto!important;
    width:auto!important;
    min-width:0!important;
    max-width:100%!important;
    white-space:normal!important;
    overflow:visible!important;
    line-height:1.25!important;
    font-size:clamp(10px,2.75vw,12px)!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap.is-finished .sg104-dc-preview .sg106-dc-percent {
    grid-column:2!important;
    grid-row:1 / 4!important;
    position:static!important;
    transform:none!important;
    top:auto!important;
    left:auto!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    align-self:center!important;
    justify-self:end!important;
    width:auto!important;
    min-width:max-content!important;
    max-width:100%!important;
    height:auto!important;
    margin:0!important;
    padding:0!important;
    white-space:nowrap!important;
    line-height:1!important;
    font-size:clamp(19px,5.3vw,25px)!important;
  }
}

/* Original sg-mobile-finished-shift-v164.css */
/* SerieAGoal v1.64 — solo gare terminate, solo mobile.
   Sposta il blocco centrale del pronostico un po' più a destra,
   aumentando la distanza dai risultati della gara senza alterare
   percentuale, stella o le gare ancora da giocare.
*/
@media screen and (max-width:760px){
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap.is-finished .sg104-dc-preview:not([hidden]){
    padding-left:12px!important;
    box-sizing:border-box!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap.is-finished .sg104-dc-title,
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap.is-finished .sg104-dc-value,
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap.is-finished .sg104-dc-access,
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap.is-finished .sg104-dc-access.sg106-dc-won,
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap.is-finished .sg104-dc-access.sg106-dc-lost{
    padding-left:0!important;
  }
}
@media screen and (max-width:390px){
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap.is-finished .sg104-dc-preview:not([hidden]){
    padding-left:10px!important;
  }
}

/* Original sg-mobile-fixture-alignment-v165.css */
/* SerieAGoal v1.65 — mobile: simmetria dei margini e squadre terminate.
   Intervento mirato: non altera pronostico, esito, percentuale o colonne. */
@media screen and (max-width:760px){
  /* La riga definisce il riferimento assoluto del tasto preferiti. */
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap > .sg-match-row{
    position:relative!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-feature-zone,
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-feature-zone.has-features,
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-feature-zone.is-empty{
    position:static!important;
  }
  /* La stella, in future/live/terminate, ha lo stesso rientro visivo
     dal lato destro che l'orario/stato ha sul lato sinistro. La centratura
     verticale resta indipendente dall'altezza del blocco pronostico. */
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-feature-zone .sg108-row-actions,
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-feature-zone.has-features .sg108-row-actions,
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-feature-zone.is-empty .sg108-row-actions{
    position:absolute!important;
    top:50%!important;
    right:5px!important;
    left:auto!important;
    bottom:auto!important;
    transform:translateY(-50%)!important;
    width:27px!important;
    min-width:27px!important;
    max-width:27px!important;
    height:32px!important;
    min-height:32px!important;
    max-height:32px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    align-self:auto!important;
    justify-self:auto!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
    z-index:3!important;
  }
  /* SOLO finite: le squadre avanzano verso "Finita" di circa 7 px;
     la posizione del risultato e il blocco Doppia Chance non cambiano. */
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap.is-finished .sg-match-main-link{
    grid-template-columns:37px minmax(0,1fr)!important;
    column-gap:6px!important;
  }
}
@media screen and (max-width:390px){
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-feature-zone .sg108-row-actions,
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-feature-zone.has-features .sg108-row-actions,
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-feature-zone.is-empty .sg108-row-actions{
    right:2px!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap.is-finished .sg-match-main-link{
    grid-template-columns:36px minmax(0,1fr)!important;
  }
}

/* Original sg-mobile-star-symmetric-v166.css */
/* SerieAGoal v1.66 — solo correzione stella mobile.
   La stella deve avere a destra lo stesso gutter della riga che
   Finita/LIVE/orario hanno a sinistra. Vale per finite, live e future. */
@media screen and (max-width:760px){
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-feature-zone .sg108-row-actions,
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-feature-zone.has-features .sg108-row-actions,
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-feature-zone.is-empty .sg108-row-actions{
    right:0!important;
  }
}
@media screen and (max-width:390px){
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-feature-zone .sg108-row-actions,
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-feature-zone.has-features .sg108-row-actions,
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap .sg-match-feature-zone.is-empty .sg108-row-actions{
    right:0!important;
  }
}

/* Original sg-mobile-upcoming-preview-v167.css */
/* SerieAGoal v1.67 - Solo mobile, SOLO fixture non terminate (incluse LIVE).
   Presentazione come le gare concluse: etichetta, scelta, azione uno sotto
   l'altro e percentuale nella colonna affiancata. La terza riga del layout
   e' un collegamento (non una modifica alla logica di autorizzazione).
   La risposta Premium/Free e il lucchetto restano decisi da JS+backend. */
@media screen and (max-width:760px) {
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap:not(.is-finished) .sg-match-feature-zone .sg-match-features {
    align-self:center!important;
    justify-content:center!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap:not(.is-finished) .sg104-dc-preview:not([hidden]) {
    display:grid!important;
    grid-template-columns:minmax(0,1fr) max-content!important;
    grid-template-rows:auto auto auto!important;
    column-gap:8px!important;
    row-gap:5px!important;
    align-content:center!important;
    align-items:center!important;
    justify-content:stretch!important;
    position:static!important;
    width:100%!important;min-width:0!important;max-width:100%!important;
    height:auto!important;
    margin:0!important;
    padding:2px 0 2px 12px!important;
    box-sizing:border-box!important;
    overflow:visible!important;
  }
  /* Rimuove solo l'involucro di layout (non i suoi contenuti). */
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap:not(.is-finished) .sg106-dc-headline {
    display:contents!important;
    position:static!important;
    top:auto!important;left:auto!important;
    transform:none!important;
    padding:0!important;margin:0!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap:not(.is-finished) .sg104-dc-title {
    grid-column:1!important;grid-row:1!important;
    align-self:end!important;justify-self:start!important;
    position:static!important;top:auto!important;left:auto!important;
    transform:none!important;
    margin:0!important;padding:0!important;
    min-width:0!important;white-space:nowrap!important;
    line-height:1.2!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap:not(.is-finished) .sg104-dc-value {
    grid-column:1!important;grid-row:2!important;
    align-self:center!important;justify-self:start!important;
    display:block!important;
    min-width:0!important;max-width:100%!important;
    position:static!important;top:auto!important;left:auto!important;
    transform:none!important;
    white-space:normal!important;
    overflow:visible!important;
    overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;
    font-size:clamp(10px,2.9vw,12px)!important;
    line-height:1.22!important;
    margin:0!important;padding:0!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap:not(.is-finished) .sg104-dc-preview .sg106-dc-percent {
    grid-column:2!important;grid-row:1 / 3!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    position:static!important;top:auto!important;left:auto!important;
    transform:none!important;
    align-self:center!important;justify-self:end!important;
    width:auto!important;height:auto!important;min-width:max-content!important;max-width:100%!important;
    margin:0!important;padding:0!important;
    font-size:clamp(19px,5.3vw,25px)!important;
    line-height:1!important;white-space:nowrap!important;
  }
  /* Riga inferiore separata: il tasto si estende su entrambe le colonne
     per non tagliare il lucchetto o la scritta su schermi stretti. */
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap:not(.is-finished) .sg104-dc-access {
    grid-column:1 / -1!important;grid-row:3!important;
    display:flex!important;
    align-items:center!important;justify-content:flex-start!important;
    gap:6px!important;
    justify-self:start!important;align-self:start!important;
    position:static!important;top:auto!important;left:auto!important;
    transform:none!important;
    margin:1px 0 0!important;
    padding:6px 8px!important;
    width:max-content!important;max-width:100%!important;min-width:0!important;
    height:auto!important;min-height:32px!important;
    box-sizing:border-box!important;
    white-space:normal!important;overflow:visible!important;
    font-size:clamp(9px,2.4vw,10px)!important;
    line-height:1.25!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap:not(.is-finished) .sg104-dc-access:has(.sg106-dc-lock),
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap:not(.is-finished) .sg104-dc-access.sg113-dc-premium-action {
    border:1px solid var(--sg-line,#737e91)!important;
    border-radius:9px!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap:not(.is-finished) .sg104-dc-access > .sg106-dc-lock {
    display:inline-flex!important;flex:0 0 13px!important;
    align-items:center!important;justify-content:center!important;
    width:13px!important;height:14px!important;
    min-width:13px!important;min-height:14px!important;
    overflow:visible!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap:not(.is-finished) .sg104-dc-access > .sg106-dc-lock svg {
    display:block!important;width:13px!important;height:13px!important;flex:0 0 13px!important;
  }
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap:not(.is-finished) .sg104-dc-access > span:last-child:not(.sg106-dc-lock) {
    display:block!important;min-width:0!important;max-width:100%!important;
    white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;
  }
}
@media screen and (max-width:390px) {
  html[data-sg-theme] body.sg-body .sg-main .sg-match-row-wrap:not(.is-finished) .sg104-dc-preview:not([hidden]) {
    padding-left:10px!important;
    column-gap:6px!important;
  }
}
