.wc-home {
    --wc-green: #0f766e;
    --wc-green-dark: #0b5f59;
    --wc-red: #c21f3a;
    --wc-blue: #1d4ed8;
    --wc-amber: #b45309;
    --wc-ink: #172033;
    --wc-muted: #687589;
    --wc-line: #e2e8f0;
    --wc-soft: #f5f7fa;
    max-width: 1200px;
    margin: 0 auto 34px;
    padding: 14px 14px 0;
    color: var(--wc-ink);
}

.wc-home a {
    color: inherit;
    text-decoration: none;
}

.wc-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 18px;
    align-items: stretch;
    margin-bottom: 16px;
}

.wc-hero-copy {
    min-width: 0;
    padding: 26px;
    border: 1px solid #dbe5e1;
    border-radius: 8px;
    background:
        linear-gradient(120deg, rgba(15, 118, 110, .1), transparent 50%),
        linear-gradient(180deg, #fff 0%, #f8fbfa 100%);
}

.wc-kicker,
.wc-section-head span {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(194, 31, 58, .1);
    color: var(--wc-red);
    font-size: 12px;
    font-weight: 800;
}

.wc-hero h1 {
    margin: 12px 0 10px;
    max-width: 760px;
    font-size: 34px;
    line-height: 1.28;
    font-weight: 950;
    letter-spacing: 0;
}

.wc-hero p {
    max-width: 780px;
    margin: 0;
    color: #435063;
    font-size: 15px;
    line-height: 1.8;
}

.wc-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.wc-hero-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 6px;
    background: var(--wc-green);
    color: #fff;
    font-size: 14px;
    font-weight: 900;
}

.wc-hero-actions a:nth-child(2) {
    background: #fff;
    color: var(--wc-green-dark);
    border: 1px solid #b9d8d4;
}

.wc-hero-actions a:nth-child(3) {
    background: var(--wc-blue);
}

.wc-hero-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.wc-hero-stats div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 94px;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid var(--wc-line);
    background: #fff;
}

.wc-hero-stats strong {
    color: var(--wc-green);
    font-size: 34px;
    line-height: 1;
    font-weight: 950;
}

.wc-hero-stats span {
    margin-top: 8px;
    color: var(--wc-muted);
    font-size: 13px;
    font-weight: 700;
}

.wc-panel,
.wc-league-strip,
.wc-seo-copy {
    margin-bottom: 16px;
    border: 1px solid var(--wc-line);
    border-radius: 8px;
    background: #fff;
}

.wc-panel {
    padding: 16px;
}

.wc-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.wc-section-head h2 {
    margin: 8px 0 0;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 950;
    letter-spacing: 0;
}

.wc-section-head > a {
    color: var(--wc-green);
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.wc-worldcup {
    border-color: #f0c5cd;
    background: linear-gradient(180deg, #fff 0%, #fff9fa 100%);
}

.wc-cup-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.wc-cup-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-width: 0;
    padding: 12px;
    border: 1px solid #ead7dc;
    border-radius: 8px;
    background: #fff;
}

.wc-cup-card > a {
    min-width: 0;
}

.wc-cup-card time,
.wc-row-main time {
    color: var(--wc-muted);
    font-size: 12px;
    font-weight: 800;
}

.wc-cup-teams {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    margin: 8px 0;
}

.wc-cup-teams span,
.wc-row-team {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    color: #253044;
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wc-cup-teams span:last-child {
    justify-content: flex-end;
}

.wc-cup-teams b,
.wc-row-main b {
    color: var(--wc-red);
    text-align: center;
    font-size: 16px;
    font-weight: 950;
}

.wc-cup-card em,
.wc-row-main em {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: #eef2f7;
    color: #596579;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}

.wc-cup-card.state-live em,
.wc-match-row.state-live em {
    background: rgba(194, 31, 58, .1);
    color: var(--wc-red);
}

.wc-logo,
.wc-logo-fallback {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wc-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.wc-logo-fallback {
    border-radius: 50%;
    background: #edf6f4;
    color: var(--wc-green);
    font-size: 12px;
    font-weight: 900;
}

.wc-live-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--wc-green);
    color: #fff !important;
    font-size: 12px;
    font-weight: 950;
    white-space: nowrap;
}

.wc-live-btn:hover {
    background: var(--wc-green-dark);
    color: #fff !important;
}

.wc-league-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
}

.wc-league-strip a {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 10px;
    align-items: center;
    min-width: 0;
    padding: 14px;
    border-right: 1px solid var(--wc-line);
}

.wc-league-strip a:last-child {
    border-right: 0;
}

.wc-league-strip img {
    grid-row: 1 / span 2;
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.wc-league-strip strong {
    min-width: 0;
    font-size: 15px;
    font-weight: 950;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wc-league-strip span {
    color: var(--wc-muted);
    font-size: 12px;
    font-weight: 700;
}

.wc-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.wc-filter button {
    height: 30px;
    padding: 0 12px;
    border: 1px solid var(--wc-line);
    border-radius: 999px;
    background: #fff;
    color: #526176;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.wc-filter button.active {
    border-color: var(--wc-green);
    background: var(--wc-green);
    color: #fff;
}

.wc-day-group {
    margin-top: 10px;
}

.wc-day-group:first-child {
    margin-top: 0;
}

.wc-day-group h3 {
    margin: 0 0 8px;
    padding: 8px 10px;
    border-radius: 6px;
    background: var(--wc-soft);
    color: #334155;
    font-size: 14px;
    font-weight: 950;
}

.wc-match-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-width: 0;
    padding: 10px 0;
    border-bottom: 1px dashed #e5eaf0;
}

.wc-match-row:last-child {
    border-bottom: 0;
}

.wc-row-main {
    display: grid;
    grid-template-columns: 48px 76px minmax(0, 1fr) 54px minmax(0, 1fr) 78px;
    gap: 8px;
    align-items: center;
    min-width: 0;
}

.wc-row-league {
    color: var(--wc-amber);
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wc-row-team.away {
    justify-content: flex-end;
}

.wc-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
}

.wc-article-list,
.wc-video-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.wc-article-card,
.wc-video-card {
    min-width: 0;
    border: 1px solid var(--wc-line);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.wc-article-card img,
.wc-video-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #edf2f7;
}

.wc-article-card strong,
.wc-video-card strong {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 44px;
    padding: 9px 10px 0;
    color: #243044;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 900;
}

.wc-article-card span {
    display: block;
    padding: 5px 10px 10px;
    color: var(--wc-muted);
    font-size: 12px;
}

.wc-video-card {
    position: relative;
}

.wc-video-card > span {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(15, 118, 110, .92);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wc-topic-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wc-topic-cloud a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 11px;
    border: 1px solid #d9e4e1;
    border-radius: 999px;
    background: #f7fbfa;
    color: #35504c;
    font-size: 13px;
    font-weight: 800;
}

.wc-topic-cloud a:first-child,
.wc-topic-cloud a:nth-child(2),
.wc-topic-cloud a:nth-child(3) {
    border-color: #f0c5cd;
    background: #fff6f8;
    color: var(--wc-red);
}

.wc-empty {
    padding: 18px;
    border: 1px dashed #d8e1e7;
    border-radius: 8px;
    background: #fbfcfd;
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
}

.wc-empty a {
    color: var(--wc-green);
    font-weight: 900;
}

.wc-seo-copy {
    padding: 16px;
    color: #4a5668;
    font-size: 14px;
    line-height: 1.85;
}

.wc-seo-copy p {
    margin: 0 0 8px;
}

.wc-seo-copy p:last-child {
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .wc-hero {
        grid-template-columns: 1fr;
    }

    .wc-hero-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .wc-cup-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wc-league-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .wc-league-strip a {
        border-bottom: 1px solid var(--wc-line);
    }

    .wc-row-main {
        grid-template-columns: 44px 64px minmax(0, 1fr) 48px minmax(0, 1fr) 70px;
    }
}

@media (max-width: 768px) {
    .wc-home {
        padding: 8px 8px 0;
        margin-bottom: 20px;
    }

    .wc-hero-copy,
    .wc-panel,
    .wc-seo-copy {
        padding: 12px;
        border-radius: 8px;
    }

    .wc-hero {
        gap: 10px;
        margin-bottom: 10px;
    }

    .wc-hero h1 {
        font-size: 23px;
        line-height: 1.35;
    }

    .wc-hero p {
        font-size: 14px;
        line-height: 1.7;
    }

    .wc-hero-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .wc-hero-actions a:first-child {
        grid-column: 1 / -1;
    }

    .wc-hero-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .wc-hero-stats div {
        min-height: 74px;
        padding: 10px;
    }

    .wc-hero-stats strong {
        font-size: 24px;
    }

    .wc-hero-stats span {
        font-size: 11px;
        line-height: 1.35;
    }

    .wc-section-head {
        display: block;
    }

    .wc-section-head h2 {
        font-size: 18px;
    }

    .wc-section-head > a {
        display: inline-flex;
        margin-top: 8px;
    }

    .wc-cup-grid,
    .wc-content-grid,
    .wc-article-list,
    .wc-video-list {
        grid-template-columns: 1fr;
    }

    .wc-cup-card {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .wc-cup-card .wc-live-btn {
        width: 100%;
    }

    .wc-cup-teams {
        grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr);
    }

    .wc-cup-teams span,
    .wc-row-team {
        font-size: 13px;
    }

    .wc-logo,
    .wc-logo-fallback {
        width: 22px;
        height: 22px;
        flex-basis: 22px;
    }

    .wc-league-strip {
        grid-template-columns: 1fr 1fr;
    }

    .wc-league-strip a {
        grid-template-columns: 30px minmax(0, 1fr);
        padding: 10px;
    }

    .wc-league-strip img {
        width: 30px;
        height: 30px;
    }

    .wc-filter {
        justify-content: flex-start;
        margin-top: 10px;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 2px;
    }

    .wc-filter button {
        flex: 0 0 auto;
    }

    .wc-match-row {
        grid-template-columns: 1fr;
        padding: 11px 0;
    }

    .wc-row-main {
        grid-template-columns: 46px minmax(0, 1fr) 42px minmax(0, 1fr);
        gap: 6px;
    }

    .wc-row-league,
    .wc-row-main em {
        grid-column: span 2;
    }

    .wc-row-team.away {
        justify-content: flex-start;
    }

    .wc-match-row .wc-live-btn {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .wc-hero-actions {
        grid-template-columns: 1fr;
    }

    .wc-hero-actions a:first-child {
        grid-column: auto;
    }

    .wc-hero-stats {
        grid-template-columns: 1fr;
    }

    .wc-league-strip {
        grid-template-columns: 1fr;
    }
}
