/* ===== 赛事卡片 ===== */
.match-card {
    background: var(--bg-card);
    border-radius: 14px;
    border: 1px solid var(--border);
    margin-bottom: 10px;
    transition: var(--transition-smooth);
    cursor: pointer;
    outline: none;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.match-card:hover {
    transform: translateX(3px);
    box-shadow: var(--shadow-md);
}

.match-card.live {
    border-left: 4px solid var(--success);
}

.match-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: linear-gradient(180deg, #f8fafc, #f1f5f9);
    border-bottom: 1px solid var(--border-light);
}

.match-league {
    font-size: 13px;
    color: var(--text-accent);
    font-weight: 700;
}

.match-date {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 600;
}

.match-body {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    gap: 12px;
}

.match-countdown { font-size: 13px; color: #f59e0b; font-weight: 700; }
        .match-time-col {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-accent);
    min-width: 44px;
    text-align: center;
    flex-shrink: 0;
}

.match-teams-col {
    flex: 1;
    min-width: 0;
}

.team-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
}

.team-row .team-logo {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.team-row .team-name {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.team-row .home-tag {
    font-size: 10px;
    color: var(--gold);
    background: var(--gold-light);
    padding: 2px 6px;
    border-radius: 4px;
    flex-shrink: 0;
    border: 1px solid #fcd34d;
    font-weight: 700;
}

.match-arrow {
    color: var(--text-dim);
    font-size: 20px;
    flex-shrink: 0;
    padding: 0 6px;
    transition: var(--transition-smooth);
}

/* ===== 赛事卡片内按钮 ===== */
.match-odds-bar {
    display: flex;
    gap: 8px;
    padding: 10px 14px 0;
    border-top: 1px solid var(--border-light);
}

.odds-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-accent);
    background: linear-gradient(135deg, #dbeafe, #eff6ff);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.odds-btn:hover {
    background: var(--gradient-accent);
    color: white;
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.25);
}

.odds-btn:active { 
    transform: scale(0.98);
}

.odds-btn .btn-dot { width: 6px; height: 6px; border-radius: 50%; }
.odds-btn .btn-dot.dot-full { background: var(--success); }
.odds-btn .btn-dot.dot-half { background: var(--accent); }

/* ===== 波胆弹窗 ===== */
.odds-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg-overlay);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: oddsFadeIn 0.2s ease;
}

@keyframes oddsFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes oddsPopIn {
    from { opacity: 0; transform: scale(0.95) translateY(15px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.odds-modal {
    width: 100%;
    max-width: 400px;
    max-height: 70vh;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: oddsPopIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
}

.odds-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
    background: linear-gradient(180deg, #f8fafc, #f1f5f9);
}

.odds-modal-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.odds-modal-title .title-dot { width: 10px; height: 10px; border-radius: 50%; }
.odds-modal-title .title-dot.dot-full { background: var(--success); }
.odds-modal-title .title-dot.dot-half { background: var(--accent); }

.odds-modal-close {
    width: 32px; height: 32px; border-radius: 10px;
    background: var(--bg-card); border: 1px solid var(--border);
    color: var(--text-secondary); font-size: 16px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-xs);
}

.odds-modal-close:hover { 
    background: var(--danger-bg); 
    border-color: var(--danger);
    color: var(--danger);
}

.odds-modal-body {
    overflow-y: auto;
    padding: 12px;
}

.odds-modal-table { width: 100%; border-collapse: collapse; }

.odds-modal-table th {
    font-size: 12px; color: var(--text-secondary); font-weight: 700;
    padding: 10px 12px;
    background: linear-gradient(180deg, #f8fafc, #f1f5f9);
    border-bottom: 1px solid var(--border);
}

.odds-modal-table th:nth-child(1) { text-align: left; }
.odds-modal-table th:nth-child(2) { text-align: right; }
.odds-modal-table th:nth-child(3) { text-align: right; }

.odds-modal-table td {
    font-size: 14px; padding: 14px 12px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-light);
}

.odds-modal-table tr.data-row:active td { background: linear-gradient(135deg, #dbeafe, #eff6ff); }
.odds-modal-table tr.data-row { cursor: pointer; transition: var(--transition-smooth); }
.odds-modal-table tr.data-row:hover td { background: linear-gradient(135deg, #dbeafe, #eff6ff); }

.odds-modal-table .score-cell { color: var(--text-primary); font-weight: 700; font-size: 15px; text-align: left; }
.odds-modal-table .profit-cell { color: var(--success); font-weight: 800; text-align: right; }
.odds-modal-table .volume-cell { color: var(--text-secondary); font-size: 13px; font-weight: 600; text-align: right; }
.odds-modal-table .no-data { text-align: center; color: var(--text-dim); font-size: 14px; padding: 40px 0; background: none; border: none; }

.team-logo-fallback {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
