/* ===== 全局重置 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f5f7fc;
    color: #1a2634;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    padding: 0 20px 50px;
}

.app {
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== 顶部导航 ===== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0 14px;
    border-bottom: 1px solid #e8ecf4;
    flex-wrap: wrap;
    gap: 12px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo i {
    -webkit-text-fill-color: initial;
    color: #818cf8;
    font-size: 28px;
}

.nav-links {
    display: flex;
    gap: 28px;
    font-size: 15px;
    font-weight: 500;
}

.nav-links a {
    color: #6b7a93;
    text-decoration: none;
    transition: 0.2s;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
    color: #4f46e5;
    border-bottom-color: #818cf8;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-right .search {
    background: #ffffff;
    padding: 7px 14px;
    border-radius: 30px;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-right .search input {
    background: none;
    border: none;
    outline: none;
    color: #1a2634;
    width: 110px;
    font-size: 13px;
}

.nav-right .search input::placeholder {
    color: #a0aec0;
}

.nav-right .search i {
    color: #a0aec0;
}

.user-btn {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    padding: 6px 16px 6px 12px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4a5568;
}

.user-btn i {
    color: #f6ad55;
}

/* ===== 分类导航 ===== */
.category-strip {
    display: flex;
    gap: 10px 16px;
    flex-wrap: wrap;
    padding: 16px 0 12px;
    border-bottom: 1px solid #edf2f7;
}

.category-strip a {
    color: #6b7a93;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 4px 14px;
    border-radius: 30px;
    transition: 0.2s;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.category-strip a:hover,
.category-strip a.active {
    background: #818cf8;
    color: #ffffff;
    border-color: #818cf8;
}

a {
    text-decoration: none;
}

/* ===== 焦点战 - 巨型卡片 ===== */
.featured-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 30px 36px;
    margin: 24px 0 32px;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    min-height: 140px;
}

.featured-card::after {
    content: '';
    position: absolute;
    top: -60%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(129, 140, 248, 0.06), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.featured-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
    flex: 0 0 auto;
}

.featured-left .tag {
    background: #ef4444;
    padding: 2px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: inline-block;
    width: fit-content;
    color: #ffffff;
}

.featured-left .league {
    font-size: 14px;
    color: #6b7a93;
}

.featured-left .match-title {
    font-size: 26px;
    font-weight: 700;
    margin: 4px 0;
    color: #1a2634;
}

.featured-left .match-title span {
    color: #818cf8;
}

.featured-left .time {
    color: #6b7a93;
    font-size: 14px;
}

.featured-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 24px;
    z-index: 1;
}

.featured-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 100px;
}

.featured-team .crest {
    width: 56px;
    height: 56px;
    background: #f1f4f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    border: 2px solid #e2e8f0;
    overflow: hidden;
    flex-shrink: 0;
}

.featured-team .crest img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.featured-team .name {
    font-size: 15px;
    font-weight: 600;
    color: #1a2634;
    white-space: normal;
    text-align: center;
    max-width: 120px;
    line-height: 1.3;
}

.featured-score {
    font-size: 38px;
    font-weight: 800;
    color: #1a2634;
    letter-spacing: 2px;
    background: #f1f4f9;
    padding: 4px 20px;
    border-radius: 12px;
    line-height: 1.2;
}

.featured-right {
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
    flex: 0 0 auto;
}

.featured-right .status {
    background: #ef4444;
    padding: 4px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.featured-right .status i {
    font-size: 10px;
}

.featured-right .btn-watch {
    background: #4f46e5;
    border: none;
    border-radius: 40px;
    padding: 10px 32px;
    font-weight: 700;
    font-size: 15px;
    color: #ffffff;
    cursor: pointer;
    transition: 0.2s;
    text-decoration: none;
    display: inline-block;
}

.featured-right .btn-watch:hover {
    background: #6366f1;
    transform: scale(1.02);
}

/* ===== 直播列表 - 网格布局 ===== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 28px 0 14px;
}

.section-header h2 {
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1a2634;
}

.section-header h2 i {
    color: #ef4444;
    font-size: 16px;
}

.section-header a {
    color: #6b7a93;
    font-size: 14px;
    text-decoration: none;
    border-bottom: 1px dashed #dce2ec;
}

.section-header a:hover {
    color: #4f46e5;
}

.live-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 4px 0 12px;
}

.live-card-mini {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px 18px;
    border: 1px solid #e2e8f0;
    transition: 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.live-card-mini:hover {
    border-color: #818cf8;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.live-card-mini .mini-league {
    font-size: 12px;
    color: #6b7a93;
}

.live-card-mini .mini-teams {
    font-size: 15px;
    font-weight: 600;
    margin: 4px 0 2px;
    color: #1a2634;
}

.live-card-mini .mini-score {
    font-size: 22px;
    font-weight: 700;
    color: #4f46e5;
}

.live-card-mini .mini-time {
    font-size: 13px;
    color: #6b7a93;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.live-card-mini .mini-time .dot {
    width: 6px;
    height: 6px;
    background: #ef4444;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 1.5s infinite;
}

/* ===== 新闻快讯 ===== */
.news-strip {
    background: #ffffff;
    border-radius: 16px;
    padding: 14px 24px;
    margin: 28px 0 18px;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.news-strip .label {
    background: #ef4444;
    padding: 2px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    color: #ffffff;
}

.news-strip .items {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    flex: 1;
    padding: 4px 0;
    scrollbar-width: none;
}

.news-strip .items::-webkit-scrollbar {
    display: none;
}

.news-strip .items span {
    white-space: nowrap;
    font-size: 14px;
    color: #4a5568;
}

.news-strip .items span i {
    margin-right: 8px;
    color: #f6ad55;
}

/* ===== 底部 ===== */
.footer {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #edf2f7;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 14px;
    color: #a0aec0;
}

.footer a {
    color: #6b7a93;
    text-decoration: none;
    margin-left: 20px;
}

.footer a:hover {
    color: #4f46e5;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .live-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 820px) {
    .featured-card {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
        gap: 16px;
        min-height: auto;
    }
    .featured-left { align-items: center; }
    .featured-center {
        position: static;
        transform: none;
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .featured-score { font-size: 28px; padding: 2px 14px; }
    .featured-right { align-items: center; }
    .featured-team .crest { width: 44px; height: 44px; font-size: 22px; }
    .featured-team { min-width: 60px; }
    .featured-team .name { font-size: 13px; }
}

@media (max-width: 768px) {
    .live-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .navbar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .nav-links {
        justify-content: center;
        gap: 12px 16px;
        font-size: 14px;
        flex-wrap: wrap;
    }
    .nav-links a {
        padding: 4px 8px;
        font-size: 13px;
    }
    .nav-right { justify-content: center; }
    .nav-right .search input { width: 80px; }
    .featured-left .match-title { font-size: 20px; }
    .live-card-mini { padding: 12px 14px; }
    .live-card-mini .mini-score { font-size: 18px; }
    .news-strip { padding: 12px 16px; gap: 12px; }
}

@media (max-width: 480px) {
    .live-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== 集锦回放 ===== */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 4px 0 12px;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    transition: 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.highlight-item:hover {
    border-color: #818cf8;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.highlight-item .highlight-tag {
    display: inline-block;
    padding: 1px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    width: fit-content;
}

.highlight-item .highlight-tag.live {
    background: #ef4444;
    color: #ffffff;
}

.highlight-item .highlight-tag.replay {
    background: #818cf8;
    color: #ffffff;
}

.highlight-item .highlight-tag.news {
    background: #22c55e;
    color: #ffffff;
}

.highlight-item .highlight-title {
    font-size: 15px;
    font-weight: 500;
    color: #1a2634;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.highlight-item .highlight-time {
    font-size: 12px;
    color: #6b7a93;
    margin-top: 2px;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .highlights-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .highlights-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== 面包屑 ===== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin: 20px 0 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.breadcrumb a {
    color: #4a5568;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.breadcrumb a:hover {
    color: #818cf8;
}

.breadcrumb .breadcrumb-current {
    color: #1a2634;
    font-weight: 600;
    font-size: 14px;
}

.breadcrumb .breadcrumb-sep {
    color: #a0aec0;
    font-size: 12px;
    display: flex;
    align-items: center;
}

/* ===== 文章列表 ===== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 28px 0 14px;
}

.section-header h2 {
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1a2634;
}

.section-header a {
    color: #6b7a93;
    font-size: 14px;
    text-decoration: none;
    border-bottom: 1px dashed #dce2ec;
}

.section-header a:hover {
    color: #4f46e5;
}

.article-list-wrap {
    margin-top: 12px;
}

.article-white-box {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 4px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.article-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px;
    text-decoration: none;
    transition: 0.2s;
    border-bottom: 1px solid #f1f4f9;
}

.article-item:last-child {
    border-bottom: none;
}

.article-item:hover {
    background: #f8f9fc;
}

.article-item .article-tag {
    display: inline-block;
    padding: 2px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.article-item .article-tag.tag-jj {
    background: #ef4444;
    color: #ffffff;
}

.article-item .article-tag.tag-hf {
    background: #22c55e;
    color: #ffffff;
}

.article-item .article-tag.tag-zx {
    background: #818cf8;
    color: #ffffff;
}

.article-item .article-title {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: #1a2634;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-item .article-time {
    font-size: 13px;
    color: #a0aec0;
    flex-shrink: 0;
    white-space: nowrap;
}

.article-item .article-arrow {
    color: #a0aec0;
    font-size: 14px;
    transition: 0.2s;
    flex-shrink: 0;
}

.article-item:hover .article-arrow {
    color: #818cf8;
    transform: translateX(4px);
}

/* ===== 分页 ===== */
.pagination-wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.pagination {
    display: flex;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination li {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination li a,
.pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #1a2634;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: 0.2s;
}

.pagination li a:hover {
    background: #818cf8;
    border-color: #818cf8;
    color: #ffffff;
}

.pagination li.active span {
    background: #4f46e5;
    border-color: #4f46e5;
    color: #ffffff;
}

.pagination li a i {
    font-size: 14px;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .article-item {
        padding: 10px 16px;
        gap: 10px;
        flex-wrap: wrap;
    }

    .article-item .article-title {
        font-size: 14px;
        white-space: normal;
        flex: 1 1 100%;
        order: 2;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .article-item .article-tag {
        font-size: 11px;
        padding: 1px 12px;
    }

    .article-item .article-time {
        font-size: 12px;
        order: 3;
    }

    .article-item .article-arrow {
        order: 4;
        margin-left: auto;
    }

    .pagination-wrap {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .breadcrumb {
        padding: 10px 14px;
        font-size: 13px;
        flex-wrap: wrap;
    }

    .article-white-box {
        border-radius: 12px;
    }

    .article-item {
        padding: 10px 14px;
        gap: 8px;
    }

    .article-item .article-title {
        font-size: 13px;
    }

    .pagination li a,
    .pagination li span {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

/* ===== 直播详情页 ===== */
.live-detail-wrapper {
    max-width: 1200px;
    margin: 20px auto;
}

.live-detail-wrapper .live-header {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px 20px;
    border: 1px solid #e2e8f0;
    margin-bottom: 24px;
    text-align: center;
}

.live-detail-wrapper .live-matchup {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.live-detail-wrapper .team {
    display: flex;
    align-items: center;
    gap: 12px;
}

.live-detail-wrapper .team .crest {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f4f9;
}

.live-detail-wrapper .team .crest img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.live-detail-wrapper .team .name {
    font-size: 18px;
    font-weight: 700;
}

.live-detail-wrapper .match-score .score {
    font-size: 38px;
    font-weight: 800;
    background: #f1f4f9;
    padding: 4px 20px;
    border-radius: 12px;
}

.live-detail-wrapper .match-score .status {
    font-size: 14px;
    font-weight: 600;
    margin-top: 4px;
}

.live-detail-wrapper .match-score .status.live { color: #ef4444; }
.live-detail-wrapper .match-score .status.finished { color: #6b7a93; }
.live-detail-wrapper .match-score .status.upcoming { color: #f59e0b; }

.live-detail-wrapper .match-meta {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #6b7a93;
}

.live-detail-wrapper .match-meta .league { font-weight: 600; color: #4f46e5; }

.live-detail-wrapper .live-content-row {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
}

@media (max-width: 820px) {
    .live-detail-wrapper .live-content-row {
        grid-template-columns: 1fr;
    }
}

.live-detail-wrapper .live-detail-main {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px 28px;
    border: 1px solid #e2e8f0;
}

.live-detail-wrapper .detail-section {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #edf2f7;
}

.live-detail-wrapper .detail-section:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.live-detail-wrapper .detail-section h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.live-detail-wrapper .source-area h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.live-detail-wrapper .source-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.live-detail-wrapper .source-item {
    display: inline-block;
    padding: 8px 20px;
    background: #f1f4f9;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    color: #1a2634;
    border: 1px solid #e2e8f0;
    transition: 0.2s;
}

.live-detail-wrapper .source-item:hover {
    background: #4f46e5;
    color: #ffffff;
    border-color: #4f46e5;
}

.live-detail-wrapper .stat-item {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
}

.live-detail-wrapper .stat-label {
    width: 60px;
    font-size: 13px;
    color: #6b7a93;
    flex-shrink: 0;
}

.live-detail-wrapper .stat-bar {
    flex: 1;
    display: flex;
    height: 28px;
    border-radius: 6px;
    overflow: hidden;
    background: #f1f4f9;
}

.live-detail-wrapper .stat-bar-home {
    background: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    min-width: 30px;
}

.live-detail-wrapper .stat-bar-away {
    background: #818cf8;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 10px;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    min-width: 30px;
}

.live-detail-wrapper .event-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 400px;
    overflow-y: auto;
}

.live-detail-wrapper .event-list::-webkit-scrollbar { width: 4px; }
.live-detail-wrapper .event-list::-webkit-scrollbar-track { background: #f1f4f9; border-radius: 4px; }
.live-detail-wrapper .event-list::-webkit-scrollbar-thumb { background: #cbd5e0; border-radius: 4px; }

.live-detail-wrapper .event-item {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 6px 12px;
    border-radius: 6px;
    background: #f8f9fc;
    font-size: 14px;
    border-left: 3px solid transparent;
}

.live-detail-wrapper .event-item .event-time {
    color: #6b7a93;
    font-weight: 600;
    width: 44px;
    flex-shrink: 0;
}

.live-detail-wrapper .event-item .event-desc { flex: 1; }
.live-detail-wrapper .event-item.goal { border-left-color: #22c55e; background: #f0fdf4; }
.live-detail-wrapper .event-item.card { border-left-color: #ef4444; background: #fef2f2; }
.live-detail-wrapper .event-item.sub { border-left-color: #818cf8; background: #f0f2ff; }

.live-detail-wrapper .quarter-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.live-detail-wrapper .quarter-tab {
    padding: 6px 18px;
    background: #f1f4f9;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: #6b7a93;
    cursor: pointer;
    border: 1px solid transparent;
    transition: 0.2s;
}

.live-detail-wrapper .quarter-tab:hover { background: #e2e8f0; }

.live-detail-wrapper .quarter-tab.active {
    background: #4f46e5;
    color: #ffffff;
    border-color: #4f46e5;
}

.live-detail-wrapper .quarter-panel { display: none; }
.live-detail-wrapper .quarter-panel.active { display: block; }

.live-detail-wrapper .lineup-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 600px) {
    .live-detail-wrapper .lineup-grid { grid-template-columns: 1fr; }
}

.live-detail-wrapper .lineup-home h4,
.live-detail-wrapper .lineup-away h4 {
    font-size: 14px;
    font-weight: 600;
    color: #4f46e5;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid #edf2f7;
}

.live-detail-wrapper .lineup-away h4 { color: #818cf8; }

.live-detail-wrapper .lineup-players {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
}

.live-detail-wrapper .lineup-players span {
    font-size: 13px;
    color: #2d3748;
    padding: 3px 10px;
    background: #f8f9fc;
    border-radius: 4px;
    border: 1px solid #edf2f7;
}

.live-detail-wrapper .extras-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}

.live-detail-wrapper .extras-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 12px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e8ecf4;
    text-decoration: none;
    transition: 0.2s;
    text-align: center;
    gap: 4px;
    min-height: 80px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.live-detail-wrapper .extras-card:hover {
    background: #818cf8;
    border-color: #818cf8;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(129, 140, 248, 0.25);
}

.live-detail-wrapper .extras-card .extras-league {
    display: inline-block;
    padding: 2px 14px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 600;
    color: #ffffff;
    background: #818cf8;
    flex-shrink: 0;
    letter-spacing: 0.3px;
    text-decoration: none;
    transition: 0.2s;
}

.live-detail-wrapper .extras-card .extras-league:hover {
    background: #4f46e5;
    transform: scale(1.05);
}

.live-detail-wrapper .extras-card:hover .extras-league {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.live-detail-wrapper .extras-card .extras-match-link {
    text-decoration: none;
    display: block;
    width: 100%;
}

.live-detail-wrapper .extras-card .extras-match {
    font-weight: 500;
    font-size: 14px;
    color: #1a2634;
    line-height: 1.4;
    padding: 0 2px;
    transition: 0.2s;
}

.live-detail-wrapper .extras-card .extras-match .vs {
    color: #a0aec0;
    font-weight: 400;
    font-size: 12px;
    margin: 0 4px;
}

.live-detail-wrapper .extras-card:hover .extras-match {
    color: #ffffff;
}

.live-detail-wrapper .extras-card:hover .extras-match .vs {
    color: rgba(255, 255, 255, 0.5);
}

.live-detail-wrapper .extras-card .extras-time {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 400;
}

.live-detail-wrapper .extras-card:hover .extras-time {
    color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 768px) {
    .live-detail-wrapper .extras-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 10px;
    }
    .live-detail-wrapper .extras-card {
        padding: 12px 10px;
        min-height: 72px;
        gap: 3px;
    }
    .live-detail-wrapper .extras-card .extras-league {
        font-size: 10px;
        padding: 1px 10px;
    }
    .live-detail-wrapper .extras-card .extras-match {
        font-size: 13px;
    }
    .live-detail-wrapper .extras-card .extras-time {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .live-detail-wrapper .extras-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 8px;
    }
    .live-detail-wrapper .extras-card {
        padding: 10px 8px;
        min-height: 64px;
        gap: 2px;
    }
    .live-detail-wrapper .extras-card .extras-league {
        font-size: 9px;
        padding: 0px 8px;
    }
    .live-detail-wrapper .extras-card .extras-match {
        font-size: 12px;
    }
    .live-detail-wrapper .extras-card .extras-match .vs {
        font-size: 10px;
        margin: 0 2px;
    }
    .live-detail-wrapper .extras-card .extras-time {
        font-size: 10px;
    }
}

.live-detail-wrapper .live-sidebar {
    background: #ffffff;
    border-radius: 20px;
    padding: 20px 22px;
    border: 1px solid #e2e8f0;
    align-self: start;
}

.live-detail-wrapper .live-sidebar h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #edf2f7;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.live-detail-wrapper .hot-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    margin: 0;
}

.live-detail-wrapper .hot-list li {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 12px;
    background: #f8f9fc;
    border-radius: 10px;
    border: 1px solid #f1f4f9;
    transition: 0.2s;
}

.live-detail-wrapper .hot-list li:hover {
    background: #f0f2ff;
    border-color: #e2e8f0;
}

.live-detail-wrapper .hot-list .league-tag {
    display: inline-block;
    padding: 2px 12px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 600;
    color: #ffffff;
    background: #818cf8;
    flex-shrink: 0;
    white-space: nowrap;
    line-height: 1.6;
    text-decoration: none;
    transition: 0.2s;
    width: fit-content;
    text-align: center;
}

.live-detail-wrapper .hot-list .league-tag:hover {
    background: #4f46e5;
    transform: scale(1.05);
}

.live-detail-wrapper .hot-list .hot-match-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

.live-detail-wrapper .hot-list .hot-match {
    font-weight: 500;
    font-size: 14px;
    color: #1a2634;
    text-decoration: none;
    transition: 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}

.live-detail-wrapper .hot-list .hot-match .vs {
    color: #a0aec0;
    font-weight: 400;
    font-size: 12px;
    margin: 0 4px;
}

.live-detail-wrapper .hot-list .hot-match:hover {
    color: #4f46e5;
}

.live-detail-wrapper .hot-list .hot-time {
    color: #6b7a93;
    font-size: 12px;
    white-space: nowrap;
    flex-shrink: 0;
}

.live-detail-wrapper .sidebar-title-more {
    font-size: 13px;
    font-weight: 400;
    color: #6b7a93;
    text-decoration: none;
    transition: 0.2s;
    flex-shrink: 0;
    background: #f1f4f9;
    padding: 2px 14px;
    border-radius: 20px;
    line-height: 1.8;
}

.live-detail-wrapper .sidebar-title-more:hover {
    color: #4f46e5;
    background: #e8ecf4;
}

@media (max-width: 768px) {
    .live-detail-wrapper .hot-list li {
        padding: 8px 10px;
        gap: 4px;
    }
    .live-detail-wrapper .hot-list .league-tag {
        font-size: 10px;
        padding: 1px 10px;
    }
    .live-detail-wrapper .hot-list .hot-match {
        font-size: 13px;
    }
    .live-detail-wrapper .hot-list .hot-match .vs {
        font-size: 11px;
        margin: 0 3px;
    }
    .live-detail-wrapper .hot-list .hot-time {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .live-detail-wrapper .hot-list li {
        padding: 6px 8px;
        gap: 4px;
    }
    .live-detail-wrapper .hot-list .league-tag {
        font-size: 9px;
        padding: 1px 8px;
    }
    .live-detail-wrapper .hot-list .hot-match {
        font-size: 12px;
    }
    .live-detail-wrapper .hot-list .hot-match .vs {
        font-size: 10px;
        margin: 0 2px;
    }
    .live-detail-wrapper .hot-list .hot-time {
        font-size: 10px;
    }
}

/* ===== 资讯页双栏布局 ===== */
.news-page-wrapper {
    display: flex;
    gap: 24px;
    margin-top: 20px;
    align-items: flex-start;
}

.news-main {
    flex: 1;
    min-width: 0;
}

.news-sidebar {
    width: 320px;
    flex-shrink: 0;
}

/* ===== 侧边栏卡片块 ===== */
.sidebar-block {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 18px 20px 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.sidebar-block h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a2634;
    padding-bottom: 12px;
    border-bottom: 2px solid #edf2f7;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===== 侧边栏列表 ===== */
/* ===== 侧边栏列表 ===== */
.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f1f4f9;
}

.sidebar-list li:last-child {
    border-bottom: none;
}

.sidebar-list li a {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 4px 10px;
    text-decoration: none;
    color: #1a2634;
    transition: 0.2s;
    font-size: 14px;
}

.sidebar-list li a:hover {
    color: #4f46e5;
}

/* ===== 序号 - 固定宽度，不换行 ===== */
.sidebar-list .sidebar-num {
    display: inline-block;
    width: 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #a0aec0;
    flex-shrink: 0;
    border-radius: 50%;
    background: #f1f4f9;
    transition: 0.2s;
    margin-top: 1px;
}

.sidebar-list .sidebar-num.top {
    color: #ffffff;
}
.sidebar-list li:nth-child(1) .sidebar-num.top { background: #ef4444; }
.sidebar-list li:nth-child(2) .sidebar-num.top { background: #f59e0b; }
.sidebar-list li:nth-child(3) .sidebar-num.top { background: #3b82f6; }

/* ===== 标题 - 和序号同一行 ===== */
.sidebar-list .sidebar-title {
    flex: 1;
    white-space: normal;
    line-height: 1.5;
    font-size: 14px;
    color: #1a2634;
    order: 1;
}

/* ===== 时间 - 单独一行（强制换行） ===== */
.sidebar-list .sidebar-time {
    flex: 0 0 100%;
    font-size: 12px;
    color: #a0aec0;
    white-space: nowrap;
    order: 2;
}

/* 联赛标签（直播用） */
.sidebar-list .sidebar-league {
    display: inline-block;
    padding: 0px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
    color: #ffffff;
    background: #818cf8;
    flex-shrink: 0;
    line-height: 1.8;
    order: 0;
}

/* 悬停效果 */
.sidebar-list li a:hover .sidebar-num {
    background: #818cf8;
    color: #ffffff;
}
.sidebar-list li:nth-child(1) a:hover .sidebar-num { background: #ef4444; }
.sidebar-list li:nth-child(2) a:hover .sidebar-num { background: #f59e0b; }
.sidebar-list li:nth-child(3) a:hover .sidebar-num { background: #3b82f6; }

/* 空状态 */
.sidebar-list .sidebar-empty {
    color: #a0aec0;
    font-size: 13px;
    padding: 6px 0;
}

/* ===== 移动端 ===== */
@media (max-width: 992px) {
    .news-page-wrapper {
        flex-direction: column;
    }
    .news-sidebar {
        width: 100%;
    }
    .sidebar-block {
        padding: 14px 16px 10px;
    }
}

@media (max-width: 768px) {
    .news-page-wrapper {
        gap: 16px;
        margin-top: 12px;
    }

    /* ===== 文章列表 - 移动端 ===== */
    .article-item {
        padding: 12px 14px;
        gap: 6px;
        flex-wrap: wrap;
        align-items: flex-start;
    }
    .article-item .article-tag {
        font-size: 10px;
        padding: 1px 10px;
        flex-shrink: 0;
        order: 0;
    }
    .article-item .article-title {
        font-size: 14px;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        flex: 1 1 100%;
        order: 1;
        line-height: 1.5;
    }
    .article-item .article-time {
        font-size: 12px;
        color: #a0aec0;
        order: 2;
        flex: 0 0 auto;
    }
    .article-item .article-arrow {
        display: none;
    }

    /* ===== 侧边栏 - 移动端 ===== */
    .sidebar-block {
        padding: 12px 14px 10px;
        border-radius: 12px;
        margin-bottom: 14px;
    }
    .sidebar-block h3 {
        font-size: 15px;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }
    .sidebar-list li {
        padding: 8px 0;
    }
    .sidebar-list li a {
        font-size: 13px;
        gap: 4px 8px;
    }
    .sidebar-list .sidebar-num {
        width: 18px;
        height: 18px;
        line-height: 18px;
        font-size: 10px;
        margin-top: 1px;
    }
    .sidebar-list .sidebar-title {
        font-size: 13px;
    }
    .sidebar-list .sidebar-time {
        font-size: 11px;
        margin-left: 28px;
    }
    .sidebar-list .sidebar-league {
        font-size: 9px;
        padding: 0px 8px;
    }

    .pagination li a,
    .pagination li span {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .article-item {
        padding: 10px 12px;
        gap: 4px;
    }
    .article-item .article-tag {
        font-size: 9px;
        padding: 0px 8px;
    }
    .article-item .article-title {
        font-size: 13px;
        -webkit-line-clamp: 2;
        line-height: 1.4;
    }
    .article-item .article-time {
        font-size: 11px;
    }

    .sidebar-block h3 {
        font-size: 14px;
    }
    .sidebar-list li a {
        font-size: 12px;
        gap: 3px 6px;
    }
    .sidebar-list .sidebar-num {
        width: 16px;
        height: 16px;
        line-height: 16px;
        font-size: 9px;
    }
    .sidebar-list .sidebar-title {
        font-size: 12px;
    }
    .sidebar-list .sidebar-time {
        font-size: 10px;
        margin-left: 24px;
    }

    .pagination li a,
    .pagination li span {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
}

/* ===== 底部 ===== */
.footer-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.footer-disclaimer {
    font-size: 12px;
    color: #999;
    max-width: 800px;
    margin: 10px auto;
    line-height: 1.6;
    padding: 0 15px;
}

.footer-update {
    font-size: 12px;
    color: #aaa;
    margin-top: 8px;
}

.footer-links {
    margin: 10px 0;
}

.footer-links a {
    margin: 0 8px;
    color: #666;
    text-decoration: none;
}

.footer-links a:hover {
    color: #e74c3c;
}

.footer-friends {
    margin-bottom: 12px;
    font-size: 13px;
    color: #666;
}

.footer-friends .friends-label {
    font-weight: bold;
    color: #333;
}

.footer-friends a {
    margin: 0 6px;
    color: #666;
    text-decoration: none;
}

.footer-friends a:hover {
    color: #e74c3c;
    text-decoration: underline;
}

/* ===== 体坛资讯列表 ===== */
.news-list-wrap {
    margin: 0 0 24px 0;
}

.news-list {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.news-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid #f1f4f9;
    text-decoration: none;
    transition: 0.2s;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    background: #f8f9fc;
}

.news-item .news-title {
    font-size: 15px;
    font-weight: 500;
    color: #1a2634;
    flex: 1;
    margin-right: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-item .news-title:hover {
    color: #4f46e5;
}

.news-item .news-time {
    font-size: 13px;
    color: #a0aec0;
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .news-item {
        padding: 12px 16px;
    }
    .news-item .news-title {
        font-size: 14px;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .news-item .news-time {
        font-size: 12px;
        margin-left: 8px;
    }
}

/* ===== 手机端顶部优化 ===== */
@media (max-width: 640px) {
    .live-detail-wrapper .live-header {
        padding: 16px 12px;
        border-radius: 16px;
    }

    .live-detail-wrapper .live-matchup {
        gap: 10px;
        flex-direction: column;
        align-items: center;
    }

    .live-detail-wrapper .live-matchup .team {
        flex-direction: column;
        align-items: center;
        gap: 4px;
        width: 100%;
    }

    .live-detail-wrapper .live-matchup .team .crest {
        width: 44px;
        height: 44px;
    }

    .live-detail-wrapper .live-matchup .team .name {
        font-size: 15px;
        font-weight: 600;
        text-align: center;
    }

    .live-detail-wrapper .match-score {
        order: -1;
        margin-bottom: 4px;
    }

    .live-detail-wrapper .match-score .score {
        font-size: 32px;
        padding: 2px 16px;
        background: #f1f4f9;
        border-radius: 10px;
        font-weight: 800;
    }

    .live-detail-wrapper .match-score .status {
        font-size: 12px;
        margin-top: 2px;
    }

    .live-detail-wrapper .live-matchup {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        grid-template-rows: auto auto;
        gap: 4px 8px;
        align-items: center;
        justify-items: center;
        width: 100%;
    }

    .live-detail-wrapper .live-matchup .match-score {
        grid-column: 1 / -1;
        grid-row: 1;
        order: 0;
        margin-bottom: 2px;
    }

    .live-detail-wrapper .live-matchup .team.home {
        grid-column: 1;
        grid-row: 2;
        justify-self: end;
    }

    .live-detail-wrapper .live-matchup .team.away {
        grid-column: 3;
        grid-row: 2;
        justify-self: start;
    }

    .live-detail-wrapper .live-matchup .team .crest {
        width: 40px;
        height: 40px;
    }

    .live-detail-wrapper .live-matchup .team .name {
        font-size: 14px;
        max-width: 80px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .live-detail-wrapper .match-meta {
        margin-top: 10px;
        gap: 8px 16px;
        font-size: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .live-detail-wrapper .match-meta .league {
        font-size: 13px;
    }

    .live-detail-wrapper .match-meta .date {
        font-size: 12px;
    }
}

@media (max-width: 400px) {
    .live-detail-wrapper .live-header {
        padding: 12px 8px;
    }
    .live-detail-wrapper .live-matchup {
        gap: 2px 4px;
    }
    .live-detail-wrapper .match-score .score {
        font-size: 26px;
        padding: 2px 12px;
    }
    .live-detail-wrapper .live-matchup .team .crest {
        width: 34px;
        height: 34px;
    }
    .live-detail-wrapper .live-matchup .team .name {
        font-size: 12px;
        max-width: 60px;
    }
    .live-detail-wrapper .match-meta {
        font-size: 11px;
        gap: 4px 12px;
    }
    .live-detail-wrapper .match-meta .league {
        font-size: 12px;
    }
}

.section-header .switch-link {
    font-size: 14px;
    color: #6b7a93;
    text-decoration: none;
    transition: 0.2s;
    border-bottom: 1px dashed #dce2ec;
    padding-bottom: 2px;
}

.section-header .switch-link:hover {
    color: #4f46e5;
    border-bottom-color: #4f46e5;
}

/* ===== 标签云 ===== */
.tag-cloud-wrap {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 18px 20px 16px;
    margin: 16px 0 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.tag-cloud-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a2634;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tag-cloud-title i {
    color: #818cf8;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
}

.tag-item {
    display: inline-block;
    padding: 4px 14px;
    background: #f1f4f9;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #4a5568;
    text-decoration: none;
    transition: 0.2s;
    border: 1px solid transparent;
}

.tag-item:hover {
    background: #818cf8;
    color: #ffffff;
    border-color: #818cf8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(129, 140, 248, 0.3);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .tag-cloud-wrap {
        padding: 14px 16px 12px;
        margin: 12px 0 16px;
    }
    .tag-cloud-title {
        font-size: 13px;
    }
    .tag-item {
        font-size: 12px;
        padding: 3px 12px;
    }
}

@media (max-width: 480px) {
    .tag-cloud-wrap {
        padding: 12px 14px 10px;
    }
    .tag-item {
        font-size: 11px;
        padding: 2px 10px;
    }
}