/* Lista única de partidas para todas as páginas em /campeonatos/. */
body.pdp-competition-page .pdp-competition-games-wrap {
    width: 100% !important;
    overflow: visible !important;
    margin: 18px 0 28px !important;
    border: 1px solid #dfe7e2 !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 8px 24px rgba(4, 61, 39, .05) !important;
}

body.pdp-competition-page table.pdp-competition-games {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    border: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: inherit !important;
    overflow: hidden !important;
    background: #fff !important;
    font-family: inherit !important;
}

body.pdp-competition-page table.pdp-competition-games thead {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

body.pdp-competition-page table.pdp-competition-games tbody {
    display: block !important;
    width: 100% !important;
}

body.pdp-competition-page table.pdp-competition-games tbody tr {
    display: grid !important;
    grid-template-columns: 90px minmax(0, 1fr) 66px minmax(0, 1fr) 190px 34px !important;
    grid-template-areas:
        "date home score away venue outcome"
        "stage home score away status outcome" !important;
    align-items: center !important;
    gap: 2px 14px !important;
    width: 100% !important;
    padding: 13px 14px !important;
    border: 0 !important;
    border-bottom: 1px solid #e3e8e5 !important;
    background: #fff !important;
    transition: background-color .15s ease !important;
}

body.pdp-competition-page table.pdp-competition-games tbody tr:last-child {
    border-bottom: 0 !important;
}

body.pdp-competition-page table.pdp-competition-games tbody tr:hover {
    background: #f2f8f4 !important;
}

body.pdp-competition-page table.pdp-competition-games td {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #142018 !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
    white-space: normal !important;
}

body.pdp-competition-page table.pdp-competition-games td::before {
    content: none !important;
}

body.pdp-competition-page table.pdp-competition-games [data-pdp-col="date"] {
    grid-area: date !important;
    align-self: end !important;
    color: #142018 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}

body.pdp-competition-page table.pdp-competition-games [data-pdp-col="date"] span {
    display: block !important;
    margin-top: 2px !important;
    color: #66716a !important;
    font-size: 11px !important;
    font-weight: 500 !important;
}

body.pdp-competition-page table.pdp-competition-games [data-pdp-col="stage"] {
    grid-area: stage !important;
    align-self: start !important;
    color: #66716a !important;
    font-size: 11px !important;
    font-weight: 700 !important;
}

body.pdp-competition-page table.pdp-competition-games [data-pdp-col="home"] {
    grid-area: home !important;
    text-align: right !important;
}

body.pdp-competition-page table.pdp-competition-games [data-pdp-col="away"] {
    grid-area: away !important;
    text-align: left !important;
}

body.pdp-competition-page table.pdp-competition-games [data-pdp-col="home"],
body.pdp-competition-page table.pdp-competition-games [data-pdp-col="away"] {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 14px !important;
    font-weight: 650 !important;
}

body.pdp-competition-page table.pdp-competition-games .pdp-competition-palmeiras {
    color: #07583a !important;
    font-weight: 850 !important;
}

body.pdp-competition-page table.pdp-competition-games [data-pdp-col="score"] {
    grid-area: score !important;
    text-align: center !important;
    color: #043d27 !important;
    font-size: 16px !important;
    font-weight: 850 !important;
    white-space: nowrap !important;
}

body.pdp-competition-page table.pdp-competition-games [data-pdp-col="venue"] {
    grid-area: venue !important;
    align-self: end !important;
    overflow: hidden !important;
    color: #66716a !important;
    font-size: 12px !important;
    text-align: right !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

body.pdp-competition-page table.pdp-competition-games [data-pdp-col="venue"]::before {
    content: "Local: " !important;
    font-weight: 700 !important;
}

body.pdp-competition-page table.pdp-competition-games [data-pdp-col="competition"] {
    display: none !important;
}

body.pdp-competition-page table.pdp-competition-games [data-pdp-col="status"] {
    grid-area: status !important;
    align-self: start !important;
    color: #52615a !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-align: right !important;
}

body.pdp-competition-page table.pdp-competition-games [data-pdp-col="status"] > * {
    display: inline !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: inherit !important;
    font: inherit !important;
}

body.pdp-competition-page table.pdp-competition-games [data-pdp-col="outcome"] {
    grid-area: outcome !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body.pdp-competition-page .pdp-competition-outcome {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 6px !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 850 !important;
}

body.pdp-competition-page tr[data-pdp-outcome="v"] .pdp-competition-outcome { background: #1f8a4c !important; }
body.pdp-competition-page tr[data-pdp-outcome="e"] .pdp-competition-outcome { background: #8a9690 !important; }
body.pdp-competition-page tr[data-pdp-outcome="d"] .pdp-competition-outcome { background: #c1272d !important; }

@media (max-width: 760px) {
    body.pdp-competition-page .pdp-competition-games-wrap {
        margin: 14px 0 24px !important;
        border-radius: 12px !important;
        box-shadow: none !important;
    }

    body.pdp-competition-page table.pdp-competition-games tbody tr {
        grid-template-columns: 64px minmax(0, 1fr) 50px minmax(0, 1fr) 26px !important;
        grid-template-areas:
            "date home score away outcome"
            "stage venue venue venue outcome"
            "status status status status status" !important;
        gap: 5px 8px !important;
        padding: 14px 12px !important;
    }

    body.pdp-competition-page table.pdp-competition-games [data-pdp-col="date"] {
        align-self: center !important;
        font-size: 12px !important;
    }

    body.pdp-competition-page table.pdp-competition-games [data-pdp-col="stage"] {
        align-self: center !important;
        font-size: 10px !important;
    }

    body.pdp-competition-page table.pdp-competition-games [data-pdp-col="home"],
    body.pdp-competition-page table.pdp-competition-games [data-pdp-col="away"] {
        align-self: center !important;
        font-size: 12px !important;
        line-height: 1.2 !important;
        white-space: normal !important;
    }

    body.pdp-competition-page table.pdp-competition-games [data-pdp-col="score"] {
        font-size: 14px !important;
    }

    body.pdp-competition-page table.pdp-competition-games [data-pdp-col="venue"] {
        align-self: center !important;
        padding-top: 1px !important;
        font-size: 10px !important;
        text-align: center !important;
    }

    body.pdp-competition-page table.pdp-competition-games [data-pdp-col="venue"]::before {
        content: "" !important;
    }

    body.pdp-competition-page table.pdp-competition-games [data-pdp-col="status"] {
        margin-top: 2px !important;
        padding-top: 7px !important;
        border-top: 1px solid #edf1ee !important;
        font-size: 10px !important;
        text-align: left !important;
    }

    body.pdp-competition-page .pdp-competition-outcome {
        width: 22px !important;
        height: 22px !important;
        border-radius: 5px !important;
        font-size: 10px !important;
    }
}

@media (max-width: 380px) {
    body.pdp-competition-page table.pdp-competition-games tbody tr {
        grid-template-columns: 58px minmax(0, 1fr) 44px minmax(0, 1fr) 24px !important;
        gap-inline: 6px !important;
        padding-inline: 9px !important;
    }
}
