/* FBB-MORE-PREDICTIONS-MOBILE-STABLE-V4 */

@media (max-width: 760px) {

  #fbbMorePredictions {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    min-height: 560px !important;
    margin: 18px auto !important;
    padding: 15px 12px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    border-radius: 18px !important;
    contain: layout paint !important;
  }

  #fbbMorePredictions,
  #fbbMorePredictions *,
  #fbbMorePredictions *::before,
  #fbbMorePredictions *::after {
    box-sizing: border-box !important;
  }

  /*
   * Strong language visibility rules.
   * These override the display:block rules on strong/small.
   */
  #fbbMorePredictions [hidden],
  #fbbMorePredictions .en[hidden],
  #fbbMorePredictions .pt[hidden],
  #fbbMorePredictions strong[hidden],
  #fbbMorePredictions small[hidden] {
    display: none !important;
  }

  html[lang^="en"] #fbbMorePredictions .pt,
  html[lang^="pt"] #fbbMorePredictions .en {
    display: none !important;
  }

  #fbbMorePredictions .fbb-more-heading {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: start !important;
    gap: 10px !important;
    margin-bottom: 12px !important;
  }

  #fbbMorePredictions .fbb-more-heading > div {
    min-width: 0 !important;
  }

  #fbbMorePredictions .fbb-section-kicker {
    display: block !important;
    margin-bottom: 4px !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    letter-spacing: 0.08em !important;
  }

  #fbbMorePredictions h2 {
    margin: 0 !important;
    font-size: clamp(16px, 4.4vw, 20px) !important;
    line-height: 1.22 !important;
    overflow-wrap: anywhere !important;
  }

  #fbbMorePredictions .fbb-view-all {
    min-height: 36px !important;
    padding: 8px 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 11px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    border-radius: 10px !important;
  }

  #fbbMorePredictions .fbb-more-grid {
    width: 100% !important;
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
    margin: 0 !important;
  }

  #fbbMorePredictions .fbb-more-grid > .fbb-more-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 138px !important;
    margin: 0 !important;
    padding: 10px 8px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    gap: 6px !important;
    overflow: hidden !important;
    border-radius: 13px !important;
  }

  #fbbMorePredictions .fbb-more-teams {
    width: 100% !important;
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: 32px minmax(0, 1fr) 32px !important;
    align-items: center !important;
    gap: 5px !important;
  }

  #fbbMorePredictions .fbb-more-teams img {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    margin: 0 !important;
    object-fit: contain !important;
  }

  #fbbMorePredictions .fbb-more-teams strong {
    display: block !important;
    min-width: 0 !important;
    margin: 0 !important;
    text-align: center !important;
    font-size: 11px !important;
    line-height: 1.15 !important;
    overflow-wrap: anywhere !important;
  }

  #fbbMorePredictions .fbb-vs {
    display: block !important;
    margin: 2px 0 !important;
    font-size: 8px !important;
    line-height: 1 !important;
    opacity: 0.65 !important;
    text-transform: uppercase !important;
  }

  #fbbMorePredictions .fbb-more-date {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    text-align: center !important;
    font-size: 9px !important;
    line-height: 1.15 !important;
    white-space: normal !important;
    opacity: 0.78 !important;
  }

  #fbbMorePredictions .fbb-more-pick {
    width: 100% !important;
    min-height: 28px !important;
    padding: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 10px !important;
    line-height: 1.1 !important;
    border-radius: 9px !important;
    overflow-wrap: anywhere !important;
  }

  #fbbMorePredictions .fbb-more-cta-row {
    width: 100% !important;
    min-width: 0 !important;
    margin-top: 11px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  #fbbMorePredictions .fbb-related-compact-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 68px !important;
    margin: 0 !important;
    padding: 10px 11px !important;
    border-radius: 13px !important;
    overflow: hidden !important;
  }

  #fbbMorePredictions .fbb-more-league {
    display: grid !important;
    grid-template-columns: 38px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 10px !important;
  }

  #fbbMorePredictions .fbb-country-flag,
  #fbbMorePredictions .fbb-country-flag svg {
    display: block !important;
    width: 38px !important;
    height: auto !important;
    margin: 0 !important;
  }

  #fbbMorePredictions .fbb-related-compact-card strong {
    display: block !important;
    min-width: 0 !important;
    font-size: 12px !important;
    line-height: 1.18 !important;
    overflow-wrap: anywhere !important;
  }

  #fbbMorePredictions .fbb-related-compact-card small {
    display: block !important;
    min-width: 0 !important;
    margin-top: 3px !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    overflow-wrap: anywhere !important;
  }
}

@media (max-width: 350px) {

  #fbbMorePredictions {
    width: calc(100vw - 12px) !important;
    max-width: calc(100vw - 12px) !important;
    min-height: 890px !important;
    padding: 13px 9px !important;
  }

  #fbbMorePredictions .fbb-more-heading {
    grid-template-columns: 1fr !important;
  }

  #fbbMorePredictions .fbb-view-all {
    width: 100% !important;
  }

  #fbbMorePredictions .fbb-more-grid {
    grid-template-columns: 1fr !important;
  }

  #fbbMorePredictions .fbb-more-grid > .fbb-more-card {
    min-height: 120px !important;
  }
}
