/* Kisure v278: keep prediction match card inline on every viewport */
.football-prediction-detail-page .football-prediction-match-card__teams.football-prediction-match-card__teams--inline,
.football-prediction-match-card__teams.football-prediction-match-card__teams--inline {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: clamp(0.25rem, 1vw, 0.7rem) !important;
    width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
}

.football-prediction-detail-page .football-prediction-match-card__teams--inline .football-prediction-match-card__team,
.football-prediction-match-card__teams--inline .football-prediction-match-card__team {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    min-width: 0 !important;
    width: auto !important;
    gap: clamp(0.22rem, 0.8vw, 0.55rem) !important;
}

.football-prediction-detail-page .football-prediction-match-card__teams--inline .football-prediction-match-card__team--home,
.football-prediction-match-card__teams--inline .football-prediction-match-card__team--home {
    flex: 1 1 0 !important;
    justify-content: flex-end !important;
    text-align: right !important;
}

.football-prediction-detail-page .football-prediction-match-card__teams--inline .football-prediction-match-card__team--away,
.football-prediction-match-card__teams--inline .football-prediction-match-card__team--away {
    flex: 1 1 0 !important;
    justify-content: flex-start !important;
    text-align: left !important;
}

.football-prediction-detail-page .football-prediction-match-card__teams--inline strong,
.football-prediction-match-card__teams--inline strong {
    display: block !important;
    min-width: 0 !important;
    max-width: min(30vw, 280px) !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    line-height: 1.1 !important;
}

.football-prediction-detail-page .football-prediction-match-card__teams--inline img,
.football-prediction-match-card__teams--inline img {
    flex: 0 0 auto !important;
    width: clamp(30px, 5vw, 58px) !important;
    height: clamp(30px, 5vw, 58px) !important;
    object-fit: contain !important;
}

.football-prediction-detail-page .football-prediction-match-card__teams--inline .football-prediction-match-card__versus,
.football-prediction-match-card__teams--inline .football-prediction-match-card__versus {
    flex: 0 0 auto !important;
    min-width: clamp(42px, 7vw, 70px) !important;
    max-width: 82px !important;
    white-space: nowrap !important;
    text-align: center !important;
    justify-self: auto !important;
}

@media (max-width: 780px) {
    .football-prediction-detail-page .football-prediction-match-card__teams.football-prediction-match-card__teams--inline,
    .football-prediction-match-card__teams.football-prediction-match-card__teams--inline {
        gap: 0.32rem !important;
    }
    .football-prediction-detail-page .football-prediction-match-card__teams--inline strong,
    .football-prediction-match-card__teams--inline strong {
        max-width: 27vw !important;
        font-size: clamp(0.78rem, 2.4vw, 0.96rem) !important;
    }
    .football-prediction-detail-page .football-prediction-match-card__teams--inline img,
    .football-prediction-match-card__teams--inline img {
        width: clamp(28px, 5.6vw, 42px) !important;
        height: clamp(28px, 5.6vw, 42px) !important;
    }
}

@media (max-width: 420px) {
    .football-prediction-detail-page .football-prediction-match-card__teams.football-prediction-match-card__teams--inline,
    .football-prediction-match-card__teams.football-prediction-match-card__teams--inline {
        gap: 0.22rem !important;
    }
    .football-prediction-detail-page .football-prediction-match-card__teams--inline .football-prediction-match-card__team,
    .football-prediction-match-card__teams--inline .football-prediction-match-card__team {
        gap: 0.18rem !important;
    }
    .football-prediction-detail-page .football-prediction-match-card__teams--inline strong,
    .football-prediction-match-card__teams--inline strong {
        max-width: 25vw !important;
        font-size: 0.76rem !important;
    }
    .football-prediction-detail-page .football-prediction-match-card__teams--inline img,
    .football-prediction-match-card__teams--inline img {
        width: 28px !important;
        height: 28px !important;
    }
    .football-prediction-detail-page .football-prediction-match-card__teams--inline .football-prediction-match-card__versus,
    .football-prediction-match-card__teams--inline .football-prediction-match-card__versus {
        min-width: 38px !important;
        max-width: 48px !important;
        padding-inline: 0.25rem !important;
        font-size: 0.72rem !important;
    }
}
