/* ==========================================
   MATCHES PAGE
========================================== */

.matches-page {
    display: flex;
    flex-direction: column;
    gap: 14px;
}


/* ==========================================
   HEADER
========================================== */

.matches-page__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    overflow: hidden;
    border: 1px solid var(--border, #E2E8F0);
    border-radius: 22px;
    background: #fff;
    position: relative;
    z-index: 25;
    margin-top: -46px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .08);
    padding: 17px;
}

.matches-page__eyebrow {
    display: block;
    margin-bottom: 2px;
    color: #16A34A;
    font-size: 10px;
    font-weight: 700;
}

.matches-page__header h1 {
    margin: 0;
    color: #0F172A;
    font-size: 21px;
    font-weight: 800;
}

.matches-page__header p {
    margin: 3px 0 0;
    color: #64748B;
    font-size: 10px;
}

.matches-page__add {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 13px;
    background: #16A34A;
    color: #fff;
    box-shadow: 0 7px 18px rgba(22, 163, 74, .18);
    cursor: pointer;
}

    .matches-page__add svg {
        width: 20px;
        height: 20px;
    }


/* ==========================================
   SUMMARY
========================================== */

.matches-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid #E2E8F0;
    border-radius: 15px;
    background: #fff;
}

.matches-summary__item {
    min-width: 0;
    padding: 10px 4px;
    text-align: center;
}

    .matches-summary__item + .matches-summary__item {
        border-left: 1px solid #EEF2F7;
    }

    .matches-summary__item span {
        display: block;
        color: #64748B;
        font-size: 9px;
    }

    .matches-summary__item strong {
        display: block;
        margin-top: 4px;
        color: #0F172A;
        font-size: 16px;
        font-weight: 700;
    }

    .matches-summary__item.is-win strong {
        color: #15803D;
    }

    .matches-summary__item.is-loss strong {
        color: #B91C1C;
    }


/* ==========================================
   SEARCH
========================================== */

.matches-search {
    min-height: 43px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    background: #fff;
}

    .matches-search:focus-within {
        border-color: #86EFAC;
        box-shadow: 0 0 0 3px rgba(22, 163, 74, .07);
    }

    .matches-search svg {
        width: 17px;
        height: 17px;
        flex-shrink: 0;
        color: #94A3B8;
    }

    .matches-search input {
        width: 100%;
        padding: 0;
        border: 0;
        outline: 0;
        background: transparent;
        color: #334155;
        font-family: inherit;
        font-size: 11px;
    }


/* ==========================================
   TABS
========================================== */

.matches-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 3px;
    border-radius: 12px;
    background: #F1F5F9;
}

.matches-tabs__item {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #64748B;
    font-family: inherit;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
}

    .matches-tabs__item span {
        min-width: 18px;
        height: 18px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 4px;
        border-radius: 999px;
        background: #E2E8F0;
        font-size: 8px;
    }

    .matches-tabs__item.is-active {
        background: #fff;
        color: #15803D;
        box-shadow: 0 2px 7px rgba(15, 23, 42, .06);
    }

        .matches-tabs__item.is-active span {
            background: #DCFCE7;
            color: #15803D;
        }


/* ==========================================
   PANEL
========================================== */

.matches-panel {
    display: none;
}

    .matches-panel.is-active {
        display: block;
    }


/* ==========================================
   LIST
========================================== */

.matches-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.match-list-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    padding: 13px;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    background: #fff;
}


/* ==========================================
   DATE
========================================== */

.match-list-card__date {
    width: 48px;
    height: 54px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #F0FDF4;
    color: #15803D;
}

    .match-list-card__date strong {
        font-size: 17px;
        font-weight: 800;
        line-height: 1;
    }

    .match-list-card__date span {
        margin-top: 4px;
        font-size: 8px;
        font-weight: 700;
    }


/* ==========================================
   CONTENT
========================================== */

.match-list-card__content {
    min-width: 0;
}

.match-list-card__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

    .match-list-card__title > strong {
        min-width: 0;
        overflow: hidden;
        color: #0F172A;
        font-size: 12px;
        font-weight: 700;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

.match-list-card__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 4px;
    color: #94A3B8;
    font-size: 9px;
}

    .match-list-card__meta span + .match-list-card__meta span::before {
        content: "·";
        margin-right: 5px;
    }


/* ==========================================
   STATUS
========================================== */

.match-list-status {
    flex-shrink: 0;
    padding: 4px 7px;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 700;
}

    .match-list-status.is-upcoming {
        background: #DCFCE7;
        color: #15803D;
    }

    .match-list-status.is-win {
        background: #DCFCE7;
        color: #15803D;
    }

    .match-list-status.is-draw {
        background: #F1F5F9;
        color: #64748B;
    }

    .match-list-status.is-loss {
        background: #FEE2E2;
        color: #B91C1C;
    }

    .match-list-status.is-pending {
        background: #FEF3C7;
        color: #B45309;
    }


/* ==========================================
   ATTENDANCE
========================================== */

.match-list-attendance {
    margin-top: 10px;
}

.match-list-attendance__label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #64748B;
    font-size: 8px;
}

    .match-list-attendance__label strong {
        color: #334155;
        font-weight: 700;
    }

.match-list-progress {
    height: 4px;
    overflow: hidden;
    margin-top: 5px;
    border-radius: 999px;
    background: #E2E8F0;
}

    .match-list-progress span {
        display: block;
        width: 0;
        height: 100%;
        border-radius: 999px;
        background: #22C55E;
    }


/* ==========================================
   SCORE
========================================== */

.match-list-score {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 9px;
    border-radius: 11px;
    background: #F8FAFC;
    text-align: center;
}

    .match-list-score span {
        overflow: hidden;
        color: #64748B;
        font-size: 8px;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .match-list-score strong {
        color: #0F172A;
        font-size: 16px;
        font-weight: 800;
    }


/* ==========================================
   ACTIONS
========================================== */

.match-list-card__actions {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
}

.match-list-action {
    min-height: 33px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 9px;
    border: 1px solid #E2E8F0;
    border-radius: 9px;
    background: #fff;
    color: #475569;
    font-family: inherit;
    font-size: 9px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

    .match-list-action.is-primary {
        border-color: #BBF7D0;
        background: #F0FDF4;
        color: #15803D;
    }


/* ==========================================
   EMPTY
========================================== */

.matches-empty {
    padding: 24px 18px;
    border: 1px dashed #CBD5E1;
    border-radius: 16px;
    background: #F8FAFC;
    text-align: center;
}

    .matches-empty strong {
        display: block;
        color: #334155;
        font-size: 11px;
    }

    .matches-empty p {
        max-width: 280px;
        margin: 5px auto 12px;
        color: #64748B;
        font-size: 9px;
        line-height: 1.5;
    }


/* ==========================================
   SMALL SCREEN
========================================== */

@media(max-width:360px) {

    .matches-summary__item span {
        font-size: 8px;
    }

    .matches-summary__item strong {
        font-size: 15px;
    }

    .match-list-card {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 9px;
        padding: 11px;
    }

    .match-list-card__date {
        width: 44px;
        height: 50px;
    }
}

/*Deatil Match css*/

/* ==========================================
   MATCH DETAIL PAGE
========================================== */

.match-detail-page {
    display: flex;
    flex-direction: column;
    gap: 14px;
}


/* ==========================================
   HEADER
========================================== */

.match-detail-header {
    grid-template-columns: 38px minmax(0, 1fr);
    display: flex;
    align-items: center;
    gap: 14px;
    overflow: hidden;
    border: 1px solid var(--border, #E2E8F0);
    border-radius: 22px;
    background: #fff;
    position: relative;
    z-index: 25;
    margin-top: -46px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .08);
    padding: 17px;
}

.match-detail-header__back {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #E2E8F0;
    border-radius: 11px;
    background: #fff;
    color: #475569;
    font-size: 22px;
    line-height: 1;
    text-decoration: none;
}

.match-detail-header__content {
    min-width: 0;
}

    .match-detail-header__content span {
        display: block;
        color: #16A34A;
        font-size: 9px;
        font-weight: 700;
    }

    .match-detail-header__content h1 {
        margin: 2px 0 0;
        overflow: hidden;
        color: #0F172A;
        font-size: 17px;
        font-weight: 800;
        white-space: nowrap;
        text-overflow: ellipsis;
    }


/* ==========================================
   MAIN MATCH CARD
========================================== */

.match-detail-card {
    overflow: hidden;
    border: 1px solid #E2E8F0;
    border-radius: 17px;
    background: #fff;
}


/* ==========================================
   TEAMS
========================================== */

.match-detail-card__teams {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 18px 14px;
}

.match-detail-team {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    text-align: center;
}

.match-detail-team__badge {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #DCFCE7;
    color: #15803D;
    font-size: 10px;
    font-weight: 800;
}

    .match-detail-team__badge.is-opponent {
        background: #F1F5F9;
        color: #475569;
    }

.match-detail-team strong {
    width: 100%;
    overflow: hidden;
    color: #334155;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
    text-overflow: ellipsis;
}


/* ==========================================
   SCORE
========================================== */

.match-detail-score {
    min-width: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

    .match-detail-score strong {
        color: #0F172A;
        font-size: 25px;
        font-weight: 800;
        line-height: 1;
    }

    .match-detail-score > span:not(.match-detail-score__vs) {
        color: #CBD5E1;
        font-size: 14px;
    }

.match-detail-score__vs {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 28px;
    border-radius: 999px;
    background: #F1F5F9;
    color: #64748B;
    font-size: 9px;
    font-weight: 800;
}


/* ==========================================
   MATCH META
========================================== */

.match-detail-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    padding: 10px 12px;
    border-top: 1px solid #EEF2F7;
    background: #F8FAFC;
    color: #64748B;
    font-size: 9px;
}

    .match-detail-meta span + span::before {
        content: "·";
        margin-right: 5px;
        color: #CBD5E1;
    }


/* ==========================================
   QUICK ACTIONS
========================================== */

.match-detail-quick-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.match-detail-quick-action {
    min-height: 58px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px 5px;
    border: 1px solid #E2E8F0;
    border-radius: 13px;
    background: #fff;
    color: #475569;
    font-family: inherit;
    font-size: 9px;
    font-weight: 700;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, color .15s ease, transform .15s ease;
}

    .match-detail-quick-action svg {
        width: 19px;
        height: 19px;
    }

    .match-detail-quick-action:hover {
        border-color: #BBF7D0;
        background: #F0FDF4;
        color: #15803D;
    }

    .match-detail-quick-action:active {
        transform: scale(.97);
    }


/* ==========================================
   SECTION
========================================== */

.match-detail-section {
    overflow: hidden;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    background: #fff;
}

.match-detail-section__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 14px;
}

    .match-detail-section__heading > div {
        min-width: 0;
    }

    .match-detail-section__heading h2 {
        margin: 0;
        color: #334155;
        font-size: 12px;
        font-weight: 700;
    }

    .match-detail-section__heading p {
        margin: 3px 0 0;
        color: #94A3B8;
        font-size: 8px;
    }

.match-detail-section__action {
    min-height: 30px;
    flex-shrink: 0;
    padding: 0 9px;
    border: 1px solid #BBF7D0;
    border-radius: 9px;
    background: #F0FDF4;
    color: #15803D;
    font-family: inherit;
    font-size: 8px;
    font-weight: 700;
    cursor: pointer;
}


/* ==========================================
   ATTENDANCE SUMMARY
========================================== */

.match-detail-attendance {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid #EEF2F7;
}

    .match-detail-attendance > div {
        min-width: 0;
        padding: 11px 4px;
        text-align: center;
    }

        .match-detail-attendance > div + .match-detail-attendance > div {
            border-left: 1px solid #EEF2F7;
        }

    .match-detail-attendance span {
        display: block;
        color: #64748B;
        font-size: 8px;
        white-space: nowrap;
    }

    .match-detail-attendance strong {
        display: block;
        margin-top: 4px;
        color: #0F172A;
        font-size: 15px;
        font-weight: 800;
    }

    .match-detail-attendance > div:nth-child(1) strong {
        color: #15803D;
    }

    .match-detail-attendance > div:nth-child(2) strong {
        color: #B91C1C;
    }

    .match-detail-attendance > div:nth-child(3) strong {
        color: #B45309;
    }

    .match-detail-attendance > div:nth-child(4) strong {
        color: #64748B;
    }


/* ==========================================
   RESULT
========================================== */

.match-detail-result {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border-top: 1px solid #EEF2F7;
    background: #F8FAFC;
}

    .match-detail-result strong {
        color: #0F172A;
        font-size: 25px;
        font-weight: 800;
        letter-spacing: 1px;
    }


/* ==========================================
   GOALS
========================================== */

.match-detail-goals {
    border-top: 1px solid #EEF2F7;
}

.match-detail-goal {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
}

    .match-detail-goal + .match-detail-goal {
        border-top: 1px solid #F1F5F9;
    }

.match-detail-goal__icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #F0FDF4;
    font-size: 14px;
}

.match-detail-goal > div {
    min-width: 0;
}

.match-detail-goal strong {
    display: block;
    overflow: hidden;
    color: #334155;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.match-detail-goal small {
    display: block;
    margin-top: 3px;
    overflow: hidden;
    color: #94A3B8;
    font-size: 8px;
    white-space: nowrap;
    text-overflow: ellipsis;
}


/* ==========================================
   EMPTY SECTION
========================================== */

.match-detail-empty {
    padding: 18px 14px;
    border-top: 1px solid #EEF2F7;
    color: #94A3B8;
    font-size: 9px;
    line-height: 1.5;
    text-align: center;
}


/* ==========================================
   RESPONSIVE
========================================== */

@media(max-width:360px) {

    .match-detail-card__teams {
        gap: 7px;
        padding: 16px 10px;
    }

    .match-detail-team__badge {
        width: 40px;
        height: 40px;
    }

    .match-detail-score {
        min-width: 56px;
    }

        .match-detail-score strong {
            font-size: 22px;
        }

    .match-detail-quick-action {
        min-height: 54px;
        font-size: 8px;
    }

    .match-detail-attendance span {
        font-size: 7px;
    }
}

/* ==========================================
   QUICK EDIT MATCH
========================================== */

.quick-edit-match-sheet {
    max-height: 88vh;
}

.quick-edit-match-row {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    gap: 10px;
}


/* HOME / AWAY */

.quick-edit-match-home {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.quick-edit-match-home__option {
    position: relative;
}

    .quick-edit-match-home__option input {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

    .quick-edit-match-home__option span {
        min-height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #E2E8F0;
        border-radius: 11px;
        background: #F8FAFC;
        color: #64748B;
        font-size: 10px;
        font-weight: 700;
        cursor: pointer;
    }

    .quick-edit-match-home__option input:checked + span {
        border-color: #86EFAC;
        background: #DCFCE7;
        color: #15803D;
    }

.quick-edit-match-submit {
    width: 100%;
}

@media(max-width:360px) {

    .quick-edit-match-row {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   ATTENDANCE LIST
========================================== */

.match-detail-attendance-list {
    border-top: 1px solid #EEF2F7;
}

.match-detail-attendance-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
}

    .match-detail-attendance-item +
    .match-detail-attendance-item {
        border-top: 1px solid #F1F5F9;
    }

.match-detail-attendance-item__member {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 9px;
}

.match-detail-attendance-item__avatar {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #F0FDF4;
    color: #15803D;
    font-size: 9px;
    font-weight: 700;
}

.match-detail-attendance-item__member > div {
    min-width: 0;
}

.match-detail-attendance-item__member strong {
    display: block;
    overflow: hidden;
    color: #334155;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.match-detail-attendance-item__member small {
    display: block;
    margin-top: 3px;
    color: #94A3B8;
    font-size: 8px;
}

.match-detail-attendance-status {
    flex-shrink: 0;
    padding: 4px 7px;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 700;
}

    .match-detail-attendance-status.is-present {
        background: #DCFCE7;
        color: #15803D;
    }

    .match-detail-attendance-status.is-absent {
        background: #FEE2E2;
        color: #B91C1C;
    }

    .match-detail-attendance-status.is-maybe {
        background: #FEF3C7;
        color: #B45309;
    }

    .match-detail-attendance-status.is-pending {
        background: #F1F5F9;
        color: #64748B;
    }
/* ==========================================
   ATTENDANCE LIST
========================================== */

.match-detail-attendance-list {
    border-top: 1px solid #EEF2F7;
}

.match-detail-attendance-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
}

    .match-detail-attendance-item +
    .match-detail-attendance-item {
        border-top: 1px solid #F1F5F9;
    }

.match-detail-attendance-item__member {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 9px;
}

.match-detail-attendance-item__avatar {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #F0FDF4;
    color: #15803D;
    font-size: 9px;
    font-weight: 700;
}

.match-detail-attendance-item__member > div {
    min-width: 0;
}

.match-detail-attendance-item__member strong {
    display: block;
    overflow: hidden;
    color: #334155;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.match-detail-attendance-item__member small {
    display: block;
    margin-top: 3px;
    color: #94A3B8;
    font-size: 8px;
}

.match-detail-attendance-status {
    flex-shrink: 0;
    padding: 4px 7px;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 700;
}

    .match-detail-attendance-status.is-present {
        background: #DCFCE7;
        color: #15803D;
    }

    .match-detail-attendance-status.is-absent {
        background: #FEE2E2;
        color: #B91C1C;
    }

    .match-detail-attendance-status.is-maybe {
        background: #FEF3C7;
        color: #B45309;
    }

    .match-detail-attendance-status.is-pending {
        background: #F1F5F9;
        color: #64748B;
    }

/* ==========================================
   RESULT
========================================== */

.match-detail-result {
    display: grid;
    grid-template-columns: minmax(0,1fr) 22px minmax(0,1fr);
    align-items: center;
    gap: 10px;
    padding: 16px 14px;
    border-top: 1px solid #EEF2F7;
    background: #F8FAFC;
}

.match-detail-result__team {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-align: center;
}

    .match-detail-result__team span {
        max-width: 100%;
        overflow: hidden;
        color: #64748B;
        font-size: 9px;
        font-weight: 600;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .match-detail-result__team strong {
        color: #0F172A;
        font-size: 26px;
        font-weight: 800;
        line-height: 1;
    }

.match-detail-result__separator {
    color: #CBD5E1;
    font-size: 17px;
    font-weight: 700;
    text-align: center;
}


/* ==========================================
   GOALS
========================================== */

.match-detail-goals {
    border-top: 1px solid #EEF2F7;
}

.match-detail-goal {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
}

    .match-detail-goal +
    .match-detail-goal {
        border-top: 1px solid #F1F5F9;
    }

.match-detail-goal__icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #F0FDF4;
    font-size: 14px;
}

.match-detail-goal__content {
    min-width: 0;
}

    .match-detail-goal__content strong {
        display: block;
        overflow: hidden;
        color: #334155;
        font-size: 10px;
        font-weight: 700;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

.match-detail-goal__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 3px;
    color: #94A3B8;
    font-size: 8px;
}

    .match-detail-goal__meta span +
    .match-detail-goal__meta span::before {
        content: "·";
        margin-right: 5px;
    }


/* ==========================================
   EMPTY
========================================== */

.match-detail-empty {
    padding: 16px 14px;
    border-top: 1px solid #EEF2F7;
    color: #94A3B8;
    font-size: 9px;
    line-height: 1.5;
    text-align: center;
}

/* ==========================================
   ATTENDANCE SUMMARY
========================================== */

.match-attendance-summary {
    padding: 13px 14px 14px;
    border-top: 1px solid #EEF2F7;
}

.match-attendance-summary__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

    .match-attendance-summary__header > div {
        min-width: 0;
    }

        .match-attendance-summary__header > div > span {
            display: block;
            margin-bottom: 3px;
            color: #94A3B8;
            font-size: 8px;
            font-weight: 600;
        }

    .match-attendance-summary__header strong {
        display: flex;
        align-items: baseline;
        gap: 3px;
        color: #334155;
        font-size: 15px;
        font-weight: 800;
    }

        .match-attendance-summary__header strong small {
            color: #94A3B8;
            font-size: 8px;
            font-weight: 500;
        }

.match-attendance-summary__percent {
    flex-shrink: 0;
    color: #15803D;
    font-size: 11px;
    font-weight: 800;
}


/* ==========================================
   PROGRESS
========================================== */

.match-attendance-summary__progress {
    height: 5px;
    overflow: hidden;
    margin-top: 8px;
    border-radius: 999px;
    background: #E2E8F0;
}

    .match-attendance-summary__progress > span {
        display: block;
        width: 0;
        height: 100%;
        border-radius: inherit;
        background: #22C55E;
        transition: width .25s ease;
    }


/* ==========================================
   SUMMARY STATS
========================================== */

.match-attendance-summary__stats {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    margin-top: 13px;
}

.match-attendance-stat {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

    .match-attendance-stat +
    .match-attendance-stat {
        border-left: 1px solid #EEF2F7;
    }

.match-attendance-stat__dot {
    width: 6px;
    height: 6px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #CBD5E1;
}

.match-attendance-stat > div {
    min-width: 0;
}

.match-attendance-stat strong {
    display: block;
    color: #334155;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}

.match-attendance-stat > div > span {
    display: block;
    margin-top: 3px;
    overflow: hidden;
    color: #94A3B8;
    font-size: 7px;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
}


/* PRESENT */

.match-attendance-stat.is-present
.match-attendance-stat__dot {
    background: #22C55E;
}

.match-attendance-stat.is-present strong {
    color: #15803D;
}


/* ABSENT */

.match-attendance-stat.is-absent
.match-attendance-stat__dot {
    background: #EF4444;
}

.match-attendance-stat.is-absent strong {
    color: #B91C1C;
}


/* MAYBE */

.match-attendance-stat.is-maybe
.match-attendance-stat__dot {
    background: #F59E0B;
}

.match-attendance-stat.is-maybe strong {
    color: #B45309;
}


/* PENDING */

.match-attendance-stat.is-pending
.match-attendance-stat__dot {
    background: #CBD5E1;
}

.match-attendance-stat.is-pending strong {
    color: #64748B;
}


/* ==========================================
   ATTENDANCE LIST
========================================== */

.match-detail-attendance-list {
    border-top: 1px solid #EEF2F7;
}

.match-detail-attendance-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
}

    .match-detail-attendance-item +
    .match-detail-attendance-item {
        border-top: 1px solid #F1F5F9;
    }


/* ==========================================
   MEMBER
========================================== */

.match-detail-attendance-item__member {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 9px;
}

.match-detail-attendance-item__avatar {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #F0FDF4;
    color: #15803D;
    font-size: 9px;
    font-weight: 700;
}

.match-detail-attendance-item__member > div {
    min-width: 0;
}

.match-detail-attendance-item__member strong {
    display: block;
    overflow: hidden;
    color: #334155;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.match-detail-attendance-item__member small {
    display: block;
    margin-top: 3px;
    color: #94A3B8;
    font-size: 8px;
}


/* ==========================================
   ATTENDANCE STATUS
========================================== */

.match-detail-attendance-status {
    flex-shrink: 0;
    padding: 4px 7px;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 700;
}

    .match-detail-attendance-status.is-present {
        background: #DCFCE7;
        color: #15803D;
    }

    .match-detail-attendance-status.is-absent {
        background: #FEE2E2;
        color: #B91C1C;
    }

    .match-detail-attendance-status.is-maybe {
        background: #FEF3C7;
        color: #B45309;
    }

    .match-detail-attendance-status.is-pending {
        background: #F1F5F9;
        color: #64748B;
    }


/* ==========================================
   SMALL SCREEN
========================================== */

@media(max-width:360px) {

    .match-attendance-summary {
        padding-left: 11px;
        padding-right: 11px;
    }

    .match-attendance-stat {
        gap: 4px;
    }

    .match-attendance-stat__dot {
        width: 5px;
        height: 5px;
    }

    .match-attendance-stat strong {
        font-size: 12px;
    }

    .match-attendance-stat > div > span {
        font-size: 6.5px;
    }

    .match-detail-attendance-item {
        padding-left: 11px;
        padding-right: 11px;
    }
}

/* ==========================================
   MATCH STATUS
========================================== */

.match-detail-status-row {
    display: flex;
    justify-content: center;
    padding: 10px 12px 0;
}

.match-detail-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 700;
}

    .match-detail-status.is-upcoming {
        background: #DCFCE7;
        color: #15803D;
    }

    .match-detail-status.is-completed {
        background: #E0F2FE;
        color: #0369A1;
    }

    .match-detail-status.is-pending-result {
        background: #FEF3C7;
        color: #B45309;
    }

    .match-detail-status.is-cancelled {
        background: #F1F5F9;
        color: #64748B;
    }

/* ==========================================
   MATCH DETAIL OVERVIEW
========================================== */

.match-detail-overview {
    border-top: 1px solid #EEF2F7;
    background: #fff;
}

.match-detail-overview__block {
    padding: 12px 14px;
}

    .match-detail-overview__block +
    .match-detail-overview__block {
        border-top: 1px solid #EEF2F7;
    }


/* ==========================================
   HEADING
========================================== */

.match-detail-overview__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

    .match-detail-overview__heading strong {
        color: #334155;
        font-size: 10px;
        font-weight: 700;
    }

    .match-detail-overview__heading span {
        color: #94A3B8;
        font-size: 8px;
        font-weight: 600;
    }


/* ==========================================
   ATTENDANCE
========================================== */

.match-detail-overview__attendance {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    margin-top: 9px;
}

.match-overview-attendance {
    min-width: 0;
    display: grid;
    grid-template-columns: 6px auto;
    grid-template-rows: auto auto;
    justify-content: center;
    column-gap: 5px;
}

    .match-overview-attendance +
    .match-overview-attendance {
        border-left: 1px solid #EEF2F7;
    }

.match-overview-attendance__dot {
    width: 6px;
    height: 6px;
    grid-row: 1 / 3;
    align-self: center;
    border-radius: 50%;
    background: #CBD5E1;
}

.match-overview-attendance strong {
    color: #334155;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.match-overview-attendance > span:last-child {
    margin-top: 3px;
    color: #94A3B8;
    font-size: 7px;
    font-weight: 600;
    white-space: nowrap;
}


/* COLORS */

.match-overview-attendance.is-present
.match-overview-attendance__dot {
    background: #22C55E;
}

.match-overview-attendance.is-present strong {
    color: #15803D;
}

.match-overview-attendance.is-absent
.match-overview-attendance__dot {
    background: #EF4444;
}

.match-overview-attendance.is-absent strong {
    color: #B91C1C;
}

.match-overview-attendance.is-maybe
.match-overview-attendance__dot {
    background: #F59E0B;
}

.match-overview-attendance.is-maybe strong {
    color: #B45309;
}

.match-overview-attendance.is-pending
.match-overview-attendance__dot {
    background: #CBD5E1;
}

.match-overview-attendance.is-pending strong {
    color: #64748B;
}


/* ==========================================
   GOALS
========================================== */

.match-detail-overview__goals {
    margin-top: 8px;
}

.match-overview-goal {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 0;
}

    .match-overview-goal +
    .match-overview-goal {
        border-top: 1px solid #F1F5F9;
    }

.match-overview-goal__icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #F0FDF4;
    color: #15803D;
}

    .match-overview-goal__icon svg {
        width: 15px;
        height: 15px;
    }

.match-overview-goal__content {
    min-width: 0;
}

    .match-overview-goal__content strong {
        display: block;
        overflow: hidden;
        color: #334155;
        font-size: 9px;
        font-weight: 700;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .match-overview-goal__content small {
        display: block;
        margin-top: 2px;
        overflow: hidden;
        color: #94A3B8;
        font-size: 7.5px;
        white-space: nowrap;
        text-overflow: ellipsis;
    }


/* ==========================================
   EMPTY
========================================== */

.match-detail-overview__empty {
    margin-top: 8px;
    padding: 10px;
    border-radius: 10px;
    background: #F8FAFC;
    color: #94A3B8;
    font-size: 8px;
    line-height: 1.4;
    text-align: center;
}

/* ==========================================
   MATCH DETAIL INLINE ACTIONS
========================================== */

.match-detail-card__action-row,
.match-detail-overview__action-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.match-detail-card__action-row {
    padding: 0 14px 12px;
}

.match-detail-card__action {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 9px;
    border: 1px solid #DCEFE2;
    border-radius: 9px;
    background: #F7FCF8;
    color: #15803D;
    font-family: inherit;
    font-size: 8px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, transform .15s ease;
}

    .match-detail-card__action svg {
        width: 13px;
        height: 13px;
        flex-shrink: 0;
    }

    .match-detail-card__action:hover {
        border-color: #BBF7D0;
        background: #F0FDF4;
    }

    .match-detail-card__action:active {
        transform: scale(.97);
        background: #DCFCE7;
    }