/* FBB-NORMAL-HERO-GRID-FIX-BEGIN */

@media (max-width: 640px) {

  body.normal-fbb-layout
  #scoreCenterBox {
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  body.normal-fbb-layout
  #scoreCenterBox
  :is(
    .premium-score-grid,
    .premium-score-content,
    .premium-score-main,
    .score-center-grid
  ) {
    display: grid !important;

    grid-template-columns:
      minmax(88px, 1fr)
      minmax(72px, auto)
      minmax(88px, 1fr) !important;

    align-items: center !important;
    justify-items: stretch !important;

    width: 100% !important;
    min-width: 0 !important;

    column-gap: 8px !important;
    box-sizing: border-box !important;
  }

  body.normal-fbb-layout
  #scoreCenterBox
  .premium-team {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    text-align: center !important;
  }

  body.normal-fbb-layout
  #scoreCenterBox
  :is(
    #scoreHomeName,
    #scoreAwayName,
    .premium-team-name
  ) {
    display: block !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: 125px !important;

    margin:
      6px
      auto
      0 !important;

    padding: 0 !important;

    font-size: 14px !important;
    line-height: 1.15 !important;

    text-align: center !important;

    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
  }

  body.normal-fbb-layout
  #scoreCenterBox
  .premium-score-middle {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 72px !important;
    max-width: 90px !important;

    margin: 0 auto !important;
    padding: 0 3px !important;

    text-align: center !important;
  }

  body.normal-fbb-layout
  #scoreCenterBox
  .premium-score-flag {
    display: block !important;

    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
    min-height: 54px !important;
    max-width: 54px !important;
    max-height: 54px !important;

    margin: 0 auto !important;

    object-fit: contain !important;
    flex: 0 0 54px !important;
  }

  body.normal-fbb-layout
  #scoreCenterBox
  :is(
    .premium-score-vs,
    .premium-score-value
  ) {
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
  }

  body.normal-fbb-layout
  #scoreCenterBox
  .premium-score-status {
    max-width: 88px !important;

    font-size: 10px !important;
    line-height: 1.15 !important;

    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;

    text-align: center !important;
  }

  body.normal-fbb-layout
  #scoreCenterBox
  .meta-row {
    display: grid !important;

    grid-template-columns:
      repeat(
        3,
        minmax(0, 1fr)
      ) !important;

    gap: 7px !important;

    width: 100% !important;
    min-width: 0 !important;
  }

  body.normal-fbb-layout
  #scoreCenterBox
  .meta-row
  > * {
    min-width: 0 !important;

    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;

    font-size: 10px !important;
  }
}

@media (max-width: 370px) {

  body.normal-fbb-layout
  #scoreCenterBox
  :is(
    .premium-score-grid,
    .premium-score-content,
    .premium-score-main,
    .score-center-grid
  ) {
    grid-template-columns:
      minmax(78px, 1fr)
      minmax(62px, auto)
      minmax(78px, 1fr) !important;

    column-gap: 5px !important;
  }

  body.normal-fbb-layout
  #scoreCenterBox
  :is(
    #scoreHomeName,
    #scoreAwayName,
    .premium-team-name
  ) {
    max-width: 105px !important;
    font-size: 13px !important;
  }

  body.normal-fbb-layout
  #scoreCenterBox
  .premium-score-flag {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
  }
}

/* FBB-NORMAL-HERO-GRID-FIX-END */
