﻿.match-action-center {
    margin: 22px 0;
    overflow: hidden;
    border: 1px solid #e4ebe5;
    border-radius: 22px;
    background: linear-gradient(180deg, #fbfdfb 0%, #ffffff 35%);
    box-shadow: 0 14px 36px rgba(28, 50, 34, .07);
}

.match-action-center-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 22px 24px;
    border-bottom: 1px solid #e8eee9;
    background: radial-gradient(circle at 8% 15%, rgba(91, 140, 59, .09), transparent 30%), linear-gradient(135deg, #fbfdfb, #f5f9f5);
}

.match-action-kicker {
    display: block;
    margin-bottom: 4px;
    color: #5b8c3b;
    font-size: 11px;
    font-weight: 800;
}

.match-action-center-heading h2 {
    margin: 0;
    color: #27342b;
    font-size: 21px;
    font-weight: 800;
}

.match-action-center-heading p {
    max-width: 790px;
    margin: 6px 0 0;
    color: #7b867e;
    font-size: 12px;
    line-height: 1.75;
}

.match-action-live-summary {
    flex: 0 0 auto;
    min-width: 135px;
    padding: 11px 15px;
    border: 1px solid #dce7de;
    border-radius: 14px;
    background: #fff;
    text-align: center;
}

    .match-action-live-summary span,
    .match-action-live-summary small {
        display: block;
    }

    .match-action-live-summary span {
        color: #7d887f;
        font-size: 9px;
        font-weight: 700;
    }

    .match-action-live-summary strong {
        display: block;
        margin: 2px 0;
        color: #26332a;
        font-size: 23px;
        font-weight: 900;
        direction: ltr;
    }

    .match-action-live-summary small {
        color: #5b8c3b;
        font-size: 9px;
    }

.match-action-team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 18px;
}

.match-action-team-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e3e9e4;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(27, 48, 33, .045);
}

    .match-action-team-card.is-home {
        border-top: 4px solid #5b8c3b;
    }

    .match-action-team-card.is-away {
        border-top: 4px solid #304b68;
    }

.match-action-team-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 15px 10px;
}

.match-action-team-identity {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 10px;
}

.match-action-team-logo {
    flex: 0 0 auto;
    width: 47px;
    height: 47px;
    overflow: hidden;
    border: 1px solid #e1e8e2;
    border-radius: 50%;
    background: #f4f7f4;
}

    .match-action-team-logo img,
    .match-action-team-logo span {
        width: 100%;
        height: 100%;
    }

    .match-action-team-logo img {
        display: block;
        object-fit: contain;
        padding: 4px;
    }

    .match-action-team-logo span {
        display: flex;
        align-items: center;
        justify-content: center;
        color: #4c6353;
        font-weight: 900;
    }

.match-action-team-identity > div:last-child {
    min-width: 0;
}

.match-action-team-identity span,
.match-action-team-identity small {
    display: block;
}

.match-action-team-identity span {
    color: #8a948d;
    font-size: 9px;
}

.match-action-team-identity h3 {
    overflow: hidden;
    margin: 2px 0;
    color: #29362d;
    font-size: 15px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.match-action-team-identity small {
    color: #929b94;
    font-size: 8px;
}

.match-action-team-score {
    flex: 0 0 auto;
    text-align: center;
}

    .match-action-team-score span {
        display: block;
        color: #9aa29c;
        font-size: 8px;
    }

    .match-action-team-score strong {
        display: block;
        color: #25332a;
        font-size: 24px;
        font-weight: 900;
    }

.match-action-main-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: calc(100% - 30px);
    min-height: 43px;
    margin: 0 15px 12px;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(135deg, #5b8c3b, #477330);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 7px 17px rgba(91, 140, 59, .19);
}

.match-action-team-card.is-away .match-action-main-button {
    background: linear-gradient(135deg, #304b68, #223b56);
    box-shadow: 0 7px 17px rgba(48, 75, 104, .18);
}

.match-action-main-button:hover {
    filter: brightness(.96);
    color: #fff;
    transform: translateY(-1px);
}

.match-action-main-button span {
    font-size: 18px;
    line-height: 1;
}

.match-action-search {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 15px 12px;
    padding: 0 10px;
    border: 1px solid #e0e7e2;
    border-radius: 10px;
    background: #f9fbf9;
}

    .match-action-search > span {
        color: #8d9790;
        font-size: 17px;
    }

.match-action-search-input {
    flex: 1;
    min-width: 0;
    height: 39px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #334139;
    font-size: 10px;
}

    .match-action-search-input::placeholder {
        color: #9da59f;
    }

.match-action-groups {
    padding: 0 11px 12px;
}

.match-action-group {
    overflow: hidden;
    margin-top: 8px;
    border: 1px solid #e8ede9;
    border-radius: 12px;
    background: #fff;
}

    .match-action-group[hidden] {
        display: none !important;
    }

.match-action-group-title {
    display: grid;
    grid-template-columns: 25px minmax(0, 1fr) auto 18px;
    gap: 7px;
    align-items: center;
    width: 100%;
    min-height: 39px;
    padding: 7px 9px;
    border: 0;
    background: #f8faf8;
    text-align: right;
}

    .match-action-group-title:hover {
        background: #f4f8f4;
    }

.match-action-group-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    border-radius: 8px;
    background: #fff;
    font-size: 12px;
    box-shadow: 0 1px 5px rgba(20, 40, 25, .05);
}

.match-action-group-title strong {
    color: #4a574e;
    font-size: 10px;
    font-weight: 800;
}

.match-action-group-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #eaf2e7;
    color: #5b8c3b;
    font-size: 8px;
    font-weight: 800;
}

.match-action-team-card.is-away .match-action-group-count {
    background: #edf2f7;
    color: #304b68;
}

.match-action-group-chevron {
    color: #8a948d;
    font-size: 14px;
    transition: transform .16s ease;
}

.match-action-group.is-collapsed .match-action-group-chevron {
    transform: rotate(90deg);
}

.match-action-group.is-collapsed .match-action-chip-grid {
    display: none;
}

.match-action-chip-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 8px;
}

.match-action-chip {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) 13px;
    gap: 7px;
    align-items: center;
    min-height: 45px;
    padding: 6px 7px;
    border: 1px solid #e5ebe6;
    border-radius: 10px;
    background: #fff;
    color: #37443b;
    text-decoration: none;
    transition: .14s ease;
}

    .match-action-chip:hover {
        border-color: #bdd1c0;
        background: #fbfdfb;
        color: #2f3c33;
        box-shadow: 0 4px 12px rgba(32, 55, 38, .05);
        transform: translateY(-1px);
    }

    .match-action-chip[hidden] {
        display: none !important;
    }

.match-action-chip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 29px;
    border-radius: 8px;
    background: #f4f7f4;
    font-size: 12px;
    font-weight: 900;
}

.match-action-chip-copy {
    min-width: 0;
}

    .match-action-chip-copy strong,
    .match-action-chip-copy small {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .match-action-chip-copy strong {
        font-size: 9px;
        font-weight: 800;
    }

    .match-action-chip-copy small {
        margin-top: 2px;
        color: #a0a8a2;
        font-family: Consolas, monospace;
        font-size: 6px;
    }

.match-action-chip-arrow {
    color: #a0a8a2;
    font-size: 16px;
}

.match-action-chip.is-goal .match-action-chip-icon {
    background: #eaf6ec;
    color: #2e7c42;
}

.match-action-chip.is-yellow .match-action-chip-icon {
    background: #fff7cd;
}

.match-action-chip.is-red .match-action-chip-icon {
    background: #fdeaea;
}

.match-action-chip.is-penalty .match-action-chip-icon,
.match-action-chip.is-setpiece .match-action-chip-icon {
    background: #fff5e6;
    color: #9b681e;
}

.match-action-chip.is-var .match-action-chip-icon {
    background: #f1ebfb;
    color: #65469a;
}

.match-action-chip.is-attack .match-action-chip-icon {
    background: #fff0e6;
    color: #a35b27;
}

.match-action-chip.is-defense .match-action-chip-icon,
.match-action-chip.is-goalkeeper .match-action-chip-icon {
    background: #eaf2fa;
    color: #345f88;
}

.match-action-chip.is-data .match-action-chip-icon {
    background: #edf4f7;
    color: #3d7180;
}

.match-action-chip.is-medical .match-action-chip-icon {
    background: #fff0f0;
    color: #a64b4b;
}

.match-action-chip.is-personnel .match-action-chip-icon,
.match-action-chip.is-tactical .match-action-chip-icon {
    background: #eef2fb;
    color: #4e6192;
}

.match-action-chip.is-match .match-action-chip-icon {
    background: #f0f1f2;
    color: #565e64;
}

.match-action-chip.is-discipline .match-action-chip-icon {
    background: #fff4ec;
    color: #9c613b;
}

.match-action-no-results {
    margin: 0 15px 15px;
    padding: 16px;
    border: 1px dashed #dce4de;
    border-radius: 10px;
    background: #fafcfa;
    color: #7c867f;
    text-align: center;
    font-size: 10px;
}

.match-action-center-note {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0 18px 18px;
    padding: 11px 13px;
    border: 1px solid #dfe8e0;
    border-radius: 12px;
    background: #f7faf7;
}

    .match-action-center-note > span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        width: 23px;
        height: 23px;
        border-radius: 50%;
        background: #e9f2e6;
        color: #5b8c3b;
        font-weight: 900;
    }

    .match-action-center-note p {
        margin: 0;
        color: #707b73;
        font-size: 10px;
        line-height: 1.7;
    }

    .match-action-center-note strong {
        color: #4b594e;
    }

@media (max-width: 1080px) {
    .match-action-team-grid {
        grid-template-columns: 1fr;
    }

    .match-action-chip-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .match-action-center-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .match-action-live-summary {
        width: 100%;
    }

    .match-action-chip-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .match-action-team-grid {
        padding: 11px;
    }

    .match-action-chip-grid {
        grid-template-columns: 1fr;
    }

    .match-action-team-header {
        align-items: flex-start;
    }

    .match-action-center-heading {
        padding: 18px;
    }

        .match-action-center-heading h2 {
            font-size: 18px;
        }
}
