/* SPORTS INTEL MOBILE APP V12 - FINAL DUPLICATE / COMBO / DETAIL FIX */
@media (min-width:901px){
  .si11-match-card{display:none!important}
}

@media (max-width:900px){
  /* HOME: keep V11 mobile card, hide the original desktop row only on mobile */
  .time-matches > .match-row.multisport-row{
    display:none!important;
  }

  /* COMBO: backdrop must stay BEHIND the sheet and must never blur the sheet */
  #combo-backdrop{
    position:fixed!important;
    inset:0!important;
    z-index:1990!important;
    background:rgba(0,0,0,.62)!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
    filter:none!important;
    opacity:1!important;
  }
  #combo-column.combo-column{
    position:fixed!important;
    left:8px!important;
    right:8px!important;
    bottom:72px!important;
    top:auto!important;
    z-index:2000!important;
    max-height:72vh!important;
    overflow:auto!important;
    background:#07131e!important;
    border:1px solid #23445f!important;
    border-radius:16px!important;
    box-shadow:0 18px 70px rgba(0,0,0,.62)!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
    filter:none!important;
    opacity:1!important;
  }
  #combo-column.combo-column,
  #combo-column.combo-column *{
    filter:none!important;
  }
  body.combo-sheet-open #combo-column{
    display:block!important;
  }
  body.combo-sheet-open #combo-backdrop{
    display:block!important;
  }
  #combo-column[hidden],
  #combo-backdrop[hidden]{
    display:none!important;
  }
  #mobile-combo-fab.mobile-combo-fab{
    z-index:2010!important;
  }

  /* DETAIL: use the original single match-summary as the mobile hero */
  .match-hero2{
    display:block!important;
    margin-bottom:10px!important;
  }
  .match-summary.card{
    padding:14px 12px!important;
    border-radius:14px!important;
  }
  .match-summary .crumb{
    margin-bottom:12px!important;
    text-align:center!important;
  }
  .match-summary .hero-teams{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 82px minmax(0,1fr)!important;
    gap:8px!important;
    align-items:center!important;
  }
  .match-summary .hero-team{
    min-width:0!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    text-align:center!important;
    gap:7px!important;
  }
  .match-summary .hero-team.away{
    flex-direction:column-reverse!important;
    justify-content:center!important;
    text-align:center!important;
  }
  .match-summary .hero-team img{
    width:52px!important;
    height:52px!important;
    margin:0 auto!important;
    object-fit:contain!important;
  }
  .match-summary .hero-team b{
    display:block!important;
    font-size:13px!important;
    line-height:1.25!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }
  .match-summary .hero-team small{
    font-size:10px!important;
    margin-top:3px!important;
  }
  .match-summary .hero-center{
    text-align:center!important;
  }
  .match-summary .hero-center b{
    font-size:24px!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
  .match-summary .hero-center small{
    display:block!important;
    margin-top:7px!important;
    font-size:9px!important;
    line-height:1.35!important;
  }

  .probability-card.card{
    margin-top:10px!important;
    border-radius:14px!important;
  }
}

/* Analysis modal must sit above combo sheet if opened */
#combo-modal.combo-modal{z-index:3000!important}
