/* ===== 全局重置 ===== */
* {
    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: 16px;
        font-size: 14px;
    }
    .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-top: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.breadcrumb a {
    color: #1a2634;
    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 a.active {
    color: #4f46e5;
    font-weight: 600;
}

.breadcrumb .breadcrumb-sep {
    color: #a0aec0;
    font-size: 12px;
    display: flex;
    align-items: center;
}

/* ===== 文章列表 - 白色圆框 ===== */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.article-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: #ffffff;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    transition: 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.article-item:hover {
    border-color: #818cf8;
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(129, 140, 248, 0.15);
}

.article-item .article-title {
    font-size: 15px;
    font-weight: 500;
    color: #1a2634;
}

.article-item .article-arrow {
    color: #a0aec0;
    font-size: 14px;
    transition: 0.2s;
}

.article-item:hover .article-arrow {
    color: #818cf8;
    transform: translateX(4px);
}

/* ===== 文章列表 - 白色大框 + 标签挤在一起 ===== */
.article-list {
    margin-top: 12px;
}

.article-white-box {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 16px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.article-tag {
    display: inline-block;
    padding: 6px 16px;
    background: #f1f4f9;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: #1a2634;
    text-decoration: none;
    transition: 0.2s;
    border: 1px solid transparent;
    white-space: nowrap;
}

.article-tag:hover {
    background: #818cf8;
    color: #ffffff;
    border-color: #818cf8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(129, 140, 248, 0.3);
}

/* ===== 分页 ===== */
.pagination-wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
}

.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;
}

/* ===== 详情页 ===== */
.detail-page {
    max-width: 820px;
    margin: 0 auto;
}

.detail-container {
    background: #ffffff;
    border-radius: 20px;
    padding: 36px 44px 44px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

/* 标题 */
.detail-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a2634;
    line-height: 1.3;
    margin-bottom: 16px;
    text-align: center;
}

/* 直播按钮 */
.detail-attach {
    text-align: center;
    margin-bottom: 20px;
}

.btn-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 28px;
    background: #ef4444;
    color: #ffffff;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: 0.2s;
}

.btn-live:hover {
    background: #dc2626;
    transform: scale(1.02);
}

.btn-live i {
    font-size: 18px;
}

/* 封面图 */
.detail-cover {
    margin: 16px 0 28px;
    border-radius: 16px;
    overflow: hidden;
    background: #f1f4f9;
    text-align: center;
}

.detail-cover img {
    max-width: 100%;
    max-height: 400px;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

/* 正文 */
.detail-body {
    font-size: 16px;
    line-height: 1.9;
    color: #2d3748;
}

.detail-body p {
    margin-bottom: 18px;
}

.detail-body img {
    max-width: 100%;
    border-radius: 12px;
    margin: 16px 0;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .detail-container {
        padding: 20px 18px 28px;
    }

    .detail-title {
        font-size: 22px;
    }

    .detail-body {
        font-size: 15px;
    }

    .detail-cover img {
        max-height: 250px;
    }
}

@media (max-width: 480px) {
    .detail-container {
        padding: 16px 14px 20px;
        border-radius: 16px;
    }

    .detail-title {
        font-size: 19px;
    }

    .breadcrumb {
        padding: 10px 14px;
        font-size: 13px;
        flex-wrap: wrap;
    }

    .btn-live {
        padding: 8px 20px;
        font-size: 14px;
    }
}

/* ===== 面包屑 ===== */
.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;
}

/* ===== 直播详情页 ===== */
.live-detail-page {
    max-width: 820px;
    margin: 0 auto;
}

.live-detail-container {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 36px 40px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

/* ===== 对阵信息 ===== */
.live-match-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 24px;
    border-bottom: 1px solid #edf2f7;
}

.live-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.live-team .team-crest {
    width: 72px;
    height: 72px;
    background: #f1f4f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e2e8f0;
    overflow: hidden;
    flex-shrink: 0;
}

.live-team .team-crest img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.live-team .team-name {
    font-size: 18px;
    font-weight: 600;
    color: #1a2634;
}

/* 比分区域 */
.live-score-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0 20px;
}

.live-score {
    font-size: 42px;
    font-weight: 800;
    color: #1a2634;
    letter-spacing: 4px;
    background: #f1f4f9;
    padding: 4px 24px;
    border-radius: 12px;
}

.live-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #ef4444;
    font-weight: 600;
}

.live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulse-dot 1.2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.live-league {
    font-size: 13px;
    color: #6b7a93;
}

.live-league i {
    margin-right: 4px;
}

/* ===== 数据统计 ===== */
.live-stats {
    padding: 20px 0 16px;
    border-bottom: 1px solid #edf2f7;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
}

.stat-item:last-child {
    margin-bottom: 0;
}

.stat-label {
    width: 60px;
    font-size: 13px;
    color: #6b7a93;
    flex-shrink: 0;
}

.stat-bar {
    flex: 1;
    display: flex;
    height: 24px;
    border-radius: 6px;
    overflow: hidden;
    background: #f1f4f9;
}

.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;
    transition: width 0.3s;
    min-width: 30px;
}

.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;
    transition: width 0.3s;
    min-width: 30px;
}

/* ===== 直播源选择 ===== */
.live-source-area {
    margin: 20px 0 24px;
    padding: 16px 20px 20px;
    background: #f8f9fc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.source-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a2634;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.source-title i {
    color: #818cf8;
}

.source-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.source-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    background: #ffffff;
    border-radius: 30px;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    transition: 0.2s;
    font-size: 14px;
    font-weight: 500;
    color: #1a2634;
}

.source-item:hover {
    border-color: #818cf8;
    background: #f0f2ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(129, 140, 248, 0.2);
}

/* ===== 比赛事件 ===== */
.live-events {
    padding: 20px 0 16px;
    border-bottom: 1px solid #edf2f7;
}

.live-events h3 {
    font-size: 17px;
    font-weight: 600;
    color: #1a2634;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.live-events h3 i {
    color: #6b7a93;
}

.event-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 300px;
    overflow-y: auto;
}

.event-list::-webkit-scrollbar {
    width: 4px;
}

.event-list::-webkit-scrollbar-track {
    background: #f1f4f9;
    border-radius: 4px;
}

.event-list::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 4px;
}

.event-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 6px 14px;
    border-radius: 6px;
    background: #f8f9fc;
    font-size: 14px;
}

.event-item.home {
    border-left: 3px solid #4f46e5;
}

.event-item.away {
    border-left: 3px solid #818cf8;
}

.event-time {
    color: #6b7a93;
    font-weight: 600;
    width: 44px;
    flex-shrink: 0;
}

.event-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.event-desc {
    flex: 1;
    color: #2d3748;
}

.event-score {
    font-weight: 700;
    color: #1a2634;
    flex-shrink: 0;
}

/* ===== 篮球小节切换 ===== */
.quarter-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.quarter-tab {
    padding: 6px 18px;
    background: #f1f4f9;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: #6b7a93;
    cursor: pointer;
    transition: 0.2s;
    border: 1px solid transparent;
    user-select: none;
}

.quarter-tab:hover {
    background: #e2e8f0;
}

.quarter-tab.active {
    background: #4f46e5;
    color: #ffffff;
    border-color: #4f46e5;
}

.quarter-content {
    max-height: 300px;
    overflow-y: auto;
}

.quarter-content::-webkit-scrollbar {
    width: 4px;
}

.quarter-content::-webkit-scrollbar-track {
    background: #f1f4f9;
    border-radius: 4px;
}

.quarter-content::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 4px;
}

.quarter-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.quarter-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.quarter-panel .event-item {
    margin-bottom: 2px;
}

/* ===== 双方阵容 ===== */
.live-lineup {
    padding-top: 20px;
}

.live-lineup h3 {
    font-size: 17px;
    font-weight: 600;
    color: #1a2634;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.live-lineup h3 i {
    color: #6b7a93;
}

.lineup-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.lineup-home h4,
.lineup-away h4 {
    font-size: 14px;
    font-weight: 600;
    color: #4f46e5;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid #edf2f7;
}

.lineup-away h4 {
    color: #818cf8;
}

.lineup-players {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
}

.lineup-players span {
    font-size: 13px;
    color: #2d3748;
    padding: 3px 10px;
    background: #f8f9fc;
    border-radius: 4px;
    border: 1px solid #edf2f7;
}

/* ===== 响应式 ===== */
@media (max-width: 820px) {
    .live-detail-container {
        padding: 20px 16px 24px;
        border-radius: 16px;
    }

    .live-match-header {
        flex-direction: column;
        gap: 16px;
    }

    .live-team {
        flex-direction: row;
        gap: 12px;
    }

    .live-team .team-crest {
        width: 48px;
        height: 48px;
    }

    .live-team .team-name {
        font-size: 16px;
    }

    .live-score {
        font-size: 32px;
        padding: 4px 16px;
    }

    .lineup-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stat-label {
        width: 48px;
        font-size: 12px;
    }

    .stat-bar-home,
    .stat-bar-away {
        font-size: 11px;
        padding: 0 6px;
    }

    .event-item {
        font-size: 13px;
        padding: 6px 10px;
        flex-wrap: wrap;
    }

    .event-time {
        width: 36px;
        font-size: 12px;
    }

    .event-score {
        font-size: 13px;
    }

    .lineup-players span {
        font-size: 12px;
        padding: 2px 8px;
    }

    .source-grid {
        gap: 8px;
    }

    .source-item {
        font-size: 13px;
        padding: 6px 16px;
    }
}

@media (max-width: 480px) {
    .live-detail-container {
        padding: 14px 12px 18px;
        border-radius: 12px;
    }

    .live-score {
        font-size: 26px;
        padding: 2px 12px;
    }

    .live-team .team-crest {
        width: 40px;
        height: 40px;
    }

    .live-team .team-name {
        font-size: 14px;
    }

    .live-status {
        font-size: 12px;
    }

    .live-league {
        font-size: 12px;
    }

    .stat-item {
        gap: 8px;
        margin-bottom: 6px;
    }

    .stat-label {
        width: 40px;
        font-size: 11px;
    }

    .stat-bar {
        height: 20px;
    }

    .stat-bar-home,
    .stat-bar-away {
        font-size: 10px;
        padding: 0 4px;
        min-width: 20px;
    }

    .event-item {
        font-size: 12px;
        padding: 4px 8px;
        gap: 8px;
    }

    .quarter-tab {
        font-size: 12px;
        padding: 4px 14px;
    }

    .source-item {
        font-size: 12px;
        padding: 4px 14px;
    }

    .lineup-players span {
        font-size: 11px;
        padding: 2px 6px;
    }

    .breadcrumb {
        padding: 10px 14px;
        font-size: 13px;
        flex-wrap: wrap;
    }
}

/* ===== 文章列表 ===== */
.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: #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-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-arrow {
        order: 3;
        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;
    }
}