  * { margin: 0; padding: 0; box-sizing: border-box; }
    body {
        font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
        background: #1e1e1e;
        color: #ccc;
        font-size: 14px;
        line-height: 1.6;
    }
    a { text-decoration: none; color: inherit; }
    ul { list-style: none; }

    /* ================= 顶部导航 (通用) ================= */
    .topbar {
        background: #111;
        color: #888;
        font-size: 12px;
        padding: 6px 0;
        border-bottom: 1px solid #333;
    }
    .topbar .container { display: flex; justify-content: space-between; align-items: center; max-width: 1280px; margin: 0 auto; padding: 0 16px;}
    .topbar a:hover { color: #e63946; }

    .header {
        background: #181818;
        padding: 12px 0;
        position: sticky; top: 0; z-index: 100;
        border-bottom: 1px solid #333;
        box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    }
    .header .container {
        max-width: 1280px; margin: 0 auto; padding: 0 16px;
        display: flex; align-items: center; justify-content: space-between;
    }
    .logo img { height: 46px; display: block; }
    .nav { display: flex; gap: 8px; }
    .nav a {
        padding: 8px 20px; border-radius: 6px; font-size: 15px; color: #aaa; font-weight: bold; transition: all 0.2s;
    }
    .nav a:hover { color: #fff; background: #333; }
    .nav a.active { color: #fff; background: #e63946; }

    /* ================= 页面主体布局 ================= */
    .main-container {
        max-width: 1280px;
        margin: 24px auto;
        padding: 0 16px;
        display: flex;
        gap: 24px;
        align-items: flex-start;
    }

    /* ================= 左侧小导航 ================= */
    .sidebar {
        width: 200px;
        background: #222;
        border-radius: 8px;
        border: 1px solid #333;
        overflow: hidden;
        flex-shrink: 0;
        position: sticky;
        top: 90px;
    }
    .sidebar-title {
        background: #2a2a2a; color: #fff; font-size: 16px; font-weight: bold; padding: 14px 20px; border-bottom: 1px solid #333; border-left: 4px solid #e63946;
    }
    .sidebar-menu li { border-bottom: 1px solid #2a2a2a; }
    .sidebar-menu li:last-child { border-bottom: none; }
    .sidebar-menu a {
        display: flex; align-items: center; padding: 12px 20px; color: #aaa; font-size: 14px; transition: all 0.2s;
    }
    .sidebar-menu a:hover, .sidebar-menu a.active {
        background: #2a2a2a; color: #e63946; padding-left: 24px;
    }

    /* ================= 右侧主内容区 ================= */
    .content-area {
        flex: 1;
        min-width: 0;
    }

    .section-header {
        display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px;
    }
    .section-header h2 {
        font-size: 20px; color: #fff; font-weight: bold; display: flex; align-items: center; gap: 10px;
    }
    .section-header h2::before {
        content: ""; width: 4px; height: 18px; background: #e63946; border-radius: 2px;
    }

    /* ================= 录像列表（带比分，一行一个） ================= */
    .replay-list {
        background: #222;
        border-radius: 8px;
        border: 1px solid #333;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    .replay-row {
        display: flex;
        align-items: center;
        padding: 16px 20px;
        border-bottom: 1px solid #333;
        transition: background 0.2s;
        gap: 20px;
    }
    .replay-row:last-child { border-bottom: none; }
    .replay-row:hover { background: #2a2a2a; }

    /* 左侧：日期与赛事 */
    .replay-meta {
        width: 100px;
        flex-shrink: 0;
    }
    .replay-date {
        color: #888;
        font-size: 12px;
        margin-bottom: 4px;
    }
    .replay-league {
        color: #3b82f6; /* 联赛用蓝色标识 */
        font-size: 13px;
        font-weight: bold;
    }

    /* 中间：比分与球队 */
    .replay-score-box {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
        min-width: 0;
    }
    .score-team {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: flex-end; /* 主队靠右对齐 */
        gap: 10px;
        color: #e6edf3;
        font-size: 15px;
        font-weight: bold;
    }
    .score-team.away {
        justify-content: flex-start; /* 客队靠左对齐 */
    }
    .score-team img {
        width: 30px;
        height: 30px;
        object-fit: contain; /* 队徽 */
    }
    
    /* 核心比分 */
    .score-num {
        background: #e63946;
        color: #fff;
        font-size: 16px;
        font-weight: 900;
        padding: 4px 14px;
        border-radius: 6px;
        letter-spacing: 1px;
        white-space: nowrap;
    }
    /* 如果是平局，比分背景可以变灰，可选加 class="draw" */
    .score-num.draw {
        background: #555; 
    }

    /* 右侧：录像封面与操作 */
    .replay-video {
        width: 220px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        gap: 12px;
        cursor: pointer;
    }
    
    .video-cover {
        width: 100px;
        height: 56px;
        border-radius: 4px;
        overflow: hidden;
        position: relative;
        background: #111;
        flex-shrink: 0;
    }
    .video-cover img {
        width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s;
    }
    .replay-video:hover .video-cover img { transform: scale(1.1); }
    
    /* 播放图标覆盖层 */
    .play-icon {
        position: absolute; inset: 0;
        background: rgba(0,0,0,0.4);
        display: flex; align-items: center; justify-content: center;
    }
    .play-icon::before {
        content: ""; display: block;
        width: 0; height: 0;
        border-style: solid;
        border-width: 8px 0 8px 12px;
        border-color: transparent transparent transparent #fff;
        margin-left: 2px;
    }
    /* 时长 */
    .video-dur {
        position: absolute; right: 4px; bottom: 4px; background: rgba(0,0,0,0.7); color: #fff; font-size: 10px; padding: 1px 4px; border-radius: 2px;
    }

    .video-info {
        flex: 1;
        min-width: 0;
    }
    .video-title {
        color: #e6edf3; font-size: 14px; font-weight: bold; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 4px;
    }
    .replay-video:hover .video-title { color: #e63946; }
    .video-tag {
        color: #888; font-size: 12px;
    }

    /* ================= 底部说明 ================= */
    .footer {
        background: #111;
        padding: 40px 0;
        margin-top: 40px;
        border-top: 1px solid #222;
        text-align: center;
        color: #666;
        font-size: 13px;
    }
    .footer-links { margin-bottom: 16px; display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
    .footer-links a { color: #888; transition: color 0.2s; }
    .footer-links a:hover { color: #e63946; }
    .footer p { margin-bottom: 6px; }
    .footer .highlight { color: #e63946; }

    /* ================= 响应式 ================= */
    @media (max-width: 1024px) {
        /* 平板上，视频封面去掉，只保留文字 */
        .replay-video { width: auto; }
        .video-cover { display: none; }
    }
    @media (max-width: 900px) {
        .main-container { flex-direction: column; }
        .sidebar { width: 100%; position: static; margin-bottom: 20px; }
        .sidebar-menu { display: flex; flex-wrap: wrap; }
        .sidebar-menu li { flex: 1 1 33.33%; border-right: 1px solid #2a2a2a; border-bottom: none; text-align: center; }
        .sidebar-menu a { justify-content: center; padding: 10px; }
        .sidebar-menu a:hover { padding-left: 10px; }

        /* 录像列表变成两行布局 */
        .replay-row { flex-wrap: wrap; gap: 12px; padding: 16px; }
        .replay-meta { width: 100%; display: flex; justify-content: space-between; margin-bottom: 8px; }
        .replay-score-box { width: 100%; order: 3; justify-content: space-between; background: #2a2a2a; padding: 10px; border-radius: 6px; }
        .replay-video { width: 100%; order: 2; margin-bottom: 8px; }
    }
    @media (max-width: 640px) {
        .nav { display: none; }
        .score-team { font-size: 13px; gap: 6px; }
        .score-team img { width: 24px; height: 24px; }
        .score-num { font-size: 14px; padding: 2px 10px; }
    }