.t4-panel {
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
}

.t4-section {
    padding: 20px;
}

.t4-section-title {
    margin: 0 0 17px;
    padding-left: 10px;
    border-left: 4px solid #0f4ed0;
    color: #203344;
    font-size: 17px;
    line-height: 24px;
}

.t4-detail-info {
    color: #435260;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.t4-detail-info p {
    margin: 0 0 12px;
}

.t4-scoreboard {
    padding: 25px 20px 30px;
    background:
        linear-gradient(135deg, transparent 25%, rgb(255 255 255 / 8%) 25% 27%, transparent 27%),
        linear-gradient(35deg, #167ba7, #439ed0);
    color: #fff;
    text-align: center;
}

.t4-match-meta {
    margin: 0 0 22px;
    font-size: 13px;
}

.t4-score-teams {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 140px minmax(0, 1fr);
    align-items: center;
    gap: 15px;
}

.t4-score-team img {
    display: block;
    width: 72px;
    height: 72px;
    margin: 0 auto 12px;
    object-fit: contain;
}

.t4-score-team p {
    margin: 0;
    font-size: 16px;
    overflow-wrap: anywhere;
}

.t4-score-state strong {
    font-size: 18px;
}

.t4-score-state p {
    margin: 10px 0 0;
}

.t4-signals {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.t4-signals a {
    display: inline-flex;
    min-height: 40px;
    padding: 8px 20px;
    align-items: center;
    justify-content: center;
    border: 1px solid #1353db;
    border-radius: 12px;
    background: #fff;
    color: #0f4ed0;
}

.t4-signals a:hover {
    background: #0f4ed0;
    color: #fff;
}

.t4-news-tabs {
    display: flex;
    padding: 13px 16px;
    flex-wrap: wrap;
    gap: 8px;
    background: #e2eaff;
}

.t4-news-tabs a {
    display: inline-flex;
    min-height: 32px;
    padding: 5px 12px;
    align-items: center;
    border-radius: 4px;
    font-size: 13px;
}

.t4-news-tabs a.active,
.t4-news-tabs a:hover {
    background: #0f4ed0;
    color: #fff;
}

.t4-news-item {
    display: grid;
    padding: 15px 18px;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 15px;
    border-bottom: 1px solid #ededed;
}

.t4-news-image {
    display: block;
    overflow: hidden;
    border-radius: 5px;
    background: #f1f3f5;
}

.t4-news-image img {
    display: block;
    width: 180px;
    height: 120px;
    object-fit: cover;
}

.t4-news-body {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.t4-news-title {
    display: -webkit-box;
    margin: 0 0 7px;
    overflow: hidden;
    font-size: 17px;
    line-height: 1.5;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow-wrap: anywhere;
}

.t4-news-title a:hover,
.t4-text-list a:hover {
    color: #0f4ed0;
}

.t4-news-summary {
    display: -webkit-box;
    margin: 0 0 12px;
    overflow: hidden;
    color: #617080;
    font-size: 13px;
    line-height: 1.7;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.t4-news-meta {
    display: flex;
    margin-top: auto;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
    color: #929ba5;
    font-size: 11px;
}

.t4-news-category {
    padding: 2px 11px;
    border-radius: 20px;
    background: #f1f3f5;
    color: #667482;
}

.t4-article {
    padding: 24px 22px;
}

.t4-article-title {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.t4-article-meta {
    display: flex;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 8px 20px;
    color: #929ba5;
    font-size: 12px;
}

.t4-article-content {
    color: #273744;
    font-size: 15px;
    line-height: 1.95;
    overflow-wrap: anywhere;
}

.t4-article-content p {
    margin: 0 0 16px;
}

.t4-article-content img {
    display: block;
    max-width: 100% !important;
    height: auto !important;
    margin: 20px auto;
}

.t4-article-content video,
.t4-article-content iframe {
    max-width: 100%;
}

.t4-article-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

.t4-article-content pre {
    max-width: 100%;
    overflow: auto;
}

.t4-prev-next {
    display: grid;
    padding: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.t4-prev-next > div {
    padding: 15px;
    border: 1px solid #eeeeee;
    border-radius: 7px;
    overflow-wrap: anywhere;
}

.t4-prev-next a,
.t4-prev-next p {
    display: block;
    margin: 12px 0 0;
    font-size: 13px;
    line-height: 1.8;
}

.t4-nav-label {
    color: #0f4ed0;
    font-size: 13px;
}

.t4-text-list,
.t4-replay-list,
.t4-video-links {
    margin: 0;
    padding: 0 20px 20px;
    list-style: none;
}

.t4-text-list li,
.t4-replay-list li {
    padding: 13px 0;
    border-bottom: 1px solid #efefef;
    font-size: 13px;
    line-height: 1.8;
}

.t4-replay-list li {
    display: flex;
    justify-content: space-between;
    gap: 18px;
}

.t4-replay-list a,
.t4-replay-list li > span:first-child {
    min-width: 0;
    overflow-wrap: anywhere;
}

.t4-replay-date {
    flex-shrink: 0;
    color: #929ba5;
    font-size: 12px;
}

.t4-video-links {
    padding: 0;
}

.t4-video-links li {
    padding: 9px 0;
}

.t4-video-links a {
    color: #0f4ed0;
    overflow-wrap: anywhere;
}

.t4-pagination {
    padding: 27px 15px 35px;
}

.t4-pagination .pagination {
    display: flex;
    margin: 0;
    padding: 0;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
}

.t4-pagination .pagination a,
.t4-pagination .pagination span {
    display: inline-flex;
    min-width: 34px;
    min-height: 36px;
    padding: 6px 10px;
    align-items: center;
    justify-content: center;
    border: 1px solid #e9edf2;
    border-radius: 3px;
    background: #fff;
    color: #586a7d;
    font-size: 12px;
}

.t4-pagination .active span {
    border-color: #0f4ed0;
    background: #0f4ed0;
    color: #fff;
}

.t4-pagination .disabled span {
    color: #b6bec7;
}

@media (max-width: 600px) {
    .t4-section,
    .t4-article {
        padding: 18px 13px;
    }

    .t4-score-teams {
        grid-template-columns: minmax(0, 1fr) 90px minmax(0, 1fr);
        gap: 8px;
    }

    .t4-score-team img {
        width: 56px;
        height: 56px;
    }

    .t4-score-team p {
        font-size: 13px;
    }

    .t4-score-state strong {
        font-size: 15px;
    }

    .t4-signals {
        gap: 8px;
    }

    .t4-signals a {
        padding: 8px 13px;
        font-size: 12px;
    }

    .t4-news-item {
        padding: 13px 10px;
        grid-template-columns: 110px minmax(0, 1fr);
        gap: 11px;
    }

    .t4-news-image img {
        width: 110px;
        height: 78px;
    }

    .t4-news-title {
        font-size: 14px;
    }

    .t4-news-summary {
        display: none;
    }

    .t4-news-meta {
        font-size: 10px;
    }

    .t4-news-category {
        display: none;
    }

    .t4-article-title {
        font-size: 21px;
    }

    .t4-prev-next {
        padding: 13px;
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .t4-replay-list {
        padding-right: 13px;
        padding-left: 13px;
    }

    .t4-replay-list li {
        gap: 10px;
    }

    .t4-replay-date {
        font-size: 10px;
    }
}
