.wclh-match-detail-route-main,
.wclh-match-detail-page {
    width: 100%;
    max-width: 1440px !important;
    margin: 0 auto;
    box-sizing: border-box;
    color: #071426;
    padding: 40px 20px 60px;
}

.wclh-match-detail-page *,
.wclh-match-detail-page *::before,
.wclh-match-detail-page *::after {
    box-sizing: border-box;
}

.wclh-match-detail-back {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    color: #0d6efd;
    font-size: 18px;
    font-weight: 900;
    text-decoration: none !important;
}

.wclh-match-detail-back:hover {
    text-decoration: underline !important;
}

.wclh-match-detail-hero {
    background: linear-gradient(135deg, #071a2f 0%, #0b2d4d 58%, #0fa958 100%);
    border-radius: 22px;
    padding: 30px;
    color: #ffffff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
    overflow: hidden;
}

.wclh-match-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 26px;
}

.wclh-match-detail-meta span,
.wclh-match-detail-meta strong {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
}

.wclh-match-detail-meta span {
    background: rgba(255, 255, 255, 0.13);
    color: #ffffff;
}

.wclh-match-detail-meta strong {
    background: #f5b301;
    color: #071426;
}

.wclh-match-detail-meta .wclh-match-detail-live {
    background: #e63946;
    color: #ffffff;
}

.wclh-match-detail-scoreboard {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
}

.wclh-match-detail-team {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 14px;
    min-width: 0;
}

.wclh-match-detail-team .wclh-team-flag,
.wclh-match-detail-team .wclh-team-flag-placeholder {
    width: 116px;
    height: 82px;
    object-fit: cover;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.55);
}

.wclh-match-detail-team h2 {
    margin: 0;
    color: #ffffff;
    font-size: 28px;
    line-height: 1.18;
    font-weight: 1000;
}

.wclh-match-detail-score {
    min-height: 116px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.22);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px;
    text-align: center;
}

.wclh-match-detail-score strong {
    color: #ffffff;
    font-size: 44px;
    line-height: 1.1;
    font-weight: 1000;
    letter-spacing: -0.6px;
}

.wclh-match-detail-score span {
    color: rgba(255, 255, 255, 0.82);
    font-size: 24px;
    font-weight: 800;
}

.wclh-match-detail-info {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.wclh-match-detail-info span {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 24px;
    font-weight: 800;
}

.wclh-match-detail-statistics,
.wclh-match-detail-events {
    margin-top: 28px;
}

.wclh-match-detail-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.wclh-match-detail-section-head h2 {
    margin: 0;
    color: #071426;
    font-size: 34px;
    line-height: 1.2;
    font-weight: 1000;
}

.wclh-match-detail-section-head span {
    display: inline-flex;
    align-items: center;
    padding: 8px 13px;
    border-radius: 999px;
    background: #eef6ff;
    border: 1px solid #cfe7ff;
    color: #1d4ed8;
    font-size: 24px;
    font-weight: 900;
}

.wclh-match-stats-card {
    background: #ffffff;
    border: 1px solid #d9dee7;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.wclh-match-stat-row {
    padding: 14px 0;
    border-bottom: 1px solid #eef2f6;
}

.wclh-match-stat-row:last-child {
    border-bottom: 0;
}

.wclh-match-stat-values {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr) 80px;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
}

.wclh-match-stat-values strong {
    color: #071426;
    font-size: 24px;
    font-weight: 1000;
}

.wclh-match-stat-values strong:last-child {
    text-align: right;
}

.wclh-match-stat-values span {
    text-align: center;
    color: #53657c;
    font-size: 24px;
    font-weight: 900;
}

.wclh-match-stat-bars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.wclh-match-stat-bar-left,
.wclh-match-stat-bar-right {
    height: 8px;
    background: #edf2f7;
    border-radius: 999px;
    overflow: hidden;
}

.wclh-match-stat-bar-left {
    transform: rotate(180deg);
}

.wclh-match-stat-bar-left i,
.wclh-match-stat-bar-right i {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: #0fa958;
}

.wclh-match-stat-bar-right i {
    background: #0d6efd;
}

.wclh-match-event-list {
    display: grid;
    gap: 12px;
}

.wclh-match-event-item {
    background: #ffffff;
    border: 1px solid #d9dee7;
    border-radius: 16px;
    padding: 16px;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px;
    align-items: flex-start;
    box-shadow: 0 5px 16px rgba(15, 23, 42, 0.04);
}

.wclh-match-event-minute {
    width: 54px;
    height: 54px;
    border-radius: 999px;
    background: #071e34;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 1000;
}

.wclh-match-event-body strong {
    display: block;
    color: #071426;
    font-size: 15px;
    font-weight: 1000;
    margin-bottom: 4px;
}

.wclh-match-event-body p {
    margin: 0;
    color: #334155;
    font-size: 14px;
    font-weight: 800;
}

.wclh-match-event-body p span {
    display: inline-flex;
    margin-left: 8px;
    color: #0d6efd;
    font-size: 13px;
    font-weight: 900;
}

.wclh-match-event-body small {
    display: block;
    margin-top: 6px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.wclh-match-detail-empty {
    background: #ffffff;
    border: 1px solid #d9dee7;
    border-radius: 14px;
    padding: 18px;
    color: #334155;
    font-weight: 800;
}

@media (max-width: 900px) {
    .wclh-match-detail-scoreboard {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .wclh-match-detail-score {
        order: -1;
    }

    .wclh-match-detail-section-head {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .wclh-match-detail-route-main,
    .wclh-match-detail-page {
        padding: 28px 12px 42px;
    }

    .wclh-match-detail-hero {
        border-radius: 16px;
        padding: 22px 14px;
    }

    .wclh-match-detail-team h2 {
        font-size: 22px;
    }

    .wclh-match-detail-score strong {
        font-size: 34px;
    }

    .wclh-match-detail-section-head h2 {
        font-size: 24px;
    }

    .wclh-match-stat-values {
        grid-template-columns: 58px minmax(0, 1fr) 58px;
        gap: 8px;
    }

    .wclh-match-event-item {
        grid-template-columns: 48px minmax(0, 1fr);
        padding: 14px;
    }

    .wclh-match-event-minute {
        width: 44px;
        height: 44px;
        font-size: 24px;
    }
}