.wc-page {
    padding: 32px 0 64px;
}

.wc-hero {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 24px;
    margin-bottom: 28px;
}

.wc-breadcrumb {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 8px;
}

.wc-title {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
    margin: 0 0 8px;
}

.wc-subtitle {
    color: var(--text-muted);
    margin: 0;
}

.wc-meta-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px 24px;
    display: grid;
    gap: 14px;
}

.wc-meta-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 14px;
}

.wc-meta-row span {
    color: var(--text-muted);
}

.wc-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
}

.wc-tab {
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 600;
    color: var(--text-muted);
    background: transparent;
    transition: .2s ease;
}

.wc-tab:hover,
.wc-tab.active {
    color: var(--primary);
    background: var(--primary-light);
}

.wc-section {
    margin-bottom: 36px;
}

.wc-section-title {
    font-size: 22px;
    margin: 0 0 18px;
}

.wc-bracket {
    display: grid;
    gap: 20px;
}

.wc-bracket-round h3 {
    font-size: 16px;
    margin: 0 0 10px;
    color: var(--text-muted);
}

.wc-bracket-matches,
.wc-fixtures-list,
.wc-group-fixtures {
    display: grid;
    gap: 10px;
}

.wc-groups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
}

.wc-group-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 16px;
}

.wc-group-title {
    margin: 0 0 12px;
    font-size: 18px;
}

.wc-group-table {
    font-size: 12px;
    table-layout: fixed;
}

.wc-group-table .col-rank {
    width: 7%;
}

.wc-group-table .col-team {
    width: 38%;
    max-width: none;
    display: flex;
    align-items: center;
    gap: 6px;
    overflow: visible;
    padding-right: 4px;
}

.wc-group-table .col-team .team-name {
    max-width: none;
    overflow: visible;
    text-overflow: unset;
    white-space: normal;
    line-height: 1.25;
    word-break: break-word;
}

.wc-group-table .col-stat {
    width: 7%;
    padding-left: 2px;
    padding-right: 2px;
}

.wc-group-table .col-points {
    width: 8%;
}

.wc-third-place .league-table {
    table-layout: fixed;
}

.wc-third-place .col-rank {
    width: 6%;
}

.wc-third-place .col-team {
    width: 36%;
    display: flex;
    align-items: center;
    gap: 6px;
    overflow: visible;
}

.wc-third-place .col-team .team-name {
    max-width: none;
    overflow: visible;
    text-overflow: unset;
    white-space: normal;
    line-height: 1.25;
    word-break: break-word;
}

.wc-third-place .col-stat {
    width: 7%;
}

.wc-group-table .team-logo,
.wc-third-place .team-logo {
    width: 22px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
    margin-right: 0;
}

.wc-third-place {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 8px;
}

.wc-third-place .col-team {
    display: flex;
    align-items: center;
    gap: 6px;
}

.wc-date-block + .wc-date-block {
    margin-top: 28px;
}

.wc-date-title {
    font-size: 18px;
    margin: 0 0 12px;
    padding-left: 4px;
}

.wc-fixture {
    display: block;
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 14px 16px;
}

.wc-fixture--compact {
    padding: 10px 12px;
    box-shadow: none;
    border: 1px solid var(--border);
}

.wc-fixture-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.wc-fixture-teams {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
}

.wc-fixture-team {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 13px;
    line-height: 1.25;
    min-width: 0;
}

.wc-fixture-team .wc-fixture-team-name {
    word-break: break-word;
    hyphens: auto;
}

.wc-fixture-team:last-child {
    justify-content: flex-end;
    text-align: right;
}

.wc-fixture-team img {
    width: 22px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}

.wc-fixture-score {
    font-size: 18px;
    min-width: 64px;
    text-align: center;
}

.wc-fixture-score.is-live {
    color: var(--accent);
}

.wc-fixture-live {
    display: inline-block;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
}

.wc-empty {
    color: var(--text-muted);
    padding: 24px 0;
}

.kpl-more-link {
    margin: 16px 0 0;
    font-size: 14px;
}

.kpl-more-link a {
    font-weight: 600;
    color: var(--primary);
}

.kpl-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.kpl-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 18px;
}

.kpl-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.kpl-card-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.kpl-card-logo--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: var(--primary-light);
    border-radius: 8px;
}

.kpl-card-title {
    margin: 0;
    font-size: 17px;
    line-height: 1.25;
}

.kpl-card-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    margin: 0 0 8px;
}

.kpl-card-meta span {
    color: var(--text-muted);
}

.kpl-card-address,
.kpl-card-teams {
    font-size: 13px;
    color: var(--text-muted);
    margin: 8px 0 0;
    line-height: 1.4;
}

.kpl-stadium-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 12px;
}

@media (max-width: 900px) {
    .wc-hero {
        grid-template-columns: 1fr;
    }

    .wc-groups-grid {
        grid-template-columns: 1fr;
    }

    .wc-group-table-wrap,
    .wc-third-place {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .wc-group-table,
    .wc-third-place .league-table {
        min-width: 480px;
    }

    .wc-title {
        font-size: 1.5rem;
    }

    .wc-meta-card {
        padding: 14px;
    }

    .wc-fixture-teams {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 8px;
    }

    .wc-fixture-team,
    .wc-fixture-team:last-child {
        justify-content: center;
        text-align: center;
    }
}
