/* 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;
  }
}
