/* InazumArcade V795 · FFI completed-tournament match history fit.
   Only the central list of played/simulated international matches is changed.
   The parent panel size, surrounding columns, and match text size are preserved. */
@media (min-width: 901px) {
  html:not(.ia-real-phone-mode):not(.ia-phone-preview)
  #screen-career .career-intl-wrap.career-intl-expanded
  .career-intl-grid > .career-column:nth-child(2) > .career-panel > .career-intl-match-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 8px !important;
  }

  html:not(.ia-real-phone-mode):not(.ia-phone-preview)
  #screen-career .career-intl-wrap.career-intl-expanded
  .career-intl-grid > .career-column:nth-child(2) > .career-panel > .career-intl-match-list > .career-intl-match {
    box-sizing: border-box !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 7px 8px !important;
    min-height: 54px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 7px !important;
  }

  html:not(.ia-real-phone-mode):not(.ia-phone-preview)
  #screen-career .career-intl-wrap.career-intl-expanded
  .career-intl-grid > .career-column:nth-child(2) > .career-panel > .career-intl-match-list > .career-intl-match > span {
    min-width: 0 !important;
    flex: 1 1 auto !important;
    font-size: 15.5px !important;
    line-height: 1.22 !important;
    overflow-wrap: normal !important;
  }

  html:not(.ia-real-phone-mode):not(.ia-phone-preview)
  #screen-career .career-intl-wrap.career-intl-expanded
  .career-intl-grid > .career-column:nth-child(2) > .career-panel > .career-intl-match-list > .career-intl-match > small {
    flex: 0 0 auto !important;
    align-self: center !important;
    white-space: nowrap !important;
    font-size: 11px !important;
    line-height: 1.1 !important;
  }
}

/* At the wide desktop width shown in the reference, use a third compact column
   so the complete tournament history stays within the existing panel height. */
@media (min-width: 1450px) {
  html:not(.ia-real-phone-mode):not(.ia-phone-preview)
  #screen-career .career-intl-wrap.career-intl-expanded
  .career-intl-grid > .career-column:nth-child(2) > .career-panel > .career-intl-match-list {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }
}
