﻿:root {
    --mdl-green: #5b8c3b;
    --mdl-green-dark: #416d2b;
    --mdl-navy: #071a33;
    --mdl-blue: #1f5d8f;
    --mdl-red: #a93434;
    --mdl-gold: #f4c542;
    --mdl-slate: #64748b;
    --mdl-border: #dde6ee;
    --mdl-surface: #ffffff;
    --mdl-soft: #f6f8fb;
}

.match-lineups-details-card {
    margin-bottom: 22px;
    padding: 24px;
    overflow: hidden;
    border: 1px solid var(--mdl-border);
    border-radius: 22px;
    background: radial-gradient( circle at top right, rgba(91, 140, 59, .11), transparent 30rem), var(--mdl-surface);
    box-shadow: 0 16px 40px rgba(15, 23, 42, .075);
}

.match-lineups-details-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--mdl-border);
}

.match-lineups-details-kicker {
    color: var(--mdl-green-dark);
    font-size: .74rem;
    font-weight: 900;
}

.match-lineups-details-heading h2 {
    margin: 4px 0 0;
    color: var(--mdl-navy);
    font-size: 1.3rem;
    font-weight: 900;
}

.match-lineups-details-heading p {
    max-width: 760px;
    margin: 7px 0 0;
    color: var(--mdl-slate);
    font-size: .8rem;
    line-height: 1.8;
}

.match-lineups-details-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

    .match-lineups-details-actions .btn {
        border-radius: 9px;
        font-size: .72rem;
        font-weight: 900;
    }

.match-lineups-team-banner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: stretch;
    gap: 12px;
    margin-bottom: 18px;
}

.match-lineups-banner-team,
.match-lineups-banner-score {
    min-height: 105px;
    border: 1px solid var(--mdl-border);
    border-radius: 17px;
    background: #fff;
}

.match-lineups-banner-team {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px;
}

    .match-lineups-banner-team.is-home {
        border-right: 5px solid var(--mdl-green);
    }

    .match-lineups-banner-team.is-away {
        justify-content: flex-end;
        border-left: 5px solid var(--mdl-blue);
        text-align: left;
    }

.match-lineups-banner-logo {
    display: grid;
    width: 65px;
    height: 65px;
    flex: 0 0 auto;
    overflow: hidden;
    place-items: center;
    border: 1px solid var(--mdl-border);
    border-radius: 16px;
    background: #f8fafc;
    color: var(--mdl-navy);
    font-size: 1.35rem;
    font-weight: 900;
}

    .match-lineups-banner-logo img {
        width: 100%;
        height: 100%;
        padding: 6px;
        object-fit: contain;
    }

.match-lineups-banner-team > div:not(.match-lineups-banner-logo) {
    min-width: 0;
}

.match-lineups-banner-team span {
    color: var(--mdl-slate);
    font-size: .67rem;
    font-weight: 900;
}

.match-lineups-banner-team h3 {
    overflow: hidden;
    margin: 4px 0 0;
    color: var(--mdl-navy);
    font-size: 1rem;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.match-lineups-banner-team small {
    display: block;
    margin-top: 5px;
    color: var(--mdl-green-dark);
    font-size: .7rem;
    font-weight: 800;
}

.match-lineups-banner-score {
    display: flex;
    min-width: 145px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    background: linear-gradient( 145deg, var(--mdl-navy), #123b60);
    color: #fff;
}

    .match-lineups-banner-score span {
        color: rgba(255, 255, 255, .72);
        font-size: .64rem;
        font-weight: 900;
    }

    .match-lineups-banner-score strong {
        margin-top: 4px;
        font-size: 1.5rem;
        font-weight: 900;
    }

    .match-lineups-banner-score small {
        color: rgba(255, 255, 255, .72);
        font-size: .62rem;
    }

.match-dual-pitch-layout {
    display: grid;
    grid-template-columns: 130px minmax(480px, 690px) 130px;
    align-items: center;
    justify-content: center;
    gap: 14px;
    direction: ltr;
}

.match-dual-pitch-side-note {
    display: flex;
    min-height: 118px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 13px 9px;
    border: 1px solid var(--mdl-border);
    border-radius: 15px;
    background: #fff;
    text-align: center;
    direction: rtl;
}

    .match-dual-pitch-side-note.is-home {
        border-top: 4px solid var(--mdl-green);
    }

    .match-dual-pitch-side-note.is-away {
        border-top: 4px solid var(--mdl-blue);
    }

    .match-dual-pitch-side-note span {
        color: var(--mdl-navy);
        font-size: .72rem;
        font-weight: 900;
    }

    .match-dual-pitch-side-note strong {
        margin-top: 7px;
        color: var(--mdl-slate);
        font-size: .64rem;
    }

.match-dual-pitch-shell {
    width: 100%;
    padding: 10px;
    border-radius: 20px;
    background: #e4ebe1;
    direction: rtl;
}

.match-dual-pitch {
    position: relative;
    width: 100%;
    aspect-ratio: 68 / 105;
    overflow: visible;
    border: 5px solid rgba(255, 255, 255, .96);
    border-radius: 17px;
    background: #4a9138;
    box-shadow: 0 18px 40px rgba(27, 69, 24, .23), inset 0 0 0 1px rgba(0, 0, 0, .06);
    isolation: isolate;
}

.match-dual-pitch-stripes {
    position: absolute;
    inset: 0;
    z-index: -3;
    border-radius: 11px;
    background: repeating-linear-gradient( 0deg, rgba(255, 255, 255, .055) 0, rgba(255, 255, 255, .055) 9.09%, rgba(0, 0, 0, .025) 9.09%, rgba(0, 0, 0, .025) 18.18%);
}


.match-dual-pitch-half-zone {
    position: absolute;
    z-index: -2;
    right: 0;
    left: 0;
    height: 50%;
    pointer-events: none;
}

    .match-dual-pitch-half-zone.is-away {
        top: 0;
        background: linear-gradient( 180deg, rgba(31, 93, 143, .13), rgba(31, 93, 143, .025));
    }

    .match-dual-pitch-half-zone.is-home {
        bottom: 0;
        background: linear-gradient( 0deg, rgba(91, 140, 59, .16), rgba(91, 140, 59, .025));
    }

.match-person-overlay-link {
    position: absolute;
    z-index: 30;
    inset: 0;
    display: block;
    border-radius: inherit;
    text-decoration: none;
}

    .match-person-overlay-link:focus-visible {
        outline: 3px solid var(--mdl-gold);
        outline-offset: 3px;
    }

.match-lineup-player-card,
.match-lineup-substitutes article,
.match-team-staff-card,
.match-referee-card {
    position: relative;
}

.match-lineup-player-card,
.match-lineup-substitutes article,
.match-team-staff-card,
.match-referee-card,
.match-pitch-player {
    cursor: pointer;
}

    .match-lineup-player-card:hover,
    .match-lineup-substitutes article:hover,
    .match-team-staff-card:hover,
    .match-referee-card:hover {
        border-color: rgba(91, 140, 59, .58);
        box-shadow: 0 10px 24px rgba(15, 23, 42, .09);
        transform: translateY(-2px);
    }

.match-lineup-player-card,
.match-lineup-substitutes article,
.match-team-staff-card,
.match-referee-card {
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.match-dual-pitch-boundary {
    position: absolute;
    inset: 2.4%;
    z-index: -1;
    border: 2px solid rgba(255, 255, 255, .9);
}

.match-dual-pitch-halfway {
    position: absolute;
    z-index: -1;
    top: 50%;
    right: 2.4%;
    left: 2.4%;
    border-top: 2px solid rgba(255, 255, 255, .9);
}

.match-dual-pitch-centre-circle {
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    width: 18%;
    aspect-ratio: 1;
    border: 2px solid rgba(255, 255, 255, .9);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.match-dual-pitch-centre-dot {
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    transform: translate(-50%, -50%);
}

.match-dual-pitch-penalty,
.match-dual-pitch-goal-area,
.match-dual-pitch-goal {
    position: absolute;
    z-index: -1;
    left: 50%;
    border: 2px solid rgba(255, 255, 255, .9);
    transform: translateX(-50%);
}

.match-dual-pitch-penalty {
    width: 58%;
    height: 16%;
}

.match-dual-pitch-goal-area {
    width: 29%;
    height: 7%;
}

.match-dual-pitch-goal {
    width: 18%;
    height: 2.5%;
    border-style: dashed;
}

.match-dual-pitch-penalty.is-top,
.match-dual-pitch-goal-area.is-top {
    top: 2.4%;
    border-top: 0;
}

.match-dual-pitch-goal.is-top {
    top: -.4%;
}

.match-dual-pitch-penalty.is-bottom,
.match-dual-pitch-goal-area.is-bottom {
    bottom: 2.4%;
    border-bottom: 0;
}

.match-dual-pitch-goal.is-bottom {
    bottom: -.4%;
}

.match-dual-pitch-end-label {
    position: absolute;
    z-index: 1;
    right: 50%;
    max-width: 70%;
    overflow: hidden;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(7, 26, 51, .5);
    color: rgba(255, 255, 255, .82);
    font-size: .58rem;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
    transform: translateX(50%);
}

    .match-dual-pitch-end-label.is-top {
        top: 3.2%;
    }

    .match-dual-pitch-end-label.is-bottom {
        bottom: 3.2%;
    }

.match-pitch-player {
    position: absolute;
    z-index: 4;
    top: var(--player-y);
    left: var(--player-x);
    display: flex;
    width: clamp(68px, 13%, 94px);
    flex-direction: column;
    align-items: center;
    transform: translate(-50%, -50%);
    transition: transform .2s ease, filter .2s ease;
}

    .match-pitch-player:hover {
        z-index: 12;
        transform: translate(-50%, -50%) scale(1.08);
        filter: drop-shadow(0 9px 13px rgba(0, 0, 0, .28));
    }

.match-pitch-player-photo {
    position: relative;
    display: grid;
    width: 52px;
    height: 52px;
    overflow: visible;
    place-items: center;
    border: 3px solid #fff;
    border-radius: 50%;
    background: linear-gradient( 145deg, var(--mdl-navy), #174a70);
    color: #fff;
    box-shadow: 0 7px 17px rgba(0, 0, 0, .3);
}

.match-pitch-player.is-home
.match-pitch-player-photo {
    box-shadow: 0 0 0 3px rgba(91, 140, 59, .8), 0 7px 17px rgba(0, 0, 0, .3);
}

.match-pitch-player.is-away
.match-pitch-player-photo {
    box-shadow: 0 0 0 3px rgba(31, 93, 143, .82), 0 7px 17px rgba(0, 0, 0, .3);
}

.match-pitch-player-photo img {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: inherit;
    object-fit: cover;
}

.match-pitch-player-photo > span {
    font-size: 1rem;
    font-weight: 900;
}

.match-pitch-player-photo b {
    position: absolute;
    right: -5px;
    bottom: -3px;
    display: grid;
    min-width: 22px;
    height: 22px;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--mdl-gold);
    color: var(--mdl-navy);
    font-size: .56rem;
}

.match-pitch-player-copy {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    margin-top: 3px;
}

    .match-pitch-player-copy strong {
        display: block;
        width: 100%;
        overflow: hidden;
        padding: 3px 5px;
        border-radius: 7px;
        background: rgba(7, 26, 51, .88);
        color: #fff;
        font-size: .59rem;
        font-weight: 900;
        text-align: center;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .match-pitch-player-copy small {
        color: #fff;
        font-size: .52rem;
        font-weight: 900;
        text-shadow: 0 1px 3px rgba(0, 0, 0, .65);
    }

.match-pitch-captain {
    position: absolute;
    top: 1px;
    left: 7px;
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--mdl-red);
    color: #fff;
    font-size: .5rem;
    font-weight: 900;
}

.match-dual-pitch-empty {
    position: absolute;
    z-index: 2;
    right: 50%;
    width: 70%;
    padding: 11px;
    border: 1px dashed rgba(255, 255, 255, .75);
    border-radius: 12px;
    background: rgba(7, 26, 51, .35);
    color: #fff;
    font-size: .7rem;
    font-weight: 800;
    text-align: center;
    transform: translateX(50%);
}

    .match-dual-pitch-empty.is-away {
        top: 24%;
    }

    .match-dual-pitch-empty.is-home {
        bottom: 24%;
    }

.match-dual-pitch-direction {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 4px 0;
    color: var(--mdl-slate);
    font-size: .61rem;
    font-weight: 800;
}

    .match-dual-pitch-direction strong {
        color: var(--mdl-green-dark);
    }

.match-lineup-detail-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 22px;
}

.match-lineup-team-details {
    padding: 18px;
    border: 1px solid var(--mdl-border);
    border-radius: 18px;
    background: var(--mdl-soft);
}

    .match-lineup-team-details.is-home {
        border-top: 5px solid var(--mdl-green);
    }

    .match-lineup-team-details.is-away {
        border-top: 5px solid var(--mdl-blue);
    }

.match-lineup-team-details-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

    .match-lineup-team-details-heading span {
        color: var(--mdl-slate);
        font-size: .63rem;
        font-weight: 900;
    }

    .match-lineup-team-details-heading h3 {
        margin: 3px 0 0;
        color: var(--mdl-navy);
        font-size: 1rem;
        font-weight: 900;
    }

    .match-lineup-team-details-heading > strong {
        padding: 5px 9px;
        border-radius: 999px;
        background: #fff;
        color: var(--mdl-green-dark);
        font-size: .69rem;
    }

.match-lineup-player-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.match-lineup-player-card {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    min-width: 0;
    padding: 10px;
    border: 1px solid var(--mdl-border);
    border-radius: 13px;
    background: #fff;
}

.match-lineup-player-card-photo {
    position: relative;
    display: grid;
    width: 50px;
    height: 50px;
    overflow: visible;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient( 145deg, var(--mdl-navy), #174a70);
    color: #fff;
    font-weight: 900;
}

    .match-lineup-player-card-photo img {
        width: 100%;
        height: 100%;
        overflow: hidden;
        border-radius: inherit;
        object-fit: cover;
    }

    .match-lineup-player-card-photo b {
        position: absolute;
        right: -4px;
        bottom: -2px;
        display: grid;
        min-width: 21px;
        height: 21px;
        place-items: center;
        border: 2px solid #fff;
        border-radius: 50%;
        background: var(--mdl-green);
        color: #fff;
        font-size: .54rem;
    }

.match-lineup-player-card-copy {
    min-width: 0;
}

    .match-lineup-player-card-copy h4 {
        overflow: hidden;
        margin: 0;
        color: var(--mdl-navy);
        font-size: .78rem;
        font-weight: 900;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .match-lineup-player-card-copy > span {
        display: block;
        overflow: hidden;
        color: var(--mdl-slate);
        font-size: .61rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .match-lineup-player-card-copy p {
        margin: 5px 0 0;
        color: var(--mdl-green-dark);
        font-size: .67rem;
        font-weight: 800;
    }

        .match-lineup-player-card-copy p small {
            margin-inline-start: 4px;
            color: var(--mdl-slate);
        }

.match-lineup-player-flags {
    position: absolute;
    top: 6px;
    left: 6px;
    display: flex;
    gap: 3px;
}

    .match-lineup-player-flags span {
        padding: 2px 5px;
        border-radius: 999px;
        font-size: .48rem;
        font-weight: 900;
    }

    .match-lineup-player-flags .is-captain {
        background: rgba(245, 158, 11, .16);
        color: #b45309;
    }

    .match-lineup-player-flags .is-goalkeeper {
        background: rgba(31, 93, 143, .13);
        color: var(--mdl-blue);
    }

.match-lineup-empty {
    padding: 30px 15px;
    border: 1px dashed #cbd5e1;
    border-radius: 13px;
    color: var(--mdl-slate);
    font-size: .75rem;
    text-align: center;
}

.match-lineup-substitutes {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--mdl-border);
}

    .match-lineup-substitutes h4 {
        margin: 0 0 9px;
        color: var(--mdl-navy);
        font-size: .76rem;
        font-weight: 900;
    }

    .match-lineup-substitutes > div {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .match-lineup-substitutes article {
        display: flex;
        align-items: center;
        gap: 8px;
        min-width: 0;
        padding: 8px;
        border: 1px solid var(--mdl-border);
        border-radius: 11px;
        background: #fff;
    }

.match-substitute-photo {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    overflow: hidden;
    place-items: center;
    border-radius: 50%;
    background: var(--mdl-navy);
    color: #fff;
    font-size: .7rem;
    font-weight: 900;
}

    .match-substitute-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.match-lineup-substitutes article > div:last-child {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.match-lineup-substitutes strong {
    overflow: hidden;
    color: var(--mdl-navy);
    font-size: .67rem;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.match-lineup-substitutes small {
    color: var(--mdl-slate);
    font-size: .56rem;
}

.match-team-staff-section {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--mdl-border);
}

.match-team-staff-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 15px;
}

    .match-team-staff-heading span {
        color: var(--mdl-green-dark);
        font-size: .67rem;
        font-weight: 900;
    }

    .match-team-staff-heading h3 {
        margin: 3px 0 0;
        color: var(--mdl-navy);
        font-size: 1rem;
        font-weight: 900;
    }

    .match-team-staff-heading p {
        margin: 6px 0 0;
        color: var(--mdl-slate);
        font-size: .73rem;
    }

    .match-team-staff-heading .btn {
        border-radius: 9px;
        font-size: .7rem;
        font-weight: 900;
    }

.match-team-staff-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.match-team-staff-team {
    padding: 17px;
    border: 1px solid var(--mdl-border);
    border-radius: 17px;
    background: var(--mdl-soft);
}

    .match-team-staff-team.is-home {
        border-right: 5px solid var(--mdl-green);
    }

    .match-team-staff-team.is-away {
        border-left: 5px solid var(--mdl-blue);
    }

.match-team-staff-team-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.match-team-staff-team-logo {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    overflow: hidden;
    place-items: center;
    border: 1px solid var(--mdl-border);
    border-radius: 12px;
    background: #fff;
    color: var(--mdl-navy);
    font-weight: 900;
}

    .match-team-staff-team-logo img {
        width: 100%;
        height: 100%;
        padding: 4px;
        object-fit: contain;
    }

.match-team-staff-team-heading span {
    color: var(--mdl-slate);
    font-size: .6rem;
    font-weight: 900;
}

.match-team-staff-team-heading h4 {
    margin: 2px 0 0;
    color: var(--mdl-navy);
    font-size: .87rem;
    font-weight: 900;
}

.match-team-staff-group + .match-team-staff-group {
    margin-top: 14px;
    padding-top: 13px;
    border-top: 1px solid var(--mdl-border);
}

.match-team-staff-group h5 {
    margin: 0 0 9px;
    color: var(--mdl-navy);
    font-size: .72rem;
    font-weight: 900;
}

.match-team-staff-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.match-team-staff-card {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 9px;
    border: 1px solid var(--mdl-border);
    border-radius: 12px;
    background: #fff;
}

.match-team-staff-avatar {
    position: relative;
    display: grid;
    width: 45px;
    height: 45px;
    flex: 0 0 auto;
    overflow: visible;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient( 145deg, var(--mdl-navy), #174a70);
    color: #fff;
    font-weight: 900;
}

    .match-team-staff-avatar img {
        width: 100%;
        height: 100%;
        overflow: hidden;
        border-radius: inherit;
        object-fit: cover;
    }

    .match-team-staff-avatar b {
        position: absolute;
        right: -3px;
        bottom: -2px;
        display: grid;
        min-width: 19px;
        height: 19px;
        place-items: center;
        border: 2px solid #fff;
        border-radius: 50%;
        background: var(--mdl-green);
        color: #fff;
        font-size: .5rem;
    }

.match-team-staff-card > div:last-child {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.match-team-staff-card strong {
    overflow: hidden;
    color: var(--mdl-navy);
    font-size: .7rem;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.match-team-staff-card span {
    overflow: hidden;
    color: var(--mdl-slate);
    font-size: .56rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.match-team-staff-card p {
    margin: 3px 0 0;
    color: var(--mdl-green-dark);
    font-size: .62rem;
    font-weight: 800;
}

.match-team-staff-card small {
    color: var(--mdl-slate);
    font-size: .53rem;
}

.match-team-staff-empty {
    padding: 18px 12px;
    border: 1px dashed #cbd5e1;
    border-radius: 11px;
    color: var(--mdl-slate);
    font-size: .66rem;
    text-align: center;
}

@media (max-width: 1199.98px) {
    .match-dual-pitch-layout {
        grid-template-columns: minmax(460px, 650px);
    }

    .match-dual-pitch-side-note {
        display: none;
    }

    .match-lineup-player-card-grid,
    .match-lineup-substitutes > div,
    .match-team-staff-card-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991.98px) {
    .match-lineups-team-banner {
        grid-template-columns: 1fr 125px 1fr;
    }

    .match-lineup-detail-columns,
    .match-team-staff-columns {
        grid-template-columns: 1fr;
    }

    .match-lineup-player-card-grid,
    .match-lineup-substitutes > div,
    .match-team-staff-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .match-lineups-details-card {
        padding: 17px;
        border-radius: 18px;
    }

    .match-lineups-details-heading,
    .match-team-staff-heading {
        flex-direction: column;
    }

        .match-lineups-details-actions,
        .match-lineups-details-actions .btn,
        .match-team-staff-heading .btn {
            width: 100%;
        }

    .match-lineups-team-banner {
        grid-template-columns: 1fr;
    }

    .match-lineups-banner-score {
        min-height: 85px;
        order: -1;
    }

    .match-lineups-banner-team.is-away {
        justify-content: flex-start;
        text-align: right;
    }

    .match-dual-pitch-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .match-dual-pitch-shell {
        margin-inline: -6px;
        padding: 6px;
    }

    .match-pitch-player {
        width: 66px;
    }

    .match-pitch-player-photo {
        width: 44px;
        height: 44px;
        border-width: 2px;
    }

    .match-pitch-player-copy strong {
        font-size: .52rem;
    }

    .match-pitch-player-copy small {
        display: none;
    }

    .match-lineup-player-card-grid,
    .match-lineup-substitutes > div,
    .match-team-staff-card-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 460px) {
    .match-pitch-player {
        width: 56px;
    }

    .match-pitch-player-photo {
        width: 37px;
        height: 37px;
    }

    .match-pitch-player-copy strong {
        padding: 2px 3px;
        font-size: .46rem;
    }

    .match-pitch-player-photo b {
        min-width: 18px;
        height: 18px;
        font-size: .46rem;
    }

    .match-pitch-captain {
        width: 17px;
        height: 17px;
        font-size: .42rem;
    }
}
