.mlb-scrolling-widget {
    background: transparent;
    border-radius: 8px;
    overflow: hidden;
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.games-container {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    background: transparent;
}

.games-scroll-wrapper {
    display: flex;
    gap: 16px;
    padding: 0 20px;
    animation: scroll 60s linear infinite;
}

.game-card {
    flex: 0 0 auto;
    width: 280px;
    background: #1f2937 !important;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #374151;
    transition: transform 0.2s ease-in-out, border-color 0.2s ease-in-out;
    position: relative;
}

.game-card:hover {
    transform: translateY(-2px);
    border-color: #4b5563;
}

.game-time {
    padding: 8px 12px;
    background: #111827 !important;
    color: #fff !important;
    font-size: 0.875rem;
    font-weight: 700 !important;
}

.teams-container {
    padding: 16px;
}

.team-row {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.team-row:last-child {
    margin-bottom: 0;
}

.team-logo {
    width: 40px;
    height: 40px;
    margin-right: 12px;
    object-fit: contain;
}

.team-name {
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 0.9375rem;
}

.versus-divider {
    text-align: center;
    color: #9ca3af;
    margin: 12px 0;
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 700;
}

.versus-divider::before,
.versus-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #374151;
}

.versus-divider span {
    padding: 0 10px;
}

.game-card-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

@media (max-width: 768px) {
    .game-card {
        width: 240px;
    }
    
    .team-logo {
        width: 32px;
        height: 32px;
    }
    
    .team-name {
        font-size: 0.875rem;
    }
    
    .games-scroll-wrapper {
        animation: scroll 42s linear infinite; /* 30% faster on mobile */
    }
}