/* Theme 5.17.291 — Main móvil con goleadores visibles, opcional.
   Reutiliza los goles que Core ya imprime y actualiza en vivo. Sin JS,
   llamadas adicionales ni modificaciones al renderer o a sus eventos.
   La clase opuesta (summary) conserva íntegro el diseño de 5.17.290. */
@media(max-width:680px) {
  body.tessirve-theme.tsv-main-mobile-goals .ms-app.ms-home-app .ms-home-today .ms-match-groups .ms-compact-match > .ms-compact-scoreline > :is(span.is-home,span.is-away) > .ms-compact-team-goals {
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:wrap!important;
    align-items:baseline!important;
    align-self:start!important;
    grid-row:3!important;
    column-gap:4px!important;
    row-gap:2px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:auto!important;
    min-height:0!important;
    margin:2px 0 0!important;
    padding:0!important;
    overflow:visible!important;
  }

  body.tessirve-theme.tsv-main-mobile-goals .ms-app.ms-home-app .ms-home-today .ms-match-groups .ms-compact-match > .ms-compact-scoreline > span.is-home > .ms-compact-team-goals {
    justify-content:flex-end!important;
    text-align:right!important;
  }

  body.tessirve-theme.tsv-main-mobile-goals .ms-app.ms-home-app .ms-home-today .ms-match-groups .ms-compact-match > .ms-compact-scoreline > span.is-away > .ms-compact-team-goals {
    justify-content:flex-start!important;
    text-align:left!important;
  }

  body.tessirve-theme.tsv-main-mobile-goals .ms-app.ms-home-app .ms-home-today .ms-match-groups .ms-compact-scoreline .ms-compact-team-goals > .ms-compact-goal-row {
    display:contents!important;
  }

  body.tessirve-theme.tsv-main-mobile-goals .ms-app.ms-home-app .ms-home-today .ms-match-groups .ms-compact-scoreline .ms-compact-team-goals .ms-compact-goal-item {
    display:inline-flex!important;
    flex-direction:row!important;
    align-items:baseline!important;
    max-width:100%!important;
    min-width:0!important;
    white-space:normal!important;
    gap:0!important;
    line-height:1.05!important;
  }

  /* Same scale as the existing expanded mobile scorer list. */
  body.tessirve-theme.tsv-main-mobile-goals .ms-app.ms-home-app .ms-home-today .ms-match-groups .ms-compact-scoreline .ms-compact-team-goals .ms-compact-goal-item b {
    font-size:.54rem!important;
    line-height:1.05!important;
    min-width:0!important;
    max-width:100%!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }

  body.tessirve-theme.tsv-main-mobile-goals .ms-app.ms-home-app .ms-home-today .ms-match-groups .ms-compact-scoreline .ms-compact-team-goals .ms-compact-goal-item small {
    font-size:.49rem!important;
    flex-shrink:0!important;
    white-space:nowrap!important;
  }

  body.tessirve-theme.tsv-main-mobile-goals .ms-app.ms-home-app .ms-home-today .ms-match-groups .ms-compact-scoreline .ms-compact-team-goals .ms-compact-goal-item::after {
    content:";";
    color:var(--ms-muted);
    font-size:.49rem;
    line-height:1;
    margin-left:1px;
  }

  body.tessirve-theme.tsv-main-mobile-goals .ms-app.ms-home-app .ms-home-today .ms-match-groups .ms-compact-scoreline .ms-compact-team-goals > .ms-compact-goal-row:last-child > .ms-compact-goal-item:last-of-type::after {
    content:none;
  }

  body.tessirve-theme.tsv-main-mobile-goals .ms-app.ms-home-app .ms-home-today .ms-match-groups .ms-compact-scoreline .ms-compact-team-goals .ms-compact-goal-sep {
    display:none!important;
  }

  body.tessirve-theme.tsv-main-mobile-goals .ms-app.ms-home-app .ms-home-today .ms-match-groups .ms-compact-match :is(.ms-compact-mobile-toggle,.ms-compact-mobile-events) {
    display:none!important;
  }

  body.tessirve-theme.tsv-main-mobile-goals .ms-app.ms-home-app .ms-home-today .ms-match-groups .ms-compact-match .ms-compact-center-stack > .ms-match-status-chip {
    grid-column:3 / 5!important;
    justify-self:center!important;
    align-self:start!important;
  }
}
